:root {
  --encre: #1D2330;
  --encre-2: #485062;
  --encre-3: #5D6577;
  --brume: #F2F4F8;
  --brume-2: #E7EAF1;
  --trait: #D9DEE8;
  --barre: #B9C0CE;
  --blanc: #FFFFFF;

  --bleu: #2453E0;
  --bleu-fonce: #1A3EB0;
  --bleu-pale: #E8EEFD;

  --vert: #1E7A45;
  --vert-fonce: #16583A;
  --vert-pale: #D8F3DF;
  --rouge: #C2352B;
  --rouge-pale: #FFE1DC;
  --rouge-voile: #FFF0ED;

  --soleil: #F7C843;
  --soleil-pale: #FFF4CC;
  --soleil-texte: #574A1A;
  --surlignage: #FFE27A;
  --lagon-pale: #D6F4EF;
  --lagon-texte: #1F5E56;
  --lagon-note: #2C4F4A;

  --nuit-texte: #E8EBF2;
  --nuit-doux: #C9CFDB;
  --nuit-gris: #B6BDCB;
  --nuit-trait: #353C4C;

  --titre: var(--wp--preset--font-family--titre, "Gabarito", "Atkinson Hyperlegible Next", system-ui, sans-serif);
  --texte: var(--wp--preset--font-family--texte, "Atkinson Hyperlegible Next", system-ui, sans-serif);

  --gouttiere: clamp(16px, 4vw, 40px);
  --r-xl: 40px;
  --r-l: 28px;
  --r-m: 20px;
  --r-s: 14px;
  --ombre: 0 18px 40px -24px rgba(29, 35, 48, .38), 0 2px 6px -2px rgba(29, 35, 48, .08);
  --ombre-haute: 0 28px 54px -26px rgba(29, 35, 48, .45), 0 4px 10px -4px rgba(29, 35, 48, .1);
  --sortie: cubic-bezier(.16, 1, .3, 1);

  --t: var(--soleil);
  --t-pale: var(--soleil-pale);
}

.f-aid { --t: #F7C843; --t-pale: #FFF4CC; }
.f-dpe { --t: #FF8A75; --t-pale: #FFE4DD; }
.f-iso { --t: #BBA9F7; --t-pale: #EEE8FE; }
.f-cha { --t: #F59AC6; --t-pale: #FDE4F0; }
.f-enr { --t: #43C6B6; --t-pale: #D6F4EF; }
.f-con { --t: #9BE0A8; --t-pale: #E2F7E6; }
.f-neutre { --t: var(--brume-2); --t-pale: var(--brume); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-color: var(--barre) transparent; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bleu); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--bleu-fonce); }
h1, h2, h3, h4 { font-family: var(--titre); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
::selection { background: var(--surlignage); color: var(--encre); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

.enveloppe { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gouttiere); }
.masque, .visuellement-cache, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.evitement { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--bleu); color: var(--blanc); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.evitement:focus { top: 12px; color: var(--blanc); }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--fleche, .ico--descendre { width: 1.1em; height: 1.1em; transition: transform .3s var(--sortie); }

.bouton {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.45em; border-radius: 999px;
  background: var(--bleu); color: var(--blanc); text-decoration: none;
  font-family: var(--titre); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  box-shadow: 0 12px 22px -14px rgba(36, 83, 224, .9);
  transition: background .2s, transform .3s var(--sortie);
}
.bouton:hover { background: var(--bleu-fonce); color: var(--blanc); transform: translateY(-1px); }
.bouton:hover .ico--fleche { transform: translateX(3px); }
.bouton:hover .ico--descendre { transform: translateY(3px); }
.bouton--clair { background: var(--blanc); color: var(--bleu); box-shadow: 0 10px 22px -16px rgba(29, 35, 48, .55); }
.bouton--clair:hover { background: var(--bleu-pale); color: var(--bleu-fonce); }
.lien { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.lien:hover .ico--fleche { transform: translateX(3px); }
.lien:hover .ico--descendre { transform: translateY(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.puce {
  display: inline-flex; align-items: center; gap: .45em; width: fit-content;
  padding: .28em .8em .3em; border-radius: 999px; background: var(--t-pale);
  font-size: .82rem; font-weight: 700; color: var(--encre); line-height: 1.3;
}
.puce::before { content: ""; width: .62em; height: .62em; border-radius: 50%; background: var(--t); flex: none; }
.point { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--t); flex: none; }
.verifie { display: inline-block; font-size: .92rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--vert-pale); color: var(--vert-fonce); }

.tete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.tete-section h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 800; }
.tete-section p { margin-top: 8px; color: var(--encre-2); max-width: 60ch; }
.tete-section > div > * + p { margin-top: 8px; }

.tete { position: relative; z-index: 20; background: var(--blanc); }
.tete__haut { display: flex; align-items: center; gap: 20px; min-height: 80px; padding-block: 12px; }
.marque { display: inline-flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; margin-right: auto; }
.marque:hover { color: var(--encre); }
.marque__logo, .pied__logo { flex: none; }
.marque__logo [class^="f-"], .pied__logo [class^="f-"] { fill: var(--t); }
.marque__maison { fill: var(--encre); }
.marque__porte { fill: var(--blanc); }
.pied__logo .marque__maison { fill: var(--blanc); }
.pied__logo .marque__porte { fill: var(--encre); }
.marque__nom { display: flex; flex-direction: column; font-family: var(--titre); line-height: 1.05; }
.marque__nom b { font-size: 1.32rem; font-weight: 850; letter-spacing: -.02em; }
.marque__nom span { font-size: 1rem; font-weight: 600; color: var(--encre-2); }

.profils ul { display: flex; gap: 4px; list-style: none; }
.profils a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  color: var(--encre); text-decoration: none; font-weight: 700; font-size: .98rem;
}
.profils a:hover { background: var(--brume); color: var(--encre); }
.profils .ico { color: var(--encre-2); }

.recherche { display: flex; align-items: center; background: var(--brume); border-radius: 999px; padding: 4px 4px 4px 18px; width: 290px; max-width: 100%; }
.recherche input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .95rem; color: var(--encre); padding: 8px 0; }
.recherche input::placeholder { color: var(--encre-3); }
.recherche input:focus { outline: none; }
.recherche input::-webkit-search-cancel-button { cursor: pointer; }
.recherche:focus-within { box-shadow: 0 0 0 3px var(--bleu); }
.recherche button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blanc); color: var(--encre); cursor: pointer; flex: none; }
.recherche button:hover { color: var(--bleu); }

.menu-bouton { display: none; }

.tete__bas { border-top: 1px solid var(--brume-2); border-bottom: 1px solid var(--brume-2); background: var(--blanc); }
.themes { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 10px; }
.themes__liste { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.themes__liste a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px;
  background: var(--t-pale); color: var(--encre); text-decoration: none; font-weight: 700; font-size: .88rem; white-space: nowrap;
  transition: background .2s;
}
.themes__liste .ico { width: 24px; height: 24px; padding: 4.5px; border-radius: 50%; background: var(--t); }
.themes__liste a:hover { background: var(--t); color: var(--encre); }

.themes__liste a[aria-current] { background: var(--t); font-weight: 800; }
.themes__liste a[aria-current]::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--encre); flex: none; }
.dossiers-bouton {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .92rem; color: var(--bleu); padding: 8px 10px; border-radius: 999px; white-space: nowrap;
}
.dossiers-bouton:hover { background: var(--bleu-pale); }
.dossiers-bouton .ico--chevron { transition: transform .3s var(--sortie); }
.dossiers-bouton[aria-expanded="true"] .ico--chevron { transform: rotate(180deg); }
.dossiers { position: absolute; left: 0; right: 0; background: var(--blanc); box-shadow: var(--ombre-haute); border-radius: 0 0 var(--r-l) var(--r-l); }
.dossiers__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; padding-block: 26px 30px; }
.dossiers__theme a { display: flex; align-items: center; gap: 8px; color: var(--encre); text-decoration: none; font-family: var(--titre); font-weight: 750; font-size: 1.05rem; line-height: 1.2; }
.dossiers__theme a:hover { text-decoration: underline; color: var(--encre); }
.dossiers__theme .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--t); }
.dossiers__colonne ul { list-style: none; margin-top: 12px; display: grid; gap: 2px; }
.dossiers__colonne li a { display: block; padding: 6px 10px; margin-inline: -10px; border-radius: 10px; color: var(--encre); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.dossiers__colonne li a:hover { background: var(--t-pale); color: var(--encre); }
.profils--menu { display: none; }

.ouverture { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 80px); background: linear-gradient(180deg, var(--blanc) 0%, var(--blanc) 62%, var(--brume) 100%); }
.ouverture__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ouverture__grille--seule { grid-template-columns: minmax(0, 1fr); }
.ouverture__grille--seule .ouverture__texte { max-width: 820px; }
.ouverture h1 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); font-weight: 850; line-height: 1.02; letter-spacing: -.03em; }
.ouverture__chapo { margin-top: 22px; font-size: 1.18rem; line-height: 1.6; max-width: 56ch; }
.ouverture .actions { margin-top: 30px; }
.ouverture__precision { margin-top: 22px; font-size: .95rem; color: var(--encre-2); max-width: 52ch; }

.collage { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 12px; aspect-ratio: 1 / .92; }
.collage__photo { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--ombre); background: var(--brume-2); }
.collage__photo img { width: 100%; height: 100%; object-fit: cover; }
.collage__photo--1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.collage__photo--2 { grid-column: 5 / 7; grid-row: 1 / 4; }
.collage__photo--3 { grid-column: 5 / 7; grid-row: 4 / 7; }
.collage__photo--4 { grid-column: 1 / 3; grid-row: 5 / 7; }
.collage__photo--5 { grid-column: 3 / 5; grid-row: 5 / 7; }
.collage figcaption, .resultat__photo figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--encre); font-size: .8rem; font-weight: 700;
}
.pastille { position: absolute; left: calc(66.6% - 88px); top: calc(66.6% - 92px); width: 132px; height: 132px; transform: rotate(-9deg); filter: drop-shadow(0 10px 14px rgba(29, 35, 48, .22)); }
.pastille svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--soleil); }
.pastille p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--titre); line-height: 1.1; padding: 18px; }
.pastille span { font-size: .78rem; font-weight: 600; }
.pastille b { font-size: 1.08rem; font-weight: 850; margin-top: 2px; }

.situation { background: var(--brume); padding-block: clamp(40px, 6vw, 80px); scroll-margin-top: 0; }
.situation__choix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 48px; align-items: start; }
.situation__choix h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 850; letter-spacing: -.025em; }
.situation__intro { color: var(--encre-2); font-size: 1.08rem; max-width: 58ch; }
.choix { border: 0; margin: 0; padding: 0; min-width: 0; }
.choix legend { font-family: var(--titre); font-weight: 750; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.choix__profils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choix-profil, .choix-territoire { position: relative; cursor: pointer; }
.choix-profil input, .choix-territoire input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choix-profil__corps {
  display: grid; gap: 4px; height: 100%; padding: 18px 18px 16px; border-radius: var(--r-m);
  background: var(--blanc); box-shadow: 0 10px 24px -20px rgba(29, 35, 48, .6); transition: box-shadow .2s, transform .3s var(--sortie);
}
.choix-profil__corps .ico { width: 34px; height: 34px; color: var(--encre); margin-bottom: 6px; }
.choix-profil__corps b { font-family: var(--titre); font-size: 1.12rem; line-height: 1.3; }
.choix-profil__corps span { font-size: .92rem; color: var(--encre-2); line-height: 1.35; }
.choix-profil:hover .choix-profil__corps { transform: translateY(-2px); }
.choix-profil input:checked + .choix-profil__corps { box-shadow: inset 0 0 0 2.5px var(--bleu), 0 14px 26px -18px rgba(36, 83, 224, .7); }
.choix-profil input:checked + .choix-profil__corps .ico { color: var(--bleu); }
.choix-profil input:focus-visible + .choix-profil__corps { outline: 3px solid var(--bleu); outline-offset: 3px; }
.choix__territoires { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-territoire span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--blanc);
  font-weight: 700; font-size: .95rem; box-shadow: 0 6px 16px -14px rgba(29, 35, 48, .7); transition: background .2s;
}
.choix-territoire:hover span { background: var(--bleu-pale); }
.choix-territoire input:checked + span { background: var(--bleu); color: var(--blanc); }
.choix-territoire input:focus-visible + span { outline: 3px solid var(--bleu); outline-offset: 3px; }
.situation__choix > h2, .situation__choix > .situation__intro { grid-column: 1; }
.situation__choix > h2 { grid-row: 1; }
.situation__choix > .situation__intro { grid-row: 2; }
.situation__choix > .choix:first-of-type { grid-column: 2; grid-row: 1 / 3; }
.situation__choix > .choix:last-of-type:not(:first-of-type) { grid-column: 1 / -1; }

.resultat { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }

.resultat__bloc, .guichet__bloc, .aides__bloc { display: none; }
.situation:has(#profil-occupant:checked) .pour-occupant,
.situation:has(#profil-bailleur:checked) .pour-bailleur,
.situation:has(#profil-locataire:checked) .pour-locataire,
.situation:has(#profil-occupant:checked) .pour-proprietaire,
.situation:has(#profil-bailleur:checked) .pour-proprietaire,
.guichet__blocs > .guichet__bloc:only-child,
.situation:has(.choix__territoires > :nth-child(1) input:checked) .guichet__blocs > :nth-child(1),
.situation:has(.choix__territoires > :nth-child(2) input:checked) .guichet__blocs > :nth-child(2),
.situation:has(.choix__territoires > :nth-child(3) input:checked) .guichet__blocs > :nth-child(3),
.situation:has(.choix__territoires > :nth-child(4) input:checked) .guichet__blocs > :nth-child(4),
.situation:has(.choix__territoires > :nth-child(5) input:checked) .guichet__blocs > :nth-child(5),
.situation:has(.choix__territoires > :nth-child(6) input:checked) .guichet__blocs > :nth-child(6),
.situation:has(.choix__territoires > :nth-child(7) input:checked) .guichet__blocs > :nth-child(7),
.situation:has(.choix__territoires > :nth-child(8) input:checked) .guichet__blocs > :nth-child(8),
.situation:has(.choix__territoires > :nth-child(9) input:checked) .guichet__blocs > :nth-child(9),
.situation:has(.choix__territoires > :nth-child(10) input:checked) .guichet__blocs > :nth-child(10),
.situation:has(.choix__territoires > :nth-child(11) input:checked) .guichet__blocs > :nth-child(11),
.situation:has(.choix__territoires > :nth-child(12) input:checked) .guichet__blocs > :nth-child(12) { display: block; }

@supports not selector(:has(*)) {
  .resultat__bloc, .guichet__bloc, .aides__bloc { display: block; }
  .resultat__bloc + .resultat__bloc, .guichet__bloc + .guichet__bloc, .aides__bloc + .aides__bloc { margin-top: 28px; }
  .situation__choix > .choix { display: none; }
}
.situation[data-touche] .resultat__bloc, .situation[data-touche] .guichet__bloc, .situation[data-touche] .aides__bloc { animation: devoile .6s var(--sortie) backwards; }
@keyframes devoile {
  from { clip-path: inset(-12px -12px 72% -12px); opacity: .4; transform: translateY(8px); }
  to { clip-path: inset(-12px); opacity: 1; transform: none; }
}
.resultat__bloc { scroll-margin-top: 24px; }

.resultat__conseils { background: var(--blanc); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); box-shadow: var(--ombre); }
.resultat__conseils h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 18px; }
.conseils { list-style: none; display: grid; gap: 4px; }
.conseil { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--brume-2); }
.conseil:first-child { border-top: 0; padding-top: 0; }
.signe-decision { width: 30px; height: 30px; }
.signe-decision--oui circle { fill: var(--vert-pale); } .signe-decision--oui path { stroke: var(--vert); }
.signe-decision--non circle { fill: var(--rouge-pale); } .signe-decision--non path { stroke: var(--rouge); }
.conseil__situation { font-weight: 700; line-height: 1.4; }
.conseil__texte { margin-top: 3px; color: var(--encre-2); line-height: 1.5; max-width: 60ch; }
.conseil__guide, .conseil__lien { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; font-size: .9rem; font-weight: 700; }
.conseil__lien:hover .ico--fleche { transform: translateX(3px); }
.conseil__lien:hover .ico--descendre { transform: translateY(3px); }

.resultat__cote { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.resultat__photo { position: relative; flex: 1; min-height: 240px; margin: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--ombre); background: var(--brume-2); }
.resultat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guichet { background: var(--lagon-pale); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.guichet h3 { font-size: 1.45rem; font-weight: 800; }
.guichet__territoire { font-weight: 700; color: var(--lagon-texte); }
.guichet__nom { font-family: var(--titre); font-size: 1.9rem; font-weight: 850; line-height: 1.1; margin-top: 2px; letter-spacing: -.02em; }
.guichet__offre { margin-top: 8px; }
.guichet__aide { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-s); background: rgba(255, 255, 255, .7); }
.guichet__bloc .bouton { margin-top: 16px; }
.guichet__note { margin-top: auto; font-size: .86rem; color: var(--lagon-note); line-height: 1.45; }

.aides { grid-column: 1 / -1; }
.aides__bloc { background: var(--soleil-pale); border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); }
.aides__bloc h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 18px; }
.aides__liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.aides__liste li { background: var(--blanc); border-radius: var(--r-m); padding: 16px 18px; }
.aide__nom { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.aides__liste dl { margin: 0; display: grid; gap: 6px; }
.aides__liste dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; font-size: .93rem; line-height: 1.4; }
.aides__liste dt { color: var(--encre-2); font-weight: 600; }
.aides__liste dd { margin: 0; }
.aides__source { margin-top: 16px; font-size: .86rem; color: var(--soleil-texte); max-width: 72ch; }

.bande-themes { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.defile { display: flex; gap: 10px; }
.defile__bouton { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brume); color: var(--encre); cursor: pointer; transition: background .2s; }
.defile__bouton:hover { background: var(--bleu); color: var(--blanc); }
.defile__bouton:disabled { opacity: .35; cursor: default; background: var(--brume); color: var(--encre); }
.panneaux {
  --marge: max(var(--gouttiere), calc((100vw - 1280px) / 2 + 40px));
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 84vw); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge);
  padding: 6px var(--marge) 28px; scrollbar-width: thin;
}
.panneau { scroll-snap-align: start; }
.panneau > a, .panneau > div {
  display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: 34px; background: var(--t);
  color: var(--encre); text-decoration: none; transition: transform .35s var(--sortie), box-shadow .35s var(--sortie);
}
.panneau > a:hover { color: var(--encre); transform: translateY(-4px); box-shadow: var(--ombre-haute); }
.panneau__image { display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; }
.panneau__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sortie); }
.panneau__image--vide { display: grid; place-items: center; background: rgba(255, 255, 255, .45); }
.panneau__image--vide .ico { width: 64px; height: 64px; opacity: .55; }
.panneau > a:hover .panneau__image img { transform: scale(1.04); }
.panneau__corps { display: flex; flex-direction: column; gap: 12px; padding: 18px 10px 8px; flex: 1; }
.panneau__titre { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 850; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.02em; }
.panneau__titre .ico { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.panneau__desc { line-height: 1.5; }
.panneau__chiffre { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-m); background: rgba(255, 255, 255, .72); margin-top: auto; }
.panneau__chiffre b { font-family: var(--titre); font-size: 2rem; font-weight: 850; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.panneau__chiffre span { font-size: .9rem; line-height: 1.35; }
.panneau__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; padding-top: 4px; margin-top: auto; }
.panneau__chiffre + .panneau__pied { margin-top: 0; }
.panneau__pied .ico--fleche { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--encre); color: var(--blanc); }
.panneau > a:hover .ico--fleche { transform: translateX(4px); }

.une { padding-block: clamp(32px, 4vw, 56px); }
.une__carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); padding: 14px; border-radius: var(--r-xl); background: var(--t-pale); align-items: center; }
.une__image { display: block; height: 100%; border-radius: var(--r-l); overflow: hidden; }
.une__image img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.une__texte { padding: clamp(10px, 2vw, 28px) clamp(10px, 2vw, 32px) clamp(10px, 2vw, 28px) 0; display: grid; gap: 16px; justify-items: start; }
.une__carte > .une__texte:only-child { padding-left: clamp(10px, 2vw, 32px); }
.une__texte .puce { background: var(--t); }
.une__texte .puce::before { background: var(--encre); }
.une h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); font-weight: 850; letter-spacing: -.02em; }
.une h2 a { color: var(--encre); text-decoration: none; }
.une h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.une__resume { max-width: 62ch; }
.reperes { list-style: none; display: grid; gap: 10px; width: 100%; }
.reperes li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 18px; border-radius: var(--r-m); background: var(--blanc); }
.reperes span { line-height: 1.35; }
.reperes b { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--t); font-family: var(--titre); font-size: 1.35rem; font-weight: 850; font-variant-numeric: tabular-nums; white-space: nowrap; }
.provenance { font-size: .86rem; color: var(--encre-2); max-width: 62ch; }

.derniers { padding-block: clamp(32px, 4vw, 64px); }
.cartes { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 22px; }
.carte > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-l); background: var(--blanc); box-shadow: var(--ombre); color: var(--encre); text-decoration: none; overflow: hidden; transition: transform .35s var(--sortie), box-shadow .35s var(--sortie); }
.carte > a:hover { transform: translateY(-3px); box-shadow: var(--ombre-haute); color: var(--encre); }
.carte__image { display: block; aspect-ratio: 16 / 10; background: var(--t-pale); overflow: hidden; }
.carte__image img { width: 100%; height: 100%; object-fit: cover; }
.carte__vide { display: grid; place-items: center; height: 100%; }
.carte__vide .ico { width: 56px; height: 56px; color: var(--encre); opacity: .5; }
.carte__corps { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.carte__titre { font-family: var(--titre); font-weight: 750; font-size: 1.2rem; line-height: 1.3; }
.carte > a:hover .carte__titre { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.carte__date { margin-top: auto; font-size: .88rem; color: var(--encre-2); }
.cartes--serrees { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cartes--serrees .carte__corps { padding: 14px 16px 16px; gap: 8px; }
.cartes--serrees .carte__titre { font-size: 1.05rem; }
body.category .derniers .cartes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.pagination { margin-top: 32px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pagination a, .pagination span { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; padding: 8px 16px; border-radius: 999px; background: var(--brume); color: var(--encre); font-weight: 700; text-decoration: none; }
.pagination a:hover { background: var(--bleu-pale); color: var(--bleu-fonce); }
.pagination .current { background: var(--encre); color: var(--blanc); }
.pagination .dots { background: none; }

.methode { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.methode__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 28px clamp(24px, 4vw, 64px); background: var(--brume); border-radius: var(--r-xl); padding-block: clamp(28px, 4vw, 52px); }
.methode__tete { display: grid; gap: 16px; align-content: start; justify-items: start; }
.methode__tete h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 850; }
.methode__liste { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; }
.methode__liste li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.methode__liste .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--blanc); color: var(--encre); }
.methode__liste h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.3; margin-top: 8px; }
.methode__liste p { margin-top: 4px; color: var(--encre-2); line-height: 1.5; }

.pied { background: var(--encre); color: var(--nuit-texte); padding-block: 56px 28px; }
.pied a { color: var(--blanc); text-decoration: none; }
.pied a:hover { text-decoration: underline; color: var(--blanc); }
.pied :focus-visible { outline-color: var(--blanc); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr); gap: 36px; }
.pied__nom { display: flex; align-items: center; gap: 12px; font-family: var(--titre); font-weight: 850; font-size: 1.3rem; color: var(--blanc); margin-bottom: 14px; }
.pied__site p + p { max-width: 46ch; color: var(--nuit-doux); }
.pied h2 { font-size: 1rem; font-weight: 800; color: var(--blanc); margin-bottom: 14px; }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied__themes a { display: inline-flex; align-items: center; gap: 10px; }
.pied__themes .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--t); color: var(--encre); }
.pied__bas { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; font-size: .88rem; color: var(--nuit-gris); }
.pied__bas::before { content: ""; position: absolute; top: 0; left: var(--gouttiere); right: var(--gouttiere); height: 1px; background: var(--nuit-trait); }

.fil { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .92rem; font-weight: 600; }
.fil a { color: var(--encre); }
.fil a:hover { color: var(--bleu); }
.fil span[aria-hidden] { opacity: .5; }

.tete-theme { padding-top: 24px; }
.tete-theme__panneau { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: 14px; border-radius: var(--r-xl); background: var(--t); align-items: center; }
.tete-theme__panneau--seul { grid-template-columns: minmax(0, 1fr); }
.tete-theme__texte { padding: clamp(18px, 3vw, 44px); display: grid; gap: 18px; justify-items: start; }
.tete-theme h1 { display: flex; align-items: center; gap: 16px; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.tete-theme h1 .ico { width: clamp(54px, 6vw, 72px); height: clamp(54px, 6vw, 72px); padding: 13px; border-radius: 50%; background: rgba(255, 255, 255, .65); }
.tete-theme__desc { font-size: 1.2rem; max-width: 46ch; }
.tete-theme__compte { font-weight: 700; }
.tete-theme__image { border-radius: var(--r-l); overflow: hidden; height: 100%; }
.tete-theme__image img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

.guide { padding-block: clamp(32px, 4vw, 56px) 8px; }
.guide__carte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-haute); }
.guide__carte--seule { grid-template-columns: minmax(0, 1fr); }
.guide__texte { display: grid; gap: 16px; align-content: start; justify-items: start; }
.guide__type { font-weight: 700; color: var(--encre-2); }
.guide h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 850; letter-spacing: -.02em; }
.guide h2 a { color: var(--encre); text-decoration: none; }
.guide h2 a:hover { text-decoration: underline; }
.guide__bref { background: var(--t-pale); border-radius: var(--r-l); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 16px; align-content: start; }
.guide__chiffre { display: grid; gap: 4px; }
.guide__chiffre b { font-family: var(--titre); font-size: 2.6rem; font-weight: 850; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.guide__chiffre span { font-weight: 700; }
.guide__bref .bref { padding: 0; background: none; }

.commencer { padding-block: clamp(40px, 5vw, 72px) 8px; }
.commencer .tete-section > div > * + * { margin-top: 10px; }
.commencer .conseils + * { margin-top: 18px; }
.commencer .conseils { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.commencer .conseil, .corps .conseil { border: 0; padding: 18px 20px; border-radius: var(--r-m); background: var(--brume); }
.commencer .conseil--non, .corps .conseil--non { background: var(--rouge-voile); }

.dossiers-theme { padding-block: clamp(40px, 5vw, 72px) 8px; }
.dossiers-liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.dossier { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-l); background: var(--t-pale); }
.dossier h3 { font-size: 1.3rem; font-weight: 850; }
.dossier__plus { font-size: .9rem; font-weight: 700; color: var(--encre-2); }
.dossier .lien { margin-top: auto; padding-top: 14px; }

.guide-complet { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--brume-2); scroll-margin-top: 0; }
.guide-complet__tete { display: grid; gap: 18px; justify-items: start; }
.guide-complet__type {
  display: inline-flex; align-items: center; gap: .45em; padding: .3em .9em; border-radius: 999px;
  background: var(--t); font-size: .88rem; font-weight: 700;
}
.guide-complet h2#le-guide-titre, .guide-complet__tete h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.05; max-width: 26ch; }
.guide-complet .tete-article__faits li { background: var(--brume); }
.guide-complet .tete-article__faits li:first-child { background: var(--vert-pale); }
.guide-complet .resumer a { background: var(--brume); box-shadow: none; }
.guide-complet .resumer a:hover { background: var(--bleu); color: var(--blanc); }
body.category .bande-themes { padding-top: clamp(32px, 4vw, 56px); }

.tete-page { display: grid; gap: 16px; justify-items: start; padding-block: clamp(28px, 4vw, 56px) 0; }
.tete-page h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.05; max-width: 24ch; }
.tete-page__chapo { font-size: 1.18rem; max-width: 60ch; color: var(--encre-2); }
.tete-page .recherche { width: min(100%, 420px); }
.vide { display: grid; gap: 18px; justify-items: start; padding-block: clamp(32px, 5vw, 64px); }
.vide .recherche { width: min(100%, 420px); }

.tete-article { padding-top: 24px; }
.tete-article__panneau { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 44px); padding: 14px; border-radius: var(--r-xl); background: var(--t-pale); align-items: center; }
.tete-article__panneau--seul { grid-template-columns: minmax(0, 1fr); }
.tete-article__texte { padding: clamp(16px, 3vw, 40px); display: grid; gap: 18px; justify-items: start; }
.tete-article h1 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.05; }
.tete-article__chapo { font-size: 1.18rem; max-width: 60ch; }
.tete-article__faits { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tete-article__faits li { padding: 6px 14px; border-radius: 999px; background: var(--blanc); font-size: .93rem; }
.tete-article__faits li:first-child { background: var(--vert-pale); color: var(--vert-fonce); }
.tete-article__faits b { font-weight: 700; }
.tete-article__image { border-radius: var(--r-l); overflow: hidden; height: 100%; }
.tete-article__image img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.resumer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.resumer > span { font-size: .9rem; font-weight: 700; margin-right: 4px; }
.resumer ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.resumer a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--blanc); color: var(--encre); text-decoration: none; font-size: .9rem; font-weight: 700; box-shadow: 0 6px 14px -12px rgba(29, 35, 48, .8); }
.resumer a:hover { background: var(--bleu); color: var(--blanc); }

.lecture { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-block: clamp(32px, 4vw, 56px); align-items: start; }
.lecture--seule { grid-template-columns: minmax(0, 1fr); }
.lecture > * { min-width: 0; }
.plan { position: sticky; top: 20px; }
.admin-bar .plan { top: 52px; }
.plan details { background: var(--brume); border-radius: var(--r-m); padding: 6px 10px 12px; }
.plan summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-family: var(--titre); font-weight: 800; font-size: 1.05rem; padding: 12px 8px; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary .ico--chevron { transition: transform .3s var(--sortie); }
.plan details[open] summary .ico--chevron { transform: rotate(180deg); }
.plan ol { list-style: none; display: grid; gap: 2px; }
.plan a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--encre); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.plan a:hover { background: var(--blanc); }
.plan a[aria-current="true"] { background: var(--blanc); color: var(--bleu); font-weight: 700; }

.corps { max-width: 780px; }
.corps > * + * { margin-top: 22px; }
.corps > .partie, .corps > .partie + *, .corps > * + .partie { margin-top: 56px; }
.corps > :first-child { margin-top: 0; }
.corps .partie > * + * { margin-top: 18px; }
.corps h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 850; letter-spacing: -.02em; scroll-margin-top: 20px; }
.corps h3 { font-size: 1.25rem; font-weight: 800; }
.corps .partie > h3, .corps > h3 { margin-top: 32px; }
.corps h4 { font-size: 1.08rem; font-weight: 800; }
.corps .partie > h4, .corps > h4 { margin-top: 24px; }
.corps h3 + *, .corps h4 + * { margin-top: 10px; }
.corps p, .corps li { max-width: 61ch; }
.corps :where(ul.wp-block-list, ul:not([class])) { padding-left: 1.3em; list-style: disc; display: grid; gap: 8px; }
.corps :where(ol.wp-block-list, ol:not([class])) { padding-left: 1.4em; list-style: decimal; display: grid; gap: 8px; }
.corps :where(ul.wp-block-list, ul:not([class]), ol.wp-block-list, ol:not([class])) li::marker { color: var(--encre-2); }
.corps blockquote { margin: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--t); font-size: 1.12rem; }
.corps .wp-block-image img, .corps figure > img { border-radius: var(--r-m); }
.corps figcaption, .corps .wp-element-caption { margin-top: 10px; font-size: .9rem; color: var(--encre-2); }
.corps .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.corps .wp-block-table :where(th, td) { padding: 10px 12px; border: 1px solid var(--trait); text-align: left; vertical-align: top; }
.corps .wp-block-table thead th { background: var(--t-pale); font-family: var(--titre); }
.corps strong, .corps b { font-weight: 700; }

.is-style-attaque { font-size: 1.18rem; line-height: 1.55; }
.partie { counter-reset: option; }
.partie h3.is-style-option { display: flex; align-items: flex-start; gap: 12px; counter-increment: option; }
.partie h3.is-style-option::before {
  content: counter(option); flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -3px;
  border-radius: 50%; background: var(--t); font-size: 1rem; line-height: 1;
}
.corps .is-style-fiche { list-style: none; padding: 0; gap: 0; border-top: 1px solid var(--trait); }
.is-style-fiche li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px 20px; padding: 12px 0; border-bottom: 1px solid var(--trait); max-width: none; }
.partie.is-style-methode, .partie--methode { padding: 24px 26px; border-radius: var(--r-l); background: var(--brume); }
.partie.is-style-methode h2, .partie--methode h2 { font-size: 1.4rem; }

.bref--article { padding: 22px 26px; border-radius: var(--r-l); background: var(--t-pale); font-size: 1.08rem; }
.bref p + p { margin-top: 10px; }
.bref__titre { font-family: var(--titre); font-weight: 800; margin-right: .25em; }
.bref ul, .bref ol { margin-top: 10px; }

.tableau { margin: 0; }
.tableau__titre { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.tableau__defile { position: relative; overflow-x: auto; border-radius: var(--r-m); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
.tableau__defile:focus-visible { outline-offset: 2px; }
.tableau table { width: 100%; border-collapse: collapse; font-size: .96rem; font-variant-numeric: tabular-nums; min-width: 520px; }
.tableau th { text-align: left; background: var(--t-pale); font-family: var(--titre); font-weight: 750; padding: 12px 14px; vertical-align: bottom; line-height: 1.35; }
.tableau td { padding: 11px 14px; border-top: 1px solid var(--brume-2); vertical-align: top; line-height: 1.45; }
.tableau tbody th { background: none; border-top: 1px solid var(--brume-2); vertical-align: top; font-family: var(--texte); font-weight: 700; }
.tableau .num { text-align: right; white-space: nowrap; }
.tableau td.num { font-weight: 700; }
.tableau .code { font-weight: 700; font-variant-numeric: tabular-nums; }
.tableau__source { margin-top: 8px; font-size: .85rem; color: var(--encre-2); }
.col-fourchette { width: 116px; }
.fourchette { position: relative; display: block; width: 96px; height: 10px; margin-top: 6px; border-radius: 999px; background: var(--brume-2); }
.fourchette::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--de) * 1%); width: max(6px, calc((var(--a) - var(--de)) * 1%)); border-radius: 999px; background: var(--encre); }
.note { display: inline-flex; gap: 3px; margin-right: 10px; vertical-align: 1px; }
.note i { width: 15px; height: 9px; border-radius: 3px; background: var(--brume-2); }
.note[data-note="1"] i:nth-child(-n+1), .note[data-note="2"] i:nth-child(-n+2), .note[data-note="3"] i:nth-child(-n+3),
.note[data-note="4"] i:nth-child(-n+4), .note[data-note="5"] i:nth-child(-n+5) { background: var(--encre); }
.tableau--notes td { white-space: nowrap; }
.note__precision { font-size: .88rem; color: var(--encre-2); white-space: normal; }

.encadre { padding: 20px 24px; border-radius: var(--r-m); background: var(--brume); }
.encadre--exemple { background: var(--t-pale); }
.encadre--attention { background: var(--soleil-pale); }
.encadre__titre { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; line-height: 1.3; }
.encadre > * + * { margin-top: 8px; }
.encadre :where(ul, ol) { padding-left: 1.3em; }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-m); background: var(--brume); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding: 16px 20px; border-radius: var(--r-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .corps .faq summary h3 { margin: 0; font-family: var(--titre); font-weight: 750; font-size: 1.08rem; line-height: 1.35; letter-spacing: 0; }
.faq summary:hover h3 { color: var(--bleu-fonce); }
.faq summary .ico--chevron { transition: transform .3s var(--sortie); }
.faq details[open] summary .ico--chevron { transform: rotate(180deg); }
.faq .reponse { padding: 0 20px 18px; }
.faq .reponse > * + * { margin-top: 8px; }
.faq .reponse :where(ul, ol) { padding-left: 1.3em; }

.sources { list-style: none; display: grid; gap: 8px; }
.corps .sources { padding: 0; }
.sources a { display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--r-s); background: var(--brume); text-decoration: none; }
.sources a:hover { background: var(--bleu-pale); }
.sources__titre { color: var(--encre); font-weight: 700; line-height: 1.35; }
.sources a:hover .sources__titre { text-decoration: underline; }
.sources__hote { font-size: .86rem; color: var(--encre-2); }

.corps .a-lire h2 { font-size: 1.5rem; }
.fabrication { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: var(--r-l); background: var(--brume); }
.fabrication__initiales { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--t); font-family: var(--titre); font-weight: 850; font-size: 1.15rem; }
.fabrication > div { min-width: 0; }
.fabrication > div > * + * { margin-top: 12px; }
.fabrication h2, .corps .fabrication h2 { font-size: 1.4rem; }
.fabrication__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .92rem; font-weight: 700; }

.quiz { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: var(--t-pale); }
.quiz__titre { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 850; }
.quiz__sous-titre { margin-top: 8px; color: var(--encre-2); }
.quiz__zone { margin-top: 20px; }
.quiz fieldset { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.quiz legend { padding: 0; font-family: var(--titre); font-size: 1.2rem; font-weight: 750; }
.quiz__choix { display: grid; gap: 8px; margin-top: 14px; }
.quiz__choix label { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-s); background: var(--blanc); cursor: pointer; }
.quiz__choix label:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--bleu); font-weight: 700; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 20px; }
.quiz__retour { padding: 6px 0; background: none; border: 0; color: var(--bleu); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.quiz__resultat { margin-top: 26px; }
.quiz__resultat h3 { font-size: 1.6rem; font-weight: 850; }

@media (max-width: 1279px) {
  .themes__liste .ico { display: none; }
  .themes__liste a { padding: 7px 13px; }
}

@media (max-width: 1180px) {
  .tete__haut > .profils, .tete__haut > .recherche { display: none; }
  .menu-bouton {
    display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 10px 16px;
    border-radius: 999px; background: var(--brume); font: inherit; font-weight: 700; color: var(--encre);
  }
  .menu-bouton__traits { width: 18px; height: 12px; background: linear-gradient(var(--encre) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--encre) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--encre) 0 0) bottom / 100% 2px no-repeat; }
  .tete__bas { display: none; }
  .tete[data-menu-ouvert] .tete__bas { display: block; }
  .themes { flex-direction: column; align-items: stretch; padding-block: 14px 18px; }
  .themes__liste { flex-direction: column; }
  .themes__liste a { width: 100%; padding: 10px 16px 10px 10px; font-size: 1.02rem; }
  .themes__liste .ico { display: block; }
  .dossiers-bouton, .dossiers { display: none !important; }
  .profils--menu { display: block; padding-top: 14px; }
  .profils--menu ul { display: grid; gap: 6px; }
  .profils--menu a { background: var(--brume); width: 100%; }
}

@media (max-width: 1023px) {
  .ouverture__grille { grid-template-columns: minmax(0, 1fr); }
  .situation__choix { grid-template-columns: minmax(0, 1fr); }
  .situation__choix > h2, .situation__choix > .situation__intro, .situation__choix > .choix:first-of-type, .situation__choix > .choix:last-of-type { grid-column: 1; grid-row: auto; }
  .resultat { grid-template-columns: minmax(0, 1fr); }
  .resultat__photo { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .une__carte, .tete-theme__panneau, .guide__carte, .tete-article__panneau { grid-template-columns: minmax(0, 1fr); }
  .une__texte { padding: 8px 10px 14px; }
  .une__image img { min-height: 0; aspect-ratio: 16 / 10; }
  .tete-theme__texte, .tete-article__texte { padding: 16px 12px 4px; }
  .tete-theme__image, .tete-article__image { order: -1; }
  .tete-theme__image img, .tete-article__image img { min-height: 0; aspect-ratio: 16 / 10; }
  .methode__grille { grid-template-columns: minmax(0, 1fr); }
  .pied__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pied__site { grid-column: 1 / -1; }
  .lecture { grid-template-columns: minmax(0, 1fr); }
  .plan { position: static; }
  .commencer .conseils { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .marque__nom b { font-size: 1.15rem; }
  .marque__logo { width: 38px; height: 38px; }
  .ouverture h1 { font-size: clamp(2.15rem, 9.4vw, 2.7rem); }
  .ouverture__chapo { font-size: 1.07rem; }
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; }
  .collage__photo--1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .collage__photo--2, .collage__photo--3 { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .collage__photo--4, .collage__photo--5 { display: none; }
  .pastille { width: 104px; height: 104px; left: auto; right: 8px; top: -30px; }
  .pastille p { padding: 12px; }
  .pastille span { font-size: .68rem; }
  .pastille b { font-size: .9rem; }
  .choix__profils { grid-template-columns: minmax(0, 1fr); }
  .choix-profil__corps { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; }
  .choix-profil__corps .ico { grid-row: 1 / 3; margin: 0; }
  .tete-section { flex-direction: column; align-items: flex-start; }
  .defile { display: none; }
  .reperes li { flex-direction: column; align-items: flex-start; }
  .methode__liste { grid-template-columns: minmax(0, 1fr); }
  .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .aides__liste dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guichet__nom { font-size: 1.6rem; }
  .tete-theme h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .is-style-fiche li { grid-template-columns: minmax(0, 1fr); }
  .fabrication { flex-direction: column; }
  .bref--article, .partie.is-style-methode, .partie--methode, .fabrication { padding: 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
