/* ==========================================================
   POLARIS — Changement de pneu en déplacement
   DA : noir profond, typo condensée, accent bleu du logo
   ========================================================== */

:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0c0f14;
  --surface: #12161d;
  --surface-2: #181d26;
  --line: #262c36;
  --line-soft: #1b2029;
  --muted: #9aa3b1;
  --white: #f5f7fa;
  --blue: #1f7bff;          /* bleu Polaris (logo) */
  --blue-hi: #4a9bff;
  --blue-deep: #0a55c4;
  --blue-glow: rgba(31, 123, 255, .35);
  --wa: #128c4a;
  --wa-hi: #17a758;
  --ink: #0f141c;           /* texte sur carte blanche */
  --radius: 14px;
  --wrap: 1200px;
  --ff-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --ff-body: Manrope, system-ui, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 800; }
button { font: inherit; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.accent { color: var(--blue); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 800;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- Bandeau ---------- */
.topbar {
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; }
.topbar-right { display: flex; gap: 18px; color: var(--white); }
.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #2ee07a; margin-right: 8px; vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(46, 224, 122, .6); animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(46, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 224, 122, 0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line-soft); background: rgba(7, 9, 13, .9); }
.header-in { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }

.header-call {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.header-call svg { width: 16px; height: 16px; fill: var(--blue); }
.header-call:hover { border-color: var(--blue); background: #141c2a; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 800; font-size: 16px; text-decoration: none; color: #fff;
  transition: transform .2s var(--ease), box-shadow .3s, background .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-hi), var(--blue) 45%, var(--blue-deep));
  box-shadow: 0 10px 30px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(31, 123, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-xl { padding: 18px 28px; font-size: 20px; font-family: var(--ff-display); letter-spacing: .02em; font-size: 26px; }
.btn-xl svg { width: 22px; height: 22px; }
.btn-link {
  font-weight: 700; font-size: 15px; color: #cfe0ff; text-decoration: none;
  border-bottom: 1px solid rgba(207, 224, 255, .3); padding-bottom: 2px; transition: border-color .2s, color .2s;
}
.btn-link:hover { color: #fff; border-color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 64px 0 72px;
}
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 100vw); height: 900px; left: -16px; top: -320px; translate: -25% 0;
  background: radial-gradient(closest-side, rgba(31, 123, 255, .22), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 65%);
  opacity: .5;
}
.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.kicker-bar { width: 28px; height: 3px; border-radius: 3px; background: var(--blue); }
h1, h2, h3 { font-family: var(--ff-display); line-height: .95; margin: 0; }
h1 {
  font-size: clamp(56px, 8vw, 104px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase;
}
h1 .accent {
  font-style: italic;
  background: linear-gradient(100deg, #6fb0ff, var(--blue) 40%, #0f5fd6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h1-small {
  display: inline-block; margin-top: 14px;
  font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: 0; text-transform: none; color: #dfe5ee;
}
.lead { font-size: 18px; color: #c5ccd7; max-width: 520px; margin: 24px 0 32px; }
.lead strong { color: var(--white); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-proofs {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.hero-proofs li { background: var(--bg); padding: 14px 16px; display: grid; }
.hero-proofs b { font-family: var(--ff-display); font-size: 21px; letter-spacing: .01em; }
.hero-proofs span { font-size: 12.5px; color: var(--muted); }

/* ---------- Formulaire ---------- */
.card-form {
  position: relative;
  background: #fbfcfe; color: var(--ink);
  border-radius: 20px; padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 60px -10px rgba(31, 123, 255, .25);
}
.card-form::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.form-kicker { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6a7383; }
.card-form h2 { font-size: 32px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.wa-badge {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 6px 10px; border-radius: 999px; background: #e7f6ee; color: #0f7a3f;
  font-size: 12px; font-weight: 800;
}
.wa-badge svg { width: 14px; height: 14px; fill: currentColor; }

.field { margin-bottom: 16px; min-width: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field .label {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 7px;
}
.field .num { color: var(--blue); font-family: var(--ff-display); font-size: 15px; }
.field em { font-style: normal; font-size: 11px; font-weight: 600; color: #8a93a2; }
.field em.opt { color: #8a93a2; }

input[type="text"], textarea {
  width: 100%; padding: 13px 14px;
  font: 500 15px/1.4 var(--ff-body); color: var(--ink);
  background: #fff; border: 1.5px solid #dfe3ea; border-radius: 11px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 64px; }
input::placeholder, textarea::placeholder { color: #9ba3b0; }
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 123, 255, .14); }
.invalid { border-color: #e5484d !important; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12) !important; }

.input-row { display: flex; gap: 8px; }
.locate {
  flex-shrink: 0; width: 50px; border-radius: 11px; border: 1.5px solid #dfe3ea; background: #f2f6fd; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.locate svg { width: 22px; height: 22px; fill: var(--blue); }
.locate:hover { background: #e4eeff; border-color: var(--blue); }
.locate.loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hint { margin: 6px 0 0; font-size: 12px; color: #6a7383; min-height: 0; }
.hint:empty { display: none; }
.hint-link {
  background: none; border: 0; padding: 0; margin-top: 6px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px;
}

.segmented { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.field .segmented label, .field .chips label { display: block; margin: 0; cursor: pointer; }
.segmented input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: grid; place-items: center; height: 48px; border-radius: 10px;
  border: 1.5px solid #dfe3ea; background: #fff;
  font-family: var(--ff-display); font-weight: 800; font-size: 20px; color: #3a4250;
  transition: all .18s;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips span {
  display: inline-block; padding: 9px 13px; border-radius: 999px;
  border: 1.5px solid #dfe3ea; background: #fff; font-size: 13.5px; font-weight: 700; color: #3a4250;
  transition: all .18s;
}
.segmented label:hover span, .chips label:hover span { border-color: #b9c4d6; }
.segmented input:checked + span, .chips input:checked + span {
  background: var(--ink); border-color: var(--ink); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(15, 20, 28, .5);
}
.segmented input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.segmented.invalid-group span { border-color: #e5484d; }

.dim-help {
  display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: center;
  margin: -4px 0 16px; padding: 12px; border-radius: 12px; background: #f1f4f9; font-size: 13px; color: #3a4250;
}
.dim-help[hidden] { display: none; }
.dim-help p { margin: 0; }

.form-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fdeced; color: #b3242a; font-size: 13.5px; font-weight: 700; }
.btn-wa { width: 100%; padding: 16px; font-size: 17px; background: var(--wa); box-shadow: 0 10px 24px -10px rgba(18, 140, 74, .7); }
.btn-wa:hover { background: var(--wa-hi); transform: translateY(-1px); }
.form-note { margin: 12px 0 0; font-size: 12px; color: #6a7383; text-align: center; line-height: 1.5; }

/* ---------- Chiffres ---------- */
.stats { border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--ff-display); font-size: 44px; font-weight: 800; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat a { color: var(--blue-hi); text-decoration: none; font-weight: 800; }
.marquee { border-top: 1px solid var(--line-soft); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--ff-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; color: #3b4452; white-space: nowrap; }
.marquee i { color: var(--blue); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0 40px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.eyebrow {
  margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow span { color: var(--blue); }
.section h2, .zones h2, .last-call h2 { font-size: clamp(42px, 5.4vw, 68px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.section-lead { color: #b5bdc9; font-size: 17px; margin: 20px 0 0; max-width: 540px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative; overflow: hidden;
  padding: 28px 24px 26px; border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), border-color .3s;
}
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 123, 255, .14), transparent 45%);
}
.service:hover { transform: translateY(-4px); border-color: #2a3547; }
.service:hover::before { opacity: 1; }
.service-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(31, 123, 255, .1); border: 1px solid rgba(31, 123, 255, .25);
}
.service-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--blue-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: 30px 28px 28px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
}
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 38px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 0 0 6px var(--bg);
}
.step-n {
  font-family: var(--ff-display); font-size: 72px; font-weight: 900; line-height: .8; margin-bottom: 22px;
  color: transparent; -webkit-text-stroke: 1.5px #34506f;
}
.step h3 { font-size: 34px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.step p { margin: 0 0 22px; color: var(--muted); }
.step p a { color: var(--blue-hi); font-weight: 800; text-decoration: none; }
.step-tag {
  margin-top: auto; align-self: flex-start;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-hi); padding: 6px 10px; border-radius: 6px; background: rgba(31, 123, 255, .1);
}

/* Zones */
.zones {
  margin-top: 110px; padding: 100px 0;
  background: radial-gradient(900px 500px at 80% 50%, rgba(31, 123, 255, .1), transparent 70%), var(--bg-2);
  border-block: 1px solid var(--line-soft);
}
.zones-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zones .btn { margin-top: 30px; }

.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin-inline: auto; }
.radar-rings { position: absolute; inset: 0; }
.radar-rings i { position: absolute; border-radius: 50%; border: 1px dashed #2a3444; }
.radar-rings i:nth-child(1) { inset: 34%; border-style: solid; border-color: rgba(31, 123, 255, .5); background: rgba(31, 123, 255, .06); }
.radar-rings i:nth-child(2) { inset: 16%; }
.radar-rings i:nth-child(3) { inset: 0; }
.sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(31, 123, 255, .28), transparent 22%);
  animation: sweep 6s linear infinite;
  mask-image: radial-gradient(circle, #000 69%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70%);
}
@keyframes sweep { to { transform: rotate(360deg); } }

.dep {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 0;
  padding: 8px 12px; border-radius: 12px; cursor: pointer;
  background: rgba(18, 22, 29, .92); border: 1px solid var(--line); color: var(--white);
  transition: transform .25s var(--ease), border-color .2s, background .2s, box-shadow .25s;
}
.dep b { font-family: var(--ff-display); font-size: 26px; line-height: 1; font-weight: 800; }
.dep span { font-size: 10.5px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.dep:hover, .dep:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--blue); background: #0f1a2c; box-shadow: 0 10px 30px -10px var(--blue-glow);
}
.dep-75 { left: 50%; top: 50%; background: var(--blue); border-color: var(--blue-hi); padding: 14px 20px; box-shadow: 0 0 40px var(--blue-glow); }
.dep-75 b { font-size: 38px; }
.dep-75 span { color: #e3eeff; }
.dep-75:hover { background: var(--blue-hi); }
.dep-92 { left: 27%; top: 50%; }
.dep-93 { left: 60%; top: 26%; }
.dep-94 { left: 62%; top: 73%; }
.dep-95 { left: 38%; top: 7%; }
.dep-78 { left: 6%; top: 48%; }
.dep-91 { left: 36%; top: 93%; }
.dep-77 { left: 93%; top: 55%; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; }
.faq-layout .btn-link { display: inline-block; margin-top: 24px; font-family: var(--ff-display); font-size: 28px; font-weight: 800; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 50px 24px 0; font-weight: 700; font-size: 18px; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background:
    linear-gradient(var(--blue-hi), var(--blue-hi)) center/12px 2px no-repeat,
    linear-gradient(var(--blue-hi), var(--blue-hi)) center/2px 12px no-repeat,
    var(--surface-2);
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-hi); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 620px; }
.faq details p b { color: var(--white); }

/* Dernier appel */
.last-call {
  margin: 110px 0 80px; padding: 56px;
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center;
  border-radius: 28px; overflow: hidden; position: relative;
  background: radial-gradient(600px 400px at 20% 50%, rgba(31, 123, 255, .18), transparent 70%), var(--surface);
  border: 1px solid var(--line-soft);
}
.last-logo { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(31, 123, 255, .25)); }
.last-call .hero-cta { margin-top: 30px; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding: 40px 0 24px; font-size: 13.5px; color: var(--muted); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { height: 30px; width: auto; margin-bottom: 10px; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 700; color: #c5ccd7; }
.footer-links a:hover { color: var(--blue-hi); }
.copyright { margin-top: 28px !important; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; }

/* Barre mobile */
.mobile-bar { display: none; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Le haut de page s'anime en CSS pur : visible même si le JS tarde */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; }
.hero-copy .reveal:nth-child(2) { animation-delay: .08s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .16s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .24s; }
.hero-copy .reveal:nth-child(5) { animation-delay: .32s; }
.hero .card-form.reveal { animation-delay: .2s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-call { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 44px; }
  .card-form { max-width: 620px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .zones-in, .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .last-call { grid-template-columns: 1fr; padding: 40px; }
  .last-logo { max-width: 460px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .topbar-in > span:first-child { font-size: 10.5px; letter-spacing: .05em; }
  .topbar-right, .hide-sm { display: none; }
  .brand img { height: 30px; }
  .header-call span { display: none; }
  .header-call { padding: 11px; }
  .header-call svg { width: 18px; height: 18px; }
  .hero { padding: 32px 0 56px; }
  h1 { font-size: clamp(50px, 15vw, 72px); }
  .lead { font-size: 16.5px; }
  .btn-xl { width: 100%; }
  .hero-cta { gap: 16px; }
  .hero-proofs { grid-template-columns: 1fr; }
  .hero-proofs li { display: flex; justify-content: space-between; align-items: baseline; }
  .card-form { padding: 22px 18px; border-radius: 18px; }
  .card-form h2 { font-size: 28px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .dim-help { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .stat b { font-size: 34px; }
  .section { padding-top: 80px; }
  .services, .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { content: "↓"; right: auto; left: 28px; top: auto; bottom: -14px; }
  .zones { margin-top: 80px; padding: 72px 0; }
  .radar { max-width: 360px; }
  .dep { padding: 6px 9px; }
  .dep b { font-size: 20px; }
  .dep span { display: none; }
  .dep-75 span { display: block; }
  .dep-75 b { font-size: 30px; }
  .faq summary { font-size: 16.5px; padding: 20px 46px 20px 0; }
  .last-call { margin: 80px 0 56px; padding: 30px 22px; border-radius: 22px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 9, 13, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-soft);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; border-radius: 12px; text-decoration: none; font-weight: 800; color: #fff;
  }
  .mobile-bar svg { width: 19px; height: 19px; fill: currentColor; }
  .mb-call { background: var(--blue); }
  .mb-wa { background: var(--wa); }
}

/* ==========================================================
   V2 — améliorations
   ========================================================== */

/* Barre de lecture */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), #7bb6ff);
  box-shadow: 0 0 12px var(--blue-glow);
}
.clock { color: var(--white); font-variant-numeric: tabular-nums; }

/* Nav active */
.nav a.active { color: var(--white); }
.nav a.active::after { transform: scaleX(1); }

/* Pneu géant animé */
.hero-tire {
  position: absolute; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; right: -260px; top: 50%; margin-top: -360px;
  opacity: .55;
  mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}
.tire-spin { transform-origin: 200px 200px; animation: tire 40s linear infinite; }
@keyframes tire { to { transform: rotate(360deg); } }

/* Bouton XL : reflet qui passe */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite 1.5s;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Progression du formulaire */
.form-progress {
  position: relative; display: flex; align-items: center; gap: 10px;
  margin: -4px 0 18px;
}
.form-progress::before { content: ""; flex: 1; height: 4px; border-radius: 4px; background: #e8ecf2; }
.form-progress span {
  position: absolute; left: 0; top: 50%; margin-top: -2px; height: 4px; border-radius: 4px;
  width: calc(100% - 78px); transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), #52a0ff); transition: transform .45s var(--ease);
}
.form-progress.done span { background: linear-gradient(90deg, #13a155, #2ee07a); }
.form-progress em { width: 68px; text-align: right; font-style: normal; font-size: 11.5px; font-weight: 800; color: #6a7383; }
.form-progress.done em { color: #0f7a3f; }

.form-success {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 12px;
  background: #e9f8f0; border: 1px solid #bfe8d0; color: #0f5c32; font-size: 13.5px; display: grid; gap: 4px;
}
.form-success[hidden] { display: none; }
.form-success a { color: #0f7a3f; font-weight: 800; }

/* Chiffres */
.stat b span { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
.stat b { background: linear-gradient(180deg, #fff 30%, #9fb4d4); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Comparatif */
.compare {
  border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden;
  background: var(--bg-2);
}
.compare-row {
  display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; align-items: center;
  border-top: 1px solid var(--line-soft);
}
.compare-row:first-child { border-top: 0; }
.compare-row > span { padding: 20px 24px; display: flex; align-items: center; gap: 12px; min-height: 68px; }
.compare-row > span:first-child { font-weight: 700; color: var(--muted); font-size: 14.5px; }
.compare-head > span { min-height: 76px; }
.compare-head .col-them { font-family: var(--ff-display); font-weight: 800; font-size: 20px; text-transform: uppercase; color: #6c7584; }
.compare-head img { height: 30px; width: auto; }
.col-us {
  background: linear-gradient(90deg, rgba(31, 123, 255, .1), rgba(31, 123, 255, .04));
  border-inline: 1px solid rgba(31, 123, 255, .28); font-weight: 700;
}
.compare-row:last-child .col-us { box-shadow: inset 0 -2px 0 var(--blue); }
.col-them { color: #7d8594; }
.compare i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; }
.compare i.yes { background: var(--blue); color: #fff; }
.compare i.yes::before { content: "✓"; }
.compare i.no { background: #1e232c; color: #6c7584; }
.compare i.no::before { content: "✕"; }

/* Conseils sécurité */
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tip {
  position: relative; padding: 26px 24px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden;
}
.tip::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(135deg, #f5b400 0 10px, #111 10px 20px); opacity: .85;
}
.tip-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  font-family: var(--ff-display); font-weight: 900; font-size: 22px;
  background: rgba(245, 180, 0, .12); color: #f5b400; border: 1px solid rgba(245, 180, 0, .3);
}
.tip h3 { font-size: 26px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.tip p { margin: 0; color: var(--muted); font-size: 15px; }

/* Radar : pastilles qui pulsent */
.dep::before {
  content: ""; position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-hi); box-shadow: 0 0 0 0 var(--blue-glow); animation: ping-b 2.4s infinite;
}
.dep:nth-of-type(2n)::before { animation-delay: .8s; }
.dep:nth-of-type(3n)::before { animation-delay: 1.6s; }
.dep-75::before { display: none; }
@keyframes ping-b { 70% { box-shadow: 0 0 0 10px rgba(31, 123, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 123, 255, 0); } }

/* WhatsApp flottant (ordinateur) */
.fab-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px;
  box-shadow: 0 14px 34px -10px rgba(18, 140, 74, .75);
  opacity: 0; transform: translateY(20px) scale(.95); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
}
.fab-wa.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-wa:hover { background: var(--wa-hi); }
.fab-wa svg { width: 24px; height: 24px; fill: currentColor; }

@media (max-width: 1080px) {
  .tips { grid-template-columns: repeat(2, 1fr); }
  .hero-tire { width: 560px; height: 560px; right: -240px; top: 120px; margin-top: 0; opacity: .35; }
}
@media (max-width: 720px) {
  .fab-wa { display: none; }
  .hero-tire { width: 420px; height: 420px; right: -220px; top: 40px; opacity: .3; }
  .tips { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row > span:first-child { grid-column: 1 / -1; padding: 14px 16px 0; min-height: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
  .compare-head > span:first-child { display: none; }
  .compare-row > span { padding: 12px 16px 16px; min-height: 0; font-size: 14px; gap: 8px; align-items: flex-start; }
  .compare-head > span { padding: 16px; min-height: 0; }
  .compare-head .col-them { font-size: 15px; }
  .compare-head img { height: 22px; }
  .col-us { border-inline: 0; border-right: 1px solid rgba(31, 123, 255, .28); }
  .compare i { width: 18px; height: 18px; font-size: 10px; margin-top: 2px; }
}

/* ==========================================================
   V3
   ========================================================== */

/* En-tête : logo complet */
.header-in { padding: 8px 0; }
.brand { flex-shrink: 0; }
.brand img { height: 58px; width: auto; filter: drop-shadow(0 4px 14px rgba(31, 123, 255, .25)); transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.04); }

/* Hero : grand logo */
.hero { align-items: start; padding-top: 40px; }
.hero-logo { position: relative; width: min(440px, 100%); margin: 0 0 18px -14px; }
.hero-logo::before {
  content: ""; position: absolute; inset: 12% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 123, 255, .35), transparent);
  filter: blur(30px);
}
.hero-logo img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
h1 { font-size: clamp(52px, 6.6vw, 92px); }
.card-form { margin-top: 30px; }

/* Spotlight qui suit la souris */
.hero-spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 50%), rgba(31, 123, 255, .12), transparent 60%);
}
.hero:hover .hero-spot { opacity: 1; }
.hero-tire { translate: 0 var(--ty, 0); }

/* Route animée */
.road { position: relative; height: 34px; background: #0a0d12; border-top: 1px solid var(--line-soft); overflow: hidden; }
.road::before, .road::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #2a2f38; }
.road::before { top: 5px; } .road::after { bottom: 5px; }
.road span {
  position: absolute; left: 0; top: 50%; width: 200%; height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, #f1f3f6 0 46px, transparent 46px 92px); opacity: .55;
  animation: road 1.6s linear infinite;
}
@keyframes road { to { transform: translateX(-92px); } }

/* Menu burger */
.burger { display: none; }
.mnav { display: none; }

/* Pour qui */
.whos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who {
  position: relative; padding: 30px 26px; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), border-color .3s;
}
.who::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue), transparent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.who:hover { transform: translateY(-4px); border-color: #2a3547; }
.who:hover::after { transform: scaleX(1); }
.who svg { width: 44px; height: 44px; margin-bottom: 20px; fill: none; stroke: var(--blue-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who h3 { font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.who p { margin: 0; color: var(--muted); font-size: 15px; }

/* Footer enrichi */
.footer { padding-top: 64px; background: linear-gradient(180deg, transparent, #05070a); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.6fr; gap: 40px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; }
.footer h4 { margin: 0 0 16px; font-family: var(--ff-display); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { color: #c5ccd7; text-decoration: none; font-weight: 600; }
.footer-list a:hover { color: var(--blue-hi); }
.footer-cities ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.footer-cities li { padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); font-size: 12px; color: #aab2bf; }
.copyright { margin-top: 48px !important; }

@media (max-width: 1080px) {
  .whos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-form { margin-top: 0; }

  .header-call { margin-left: auto; }
  .burger {
    display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 10px;
    background: var(--surface-2); border: 1px solid var(--line); cursor: pointer;
  }
  .burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mnav {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px 16px 20px; background: rgba(7, 9, 13, .97); border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .mnav[hidden] { display: none; }
  .mnav a {
    display: flex; align-items: baseline; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line-soft);
    font-family: var(--ff-display); font-size: 28px; font-weight: 800; text-transform: uppercase; text-decoration: none;
  }
  .mnav a span { font-size: 14px; color: var(--blue); }
  .mnav a.mnav-call {
    margin-top: 16px; justify-content: center; border: 0; border-radius: 12px; background: var(--blue);
    font-family: var(--ff-body); font-size: 16px; text-transform: none; padding: 16px;
  }
}
@media (max-width: 720px) {
  .brand img { height: 46px; }
  .hero { padding-top: 20px; }
  .hero-logo { width: min(340px, 100%); margin: 0 auto 10px; }
  .kicker { justify-content: center; }
  .whos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .road { height: 26px; }
}
.footer p.copyright { margin: 48px auto 0 !important; }

/* ==========================================================
   V4 — Formulaire guidé
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.fstep.is-active { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Stepper */
.stepper { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: st; }
.stepper li { position: relative; }
.stepper button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 0 0 10px; background: none; border: 0; cursor: pointer;
  text-align: left; color: #8a93a2; font-size: 12.5px; font-weight: 800;
}
.stepper b {
  flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #eef1f6; color: #6a7383; font-size: 12px; transition: all .25s;
}
.stepper li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: #e8ecf2; }
.stepper li::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; z-index: 1;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.stepper li.is-active::before, .stepper li.is-done::before { transform: scaleX(1); }
.stepper li.is-active button { color: var(--ink); }
.stepper li.is-active b { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(31, 123, 255, .18); }
.stepper li.is-done b { background: var(--ink); color: #fff; font-size: 0; }
.stepper li.is-done b::before { content: "✓"; font-size: 12px; }
.stepper li.is-done button { color: #3a4250; }

/* Contrôles */
.btn-next { width: 100%; margin-top: 4px; background: var(--ink); padding: 15px; font-size: 16px; }
.btn-next:hover { background: #1c2533; transform: translateY(-1px); }
.btn-back { background: none; border: 0; cursor: pointer; padding: 10px 4px; font-weight: 800; font-size: 14px; color: #6a7383; }
.btn-back:hover { color: var(--ink); }
.step-nav { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.step-nav .btn-next { margin: 0; }
.alt-send { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.alt-send a { font-size: 13px; font-weight: 800; color: var(--blue-deep); }

.segmented.seg-2 { grid-template-columns: 1fr 1fr; }
.segmented.seg-2 span { font-family: var(--ff-body); font-size: 14px; font-weight: 800; }
.plan { margin-top: 10px; }
.plan input { width: 100%; padding: 12px 14px; border: 1.5px solid #dfe3ea; border-radius: 11px; font: 600 15px var(--ff-body); color: var(--ink); background: #fff; }
.plan input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 123, 255, .14); }
.plan input.invalid { border-color: #e5484d; }

.notice {
  margin: 10px 0 0; padding: 11px 13px; border-radius: 10px; font-size: 12.8px; line-height: 1.5;
  background: #fff6e0; border: 1px solid #f4d68a; color: #6b4d00;
}
.notice[hidden] { display: none; }

.field .check {
  display: flex; align-items: center; gap: 7px; margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: #4a5260; cursor: pointer;
}
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
input:disabled { background: #f1f3f7; color: #9ba3b0; }

.field .label { position: relative; }
.tip-btn {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 0; cursor: help;
  background: #e6edf9; color: var(--blue-deep); font-size: 11px; font-weight: 900; padding: 0;
}
.tooltip {
  display: none; margin: -2px 0 8px; padding: 9px 11px; border-radius: 9px;
  background: var(--ink); color: #e8ecf2; font-size: 12px; line-height: 1.45;
}
.field:has(.tip-btn:hover) .tooltip, .field:has(.tip-btn:focus) .tooltip { display: block; }

/* Récap */
.recap { margin: 2px 0 16px; padding: 14px 16px; border-radius: 12px; background: #f3f6fb; border: 1px dashed #cdd6e4; }
.recap-title { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6a7383; }
.recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: 13px; }
.recap dt { color: #6a7383; font-weight: 700; white-space: nowrap; }
.recap dd { margin: 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }

.form-note { margin-top: 14px; }

@media (max-width: 720px) {
  .stepper span { font-size: 11.5px; }
  .stepper b { width: 22px; height: 22px; }
  .chips span { padding: 8px 11px; font-size: 13px; }
}

/* ==========================================================
   V5 — Sur le terrain (vidéos)
   ========================================================== */
.rec {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: 1px;
  background: #ff3b47; box-shadow: 0 0 0 0 rgba(255, 59, 71, .6); animation: rec 1.6s infinite;
}
@keyframes rec { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 71, 0); } }

.clips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.clip { margin: 0; }
.clip:nth-child(even) { transform: translateY(28px); }
.clip.reveal.in:nth-child(even) { transform: translateY(28px); }
.clip-open {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 18px; overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line-soft), 0 24px 50px -24px rgba(0, 0, 0, .9);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.clip-open::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 13, .55));
}
.clip-open:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(31, 123, 255, .6), 0 30px 60px -20px rgba(31, 123, 255, .35); }
.clip video, .clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-play {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7, 9, 13, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .2);
}
.clip-play::before {
  content: ""; position: absolute; left: 13px; top: 10px;
  border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.clip.playing .clip-play::before { left: 11px; top: 10px; width: 4px; height: 14px; border: 0; background: #fff; box-shadow: 7px 0 0 #fff; }
.clip figcaption { padding: 12px 4px 0; display: grid; gap: 2px; }
.clip figcaption b { font-family: var(--ff-display); font-size: 20px; text-transform: uppercase; letter-spacing: .01em; }
.clip figcaption span { font-size: 13px; color: var(--muted); }

/* Visionneuse */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: none; max-height: none;
  width: min(92vw, 460px); overflow: visible;
}
.lightbox::backdrop { background: rgba(3, 5, 8, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[open] { animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lb-media { border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.lb-media video, .lb-media img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.lb-cap { margin: 14px 0 0; text-align: center; color: #c5ccd7; font-weight: 700; }
.lb-close {
  position: absolute; right: -14px; top: -14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: var(--white); color: var(--ink); border: 0; font-size: 26px; line-height: 1; font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}

@media (max-width: 1080px) {
  .clips { grid-template-columns: repeat(5, 230px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 36px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .clips::-webkit-scrollbar { display: none; }
  .clip { scroll-snap-align: start; }
}
@media (max-width: 720px) {
  .clips { grid-template-columns: repeat(5, 62vw); gap: 12px; }
  .clip:nth-child(even), .clip.reveal.in:nth-child(even) { transform: none; }
  .lb-close { right: 4px; top: -52px; }
}
