/* Élégance Peignoir : DA « Satin de nuit ». Nacre 70 %, champagne et argent 20 %, aubergine et satin 10 %.
   L'argent bleuté (#9DB0C4, ~1,9:1 sur nacre) n'est JAMAIS du texte : filets, fonds d'étiquette, survol, anneau de focus.
   Liens et texte courant : aubergine ou satin souligné. Sur champagne : aubergine seulement (satin = 3,9:1, sous AA). */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/bodoni-moda-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/bodoni-moda-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/fonts/bodoni-moda-latin-wght-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('/fonts/bodoni-moda-latin-ext-wght-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/karla-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/karla-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Karla'; font-style: italic; font-weight: 200 800; font-display: swap; src: url('/fonts/karla-latin-wght-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --nacre: #F2ECEF; --aubergine: #2A1A29; --satin: #8C5878; --champagne: #E6D5CB; --argent: #9DB0C4; --gris: #5E4B5C;
  --titres: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --texte: 'Karla', 'Segoe UI', system-ui, sans-serif;
  --mesure: 68ch; --gouttiere: clamp(1rem, 4vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--nacre); color: var(--aubergine); font: 400 1.0625rem/1.6 var(--texte); font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.125rem); }
/* REGLE 14 : reset d'images obligatoire */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--satin); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--aubergine); text-decoration-thickness: 2px; text-decoration-color: var(--argent); }
:focus-visible { outline: 1px solid var(--aubergine); outline-offset: 2px; box-shadow: 0 0 0 5px var(--argent); border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gouttiere), 72rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--aubergine); color: var(--nacre); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--titres); font-weight: 600; line-height: 1.12; color: var(--aubergine); margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); letter-spacing: -0.012em; margin-top: 2.2em; }
h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); letter-spacing: -0.005em; margin-top: 1.8em; }
p { margin: 0 0 1.1em; }

/* En-tête et navigation */
.site-header { background: var(--nacre); border-bottom: 1px solid var(--argent); position: relative; z-index: 10; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--aubergine); }
.logo img { width: 38px; height: 38px; border-radius: 9px; }
.logo__nom { font-family: var(--titres); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.015em; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: transparent; color: var(--aubergine); border: 1px solid var(--aubergine); border-radius: 4px; padding: 0.45rem 0.9rem; cursor: pointer; }
.nav ul { list-style: none; margin: 0 auto; padding: 0 0 0.7rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: 0.97rem; }
.nav a { color: var(--aubergine); text-decoration: none; font-weight: 500; padding-block: 0.2rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--argent); }
.nav a[aria-current='page'] { border-bottom-color: var(--satin); font-weight: 700; }
.crumbs { padding-block: 0.8rem 0; font-size: 0.9rem; color: var(--gris); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--argent); }
.crumbs a { color: var(--gris); }

/* Signature : HeroBand, image bord à bord dont le bas est découpé en courbe de pli de satin (clip-path objectBoundingBox, identique sur toutes les pages) */
.hero__media { position: relative; }
.img-hero { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--champagne); clip-path: url(#pli-clip); }
.img-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (min-width: 700px) { .img-hero { width: 100%; aspect-ratio: 16 / 9; max-height: min(66vh, 44vw); } }
.pli { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pli path { fill: none; stroke: var(--champagne); stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.pli { animation: pli-trace 1.8s cubic-bezier(.45, .05, .2, 1) 0.2s both; }
/* Le seul mouvement du site : le pli se dessine au chargement. Désactivé sous prefers-reduced-motion. */
@keyframes pli-trace { from { clip-path: inset(-5% 0 -5% 100%); } to { clip-path: inset(-5% 0 -5% 0); } }
@media (prefers-reduced-motion: reduce) { .pli { animation: none; } html { scroll-behavior: auto; } }
.hero__texte { padding-block: 1.6rem 0.4rem; }
.hero__texte h1 { max-width: 22ch; }
.hero__chapo { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.5; max-width: 60ch; color: var(--aubergine); }
.meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; margin: 0 0 0.8rem; font-size: 0.95rem; color: var(--gris); }
.meta__cat { font-weight: 700; color: var(--satin); }

/* Étiquette cousue : légendes d'images, fond champagne, filet pointillé fin aubergine */
.etiquette { display: inline-block; margin: 0.7rem 0 0; padding: 0.4rem 0.85rem; background: var(--champagne); color: var(--aubergine); border: 1px dashed var(--aubergine); border-radius: 4px; font-size: 0.88rem; line-height: 1.4; outline: 3px solid var(--champagne); outline-offset: -1px; }
.hero__texte .etiquette { margin-top: 0.4rem; }

/* Contenu */
.prose { max-width: var(--mesure); }
.prose > h2:first-child { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1.6em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 3px solid var(--satin); font-family: var(--titres); font-style: italic; font-size: 1.15em; line-height: 1.45; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.97em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--argent); vertical-align: top; }
.prose th { background: var(--champagne); font-weight: 700; }
.fig { margin: 2em 0; }
/* REGLE 14 : wrappers à aspect-ratio fixe, image enfant en cover ancrée en haut */
.img-card, .img-body { aspect-ratio: 3 / 2; overflow: hidden; background: var(--champagne); border-radius: 6px; }
.img-card img, .img-body img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.img-portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--champagne); border-radius: 6px; }
.img-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.retenir { background: var(--champagne); color: var(--aubergine); padding: 1.2rem 1.4rem; margin: 0 0 2rem; max-width: var(--mesure); border-radius: 6px; }
.retenir__titre { font-family: var(--titres); font-weight: 600; line-height: 1.2; margin: 0 0 0.5rem; font-size: 1.35rem; }
.retenir ul { margin: 0; padding-left: 1.2em; }
.retenir a, .encadre a, .etiquette a { color: var(--aubergine); }
.sommaire, .toc { margin: 0 0 2rem; max-width: var(--mesure); padding: 0.2rem 0 0.6rem; border-bottom: 1px dashed var(--satin); }
.sommaire strong { font-family: var(--titres); font-size: 1.15rem; }
.sommaire ol { margin: 0.4rem 0 0; padding-left: 1.3em; }
.encadre { margin: 1.8em 0; padding: 1rem 1.2rem; border-radius: 6px; max-width: var(--mesure); }
.encadre p:last-child { margin-bottom: 0; }
.encadre__titre { font-family: var(--titres); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
.encadre--a-savoir { background: var(--champagne); border: 1px dashed var(--aubergine); outline: 3px solid var(--champagne); outline-offset: -1px; }
.encadre--attention { background: var(--nacre); border: 2px solid var(--aubergine); }

.interview-tete { display: flex; gap: 1.2rem; align-items: flex-start; margin: 0 0 2rem; max-width: var(--mesure); }
.interview-tete .img-portrait { width: 8.5rem; flex: none; }
.interview-tete__nom { font-family: var(--titres); font-weight: 700; font-size: 1.3rem; margin: 0; }
.interview-tete__titre { margin: 0 0 0.5rem; color: var(--gris); }
.interview-fin { margin: 2.4rem 0 0; padding-top: 0.8rem; border-top: 1px dashed var(--satin); font-size: 0.82rem; line-height: 1.4; color: var(--gris); max-width: var(--mesure); }
.prose p > strong:only-child { font-family: var(--titres); font-size: 1.12em; }

.faq { max-width: var(--mesure); margin-top: 3rem; }
.faq details { border-bottom: 1px solid var(--argent); padding: 0.2rem 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.7rem 2rem 0.7rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.2rem; top: 0.55rem; font-size: 1.4rem; color: var(--satin); line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details div { padding-bottom: 0.5rem; }
.sources { max-width: var(--mesure); margin-top: 3rem; font-size: 0.95rem; }
.sources ol { padding-left: 1.3em; }
.sources li { margin-bottom: 0.4em; overflow-wrap: anywhere; }
.verifie { color: var(--gris); font-size: 0.95rem; }
.pays-nav { margin: 2.4rem 0; max-width: var(--mesure); }
.pays-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.6rem; }
.pays-nav a { display: block; padding: 0.7rem 0.9rem; background: var(--champagne); color: var(--aubergine); text-decoration: none; border-radius: 4px; font-weight: 600; border: 1px dashed var(--aubergine); }
.pays-nav a:hover { background: var(--argent); }

/* Cartes d'articles : texte aligné à gauche, aucune ombre, titre en Bodoni */
.grille { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 2rem 1.6rem; }
.card[hidden] { display: none; }
.card .img-card { margin-bottom: 0.7rem; }
.card__cat { display: block; font-size: 0.9rem; font-weight: 700; color: var(--satin); }
.card__titre { font-size: 1.25rem; margin: 0.2rem 0 0.3rem; }
.card__titre a { color: var(--aubergine); text-decoration: none; }
.card__titre a:hover { text-decoration: underline; text-decoration-color: var(--argent); text-decoration-thickness: 2px; }
.card__date { font-size: 0.88rem; color: var(--gris); }
.filtre[hidden] { display: none; }
.filtre { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 0.4rem; }
.filtre button { font: inherit; font-size: 0.95rem; background: transparent; color: var(--aubergine); border: 1px solid var(--aubergine); border-radius: 999px; padding: 0.4rem 1rem; cursor: pointer; }
.filtre button:hover { border-color: var(--satin); background: var(--champagne); }
.filtre button[aria-pressed='true'] { background: var(--champagne); border-color: var(--aubergine); font-weight: 700; }
.filtre__n { color: var(--gris); font-weight: 400; }

.home { padding-block: 1rem 3rem; }
.home h2 { margin-top: 1.8em; }
.rubriques { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.rubrique { display: block; text-decoration: none; color: var(--aubergine); }
.rubrique .img-card { margin-bottom: 0.5rem; }
.rubrique span { font-family: var(--titres); font-weight: 600; font-size: 1.1rem; }

.btn { display: inline-block; font: inherit; font-weight: 700; background: var(--satin); color: var(--nacre); border: 0; border-radius: 4px; padding: 0.8rem 1.5rem; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--aubergine); color: var(--nacre); }
.form { display: grid; gap: 1rem; max-width: 34rem; margin: 2rem 0; }
.form label { display: grid; gap: 0.3rem; font-weight: 600; }
.form input, .form textarea { font: inherit; color: var(--aubergine); background: #fff; border: 1px solid var(--aubergine); border-radius: 4px; padding: 0.65rem 0.8rem; width: 100%; }
.form [role='status'] { min-height: 1.5em; margin: 0; font-weight: 600; }

/* Pied de page sombre : aubergine, texte nacre, liens champagne */
.site-footer { background: var(--aubergine); color: var(--nacre); margin-top: 4rem; padding-block: 2.4rem; font-size: 0.97rem; }
.site-footer a { color: var(--champagne); }
.site-footer a:hover { color: var(--nacre); text-decoration-color: var(--argent); }
.site-footer__nom { font-family: var(--titres); font-weight: 700; font-size: 1.5rem; margin: 0 0 0.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.site-footer p { margin-bottom: 0.5rem; }

@media (max-width: 899px) {
  .menu-btn { display: inline-block; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: 0.6rem; }
  .nav a { display: block; padding-block: 0.6rem; }
  .interview-tete { flex-direction: column; }
}
@media (max-width: 480px) { .grille { gap: 1.6rem; } .logo__nom { font-size: 1.2rem; } }

/* Appels de note : [n] vers la référence (aubergine, souligné au survol) */
sup.note { font-size: .75em; line-height: 0; margin-inline-start: .1em; }
sup.note a { color: var(--aubergine, #2A1A29); text-decoration: none; font-weight: 600; }
sup.note a:hover, sup.note a:focus-visible { text-decoration: underline; }

/* Classes de gabarit posees par les layouts (marqueurs, aucun style propre) : declarees pour le controle pre-deploy. */
.hero, .kind-article, .kind-pilier, .kind-util, .kind-pays, .format-interview, .format-pilier, .format-pays { --gabarit: 1; }
