/* Robot Park – feuille de style commune à tous les sites régionaux (seul --accent change, injecté par page). */
:root {
  color-scheme: light;
  --accent: #a3172d;
  --accent-texte: var(--accent);
  --accent-doux: color-mix(in oklab, var(--accent) 9%, var(--surface));
  --fond: #f6f4ef;
  --surface: #fdfcf9;
  --encre: #17150f;
  --encre-2: #4d4a42;
  --muet: #6f6b62;
  --filet: #e3dfd4;
  --axe: #c3beb0;
  --piste: #eeebe3;
  --s1: #2a78d6;
  --s2: #eb6834;
  --ombre: 0 1px 2px rgba(23, 21, 15, .05), 0 4px 16px rgba(23, 21, 15, .04);
  --rayon: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --accent-texte: color-mix(in oklab, var(--accent) 50%, white);
    --fond: #121210;
    --surface: #1b1a17;
    --encre: #f4f2ec;
    --encre-2: #c9c5ba;
    --muet: #9a968c;
    --filet: #2e2c27;
    --axe: #45423b;
    --piste: #2a2823;
    --s1: #3987e5;
    --s2: #d95926;
    --ombre: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent-texte: color-mix(in oklab, var(--accent) 50%, white);
  --fond: #121210; --surface: #1b1a17; --encre: #f4f2ec; --encre-2: #c9c5ba; --muet: #9a968c;
  --filet: #2e2c27; --axe: #45423b; --piste: #2a2823; --s1: #3987e5; --s2: #d95926; --ombre: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font: 1.0625rem/1.6 var(--sans); overflow-wrap: break-word;
}
a { color: var(--accent-texte); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-texte); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small { color: var(--muet); }
.conteneur { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.conteneur-texte { max-width: 760px; margin: 0 auto; padding: 48px 24px 24px; }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* ---------- en-tête ---------- */
.bandeau-brouillon { background: #fff1c2; color: #4d3b00; text-align: center; font-size: .8125rem; padding: 6px 12px; }
.entete { background: var(--surface); border-bottom: 1px solid var(--filet); }
.entete-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--encre); text-decoration: none; font-size: 1.28rem;
  font-family: var(--serif); white-space: nowrap; line-height: 1; }
.logo strong { color: var(--accent-texte); font-weight: 700; }
.logo-badge { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent); color: #fff; box-shadow: 0 2px 6px color-mix(in oklab, var(--accent) 35%, transparent); }
.logo-icone { width: 34px; height: 34px; display: block; }
.logo-texte { display: inline-block; padding-top: 1px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; border: 0; font: inherit; font-weight: 650;
  cursor: pointer; line-height: 1.2; }
.bouton:hover { filter: brightness(1.08); text-decoration: none; }
.bouton-entete { flex: none; font-size: .92rem; padding: 9px 16px; }
.nav .nav-cta { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--encre-2); text-decoration: none; font-size: .95rem; }
.nav a:hover { background: var(--piste); color: var(--encre); }
.nav a[aria-current="page"] { background: var(--accent-doux); color: var(--accent-texte); font-weight: 600; }
.nav { margin-left: auto; }
.ariane { font-size: .85rem; color: var(--muet); padding-top: 16px; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.ariane li + li::before { content: "›"; margin-right: 6px; color: var(--axe); }
.ariane a { color: var(--muet); }

/* ---------- ouverture de page ---------- */
.une { padding: 44px 0 40px; background: linear-gradient(180deg, var(--accent-doux), transparent 85%); }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent-texte); margin-bottom: .6em; }
.chapo { font-size: 1.2rem; color: var(--encre-2); max-width: 62ch; }
.lead { font-size: 1.15rem; max-width: 70ch; }

/* ---------- recherche ---------- */
.recherche { position: relative; max-width: 560px; margin: 24px 0 32px; }
.recherche label, .filtre label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.recherche-champ { display: flex; gap: 8px; }
.recherche input, .filtre input {
  flex: 1; width: 100%; font: inherit; color: var(--encre); background: var(--surface);
  border: 1px solid var(--axe); border-radius: 12px; padding: 12px 14px;
}
.recherche input:focus, .filtre input:focus { outline: 3px solid color-mix(in oklab, var(--accent) 35%, transparent); border-color: var(--accent); }
.recherche button { font: inherit; font-weight: 600; border: 0; border-radius: 12px; padding: 0 20px; background: var(--accent); color: #fff; cursor: pointer; }
.suggestions { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.suggestions li { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.suggestions li span { color: var(--muet); font-size: .875rem; }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--accent-doux); }
.filtre { max-width: 420px; margin: 8px 0 20px; }

/* ---------- tuiles ---------- */
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 8px; }
.tuile { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--filet);
  border-radius: var(--rayon); padding: 16px 18px; box-shadow: var(--ombre); color: var(--encre); text-decoration: none; }
.tuile-lien:hover { border-color: var(--accent); }
.tuile-label { font-size: .9rem; color: var(--encre-2); }
.tuile-valeur { font-size: 1.9rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.tuile-detail { font-size: .82rem; color: var(--muet); }

/* ---------- sections ---------- */
.bloc { padding: 40px 0; border-top: 1px solid var(--filet); }
.une + .bloc { border-top: 0; }
.bloc-tete { margin-bottom: 20px; }
.bloc-chapo { color: var(--encre-2); max-width: 70ch; margin-top: -.2em; }
.deux-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lien-fleche { font-weight: 600; text-decoration: none; }
.lien-fleche::after { content: " →"; }
.source { font-size: .8rem; color: var(--muet); margin: 12px 0 0; }
.source a { color: var(--muet); }
.encadre { background: var(--surface); border: 1px solid var(--filet); border-left: 4px solid var(--accent); border-radius: 10px;
  padding: 18px 20px; margin: 20px 0; max-width: 80ch; }
.encadre-titre { font-weight: 700; margin-bottom: .4em; }
.encadre p:last-child { margin-bottom: 0; }
.a-completer { background: #fff1b8; color: #5c4400; padding: 0 4px; border-radius: 4px; }
.marque { color: var(--muet); cursor: help; }

/* ---------- graphiques ---------- */
.graph { margin: 0 0 20px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 20px 22px; }
.graph-titre { font-weight: 650; margin-bottom: 16px; }
.graph-titre span { display: block; font-weight: 400; font-size: .875rem; color: var(--muet); }
.barres { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.barre { display: grid; grid-template-columns: minmax(7rem, 13rem) 1fr 6.5rem; align-items: center; gap: 12px; min-height: 30px;
  border-radius: 6px; padding: 0 4px; }
.barre:hover, .barre:focus-visible { background: var(--piste); }
.barre-label { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-label a { color: var(--encre); }
.barre-piste { height: 18px; }
.barre-remplie { display: block; height: 100%; min-width: 2px; background: var(--s1); border-radius: 0 4px 4px 0; }
.barre-valeur { font-size: .9rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.barres-dpe .barre { grid-template-columns: 2rem 1fr 4.5rem; }
.dpe-lettre { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font-weight: 800; color: #111; }
.dpe-a { background: #009c6d; } .dpe-b { background: #52b153; } .dpe-c { background: #a5cc74; } .dpe-d { background: #f4e70f; }
.dpe-e { background: #f0b40f; } .dpe-f { background: #eb8235; } .dpe-g { background: #d7221f; color: #fff; }
.legende { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; padding: 0; font-size: .875rem; color: var(--encre-2); }
.legende li { display: inline-flex; align-items: center; gap: 6px; }
.cle { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.cle-ligne { width: 16px; height: 3px; border-radius: 2px; display: inline-block; background: var(--s1); }
.cle-ligne.s2 { background: var(--s2); }
.empile { display: grid; gap: 12px; }
.empile-ligne { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: 14px; align-items: center; }
.empile-label { font-size: .95rem; font-weight: 600; line-height: 1.25; }
.empile-label small { display: block; font-weight: 400; font-size: .78rem; }
.empile-barre { display: flex; gap: 2px; height: 30px; background: var(--surface); }
.seg { display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: #111; min-width: 2px; }
.seg.dpe-g { color: #fff; }
.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.seg:hover, .seg:focus-visible { filter: brightness(1.08); outline-offset: 0; }
.courbe { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); grid-template-rows: var(--h) 2rem; column-gap: 10px; }
.courbe.avec-fin { grid-template-columns: 3.2rem minmax(0, 1fr) 7.5rem; }
.courbe-y { position: relative; }
.courbe-y span { position: absolute; right: 0; transform: translateY(-50%); font-size: .78rem; color: var(--muet); font-variant-numeric: tabular-nums; }
.courbe-zone { position: relative; border-bottom: 1px solid var(--axe); cursor: crosshair; }
.courbe-zone svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.grille line { stroke: var(--filet); stroke-width: 1px; }
.trace { fill: none; stroke: var(--s1); stroke-width: 2px; stroke-linejoin: round; stroke-linecap: round; }
.trace.s2 { stroke: var(--s2); }
.point { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--s1); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px var(--surface); }
.point.s2 { background: var(--s2); }
.croix { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--axe); pointer-events: none; }
.courbe-fin { position: relative; }
.fin { position: absolute; left: 0; transform: translateY(-50%); font-size: .8rem; color: var(--encre-2); white-space: nowrap; }
.fin b { color: var(--encre); }
.courbe-x { grid-column: 2; position: relative; }
.courbe-x span { position: absolute; top: 6px; transform: translateX(-50%); font-size: .78rem; color: var(--muet); }
.donnees { margin-top: 12px; font-size: .9rem; }
.donnees summary { cursor: pointer; color: var(--encre-2); }
.info-bulle { position: fixed; z-index: 60; pointer-events: none; max-width: 280px; background: #1d1b17; color: #f4f2ec;
  border-radius: 8px; padding: 8px 10px; font-size: .82rem; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.info-bulle strong { display: block; font-size: .95rem; }
.info-bulle .ligne { display: flex; align-items: center; gap: 8px; }
.info-bulle .cle-ligne { flex: none; }

/* ---------- tableaux ---------- */
.table-defil { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--surface); border-radius: var(--rayon); }
.tableau caption { text-align: left; font-weight: 650; padding: 0 0 10px; }
.tableau th, .tableau td { padding: 9px 12px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.tableau thead th { font-size: .8rem; color: var(--muet); font-weight: 600; border-bottom-color: var(--axe); }
.tableau tbody th { font-weight: 500; }
.tableau .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tableau tbody tr:hover { background: var(--piste); }

/* ---------- listes de liens, cartes ---------- */
.puces { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.puces a { display: inline-block; padding: 6px 12px; border: 1px solid var(--filet); border-radius: 999px; background: var(--surface);
  color: var(--encre); text-decoration: none; font-size: .92rem; }
.puces a:hover { border-color: var(--accent); color: var(--accent-texte); }
.puces span { font-size: .8rem; color: var(--muet); margin-left: -2px; }
.liens-fleches { list-style: none; padding: 0; display: grid; gap: 8px; }
.liens-fleches a { font-weight: 600; text-decoration: none; }
.liens-fleches a::after { content: " →"; }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; }
.carte { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 18px 20px; color: var(--encre); }
.carte h3 a, .carte-lien { color: var(--encre); text-decoration: none; }
.carte-lien:hover { border-color: var(--accent); }
.carte p:last-child { margin: 0; color: var(--encre-2); font-size: .95rem; }
.carte-meta { font-size: .8rem !important; color: var(--muet) !important; margin-bottom: 6px !important; }
.presse { list-style: none; margin: 0 0 16px; padding: 0; }
.presse li { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--filet); align-items: baseline; }
.presse time, .presse-source { font-size: .82rem; color: var(--muet); }
.presse a { color: var(--encre); font-weight: 500; text-decoration: none; }
.presse a:hover { color: var(--accent-texte); text-decoration: underline; }

/* ---------- annuaire ---------- */
.annuaire { padding-top: 12px; padding-bottom: 24px; }
.groupe { padding: 18px 0; border-top: 1px solid var(--filet); }
.groupe h2 { font-size: 1.35rem; }
.groupe h2 a { color: var(--encre); text-decoration: none; }
.groupe h2 span { font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--muet); }
.agences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.agence { background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.agence p { margin: 0 0 4px; }
.agence-nom { font-weight: 650; font-size: 1rem; }
.agence-legal, .agence-meta { color: var(--muet); font-size: .82rem; }
.badge { display: inline-block; background: var(--accent-doux); color: var(--accent-texte); border-radius: 999px; padding: 0 8px; font-weight: 600; }

/* ---------- articles ---------- */
.article header { margin-bottom: 28px; }
.article-meta { font-size: .9rem; color: var(--muet); }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 3px solid var(--accent); color: var(--encre-2); }
.prose .tableau { margin: 1em 0; }

/* ---------- pied ---------- */
.pied { background: #1d1b17; color: #cfcabe; margin-top: 40px; font-size: .92rem; }
.pied a { color: #f4f2ec; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 24px; }
.pied-nom { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.pied-nom .logo-badge { width: 36px; height: 36px; border-radius: 9px; }
.pied-nom .logo-icone { width: 27px; height: 27px; }
.pied-titre { font-weight: 700; color: #fff; margin-bottom: .6em; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied-note { margin-top: 14px; font-size: .82rem; color: #a5a095; }
.pied-bas { border-top: 1px solid #36332c; padding-top: 16px; padding-bottom: 24px; font-size: .8rem; color: #a5a095; }

/* ---------- photos ---------- */
.une-photo { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(360px, 60vh, 600px);
  padding: 0; background: #1d1b17; color: #fff; overflow: hidden; }
.une-fond { position: absolute; inset: 0; z-index: -2; }
.une-fond img { width: 100%; height: 100%; object-fit: cover; display: block; }
.une-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12, 10, 8, .18) 0%, rgba(12, 10, 8, .12) 35%, rgba(12, 10, 8, .80) 100%); }
.une-texte { width: 100%; padding-top: 120px; padding-bottom: 44px; }
.une-photo.avec-bas .une-texte { padding-bottom: 104px; }
.une-photo h1 { color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, .35); max-width: 22ch; }
.une-photo .chapo { color: rgba(255, 255, 255, .93); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.une-photo .surtitre { color: #fff; opacity: .95; }
.une-photo .recherche label, .une-photo .filtre label { color: #fff; }
.une-photo .recherche { margin-bottom: 0; }
.une-photo .filtre { margin-bottom: 0; }
.liens-clairs a { color: #fff; }
.credit { position: absolute; top: 10px; right: 12px; z-index: 1; max-width: min(70%, 520px); text-align: right;
  font-size: .68rem; line-height: 1.3; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.une-bas { position: relative; z-index: 2; margin-top: -72px; }
.une-bas .tuiles { margin-top: 0; }
.une-bas .recherche { background: var(--surface); border: 1px solid var(--filet); border-radius: 16px; padding: 16px 18px 18px;
  margin: 0 0 16px; max-width: 640px; box-shadow: 0 12px 32px rgba(20, 18, 12, .16); }
.une-bas .tuile { box-shadow: 0 12px 32px rgba(20, 18, 12, .14); }
.une-bas + .bloc, .une-photo + .bloc { border-top: 0; }
.cartes-photo { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-bottom: 22px; }
.carte-photo { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon);
  overflow: hidden; color: var(--encre); text-decoration: none; box-shadow: var(--ombre); transition: border-color .2s, transform .2s; }
.carte-photo:hover { border-color: var(--accent); transform: translateY(-2px); }
.carte-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--piste); }
.carte-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.carte-photo:hover .carte-image img { transform: scale(1.04); }
.carte-sans-photo { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent-doux), var(--piste)); }
.carte-corps { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.carte-photo .carte-meta { font-size: .74rem; color: var(--muet); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin: 0; }
.carte-titre { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.carte-texte { font-size: .9rem; color: var(--encre-2); line-height: 1.5; }
.carte-suite { display: inline-block; margin-top: 8px; color: var(--accent-texte); font-size: .9rem; }
.cartes-grandes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cartes-grandes .carte-image { aspect-ratio: 16 / 9; }
.cartes-grandes .carte-titre { font-size: 1.6rem; }
.cartes-articles .carte-image { aspect-ratio: 16 / 10; }
.article-photo { margin: 0 0 28px; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon); display: block; }
.article-photo figcaption { margin-top: 6px; }
.credit-texte { font-size: .75rem; color: var(--muet); }
.credit-texte a { color: var(--muet); }
.vignette img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) {
  .carte-photo, .carte-image img { transition: none; }
  .carte-photo:hover, .carte-photo:hover .carte-image img { transform: none; }
}
@media (max-width: 600px) {
  .une-photo { min-height: 440px; }
  .une-texte { padding-top: 88px; padding-bottom: 32px; }
  .une-photo.avec-bas .une-texte { padding-bottom: 80px; }
  .une-bas { margin-top: -52px; }
  .credit { max-width: 90%; }
}

/* ---------- tronc commun : agences, FAQ, formulaires ---------- */
.bandeau-agences { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0;
  padding: 20px 24px; border-radius: var(--rayon); background: linear-gradient(120deg, var(--accent-doux), var(--surface));
  border: 1px solid color-mix(in oklab, var(--accent) 25%, var(--filet)); }
.bandeau-agences p { margin: 0; color: var(--encre-2); }
.bandeau-agences .bandeau-titre { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--encre); margin-bottom: 4px; }
.agence-action { margin-top: 8px !important; font-size: .84rem; }
.agence-action a { font-weight: 600; text-decoration: none; }
.agence-action a::after { content: " →"; }
.bloc-faq .faq-liste { display: grid; gap: 10px; max-width: 900px; }
.faq-item { background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; padding: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent-texte); }
.faq-item[open] summary::after { content: "–"; }
.faq-reponse { padding: 0 18px 16px; color: var(--encre-2); }
.faq-reponse p:last-child { margin-bottom: 0; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.contact-cote .encadre { margin-top: 0; margin-bottom: 16px; }
.formulaire { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 22px 24px; }
.formulaire p { margin: 0 0 14px; }
.formulaire label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.formulaire input:not([type=checkbox]):not([type=radio]), .formulaire select, .formulaire textarea {
  width: 100%; font: inherit; color: var(--encre); background: var(--fond); border: 1px solid var(--axe); border-radius: 10px;
  padding: 10px 12px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus {
  outline: 3px solid color-mix(in oklab, var(--accent) 30%, transparent); border-color: var(--accent); }
.formulaire .champs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.formulaire .consentement label, .formulaire .cases label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.formulaire .consentement input, .formulaire .cases input { margin-top: 4px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.formulaire fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.formulaire legend { font-weight: 650; margin-bottom: 8px; font-family: var(--serif); font-size: 1.15rem; }
.formulaire .cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerte { background: #fff1c2; color: #4d3b00; border-radius: 8px; padding: 8px 12px; }
.aide { font-size: .8rem; color: var(--muet); margin-top: 4px; }
.periode { display: inline-block; background: var(--accent-doux); color: var(--accent-texte); border-radius: 999px; padding: 1px 10px;
  font-weight: 650; }
.sources-article { margin-top: 32px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--filet); border-radius: 12px;
  font-size: .9rem; }
.sources-article ul { margin: 0; padding-left: 1.2em; }

@media (max-width: 1040px) {
  .bouton-entete { display: none; }
  .nav .nav-cta { display: list-item; }
  .nav .nav-cta a { color: var(--accent-texte); font-weight: 650; }
}

/* ---------- petits écrans ---------- */
@media (max-width: 860px) {
  .entete-in { flex-direction: column; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 8px; }
  .nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: 0; }
  .nav ul { width: max-content; margin: 0 auto; }
  .nav .nav-cta { display: list-item; }
  .nav .nav-cta a { color: var(--accent-texte); font-weight: 650; }
  .bouton-entete { display: none; }
  .contact-grille { grid-template-columns: 1fr; }
  .bandeau-agences { flex-direction: column; align-items: flex-start; }
  .deux-col { grid-template-columns: minmax(0, 1fr); }
  .pied-grille { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .conteneur, .conteneur-texte { padding-left: 16px; padding-right: 16px; }
  .formulaire .champs-2, .formulaire .cases { grid-template-columns: 1fr; }
  .formulaire { padding: 18px 16px; }
  .une { padding: 28px 0 28px; }
  .chapo { font-size: 1.05rem; }
  .graph { padding: 16px 14px; }
  .barre { grid-template-columns: minmax(5.5rem, 8rem) 1fr 5.2rem; gap: 8px; }
  .empile-ligne { grid-template-columns: 1fr; gap: 6px; }
  .courbe, .courbe.avec-fin { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .courbe-fin { display: none; }
  .presse li { grid-template-columns: 1fr; gap: 2px; }
  .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tuile { padding: 12px 14px; }
  .tuile-label { font-size: .82rem; }
  .tuile-valeur { font-size: 1.35rem; }
  .tuile-detail { font-size: .74rem; }
}
@media print {
  .entete, .pied, .recherche, .filtre, .bandeau-brouillon { display: none; }
  body { background: #fff; }
}

/* ---------- espace agences ---------- */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.bouton-clair { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.avantages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.avantage { background: var(--surface); border: 1px solid var(--filet); border-top: 4px solid var(--accent); border-radius: var(--rayon);
  padding: 18px 20px; }
.avantage p { margin: 0; color: var(--encre-2); }
.avantage .avantage-titre { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--encre); margin-bottom: 6px; }
.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
  margin: 0; padding: 0; }
.etapes li { counter-increment: etape; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon);
  padding: 18px 20px 18px 64px; position: relative; }
.etapes li::before { content: counter(etape); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.etapes p { margin: 0; color: var(--encre-2); }
.etapes .etape-titre { font-weight: 650; color: var(--encre); margin-bottom: 4px; }
.formulaire .etiquette { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.formulaire .cases + .etiquette, .formulaire .cases + .champs-2 { margin-top: 14px; }
.formulaire .cases small { color: var(--muet); }
