/* ESTA Conseil — feuille de style unique (design-system/esta-conseil/MASTER.md).
   Mobile-first. Aucune autre feuille ni <style> sur les pages. Aucune police
   CDN (voir fonts.css), aucun script tiers. */

:root {
  --color-bg: #F6F5F0;
  --color-surface: #FFFFFF;
  --color-ink: #101828;
  --color-muted: #475467;
  --color-border: #E4E7E0;
  --color-primary: #0E7C86;
  --color-primary-hover: #0B6670;
  --color-primary-soft: #E6F4F5;
  --color-warn: #B54708;
  --color-warn-soft: #FFF4E5;
  --color-ok: #067647;
  --color-ok-soft: #ECFDF3;
  --color-danger: #B42318;
  --color-danger-soft: #FEF3F2;
  --color-focus: #0E7C86;
  --color-ink-deep: #0B2A2E;   /* hero sombre (wow) — teal-noir, jamais navy officiel */
  --color-accent: #F2B84B;     /* accent chaud : une seule audace par écran */
  --font-title: 'Lexend', 'Segoe UI', Arial, sans-serif;
  --font-text: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px; --s-6: 48px; --s-8: 64px;
  --r-card: 10px; --r-field: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06);
  --shell: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-primary-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-title); font-weight: 600; line-height: 1.2;
  letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 var(--s-2);
}
h1 { font-size: 34px; font-weight: 700; }
h2 { font-size: 27px; margin-top: var(--s-6); }
h3 { font-size: 21px; margin-top: var(--s-4); }
p, ul, ol { margin: 0 0 var(--s-2); }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 4px; }
small, .small { font-size: 14px; }
strong { font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
th { font-family: var(--font-title); font-weight: 600; font-size: 15px; background: var(--color-primary-soft); }
.table-wrap { overflow-x: auto; margin: var(--s-3) 0; border: 1px solid var(--color-border); border-radius: var(--r-card); background: var(--color-surface); }
.table-wrap table { margin: 0; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--s-5) 0; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--color-ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--font-title); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary); margin-bottom: var(--s-1); }
.lead { font-size: 20px; color: var(--color-muted); max-width: 68ch; }
.prose { max-width: 68ch; }
.muted { color: var(--color-muted); }

/* ---------- Layout ---------- */
.shell { width: min(100% - 2 * var(--s-2), var(--shell)); margin-inline: auto; }
.page-pad { padding-block: var(--s-4) var(--s-8); }
.grid { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.two-col { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.sticky-aside { position: sticky; top: 80px; }

/* ---------- Bandeau d'indépendance ---------- */
.legal-banner {
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  font-size: 14px; color: var(--color-muted); padding: 8px 0; text-align: center;
}
.legal-banner a { color: inherit; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 240, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-ink); font-family: var(--font-title); font-weight: 700; font-size: 19px; }
.brand svg { flex: none; }
.brand-text em { font-style: normal; color: var(--color-primary); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-border); background: var(--color-surface); border-radius: var(--r-field); cursor: pointer; color: var(--color-ink); }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav a { display: block; padding: 10px 12px; border-radius: var(--r-field); color: var(--color-ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--color-primary-soft); color: var(--color-primary-hover); }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 64px; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: var(--s-2); box-shadow: 0 8px 24px rgba(16,24,40,.08); }
.site-nav .nav-cta { margin-top: var(--s-1); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; align-items: center; gap: var(--s-2); background: none; border: 0; padding: 0; box-shadow: none; }
  .site-nav ul { flex-direction: row; gap: 2px; }
  .site-nav .nav-cta { margin: 0 0 0 var(--s-1); }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-field);
  font-family: var(--font-title); font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); color: #fff; }
.btn--ghost { background: var(--color-surface); color: var(--color-primary); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); background: var(--color-primary-soft); }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-3); }

/* ---------- Hero ---------- */
.hero { padding: var(--s-6) 0 var(--s-5); }
.hero h1 { font-size: clamp(30px, 5vw, 42px); max-width: 20ch; }
.hero .lead { margin-top: var(--s-2); }
.hero-visual { margin-top: var(--s-4); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6); align-items: center; padding-block: var(--s-8); }
  .hero-visual { margin-top: 0; }
}

/* ---------- Trust band ---------- */
.trust-band { display: grid; gap: var(--s-2); padding: var(--s-3) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-band > div { display: flex; gap: 12px; align-items: flex-start; }
.trust-band svg { flex: none; color: var(--color-primary); margin-top: 3px; }
.trust-band p { margin: 0; font-size: 15px; color: var(--color-muted); }
.trust-band strong { display: block; color: var(--color-ink); font-family: var(--font-title); font-weight: 600; }
@media (min-width: 640px) { .trust-band { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: var(--s-2); margin: var(--s-3) 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: block; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-card); padding: var(--s-3); color: var(--color-ink); text-decoration: none;
  box-shadow: var(--shadow); transition: border-color .18s ease, transform .18s ease;
}
a.card:hover { border-color: var(--color-primary); transform: translateY(-1px); }
.card h3 { margin-top: 0; font-size: 19px; }
.card p { margin-bottom: 0; color: var(--color-muted); font-size: 16px; }
.card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--color-primary-soft); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); }
.card-meta { margin-top: var(--s-2); font-size: 14px; color: var(--color-muted); }

/* ---------- AnswerBox / KeyFacts / Sources / Warning / Fresh ---------- */
.answer {
  background: var(--color-primary-soft); border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--r-card) var(--r-card) 0; padding: var(--s-2) var(--s-3); margin: var(--s-3) 0;
}
.answer .eyebrow { margin-bottom: 4px; }
.answer p { margin: 0; font-size: 18px; }
.answer p + p { margin-top: var(--s-1); }
.keyfacts { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-card); padding: var(--s-2) var(--s-3); margin: var(--s-3) 0; }
.keyfacts h2, .keyfacts h3 { margin-top: 0; font-size: 17px; }
.keyfacts ul { margin: 0; padding-left: 1.2em; }
.source-card { display: flex; gap: 12px; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-card); padding: var(--s-2); margin: var(--s-2) 0; font-size: 15px; }
.source-card svg { flex: none; color: var(--color-primary); margin-top: 2px; }
.source-card strong { font-family: var(--font-title); font-weight: 600; display: block; }
.source-card a { word-break: break-all; }
.source-card .fresh { margin-top: 6px; }
.warn-card { background: var(--color-warn-soft); border: 1px solid #F7D9B5; border-radius: var(--r-card); padding: var(--s-2) var(--s-3); margin: var(--s-3) 0; color: #7A2E0E; }
.warn-card strong { color: var(--color-warn); font-family: var(--font-title); }
.warn-card p:last-child, .warn-card ul:last-child { margin-bottom: 0; }
.fresh { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; font-family: var(--font-title); color: var(--color-ok); background: var(--color-ok-soft); border-radius: 999px; padding: 4px 10px; }
.fresh svg { flex: none; }
.fresh--warn { color: var(--color-warn); background: var(--color-warn-soft); }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: 14px; color: var(--color-muted); margin: var(--s-1) 0 var(--s-3); }

/* ---------- Affiliation ---------- */
.affiliate { background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: var(--r-card); padding: var(--s-2) var(--s-3); margin: var(--s-3) 0; }
.affiliate .tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.affiliate h3 { margin-top: 4px; font-size: 18px; }
.affiliate p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--color-border); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary { cursor: pointer; font-family: var(--font-title); font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-primary); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: 10px 0 0; color: var(--color-muted); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 14px; color: var(--color-muted); margin: var(--s-2) 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: inherit; }

/* ---------- Formulaires & outils ---------- */
.tool { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-card); padding: var(--s-3); margin: var(--s-3) 0; box-shadow: var(--shadow); }
.field { margin-bottom: var(--s-2); }
.field label, .field legend { display: block; font-family: var(--font-title); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .help { display: block; font-size: 14px; color: var(--color-muted); margin-top: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="date"], .field select {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--color-ink);
  background: var(--color-surface); border: 1px solid #C9CDC4; border-radius: var(--r-field);
}
.field input:focus, .field select:focus { border-color: var(--color-primary); outline: 2px solid var(--color-focus); outline-offset: 1px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--r-field); background: var(--color-surface); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-soft); }
.choice input { margin-top: 4px; accent-color: var(--color-primary); width: 18px; height: 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-2); }
.result { border-radius: var(--r-card); padding: var(--s-2) var(--s-3); margin-top: var(--s-3); border: 1px solid var(--color-border); background: var(--color-surface); }
.result[hidden] { display: none; }
.result h3 { margin-top: 0; }
.result--ok { border-color: #A6E3C0; background: var(--color-ok-soft); }
.result--check { border-color: #F7D9B5; background: var(--color-warn-soft); }
.result--no { border-color: #F4B3AE; background: var(--color-danger-soft); }
.result--unknown { background: var(--color-primary-soft); }
.result p:last-child { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--color-border); }
.checklist li:last-child { border-bottom: 1px solid var(--color-border); }
.checklist input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--color-primary); flex: none; }
.checklist label { cursor: pointer; }
.checklist .done { color: var(--color-muted); text-decoration: line-through; }
.progress { height: 8px; background: var(--color-border); border-radius: 999px; overflow: hidden; margin: var(--s-2) 0; }
.progress > span { display: block; height: 100%; background: var(--color-primary); width: 0; transition: width .25s ease; }
.error { color: var(--color-danger); font-size: 14px; margin-top: 6px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-card); padding: var(--s-4); margin: var(--s-6) 0; }
.newsletter h2 { margin-top: 0; }
.newsletter__form { display: grid; gap: 10px; margin-top: var(--s-2); }
@media (min-width: 640px) { .newsletter__form { grid-template-columns: 1fr auto; align-items: end; } }
.newsletter__consent { grid-column: 1 / -1; font-size: 14px; color: var(--color-muted); display: flex; gap: 8px; align-items: flex-start; }

/* ---------- Auteur / changelog ---------- */
.author { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--color-muted); margin: var(--s-4) 0; padding-top: var(--s-2); border-top: 1px solid var(--color-border); }
.author strong { color: var(--color-ink); font-family: var(--font-title); }
.changelog { font-size: 14px; color: var(--color-muted); }
.changelog li { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--s-8); background: var(--color-ink); color: #D0D5DD; padding: var(--s-5) 0 var(--s-4); font-size: 15px; }
.site-footer .container { width: min(100% - 2 * var(--s-2), var(--shell)); margin-inline: auto; }
.site-footer__notice { max-width: 80ch; margin: 0 0 var(--s-3); }
.site-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__legal a { color: #fff; }
.site-footer__brand { font-family: var(--font-title); font-weight: 600; color: #fff; margin-bottom: var(--s-2); }

/* ---------- Wow : hero sombre, tampon, panneau « 3 réponses » ---------- */
.hero-dark { background: var(--color-ink-deep); color: #fff; padding: var(--s-6) 0 var(--s-8); position: relative; overflow: hidden; }
.hero-dark .shell { position: relative; }
.hero-dark .eyebrow { color: var(--color-accent); }
.hero-dark h1 { color: #fff; font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.02em; max-width: 18ch; }
.hero-dark .lead { color: #C9D6D8; }
.hero-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero-dark .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.mark { background: linear-gradient(transparent 62%, rgba(242, 184, 75, .55) 62%); padding: 0 .08em; }
.stamp { position: absolute; right: -30px; top: -10px; width: 250px; transform: rotate(-8deg); opacity: .95; pointer-events: none; }
@media (max-width: 899px) { .stamp { width: 150px; right: -28px; top: -4px; opacity: .45; } }
.answers { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
@media (min-width: 640px) { .answers { grid-template-columns: repeat(3, 1fr); } }
.answer-tile { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: var(--s-2) var(--s-3); opacity: 0; transform: translateY(12px); animation: tile-in .45s cubic-bezier(.2, .7, .2, 1) forwards; }
.answer-tile:nth-child(2) { animation-delay: .08s; }
.answer-tile:nth-child(3) { animation-delay: .16s; }
.answer-tile .lbl { display: block; font-family: var(--font-title); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 6px; }
.answer-tile .big { display: block; font-family: var(--font-title); font-weight: 700; font-size: 38px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.answer-tile p { margin: 8px 0 0; color: #C9D6D8; font-size: 15px; }
.answer-tile a { color: #fff; }
@keyframes tile-in { to { opacity: 1; transform: none; } }
.hero-note { margin-top: var(--s-2); font-size: 14px; color: #9FB3B6; }

/* ---------- Parcours en 3 étapes ---------- */
.steps { list-style: none; margin: var(--s-4) 0 var(--s-2); padding: 0; display: grid; gap: var(--s-3); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: var(--s-4) var(--s-3) var(--s-3); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: var(--s-3); width: 36px; height: 36px; border-radius: 999px; background: var(--color-primary); color: #fff; font-family: var(--font-title); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin-top: 0; font-size: 19px; }
.steps p { margin-bottom: 0; color: var(--color-muted); }

/* ---------- Bento outils ---------- */
.bento { display: grid; gap: var(--s-2); margin: var(--s-3) 0; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .card--wide { grid-column: span 2; } }
.card--wide { background: var(--color-primary-soft); border-color: transparent; }
.card--wide h3 { font-size: 22px; }

/* ---------- Reveal au scroll ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease var(--reveal-delay, 0s), transform .5s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Consentement (CNIL) ---------- */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: var(--s-2) var(--s-3); box-shadow: 0 12px 32px rgba(16, 24, 40, .14); display: grid; gap: 12px; max-width: 640px; margin-inline: auto; }
.consent-banner[hidden] { display: none; }
.consent-texte { margin: 0; font-size: 15px; }
.consent-actions { display: flex; gap: 10px; }
.consent-btn { flex: 1; min-height: 44px; border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-surface); font: inherit; font-weight: 600; cursor: pointer; color: var(--color-ink); }
.consent-btn[data-consent-accept] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- Wow 2 (CEO 08/09 soir) : trajectoire, tampon, compteurs, timeline, cartes ---------- */
/* Trajectoire de vol : arc pointillé qui se dessine derrière le titre, avec un
   avion qui le parcourt. Blanc très transparent = calme ; l'ambre reste
   réservé au tampon (une seule audace par écran). */
.flight { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flight__path { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2; stroke-dasharray: 7 9; }
.flight__path--draw { stroke: rgba(255, 255, 255, .34); stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: flight-draw 2.4s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.flight__plane { fill: var(--color-accent); offset-path: path("M -60 250 C 260 60, 620 30, 1180 140"); offset-rotate: auto 90deg; animation: flight-fly 9s cubic-bezier(.45, .05, .55, .95) 1.2s infinite; opacity: 0; }
.flight__city { fill: rgba(255, 255, 255, .55); }
.flight__label { font-family: var(--font-title); font-size: 11px; font-weight: 600; letter-spacing: .12em; fill: rgba(255, 255, 255, .5); }
@keyframes flight-draw { to { stroke-dashoffset: 0; } }
@keyframes flight-fly { 0% { offset-distance: 0%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (max-width: 899px) { .flight { opacity: .6; } }

/* Le tampon « claque » à l'arrivée (tampon-in), puis s'installe. */
.stamp { transform-origin: 50% 50%; animation: stamp-in .55s cubic-bezier(.2, 1.4, .3, 1) .35s both; }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-16deg) scale(1.45); } 70% { opacity: 1; } to { opacity: .95; transform: rotate(-8deg) scale(1); } }
@media (max-width: 899px) { @keyframes stamp-in { from { opacity: 0; transform: rotate(-16deg) scale(1.45); } to { opacity: .45; transform: rotate(-8deg) scale(1); } } }

/* Le trait ambre du mot-clé se trace de gauche à droite. */
.hero-dark .mark { background-size: 0 100%; background-repeat: no-repeat; animation: mark-draw .7s cubic-bezier(.2, .7, .2, 1) .9s forwards; }
@keyframes mark-draw { to { background-size: 100% 100%; } }

/* Compteurs (site.js pose .is-counting sur le tile) : chiffres tabulaires, pas de saut. */
.answer-tile .big { min-width: 3ch; }

/* Reflet unique au chargement sur le CTA principal du hero — puis hover calme. */
.hero-dark .btn--primary { position: relative; overflow: hidden; }
.hero-dark .btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 1.1s ease 1.6s 1; }
@keyframes sheen { to { transform: translateX(120%); } }
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn--primary { box-shadow: 0 1px 0 rgba(16, 24, 40, .08), 0 8px 20px -12px rgba(14, 124, 134, .7); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 2px 0 rgba(16, 24, 40, .08), 0 12px 24px -12px rgba(14, 124, 134, .8); }
.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }

/* Bandeau de confiance : icônes en pastille, révélation en cascade. */
.trust-band svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--color-primary-soft); margin-top: 0; }
.reveal-ready .trust-band > div { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready .trust-band.is-in > div { opacity: 1; transform: none; }
.reveal-ready .trust-band.is-in > div:nth-child(2) { transition-delay: .08s; }
.reveal-ready .trust-band.is-in > div:nth-child(3) { transition-delay: .16s; }

/* Parcours : la ligne se trace entre les étapes, les numéros s'allument l'un après l'autre. */
.steps { position: relative; }
@media (min-width: 900px) {
  .steps::before { content: ""; position: absolute; left: calc(var(--s-3) + 18px); right: calc(var(--s-3) + 18px); top: 2px; height: 2px; background: var(--color-border); z-index: 0; }
  .steps::after { content: ""; position: absolute; left: calc(var(--s-3) + 18px); right: calc(var(--s-3) + 18px); top: 2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.4, 0, .2, 1) .2s; z-index: 0; }
  .is-in .steps::after { transform: scaleX(1); }
}
.steps li { z-index: 1; }
.reveal-ready .steps li::before { transform: scale(.4); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.3, .3, 1), opacity .3s ease; }
.reveal-ready .is-in .steps li::before { transform: none; opacity: 1; }
.reveal-ready .is-in .steps li:nth-child(2)::before { transition-delay: .35s; }
.reveal-ready .is-in .steps li:nth-child(3)::before { transition-delay: .7s; }
.steps li:hover { border-color: var(--color-primary); }
.steps li { transition: border-color .18s ease; }

/* Cartes : soulèvement franc, pastille qui s'inverse, flèche qui apparaît. */
a.card { position: relative; transition: border-color .18s ease, transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(16, 24, 40, .28); }
a.card .card-icon { transition: background-color .18s ease, color .18s ease, transform .22s cubic-bezier(.2, 1.3, .3, 1); }
a.card:hover .card-icon { background: var(--color-primary); color: #fff; transform: rotate(-6deg) scale(1.06); }
a.card::after { content: "→"; position: absolute; right: var(--s-3); bottom: var(--s-2); font-family: var(--font-title); font-weight: 700; color: var(--color-primary); opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .22s ease; }
a.card:hover::after { opacity: 1; transform: none; }
a.card:focus-visible { transform: translateY(-3px); }
/* Tuile large du bento : filet dégradé teal → ambre, la signature des outils. */
.card--wide { border: 1px solid transparent; background: linear-gradient(var(--color-primary-soft), var(--color-primary-soft)) padding-box, linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary) 55%, var(--color-accent) 100%) border-box; }
a.card--wide:hover { border-color: transparent; }

/* Résultat d'un outil : le panneau surgit au lieu d'apparaître sèchement. */
.result:not([hidden]) { animation: result-in .38s cubic-bezier(.2, .9, .3, 1); }
@keyframes result-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

/* FAQ : le « + » tourne en « × » plutôt que de changer de caractère. */
.faq summary::after { content: "+"; transition: transform .22s cubic-bezier(.2, .7, .2, 1); display: inline-block; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }

/* Header : ombre douce dès qu'on a quitté le haut de page (site.js). */
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(16, 24, 40, .35); }

/* ---------- Mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .answer-tile, .reveal-ready [data-reveal], .reveal-ready .trust-band > div, .reveal-ready .steps li::before { opacity: 1 !important; transform: none !important; }
  .flight__path--draw { stroke-dashoffset: 0 !important; }
  .flight__plane { opacity: 1 !important; offset-distance: 62%; }
  .steps::after { transform: none !important; }
  .stamp { opacity: .95 !important; transform: rotate(-8deg) !important; }
  .hero-dark .mark { background-size: 100% 100% !important; }
}
@media print {
  .site-header, .legal-banner, .newsletter, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
