/* ==========================================================================
   Jeu Responsable FR - maquettes statiques
   Style de reference : santepubliquefrance.fr (couleurs, formes, gabarits)
   Un seul fichier partage. Variables sur :root.
   ========================================================================== */

:root {
  --marine: #1D2D5C;
  --marine-90: rgba(29, 45, 92, 0.9);
  --bleu: #0F4C9A;
  --bleu-fonce: #0B3C7C;
  --framboise: #D6156C;
  --framboise-fonce: #B01058;
  --fond: #F2F5FA;
  --fond-2: #E6ECF5;
  --trait: #D5DCE8;
  --texte: #222222;
  --texte-doux: #4A5568;
  --blanc: #FFFFFF;
  --focus: #FFBF47;

  --police: "Roboto", Arial, sans-serif;
  --police-menu: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --police-logo: "Montserrat", Arial, sans-serif;

  --largeur: 1200px;
  --largeur-texte: 720px;
  --gouttiere: 24px;
  --rayon: 8px;
  --rayon-l: 16px;
  --ombre: 0 2px 12px rgba(29, 45, 92, 0.08);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--framboise); text-underline-offset: 3px; }
a:hover { color: var(--framboise-fonce); }
h1, h2, h3, h4 { color: var(--marine); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--marine); border-radius: 2px; }
.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; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--marine); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.container { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--police); font-weight: 700; font-size: .8125rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 12px 18px; border: 2px solid transparent; border-radius: 0; cursor: pointer;
  line-height: 1.2; white-space: nowrap;
}
.btn--marine { background: var(--marine); color: #fff; }
.btn--marine:hover { background: #142046; color: #fff; }
.btn--framboise { background: var(--framboise); color: #fff; }
.btn--framboise:hover { background: var(--framboise-fonce); color: #fff; }
.btn--contour { background: transparent; color: var(--marine); border-color: var(--marine); }
.btn--contour:hover { background: var(--marine); color: #fff; }
.btn--pilule { border-radius: 999px; padding: 13px 26px; }
.btn--blanc { background: #fff; color: var(--marine); }
.btn--blanc:hover { background: var(--fond); color: var(--marine); }

/* ---------- Emplacements image ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 38%),
    repeating-linear-gradient(135deg, rgba(29,45,92,.045) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #C9D6EA 0%, #DCE5F2 45%, #B8C9E2 100%);
}
.ph::after {
  content: "photo"; position: absolute; right: 12px; bottom: 10px;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(29,45,92,.55); font-weight: 500;
}
.ph--chaud { background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.5) 0, rgba(255,255,255,0) 40%),
    repeating-linear-gradient(45deg, rgba(29,45,92,.04) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #D9DFEA 0%, #E9ECF3 50%, #CBD3E3 100%); }
.ph--froid { background:
    radial-gradient(circle at 60% 30%, rgba(255,255,255,.45) 0, rgba(255,255,255,0) 42%),
    repeating-linear-gradient(135deg, rgba(15,76,154,.05) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #AFC3E0 0%, #CFDBEE 55%, #A7BCDB 100%); }
.ph-ratio { aspect-ratio: 16 / 9; }

/* ==========================================================================
   En-tete
   ========================================================================== */
.util { font-size: .8125rem; }
.util .container { display: flex; justify-content: flex-end; gap: 20px; padding-top: 8px; }
.util a { color: var(--marine); }
.util a:hover { color: var(--framboise); }

.header .container { display: flex; align-items: center; gap: 32px; padding-top: 14px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand__mono { width: 84px; height: auto; }
.brand__filet { width: 1px; height: 46px; background: var(--marine); opacity: .55; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__nom { font-family: var(--police-logo); font-weight: 800; letter-spacing: .14em; color: var(--marine); font-size: 1.0625rem; }
.brand__sous { font-family: var(--police-logo); font-weight: 500; color: var(--framboise); font-size: .875rem; margin-top: 3px; }

.search { flex: 1; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--marine); padding: 6px 2px; max-width: 520px; margin-left: auto; }
.search svg { width: 22px; height: 22px; color: var(--framboise); flex-shrink: 0; }
.search input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 1rem; color: var(--texte); background: transparent; min-width: 0; padding: 6px 0; }
.search input::placeholder { color: #5B6478; }
.search:focus-within { box-shadow: 0 2px 0 0 var(--framboise); }
.header__btns { display: flex; gap: 10px; flex-shrink: 0; }
.burger { display: none; }

/* Barre de menu */
.nav { background: var(--bleu); }
.nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); padding: 0 var(--gouttiere); }
.nav li { flex: 1 1 auto; border-left: 1px solid rgba(255,255,255,.35); }
.nav li:last-child { border-right: 1px solid rgba(255,255,255,.35); }
.nav a {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 100%;
  padding: 15px 10px; color: #fff; text-decoration: none;
  font-family: var(--police-menu); font-weight: 700; text-transform: uppercase;
  font-size: .9375rem; letter-spacing: .04em; line-height: 1.15;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bleu-fonce); color: #fff; box-shadow: inset 0 -4px 0 var(--framboise); }
.nav li.nav__une a { background: var(--framboise); }
.nav li.nav__une a:hover { background: var(--framboise-fonce); box-shadow: none; }

/* ==========================================================================
   Sections communes
   ========================================================================== */
.section { padding: 64px 0; }
.section--fond { background: var(--fond); }
.section__titre { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.section__intro { text-align: center; color: var(--texte-doux); max-width: 680px; margin: 0 auto 36px; }
.section__titre::after { content: ""; display: block; width: 48px; height: 4px; background: var(--framboise); margin: 14px auto 0; }
.titre-g { font-size: 1.5rem; }
.surtitre { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--framboise); margin-bottom: 6px; }
.tag-exemple { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #FFF4D6; color: #6B4E00; border: 1px solid #E8C766; padding: 2px 8px; border-radius: 3px; vertical-align: middle; }
.lien-fleche { font-weight: 700; color: var(--framboise); text-decoration: underline; }
.txt-centre { text-align: center; }

/* Cartes generiques */
.carte { background: #fff; border-radius: var(--rayon-l); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); transition: transform .15s ease, box-shadow .15s ease; }
.carte:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(29,45,92,.14); color: var(--texte); }
.carte .ph { aspect-ratio: 16 / 9; border-radius: var(--rayon-l) var(--rayon-l) 0 0; }
.carte__corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carte__date { font-size: .8125rem; font-weight: 700; color: var(--framboise); text-transform: uppercase; letter-spacing: .06em; }
.carte__titre { font-size: 1.1875rem; font-weight: 700; color: var(--marine); line-height: 1.3; margin: 0; }
.carte__texte { color: var(--texte-doux); font-size: .9375rem; margin: 0; }
.carte:hover .carte__titre { text-decoration: underline; text-decoration-color: var(--framboise); }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ==========================================================================
   Accueil : a la une
   ========================================================================== */
.une { position: relative; overflow: hidden; background: var(--marine); }
.une__img { position: absolute; inset: 0; }
.une__img.ph::after { right: 24px; bottom: 18px; }
.une .container { position: relative; min-height: 500px; display: flex; align-items: center; }
.une__panel {
  position: relative; z-index: 1; width: 660px; max-width: 100%;
  padding: 64px 140px 64px 0; color: #fff;
}
.une__panel::before {
  content: ""; position: absolute; z-index: -1; top: -80px; bottom: -80px; right: 0; left: -2000px;
  background: var(--marine-90);
  border-radius: 0 420px 420px 0;
}
.une__label { display: inline-block; background: var(--framboise); color: #fff; font-family: var(--police-menu); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; padding: 4px 10px; margin-bottom: 18px; }
.une h1, .une h2 { color: #fff; font-size: 2.5rem; font-weight: 900; line-height: 1.12; margin-bottom: 18px; }
.une p { font-size: 1.125rem; color: #E4E9F3; max-width: 470px; }
.une .btn { margin-top: 8px; }
.une__pointilles { border: 0; border-top: 3px dotted rgba(255,255,255,.75); width: 70%; margin: 34px 0 0; }

/* Actualites + presse */
.actus { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 28px; align-items: stretch; }
.presse { border-left: 3px dotted var(--marine); padding-left: 28px; }
.presse h3 { font-size: 1.375rem; }
.presse ul { list-style: none; padding: 0; margin: 0 0 20px; }
.presse li { padding: 12px 0; border-bottom: 1px solid var(--trait); }
.presse li a { color: var(--marine); font-weight: 500; text-decoration: underline; text-decoration-color: var(--framboise); }
.presse li a:hover { color: var(--framboise); }
.presse small { display: block; color: var(--texte-doux); font-size: .8125rem; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.theme { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-l); padding: 26px 24px; text-decoration: none; color: var(--texte); transition: border-color .15s, box-shadow .15s; }
.theme:hover { border-color: var(--framboise); box-shadow: var(--ombre); color: var(--texte); }
.theme__ico { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: var(--fond); display: grid; place-items: center; color: var(--framboise); }
.theme__ico svg { width: 30px; height: 30px; }
.theme h3 { font-size: 1.1875rem; margin-bottom: 4px; }
.theme p { margin: 0; color: var(--texte-doux); font-size: .9375rem; }
.theme:hover h3 { text-decoration: underline; text-decoration-color: var(--framboise); }

/* Chiffres cles */
.chiffres { background: var(--marine); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.chiffres::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -220px; background: rgba(255,255,255,.05); }
.chiffres .section__titre { color: #fff; }
.chiffres .section__intro { color: #C9D3E8; }
.chiffres__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.chiffre { padding: 8px 28px; border-left: 2px dotted rgba(255,255,255,.45); }
.chiffre:first-child { border-left: 0; }
.chiffre__val { display: block; font-size: 3.25rem; font-weight: 900; line-height: 1; color: #fff; }
.chiffre__txt { display: block; margin: 12px 0 10px; color: #E4E9F3; }
.chiffre__src { display: block; font-size: .8125rem; color: #B9C4DD; }
.chiffres .tag-exemple { margin-top: 8px; }
.chiffres__bas { text-align: center; margin-top: 36px; position: relative; }
.chiffres__bas a { color: #fff; font-weight: 700; }

/* Outils */
.outils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.outil-carte { background: #fff; border-radius: var(--rayon-l); padding: 32px 28px; box-shadow: var(--ombre); display: flex; flex-direction: column; align-items: flex-start; border-top: 5px solid var(--framboise); }
.outil-carte:nth-child(2) { border-top-color: var(--bleu); }
.outil-carte:nth-child(3) { border-top-color: var(--marine); }
.outil-carte__ico { width: 54px; height: 54px; color: var(--marine); margin-bottom: 16px; }
.outil-carte h3 { font-size: 1.25rem; }
.outil-carte p { color: var(--texte-doux); flex: 1; }

/* Bandeau aide */
.aide { background: var(--framboise); color: #fff; }
.aide .container { display: flex; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.aide__ico { width: 76px; height: 76px; border-radius: 50%; border: 3px solid rgba(255,255,255,.6); display: grid; place-items: center; flex-shrink: 0; }
.aide__ico svg { width: 36px; height: 36px; }
.aide__txt { flex: 1; }
.aide h2 { color: #fff; font-size: 1.625rem; margin-bottom: 6px; }
.aide p { margin: 0; color: #FFE8F2; }
.aide__num { display: block; font-size: 2.125rem; font-weight: 900; color: #fff; text-decoration: none; letter-spacing: .02em; line-height: 1.1; }
.aide__num:hover { color: #fff; text-decoration: underline; }
.aide__droite { text-align: right; flex-shrink: 0; }
.aide__droite small { display: block; color: #FFE8F2; margin-bottom: 10px; }
.aide__droite a.aide__lien { color: #fff; font-weight: 700; }
.aide__droite a.aide__lien:hover { color: #fff; }

/* ==========================================================================
   Article / actualite
   ========================================================================== */
.bandeau { height: 400px; border-radius: 0 0 50% 50% / 0 0 90px 90px; }
.bandeau.ph::after { bottom: auto; top: 16px; }
.page-tete { position: relative; margin-top: -170px; }
.carte-blanche { background: #fff; border-radius: var(--rayon-l); box-shadow: var(--ombre); padding: 44px 64px; }
.ariane { font-size: .875rem; margin-bottom: 22px; }
.ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ariane li { display: flex; align-items: center; gap: 6px; color: var(--texte-doux); }
.ariane li + li::before { content: "\203A"; color: var(--framboise); font-weight: 700; }
.ariane a { color: var(--marine); }
.page-tete h1 { font-size: 2.625rem; font-weight: 900; line-height: 1.12; max-width: 900px; }
.chapo { font-size: 1.1875rem; line-height: 1.55; color: #333; max-width: 900px; font-weight: 400; }
.meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid var(--trait); margin-top: 26px; padding-top: 18px; }
.actions { display: flex; gap: 24px; }
.actions a, .actions button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--framboise); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.actions svg { width: 18px; height: 18px; }
.dates { font-size: .875rem; color: var(--texte-doux); text-align: right; }
.dates strong { color: var(--marine); font-weight: 500; }

.corps-wrap { padding-top: 32px; padding-bottom: 64px; }
.corps { background: #fff; border-radius: var(--rayon-l); box-shadow: var(--ombre); padding: 56px 24px 64px; }
.prose { max-width: var(--largeur-texte); margin: 0 auto; font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: 1.875rem; font-weight: 700; margin: 1.8em 0 .6em; scroll-margin-top: 20px; }
.prose h3 { font-size: 1.3125rem; margin: 1.5em 0 .5em; }
.prose a { text-decoration: underline; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--framboise); }
.prose ol { padding-left: 1.4em; }
.prose ol li::marker { color: var(--framboise); font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.prose figure { margin: 2em 0; }
.prose figure .ph { aspect-ratio: 16 / 9; border-radius: var(--rayon-l); }
.prose figcaption { font-size: .875rem; color: var(--texte-doux); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--framboise); font-size: 1.1875rem; color: var(--marine); font-style: italic; }

.auteurs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 32px; padding: 0 0 28px; border-bottom: 1px solid var(--trait); }
.auteur { display: flex; gap: 14px; align-items: center; }
.auteur .ph { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.auteur .ph::after { content: ""; }
.auteur__role { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--framboise); font-weight: 700; }
.auteur__nom { display: block; color: var(--marine); font-weight: 700; line-height: 1.3; }
.auteur__titre { display: block; font-size: .875rem; color: var(--texte-doux); line-height: 1.35; }

.sommaire { background: var(--fond); border-radius: var(--rayon-l); padding: 24px 28px; margin: 0 0 32px; }
.sommaire h2 { font-size: 1.125rem !important; margin: 0 0 10px !important; text-transform: uppercase; letter-spacing: .08em; }
.sommaire ol { margin: 0; padding-left: 1.3em; }
.sommaire li { margin-bottom: 4px; }
.sommaire a { color: var(--marine); text-decoration-color: var(--framboise); }

.retenir { border: 2px solid var(--marine); border-radius: var(--rayon-l); padding: 26px 28px 14px; margin: 2em 0; position: relative; }
.retenir__titre { position: absolute; top: -14px; left: 22px; background: var(--marine); color: #fff; font-family: var(--police-menu); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; padding: 4px 12px; }
.encadre-aide { background: var(--fond); border-left: 5px solid var(--framboise); border-radius: 0 var(--rayon) var(--rayon) 0; padding: 20px 24px; margin: 2em 0; }
.encadre-aide p:last-child { margin-bottom: 0; }

.sources { margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--trait); font-size: .9375rem; }
.sources h2 { font-size: 1.25rem !important; margin-top: 0 !important; }
.sources ol { padding-left: 1.4em; color: var(--texte-doux); }
.source-off { display: flex; gap: 14px; align-items: flex-start; background: var(--fond); border-radius: var(--rayon); padding: 18px 22px; margin: 2em 0; font-size: .9375rem; }
.source-off svg { width: 26px; height: 26px; color: var(--marine); flex-shrink: 0; margin-top: 2px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.tags a { font-size: .8125rem; text-decoration: none; color: var(--marine); border: 1px solid var(--marine); border-radius: 999px; padding: 4px 14px; }
.tags a:hover { background: var(--marine); color: #fff; }

/* ==========================================================================
   Hub thematique
   ========================================================================== */
.hub-tete { background: var(--fond); padding: 28px 0 0; position: relative; overflow: hidden; }
.hub-tete__grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hub-tete h1 { font-size: 2.75rem; font-weight: 900; }
.hub-tete__txt { padding-bottom: 40px; }
.hub-tete .chapo { margin-bottom: 26px; }
.hub-tete__img { aspect-ratio: 1 / 1; border-radius: 50% 50% 0 0; width: 100%; max-width: 440px; justify-self: end; }
.sous-themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sous-theme { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-l); padding: 22px; text-decoration: none; color: var(--marine); display: flex; flex-direction: column; gap: 6px; transition: border-color .15s; }
.sous-theme:hover { border-color: var(--framboise); color: var(--marine); }
.sous-theme strong { font-size: 1.0625rem; }
.sous-theme span { color: var(--texte-doux); font-size: .875rem; }
.sous-theme em { font-style: normal; font-size: .8125rem; font-weight: 700; color: var(--framboise); margin-top: auto; padding-top: 6px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filtres button { font: inherit; font-size: .875rem; font-weight: 500; border: 1px solid var(--marine); background: #fff; color: var(--marine); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.filtres button[aria-pressed="true"] { background: var(--marine); color: #fff; }
.liste-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte--h .carte__corps { padding: 18px 20px 22px; }
.carte__type { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }

/* ==========================================================================
   Annuaire
   ========================================================================== */
.page-simple-tete { background: var(--fond); padding: 28px 0 44px; }
.page-simple-tete h1 { font-size: 2.5rem; font-weight: 900; max-width: 860px; }
.page-simple-tete .chapo { max-width: 820px; }
.num-national { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--marine); color: #fff; border-radius: var(--rayon-l); padding: 22px 28px; margin-top: 24px; }
.num-national svg { width: 34px; height: 34px; color: #FF7DB4; flex-shrink: 0; }
.num-national div { flex: 1; min-width: 220px; }
.num-national strong { display: block; font-size: 1.0625rem; }
.num-national small { color: #C9D3E8; }
.num-national a { color: #fff; font-size: 1.75rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.num-national a:hover { text-decoration: underline; }
.annuaire { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.centres { display: flex; flex-direction: column; gap: 20px; }
.centre { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-l); padding: 24px 26px; box-shadow: var(--ombre); }
.centre__haut { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.centre h3 { font-size: 1.25rem; margin: 0; }
.centre__type { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--fond-2); color: var(--marine); padding: 3px 9px; border-radius: 3px; margin-top: 6px; }
.centre dl { display: grid; grid-template-columns: 24px 1fr; gap: 8px 10px; margin: 14px 0 0; font-size: .9375rem; }
.centre dt svg { width: 20px; height: 20px; color: var(--framboise); margin-top: 2px; }
.centre dd { margin: 0; }
.centre dd a { color: var(--marine); font-weight: 700; }
.centre__pied { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.centre__pied .btn { padding: 10px 14px; font-size: .75rem; }
.carte-geo { position: sticky; top: 16px; border-radius: var(--rayon-l); overflow: hidden; aspect-ratio: 4 / 5; background:
  linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(0deg, rgba(255,255,255,.7) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(160deg, #DCE5F2, #C7D5EA); border: 1px solid var(--trait); }
.carte-geo__riviere { position: absolute; left: 30%; top: -10%; width: 60px; height: 130%; border-radius: 50%; border-left: 14px solid rgba(15,76,154,.25); transform: rotate(12deg); }
.pin { position: absolute; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--framboise); transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.25); display: grid; place-items: center; }
.pin span { transform: rotate(45deg); color: #fff; font-weight: 700; font-size: .8125rem; }
.carte-geo__legende { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.94); border-radius: var(--rayon); padding: 10px 14px; font-size: .8125rem; color: var(--marine); }
.villes { display: flex; flex-wrap: wrap; gap: 10px; }
.villes a { background: #fff; border: 1px solid var(--trait); border-radius: 999px; padding: 8px 18px; color: var(--marine); text-decoration: none; font-weight: 500; }
.villes a:hover { border-color: var(--framboise); color: var(--framboise); }
.faq { max-width: var(--largeur-texte); margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; color: var(--marine); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--framboise); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 22px 18px; }

/* ==========================================================================
   Outil : test
   ========================================================================== */
.test { max-width: 820px; margin: 0 auto; }
.test__avert { display: flex; gap: 12px; background: #FFF8E6; border: 1px solid #E8C766; border-radius: var(--rayon); padding: 14px 18px; font-size: .9375rem; margin-bottom: 28px; color: #4A3A00; }
.test__avert svg { width: 22px; height: 22px; flex-shrink: 0; color: #8A6A00; margin-top: 2px; }
.progression { position: sticky; top: 0; z-index: 5; background: #fff; padding: 14px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--trait); }
.progression__txt { display: flex; justify-content: space-between; font-size: .875rem; color: var(--marine); font-weight: 700; margin-bottom: 8px; }
.progression__barre { height: 10px; border-radius: 999px; background: var(--fond-2); overflow: hidden; }
.progression__barre span { display: block; height: 100%; width: 0; background: var(--framboise); border-radius: 999px; transition: width .25s ease; }
.question { border: 0; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--trait); }
.question legend { float: left; width: 100%; font-weight: 700; color: var(--marine); font-size: 1.125rem; line-height: 1.4; padding: 0; margin-bottom: 14px; display: flex; gap: 12px; }
.question legend b { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--marine); color: #fff; display: grid; place-items: center; font-size: .875rem; }
.choix { clear: both; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-left: 44px; }
.choix label { position: relative; display: block; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; border: 2px solid var(--trait); border-radius: var(--rayon); padding: 8px 10px; font-size: .9375rem; font-weight: 500; color: var(--marine); background: #fff; transition: border-color .12s, background .12s; line-height: 1.25; }
.choix label:hover span { border-color: var(--marine); }
.choix input:checked + span { background: var(--marine); border-color: var(--marine); color: #fff; }
.choix input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.test__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.test__msg { color: var(--framboise); font-weight: 700; font-size: .9375rem; margin: 0; }
.resultat { margin-top: 36px; border-radius: var(--rayon-l); overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--trait); }
.resultat[hidden] { display: none; }
.resultat__tete { background: var(--marine); color: #fff; padding: 26px 30px; }
.resultat__tete h2 { color: #fff; font-size: 1.625rem; margin: 0 0 4px; }
.resultat__score { font-size: .9375rem; color: #C9D3E8; }
.resultat__jauge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 16px; }
.resultat__jauge span { height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); }
.resultat__jauge span.on { background: #FF7DB4; }
.resultat__corps { padding: 26px 30px; background: #fff; }
.resultat__aides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.resultat__aides a { display: block; background: var(--fond); border-radius: var(--rayon); padding: 14px 16px; text-decoration: none; color: var(--marine); font-size: .875rem; }
.resultat__aides a strong { display: block; font-size: 1rem; color: var(--framboise); }
.resultat__aides a:hover { background: var(--fond-2); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { background: var(--marine); color: #DCE3F0; padding: 56px 0 0; font-size: .9375rem; }
.footer a { color: #fff; }
.footer a:hover { color: #FFB3D3; }
.footer h2 { color: #fff; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--police-menu); margin-bottom: 18px; }
.ressources { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 44px; }
.ressource { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 88px; background: #E9EDF3; border-radius: var(--rayon); padding: 12px; color: var(--marine) !important; text-decoration: none; font-weight: 700; font-size: .875rem; line-height: 1.3; border: 2px solid #E9EDF3; }
.ressource small { display: block; font-weight: 400; font-size: .6875rem; color: #5B6478; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.ressource:hover { background: #fff; }
.ressource .org-logo { display: block; max-width: 100%; max-height: 62px; width: auto; height: auto; }
.footer__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding: 36px 0 40px; border-top: 1px solid rgba(255,255,255,.18); }
.footer__marque .brand__nom { color: #fff; }
.footer__marque .brand__filet { background: #fff; }
.footer__mono { background: #fff; border-radius: 10px; padding: 8px 10px; }
.footer__marque p { margin-top: 16px; color: #C9D3E8; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__aide { background: rgba(255,255,255,.07); border-radius: var(--rayon-l); padding: 20px 22px; }
.footer__aide strong { color: #fff; display: block; }
.footer__aide .num { font-size: 1.5rem; font-weight: 900; text-decoration: none; display: block; margin: 4px 0; }
.footer__bas { border-top: 1px solid rgba(255,255,255,.18); padding: 22px 0 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .875rem; color: #C9D3E8; }
.badge18 { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; font-weight: 900; color: #fff; flex-shrink: 0; font-size: 1rem; }
.footer__bas p { margin: 0; flex: 1; min-width: 260px; }
.haut { color: #fff; font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ==========================================================================
   Accueil : 3 parcours d'aide (cartes qui debordent sur la une)
   ========================================================================== */
.parcours { background: var(--fond); }
.une:has(+ .parcours) .container { padding-bottom: 80px; }
.parcours__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; margin-top: -80px; }
.parcours__carte { border-radius: var(--rayon-l); padding: 36px 32px 32px; color: #fff; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(29,45,92,.18); }
.parcours__carte--framboise { background: var(--framboise); }
.parcours__carte--marine { background: var(--marine); }
.parcours__carte--bleu { background: var(--bleu); }
.parcours__carte h3 { color: #fff; font-size: 2.5rem; font-weight: 900; line-height: 1.02; margin: 0 0 18px; }
.parcours__carte p { color: rgba(255,255,255,.9); font-size: 1.0625rem; margin: 0 0 26px; flex: 1; }
.parcours__btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; border: 2px solid #fff; border-radius: var(--rayon); padding: 10px 18px; color: #fff; font-weight: 700; text-decoration: none; }
.parcours__btn svg { width: 20px; height: 20px; }
.parcours__btn:hover { background: #fff; color: var(--marine); }
@media (max-width: 960px) {
  .une:has(+ .parcours) .container { padding-bottom: 0; }
  .parcours { padding-top: 32px; }
  .parcours__grille { grid-template-columns: 1fr; margin-top: 0; gap: 16px; }
  .parcours__carte { padding: 28px 24px 24px; }
  .parcours__carte h3 { font-size: 2rem; }
}

@media (max-width: 1180px) {
  .header .container { gap: 20px; }
  .brand__mono { width: 70px; }
  .nav a { font-size: .8125rem; padding: 14px 6px; }
  .search { max-width: 360px; }
  .actus { grid-template-columns: 1fr 1fr; }
  .presse { grid-column: 1 / -1; border-left: 0; border-top: 3px dotted var(--marine); padding: 24px 0 0; }
  .sous-themes { grid-template-columns: repeat(2, 1fr); }
  .annuaire { grid-template-columns: 1fr 340px; }
}

@media (max-width: 960px) {
  :root { --gouttiere: 16px; }
  .util { display: none; }
  .header .container { flex-wrap: wrap; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
  .brand { margin-right: auto; }
  .brand__mono { width: 56px; }
  .brand__filet { height: 36px; }
  .brand__nom { font-size: .875rem; letter-spacing: .1em; }
  .brand__sous { font-size: .75rem; }
  .burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 52px; height: 48px; background: var(--bleu); color: #fff; border: 0; cursor: pointer; font: 700 .625rem/1 var(--police-menu); text-transform: uppercase; letter-spacing: .06em; }
  .burger svg { width: 22px; height: 22px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .header__btns { order: 4; flex-basis: 100%; }
  .header__btns .btn { flex: 1; padding: 11px 8px; font-size: .75rem; letter-spacing: .06em; }
  .nav { display: none; }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; padding: 0; }
  .nav li { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .nav li:last-child { border-right: 0; }
  .nav a { justify-content: flex-start; padding: 15px 16px; font-size: 1rem; }

  .section { padding: 44px 0; }
  .section__titre { font-size: 1.625rem; }
  .grille-3, .outils, .liste-articles { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: 1fr 1fr; }
  .chiffres__grille { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .chiffre:nth-child(3) { border-left: 0; }
  .ressources { grid-template-columns: repeat(3, 1fr); }
  .footer__grille { grid-template-columns: 1fr 1fr; }

  /* une */
  .une { background: #fff; }
  .une__img { position: relative; inset: auto; height: 240px; }
  .une .container { min-height: 0; padding: 0; }
  .une__panel { width: 100%; padding: 36px var(--gouttiere) 40px; background: var(--marine); border-radius: 36px 36px 0 0; margin-top: -36px; }
  .une__panel::before { display: none; }
  .une h1, .une h2 { font-size: 1.875rem; }
  .une p { font-size: 1.0625rem; }

  /* article */
  .bandeau { height: 240px; border-radius: 0 0 50% 50% / 0 0 40px 40px; }
  .page-tete { margin-top: -90px; }
  .carte-blanche { padding: 26px 22px; }
  .page-tete h1 { font-size: 1.875rem; }
  .chapo { font-size: 1.0625rem; }
  .meta { flex-direction: column; align-items: flex-start; }
  .dates { text-align: left; }
  .corps-wrap { padding-top: 20px; }
  .corps { padding: 32px 20px 40px; border-radius: var(--rayon-l); }
  .prose { font-size: 1rem; }
  .prose h2 { font-size: 1.5rem; }
  .auteurs { grid-template-columns: 1fr; }

  .hub-tete__grille { grid-template-columns: 1fr; gap: 24px; }
  .hub-tete h1 { font-size: 2rem; }
  .hub-tete__txt { padding-bottom: 0; }
  .hub-tete__img { max-width: 100%; aspect-ratio: 16 / 10; border-radius: 120px 120px 0 0; justify-self: stretch; }
  .page-simple-tete h1 { font-size: 1.875rem; }
  .annuaire { grid-template-columns: 1fr; }
  .carte-geo { position: relative; top: 0; aspect-ratio: 16 / 10; order: -1; }

  .aide .container { flex-wrap: wrap; gap: 18px; }
  .aide__droite { text-align: left; flex-basis: 100%; }
  .resultat__aides { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grille-3, .grille-2, .outils, .liste-articles, .themes, .actus, .sous-themes { grid-template-columns: 1fr; }
  .chiffres__grille { grid-template-columns: 1fr; gap: 0; }
  .chiffre { border-left: 0; border-top: 2px dotted rgba(255,255,255,.45); padding: 22px 0; }
  .chiffre:first-child { border-top: 0; padding-top: 0; }
  .chiffre__val { font-size: 2.75rem; }
  .ressources { grid-template-columns: 1fr 1fr; }
  .footer__grille { grid-template-columns: 1fr; gap: 28px; }
  .theme { padding: 20px; }
  .aide__ico { width: 56px; height: 56px; }
  .aide__ico svg { width: 26px; height: 26px; }
  .aide h2 { font-size: 1.375rem; }
  .aide__num { font-size: 1.75rem; }
  .choix { grid-template-columns: 1fr 1fr; padding-left: 0; }
  .question legend { font-size: 1.0625rem; }
  .actions { gap: 18px; }
  .centre { padding: 20px; }
  .centre__haut { flex-direction: column; }
  .num-national a { font-size: 1.5rem; }
  .carte-geo { aspect-ratio: 1 / 1; }
  .brand__nom { font-size: .8125rem; letter-spacing: .08em; }
}

@media print {
  .util, .header__btns, .search, .nav, .burger, .aide, .footer, .actions, .lire-aussi { display: none !important; }
  .bandeau { display: none; }
  .page-tete { margin-top: 0; }
  .carte-blanche, .corps { box-shadow: none; padding: 0; }
}

/* ==========================================================================
   Complements du site FR (ajoutes a la fin de styles.css de la maquette)
   ========================================================================== */

/* Images reelles a la place des emplacements de la maquette */
.bandeau--img { position: relative; height: 420px; overflow: hidden; background: var(--fond-2); }
.bandeau--img img { width: 100%; height: 100%; object-fit: cover; }
img.une__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* mobile : photo au-dessus du panneau, comme dans la maquette (sinon cachee derriere le panneau bleu) */
@media (max-width: 960px) { img.une__img { position: relative; inset: auto; height: 240px; display: block; } }
img.hub-tete__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon-l); }
.carte > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon-l) var(--rayon-l) 0 0; }
.carte--h > img { aspect-ratio: 16 / 9; object-fit: cover; }
.grille-espace { margin-top: 32px; }
.hub-tete__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.prose--hub { max-width: var(--largeur-texte); margin-bottom: 24px; }

/* Photos dans le texte */
.prose figure img { width: 100%; height: auto; border-radius: var(--rayon-l); }
.prose figcaption { font-size: .8125rem; color: var(--texte-doux); margin-top: 8px; }

/* Tableaux */
.tableau { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--trait); border-radius: var(--rayon); }
.tableau table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.tableau th, .tableau td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.tableau th { background: var(--fond); color: var(--marine); font-weight: 700; }
.tableau tr:last-child td { border-bottom: 0; }

/* Encadres generes depuis le Markdown */
.retenir p:last-child, .retenir ul:last-child, .encadre-aide p:last-child { margin-bottom: 0; }
.encadre-aide ul { margin: .5em 0 0; }

/* Fiches de l'annuaire dans le texte */
.prose .centre { margin: 1.2em 0; }
.prose .centre h3 { margin: 0; }
.centre__cle { font-weight: 700; color: var(--marine); }

/* Carte interactive (Leaflet) */
.carte-interactive { height: 460px; border-radius: var(--rayon-l); border: 1px solid var(--trait); margin: 1.6em 0; z-index: 0; }

/* Outils integres */
.outil-integre { margin: 2em 0; }

/* Listes longues (annuaire, plan du site) */
ul.villes { list-style: none; padding: 0; margin: 0; columns: 3 220px; column-gap: 32px; }
ul.villes li { break-inside: avoid; padding: 4px 0; }
ul.villes li span { display: block; font-size: .8125rem; color: var(--texte-doux); }

/* Recherche */
.recherche { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.recherche label { width: 100%; font-weight: 700; color: var(--marine); }
.recherche input { flex: 1; min-width: 200px; padding: 12px 14px; border: 2px solid var(--marine); font: inherit; }
.r-liste { padding-left: 1.2em; }
.r-liste li { margin-bottom: 14px; }
.r-liste a { font-weight: 700; }
.r-liste small { display: block; color: var(--texte-doux); }

@media (max-width: 760px) {
  .bandeau--img { height: 240px; }
  .carte-interactive { height: 360px; }
}
@media print {
  .util, .header, .nav, .aide, .footer, .lire-aussi, .actions, .sommaire, .carte-interactive { display: none !important; }
}

/* Longues adresses (sources) : retour a la ligne sur mobile */
.prose, .sources { overflow-wrap: anywhere; }
.carte-interactive { overflow: hidden; }
/* Appels de source [n] (format Wikipedia) */
sup.appel { font-size: .7em; line-height: 0; margin-left: 1px; }
sup.appel a { text-decoration: none; color: var(--bleu); }
sup.appel a:hover, sup.appel a:focus-visible { text-decoration: underline; }
.sources li:target { background: #FFF8E6; }
/* Credit de la photo de haut de page (Pexels) */
.credit-une { font-size: .8125rem; color: var(--texte-doux); margin: 2em 0 0; }
.credit-une a { color: inherit; }
