/* Le Pont Étudiant — identité « couverture de passeport » : vert profond, dorure, tampons consulaires.
   Mise en page : colonnes larges et aérées, une seule touche forte par section (le tampon ou la dorure). */
:root {
  --paper: #fbf6ec;
  --paper-2: #f6ecd9;
  --sheet: #fffdf8;
  --ink: #1d1a15;
  --ink-soft: #5d5447;
  --line: #ebdfc9;
  --cover: #0b4a3c;
  --cover-2: #083a2f;
  --cover-ink: #f6f1e4;
  --foil: #f2a93b;
  --foil-soft: #fde8c2;
  --sun: #f5b544;
  --coral: #e8623a;
  --clay: #c64a26;
  --ok: #1f7a46; --ok-bg: #def2e5;
  --warn: #9a5c06; --warn-bg: #fcebcc;
  --bad: #b42d22; --bad-bg: #fbe1dc;
  --todo: #2f5d8c; --todo-bg: #e0eaf5;
  --muted: #6d665b; --muted-bg: #efe8da;
  --focus: #0e7a62;
  --wa: #1b8f4c;
  --grad-cta: linear-gradient(120deg, #f7c04e 0%, #f2a93b 45%, #ec7a40 100%);
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(60 40 10 / .06), 0 10px 30px rgb(60 40 10 / .09);
  --shadow-lg: 0 2px 4px rgb(60 40 10 / .06), 0 24px 50px rgb(60 40 10 / .14);
  color-scheme: light;
}
@media not all {
  :root:not([data-theme="light"]) {
    --paper: #0f1512; --paper-2: #141c18; --sheet: #18211d; --ink: #f0ece2; --ink-soft: #b4ad9f; --line: #2b3530;
    --cover: #0a3a30; --cover-2: #072c24; --cover-ink: #f3eee2; --foil: #f6b64e; --foil-soft: #3b2e17; --sun: #f6c05a; --coral: #f08259; --clay: #f08a62;
    --ok: #6fd39b; --ok-bg: #15301f; --warn: #f0b75c; --warn-bg: #352812; --bad: #f58c80; --bad-bg: #3b1c18;
    --todo: #93b8e4; --todo-bg: #1a2636; --muted: #a39d90; --muted-bg: #242b27; --focus: #5fd0b3; --wa: #34c873;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .32); --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 50px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1512; --paper-2: #141c18; --sheet: #18211d; --ink: #f0ece2; --ink-soft: #b4ad9f; --line: #2b3530;
  --cover: #0a3a30; --cover-2: #072c24; --cover-ink: #f3eee2; --foil: #f6b64e; --foil-soft: #3b2e17; --sun: #f6c05a; --coral: #f08259; --clay: #f08a62;
  --ok: #6fd39b; --ok-bg: #15301f; --warn: #f0b75c; --warn-bg: #352812; --bad: #f58c80; --bad-bg: #3b1c18;
  --todo: #93b8e4; --todo-bg: #1a2636; --muted: #a39d90; --muted-bg: #242b27; --focus: #5fd0b3; --wa: #34c873;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .32); --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 50px rgb(0 0 0 / .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--f-body); }
img { max-width: 100%; height: auto; }
a { color: var(--focus); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sheet); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 16px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.015em; text-wrap: balance; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.eyebrow { font: 500 12.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--foil); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.section-alt { background: var(--paper-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px/1 var(--f-body); padding: 14px 20px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--foil); color: #1b160b; }
.btn-dark { background: var(--cover); color: var(--cover-ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--cover) 94%, transparent); backdrop-filter: blur(8px); color: var(--cover-ink); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cover-ink); text-decoration: none; font: 800 19px/1 var(--f-display); }
.brand svg { color: var(--foil); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--cover-ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: rgb(255 255 255 / .08); }
.nav a[aria-current="page"] { color: var(--foil); }
.nav .nav-wa { background: var(--wa); color: #fff; margin-left: 6px; }
.menu-btn { display: none; font: 600 14px var(--f-body); color: var(--cover-ink); background: transparent; border: 1px solid rgb(255 255 255 / .3); border-radius: 999px; padding: 8px 14px; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 10px 20px 18px; background: var(--cover); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-wa { margin: 6px 0 0; text-align: center; }
}

/* Héros */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgb(242 169 59 / .22), transparent 60%), var(--cover); color: var(--cover-ink); padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.hero h1 em { font-style: normal; color: var(--foil); }
.hero .lede { color: color-mix(in srgb, var(--cover-ink) 82%, transparent); margin-top: 18px; }
.hero .btn-row { margin-top: 28px; }
.hero .btn-ghost { color: var(--cover-ink); }
.hero-proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 13px/1.4 var(--f-mono); color: color-mix(in srgb, var(--cover-ink) 72%, transparent); }
.hero-proof span::before { content: "✓ "; color: var(--foil); }
.mrz { margin-top: 30px; font: 500 13px/1.4 var(--f-mono); letter-spacing: .2em; color: color-mix(in srgb, var(--foil) 80%, transparent); white-space: nowrap; overflow: hidden; border-top: 1px dashed rgb(242 169 59 / .4); padding-top: 12px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Fiche de contrôle illustrative */
.specimen { position: relative; background: var(--sheet); color: var(--ink); border-radius: 14px; padding: 22px; box-shadow: 0 30px 60px rgb(0 0 0 / .28); transform: rotate(1.5deg); display: grid; gap: 14px; max-width: 420px; justify-self: center; width: 100%; }
.specimen-tag { position: absolute; top: -12px; left: 18px; background: var(--foil); color: #1b160b; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; padding: 6px 9px; border-radius: 4px; text-transform: uppercase; }
.specimen-top { display: flex; align-items: center; gap: 16px; }
.mini-dial { --p: 82; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--warn) calc(var(--p) * 1%), var(--muted-bg) 0); flex: none; }
.mini-dial::before { content: ""; grid-area: 1/1; width: 64px; height: 64px; border-radius: 50%; background: var(--sheet); }
.mini-dial b { grid-area: 1/1; font: 600 21px var(--f-mono); }
.specimen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.specimen li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: var(--paper); border-radius: 6px; }
.specimen li i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--f-mono); flex: none; }
.i-ok { background: var(--ok-bg); color: var(--ok); } .i-bad { background: var(--bad-bg); color: var(--bad); } .i-todo { background: var(--todo-bg); color: var(--todo); }
.stamp { display: inline-block; font: 700 12px/1.1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border: 2px solid currentColor; border-radius: 4px; padding: 7px 10px; transform: rotate(-4deg); }
.stamp-ok { color: var(--ok); } .stamp-warn { color: var(--warn); } .stamp-bad { color: var(--bad); } .stamp-muted { color: var(--muted); border-style: dashed; }

/* Chiffres vérifiés */
.facts { background: var(--sheet); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 22px 18px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.fact:first-child { border-left: 0; }
.fact b { font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--f-display); color: var(--cover); }
:root[data-theme="dark"] .fact b { color: var(--foil); }
@media not all { :root:not([data-theme="light"]) .fact b { color: var(--foil); } }
.fact span { font-size: 14px; color: var(--ink-soft); }
.fact small { font: 11.5px var(--f-mono); color: var(--muted); }
@media (max-width: 760px) { .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Comparaison */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.compare-col.them { background: var(--sheet); border: 1px solid var(--line); }
.compare-col.us { background: var(--cover); color: var(--cover-ink); }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.compare-col li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.them li::before { content: "✕"; color: var(--bad); font-family: var(--f-mono); }
.us li::before { content: "✓"; color: var(--foil); font-family: var(--f-mono); }
.compare-col h3 { font-size: 19px; }
.us h3 { color: var(--foil); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.step-n { font: 600 13px var(--f-mono); color: var(--foil); letter-spacing: .1em; }
.step p { color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { padding: 22px; border-radius: var(--radius); background: var(--sheet); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.service-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--foil-soft); color: var(--cover); font: 700 16px var(--f-mono); }
:root[data-theme="dark"] .service-ico { color: var(--foil); }
@media not all { :root:not([data-theme="light"]) .service-ico { color: var(--foil); } }
.service p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: minmax(0, 1fr); } }
.limits { margin-top: 28px; border: 2px solid var(--clay); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 12px; background: color-mix(in srgb, var(--clay) 7%, var(--sheet)); }
.limits h3 { color: var(--clay); font-size: 18px; }
.limits ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Bloc assistant */
.ai-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--cover); color: var(--cover-ink); border-radius: 16px; padding: clamp(24px, 4vw, 44px); }
.ai-teaser .lede { color: color-mix(in srgb, var(--cover-ink) 80%, transparent); margin-top: 12px; }
.ai-demo { background: var(--cover-2); border-radius: 12px; padding: 16px; display: grid; gap: 10px; font-size: 14.5px; }
.ai-demo .q { justify-self: end; background: var(--foil); color: #1b160b; padding: 9px 12px; border-radius: 12px 12px 2px 12px; max-width: 85%; }
.ai-demo .a { background: rgb(255 255 255 / .08); padding: 10px 12px; border-radius: 12px 12px 12px 2px; max-width: 92%; }
@media (max-width: 860px) { .ai-teaser { grid-template-columns: minmax(0, 1fr); } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card h3 { font-size: 19px; }
.post-card p { color: var(--ink-soft); font-size: 15px; }
.post-meta { font: 12px var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.post-card .more { color: var(--focus); font-weight: 600; font-size: 14.5px; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--foil); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--ink-soft); }

/* Appel final */
.cta-band { background: var(--foil-soft); }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-in p { color: var(--ink-soft); margin-top: 8px; }

/* Pages intérieures */
.page-hero { background: var(--cover); color: var(--cover-ink); padding-block: clamp(40px, 6vw, 72px); }
.page-hero .lede { color: color-mix(in srgb, var(--cover-ink) 80%, transparent); margin-top: 14px; }
.page-hero .eyebrow { display: block; margin-bottom: 12px; }
.prose { max-width: 720px; display: grid; gap: 18px; font-size: 17px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 18px; }
.prose h3 { margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .tldr { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--foil); border-radius: 6px; padding: 16px 18px; }
.prose .tldr p + p { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.sources { font-size: 14.5px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; }
.sources ul { padding-left: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font: 13px var(--f-mono); color: color-mix(in srgb, var(--cover-ink) 70%, transparent); }
.breadcrumb { font: 13px var(--f-mono); margin-bottom: 14px; }
.breadcrumb a { color: var(--foil); }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* Formulaires */
.form-card { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > label, .field > .label { font-weight: 600; font-size: 14.5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; min-width: 0;
}
textarea { resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 15px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--cover); }
.check:has(input:checked) { border-color: var(--cover); background: color-mix(in srgb, var(--cover) 8%, var(--paper)); }
.consent { font-size: 14px; color: var(--ink-soft); }
.form-status { padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.form-status.ok { background: var(--ok-bg); color: var(--ok); }
.form-status.warn { background: var(--warn-bg); color: var(--warn); }
.hp { position: absolute; left: -9999px; }

/* Vérificateur */
.checker { display: grid; gap: 24px; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; padding-block: 32px 64px; }
@media (max-width: 980px) { .checker { grid-template-columns: minmax(0, 1fr); } }
.checker .col { display: grid; gap: 18px; min-width: 0; }
.checker .side { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
@media (max-width: 980px) { .checker .side { position: static; } }
.panel { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.panel h2 { font-size: 22px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.panel h2 .step-n { font-size: 12px; }
.grid-q { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.q { display: grid; gap: 6px; align-content: start; min-width: 0; }
.q > label { font-weight: 600; font-size: 14px; }
.num { display: flex; }
.num input { border-radius: 8px 0 0 8px; }
.unit { display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; font: 13px var(--f-mono); color: var(--ink-soft); background: var(--muted-bg); white-space: nowrap; }
.seg { display: inline-flex; }
.seg button { font: 500 14.5px/1 var(--f-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 10px 20px; cursor: pointer; }
.seg button:first-child { border-radius: 8px 0 0 8px; }
.seg button:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--cover); color: var(--cover-ink); border-color: var(--cover); }
.example { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px dashed var(--foil); border-radius: 8px; font-size: 14.5px; }
.btn-small { padding: 9px 14px; font-size: 14px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
#eef-box { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: var(--paper); display: grid; gap: 6px; font-size: 15px; }
.eef-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: 14px; }
.meta { font-size: 13px; color: var(--ink-soft); }
.pill { font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; }
.pill-ok { color: var(--ok); background: var(--ok-bg); } .pill-warn { color: var(--warn); background: var(--warn-bg); } .pill-muted { color: var(--muted); background: var(--muted-bg); }
#pieces { display: grid; gap: 12px; }
.piece { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; min-width: 0; scroll-margin-top: 90px; }
.piece-ok { border-left-color: var(--ok); } .piece-warn { border-left-color: var(--warn); } .piece-bad { border-left-color: var(--bad); } .piece-todo { border-left-color: var(--todo); }
.piece header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.num-idx { font: 500 12px var(--f-mono); color: var(--foil); }
.piece h3 { font-size: 17px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.badge i { font-style: normal; }
.badge-ok { color: var(--ok); background: var(--ok-bg); } .badge-warn { color: var(--warn); background: var(--warn-bg); } .badge-bad { color: var(--bad); background: var(--bad-bg); } .badge-todo { color: var(--todo); background: var(--todo-bg); } .badge-muted { color: var(--muted); background: var(--muted-bg); }
.rule { font-size: 14.5px; color: var(--ink-soft); }
.qs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.msg { font-size: 14.5px; padding: 9px 11px; border-radius: 6px; }
.msg-ok { background: var(--ok-bg); color: var(--ok); } .msg-warn { background: var(--warn-bg); color: var(--warn); } .msg-bad { background: var(--bad-bg); color: var(--bad); } .msg-todo { background: var(--todo-bg); color: var(--todo); } .msg-muted { background: var(--muted-bg); color: var(--ink-soft); }
.note { font-size: 13.5px; color: var(--ink-soft); font-style: italic; }
.piece footer { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; }
.verif { font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.verif.ok { color: var(--ok); } .verif.warn { color: var(--warn); }
.upd { color: var(--ink-soft); }
@media (max-width: 520px) { .piece header { grid-template-columns: auto minmax(0, 1fr); } .badge { grid-column: 2; justify-self: start; } }
.score-row { display: flex; align-items: center; gap: 18px; }
.dial { --p: 0; width: 112px; height: 112px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(currentColor calc(var(--p) * 1%), var(--muted-bg) 0); }
.dial::before { content: ""; grid-area: 1/1; width: 88px; height: 88px; border-radius: 50%; background: var(--sheet); }
.dial > span { grid-area: 1/1; font: 600 28px/1 var(--f-mono); color: var(--ink); }
.dial i { font-style: normal; font-size: 14px; color: var(--ink-soft); }
.dial-ok { color: var(--ok); } .dial-warn { color: var(--warn); } .dial-bad { color: var(--bad); } .dial-muted { color: var(--muted); }
.score-txt { display: grid; gap: 8px; justify-items: start; font-size: 14px; color: var(--ink-soft); }
#answered { font: 12.5px var(--f-mono); }
.side h3 { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--foil); }
#issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#issues li { display: grid; gap: 2px; padding: 9px 11px; border-radius: 6px; background: var(--paper); border-left: 3px solid var(--line); font-size: 14px; }
#issues li a { color: var(--ink); text-decoration: none; }
#issues li span { color: var(--ink-soft); font-size: 13px; }
.iss-bad { border-left-color: var(--bad) !important; } .iss-bad b { color: var(--bad); }
.iss-todo { border-left-color: var(--todo) !important; } .iss-todo b { color: var(--todo); }
.iss-warn { border-left-color: var(--warn) !important; } .iss-warn b { color: var(--warn); }
.iss-muted b { color: var(--muted); } .iss-ok { border-left-color: var(--ok) !important; } .iss-ok b { color: var(--ok); }
.help-card { background: var(--cover); color: var(--cover-ink); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; }
.help-card p { font-size: 14.5px; color: color-mix(in srgb, var(--cover-ink) 82%, transparent); }
.disclaimer { background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--foil); border-radius: 6px; padding: 12px 16px; font-size: 14px; color: var(--ink-soft); }

/* Pied de page */
.site-footer { background: var(--cover-2); color: var(--cover-ink); padding-block: 48px 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer p { color: color-mix(in srgb, var(--cover-ink) 75%, transparent); font-size: 14.5px; }
.site-footer p + p { margin-top: 10px; }
.site-footer a { color: var(--cover-ink); }
.footer-brand { font: 800 20px var(--f-display); color: var(--foil) !important; }
.footer-h { font: 500 12px var(--f-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--foil) !important; }
.site-footer ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
.footer-indep { font-size: 13px !important; }
.footer-small { font-size: 13px !important; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 32px; padding-top: 18px; }
.footer-bottom p { font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Boutons flottants et assistant */
.fab { position: fixed; right: 18px; z-index: 40; border: 0; cursor: pointer; box-shadow: 0 8px 24px rgb(0 0 0 / .22); }
.fab-wa { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; }
.fab-ai { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); background: var(--cover); color: var(--cover-ink); font: 600 15px var(--f-body); padding: 13px 18px; border-radius: 999px; border: 1px solid rgb(242 169 59 / .5); }
.fab-ai span { color: var(--foil); }
.ai-panel { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100vh - 110px)); background: var(--sheet); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgb(0 0 0 / .3); display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 520px) { .ai-panel { right: 12px; left: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: calc(100vh - 90px); } }
.ai-head { background: var(--cover); color: var(--cover-ink); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ai-title { font: 700 16px var(--f-display); }
.ai-sub { font-size: 12.5px; color: color-mix(in srgb, var(--cover-ink) 75%, transparent); margin-top: 2px; }
.ai-close { background: transparent; border: 0; color: var(--cover-ink); font-size: 18px; cursor: pointer; padding: 4px 8px; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ai-msg { padding: 10px 12px; border-radius: 12px; max-width: 90%; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-msg.user { align-self: flex-end; background: var(--foil); color: #1b160b; border-bottom-right-radius: 3px; }
.ai-msg.bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 3px; }
.ai-msg.bot a { color: var(--focus); }
.ai-msg.typing { color: var(--ink-soft); font-style: italic; }
.ai-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.ai-chips button { font: 500 13px var(--f-body); background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.ai-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.ai-form textarea { flex: 1; resize: none; font-size: 15px; }
.ai-form .btn { padding: 12px 14px; border-radius: 10px; }

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

/* blog */
.post-card .h3 { font-size: 19px; }
.prose .faq { display: grid; gap: 10px; }
.prose .tldr .btn { margin-top: 8px; }

/* =====================================================================
   Couche « soleil » : couleurs chaudes, motifs et animations (v2)
   ===================================================================== */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }

/* Accents lisibles sur fond clair ; le safran reste réservé aux fonds verts. */
.eyebrow, .step-n { color: var(--clay); }
.hero .eyebrow, .page-hero .eyebrow, .ai-teaser .eyebrow, .compare-col.us .eyebrow { color: var(--sun); }
.faq summary::after { color: var(--coral); }
.prose .tldr { border-left-color: var(--coral); background: color-mix(in srgb, var(--foil-soft) 45%, var(--sheet)); }
a { color: var(--focus); }

/* Bande de motif inspirée des tissages (sous l'en-tête et dans les bandeaux) */
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 34px, var(--coral) 34px 46px, var(--cover-2) 46px 52px, #2f9d6c 52px 78px, var(--cover-2) 78px 84px, var(--coral) 84px 96px); opacity: .95; }
.topbar { transition: box-shadow .3s, background .3s; }
.topbar.scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / .18); }
.brand svg { color: var(--sun); }
.nav a { transition: background .2s, color .2s; }
.nav a[aria-current="page"] { color: var(--sun); }

/* Boutons */
.btn { position: relative; overflow: hidden; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-cta); color: #24170a; box-shadow: 0 6px 18px rgb(236 122 64 / .32); }
.btn-primary:hover { box-shadow: 0 10px 26px rgb(236 122 64 / .42); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn-wa { box-shadow: 0 6px 18px rgb(27 143 76 / .28); }
.btn-dark { box-shadow: 0 6px 18px rgb(11 74 60 / .25); }

/* Héros vivant : halos de couleur qui dérivent lentement */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, var(--cover) 0%, var(--cover-2) 100%); }
.hero::before, .hero::after, .page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero::before, .page-hero::before { width: 560px; height: 560px; right: -140px; top: -220px; background: radial-gradient(circle, rgb(245 181 68 / .4), transparent 62%); animation: drift 16s ease-in-out infinite alternate; }
.hero::after, .page-hero::after { width: 480px; height: 480px; left: -160px; bottom: -260px; background: radial-gradient(circle, rgb(232 98 58 / .38), transparent 62%); animation: drift 20s ease-in-out infinite alternate-reverse; }
.page-hero::before { width: 420px; height: 420px; top: -240px; }
.page-hero::after { width: 360px; height: 360px; bottom: -240px; }
.hero h1 em { background: linear-gradient(100deg, #ffd27a 0%, var(--sun) 40%, #ff8a5c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-proof span::before { color: var(--sun); }
.mrz { color: color-mix(in srgb, var(--sun) 75%, transparent); }
.hero-grid > :first-child > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-grid > :first-child > :nth-child(2) { animation-delay: .08s; }
.hero-grid > :first-child > :nth-child(3) { animation-delay: .16s; }
.hero-grid > :first-child > :nth-child(4) { animation-delay: .24s; }
.hero-grid > :first-child > :nth-child(n+5) { animation-delay: .32s; }
.page-hero .wrap > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.page-hero .wrap > :nth-child(n+3) { animation-delay: .16s; }

/* Fiche exemple : flotte, se remplit, puis le tampon tombe */
.specimen { animation: rise .9s .2s cubic-bezier(.2,.8,.2,1) both, float 7s 1.2s ease-in-out infinite; border: 1px solid rgb(255 255 255 / .5); }
.specimen-tag { background: var(--grad-cta); }
.mini-dial { background: conic-gradient(var(--coral) 0%, var(--sun) calc(var(--p) * 1%), var(--muted-bg) 0); animation: fill 1.6s .7s cubic-bezier(.2,.8,.2,1) both; }
.specimen li { animation: slide .5s cubic-bezier(.2,.8,.2,1) both; }
.specimen li:nth-child(1) { animation-delay: .9s; } .specimen li:nth-child(2) { animation-delay: 1.05s; }
.specimen li:nth-child(3) { animation-delay: 1.2s; } .specimen li:nth-child(4) { animation-delay: 1.35s; }
.specimen .stamp { animation: stamp .45s 1.7s cubic-bezier(.3,1.6,.5,1) both; }

/* Chiffres clés */
.facts { background: var(--sheet); }
.fact { position: relative; }
.fact::before { content: ""; position: absolute; left: 18px; top: 0; width: 34px; height: 4px; border-radius: 0 0 4px 4px; background: var(--sun); }
.fact:nth-child(2)::before { background: var(--coral); } .fact:nth-child(3)::before { background: #2f9d6c; } .fact:nth-child(4)::before { background: var(--todo); }
.fact b { color: var(--cover); font-variant-numeric: tabular-nums; }

/* Cartes */
.step, .service, .post-card, .compare-col.them, .faq details, .panel { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; }
.step:hover, .service:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--sun) 55%, var(--line)); }
.step { border-top: 4px solid var(--sun); }
.step:nth-child(2) { border-top-color: var(--coral); } .step:nth-child(3) { border-top-color: #2f9d6c; }
.service-ico { background: linear-gradient(135deg, #ffe0a3, var(--sun)); color: #3b2506; transition: transform .3s; }
.service:nth-child(3n+2) .service-ico { background: linear-gradient(135deg, #ffc3a8, var(--coral)); color: #3d1407; }
.service:nth-child(3n) .service-ico { background: linear-gradient(135deg, #b9ecd2, #2f9d6c); color: #062a1a; }
.service:hover .service-ico { transform: rotate(-8deg) scale(1.08); }
.compare-col.us { background: linear-gradient(150deg, var(--cover) 0%, #0f5f4c 100%); box-shadow: var(--shadow-lg); }
.us h3, .us li::before { color: var(--sun); }
.post-card { overflow: hidden; position: relative; }
.post-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-cta); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.post-card:hover::before { transform: scaleX(1); }
.post-card .more { transition: letter-spacing .25s; }
.post-card:hover .more { letter-spacing: .02em; }
.faq details[open] { border-color: color-mix(in srgb, var(--sun) 60%, var(--line)); box-shadow: var(--shadow); }
.faq details[open] p { animation: rise .35s ease both; }
.ai-teaser { background: linear-gradient(150deg, var(--cover) 0%, #0f5f4c 100%); position: relative; overflow: hidden; isolation: isolate; }
.ai-teaser::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgb(245 181 68 / .35), transparent 65%); filter: blur(40px); }
.ai-demo .q { background: var(--grad-cta); }
.limits { border-color: var(--coral); }
.limits h3 { color: var(--clay); }

/* Bandeau final : dégradé soleil couchant */
.cta-band { background: linear-gradient(120deg, #fde8c2 0%, #fcd3b5 100%); position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--cover) 0 22px, var(--sun) 22px 30px, var(--coral) 30px 52px, var(--sun) 52px 60px); }
.cta-band h2, .cta-band p { color: #2a1d0e; }

/* Bouton WhatsApp : onde douce */
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
.fab-ai { background: linear-gradient(150deg, var(--cover), #0f5f4c); border-color: rgb(245 181 68 / .6); }
.fab-ai span { color: var(--sun); }

/* Vérificateur : le score se remplit en douceur */
.dial { transition: --p .9s cubic-bezier(.2,.8,.2,1); }
.piece { transition: border-color .3s, background-color .3s, box-shadow .3s; }
.badge { transition: background-color .3s, color .3s; }

/* Apparition au défilement (activée seulement si JavaScript tourne) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(.5deg) translateY(-10px); } }
@keyframes fill { from { --p: 0; } }
@keyframes slide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-4deg) scale(1.8); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Mode sombre : quelques ajustements */
@media not all {
  :root:not([data-theme="light"]) .fact b { color: var(--sun); }
  :root:not([data-theme="light"]) .cta-band { background: linear-gradient(120deg, #3a2a12 0%, #3d2016 100%); }
  :root:not([data-theme="light"]) .cta-band h2, :root:not([data-theme="light"]) .cta-band p { color: var(--ink); }
}
:root[data-theme="dark"] .fact b { color: var(--sun); }
:root[data-theme="dark"] .cta-band { background: linear-gradient(120deg, #3a2a12 0%, #3d2016 100%); }
:root[data-theme="dark"] .cta-band h2, :root[data-theme="dark"] .cta-band p { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Couche « lumière » (v3) : plus de grands fonds verts.
   Grandes surfaces claires et chaudes ; un bleu indigo profond pour les
   petits éléments foncés (boutons, en-tête de l'assistant).
   ===================================================================== */
:root {
  --cover: #2b3a78; --cover-2: #212d60; --cover-ink: #fffaf0;
  --surf-a: #fff8ec; --surf-b: #fdebd2; --surf-ink: #1d1a15; --surf-soft: #5d5447;
  --warm-card: linear-gradient(150deg, #fff3e0 0%, #ffe4d2 100%);
  --foot: #f6ead5;
  --accent-text: #c64a26;
  --focus: #b5441f;
}
@media not all {
  :root:not([data-theme="light"]) {
    --paper: #14120f; --paper-2: #1b1814; --sheet: #211d18; --line: #352e26; --muted-bg: #2a251f;
    --cover: #5a6bc0; --cover-2: #46559e; --cover-ink: #fffaf0;
    --surf-a: #1d1a15; --surf-b: #261f17; --surf-ink: #f3eee4; --surf-soft: #bdb5a7;
    --warm-card: linear-gradient(150deg, #2a2219 0%, #2e1f19 100%);
    --foot: #19160f; --accent-text: #f39a6e; --focus: #f3a072;
  }
}
:root[data-theme="dark"] {
  --paper: #14120f; --paper-2: #1b1814; --sheet: #211d18; --line: #352e26; --muted-bg: #2a251f;
  --cover: #5a6bc0; --cover-2: #46559e; --cover-ink: #fffaf0;
  --surf-a: #1d1a15; --surf-b: #261f17; --surf-ink: #f3eee4; --surf-soft: #bdb5a7;
  --warm-card: linear-gradient(150deg, #2a2219 0%, #2e1f19 100%);
  --foot: #19160f; --accent-text: #f39a6e; --focus: #f3a072;
}

/* En-tête clair */
.topbar { background: color-mix(in srgb, var(--surf-a) 92%, transparent); color: var(--surf-ink); border-bottom: 1px solid var(--line); }
.topbar.scrolled { box-shadow: 0 6px 24px rgb(60 40 10 / .10); }
.topbar::after { background: repeating-linear-gradient(90deg, var(--sun) 0 34px, var(--coral) 34px 46px, var(--cover) 46px 52px, var(--sun) 52px 78px, var(--cover) 78px 84px, var(--coral) 84px 96px); height: 3px; bottom: -3px; }
.brand { color: var(--surf-ink); }
.brand svg { color: var(--coral); }
.nav a { color: var(--surf-ink); }
.nav a:hover { background: color-mix(in srgb, var(--sun) 18%, transparent); }
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--sun) 24%, transparent); color: var(--accent-text); }
.nav .nav-wa { color: #fff; }
.menu-btn { color: var(--surf-ink); border-color: var(--line); }
@media (max-width: 1180px) { .nav { background: var(--sheet); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); } }

/* Héros et en-têtes de page : crème lumineux, halos pêche et safran */
.hero, .page-hero { background: linear-gradient(170deg, var(--surf-a) 0%, var(--surf-b) 100%); color: var(--surf-ink); }
.hero::before, .page-hero::before { background: radial-gradient(circle, rgb(245 181 68 / .30), transparent 62%); }
.hero::after, .page-hero::after { background: radial-gradient(circle, rgb(232 98 58 / .18), transparent 62%); }
.hero .lede, .page-hero .lede { color: var(--surf-soft); }
.hero .eyebrow, .page-hero .eyebrow, .ai-teaser .eyebrow, .compare-col.us .eyebrow { color: var(--accent-text); }
.hero h1 em { background: linear-gradient(100deg, #f08a2c 0%, #e8623a 55%, #c64a26 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .btn-ghost { color: var(--surf-ink); border-color: color-mix(in srgb, var(--surf-ink) 35%, transparent); background: color-mix(in srgb, var(--sheet) 60%, transparent); }
.hero-proof { color: var(--surf-soft); }
.hero-proof span::before { color: var(--ok); }
.mrz { color: color-mix(in srgb, var(--accent-text) 55%, transparent); border-top-color: color-mix(in srgb, var(--accent-text) 30%, transparent); }
.article-meta { color: var(--surf-soft); }
.breadcrumb a { color: var(--accent-text); }
.specimen { box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

/* Blocs mis en avant : cartes pêche au lieu du vert */
.compare-col.us, .ai-teaser, .help-card { background: var(--warm-card); color: var(--surf-ink); border: 1px solid color-mix(in srgb, var(--coral) 25%, var(--line)); box-shadow: var(--shadow); }
.us h3, .us li::before { color: var(--accent-text); }
.ai-teaser .lede, .help-card p { color: var(--surf-soft); }
.ai-teaser::after { background: radial-gradient(circle, rgb(245 181 68 / .28), transparent 65%); }
.ai-demo { background: var(--sheet); border: 1px solid var(--line); }
.ai-demo .a { background: var(--paper-2); color: var(--ink); }
.fact b { color: var(--cover); }

/* Pied de page sable */
.site-footer { background: var(--foot); color: var(--ink); border-top: 1px solid var(--line); }
.site-footer p { color: var(--ink-soft); }
.site-footer a { color: var(--ink); }
.footer-brand, .footer-h { color: var(--accent-text) !important; }
.footer-bottom { border-top-color: var(--line); }

/* Petits éléments foncés : indigo */
.fab-ai { background: var(--cover); border-color: color-mix(in srgb, var(--sun) 60%, transparent); }
.side h3 { color: var(--accent-text); }

@media not all {
  :root:not([data-theme="light"]) .fact b { color: var(--sun); }
  :root:not([data-theme="light"]) .hero h1 em { background: linear-gradient(100deg, #ffc56b 0%, #f7925c 100%); -webkit-background-clip: text; background-clip: text; }
}
:root[data-theme="dark"] .fact b { color: var(--sun); }
:root[data-theme="dark"] .hero h1 em { background: linear-gradient(100deg, #ffc56b 0%, #f7925c 100%); -webkit-background-clip: text; background-clip: text; }

/* =====================================================================
   Couche « tricolore » (v4) : bleu, blanc, rouge sur fond blanc.
   Bleu = couleur principale (titres forts, boutons secondaires),
   rouge = action (bouton principal, accents), blanc = fonds.
   ===================================================================== */
:root {
  --paper: #f6f8fc; --paper-2: #edf1f9; --sheet: #ffffff;
  --ink: #141b2d; --ink-soft: #4b556e; --line: #dce2ee; --muted-bg: #e9edf5;
  --cover: #1f3c96; --cover-2: #172e78; --cover-ink: #ffffff;
  --blue: #1f3c96; --blue-2: #3a63d6; --red: #d6182a; --red-2: #b3101f;
  --sun: #3a63d6; --coral: #e2283a; --clay: #c3142a; --foil: #d6182a; --foil-soft: #e7edfb;
  --grad-cta: linear-gradient(120deg, #ee3a3f 0%, #d6182a 55%, #b3101f 100%);
  --surf-a: #ffffff; --surf-b: #eef2fb; --surf-ink: #141b2d; --surf-soft: #4b556e;
  --warm-card: linear-gradient(150deg, #f2f5fe 0%, #fdf2f3 100%);
  --foot: #eef1f8; --accent-text: #c3142a; --focus: #1f3c96;
  --tricolore: linear-gradient(90deg, #1f3c96 0 33.34%, #ffffff 33.34% 66.67%, #d6182a 66.67% 100%);
  --shadow: 0 1px 2px rgb(20 30 70 / .06), 0 10px 30px rgb(20 30 70 / .08);
  --shadow-lg: 0 2px 4px rgb(20 30 70 / .06), 0 24px 50px rgb(20 30 70 / .13);
}
@media not all {
  :root:not([data-theme="light"]) {
    --paper: #0e1220; --paper-2: #131a2b; --sheet: #182034; --ink: #eef1f8; --ink-soft: #aab3c8; --line: #283250; --muted-bg: #222b42;
    --cover: #4a6fe0; --cover-2: #3a5bc4; --cover-ink: #ffffff;
    --blue: #7d9bff; --blue-2: #7d9bff; --red: #ff5d5d; --red-2: #e8434a;
    --sun: #7d9bff; --coral: #ff5d5d; --clay: #ff6f6a; --foil: #ff5d5d; --foil-soft: #1c2742;
    --surf-a: #111729; --surf-b: #172038; --surf-ink: #eef1f8; --surf-soft: #aab3c8;
    --warm-card: linear-gradient(150deg, #172240 0%, #2a1824 100%);
    --foot: #0c101c; --accent-text: #ff7a73; --focus: #8fa9ff;
    --tricolore: linear-gradient(90deg, #4a6fe0 0 33.34%, #f4f6fb 33.34% 66.67%, #ff4d4f 66.67% 100%);
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35); --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 50px rgb(0 0 0 / .45);
  }
}
:root[data-theme="dark"] {
  --paper: #0e1220; --paper-2: #131a2b; --sheet: #182034; --ink: #eef1f8; --ink-soft: #aab3c8; --line: #283250; --muted-bg: #222b42;
  --cover: #4a6fe0; --cover-2: #3a5bc4; --cover-ink: #ffffff;
  --blue: #7d9bff; --blue-2: #7d9bff; --red: #ff5d5d; --red-2: #e8434a;
  --sun: #7d9bff; --coral: #ff5d5d; --clay: #ff6f6a; --foil: #ff5d5d; --foil-soft: #1c2742;
  --surf-a: #111729; --surf-b: #172038; --surf-ink: #eef1f8; --surf-soft: #aab3c8;
  --warm-card: linear-gradient(150deg, #172240 0%, #2a1824 100%);
  --foot: #0c101c; --accent-text: #ff7a73; --focus: #8fa9ff;
  --tricolore: linear-gradient(90deg, #4a6fe0 0 33.34%, #f4f6fb 33.34% 66.67%, #ff4d4f 66.67% 100%);
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px rgb(0 0 0 / .35); --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 50px rgb(0 0 0 / .45);
}

/* Bandes tricolores */
.topbar::after { background: var(--tricolore); height: 4px; bottom: -4px; opacity: 1; box-shadow: 0 1px 0 var(--line); }
.cta-band::before { background: var(--tricolore); }

/* En-tête */
.brand svg { color: var(--blue); }
.brand svg circle { fill: var(--red); }
.nav a:hover { background: color-mix(in srgb, var(--blue-2) 10%, transparent); }
.nav a[aria-current="page"] { background: color-mix(in srgb, var(--blue-2) 14%, transparent); color: var(--blue); }

/* Boutons */
.btn-primary { color: #fff; box-shadow: 0 6px 18px rgb(214 24 42 / .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgb(214 24 42 / .38); }
.btn-dark { box-shadow: 0 6px 18px rgb(31 60 150 / .25); }

/* Héros */
.hero::before, .page-hero::before { background: radial-gradient(circle, rgb(58 99 214 / .20), transparent 62%); }
.hero::after, .page-hero::after { background: radial-gradient(circle, rgb(214 24 42 / .12), transparent 62%); }
.hero h1 em { background: linear-gradient(100deg, var(--blue) 0%, #5b4fb3 45%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-proof span::before { color: var(--blue); }
.mrz { color: color-mix(in srgb, var(--blue) 50%, transparent); border-top-color: color-mix(in srgb, var(--blue) 25%, transparent); }
.specimen-tag { color: #fff; }
.mini-dial { background: conic-gradient(var(--blue) 0%, var(--red) calc(var(--p) * 1%), var(--muted-bg) 0); }

/* Chiffres, étapes, services */
.fact::before { background: var(--blue); }
.fact:nth-child(2)::before { background: var(--red); } .fact:nth-child(3)::before { background: var(--blue); } .fact:nth-child(4)::before { background: var(--red); }
.fact b { color: var(--blue); }
.step { border-top-color: var(--blue); }
.step:nth-child(2) { border-top-color: #c7cfe2; } .step:nth-child(3) { border-top-color: var(--red); }
.step:hover, .service:hover, .post-card:hover { border-color: color-mix(in srgb, var(--blue-2) 40%, var(--line)); }
.service-ico { background: linear-gradient(135deg, #5d83ea, #1f3c96); color: #fff; }
.service:nth-child(3n+2) .service-ico { background: linear-gradient(135deg, #eef1f8, #ffffff); color: var(--blue); border: 1px solid var(--line); }
.service:nth-child(3n) .service-ico { background: linear-gradient(135deg, #f0565c, #c3142a); color: #fff; }
.us h3, .us li::before { color: var(--blue); }
.compare-col.us, .ai-teaser, .help-card { border-color: color-mix(in srgb, var(--blue-2) 22%, var(--line)); }
.ai-teaser::after { background: radial-gradient(circle, rgb(214 24 42 / .14), transparent 65%); }
.ai-demo .q { color: #fff; }
.faq details[open] { border-color: color-mix(in srgb, var(--blue-2) 45%, var(--line)); }
.prose .tldr { border-left-color: var(--blue); background: color-mix(in srgb, var(--foil-soft) 60%, var(--sheet)); }
.cta-band { background: linear-gradient(120deg, #eef2fb 0%, #fbeef0 100%); }
.cta-band h2, .cta-band p { color: var(--ink); }
.limits { border-color: var(--red); background: color-mix(in srgb, var(--red) 5%, var(--sheet)); }
.limits h3 { color: var(--accent-text); }
.fab-ai { border-color: rgb(255 255 255 / .5); }
.fab-ai span { color: #fff; }
.footer-brand { color: var(--blue) !important; }

@media not all {
  :root:not([data-theme="light"]) .fact b { color: var(--blue); }
  :root:not([data-theme="light"]) .hero h1 em { background: linear-gradient(100deg, #8fa9ff 0%, #c08bff 50%, #ff7a73 100%); -webkit-background-clip: text; background-clip: text; }
  :root:not([data-theme="light"]) .cta-band { background: linear-gradient(120deg, #141c33 0%, #26162a 100%); }
  :root:not([data-theme="light"]) .step:nth-child(2) { border-top-color: #e9edf5; }
  :root:not([data-theme="light"]) .service:nth-child(3n+2) .service-ico { background: #eef1f8; color: #1f3c96; }
}
:root[data-theme="dark"] .fact b { color: var(--blue); }
:root[data-theme="dark"] .hero h1 em { background: linear-gradient(100deg, #8fa9ff 0%, #c08bff 50%, #ff7a73 100%); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="dark"] .cta-band { background: linear-gradient(120deg, #141c33 0%, #26162a 100%); }
:root[data-theme="dark"] .step:nth-child(2) { border-top-color: #e9edf5; }
:root[data-theme="dark"] .service:nth-child(3n+2) .service-ico { background: #eef1f8; color: #1f3c96; }

/* Logo LPE et chaîne WhatsApp */
.logo-lpe { display: inline-grid; place-items: center; height: 34px; padding: 0 9px; border-radius: 8px; background: var(--blue); color: #fff; font: 800 16px/1 var(--f-display); letter-spacing: .06em; box-shadow: inset 0 -3px 0 var(--red); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.channel-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--sheet); border: 1px solid var(--line); border-left: 5px solid var(--wa); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.channel-band h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 6px; }
.channel-band p { color: var(--ink-soft); margin-top: 6px; max-width: 60ch; }

/* Formulaire « résultat par e-mail » dans la colonne du test */
.mini-form { display: grid; gap: 12px; }
.mini-form .field > label { font-size: 14px; }
.mini-form input[type="text"], .mini-form input[type="email"] { background: var(--sheet); }
.mini-form .check { background: var(--sheet); font-size: 13.5px; }
.mini-form .btn { width: 100%; }
.check > span { flex: 1; min-width: 0; }
.help-links { font-size: 14px; color: var(--ink-soft); }
.help-links a { color: var(--blue); font-weight: 600; }

/* =====================================================================
   Couche « fond blanc » (v5) : arrière-plan blanc partout, texte noir,
   bleu et rouge en accents. Mode clair par défaut ; le mode sombre (palette v4) s'active
   avec le bouton de l'en-tête (data-theme="dark").
   ===================================================================== */
:root:not([data-theme="dark"]) {
  --paper: #ffffff; --paper-2: #ffffff; --sheet: #ffffff;
  --ink: #111111; --ink-soft: #3d4250; --line: #e1e5ee; --muted-bg: #eceff5; --muted: #5f6675;
  --cover: #1f3c96; --cover-2: #172e78; --cover-ink: #ffffff;
  --blue: #1f3c96; --blue-2: #3a63d6; --red: #d6182a; --red-2: #b3101f;
  --sun: #3a63d6; --coral: #e2283a; --clay: #c3142a; --foil: #d6182a; --foil-soft: #f3f5fb;
  --ok: #1f7a46; --ok-bg: #e6f4ec; --warn: #9a5c06; --warn-bg: #fdf1dc; --bad: #b42d22; --bad-bg: #fde8e5; --todo: #1f3c96; --todo-bg: #e8eefb;
  --surf-a: #ffffff; --surf-b: #ffffff; --surf-ink: #111111; --surf-soft: #3d4250;
  --warm-card: #ffffff; --foot: #ffffff; --accent-text: #c3142a; --focus: #1f3c96; --wa: #1b8f4c;
  --tricolore: linear-gradient(90deg, #1f3c96 0 33.34%, #ffffff 33.34% 66.67%, #d6182a 66.67% 100%);
  --shadow: 0 1px 2px rgb(20 30 70 / .06), 0 8px 24px rgb(20 30 70 / .07);
  --shadow-lg: 0 2px 4px rgb(20 30 70 / .06), 0 20px 44px rgb(20 30 70 / .11);
  color-scheme: light;
}
html:not([data-theme="dark"]) body { background: #ffffff; color: var(--ink); }

/* Fonds blancs : on sépare les sections par un filet plutôt que par une teinte */
html:not([data-theme="dark"]) .section-alt, html:not([data-theme="dark"]) .facts, html:not([data-theme="dark"]) .cta-band, html:not([data-theme="dark"]) .site-footer, html:not([data-theme="dark"]) .hero, html:not([data-theme="dark"]) .page-hero { background: #ffffff; }
html:not([data-theme="dark"]) .section-alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
html:not([data-theme="dark"]) .hero::before, html:not([data-theme="dark"]) .hero::after, html:not([data-theme="dark"]) .page-hero::before, html:not([data-theme="dark"]) .page-hero::after, html:not([data-theme="dark"]) .ai-teaser::after { display: none; }
html:not([data-theme="dark"]) .page-hero { border-bottom: 1px solid var(--line); }
html:not([data-theme="dark"]) .hero h1, html:not([data-theme="dark"]) .page-hero h1 { color: #111111; }
html:not([data-theme="dark"]) .hero h1 em { background: linear-gradient(100deg, #1f3c96 0%, #1f3c96 45%, #d6182a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html:not([data-theme="dark"]) .cta-band { border-top: 0; }
html:not([data-theme="dark"]) .cta-band h2, html:not([data-theme="dark"]) .cta-band p { color: #111111; }
html:not([data-theme="dark"]) .compare-col.us, html:not([data-theme="dark"]) .ai-teaser, html:not([data-theme="dark"]) .help-card { background: #ffffff; border: 2px solid var(--blue); box-shadow: var(--shadow); }
html:not([data-theme="dark"]) .compare-col.us h3 { color: var(--blue); }
html:not([data-theme="dark"]) .ai-demo { background: #ffffff; }
html:not([data-theme="dark"]) .ai-demo .a { background: #f3f5fb; color: #111111; }
html:not([data-theme="dark"]) .site-footer { border-top: 1px solid var(--line); }
html:not([data-theme="dark"]) .prose .tldr { background: #ffffff; border: 1px solid var(--line); border-left: 4px solid var(--blue); }
html:not([data-theme="dark"]) input[type="text"], html:not([data-theme="dark"]) input[type="email"], html:not([data-theme="dark"]) input[type="tel"], html:not([data-theme="dark"]) input[type="number"], html:not([data-theme="dark"]) input[type="date"], html:not([data-theme="dark"]) select, html:not([data-theme="dark"]) textarea { background: #ffffff; color: #111111; }
html:not([data-theme="dark"]) .check, html:not([data-theme="dark"]) .specimen li, html:not([data-theme="dark"]) #issues li { background: #ffffff; border: 1px solid var(--line); }
html:not([data-theme="dark"]) .step:nth-child(2) { border-top-color: #c7cfe2; }
html:not([data-theme="dark"]) .service:nth-child(3n+2) .service-ico { background: #ffffff; color: var(--blue); border: 2px solid var(--blue); }
html:not([data-theme="dark"]) .fact b { color: var(--blue); }
html:not([data-theme="dark"]) .topbar { background: rgb(255 255 255 / .96); }
html:not([data-theme="dark"]) .nav, html:not([data-theme="dark"]) .nav a { color: #111111; }
@media (max-width: 1180px) { html:not([data-theme="dark"]) .nav { background: #ffffff; } }
html:not([data-theme="dark"]) .ai-panel, html:not([data-theme="dark"]) #ai-panel { background: #ffffff; color: #111111; }

html:not([data-theme="dark"]) .ai-msg.bot { background: #f3f5fb; color: #111111; }
html:not([data-theme="dark"]) .ai-msg.user { background: var(--blue); color: #ffffff; }

/* Bouton clair / sombre */
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; margin-left: auto; margin-right: 8px; transition: background .2s; }
.theme-btn:hover { background: color-mix(in srgb, var(--blue-2) 12%, transparent); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (min-width: 1181px) { .theme-btn { order: 3; margin: 0 0 0 10px; } }
.logo-lpe { background: #1f3c96; }
[data-theme="dark"] .topbar { background: color-mix(in srgb, var(--surf-a) 94%, transparent); }
[data-theme="dark"] .brand, [data-theme="dark"] .nav a { color: var(--ink); }
.brand span:last-child { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 16.5px; gap: 8px; } .logo-lpe { height: 30px; font-size: 14px; padding: 0 7px; } .topbar-in { gap: 8px; } }

/* =====================================================================
   Lisibilité des petites lignes (v6) : 14 px minimum pour le texte courant,
   police du corps (plus lisible que la police à chasse fixe), contraste renforcé.
   ===================================================================== */
.eyebrow { font: 700 13.5px/1.3 var(--f-mono); letter-spacing: .1em; }
.hero-proof { font: 600 15px/1.5 var(--f-body); color: var(--ink-soft); gap: 8px 24px; }
.mrz { font-size: 14px; }
.fact span { font-size: 15px; color: var(--ink-soft); }
.fact small { font: 600 13.5px var(--f-body); color: var(--ink-soft); }
.step-n { font: 700 13.5px var(--f-mono); }
.post-meta { font: 600 14px var(--f-body); color: var(--ink-soft); letter-spacing: 0; }
.article-meta { font: 600 14.5px var(--f-body); }
.breadcrumb { font: 600 14.5px var(--f-body); }
.specimen-tag { font-size: 12px; }
.stamp { font-size: 13px; }
.badge { font-size: 12.5px; }
.pill { font-size: 13px; }
.num-idx { font-size: 13px; }
.meta, .note { font-size: 14.5px; }
.piece footer { font-size: 14px; }
.verif { font: 700 13px var(--f-body); }
#answered { font: 600 14px var(--f-body); }
.side h3, .footer-h { font: 700 13.5px var(--f-mono) !important; }
#issues li span { font-size: 14px; }
.footer-indep, .footer-small, .footer-bottom p { font-size: 14.5px !important; }
.ai-sub { font-size: 13.5px; }
.ai-chips button { font-size: 14px; }
.mini-form .check, .consent { font-size: 14.5px; }
.sources { font-size: 15px; }
.lede { color: var(--ink-soft); }

/* =====================================================================
   Tour Eiffel (illustration) et bandeau des villes / universités (v6)
   ===================================================================== */
.hero { position: relative; }
.hero .hero-grid { position: relative; z-index: 1; }
.hero-art { position: absolute; z-index: 0; bottom: 0; right: max(16px, calc((100vw - 1180px) / 2 + 20px)); height: calc(100% - 24px); max-height: 760px; aspect-ratio: 400 / 830; pointer-events: none; animation: tower-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-art .tg-a { stop-color: #1f3c96; } .hero-art .tg-b { stop-color: #3a63d6; }
.hero-art .tower { fill: url(#tg); }
.hero-art .arch { stroke: #1f3c96; stroke-width: 7; }
.hero-art .lattice { fill: url(#lat); }
.hero-art .lat-line { stroke: rgb(255 255 255 / .38); stroke-width: 1.2; }
.hero-art .sun { fill: #d6182a; opacity: .12; }
.hero-art .ground { fill: #1f3c96; opacity: .15; }
.hero-art { opacity: .95; }
[data-theme="dark"] .hero-art .tg-a { stop-color: #a9bcff; } [data-theme="dark"] .hero-art .tg-b { stop-color: #5a7ae6; }
[data-theme="dark"] .hero-art .arch { stroke: #6f8cf0; }
[data-theme="dark"] .hero-art .sun { fill: #ff5d5d; opacity: .22; }
[data-theme="dark"] .hero-art .lat-line { stroke: rgb(14 18 32 / .45); }
[data-theme="dark"] .hero-art { opacity: .8; }
/* Ordinateur : la tour se dresse derrière la fiche d'exemple, à droite */
@media (min-width: 901px) { .hero .specimen { margin-top: 120px; } }
/* Téléphone : la tour reste en fond, derrière le texte, plus discrète */
@media (max-width: 900px) {
  .hero-art { right: -40px; height: 82%; opacity: .3; }
  [data-theme="dark"] .hero-art { opacity: .22; }
}
@keyframes tower-in { from { opacity: 0; transform: translateY(40px); } }

.villes { padding-block: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); overflow: hidden; }
.villes-head { display: grid; gap: 10px; margin-bottom: 26px; }
.villes-head h2 { font-size: clamp(22px, 2.8vw, 30px); max-width: 820px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 75s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); font: 600 15.5px/1 var(--f-body); color: var(--ink); }
.mq-city { border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.mq-city svg { width: 17px; height: 17px; fill: none; stroke: var(--red); stroke-width: 2.2; }
.mq-tag { font: 700 11.5px/1 var(--f-body); text-transform: uppercase; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; }
.mq-pub { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.mq-priv { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--accent-text); }
.villes-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee { -webkit-mask-image: none; mask-image: none; } .marquee-track > :nth-child(n + 19) { display: none; } }

/* v7 : photo de la tour Eiffel en fond de l'accueil (photo fournie par Sylvana, 2026-10-08) */
.hero-art { display: none !important; }
@media (min-width: 901px) { .hero .specimen { margin-top: 0; } }
.hero { isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 860px); z-index: -1; pointer-events: none;
  background: url("../img/tour-eiffel.jpg") center 30% / cover no-repeat; animation: photo-in 1.6s cubic-bezier(.2,.8,.2,1) both; }
.hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .45) 28%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / .45) 28%, #000 58%); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #fff 0%, rgb(255 255 255 / 0) 20%); }
[data-theme="dark"] .hero-photo { filter: brightness(.7) saturate(.9); }
[data-theme="dark"] .hero-photo::after { background: none; }
@keyframes photo-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero-photo { width: 100%; background-position: center 20%; -webkit-mask-image: none; mask-image: none; }
  .hero-photo::after { background: rgb(255 255 255 / .8); }
  [data-theme="dark"] .hero-photo::after { background: rgb(14 18 32 / .82); }
}
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } }

/* v8 : illustrations de fond des en-têtes (à propos, accompagnement, parrainage), 2026-10-12.
   Ordinateur : l'image occupe la droite et s'estompe vers le texte. Téléphone : elle passe sous le texte. */
.page-hero.has-illu .wrap { position: relative; z-index: 1; }
.page-illu { display: block; pointer-events: none; animation: photo-in 1.4s cubic-bezier(.2,.8,.2,1) both; }
@media (min-width: 901px) {
  .page-hero.has-illu { min-height: 440px; display: flex; align-items: center; }
  .page-hero.has-illu .wrap { width: 100%; }
  .page-hero.has-illu .wrap > * { max-width: min(560px, 50%); }
  .page-illu { position: absolute; z-index: 0; right: 0; bottom: 0; height: calc(100% - 20px); width: min(52%, 780px); object-fit: cover; object-position: center bottom;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%); mask-image: linear-gradient(90deg, transparent 0%, #000 12%); }
}
@media (max-width: 900px) {
  .page-hero.has-illu { padding-bottom: 0; }
  .page-illu { width: 100%; max-width: 640px; height: 240px; margin: 22px auto 0; object-fit: cover; object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
}
[data-theme="dark"] .page-illu { filter: brightness(.85); }
@media (prefers-reduced-motion: reduce) { .page-illu { animation: none; } }
