/* Premier Regard : direction artistique « Médaillon ».
   Signature unique : le médaillon ovale 4:5. Polices servies par le site (aucun appel externe). */
@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+0304,U+0308,U+0329,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+0304,U+0308,U+0329,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: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-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+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-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; }

:root {
  --neige: #F6F5F9;        /* fond, ~70 % de la surface */
  --prune: #3A1D38;        /* titres, pied de page : ~10 % */
  --rose-givre: #E9B8C1;   /* citations, filtre actif */
  --bleu: #2E5B78;         /* liens, focus */
  --ambre: #C28A2C;        /* filets, points, anneau : DECOR SEULEMENT (2,8:1 sur la neige, jamais du texte courant) */
  --bleu-pale: #E3EBF1;    /* encadrés et fonds secondaires */
  --gris: #5A4D5A;         /* texte secondaire (7,3:1 sur la neige) */
  --blanc: #FFFFFF;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --col: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
/* Anti-distorsion (REGLE 14) */
img { max-width: 100%; height: auto; display: block; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--neige); color: var(--prune); font-family: var(--sans); font-size: 18px; line-height: 1.6; overflow-x: hidden; }
a { color: var(--bleu); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; box-shadow: 0 0 0 1px var(--neige); border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--prune); color: var(--neige); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--prune); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); letter-spacing: -.018em; margin-top: 2.2em; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; margin-top: 1.8em; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--col); margin: 0 auto; padding-inline: var(--gutter); }
.prose { max-width: 40rem; } /* ~66 caractères par ligne */
.prose a { font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote:not(.encadre) { margin: 1.6em 0; padding: 1rem 1.3rem; background: var(--rose-givre); font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.45; border-radius: 0 40px 40px 0; }
.prose blockquote:not(.encadre) p:last-child { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.5em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--rose-givre); }
.prose th { background: var(--bleu-pale); }

/* En-tête */
.site-header { border-bottom: 1px solid var(--rose-givre); background: var(--neige); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--prune); }
.logo svg { width: 28px; height: 35px; flex: none; }
.logo__nom { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.site-header__tools { display: flex; align-items: center; gap: 1rem; }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid var(--prune); color: var(--prune); border-radius: 999px; padding: .35rem 1rem; cursor: pointer; }
.nav { border-top: 1px solid var(--rose-givre); }
.nav ul { list-style: none; margin: 0 auto; padding-block: .35rem; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; }
.nav a { display: inline-block; padding: .35rem 0; text-decoration: none; color: var(--prune); font-weight: 500; font-size: .98rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ambre); }
.lang { display: flex; gap: .4rem; font-size: .95rem; font-weight: 600; }
.lang [aria-current] { color: var(--prune); }
.lang__sep { color: var(--gris); }

/* Hero : bandeau bord à bord sous le menu, titre et chapô dessous */
.hero { position: relative; }
.img-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: min(75vh, 44vw); overflow: hidden; background: var(--bleu-pale); }
.img-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Filet du regard : seul effet décoratif, une seule animation au chargement */
.filet { position: absolute; left: 0; right: 0; height: 1px; background: var(--ambre); transform-origin: left center; animation: filet-trace 1.4s cubic-bezier(.2, .7, .2, 1) .3s both; pointer-events: none; }
@keyframes filet-trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__texte { padding-top: 1.4rem; padding-bottom: .5rem; position: relative; }
.hero__texte::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--ambre); transform-origin: left center; animation: filet-trace 1.4s cubic-bezier(.2, .7, .2, 1) .5s both; }
.hero__texte .wrap { padding-top: 1.2rem; }
.hero__chapo { font-size: 1.2rem; max-width: 38rem; color: var(--prune); margin: 0 0 1rem; }
.hero__legende { font-size: .85rem; color: var(--gris); margin: .4rem 0 0; }
.meta { font-size: .92rem; color: var(--gris); display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 1rem; }
.meta__cat { color: var(--gris); font-weight: 600; }

/* Médaillon : la signature */
.img-medaillon { position: relative; aspect-ratio: 4 / 5; border-radius: 50% / 50%; overflow: hidden; background: var(--bleu-pale); box-shadow: 0 0 0 3px var(--neige), 0 0 0 4px var(--ambre); }
.img-medaillon img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.medaillon { margin: 0; width: var(--m, 150px); }
.medaillon--l { --m: 220px; }
.medaillon--s { --m: 96px; }

/* Cartes et rubriques */
.img-card, .img-body { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bleu-pale); }
.img-card img, .img-body img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.card { display: flex; flex-direction: column; gap: .6rem; }
.card .img-card { border-radius: 4px 4px 60px 4px; }
.card__cat { font-size: .85rem; font-weight: 600; color: var(--gris); }
.card__titre { font-family: var(--serif); font-size: 1.25rem; line-height: 1.18; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.card__titre a { color: var(--prune); text-decoration: none; }
.card__titre a:hover { text-decoration: underline; text-decoration-color: var(--ambre); text-decoration-thickness: 2px; }
.card__date { font-size: .85rem; color: var(--gris); }
.rubriques { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.6rem 1rem; list-style: none; padding: 0; margin: 0; }
.rubrique { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; text-decoration: none; color: var(--prune); font-family: var(--serif); font-weight: 600; line-height: 1.15; }
.rubrique .medaillon { --m: 120px; }

/* Filtre du blog : actif = fond rose givré */
.filtre { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; }
.filtre button { font: inherit; font-size: .95rem; padding: .4rem 1rem; border: 1px solid var(--prune); background: transparent; color: var(--prune); border-radius: 999px; cursor: pointer; }
.filtre button[aria-pressed="true"] { background: var(--rose-givre); }
.filtre[hidden] { display: none; }

/* Fil d'Ariane, sommaire */
.crumbs { font-size: .88rem; color: var(--gris); padding-block: .9rem 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem .5rem; }
.crumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--ambre); }
.crumbs a { color: var(--gris); }
.sommaire { background: var(--bleu-pale); padding: 1rem 1.3rem; border-radius: 4px 40px 4px 4px; margin: 0 0 2rem; max-width: 40rem; }
.sommaire strong { font-family: var(--serif); font-size: 1.1rem; }
.sommaire ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.sommaire li { margin: .15rem 0; font-size: .98rem; }

/* À retenir, encadrés */
.retenir { background: var(--rose-givre); padding: 1.1rem 1.4rem; border-radius: 4px 4px 4px 48px; margin: 0 0 2rem; max-width: 40rem; }
.retenir h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.retenir ul { margin: 0; padding-left: 1.2rem; }
.encadre { margin: 1.6em 0; padding: .9rem 1.2rem; background: var(--bleu-pale); border-left: 4px solid var(--bleu); border-radius: 0 6px 6px 0; }
.encadre > :last-child { margin-bottom: 0; }
.encadre__titre { font-family: var(--serif); font-weight: 700; margin: 0 0 .3rem; font-size: 1.05rem; }
.encadre--attention { background: var(--rose-givre); border-left-color: var(--prune); }
.encadre--juridique { background: var(--neige); border: 1px solid var(--prune); border-left-width: 4px; }

/* FAQ */
.faq { max-width: 40rem; margin-top: 2.5rem; }
.faq details { border-bottom: 1px solid var(--rose-givre); }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--ambre); font-family: var(--sans); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 0 .8rem; }

/* Interview */
.interview-tete { display: flex; align-items: center; gap: 1.4rem; margin: 0 0 2rem; max-width: 40rem; }
.interview-tete .medaillon { --m: 130px; flex: none; }
.interview-tete__nom { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: 0; }
.interview-tete__titre { margin: 0; color: var(--gris); font-size: .98rem; }
.interview-tete__mention { margin: .5rem 0 0; font-size: .85rem; color: var(--gris); font-style: italic; }
.format-interview .prose p:has(> strong:only-child) { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; margin: 2em 0 .5em; }
.format-interview .prose p:has(> strong:only-child) strong { font-weight: 700; }

/* Sources, crédit */
.sources { max-width: 40rem; margin-top: 2.5rem; font-size: .95rem; }
.sources ol { padding-left: 1.2rem; }
.sources li { margin-bottom: .4rem; overflow-wrap: anywhere; }
.verifie { font-size: .9rem; color: var(--gris); }
.credit { font-size: .85rem; color: var(--gris); }
.fig { margin: 1.8em 0; }
.fig figcaption { font-size: .85rem; color: var(--gris); margin-top: .4rem; }
.img-body { border-radius: 4px; }

/* Formulaire */
.form { display: grid; gap: 1rem; max-width: 34rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: .6rem .8rem; border: 1px solid var(--prune); border-radius: 4px; background: var(--blanc); color: var(--prune); }
.form .hp { position: absolute; left: -9999px; }
.btn { font: inherit; font-weight: 600; background: var(--bleu); color: var(--neige); border: 0; border-radius: 999px; padding: .7rem 1.6rem; cursor: pointer; justify-self: start; }
.btn:hover { background: var(--prune); }

section.bloc { padding-block: 2.5rem; }
section.bloc--pale { background: var(--bleu-pale); }
.bloc__titre { margin-top: 0; }

/* Pied de page sombre */
.site-footer { background: var(--prune); color: var(--neige); margin-top: 4rem; padding-block: 2.5rem; font-size: .95rem; }
.site-footer a { color: var(--rose-givre); text-decoration-color: var(--ambre); }
.site-footer__nom { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin: 0 0 .3rem; color: var(--neige); }
.site-footer ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer p { margin: 0 0 .6rem; max-width: 40rem; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .js .menu-btn { display: inline-block; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .interview-tete { flex-direction: column; align-items: flex-start; }
  .img-hero { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .filet, .hero__texte::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* Phase 02 : cards masquées par le filtre, renvois de notes, accueil */
.card[hidden] { display: none; }
.filtre__n { opacity: .75; font-size: .85em; }
sup.note { font-size: .72em; line-height: 0; vertical-align: super; }
sup.note a { text-decoration: none; color: var(--bleu); padding: 0 .1em; }
sup.note a:hover { text-decoration: underline; }
.home { padding-block: 2rem 3rem; }
.home section + section, .home .retenir { margin-top: 2.6rem; }
.home h2 { font-size: 1.6rem; margin: 0 0 1.2rem; }
.home__intro p:first-child { font-size: 1.1rem; }
.util-medaillon { float: right; margin: 0 0 1rem 1.5rem; }
@media (max-width: 600px) { .util-medaillon { float: none; margin: 0 auto 1rem; width: max-content; } }

/* Classes de contexte (crochets de style, valeurs neutres) */
.kind-article, .kind-pilier, .kind-util, .format-pilier { --contexte: 1; }
.medaillon--m { --m: 150px; }
.encadre--a-savoir { background: var(--bleu-pale); border-left-color: var(--bleu); }
