/* ==========================================================================
   ANKODE Consulting — feuille de style unique
   Palette issue du logo et du plan de lancement : marine, bleu, or.
   Pas de police ni de script tiers : performances et RGPD.
   ========================================================================== */

:root {
  --navy-950: #141a33;
  --navy: #20294a;
  --navy-700: #2f3a66;
  --ink: #2b3150;
  --muted: #565d7c;           /* 6:1 sur blanc */
  --blue: #2748b8;            /* 7,6:1 sur blanc */
  --blue-bright: #3b6cf0;
  --blue-50: #e6ecfe;
  --gold: #e8b34c;
  --gold-600: #f5a623;
  --violet: #7c4dff;
  --green: #00875a;
  --line: #e1e4ee;
  --tint: #f4f6fc;
  --tint-2: #eef0f6;
  --white: #fff;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 26, 51, .06), 0 2px 8px rgba(20, 26, 51, .05);
  --shadow: 0 2px 4px rgba(20, 26, 51, .05), 0 14px 40px rgba(20, 26, 51, .1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.4rem); letter-spacing: -.02em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .cta-band :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
main:focus { outline: none; }
.h4 { font-family: var(--sans); font-size: 1.1rem; font-weight: 650; letter-spacing: 0; }
.h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.2; }
::selection { background: var(--gold); color: var(--navy-950); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.container--narrow { max-width: 880px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; transition: top .15s; }
.skip-link:focus { top: 0; }

.eyebrow { font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; }
.eyebrow--gold { color: var(--gold); }
.lead { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 46rem; }
.hero .lead, .section--dark .lead, .cta-band p { color: #cfd5ec; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: #f0c068; box-shadow: 0 8px 24px rgba(232, 179, 76, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); box-shadow: 0 8px 24px rgba(32, 41, 74, .25); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 650; text-decoration: none; color: var(--blue); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--gold); }

/* ---------- En-tête et navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 26, 51, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: block; flex: none; line-height: 0; padding-block: 12px; }
.brand img { width: 217px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: clamp(24px, 4vw, 56px); }
.nav-list { display: flex; list-style: none; gap: 2px; }
.nav-item { display: flex; align-items: center; }
.nav-link { display: block; white-space: nowrap; padding: 28px 10px 28px 14px; font-weight: 600; font-size: .98rem; color: var(--navy); text-decoration: none; position: relative; }
.nav-item:not(.has-mega) .nav-link { padding-right: 14px; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 6px; bottom: 20px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-item:not(.has-mega) .nav-link::after { right: 14px; }
.nav-link:hover::after, .nav-link[aria-current]::after, .nav-item.is-open .nav-link::after { transform: scaleX(1); }
.nav-link:hover { text-decoration: none; }
.nav-toggle { display: grid; place-items: center; width: 34px; height: 44px; margin-left: -4px; margin-right: 4px; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle .icon { transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--navy); cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: var(--tint-2); }
.icon-btn .icon { width: 1.4em; height: 1.4em; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 650 .95rem var(--sans); cursor: pointer; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: inline-block; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(20, 26, 51, .12); animation: mega-in .22s var(--ease); }
.mega[hidden] { display: none; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-block: 40px 44px; }
.mega-title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; color: var(--navy); margin-bottom: .6rem; }
.mega-intro p:not(.mega-title) { color: var(--muted); }
.mega-links { list-style: none; display: grid; gap: 4px; }
.mega-links a { display: flex; gap: 16px; padding: 14px 16px; border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: background-color .15s; align-items: flex-start; }
.mega-links a:hover { background: var(--tint); }
.mega-links .icon { width: 28px; height: 28px; color: var(--blue); margin-top: 2px; }
.mega-links strong { display: block; font-size: 1.05rem; }
.mega-links small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; margin-top: 2px; }

/* Recherche */
.search-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(560px, 80vh); margin: 12vh auto 0; padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(20, 26, 51, .35); color: var(--ink); overflow: hidden; }
.search-dialog[open] { display: flex; flex-direction: column; }
.search-dialog::backdrop { background: rgba(20, 26, 51, .55); backdrop-filter: blur(3px); }
.search-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.search-head input { flex: 1; min-width: 0; border: 0; font: 500 1.15rem var(--sans); padding: 12px 0; color: var(--navy); background: transparent; }
.search-head input:focus-visible { outline: none; }
.search-head input::placeholder { color: #6b7194; }
.search-body { overflow: auto; padding: 8px 12px 16px; }
.search-status { padding: 8px 10px; margin: 0; color: var(--muted); font-size: .92rem; }
.search-results { list-style: none; }
.search-results a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); }
.search-results a:hover, .search-results a:focus-visible { background: var(--tint); }
.search-results strong { display: block; }
.search-results span { color: var(--muted); font-size: .92rem; }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #2e3a6e 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-950) 100%); color: #fff; }
.hero h1 { color: #fff; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(64px, 10vw, 140px); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 2rem 0 0; font-size: .95rem; color: #aab3d6; }
.hero-note .icon { color: var(--gold); }
.rings { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings .ring { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.rings .ring--strong { stroke: rgba(255, 255, 255, .85); stroke-width: 14; }
.rings .orbit { transform-origin: 250px 250px; animation: spin 38s linear infinite; }
.rings .orbit--rev { animation-duration: 56s; animation-direction: reverse; }
.rings .dot-gold { fill: var(--gold); }
.rings .dot-blue { fill: var(--blue-bright); }
.rings .parallax { transition: transform .5s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 52rem; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 46rem; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
a.card:hover, .card-link:hover .card, .card.is-hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 1.4rem; }
.icon-badge .icon { width: 26px; height: 26px; }
.section--dark .icon-badge { background: rgba(255, 255, 255, .1); color: var(--gold); }
.ticks { list-style: none; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .7em; align-items: flex-start; }
.ticks .icon { color: var(--green); margin-top: .22em; }
.section--dark .ticks .icon { color: var(--gold); }

/* Principes (accueil) */
.principle { position: relative; }
.principle .num { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--gold); margin-bottom: .6rem; font-style: italic; }
.principle p { color: var(--muted); }
.section--dark .principle p { color: #cfd5ec; }

/* Onglets : approche */
.tabs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.tablist { display: grid; gap: 8px; }
.tab { text-align: left; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); font: 650 1.05rem var(--sans); cursor: pointer; transition: all .2s var(--ease); }
.tab .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint-2); font-size: .9rem; flex: none; transition: all .2s; }
.tab small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.tab:hover { border-color: var(--navy-700); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.tab[aria-selected="true"] .n { background: var(--gold); color: var(--navy-950); }
.tab[aria-selected="true"] small { color: #c3cae6; }
.tabpanel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 48px); min-height: 100%; animation: fade-up .35s var(--ease); }
.tabpanel[hidden] { display: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
.weeks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 1.6rem 0; }
.weeks span { display: grid; place-items: center; height: 38px; border-radius: 6px; background: var(--tint-2); color: var(--muted); font-size: .78rem; font-weight: 650; }
.weeks span.on { background: var(--blue); color: #fff; }
.weeks span.milestone { background: var(--gold); color: var(--navy-950); }
.weeks-legend { margin-top: 1.4rem; display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin: 0; }
.weeks-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; background: var(--blue); }
.weeks-legend i.m { background: var(--gold); }
.tabpanel h3 { margin-bottom: .3em; }

/* Routeur « votre situation » */
.finder { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.chips { display: grid; gap: 12px; margin: 1.6rem 0 0; padding: 0; border: 0; }
.chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 650; color: var(--navy); transition: all .2s var(--ease); }
.chip label::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9aa2c4; flex: none; transition: all .2s; }
.chip label:hover { border-color: var(--navy-700); transform: translateX(4px); }
.chip input:checked + label { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip input:checked + label::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 45%, transparent 50%); }
.chip input:focus-visible + label { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.finder-result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.finder-result h3 { color: #fff; }
.finder-result p { color: #cfd5ec; }
.finder-result::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .07); }
.finder-result .btn { align-self: flex-start; margin-top: .8rem; position: relative; z-index: 1; }
.finder-result .tag { display: inline-block; align-self: flex-start; padding: .25rem .8rem; border-radius: 999px; background: rgba(232, 179, 76, .16); color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }

/* Cartes perspectives */
.insight { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.insight-art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; overflow: hidden; }
.insight-art::before, .insight-art::after { content: ""; position: absolute; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .1); }
.insight-art::before { width: 70%; aspect-ratio: 1; right: -12%; top: -30%; }
.insight-art::after { width: 40%; aspect-ratio: 1; left: -8%; bottom: -25%; border-width: 12px; }
.insight-art .icon { width: 54px; height: 54px; position: relative; z-index: 1; }
.art-barometre { background: linear-gradient(135deg, #2748b8, #3b6cf0); }
.art-fiche { background: linear-gradient(135deg, #20294a, #3a4a86); }
.art-interview { background: linear-gradient(135deg, #34407a, #4a5aa8); }
.art-video { background: linear-gradient(135deg, #00755a, #00a86b); }
.art-serie { background: linear-gradient(135deg, #b9791a, #e8b34c); color: var(--navy-950); }
.insight-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.insight-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: .8rem; }
.pill { display: inline-block; padding: .2rem .7rem; border-radius: 999px; background: var(--tint-2); color: var(--navy); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.pill--soon { background: #fff4d6; color: #7a5200; }
.pill--live { background: #d3f3e5; color: #005f40; }
.insight h3 { font-size: 1.35rem; margin-bottom: .5em; }
.insight p { color: var(--muted); font-size: .98rem; }
.insight .link-arrow { margin-top: auto; padding-top: .6rem; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 650 .95rem var(--sans); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .count { opacity: .7; font-weight: 500; margin-left: 6px; }
.grid > .empty-state { grid-column: 1 / -1; }
.empty-state { padding: 48px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Pages intérieures */
.page-hero { background: var(--tint); padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: 50%; translate: 0 -50%; width: 440px; aspect-ratio: 1; border-radius: 50%; border: 36px solid rgba(39, 72, 184, .06); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { margin-bottom: 1.6rem; font-size: .9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li + li::before { content: "/"; color: #8a91b3; margin-right: 10px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }

/* Offres */
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.offer:first-of-type { border-top: 0; }
.offer-side .badge-num { font-family: var(--serif); font-style: italic; font-size: 4.5rem; line-height: 1; color: var(--blue); }
.offer-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 1.8rem; }
.fact { background: var(--tint); border-radius: var(--radius-sm); padding: 14px 16px; }
.fact dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-weight: 650; color: var(--navy); }
.offer .h4 { margin: 1.6rem 0 .7rem; }

.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2320294a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 4px 28px; color: var(--muted); max-width: 44rem; }

/* Chronologie / valeurs */
.values { counter-reset: v; }
.value { counter-increment: v; }
.value::before { content: "0" counter(v); display: block; font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--blue); line-height: 1; margin-bottom: .6rem; }
.value p { color: var(--muted); }
.team-note { display: flex; gap: 20px; align-items: center; padding: 28px 32px; border-radius: var(--radius); background: var(--tint); border: 1.5px dashed #b9c0dc; }
.team-note .icon-badge { margin: 0; flex: none; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.job h3 { margin-bottom: .2em; }
.job p { margin: 0; color: var(--muted); }

/* Formulaires */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 650; color: var(--navy); font-size: .98rem; }
.field .req { color: #b3261e; margin-left: 2px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border: 1.5px solid #aeb5d0; border-radius: var(--radius-sm); font: inherit; color: var(--navy); background: #fff; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 160px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-700); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(59, 108, 240, .25); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #b3261e; }
.error { color: #b3261e; font-size: .92rem; font-weight: 600; display: none; }
.field.has-error .error { display: flex; align-items: center; gap: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.check label { font-weight: 400; font-size: .95rem; color: var(--muted); }
.form-status { padding: 18px 20px; border-radius: var(--radius-sm); background: #d3f3e5; color: #00432d; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #fde7e5; color: #7d1a14; }
.aside-card { background: var(--tint); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.aside-card + .aside-card { margin-top: 20px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--blue); width: 1.5em; height: 1.5em; margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); }

/* Auto-diagnostic */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.quiz-top { padding: 22px clamp(20px, 3.5vw, 40px) 0; }
.progress-meta { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 650; color: var(--muted); margin-bottom: 10px; }
.progress { height: 8px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transition: width .4s var(--ease); }
.quiz-body { padding: clamp(24px, 4vw, 48px); }
.quiz-dim { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .8rem; }
.quiz h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: 1.4rem; }
.quiz fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz legend { padding: 0; }
.answers { display: grid; gap: 12px; }
.answer-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.answer-opt label { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .18s var(--ease); background: #fff; }
.answer-opt label::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid #9aa2c4; transition: all .18s; }
.answer-opt label:hover { border-color: var(--navy-700); background: var(--tint); }
.answer-opt input:checked + label { border-color: var(--blue); background: var(--blue-50); }
.answer-opt input:checked + label::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 45%, transparent 50%); }
.answer-opt input:focus-visible + label { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 2rem; flex-wrap: wrap; }
.quiz-nav .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.result[hidden], .quiz-step[hidden] { display: none; }
.score-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 2.4rem; }
.gauge { position: relative; width: 220px; height: 220px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 16; }
.gauge .track { stroke: var(--tint-2); }
.gauge .bar { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 534; stroke-dashoffset: 534; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge .num strong { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--navy); }
.gauge .num span { font-size: .85rem; color: var(--muted); font-weight: 650; }
.level-name { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); color: var(--navy); margin: 0 0 .4rem; }
.dims { display: grid; gap: 18px; margin: 0 0 2.4rem; }
.dim-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px; gap: 16px; align-items: center; }
.dim-row .label { font-weight: 650; color: var(--navy); }
.dim-row .meter { height: 12px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.dim-row .meter span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .9s var(--ease); }
.dim-row .meter span.low { background: var(--gold-600); }
.dim-row .val { font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.reco { display: grid; gap: 14px; margin-bottom: 2rem; }
.reco-item { padding: 20px 24px; border-radius: var(--radius); background: var(--tint); }
.reco-item h3 { font-size: 1.2rem; margin-bottom: .3em; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
.reco-item p { margin: 0; color: var(--muted); }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { font-size: .9rem; color: var(--muted); }
.fineprint--mt { margin-top: 1.4rem; }

/* Texte juridique */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.todo { background: #fff4d6; padding: .05em .35em; border-radius: 4px; color: #5c3d00; font-weight: 600; }

/* Bandeau d'appel à l'action */
.cta-band { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -140px; top: 50%; translate: 0 -50%; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .04); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-inner h2 { color: #fff; margin-bottom: .4em; max-width: 20ch; }
.cta-inner p { margin: 0; max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* Pied de page */
.site-footer { background: var(--navy); color: #cfd5ec; padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 217px; height: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 24rem; color: #aab3d6; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #e5e9f8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex !important; gap: 10px !important; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); transition: all .2s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #aab3d6; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Page 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; text-align: left; }
.notfound .big { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 20vw, 14rem); line-height: .9; color: var(--blue); margin: 0; }

/* ---------- Animations d'apparition (ajoutées par JS uniquement) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1119px) {
  :root { --header-h: 68px; }
  .brand img { width: 180px; }
  .menu-btn { display: inline-flex; }
  .primary-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; margin: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; background: #fff; overflow-y: auto; padding: 12px clamp(20px, 4vw, 48px) 32px; }
  body.nav-open .primary-nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link, .nav-item:not(.has-mega) .nav-link { flex: 1; padding: 18px 0; font-size: 1.15rem; font-family: var(--serif); }
  .nav-link::after { display: none; }
  .nav-toggle { width: 48px; height: 48px; margin: 0; }
  .mega { position: static; flex-basis: 100%; box-shadow: none; border: 0; animation: none; }
  .mega .container { padding-inline: 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 8px; padding-block: 0 16px; }
  .mega-intro { display: none; }
  .nav-actions { flex-direction: row-reverse; justify-content: space-between; }
  .nav-actions .btn { flex: 1; }
  .hero-inner, .tabs, .finder, .offer, .form-layout, .cta-inner { grid-template-columns: 1fr; }
  .rings { width: min(70%, 320px); margin-inline: 0; }
  .hero-inner { padding-block: 48px 64px; }
  .cta-actions { justify-content: flex-start; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: 1fr; }
  .score-wrap { grid-template-columns: 1fr; justify-items: start; }
  .dim-row { grid-template-columns: 1fr 44px; }
  .dim-row .meter { grid-column: 1 / -1; grid-row: 2; }
  .job { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-note { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .quiz-nav .btn { flex: 1; }
  .weeks span { height: 32px; font-size: .7rem; }
}

@media (max-width: 380px) {
  .brand img { width: 150px; }
  .header-inner { gap: 12px; }
}
.form-layout > *, .hero-inner > *, .offer > *, .finder > *, .tabs > *, .cta-inner > * { min-width: 0; }

/* ==========================================================================
   v2 — plus de couleurs, plus de mouvement (même concept : mesurer, prioriser,
   décider, transmettre). Tout mouvement est coupé si l'utilisateur le demande.
   ========================================================================== */
:root {
  --teal: #0fb5a6; --teal-700: #0a7468; --teal-50: #e2f7f4;
  --coral: #ff6b57; --coral-700: #b83a28; --coral-50: #ffede9;
  --violet-700: #5b34d6; --violet-50: #efeaff;
  --gold-50: #fff4d6; --gold-700: #8a5a00;
  --grad-brand: linear-gradient(120deg, #3b6cf0, #7c4dff 55%, #ff6b57);
  --grad-cool: linear-gradient(120deg, #3b6cf0, #0fb5a6);
}
/* Une couleur par dimension : mesure = turquoise, priorités = bleu, décision = corail, équipe = violet */
[data-c="blue"] { --c: #3b6cf0; --c-50: var(--blue-50); --c-700: var(--blue); }
[data-c="teal"] { --c: var(--teal); --c-50: var(--teal-50); --c-700: var(--teal-700); }
[data-c="coral"] { --c: var(--coral); --c-50: var(--coral-50); --c-700: var(--coral-700); }
[data-c="violet"] { --c: var(--violet); --c-50: var(--violet-50); --c-700: var(--violet-700); }
[data-c="gold"] { --c: var(--gold); --c-50: var(--gold-50); --c-700: var(--gold-700); }

@view-transition { navigation: auto; }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 130; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--blue-bright); transform: scaleX(0); transform-origin: left; }

/* Boutons : reflet au survol */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-130%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(130%); }

/* ---------- Héros ---------- */
.hero { background: radial-gradient(1100px 560px at 82% 18%, rgba(59, 108, 240, .22), transparent 62%), linear-gradient(180deg, #20294a 0%, #161c3a 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 36C240 72 470 6 720 28s480 40 720 4V64H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.hero-inner { z-index: 1; padding-bottom: clamp(88px, 11vw, 150px); }
.hero h1 em { padding-right: .06em; }
.rotator span { color: var(--gold); }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.18em; line-height: 1.18; }
.rotator span { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .7s; }
.rotator span.is-active { transform: none; opacity: 1; }
.rotator span.is-leaving { transform: translateY(-105%); opacity: 0; }
.hero-actions .btn-gold { box-shadow: 0 10px 30px rgba(232, 179, 76, .35); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; color: #e5e9f8; }
.hero-trust i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }

.rings { overflow: visible; }
.rings .ring { stroke: rgba(255, 255, 255, .2); }
.rings .ring--dash { stroke-dasharray: 3 11; stroke: rgba(255, 255, 255, .38); transform-origin: 250px 250px; animation: spin 90s linear infinite; }
.rings .ring--strong { stroke: rgba(255, 255, 255, .88); stroke-width: 14; }
.rings .orbit--a { animation-duration: 44s; }
.rings .orbit--b { animation-duration: 30s; animation-direction: reverse; }
.rings .orbit--c { animation-duration: 21s; }
.rings .orbit--d { animation-duration: 13s; animation-direction: reverse; }
.rings .dot-teal { fill: #ffd479; } .rings .dot-coral { fill: #ffffff; } .rings .dot-violet { fill: #9bb8ff; } .rings .dot-blue { fill: #9bb8ff; }
.rings .dot-gold { transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.28); } }
.chip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 650; font-size: .92rem; backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(8, 12, 36, .35); animation: floaty 7s ease-in-out infinite; }
.chip-float i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.chip-float--1 { top: 6%; left: -2%; } .chip-float--2 { top: 20%; right: -4%; animation-delay: -2s; } .chip-float--3 { bottom: 12%; left: -6%; animation-delay: -4s; } .chip-float--4 { bottom: 0; right: 6%; animation-delay: -1s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ---------- Bandeau défilant ---------- */

/* ---------- Cartes colorées (principes, valeurs) ---------- */
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0), var(--c-50, var(--blue-50)), transparent 72%); }
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; }
.principle-card { border-color: var(--line); background: #fff; }
.principle-card:hover { border-color: #c9d1ec; transform: translateY(-6px); box-shadow: 0 18px 44px rgba(20, 26, 51, .1); }
.principle-card .icon-badge { background: var(--c-50); color: var(--c-700); width: 60px; height: 60px; border-radius: 18px; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.principle-card:hover .icon-badge { transform: rotate(-8deg) scale(1.1); background: var(--c-700); color: #fff; }
.principle-card .icon-badge .icon { width: 30px; height: 30px; }
.principle-card .n { font: italic 500 .95rem var(--serif); color: var(--muted); letter-spacing: .08em; margin-bottom: .6rem; display: block; }
.principle-card h3 { margin-bottom: .35em; }
.principle-card p { color: var(--muted); }

/* ---------- Section « pilotage » : graphique animé ---------- */
.section--soft { background: linear-gradient(180deg, #f4f6fc, #eef2fb); position: relative; overflow: hidden; }
.section--soft::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -200px; top: -200px; border-radius: 50%; border: 60px solid rgba(39, 72, 184, .045); animation: spin 120s linear infinite; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; }
.split ul { margin-top: 1.4rem; }
.chart-card { margin: 0; background: #fff; border-radius: 22px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 24px 60px rgba(40, 52, 120, .16); border: 1px solid rgba(255, 255, 255, .8); }
.chart { width: 100%; height: auto; display: block; }
.chart .grid-l { stroke: #e6e9f4; stroke-width: 1; }
.chart .target { stroke: #c58a1a; stroke-width: 2; stroke-dasharray: 6 6; }
.chart .curve { fill: none; stroke: url(#cg); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: url(#ag); }
.chart .dots circle { fill: #fff; stroke: #3b6cf0; stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.chart .dots .ms { fill: var(--gold); stroke: #fff; stroke-width: 3; }
.chart .flag { stroke: #98a0c4; stroke-width: 1.5; stroke-dasharray: 4 5; }
.chart .dots circle:nth-child(2) { --i: 1; } .chart .dots circle:nth-child(3) { --i: 2; } .chart .dots circle:nth-child(4) { --i: 3; } .chart .dots circle:nth-child(5) { --i: 4; } .chart .dots circle:nth-child(6) { --i: 5; } .chart .dots circle:nth-child(7) { --i: 6; } .chart .dots circle:nth-child(8) { --i: 7; } .chart .dots circle:nth-child(9) { --i: 8; } .chart .dots circle:nth-child(10) { --i: 9; } .chart .dots circle:nth-child(11) { --i: 10; } .chart .dots circle:nth-child(12) { --i: 11; }
.chart .lbl { font: 600 13px var(--sans); fill: #2b3150; }
.chart .lbl--muted { fill: #565d7c; font-weight: 500; }
.chart .lbl--coral { fill: var(--gold-700); }
.chart .tag rect { fill: #fff; stroke: #e1e4ee; }
.chart-cap { margin: 12px 4px 0; font-size: .88rem; color: var(--muted); }
.anim:not(.is-in) .curve { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .curve { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.anim:not(.is-in) .area { opacity: 0; } .anim .area { transition: opacity 1.4s ease 1.2s; }
.anim:not(.is-in) .target { stroke-dashoffset: 400; } .anim .target { transition: stroke-dashoffset 1.6s ease; stroke-dashoffset: 0; }
.anim:not(.is-in) .dots circle { transform: scale(0); } .anim .dots circle { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i, 0) * 170ms + .5s); }
.anim:not(.is-in) .tag, .anim:not(.is-in) .flag { opacity: 0; } .anim .tag, .anim .flag { transition: opacity .6s ease 2.2s; }

/* ---------- Chiffres clés ---------- */
.section--aurora { color: #fff; position: relative; overflow: hidden; background: linear-gradient(180deg, #20294a, #171d3c); }
.section--aurora h2 { color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 2rem; }
.kpi { padding: 26px 24px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: transform .35s var(--ease), background-color .3s; }
.kpi:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .12); }
.kpi strong { display: block; font: 500 clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--serif); color: #f0c26a; }
.kpi span { display: block; margin-top: .5rem; color: #d3d9f0; }

/* ---------- Onglets colorés ---------- */
.tab[data-c] .n { background: var(--c-50); color: var(--c-700); }
.tab[data-c]:hover { border-color: var(--c); }
.tab[data-c][aria-selected="true"] { background: var(--c-700); border-color: var(--c-700); }
.tab[data-c][aria-selected="true"] .n { background: #fff; color: var(--c-700); }
.tab[data-c][aria-selected="true"] small { color: rgba(255, 255, 255, .85); }
.tabpanel[data-c] { position: relative; overflow: hidden; border-color: var(--c-50); }
.tabpanel[data-c]::before { content: ""; position: absolute; width: 320px; aspect-ratio: 1; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, var(--c-50), transparent 70%); pointer-events: none; }
.tabpanel[data-c] > * { position: relative; }
.tabpanel[data-c] h3 { color: var(--c-700); }
.tabpanel .weeks span.on { background: var(--c-700); }
.tabpanel .weeks span { animation: weekin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes weekin { from { opacity: 0; transform: translateY(10px) scale(.8); } }
.tabpanel .ticks .icon { color: var(--c-700); }
.weeks-legend i { background: var(--c-700); }

/* ---------- Routeur, perspectives, appel à l'action ---------- */
.finder-result { background: var(--navy); }
.finder-result > div { position: relative; z-index: 1; animation: fade-up .45s var(--ease); }
.insight-art::before { animation: spin 60s linear infinite; }
.insight-art::after { animation: spin 40s linear infinite reverse; }
.insight-art .icon { transition: transform .5s var(--ease); }
.insight:hover .insight-art .icon { transform: scale(1.18) rotate(-6deg); }
.cta-band { background: linear-gradient(135deg, #20294a, #141a33); }
.cta-band::before { animation: spin 90s linear infinite; border-color: rgba(255, 255, 255, .07); }
.pop { animation: popin .5s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ---------- Pages intérieures ---------- */
.page-hero { background: var(--tint); }
.page-hero::after { animation: spin 100s linear infinite; }
.offer[data-c] .badge-num { color: var(--c-700); }
.offer[data-c] .fact { background: var(--c-50); }
.offer[data-c] .ticks .icon { color: var(--c-700); }
.offer[data-c] .btn-navy { background: var(--c-700); border-color: var(--c-700); }
.value[data-c]::before { color: var(--c-700); }
.value[data-c] { border-color: var(--c-50); }
.value[data-c]:hover { border-color: var(--c); transform: translateY(-5px); }

/* ---------- Entrées au défilement (variantes) ---------- */
.reveal-left { transform: translateX(-34px); } .reveal-right { transform: translateX(34px); } .reveal-zoom { transform: scale(.92); }

/* ---------- Auto-diagnostic ---------- */
.q-in { animation: slidein .45s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(26px); } }
.quiz-dim[data-c] { color: var(--c-700); background: var(--c-50); padding: .2rem .8rem; border-radius: 99px; }
.dim-row .meter span { background: var(--c, var(--blue)); }
.dim-row .label { color: var(--c-700); }
.gauge .bar { stroke: url(#gg); }
.progress > span { background: var(--blue); }

@media (max-width: 1119px) {
  .split { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip-float--2 { right: 0; } .chip-float--1, .chip-float--3 { left: 0; }
}
@media (max-width: 680px) {
  .blob { filter: blur(50px); }
  .chip-float { font-size: .8rem; padding: 6px 12px 6px 9px; }
  .chip-float--3, .chip-float--4 { display: none; }
  .kpis { gap: 10px; } .kpi { padding: 18px 16px; }
  .hero-trust li { font-size: .82rem; }
}

/* ---------- Préférences d'accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  .rotator span:not(:first-child) { display: none; }
  .rotator span:first-child { transform: none; opacity: 1; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .btn, .tab, .filter, .chip label, .answer-opt label { border: 2px solid ButtonText; }
  .tab[aria-selected="true"], .filter[aria-pressed="true"] { outline: 3px solid Highlight; }
}
@media print {
  .site-header, .cta-band, .site-footer, .search-dialog, .skip-link, .hero .rings, .quiz-nav, .result-actions { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .section, .page-hero { padding-block: 16pt; background: none !important; }
}
