/* Aides Claires · design « Guichet clair »
   Inspiration : services publics sociaux nordiques (NAV, Norvège, mesuré le 30.10.2026) : sans-serif lisible,
   panneaux « par situation » à pictogramme plat, raccourcis, rayons modérés. Adaptation propre : vert sapin,
   corail, une teinte par rubrique, Rethink Sans + Figtree. */

@font-face { font-family: "Rethink Sans"; src: url(/fonts/rethink-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-wght-italic.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --sapin: #14322B;
  --sapin-2: #1F4A3F;
  --encre: #18241F;
  --texte: #2E3B36;
  --doux: #5C6B65;
  --ligne: #DCE3DF;
  --brume: #F2F6F3;
  --blanc: #FFFFFF;
  --lien: #0D6650;
  --corail: #E5603D;
  --corail-fonce: #B8432A;
  --corail-pale: #FCE9E2;
  --focus: #F2A93B;
  --t-fort: #1F7A57; --t-pale: #E2F2EA;
  --titres: "Rethink Sans", "Segoe UI", Arial, sans-serif;
  --texte-f: "Figtree", "Segoe UI", Arial, sans-serif;
  --r: 12px;
  --r-petit: 8px;
  --max: 1200px;
  --marge: clamp(16px, 4vw, 40px);
  --ombre: 0 1px 2px rgba(20, 50, 43, .06), 0 6px 20px rgba(20, 50, 43, .07);
}
[data-teinte="prime-activite"], body[data-rubrique="prime-activite"] { --t-fort: #1F7A57; --t-pale: #E2F2EA; }
[data-teinte="rsa"], body[data-rubrique="rsa"] { --t-fort: #24599E; --t-pale: #E4EDF8; }
[data-teinte="famille"], body[data-rubrique="famille"] { --t-fort: #B0432A; --t-pale: #FCE7DE; }
[data-teinte="etudiants"], body[data-rubrique="etudiants"] { --t-fort: #5B47A6; --t-pale: #EDE8F8; }
[data-teinte="coups-de-pouce"], body[data-rubrique="coups-de-pouce"] { --t-fort: #85600F; --t-pale: #F8EED3; }
[data-teinte="logement"] { --t-fort: #14322B; --t-pale: #E9EFEC; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 18px/1.62 var(--texte-f); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lien); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--sapin); text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titres); color: var(--encre); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }
p { margin: 0 0 1em; }
.largeur { max-width: var(--max); margin: 0 auto; padding: 0 var(--marge); }
.masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sauter { position: absolute; left: -999px; top: 8px; background: var(--sapin); color: #fff; padding: 10px 14px; border-radius: var(--r-petit); z-index: 50; }
.sauter:focus { left: 8px; }
.icone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.picto { display: block; }
.picto--mini { width: 34px; height: 34px; }
.picto--petit { width: 40px; height: 40px; }
.picto--moyen { width: 56px; height: 56px; }
.picto--grand { width: 84px; height: 84px; }
.picto--geant { width: 170px; height: 170px; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--sapin); color: #fff; border: 2px solid var(--sapin); border-radius: var(--r-petit); font: 700 17px/1.2 var(--texte-f); padding: 13px 20px; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.bouton:hover { background: var(--sapin-2); color: #fff; }
.bouton:active { transform: translateY(1px); }
.bouton--discret { background: transparent; color: var(--sapin); }
.bouton--discret:hover { background: var(--brume); color: var(--sapin); }
.bouton--clair { background: #fff; color: var(--sapin); border-color: #fff; }
.bouton--clair:hover { background: var(--corail-pale); color: var(--sapin); }
.bouton-rond { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brume); color: var(--sapin); cursor: pointer; }
.lien-fleche { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }

/* En-tête */
.haut { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--ligne); }
.haut__barre { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); flex: none; }
.logo__marque { width: 40px; height: 40px; }
.logo__nom { font: 600 23px/1 var(--titres); letter-spacing: -0.02em; }
.logo__nom b { font-weight: 800; color: var(--corail-fonce); }
.recherche { position: relative; flex: 1; max-width: 460px; margin-left: auto; display: flex; }
.recherche input { width: 100%; font: 400 16px/1.2 var(--texte-f); color: var(--encre); background: var(--brume); border: 1.5px solid var(--brume); border-radius: var(--r-petit) 0 0 var(--r-petit); padding: 12px 14px; }
.recherche input:focus { outline: none; border-color: var(--sapin); background: #fff; }
.recherche button { border: 0; background: var(--sapin); color: #fff; border-radius: 0 var(--r-petit) var(--r-petit) 0; width: 50px; cursor: pointer; display: grid; place-items: center; }
.recherche__resultats { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: var(--r); box-shadow: var(--ombre), 0 0 0 1px var(--ligne); z-index: 40; max-height: 60vh; overflow: auto; }
.recherche__resultats a { display: block; padding: 10px 12px; border-radius: var(--r-petit); text-decoration: none; color: var(--encre); font-weight: 600; line-height: 1.3; }
.recherche__resultats a span { display: block; font-weight: 400; font-size: 14px; color: var(--doux); }
.recherche__resultats a:hover, .recherche__resultats [aria-selected="true"] a { background: var(--brume); }
.recherche__vide { padding: 10px 12px; color: var(--doux); font-size: 15px; }
.haut__actions { display: flex; align-items: center; gap: 8px; }
.haut__loupe { display: none; }
.bouton-menu { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: var(--r-petit); border: 1.5px solid var(--ligne); background: #fff; color: var(--encre); font: 700 16px var(--texte-f); cursor: pointer; }
.bouton-menu[aria-expanded="true"] { background: var(--sapin); border-color: var(--sapin); color: #fff; }
.tiroir { border-top: 1px solid var(--ligne); background: #fff; box-shadow: 0 18px 30px rgba(20,50,43,.08); }
.tiroir__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 20px; padding-bottom: 24px; }
.tiroir__rubrique { background: var(--t-pale); border-radius: var(--r); padding: 16px 18px; }
.tiroir__titre { display: flex; align-items: center; gap: 12px; font: 700 19px var(--titres); color: var(--encre); text-decoration: none; margin-bottom: 8px; }
.tiroir__rubrique ul { list-style: none; margin: 0; padding: 0 0 0 52px; }
.tiroir__rubrique li { margin: 4px 0; font-size: 16px; }
.tiroir__bientot { color: var(--doux); font-style: italic; }

/* Accueil : une */
.une { background: var(--brume); padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 4vw, 56px); }
.une__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--corail-fonce); margin-bottom: 14px; }
.surtitre::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--corail); }
.une h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.03em; max-width: 12em; }
.une__chapo { font-size: clamp(19px, 1.6vw, 21px); color: var(--texte); max-width: 34em; }
.une__preuves { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.une__preuves li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; }
.une__preuves .icone { color: #fff; background: var(--lien); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }

.parcours { background: #fff; border-radius: 16px; box-shadow: var(--ombre), 0 0 0 1px var(--ligne); padding: 24px clamp(18px, 3vw, 28px) 20px; }
.parcours__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.parcours__titre { font: 800 23px/1.2 var(--titres); color: var(--encre); margin: 0; }
.parcours__compteur { font-weight: 700; color: var(--doux); margin: 0; font-size: 15px; }
.parcours__jauge { height: 6px; background: var(--brume); border-radius: 6px; margin: 14px 0 18px; overflow: hidden; }
.parcours__jauge span { display: block; height: 100%; width: 20%; background: var(--corail); border-radius: 6px; transition: width .25s; }
.etape { border: 0; margin: 0; padding: 0; min-width: 0; }
.etape legend { font: 700 20px/1.3 var(--titres); color: var(--encre); padding: 0; margin-bottom: 14px; }
.tuiles { display: grid; gap: 10px; }
.tuiles--2 { grid-template-columns: 1fr 1fr; }
.tuile { position: relative; cursor: pointer; }
.tuile input { position: absolute; opacity: 0; inset: 0; }
.tuile span { display: flex; align-items: center; min-height: 58px; padding: 12px 14px; border: 1.5px solid var(--ligne); border-radius: var(--r-petit); font-weight: 700; color: var(--encre); line-height: 1.25; transition: border-color .12s, background .12s; }
.tuile:hover span { border-color: var(--sapin); }
.tuile input:checked + span { border-color: var(--sapin); background: var(--t-pale); box-shadow: inset 0 0 0 1px var(--sapin); }
.tuile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.compte { display: inline-flex; border: 1.5px solid var(--ligne); border-radius: var(--r-petit); overflow: hidden; }
.compte button { width: 52px; height: 52px; border: 0; background: var(--brume); font: 700 22px var(--texte-f); color: var(--sapin); cursor: pointer; }
.compte input { width: 64px; text-align: center; border: 0; font: 700 20px var(--texte-f); color: var(--encre); -moz-appearance: textfield; }
.compte input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cases { display: grid; gap: 8px; margin-top: 14px; }
.cases[hidden], [data-si-seul][hidden] { display: none; }
.case { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.35; margin-top: 8px; }
.case input { accent-color: var(--sapin); width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.montant { display: inline-flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: var(--r-petit); overflow: hidden; }
.montant input { border: 0; font: 600 20px var(--texte-f); padding: 12px 14px; width: 190px; color: var(--encre); }
.montant span { padding: 0 16px; font-weight: 700; color: var(--doux); }
.aide-champ { font-size: 14.5px; color: var(--doux); margin: 8px 0 4px; }
.parcours__boutons { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.parcours__boutons [data-suivant], .parcours__boutons [data-voir] { margin-left: auto; }
.parcours__note { font-size: 13.5px; color: var(--doux); margin: 16px 0 0; line-height: 1.45; }
.pistes { margin-top: 18px; }
.pistes__total { font: 800 19px var(--titres); color: var(--encre); margin-bottom: 10px; }
.pistes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.piste { border-radius: var(--r-petit); background: var(--t-pale); padding: 12px 14px; border-left: 4px solid var(--t-fort); }
.piste a { font-weight: 800; color: var(--encre); }
.piste p { font-size: 14.5px; line-height: 1.45; margin: 4px 0 0; }
.piste__statut { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; padding: 2px 8px; border-radius: 4px; background: #fff; color: var(--t-fort); margin-left: 6px; vertical-align: 2px; }
.piste--non { opacity: .6; border-left-style: dashed; }
.parcours.est-fini .etape, .parcours.est-fini .parcours__jauge { display: none; }

/* Blocs */
.bloc { padding-top: clamp(36px, 5vw, 60px); }
.bloc__titre { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 18px; }
.bloc__entete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.panneaux { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.panneau { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 120px; padding: 20px 20px 20px 22px; border-radius: var(--r); background: var(--t-pale); color: var(--encre); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.panneau::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.55); }
.panneau:hover { transform: translateY(-2px); box-shadow: var(--ombre); color: var(--encre); }
.panneau__texte { position: relative; z-index: 1; display: grid; gap: 4px; }
.panneau__titre { font: 700 20px/1.25 var(--titres); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.panneau:hover .panneau__titre { text-decoration-thickness: 3px; }
.panneau__sous { font-size: 15px; color: var(--texte); }
.panneau__image { position: relative; z-index: 1; flex: none; }
.panneaux--petits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panneaux--petits .panneau { min-height: 92px; }

.raccourcis { background: var(--corail-pale); margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 44px) 0; }
.raccourcis__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
.raccourcis__liste a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(184,67,42,.18); color: var(--encre); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.raccourcis__liste a:hover { text-decoration-thickness: 2.5px; }

.cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.carte { background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); overflow: hidden; display: flex; flex-direction: column; border-top: 5px solid var(--t-fort); }
.carte img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.carte__corps { padding: 16px 18px 20px; }
.carte h3 { font-size: 20px; line-height: 1.25; }
.carte h3 a { color: var(--encre); text-decoration: none; }
.carte h3 a:hover { text-decoration: underline; }
.carte p:last-child { font-size: 15.5px; color: var(--doux); margin: 0; }
.etiquette-teinte { display: inline-block; font-size: 13px; font-weight: 800; color: var(--t-fort); background: var(--t-pale); padding: 3px 9px; border-radius: 4px; margin-bottom: 10px; }

.voisin { display: flex; align-items: center; gap: 24px; background: var(--sapin); color: #E7F0EC; border-radius: 16px; padding: 26px 30px; }
.voisin h2 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.voisin p { margin: 0; }
.voisin a:not(.bouton) { color: #fff; }
.voisin .bouton { margin-left: auto; flex: none; }
.voisin .picto { --encre: #0C211C; flex: none; background: #E7F0EC; border-radius: 50%; padding: 10px; width: 92px; height: 92px; }

/* Fil d'Ariane */
.fil { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--doux); margin-bottom: 18px; }
.fil .icone { width: 14px; height: 14px; }
.fil a { color: var(--texte); }

/* Rubrique */
.bandeau { background: var(--t-pale); padding: clamp(24px, 4vw, 44px) 0; }
.bandeau__grille { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.bandeau h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 15em; }
.bandeau__chapo { font-size: 20px; max-width: 36em; margin: 0; }
.bandeau__image { background: rgba(255,255,255,.6); border-radius: 50%; padding: 18px; }
.rubrique { padding-top: 28px; padding-bottom: 20px; }
.conseil { background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); border-left: 5px solid var(--t-fort); padding: 18px 22px; max-width: 860px; margin-bottom: 34px; }
.conseil__titre { font: 700 18px var(--titres); color: var(--t-fort); margin-bottom: 6px; }
.conseil p:last-child { margin: 0; }
.liste-guides { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.ligne-guide { display: flex; align-items: center; gap: 18px; padding: 14px 18px 14px 14px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); background: #fff; color: var(--encre); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.ligne-guide:hover { box-shadow: 0 0 0 2px var(--t-fort), var(--ombre); color: var(--encre); }
.ligne-guide img { width: 132px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-petit); flex: none; }
.ligne-guide__texte { display: grid; gap: 4px; flex: 1; }
.ligne-guide__titre { font: 700 20px/1.25 var(--titres); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ligne-guide__desc { font-size: 15.5px; color: var(--doux); line-height: 1.45; }
.ligne-guide > .icone { color: var(--t-fort); width: 26px; height: 26px; }

/* Article */
.progression { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 35; pointer-events: none; }
.progression span { display: block; height: 100%; width: 0; background: var(--t-fort); }
.colonne { max-width: 780px; margin: 0 auto; padding: 0 var(--marge); box-sizing: content-box; }
.colonne--large { max-width: 1000px; }
.guide__tete { background: var(--t-pale); padding: clamp(24px, 4vw, 44px) 0 clamp(80px, 9vw, 120px); }
.guide__tete h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.07; letter-spacing: -0.025em; }
.guide__chapo { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.55; color: var(--texte); }
.auteur-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 20px; font-size: 15.5px; }
.auteur-ligne p { margin: 0; display: grid; line-height: 1.3; }
.auteur-ligne p a { font-weight: 800; color: var(--encre); }
.auteur-ligne p span { color: var(--doux); font-size: 14.5px; }
.auteur-ligne__meta { margin-left: auto !important; text-align: right; color: var(--doux); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--t-fort); color: #fff; display: grid; place-items: center; font: 800 15px var(--titres); flex: none; }
.avatar--grand { width: 64px; height: 64px; font-size: 19px; }
.guide__image { margin-top: clamp(-100px, -8vw, -64px); margin-bottom: 30px; }
.guide__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: var(--ombre); }
.guide__image figcaption, .illustration figcaption { font-size: 14px; color: var(--doux); padding-top: 8px; }
.guide__image figcaption span, .illustration figcaption span { font-style: italic; }
.guide__grille { position: relative; }
.retenir { background: var(--t-pale); border-radius: var(--r); padding: 22px 24px 16px; margin-bottom: 30px; }
.retenir h2 { font-size: 20px; color: var(--t-fort); margin-bottom: 10px; }
.retenir ul { list-style: none; margin: 0; padding: 0; }
.retenir li { display: flex; gap: 12px; padding: 8px 0; font-size: 17px; line-height: 1.5; }
.retenir li + li { border-top: 1px solid rgba(255,255,255,.9); }
.retenir .icone { color: var(--t-fort); margin-top: 3px; }
.texte h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; display: flex; gap: 14px; align-items: baseline; }
.texte h2::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--t-fort); transform: translateY(-3px); }
.texte h3 { font-size: 22px; margin-top: 1.5em; }
.texte ul, .texte ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.texte li { margin-bottom: .45em; }
.texte li::marker { color: var(--t-fort); font-weight: 700; }
.texte .note, .texte blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--corail-pale); border-radius: var(--r); font-size: 17px; }
.texte .note p:last-child, .texte blockquote p:last-child { margin: 0; }
.texte .exemple { margin: 1.6em 0; padding: 18px 22px; background: var(--brume); border-radius: var(--r); border: 1.5px dashed #B9C7C0; }
.texte .exemple::before { content: "Exemple chiffré"; display: block; font: 800 14px var(--titres); color: var(--sapin); margin-bottom: 6px; }
.texte .exemple p:last-child { margin: 0; }
.texte .tableau { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); }
.texte table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
.texte caption { text-align: left; font: 700 15px var(--titres); color: var(--encre); padding: 14px 16px 10px; background: var(--brume); }
.texte th { text-align: left; background: var(--sapin); color: #fff; font-weight: 700; padding: 11px 14px; }
.texte td { padding: 11px 14px; border-top: 1px solid var(--ligne); vertical-align: top; }
.texte tr:nth-child(even) td { background: #FAFCFB; }
.illustration { margin: 2em 0; }
.illustration img { border-radius: var(--r); width: 100%; }
.faq { margin-top: 46px; }
.faq h2 { font-size: clamp(26px, 2.6vw, 32px); }
.faq__item { border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); margin-bottom: 10px; background: #fff; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; font: 700 18px/1.35 var(--titres); color: var(--encre); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icone { transform: rotate(90deg); color: var(--t-fort); transition: transform .15s; }
.faq__item[open] summary .icone { transform: rotate(-90deg); }
.faq__reponse { padding: 0 18px 4px; }
.sources-guide { margin-top: 36px; background: var(--brume); border-radius: var(--r); padding: 20px 22px 8px; font-size: 15.5px; }
.sources-guide h2 { font-size: 18px; }
.sources-guide ul { padding-left: 1.1em; margin: 0 0 10px; }
.sources-guide p { color: var(--doux); font-size: 14.5px; }
.carte-auteur { display: flex; gap: 18px; margin: 28px 0 10px; padding: 22px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--ligne); font-size: 16px; }
.carte-auteur__nom { font: 800 20px var(--titres); color: var(--encre); margin: 0; }
.carte-auteur__role { color: var(--t-fort); font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.suite-guide { padding-top: 40px; padding-bottom: 20px; }

/* Jalons (sommaire) : marge droite dès 1200 px, volet bas en dessous */
.jalons__tete { display: flex; justify-content: space-between; align-items: center; }
.jalons__tete p { font: 800 14px var(--titres); color: var(--doux); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; }
.jalons ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ligne); }
.jalons a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 3px solid transparent; font-size: 14.5px; line-height: 1.35; color: var(--doux); text-decoration: none; }
.jalons a:hover { color: var(--encre); }
.jalons a[aria-current] { border-left-color: var(--t-fort); color: var(--encre); font-weight: 700; }
@media (min-width: 1200px) {
  .guide .colonne { margin-left: max(var(--marge), calc((100% - 1076px) / 2)); margin-right: auto; padding: 0; }
  .guide .colonne--large { max-width: 1076px; }
  .jalons { position: absolute; top: 0; left: calc(max(var(--marge), (100% - 1076px) / 2) + 836px); width: 240px; height: 100%; }
  .jalons__volet { position: sticky; top: 100px; }
  .jalons ol { max-height: calc(100vh - 150px); overflow: auto; }
  .jalons__fermer, .bouton-sommaire { display: none; }
}
@media (max-width: 1199px) {
  .jalons { position: fixed; inset: auto 0 0 0; z-index: 45; display: none; }
  .jalons.est-ouvert { display: block; }
  .jalons__volet { background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(20,50,43,.25); padding: 18px 20px 24px; max-height: 70vh; overflow: auto; }
  .jalons a { font-size: 16px; padding: 10px 0 10px 16px; }
  .bouton-sommaire { position: fixed; left: 16px; bottom: 16px; z-index: 26; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 24px; border: 0; background: var(--encre); color: #fff; font: 700 16px var(--texte-f); box-shadow: var(--ombre); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .bouton-sommaire.est-visible { opacity: 1; pointer-events: auto; }
}

/* Partenaire et pub */
.partenaire { margin: 2em 0; padding: 20px 22px; border-radius: var(--r); background: var(--brume); }
.partenaire .etiquette { font-size: 13px; font-weight: 700; color: var(--doux); margin-bottom: 4px; }
.partenaire__titre { font: 800 20px var(--titres); color: var(--encre); margin-bottom: 6px; }
.encart-pub { margin: 2em 0; text-align: center; }
.encart-pub__mention { display: block; font-size: 12px; color: var(--doux); }

/* Pages fixes (a-propos, contact, légal) */
.page-fixe { max-width: 860px; margin: 0 auto; padding: 32px var(--marge) 60px; }
.page-fixe h1 { font-size: clamp(34px, 4.4vw, 52px); }
.page-fixe .ariane { display: flex; gap: 8px; font-size: 15px; color: var(--doux); margin-bottom: 16px; }
.page-fixe .ariane a { color: var(--texte); }
.page-fixe .chapo { font-size: 20px; }
.page-fixe .prose h2 { font-size: 26px; margin-top: 1.6em; }
.page-fixe .prose ul { padding-left: 1.2em; }
.page-fixe .note { background: var(--corail-pale); border-radius: var(--r); padding: 16px 20px; margin: 1.4em 0; }
.page-fixe .note p { margin: 0; }
.equipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 36px; }
.equipe article { background: var(--brume); border-radius: var(--r); padding: 20px; font-size: 16px; }
.equipe h3 { font-size: 21px; margin: 12px 0 2px; }
.equipe .etiquette { color: var(--corail-fonce); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.pastille { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sapin); color: #fff; font: 800 16px var(--titres); }
.pastille--grande { width: 60px; height: 60px; }

/* Pied */
.bas { background: #E9F0EC; margin-top: clamp(48px, 6vw, 80px); padding-top: 30px; font-size: 16px; color: var(--texte); }
.bas__avertissement { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--r); padding: 16px 20px; margin-bottom: 30px; }
.bas__avertissement p { margin: 0; }
.bas__colonnes { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 28px; }
.bas__nom { font: 800 22px var(--titres); color: var(--encre); }
.bas__titre { font: 800 16px var(--titres); color: var(--encre); margin-bottom: 8px; }
.bas ul { list-style: none; margin: 0; padding: 0; }
.bas li { margin-bottom: 6px; }
.bas a { color: var(--sapin); }
.bas__ligne { border-top: 1px solid #CFDCD5; margin: 0; padding: 16px 0 26px; font-size: 14px; color: var(--doux); }
.vers-haut { position: fixed; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sapin); color: #fff; box-shadow: var(--ombre); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 25; }
.vers-haut.est-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1000px) {
  .une__grille { grid-template-columns: minmax(0, 1fr); }
  .panneaux, .panneaux--petits, .cartes, .raccourcis__liste { grid-template-columns: 1fr 1fr; }
  .tiroir__grille { grid-template-columns: 1fr 1fr; }
  .bas__colonnes { grid-template-columns: 1fr 1fr; }
  .equipe { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .haut__barre { min-height: 64px; gap: 10px; }
  .recherche { display: none; position: absolute; left: var(--marge); right: var(--marge); top: 70px; max-width: none; }
  .haut.est-recherche .recherche { display: flex; }
  .haut__loupe { display: inline-grid; margin-left: auto; }
  .bouton-menu span { display: none; }
  .bouton-menu { width: 46px; padding: 0; justify-content: center; }
  .haut.est-recherche { padding-bottom: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .logo__nom { font-size: 20px; }
  .logo__marque { width: 34px; height: 34px; }
  .panneaux, .panneaux--petits, .cartes, .raccourcis__liste, .tiroir__grille { grid-template-columns: 1fr; }
  .tuiles--2 { grid-template-columns: 1fr; }
  .tuile span { min-height: 52px; }
  .panneau { min-height: 96px; }
  .panneau .picto--grand { width: 64px; height: 64px; }
  .bandeau__grille { grid-template-columns: 1fr; }
  .bandeau__image { display: none; }
  .ligne-guide img { width: 84px; }
  .ligne-guide { gap: 12px; padding: 12px; }
  .ligne-guide__titre { font-size: 17.5px; }
  .ligne-guide__desc { display: none; }
  .voisin { flex-direction: column; align-items: flex-start; padding: 22px; }
  .voisin .bouton { margin-left: 0; }
  .bas__colonnes { grid-template-columns: 1fr; }
  .bas__avertissement { align-items: flex-start; }
  .auteur-ligne__meta { margin-left: 60px !important; text-align: left; }
  .guide__image { padding: 0 var(--marge); }
  .carte-auteur { flex-direction: column; }
  .texte th, .texte td { padding: 9px 10px; font-size: 15px; }
  .montant input { width: 150px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
