/* Pages de contenu : blog, articles, catégories, contact, vidéos, pages légales.
   Chargé APRÈS site.css (couleurs, polices, en-tête, boutons, pied de page communs).
   Style choisi par Amina le 2026-11-23 : clair, titres Plus Jakarta Sans 800, cartes blanches. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.page main { min-height: 60vh; }

/* Conteneurs : même largeur que l'accueil */
.p-hero, .listing, .results, .pager, .videos, .channel, .contact, .legal, .related {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}

/* Anciennes classes de boutons encore présentes dans le contenu des articles */
.btn__arrow { font-family: var(--font); }
.eyebrow__dot { display: none; }

/* ---------- En-tête de page ---------- */
.p-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 44px); position: relative; }
.p-hero--narrow { max-width: 980px; }
.p-title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .45em; max-width: 18ch; }
.p-title--long { max-width: 24ch; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.p-title em { font-style: normal; color: var(--slate); }
.p-page { display: block; font: 700 .85rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-top: 12px; }
.p-lead { max-width: 620px; color: var(--muted); font-size: 1.1rem; margin: 0; }
.p-hero__ar {
  position: absolute; right: var(--gutter); top: 24px; z-index: -1;
  font: 700 clamp(90px, 14vw, 190px)/1 "Amiri", serif; color: rgba(200, 164, 161, .22);
  pointer-events: none; user-select: none;
}

/* Fil d'Ariane */
.crumbs { margin: 0 0 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 0; margin: 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--rose); margin-right: 10px; font-weight: 700; }
.crumbs a { text-decoration: none; color: var(--ink); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Recherche + filtres ---------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input {
  width: 100%; padding: 15px 20px 15px 50px; border-radius: 14px; border: 1.5px solid rgba(46, 54, 70, .14);
  background: #fff; font: 500 1rem var(--font); color: var(--text); box-shadow: var(--shadow);
}
.search input:focus { outline: 3px solid var(--slate); outline-offset: 2px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: .65em 1em; border-radius: 999px; text-decoration: none;
  font: 700 .875rem/1 var(--font-head); color: var(--night); background: rgba(112, 130, 156, .12); transition: background-color .15s ease, color .15s ease;
}
.chips a small { font: 600 .75rem/1 var(--font); color: var(--ink); }
.chips a:hover { background: var(--blush); }
.chips a[aria-current="page"] { background: var(--night); color: #fff; }
.chips a[aria-current="page"] small { color: rgba(255, 255, 255, .85); }

/* ---------- Grilles d'articles ---------- */
.listing, .results { padding-bottom: 32px; }
.results__count { font: 800 1.15rem/1.3 var(--font-head); color: var(--night); margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(46, 54, 70, .05); transition: transform .2s ease, box-shadow .2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--blush), var(--aqua)); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 18px 20px 22px; }
.pcard__meta { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
.pcard__meta span { font: 700 .72rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--rose-text); }
.pcard__title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5em; letter-spacing: -.01em; }
.pcard__title a { color: var(--night); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }   /* toute la carte est cliquable */
.pcard__excerpt { margin: 0; color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Article à la une (1er de la page 1) */
.pcard--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.pcard--lead .pcard__img { aspect-ratio: auto; height: 100%; min-height: 300px; }
.pcard--lead .pcard__body { padding: clamp(24px, 4vw, 44px); }
.pcard--lead .pcard__title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; }
.pcard--lead .pcard__excerpt { font-size: 1rem; -webkit-line-clamp: 4; }
.pcard__tag {
  display: inline-block; margin-bottom: 14px; padding: .6em 1em; border-radius: 999px;
  background: var(--rose); color: var(--night); font: 700 .72rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase;
}

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 24px; padding-bottom: 90px; }
.pager a, .pager span {
  min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow); text-decoration: none; font: 700 .95rem/1 var(--font-head); color: var(--night);
}
.pager a:hover { background: var(--blush); }
.pager [aria-current="page"] { background: var(--night); color: #fff; }
.pager .pager__gap { background: none; box-shadow: none; min-width: 20px; padding: 0; }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--rose); transform-origin: left; transform: scaleX(0); }
.post { padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.post__head { max-width: 860px; margin: 0 auto; text-align: center; }
.post__head .crumbs ol { justify-content: center; }
.post__cat {
  display: inline-block; padding: .65em 1.1em; border-radius: 999px; background: var(--night); color: #fff;
  font: 700 .75rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.post__cat:hover { background: var(--ink); color: #fff; }
.post__title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 18px auto 18px; max-width: 22ch; }
.post__meta { margin: 0; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.post__meta span + span::before { content: "·"; color: var(--rose-text); margin: 0 10px; font-weight: 800; }
.post__cover { margin: 36px auto 0; max-width: 1040px; display: grid; place-items: center; }
.post__cover img { border-radius: 22px; width: auto; max-width: 100%; height: auto; max-height: 72vh; object-fit: contain; box-shadow: var(--shadow-lg); }

/* Texte des articles (contenu d'origine nettoyé) */
.prose { max-width: 720px; margin: 52px auto 0; font-size: 1.1rem; line-height: 1.8; overflow-wrap: anywhere; }
.prose::after { content: ""; display: block; clear: both; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose figure, .prose blockquote, .prose table { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4, .prose h5 { color: var(--night); clear: both; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); margin: 1.6em 0 .5em; }
.prose h4, .prose h5 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 700; color: var(--night); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.9rem; margin-bottom: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E5A58' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.prose ol { padding-left: 1.4em; }
.prose ol li { margin-bottom: .5em; padding-left: 4px; }
.prose ol li::marker { font: 800 1rem var(--font-head); color: var(--rose-text); }
.prose blockquote {
  margin-left: 0; padding: 1.1rem 1.3rem; border-left: 4px solid var(--rose); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff; box-shadow: var(--shadow); font-size: 1.08rem; color: var(--night);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: 16px; height: auto; margin: 1.6em auto; }
.prose p > img:only-child { margin-top: .4em; margin-bottom: .4em; }
.prose .al-left { float: left; max-width: 46%; margin: .3em 28px 18px 0; }
.prose .al-right { float: right; max-width: 46%; margin: .3em 0 18px 28px; }
.prose figure { margin-inline: 0; }
.prose figure img { margin: 0 auto 10px; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.5; }
.prose figure.al-left img, .prose figure.al-right img { margin: 0 0 8px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; background: #fff; }
.prose td, .prose th { border: 1px solid rgba(46, 54, 70, .12); padding: 8px 12px; vertical-align: top; }
.prose sup { font-size: .7em; line-height: 0; }
.prose .post-cta { text-align: center; margin: 1.8em 0; clear: both; }
.prose .post-cta a, .prose a.btn { color: #fff; text-decoration: none; }
.prose a.btn:hover { color: #fff; }
.prose .dl { font-size: .8rem; font-weight: 500; opacity: .85; }

/* Vidéo YouTube (façade, chargée au clic) */
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 1.6em 0; clear: both;
  background: var(--night); box-shadow: var(--shadow-lg);
}
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.yt button {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: linear-gradient(to top, rgba(38, 45, 59, .75), rgba(38, 45, 59, 0) 60%);
  color: #fff; display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding: 20px 22px; text-align: left;
  font: 700 1rem/1.3 var(--font-head);
}
.yt__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .2s ease; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.yt__icon::before { content: ""; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); margin-left: 4px; }
.yt button:hover .yt__icon { transform: scale(1.08); }
.yt button:focus-visible { outline: 3px solid var(--blush); outline-offset: -6px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__note { font-size: .8rem; color: var(--muted); margin-top: -1em; }

/* Bloc autrice (sans photo : médaillon calligraphique) */
.author {
  max-width: 720px; margin: 64px auto 0; padding: 24px; border-radius: var(--radius);
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: center; background: #fff; box-shadow: var(--shadow);
}
.author__badge {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blush) 55%, var(--rose)); color: var(--night);
  font: 700 28px/1 "Amiri", serif;
}
.author p { margin: 0; color: var(--muted); font-size: .95rem; }
.author p strong { display: block; font: 800 1.15rem/1.3 var(--font-head); color: var(--night); margin-bottom: 4px; }
.author a { color: var(--ink); font-weight: 700; }

/* Encadré offre liée à l'article */
.offer {
  max-width: 920px; margin: 32px auto 0; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius);
  background: radial-gradient(70% 120% at 100% 0%, rgba(200, 164, 161, .28), transparent 60%), var(--night); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; box-shadow: var(--shadow-lg);
}
.offer__kicker { margin: 0 0 10px; font: 700 .75rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--blush); }
.offer__title { font: 800 clamp(1.5rem, 2.8vw, 2rem)/1.15 var(--font-head); letter-spacing: -.02em; margin: 0 0 10px; color: #fff; }
.offer__title em { font-style: normal; color: var(--blush); }
.offer p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 520px; }
.offer .btn { background: var(--blush); color: var(--night); box-shadow: none; white-space: nowrap; }
.offer .btn:hover { background: #fff; color: var(--night); }

/* Précédent / suivant */
.post-nav { max-width: 920px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav a { display: block; padding: 20px 22px; border-radius: var(--radius); text-decoration: none; background: #fff; box-shadow: var(--shadow); transition: transform .2s ease; }
.post-nav a:hover { transform: translateY(-3px); }
.post-nav small { display: block; font: 700 .72rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--rose-text); margin-bottom: 8px; }
.post-nav span { font: 800 1.02rem/1.3 var(--font-head); color: var(--night); }
.post-nav .post-nav__next { text-align: right; grid-column: 2; }

/* À lire ensuite */
.related { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(72px, 9vw, 110px); }
.related__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 0 0 28px; }
.related__title em { font-style: normal; color: var(--slate); }

/* ---------- Vidéos ---------- */
.videos { padding-bottom: 48px; }
.videos .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vcard { background: #fff; border-radius: var(--radius); padding: 14px 14px 22px; box-shadow: var(--shadow); }
.vcard .yt { margin: 0 0 16px; box-shadow: none; }
.vcard h2 { font-size: 1.2rem; margin: 0 8px 6px; }
.vcard p { margin: 0 8px; color: var(--muted); font-size: .95rem; }
.vcard:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px 36px; align-items: center; padding: 16px; }
.vcard:first-child .yt { margin: 0; grid-row: span 2; }
.vcard:first-child h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); align-self: end; }
.vcard:first-child p { align-self: start; font-size: 1.02rem; }
.channel { padding-bottom: clamp(72px, 9vw, 110px); }
.channel__box {
  max-width: 920px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--night); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; box-shadow: var(--shadow-lg);
}
.channel__box h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 6px; color: #fff; }
.channel__box p { margin: 0; color: rgba(255, 255, 255, .85); }
.channel__box .btn { background: var(--blush); color: var(--night); box-shadow: none; }
.channel__box .btn:hover { background: #fff; color: var(--night); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(72px, 9vw, 110px); align-items: start; }
.contact__ways { display: grid; gap: 12px; }
.way {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); text-decoration: none;
  background: #fff; box-shadow: var(--shadow); transition: transform .2s ease;
}
.way:hover { transform: translateY(-3px); }
.way__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-text); }
.way__icon svg { width: 20px; height: 20px; }
.way strong { display: block; font: 700 .72rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.way span { font: 800 1.05rem/1.3 var(--font-head); color: var(--night); overflow-wrap: anywhere; }
.contact__hint { margin: 22px 0 0; color: var(--muted); font-size: .95rem; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.form h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 22px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font: 700 .9rem/1.3 var(--font-head); color: var(--night); }
.field label small { font: 500 .8rem var(--font); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid rgba(46, 54, 70, .16);
  background: var(--cream); font: 500 1rem/1.5 var(--font); color: var(--text);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--slate); outline-offset: 1px; border-color: var(--ink); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form__legal { font-size: .8rem; color: var(--muted); margin: 4px 0 20px; }
.form__legal a { color: var(--ink); }
.form__note { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--blush); font-size: .95rem; }
.form .btn { width: 100%; }

/* ---------- Pages légales ---------- */
.legal { padding-bottom: clamp(72px, 9vw, 110px); }
.legal .prose { margin: 0; max-width: 780px; font-size: 1rem; line-height: 1.75; background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.legal .prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.6em; }
.legal .prose h3 { font-size: 1.15rem; }
.legal__updated { color: var(--muted); font-size: .875rem; margin: 16px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .p-lead { font-size: 1rem; }
  .p-hero__ar { font-size: 92px; top: 12px; }
  .tools { margin-top: 24px; }
  .search { max-width: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { white-space: nowrap; }
  .grid, .videos .grid { grid-template-columns: 1fr; gap: 18px; }
  .vcard:first-child { display: block; }
  .vcard:first-child .yt { margin-bottom: 16px; }
  .vcard:first-child h2 { font-size: 1.4rem; }
  .pcard--lead { grid-template-columns: 1fr; }
  .pcard--lead .pcard__img { min-height: 0; aspect-ratio: 16 / 10; }
  .pcard--lead .pcard__body { padding: 20px; }
  .pager { padding-bottom: 64px; }
  .post__title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .post__meta { font-size: .85rem; }
  .post__cover { margin-top: 26px; }
  .post__cover img { border-radius: 16px; max-height: none; }
  .prose { margin-top: 36px; font-size: 1.02rem; line-height: 1.75; }
  .prose .al-left, .prose .al-right { float: none; max-width: 100%; margin: 1.2em auto; }
  .author { grid-template-columns: 60px minmax(0, 1fr); padding: 20px; gap: 14px; margin-top: 48px; }
  .author__badge { width: 60px; height: 60px; font-size: 22px; }
  .offer { grid-template-columns: 1fr; }
  .offer .btn { width: 100%; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .post-nav__next { grid-column: auto; }
  .yt button { padding: 14px; font-size: .9rem; }
  .yt__icon { width: 46px; height: 46px; }
  .field-row { grid-template-columns: 1fr; }
  .legal .prose { font-size: .97rem; }
  .channel__box .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .way, .post-nav a, .yt__icon { transition: none; }
}
