/* ═══════════════════════════════════════════════════════════════════════
   LDV Movers — feuille de style
   Palette tirée du logo : violet des cubes, lime du chariot, scène charbon.
   Titres Quicksand (la police du logo), texte Figtree.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --violet:       #7b3fa8;   /* violet lisible sur fond sombre */
  --violet-deep:  #5b1a80;
  --violet-ink:   #380070;
  --lime:         #a6f000;
  --lime-soft:    #8fd400;
  --bg:           #0f0d14;
  --bg-2:         #171320;
  --bg-3:         #1f1a2b;
  --ink:          #f4effb;
  --ink-2:        #cfc4de;
  --muted:        #9a8fb0;
  --line:         rgba(255, 255, 255, .09);
  --line-strong:  rgba(255, 255, 255, .18);
  --on-lime:      #0f0d14;
  --focus:        #a6f000;
  --stage-glow:   radial-gradient(60% 55% at 50% 60%, rgba(123, 63, 168, .35), transparent 70%);
  --shadow-lg:    0 30px 80px rgba(0, 0, 0, .55);
  --r:            14px;
  --r-pill:       999px;
  --topbar-h:     72px;
  --font-title:   'Quicksand', 'Trebuchet MS', sans-serif;
  --font-text:    'Figtree', 'Segoe UI', system-ui, sans-serif;
  --ease-out:     cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --violet:       #5b1a80;
  --violet-deep:  #4a1268;
  --violet-ink:   #380070;
  --lime:         #8fd400;
  --lime-soft:    #7cbd00;
  --bg:           #f6f3fb;
  --bg-2:         #ffffff;
  --bg-3:         #ece6f6;
  --ink:          #1d1330;
  --ink-2:        #3b2d52;
  --muted:        #6b6180;
  --line:         rgba(56, 0, 112, .10);
  --line-strong:  rgba(56, 0, 112, .22);
  --on-lime:      #1d1330;
  --focus:        #5b1a80;
  --stage-glow:   radial-gradient(60% 55% at 50% 60%, rgba(143, 212, 0, .18), transparent 70%);
  --shadow-lg:    0 30px 80px rgba(56, 0, 112, .18);
  color-scheme: light;
}

/* ─── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .35s, color .35s;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--lime); color: var(--on-lime);
  border-radius: var(--r-pill); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ─── Boutons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; line-height: 1.2;
  transition: transform .18s var(--ease-out), background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--lime); color: var(--on-lime); }
.btn--primary:hover { background: var(--lime-soft); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--lime); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }

/* ─── Barre du haut ────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; }
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.brand__name span { color: var(--lime); }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--bg-3); color: var(--ink); }

.topbar__tools { display: flex; align-items: center; gap: 8px; }

/* Langue */
.lang { position: relative; }
.lang__button {
  height: 40px; padding: 0 12px; border-radius: var(--r-pill);
  background: transparent; border: 2px solid var(--line-strong);
  font-family: var(--font-title); font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: border-color .2s;
}
.lang__button:hover, .lang__button[aria-expanded="true"] { border-color: var(--lime); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  transition: opacity .18s, transform .18s var(--ease-out);
}
.lang__menu.is-closed { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.lang__option {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
}
.lang__option:hover, .lang__option:focus { background: var(--bg-3); outline: none; }
.lang__option[aria-selected="true"] { color: var(--lime); font-weight: 600; }
.lang__code { font-family: var(--font-title); font-weight: 700; font-size: .85rem; color: var(--muted); }

/* Thème */
.theme {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 2px solid var(--line-strong); cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, transform .3s var(--ease-out);
}
.theme:hover { border-color: var(--lime); transform: rotate(20deg); }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme__moon { display: none; }
:root[data-theme="light"] .theme__sun { display: none; }
:root[data-theme="light"] .theme__moon { display: block; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

[hidden] { display: none !important; }

.drawer {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 49;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.drawer a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.drawer a:hover { background: var(--bg-3); }
.drawer .btn { margin-top: 8px; justify-content: center; }

@media (max-width: 960px) {
  .nav, .topbar__cta { display: none; }
  .burger { display: flex; }
}

/* ─── Mise en page ─────────────────────────────────────────────────── */
main { display: block; }
.section {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(16px, 4vw, 40px);
}
.section__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head p { font-size: 1.12rem; color: var(--ink-2); margin: 0; }

/* ─── Hero : le film ouvre, puis rend la place au logo ────────────────
   Même principe que bspaysagiste.lu. Sur grand écran le film démarre au
   centre, agrandi ; quand il se termine il glisse dans sa colonne et le
   titre entre. Le film finit sur le logo : à cet instant, le logo en
   calques prend sa place au pixel près et se laisse pousser à la souris.
   Rien ne peut bloquer le visiteur — voir intro.js. */
.hero {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: calc(var(--topbar-h) + clamp(20px, 5vh, 48px)) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0 -50vw; z-index: 0;
  background: var(--stage-glow); pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

/* ── Le titre attend le film, puis entre ── */
.hero__copy { max-width: 42ch; }
.hero h1 { font-size: clamp(2.1rem, 3.5vw, 3.2rem); }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }

.hero--intro .hero__copy { opacity: 0; pointer-events: none; transform: translateX(-24px); }
.hero--done .hero__copy { opacity: 1; transform: none; transition: opacity .9s .35s, transform 1s .35s var(--ease-out); }

/* ── Le cadre du film ── */
.hero__film {
  position: relative;
  transform: translate(var(--film-x, 0px), var(--film-y, 0px)) scale(var(--film-scale, 1));
  transform-origin: center;
  transition: transform 1.2s var(--ease-out);
}
/* Pendant l'intro le cadre est agrandi jusqu'à couvrir l'écran (intro.js
   calcule le décalage et l'échelle). Il passe au-dessus de tout, sans
   transition : la seule glissade animée est celle du retour. */
.hero--intro .hero__film { transition: none; z-index: 120; }
.hero--intro .film { border-radius: 0; box-shadow: none; }
.hero--intro .film__shadow { opacity: 0; }

/* Le noir derrière le film : l'écran est à lui pendant douze secondes. */
.film__backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: #05040a;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
.hero--intro .film__backdrop { opacity: 1; visibility: visible; }

/* Les boutons ne grandissent pas avec le cadre, et ils restent au bord de
   l'écran — pas au bord du cadre, qui déborde. intro.js fournit les deux. */
.hero--intro .film__controls {
  top: var(--pad-b, 12px); right: var(--pad-r, 12px);
  transform: scale(var(--film-inv, 1)); transform-origin: top right;
  transition: opacity .4s, border-color .2s;     /* l'échelle suit le cadre : elle ne s'anime pas */
}
.hero--intro .film__skip {
  bottom: var(--pad-b, 14px); right: var(--pad-r, 14px);
  transform: scale(var(--film-inv, 1)); transform-origin: bottom right;
  transition: opacity .4s, border-color .2s;
}

.film {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 20px; background: #05040a;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), border-radius .9s var(--ease-out), box-shadow .9s var(--ease-out);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.film::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 60px rgba(123, 63, 168, .18);
}
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__shadow {
  position: absolute; left: 10%; right: 10%; bottom: -26px; height: 50px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.6), transparent 70%);
  filter: blur(10px); z-index: -1;
}
:root[data-theme="light"] .film__shadow { background: radial-gradient(50% 50% at 50% 50%, rgba(56,0,112,.3), transparent 70%); }

/* ── Le logo en calques, posé exactement là où le film le laisse ──
   Les chiffres viennent du cadrage de tools/build-assets.py : la zone
   (600,330)→(7200,3620) de la scène 8K, ramenée en % de l'image. */
.stage {
  position: absolute;
  left: 7.8125%; top: 7.6389%; width: 85.9375%; height: 76.1574%;
  perspective: 1200px; transform-style: preserve-3d;
  opacity: 0; transition: opacity .8s var(--ease-out);
  pointer-events: none;
}
.hero--done .stage { opacity: 1; }
.stage__static, .stage__layer { position: absolute; }
.stage__static { inset: 0; width: 100%; height: 100%; }
.stage__layer { will-change: transform; }
.stage__layer img { width: 100%; height: 100%; }

/* ── Les boutons du film ── */
.film__controls { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.film__btn {
  width: 40px; height: 40px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(10, 8, 18, .55); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s, border-color .2s, opacity .3s;
}
.film__btn:hover { border-color: var(--lime); background: rgba(10, 8, 18, .8); }
.film__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.film__btn .ic-speaker { fill: currentColor; stroke: none; }
.film__btn .ic-wave { display: none; }
.film__btn[aria-pressed="true"] .ic-wave { display: block; }
.film__btn[aria-pressed="true"] .ic-mute { display: none; }
.film__replay { opacity: 0; pointer-events: none; }
.hero--done .film__replay { opacity: 1; pointer-events: auto; }

.film__skip {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  padding: 9px 15px; border-radius: var(--r-pill); cursor: pointer;
  background: rgba(10, 8, 18, .55); border: 1px solid rgba(255, 255, 255, .24); color: #fff;
  font-size: .82rem; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .4s, border-color .2s;
}
.film__skip:hover { border-color: var(--lime); }
.hero.skip-ready .film__skip { opacity: 1; }
.hero:not(.hero--intro) .film__skip { transform: none; }
.hero--done .film__skip { opacity: 0; visibility: hidden; pointer-events: none; }

/* Pendant l'intro, la page ne défile pas derrière le film. */
html.intro-pending, html.intro-pending body { overflow: hidden; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: clamp(20px, 4vw, 32px); }
  .hero__film { order: -1; }
  .hero__copy { max-width: 30ch; }
  .hero h1 { font-size: clamp(2.2rem, 7.4vw, 3.2rem); }
  .film { border-radius: 16px; }
}
@media (max-width: 560px) {
  .hero__copy { max-width: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .film__skip { right: 10px; bottom: 10px; }
  .film__controls { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__film { transform: none !important; }
  .hero__copy { opacity: 1 !important; transform: none !important; }
}

/* ─── Services : des bandes, pas des cartes ───────────────────────── */
.services { padding-top: clamp(32px, 5vw, 64px); }
.service {
  display: grid;
  grid-template-columns: 56px 1fr 260px auto;
  gap: 24px 32px; align-items: start;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__chevron {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--violet-deep);
  display: grid; place-items: center; margin-top: 2px;
  transition: transform .3s var(--ease-out);
}
.service__chevron::after {
  content: ''; width: 12px; height: 12px;
  border-right: 4px solid var(--lime); border-top: 4px solid var(--lime);
  border-radius: 2px; transform: translateX(-2px) rotate(45deg);
}
.service:hover .service__chevron { transform: translateX(6px); }
.service__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: .4em; }
.service__body p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.service__list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .97rem; }
.service__list li { display: flex; gap: 10px; align-items: baseline; }
.service__list li::before { content: ''; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--lime); border-top: 2.5px solid var(--lime); transform: translateY(-1px) rotate(45deg); }
.service__cta { align-self: center; }

@media (max-width: 960px) {
  .service { grid-template-columns: 44px 1fr; }
  .service__list { grid-column: 2; }
  .service__cta { grid-column: 2; justify-self: start; }
}

/* ─── La route (comment ça se passe) ───────────────────────────────── */
.road { position: relative; padding-top: 56px; }
.road__line {
  position: absolute; left: 0; right: 0; top: 22px; height: 4px;
  background: var(--line-strong); border-radius: 4px; overflow: hidden;
}
.road__progress { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 4px; }
.road__truck {
  position: absolute; left: 0; top: 0; width: 64px; height: 40px;
  transform: translate(-50%, 0);
}
.road__truck-body { fill: var(--violet-deep); }
.road__truck-wheel { fill: var(--lime); }
.road__truck-chev { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.step { position: relative; padding-top: 6px; }
.step__n {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-title); font-weight: 700;
  background: var(--bg-3); color: var(--ink); border: 2px solid var(--line-strong);
  margin-bottom: 14px;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.step.is-reached .step__n { background: var(--lime); color: var(--on-lime); border-color: var(--lime); transform: scale(1.08); }
.step h3 { font-size: 1.2rem; margin-bottom: .35em; }
.step p { margin: 0; color: var(--ink-2); font-size: .98rem; }

@media (max-width: 800px) {
  .road { padding: 0 0 0 48px; }
  .road__line { left: 18px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .road__progress { width: 100%; height: 0; }
  .road__truck { left: 20px; top: 0; transform: translate(-50%, -50%) rotate(90deg); }
  .steps__list { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── Pourquoi ─────────────────────────────────────────────────────── */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.why__item { max-width: 46ch; }
.why__item h3 { font-size: 1.35rem; }
.why__item p { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { .why__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ─── Devis ────────────────────────────────────────────────────────── */
.quote {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.quote__intro { position: sticky; top: calc(var(--topbar-h) + 24px); }
.quote__intro p { font-size: 1.12rem; color: var(--ink-2); max-width: 40ch; }
.contact { margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
.contact__row dt { color: var(--muted); font-size: .92rem; }
.contact__row dd { margin: 0; font-weight: 500; }
.contact__row a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact__row a:hover { border-bottom-color: var(--lime); }

.form {
  position: relative;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 600; font-size: .95rem; }
.field small { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 25%, transparent);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff6b6b; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lime); flex: none; }
.nope { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.form__status { margin: 0; font-size: .95rem; color: var(--ink-2); min-height: 1.4em; }
.form__status.is-error { color: #ff6b6b; }
:root[data-theme="light"] .form__status.is-error { color: #b3261e; }

.form__done {
  position: absolute; inset: 0; border-radius: 24px;
  background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 32px; gap: 8px;
}
.form__done[hidden] { display: none; }
.form__done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin-bottom: 8px; }
.form__done-mark::after { content: ''; width: 18px; height: 30px; border-right: 5px solid var(--violet-ink); border-bottom: 5px solid var(--violet-ink); transform: translateY(-4px) rotate(45deg); border-radius: 2px; }
.form__done p { max-width: 40ch; color: var(--ink-2); }
.form__ref strong { font-family: var(--font-title); color: var(--lime); font-size: 1.2rem; letter-spacing: .04em; }
.form__done .btn { margin-top: 12px; }

@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; }
  .quote__intro { position: static; }
}
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .field--full, .form__grid > * { grid-column: auto; }
}

/* ─── Pied de page ─────────────────────────────────────────────────── */
.footer {
  max-width: 1180px; margin: 0 auto;
  padding: 40px clamp(16px, 4vw, 40px) 48px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  color: var(--ink-2); font-size: .95rem;
}
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand div { display: flex; flex-direction: column; }
.footer__brand strong { color: var(--ink); font-family: var(--font-title); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a, .footer__links button { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); font-size: .95rem; }
.footer__links a:hover, .footer__links button:hover { border-bottom-color: var(--lime); }
.footer__credit { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .88rem; }
.footer__credit a { color: var(--ink-2); }
@media (max-width: 720px) { .footer { grid-template-columns: 1fr; } }

/* ─── Modales ──────────────────────────────────────────────────────── */
.modal {
  width: min(640px, calc(100vw - 32px));
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-2); color: var(--ink);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(8, 5, 16, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal h2 { font-size: 1.6rem; margin-top: 0; padding-right: 40px; }
.modal p { color: var(--ink-2); }
.modal p:last-child { margin-bottom: 0; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg-3); color: var(--ink); font-size: 1.5rem; line-height: 1;
}
.modal > form { margin: 0; }

/* ─── Révélations au scroll (seulement quand le JS est là) ─────────── */
html.js .why__item { opacity: 0; transform: translateY(18px); }
html.js .why__item.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html.js .why__item { opacity: 1; transform: none; }
}
