/* ==========================================================================
   SCPE Crésus — maquette. Charte graphique CRÉSUS 2025 :
   Raleway uniquement (titres ExtraBold, sous-titres Bold, corps Medium),
   texte en bleu nuit (jamais de noir), jaune or par touches,
   bleu lapis-lazuli en grands fonds structurants.
   ========================================================================== */

@font-face { font-family: "Raleway"; font-weight: 300; font-display: swap; src: url("../fonts/Raleway-Light.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 500; font-display: swap; src: url("../fonts/Raleway-Medium.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 600; font-display: swap; src: url("../fonts/Raleway-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 700; font-display: swap; src: url("../fonts/Raleway-Bold.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-weight: 800; font-display: swap; src: url("../fonts/Raleway-ExtraBold.woff2") format("woff2"); }

:root {
  /* Couleurs principales */
  --nuit: #081343;
  --or: #ffbe34;
  --lapis: #004a91;
  /* Couleurs secondaires */
  --brume: #eaeef8;
  --ciel: #89b1d2;
  --anthracite: #3c4446;
  /* Dérivés (teintés depuis la charte, jamais de gris neutre ni de noir) */
  --nuit-70: rgb(8 19 67 / 0.72);
  --nuit-12: rgb(8 19 67 / 0.12);
  --blanc-72: rgb(255 255 255 / 0.78);
  --blanc-16: rgb(255 255 255 / 0.16);
  --lapis-deep: #00366b;

  --font: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 72rem;
  --shadow: 0 1px 2px rgb(8 19 67 / 0.08), 0 12px 32px -8px rgb(8 19 67 / 0.22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--nuit);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--or); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
p { margin: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose { max-width: 68ch; }
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--or); color: var(--nuit); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-or { background: var(--or); color: var(--nuit); box-shadow: 0 8px 20px -8px rgb(255 190 52 / 0.7); }
.btn-or:hover { background: #ffcb5c; }
.btn-lapis { background: var(--lapis); color: #fff; }
.btn-lapis:hover { background: var(--lapis-deep); }
.btn-ligne { border-color: currentColor; background: transparent; }
.btn-ligne:hover { background: var(--blanc-16); }
.on-light .btn-ligne:hover { background: var(--nuit-12); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Bandeau utilitaire + en-tête ---------- */
.topbar { background: var(--nuit); color: #fff; font-size: .95rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; padding-block: .55rem; }
.topbar a { text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; text-decoration-color: var(--or); }
.topbar .tel { color: var(--or); }
.demo-flag { font-weight: 700; color: var(--or); }

.site-header { background: #fff; border-bottom: 1px solid var(--nuit-12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; }
/* Taille mini charte : 20 mm ≈ 76 px de large. */
.brand img { width: 76px; height: auto; }
.brand-txt { font-weight: 700; font-size: 1rem; line-height: 1.25; max-width: 15ch; }
.brand-txt::before { content: ""; display: block; width: 2rem; height: 4px; border-radius: 2px; background: var(--or); margin-bottom: .45rem; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: .6rem .95rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { background: var(--brume); }
.nav a[aria-current="page"] { background: var(--brume); box-shadow: inset 0 -3px 0 var(--or); border-radius: 12px 12px 4px 4px; }
.nav .cta a { background: var(--lapis); color: #fff; margin-left: .5rem; }
.nav .cta a:hover { background: var(--lapis-deep); }
.menu-btn { display: none; font: inherit; font-weight: 700; background: var(--brume); border: 0; color: var(--nuit); padding: .7rem 1.1rem; border-radius: 999px; cursor: pointer; }

/* ---------- Hero (lapis, plein cadre) ---------- */
.hero { position: relative; background: var(--lapis); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { /* motif : quatre quartiers de médaillon, évocation des mains entrelacées */
  content: ""; position: absolute; z-index: -1; right: -14rem; top: -10rem; width: 46rem; aspect-ratio: 1; border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent 0 24%, var(--blanc-16) 24% 25%, transparent 25% 49%, var(--blanc-16) 49% 50%, transparent 50% 74%, var(--blanc-16) 74% 75%, transparent 75% 99%, var(--blanc-16) 99% 100%);
  box-shadow: inset 0 0 0 2px var(--blanc-16), inset 0 0 0 5rem rgb(255 255 255 / 0.03), inset 0 0 0 5.15rem var(--blanc-16);
}
.hero::after { content: ""; position: absolute; z-index: -1; right: 6rem; top: 3rem; width: 1.1rem; aspect-ratio: 1; border-radius: 50%; background: var(--or); }
.hero .wrap { padding-block: clamp(3rem, 7vw, 6rem) clamp(7rem, 11vw, 9.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: end; }
.hero h1 em { font-style: normal; color: var(--or); }
.hero .lead { margin-top: 1.5rem; max-width: 34ch; color: var(--blanc-72); }
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-hours { margin-top: 1.1rem; font-size: 1rem; color: var(--blanc-72); }

.countdown { background: var(--nuit); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow); }
.countdown h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--ciel); }
.countdown .date { font-weight: 800; font-size: 1.35rem; margin-top: .2rem; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1.1rem; text-align: center; }
.cd-grid div { background: rgb(255 255 255 / 0.07); border-radius: 12px; padding: .8rem .2rem .6rem; }
.cd-grid b { display: block; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-grid span { font-size: .85rem; color: var(--ciel); font-weight: 700; }
.countdown p { margin-top: 1rem; font-size: .95rem; color: var(--blanc-72); line-height: 1.45; }

/* ---------- Compteurs en direct ---------- */
.live { position: relative; margin-top: -5.2rem; z-index: 2; background: linear-gradient(to bottom, transparent 5.2rem, var(--brume) 5.2rem); }
.live-card { background: #fff; color: var(--nuit); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.6rem clamp(1.2rem, 3vw, 2.2rem) 1.5rem; }
.live-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; margin-bottom: 1.1rem; }
.live-head h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: 0; display: flex; align-items: center; gap: .7rem; }
.pulse { width: .7rem; height: .7rem; border-radius: 50%; background: #1f9d6a; box-shadow: 0 0 0 0 rgb(31 157 106 / .55); animation: pulse 2.2s infinite; }
.live[data-state="degraded"] .pulse { background: var(--or); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .6rem rgb(31 157 106 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 157 106 / 0); } }
.live-meta { font-size: .95rem; color: var(--nuit-70); font-weight: 600; }
.tag-demo { display: inline-block; font-size: .8rem; font-weight: 800; background: var(--or); color: var(--nuit); border-radius: 6px; padding: .1rem .5rem; margin-left: .5rem; vertical-align: 1px; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.figures > div { padding: .3rem 1.4rem; border-left: 1px solid var(--nuit-12); }
.figures > div:first-child { border-left: 0; padding-left: 0; }
.figures dt { font-size: 1rem; font-weight: 700; color: var(--nuit-70); order: 2; }
.figures dd { margin: 0; font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.figures > div { display: flex; flex-direction: column; gap: .45rem; }
.figures small { display: block; font-weight: 500; font-size: .9rem; color: var(--nuit-70); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-brume { background: var(--brume); }
.section-nuit { background: var(--nuit); color: #fff; }
.section-lapis { background: var(--lapis); color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.kicker::before { content: ""; width: .7rem; height: .7rem; background: var(--or); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p { margin-top: 1rem; }
.on-dark .section-head p, .section-nuit .section-head p, .section-lapis .section-head p { color: var(--blanc-72); }

/* Parcours : une ligne du temps, pas des cartes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 1.15rem; right: 1.15rem; top: 1.15rem; height: 3px; background: var(--nuit); opacity: .14; }
.steps li { position: relative; padding-top: 3.6rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--or); color: var(--nuit); font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--brume); }
.steps h3 { margin-bottom: .6rem; }
.steps p { max-width: 30ch; }

/* Deux entrées */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.door h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.door ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.door li { padding-left: 1.7rem; position: relative; }
.door li::before { content: ""; position: absolute; left: 0; top: .6em; width: .9rem; height: 3px; background: var(--or); border-radius: 2px; }
.door-a { background: var(--brume); }
.door-b { background: var(--nuit); color: #fff; }
.door .btn { margin-top: auto; }

/* Réseau : une phrase, pas un mur de métriques */
.statement { font-weight: 700; font-size: clamp(1.5rem, 3.3vw, 2.5rem); line-height: 1.3; max-width: 30em; text-wrap: pretty; }
.statement mark { background: none; color: var(--or); font-weight: 800; }
.statement-foot { margin-top: 2rem; color: var(--blanc-72); max-width: 52ch; }

/* Bilan budgétaire : barres appariées */
.bilan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.pairs { display: grid; gap: 1.5rem; margin: 0; }
.pair dt { font-weight: 800; margin-bottom: .45rem; display: flex; justify-content: space-between; gap: 1rem; }
.pair dd { margin: 0; display: grid; gap: .35rem; }
.bar { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 700; }
.bar i { display: block; height: 1.05rem; border-radius: 0 6px 6px 0; width: var(--w); clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.bar.avant i { background: var(--ciel); }
.bar.apres i { background: var(--lapis); }
.bar.apres.plus i { background: var(--or); }
.pairs.in .bar i { clip-path: inset(0); }
.bar span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend { display: flex; gap: 1.4rem; font-size: .95rem; font-weight: 700; margin-top: 1.4rem; }
.legend i { display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; margin-right: .45rem; vertical-align: -1px; }
.gain { display: inline-block; margin-top: 1.5rem; background: var(--or); color: var(--nuit); font-weight: 800; padding: .5rem 1.1rem; border-radius: 999px; }
.source { margin-top: 1rem; font-size: .9rem; color: var(--nuit-70); }

/* ---------- Pages intérieures ---------- */
.page-head { background: var(--lapis); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; right: -9rem; top: -9rem; width: 28rem; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--blanc-16), inset 0 0 0 3rem rgb(255 255 255 / 0.03), inset 0 0 0 3.1rem var(--blanc-16); }
.page-head .wrap { padding-block: clamp(3rem, 6vw, 5rem); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-head .lead { margin-top: 1.2rem; max-width: 46ch; color: var(--blanc-72); }
.crumbs { font-size: .95rem; font-weight: 600; color: var(--ciel); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--nuit-12); }
.split > h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); position: sticky; top: 1.5rem; align-self: start; }
.split > h2::after { content: ""; display: block; width: 3rem; height: 4px; background: var(--or); margin-top: .8rem; border-radius: 2px; }
.list-check { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.list-check li { padding-left: 2rem; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .4em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--or); }
.list-check li::after { content: ""; position: absolute; left: .36rem; top: .62em; width: .36rem; height: .6rem; border: solid var(--nuit); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }

.levels { display: grid; gap: 0; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--nuit-12); }
.level { display: grid; grid-template-columns: 5.5rem 1fr; }
.level + .level { border-top: 1px solid var(--nuit-12); }
.level-n { background: var(--nuit); color: #fff; display: grid; place-items: center; padding: 1rem .5rem; text-align: center; font-weight: 800; line-height: 1.1; }
.level-n small { display: block; font-weight: 600; font-size: .8rem; color: var(--ciel); }
.level:nth-child(2) .level-n { background: var(--lapis); }
.level:nth-child(3) .level-n { background: var(--lapis-deep); }
.level-b { padding: 1.2rem 1.4rem; background: #fff; }
.level-b h3 { margin-bottom: .35rem; }
.level-b ul { margin: .6rem 0 0; padding-left: 1.2rem; }

.callout { background: var(--brume); border-radius: var(--radius); padding: 1.5rem 1.7rem; margin-top: 1.5rem; }
.callout.mention { background: var(--nuit); color: #fff; text-align: center; font-weight: 600; line-height: 1.55; }
.callout.mention b { color: var(--or); }
.callout h3 { margin-bottom: .5rem; }

.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--nuit-12); }
.timeline b { font-weight: 800; color: var(--lapis); }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.price > div { background: var(--brume); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.price b { display: block; font-weight: 800; font-size: 2.6rem; line-height: 1; margin-bottom: .5rem; }
.price > div:last-child { background: var(--lapis); color: #fff; }
.price > div:last-child b { color: var(--or); }

.faq details { border-top: 1px solid var(--nuit-12); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--nuit-12); }
.faq summary { font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--lapis); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; max-width: 62ch; }

.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; margin-top: 1.5rem; }
.resource { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 0; border-top: 1px solid var(--nuit-12); text-decoration: none; }
.resource:hover .r-title { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; }
.r-type { flex: none; width: 3.4rem; text-align: center; font-weight: 800; font-size: .8rem; background: var(--brume); border-radius: 8px; padding: .5rem 0; }
.r-title { font-weight: 700; display: block; line-height: 1.3; }
.r-sub { font-size: .95rem; color: var(--nuit-70); }

/* Formulaire */
.form { display: grid; gap: 1.2rem; margin-top: 1.5rem; max-width: 40rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .4rem; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; color: var(--nuit); background: #fff; border: 2px solid var(--nuit-12);
  border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ciel); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lapis); box-shadow: 0 0 0 4px rgb(0 74 145 / .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-weight: 700; font-size: .95rem; margin-top: .3rem; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; padding: .3rem 0; cursor: pointer; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; accent-color: var(--lapis); flex: none; }
.hint { font-size: .95rem; color: var(--nuit-70); }
.form-ok { background: var(--brume); border-radius: var(--radius); padding: 1.3rem 1.5rem; font-weight: 700; display: none; }
.form-ok.show { display: block; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: #fff; font-size: 1rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-block: 3.5rem 2.5rem; }
.site-footer img { width: 76px; height: auto; margin-bottom: 1rem; }
.site-footer h2 { font-size: 1rem; font-weight: 800; color: var(--or); letter-spacing: 0; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--or); }
.site-footer p { color: var(--blanc-72); }
.legal { border-top: 1px solid var(--blanc-16); padding-block: 1.2rem; font-size: .9rem; color: var(--blanc-72); }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 0; grid-template-columns: none; }

/* ---------- Apparition au scroll (contenu visible par défaut) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .hero::after { display: none; }
  .hero::before { right: -22rem; top: auto; bottom: -18rem; width: 36rem; opacity: .7; }
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 8.5rem; }
  .figures { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .figures > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .live { margin-top: -6.5rem; background: linear-gradient(to bottom, transparent 6.5rem, var(--brume) 6.5rem); }
  .bilan, .doors { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 52rem) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--nuit-12); display: none; padding: 1rem var(--gutter) 1.5rem; z-index: 20; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .cta a { margin: .5rem 0 0; text-align: center; }
  .site-header { position: relative; }
  .brand-txt { display: none; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { left: 1.15rem; right: auto; top: 1.15rem; bottom: 1.15rem; width: 3px; height: auto; }
  .steps li { padding: 0 0 0 3.6rem; min-height: 2.3rem; }
  .split { grid-template-columns: 1fr; }
  .split > h2 { position: static; }
  .resources, .price, .checks, .form .row { grid-template-columns: 1fr; }
  .level { grid-template-columns: 4rem 1fr; }
}
@media (max-width: 34rem) {
  body { font-size: 1.0625rem; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div { padding-inline: .9rem; }
  .figures > div:nth-child(odd) { padding-left: 0; }
  .cd-grid { gap: .35rem; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .topbar .wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .pairs .bar i { clip-path: inset(0); }
}
