/* ==========================================================
   MR Lab — design tokens & composants (repris de la maquette)
   ========================================================== */
/* Palette "titane" — naturel, désert, noir. Accent = titane désert. */
:root {
  --bg: #f3f2ef;
  --bg-glow: radial-gradient(1200px 600px at 80% -10%, #e4ded4 0%, transparent 60%), radial-gradient(900px 500px at -10% 20%, #e9e9ec 0%, transparent 60%);
  --surface: #ffffff;
  --surface-2: #f2f1ee;
  --border: #e3e1dc;
  --text: #161618;
  --muted: #6e6d72;
  --accent: #a07c5a;
  --primary: var(--accent);
  --success: #2f9e6f;
  --warning: #c98a1b;
  --danger: #d4483b;
  /* métal plein (boutons, pastilles) */
  --metal: linear-gradient(150deg, #5c5c61 0%, #2b2b2e 38%, #48484c 55%, #1d1d1f 100%);
  --on-metal: #f7f6f3;
  /* reflet titane (textes, bordures) */
  --grad: linear-gradient(100deg, #2a2a2d 0%, #7d776e 30%, #cfc6b8 48%, #8a8378 62%, #2a2a2d 100%);
  --frame: linear-gradient(140deg, #9c978f 0%, #e3dfd8 18%, #7d7973 40%, #c9c4bb 62%, #6c6863 82%, #b6b1a8 100%);
  --shadow-sm: 0 1px 2px rgba(20, 18, 15, .05), 0 1px 1px rgba(20, 18, 15, .03);
  --shadow: 0 12px 32px -12px rgba(40, 34, 26, .18), 0 2px 6px rgba(20, 18, 15, .04);
  --shadow-lg: 0 34px 70px -24px rgba(40, 34, 26, .35);
  --inner: inset 0 1px 0 rgba(255,255,255,.7);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c; --surface: #141416; --surface-2: #1b1b1e; --border: #2a2a2e;
    --bg-glow: radial-gradient(1100px 600px at 80% -10%, #2a241d 0%, transparent 60%), radial-gradient(900px 500px at -10% 20%, #1b1c20 0%, transparent 60%);
    --text: #f2f1ee; --muted: #9a9894; --accent: #c9a582;
    --metal: linear-gradient(150deg, #f6f4f0 0%, #bdb8b0 40%, #ebe8e2 56%, #9d9890 100%);
    --on-metal: #141416;
    --grad: linear-gradient(100deg, #ece9e3 0%, #8f8a82 30%, #ffffff 48%, #a8a39a 62%, #ece9e3 100%);
    --shadow: 0 12px 32px -12px rgba(0,0,0,.7); --shadow-lg: 0 34px 70px -24px rgba(0,0,0,.8);
    --inner: inset 0 1px 0 rgba(255,255,255,.06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0c; --surface: #141416; --surface-2: #1b1b1e; --border: #2a2a2e;
  --bg-glow: radial-gradient(1100px 600px at 80% -10%, #2a241d 0%, transparent 60%), radial-gradient(900px 500px at -10% 20%, #1b1c20 0%, transparent 60%);
  --text: #f2f1ee; --muted: #9a9894; --accent: #c9a582;
  --metal: linear-gradient(150deg, #f6f4f0 0%, #bdb8b0 40%, #ebe8e2 56%, #9d9890 100%);
  --on-metal: #141416;
  --grad: linear-gradient(100deg, #ece9e3 0%, #8f8a82 30%, #ffffff 48%, #a8a39a 62%, #ece9e3 100%);
  --shadow: 0 12px 32px -12px rgba(0,0,0,.7); --shadow-lg: 0 34px 70px -24px rgba(0,0,0,.8);
  --inner: inset 0 1px 0 rgba(255,255,255,.06);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-glow), var(--bg); background-attachment: fixed; color: var(--text);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
/* texte titane avec reflet qui glisse */
.grad-text { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* métal brossé (texture) */
.brushed { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px), var(--metal); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--metal); color: var(--on-metal); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -10px rgba(0,0,0,.55); }
.btn-primary::after { content: ''; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 16px 32px -12px rgba(0,0,0,.6); }
.btn-ghost { background: var(--surface); border-color: var(--border); box-shadow: var(--inner), var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-recu { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.st-en_cours { background: rgba(245,158,11,.14); color: #d97706; }
.st-traitee { background: rgba(16,185,129,.14); color: #059669; }
.st-annulee { background: rgba(239,68,68,.12); color: var(--danger); }

/* ---------- Mockup téléphone (iOS / Android) ---------- */
.phone {
  --w: 120px; --c: #8d877d;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.3;
  border-radius: calc(var(--w) * .17); padding: calc(var(--w) * .035);
  background: var(--frame);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 0 calc(var(--w) * .022) #0d0d0f, 0 24px 44px -20px rgba(0,0,0,.6);
  flex-shrink: 0;
}
.phone.android { border-radius: calc(var(--w) * .11); background: linear-gradient(140deg, #3a3a3e 0%, #8a8a90 20%, #2c2c30 45%, #6e6e74 70%, #232326 100%); }
.phone .ph-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * .14);
  background:
    radial-gradient(120% 70% at 20% 10%, color-mix(in srgb, var(--c) 90%, white) 0%, transparent 60%),
    radial-gradient(100% 60% at 90% 90%, color-mix(in srgb, var(--c) 55%, #e8e2d8) 0%, transparent 60%),
    linear-gradient(160deg, var(--c), #0c0c0e);
}
.phone.android .ph-screen { border-radius: calc(var(--w) * .08); }
.phone .island { position: absolute; top: 3.5%; left: 50%; transform: translateX(-50%); width: 32%; height: 3.6%; background: #000; border-radius: 99px; z-index: 2; }
.phone .punch { position: absolute; top: 2.6%; left: 50%; transform: translateX(-50%); width: 6%; aspect-ratio: 1; background: #000; border-radius: 50%; z-index: 2; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.phone .ph-time { position: absolute; top: 14%; width: 100%; text-align: center; color: #fff; font-weight: 700; font-size: calc(var(--w) * .2); letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.phone .ph-date { position: absolute; top: 9%; width: 100%; text-align: center; color: rgba(255,255,255,.85); font-weight: 500; font-size: calc(var(--w) * .065); }
.phone .ph-bar { position: absolute; bottom: 2.5%; left: 50%; transform: translateX(-50%); width: 34%; height: 1.1%; background: rgba(255,255,255,.75); border-radius: 99px; }
.phone .btn-side { position: absolute; right: -2px; top: 24%; width: 3px; height: 12%; background: #8d8981; border-radius: 0 3px 3px 0; }
/* fissure d'écran (illustration) */
.phone .crack { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; z-index: 1; }
.phone.is-cracked .crack { opacity: 1; }
.phone .batt { position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%); width: 34%; height: 7%; border: 2px solid rgba(255,255,255,.85); border-radius: 5px; padding: 2px; opacity: 0; transition: opacity .4s; z-index: 1; }
.phone .batt::after { content: ''; position: absolute; right: -5px; top: 30%; width: 3px; height: 40%; background: rgba(255,255,255,.85); border-radius: 0 2px 2px 0; }
.phone .batt i { display: block; height: 100%; width: 20%; border-radius: 2px; background: #d4483b; transition: width .9s var(--ease), background .9s; }
.phone.is-battery .batt { opacity: 1; }
.phone.is-battery.is-fixed .batt i { width: 100%; background: #2f9e6f; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 1000; }
.toast {
  background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); max-width: 340px; animation: toastIn .45s var(--ease);
  display: flex; gap: 10px; align-items: flex-start;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   Site public (homepage, devis, avis, suivi)
   ========================================================== */

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: 110px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(16,185,129,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } }
h2.title { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.08; font-weight: 800; margin: 14px 0 12px; }
.lead { color: var(--muted); font-size: 18px; max-width: 620px; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; transition: top .3s var(--ease); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border: 1px solid color-mix(in srgb, var(--border) 80%, transparent); box-shadow: var(--shadow); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--metal); display: grid; place-items: center; color: var(--on-metal); font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 80%, transparent); letter-spacing: -.04em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-right { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.icon-btn:hover { transform: rotate(20deg); }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 90px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; background: #c9b49c; top: -160px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #a9b0b8; top: 260px; right: 280px; opacity: .35; animation-delay: -5s; }
.blob.b3 { width: 380px; height: 380px; background: #8d877d; top: 120px; left: -200px; opacity: .3; animation-delay: -9s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,25px) scale(.95); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .55; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 22px 0 20px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; } .hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero p.lead { animation: fadeUp .9s .35s var(--ease) both; }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; animation: fadeUp .9s .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; animation: fadeUp .9s .55s var(--ease) both; }
.trust div b { display: block; font-size: 26px; letter-spacing: -.03em; }
.trust div span { font-size: 13px; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ---------- Avis ---------- */
.rv-shell { display: grid; grid-template-columns: 340px 1fr; gap: 20px; margin-top: 52px; align-items: start; }
.rv-score { position: sticky; top: 100px; text-align: center; padding: 32px 28px; }
.rv-score .big { font-size: 76px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.rv-score .rv-stars { display: flex; justify-content: center; gap: 3px; margin: 12px 0 6px; }
.rv-crit { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.rv-crit div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13px; }
.rv-crit b { font-weight: 700; }
.rv-crit .track { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.rv-crit .track i { display: block; height: 100%; border-radius: 6px; background: var(--metal); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.reveal.in .rv-crit .track i { transform: scaleX(var(--v)); }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success); margin-top: 18px; }
.rv-list { columns: 2 300px; column-gap: 20px; }
.rv-card { break-inside: avoid; margin-bottom: 20px; padding: 24px; }
.rv-card .rv-stars { display: flex; gap: 2px; }
.rv-card p { color: var(--text); font-size: 15px; margin: 14px 0 18px; line-height: 1.6; }
.rv-who { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--on-metal); flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.rv-who b { font-size: 14px; display: block; } .rv-who small { color: var(--muted); font-size: 12px; }
.rv-who .ok { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 15%, transparent); color: var(--success); }

.hero-visual { position: relative; height: 560px; display: grid; place-items: center; perspective: 1200px; }
.hv-phones { position: relative; width: 380px; height: 480px; transform-style: preserve-3d; transition: transform .2s ease-out; }
.hv-a, .hv-b { position: absolute; }
.hv-a { left: 0; top: 0; z-index: 2; transform: rotate(-8deg) translateZ(40px); animation: bob 6s ease-in-out infinite; }
.hv-b { left: 175px; top: 40px; transform: rotate(7deg); animation: bob 6s -3s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(255,244,228,.7), transparent); z-index: 3; mix-blend-mode: screen; }
.hv-a.fixing .scan { animation: scan 1.4s var(--ease); }
@keyframes scan { to { top: 110%; } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; z-index: 5; animation: bob 7s ease-in-out infinite; white-space: nowrap; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.chip.c1 { top: 24px; left: -40px; animation-delay: -2s; } .chip.c1 .ic { background: var(--success); }
.chip.c2 { bottom: 90px; right: -10px; animation-delay: -4s; } .chip.c2 .ic { background: var(--primary); }
.chip.c3 { bottom: 40px; left: 20px; animation-delay: -1s; } .chip.c3 .ic { background: #f59e0b; }

/* ---------- Marquee ---------- */
.marquee { padding: 26px 0; border-block: 1px solid var(--border); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 22px; font-weight: 700; color: var(--muted); opacity: .7; letter-spacing: -.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards génériques ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card.spot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card.spot:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.steps-grid, .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step-num { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .08em; }
.card h3 { font-size: 20px; letter-spacing: -.02em; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ic-big { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); border: 1px solid var(--border); }
.svc-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.svc-price small { color: var(--muted); font-size: 13px; }
.svc-price b { font-size: 32px; letter-spacing: -.04em; }
.svc-card.featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.ribbon { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--metal); color: var(--on-metal); }

/* ---------- Stepper devis ---------- */
.quote { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 5%, transparent) 30%, transparent); }
.quote-shell { margin-top: 48px; display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.quote-main { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.stepper { display: flex; padding: 22px 26px; gap: 6px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.st { display: flex; align-items: center; gap: 10px; flex: 1; min-width: max-content; font-size: 13px; font-weight: 600; color: var(--muted); cursor: default; }
.st .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border); background: var(--surface); font-size: 13px; transition: all .4s var(--ease); flex-shrink: 0; }
.st .bar { flex: 1; height: 2px; min-width: 14px; background: var(--border); border-radius: 2px; position: relative; overflow: hidden; }
.st .bar::after { content: ''; position: absolute; inset: 0; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.st:last-child .bar { display: none; }
.st.active { color: var(--text); } .st.active .n { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent); }
.st.done { color: var(--text); cursor: pointer; } .st.done .n { background: var(--metal); color: var(--on-metal); border-color: transparent; }
.st.done .bar::after { transform: scaleX(1); }
.panel-wrap { position: relative; min-height: 460px; }
.panel { padding: 30px 28px 26px; animation: panelIn .55s var(--ease) both; }
.panel.back { animation-name: panelInBack; }
@keyframes panelIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes panelInBack { from { opacity: 0; transform: translateX(-30px); } }
.panel h3 { font-size: 24px; letter-spacing: -.03em; } .panel .sub { color: var(--muted); margin: 4px 0 24px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.opt { position: relative; border: 1.5px solid var(--border); border-radius: 18px; padding: 18px; background: var(--surface); cursor: pointer; text-align: left; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s var(--ease); animation: fadeUp .5s var(--ease) both; }
.opt:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }
.opt.sel { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent), var(--shadow); }
.opt .check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--metal); color: var(--on-metal); display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.opt.sel .check { transform: scale(1); }
.brand-opt { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 14px; text-align: center; }
.brand-mono { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.04em; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.opt:hover .brand-mono { transform: scale(1.08) rotate(-4deg); }
.brand-opt b { font-size: 15px; } .brand-opt small { color: var(--muted); font-size: 12px; }
.model-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.model-opt .phone { transition: transform .5s var(--ease); }
.model-opt:hover .phone { transform: rotate(-6deg) scale(1.05); }
.model-opt b { display: block; font-size: 14px; line-height: 1.25; } .model-opt small { color: var(--muted); font-size: 12px; }
.search { position: relative; margin-bottom: 18px; } .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); } .search .input { padding-left: 42px; }
.repair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.repair-opt { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.repair-opt .ic-big { width: 46px; height: 46px; }
.repair-opt b { font-size: 17px; } .repair-opt p { font-size: 13px; color: var(--muted); }
.repair-opt .price { margin-top: auto; padding-top: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.repair-opt .price s { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.del-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.km-box { margin-top: 20px; padding: 20px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); animation: fadeUp .5s var(--ease); }
.km-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; }
.km-row output { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
input[type=range] { width: 100%; accent-color: var(--primary); }
.hint { font-size: 12px; color: var(--muted); margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .form-grid .full { grid-column: 1 / -1; }
.switch-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; cursor: pointer; }
.switch-row input { margin-top: 3px; accent-color: var(--primary); width: 16px; height: 16px; }
.switch-row small { display: block; color: var(--muted); }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 60%, var(--surface)); }
.recap-list { display: grid; gap: 10px; }
.recap-item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.recap-item span { color: var(--muted); } .recap-item b { text-align: right; }

.summary { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.sum-stage { height: 230px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 18px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%), var(--surface-2); position: relative; overflow: hidden; }
.sum-stage .phone { transition: transform .6s var(--ease); animation: bob 5s ease-in-out infinite; }
.sum-stage .empty { color: var(--muted); font-size: 13px; text-align: center; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; gap: 10px; }
.sum-row span { color: var(--muted); } .sum-row b { text-align: right; }
.sum-lines { border-top: 1px dashed var(--border); margin-top: 10px; padding-top: 10px; }
.sum-lines .sum-row b { font-weight: 500; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.sum-total b { font-size: 34px; letter-spacing: -.04em; }
.sum-note { font-size: 12px; color: var(--muted); margin-top: 8px; display: flex; gap: 6px; align-items: center; }

.success { padding: 50px 30px; text-align: center; animation: fadeUp .6s var(--ease); }
.success .ok { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; background: var(--metal); display: grid; place-items: center; color: var(--on-metal); box-shadow: 0 20px 40px -14px color-mix(in srgb, var(--accent) 80%, transparent); animation: pop .7s var(--ease); }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }
.success .ok path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref-pill { display: inline-flex; gap: 10px; align-items: center; margin: 18px 0; padding: 12px 18px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--primary); font-family: ui-monospace, monospace; font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.confetti { position: fixed; top: -10px; width: 9px; height: 14px; border-radius: 2px; z-index: 999; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .8; } }

/* ---------- Suivi ---------- */
.track-card { max-width: 640px; margin: 40px auto 0; }
.track-form { display: flex; gap: 10px; }
.timeline { margin-top: 26px; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 32px 1fr; gap: 14px; position: relative; padding-bottom: 22px; animation: fadeUp .5s var(--ease) both; }
.tl::before { content: ''; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--border); }
.tl:last-child::before { display: none; }
.tl .d { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--border); color: var(--muted); }
.tl.on .d { background: var(--metal); border-color: transparent; color: var(--on-metal); }
.tl.now .d { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.tl b { display: block; } .tl small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { transition: transform .35s var(--ease); flex-shrink: 0; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

.cta-band { margin: 0 auto; border-radius: 32px; padding: 64px 40px; text-align: center; color: var(--on-metal); background: var(--metal); background-size: 200% 200%; animation: gradShift 10s ease infinite; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.25) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; line-height: 1.1; }
.cta-band p { opacity: .85; margin: 12px 0 28px; }
.cta-band .btn { background: var(--on-metal); color: var(--text); position: relative; z-index: 1; }
footer { padding: 50px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .quote-shell { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-visual { height: 480px; }
  .nav-links { display: none; }
  .quote-shell { grid-template-columns: 1fr; }
  .summary { position: relative; top: 0; }
  .sum-stage { height: 170px; }
  .steps-grid, .svc-grid, .repair-grid, .rv-shell { grid-template-columns: 1fr; }
  .rv-score { position: relative; top: 0; }
}
@media (max-width: 600px) {
  section { padding: 80px 0; }
  .hero { padding-top: 130px; }
  .del-grid, .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px; } .panel-foot { padding: 14px 18px; }
  .stepper { padding: 16px 18px; }
  .st .label { display: none; }
  .nav-right .btn-ghost { display: none; }
  .hero-visual { transform: scale(.82); height: 420px; }
  .track-form { flex-direction: column; }
}

/* ==========================================================
   Ajouts version Symfony : pages SEO, avis, légal, code partenaire
   ========================================================== */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); }
.skip-link:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* pages intérieures */
.page-hero { padding: 150px 0 40px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.04em; line-height: 1.05; margin: 16px 0 14px; font-weight: 800; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }
.model-hero { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.model-hero .stage { height: 360px; display: grid; place-items: center; border-radius: 28px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.model-hero .stage .phone { animation: bob 5s ease-in-out infinite; }
.price-table { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.price-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.price-card b.p { font-size: 32px; letter-spacing: -.04em; margin-top: auto; }
.price-card .btn { margin-top: 12px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 30px; }
.model-link { display: flex; align-items: center; gap: 14px; padding: 16px; }
.model-link b { display: block; font-size: 15px; } .model-link small { color: var(--muted); font-size: 13px; }
.model-link .phone { transition: transform .5s var(--ease); }
.model-link:hover .phone { transform: rotate(-6deg) scale(1.05); }
.prose { max-width: 760px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose h2 { color: var(--text); font-size: 24px; letter-spacing: -.03em; margin: 34px 0 10px; }
.prose p { margin-bottom: 12px; } .prose ul { margin: 0 0 12px 20px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.zones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.zones span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; color: var(--muted); }

/* code partenaire dans le devis */
.code-row { display: flex; gap: 8px; }
.code-row .input { text-transform: uppercase; letter-spacing: .06em; font-family: ui-monospace, monospace; }
.code-ok { color: var(--success); font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; margin-top: 6px; animation: fadeUp .4s var(--ease); }
.code-ko { color: var(--danger); font-size: 13px; margin-top: 6px; }
.form-error { color: var(--danger); font-size: 13px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--danger) 10%, transparent); margin-bottom: 14px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* page avis */
.rv-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 28px 16px 60px; }
.rv-page > .logo { margin-bottom: 28px; animation: rvIn .7s var(--ease) both; }
.rv-wrap { width: min(640px, 100%); }
.rv-box { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--inner), var(--shadow-lg); overflow: hidden; animation: rvIn .8s .1s var(--ease) both; }
@keyframes rvIn { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } }
.rv-head { display: flex; gap: 20px; align-items: center; padding: 28px; background: radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), var(--surface-2); border-bottom: 1px solid var(--border); }
.rv-head h1 { font-size: 24px; letter-spacing: -.035em; line-height: 1.15; }
.rv-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.rv-body { padding: 28px; display: grid; gap: 26px; }
.sec-t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.crit { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); animation: rvIn .6s var(--ease) both; }
.crit:last-child { border-bottom: 0; }
.crit b { font-size: 15px; display: block; } .crit small { color: var(--muted); font-size: 12px; min-height: 18px; display: block; }
.rate { display: flex; gap: 4px; flex-shrink: 0; border: 0; }
.rate label { width: 36px; height: 36px; cursor: pointer; display: grid; place-items: center; border-radius: 10px; transition: background .2s; }
.rate label:hover { background: var(--surface-2); }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate svg { width: 26px; height: 26px; transition: transform .35s var(--ease); }
.rate path { fill: transparent; stroke: var(--border); stroke-width: 1.6; transition: fill .25s, stroke .25s; }
.rate label.on path, .rate.hovering label.hov path { fill: var(--accent); stroke: var(--accent); }
.rate.hovering label:not(.hov) path { fill: transparent; stroke: var(--border); }
.rate input:focus-visible + svg { outline: 2px solid var(--accent); border-radius: 6px; }
.rate label.pop svg { animation: starPop .45s var(--ease); }
@keyframes starPop { 40% { transform: scale(1.35) rotate(-8deg); } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .grid2 .full { grid-column: 1 / -1; }
.note { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.rv-preview { padding: 20px; border-radius: 18px; border: 1px dashed var(--border); background: var(--surface-2); }
.rv-preview p { font-size: 15px; margin: 10px 0 14px; line-height: 1.55; }
.rv-foot { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-msg { text-align: center; padding: 56px 28px; }
.rv-msg .ok { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: var(--on-metal); animation: popIn .7s var(--ease); box-shadow: var(--shadow-lg); }
@keyframes popIn { from { transform: scale(0) rotate(-90deg); } }
.rv-msg h1 { font-size: 26px; letter-spacing: -.03em; } .rv-msg p { color: var(--muted); margin: 8px auto 24px; max-width: 420px; }
.theme-fab { position: fixed; top: 20px; right: 20px; }

@media (max-width: 960px) {
  .model-hero { grid-template-columns: 1fr; }
  .model-hero .stage { height: 260px; order: -1; }
  .price-table { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rv-head { flex-direction: column; text-align: center; }
  .crit { flex-direction: column; align-items: flex-start; }
  .grid2 { grid-template-columns: 1fr; }
  .rv-body, .rv-head, .rv-foot { padding-left: 20px; padding-right: 20px; }
}

/* ==========================================================
   Couche « premium » de la landing : typographie éditoriale,
   hero centré, bento, étapes, footer
   ========================================================== */
:root { --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif; --hair: color-mix(in srgb, var(--text) 9%, transparent); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; }
h1 .serif, h2 .serif { padding-right: .06em; }
/* grain très léger, façon papier photo */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] body::after { mix-blend-mode: overlay; opacity: .06; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::after { mix-blend-mode: overlay; opacity: .06; } }

.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow-line::before, .center .eyebrow-line::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.sh { max-width: 760px; }
.sh.center { margin-inline: auto; text-align: center; }
.sh h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 18px 0 16px; }
.sh p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.center .sh p, .sh.center p { margin-inline: auto; max-width: 560px; }

/* --- Hero --- */
.hero2 { position: relative; padding: 168px 0 0; text-align: center; overflow: hidden; }
.hero2 .grid-bg { opacity: .4; }
.hero2 .glow { position: absolute; left: 50%; top: 420px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); filter: blur(10px); pointer-events: none; }
.hero2 h1 { font-size: clamp(46px, 7.6vw, 108px); line-height: .96; letter-spacing: -.058em; font-weight: 700; margin: 26px auto 0; max-width: 1000px; }
.hero2 h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero2 h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero2 h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero2 h1 .serif { font-size: 1.1em; }
.hero2 .lead { margin: 28px auto 0; max-width: 580px; font-size: 19px; line-height: 1.6; animation: fadeUp 1s .3s var(--ease) both; }
.hero2 .hero-ctas { justify-content: center; margin-top: 36px; animation: fadeUp 1s .42s var(--ease) both; }
.hero2 .eyebrow { animation: fadeUp .9s var(--ease) both; }

.stage3 { position: relative; height: 600px; margin-top: 70px; perspective: 1800px; animation: stageIn 1.6s .35s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(80px); } }
.stage3 .phones { position: absolute; left: 50%; bottom: 70px; width: 0; height: 0; transform-style: preserve-3d; transition: transform .35s ease-out; }
.stage3 .pp { position: absolute; bottom: 0; transform-origin: 50% 100%; }
.stage3 .p-left { left: -350px; transform: rotate(-10deg) translateY(36px) scale(.9); animation: bob 7s -2s ease-in-out infinite; }
.stage3 .p-center { left: -126px; z-index: 2; animation: bob 7s ease-in-out infinite; }
.stage3 .p-right { left: 120px; transform: rotate(10deg) translateY(36px) scale(.9); animation: bob 7s -4s ease-in-out infinite; }
.stage3 .p-left .phone, .stage3 .p-right .phone { filter: saturate(.85) brightness(.96); }
.stage3::after { content: ''; position: absolute; left: 50%; bottom: 36px; width: 760px; height: 80px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent); filter: blur(8px); }
.stage3 .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg) 85%); z-index: 3; }
.p-center .ph-screen::after { content: ''; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%); animation: sweep 7s 2s ease-in-out infinite; z-index: 3; pointer-events: none; }
@keyframes sweep { 0%, 60% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.p-center.fixing .scan { animation: scan 1.4s var(--ease); }
.stage3 .chip { animation: chipIn 1s var(--ease) both, bob 8s ease-in-out infinite; }
.stage3 .chip.c1 { left: calc(50% + 150px); top: 120px; bottom: auto; animation-delay: 1.1s, -2s; }
.stage3 .chip.c2 { right: auto; left: calc(50% - 470px); top: 330px; bottom: auto; animation-delay: 1.3s, -5s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }

.trust2 { display: flex; justify-content: center; border-block: 1px solid var(--hair); margin-top: -10px; position: relative; z-index: 4; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.trust2 > div { flex: 1; max-width: 270px; padding: 26px 20px; text-align: center; }
.trust2 > div + div { border-left: 1px solid var(--hair); }
.trust2 b { display: block; font-size: 30px; letter-spacing: -.04em; font-weight: 700; }
.trust2 span { font-size: 13px; color: var(--muted); }

/* --- Bento services --- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.bento .card { padding: 30px; border-radius: 26px; }
.b-screen { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; min-height: 520px; }
.b-battery, .b-pack { grid-column: span 3; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.b-mini { grid-column: span 2; }
.bento h3 { font-size: 26px; letter-spacing: -.035em; margin: 10px 0 8px; }
.bento .from { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.bento .from b { font-size: 34px; letter-spacing: -.045em; color: var(--text); }
.b-screen .visual { flex: 1; display: grid; place-items: center; margin-top: 24px; border-radius: 20px; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%), var(--surface-2); min-height: 280px; overflow: hidden; }
.b-screen .visual .phone { transition: transform .8s var(--ease); }
.b-screen:hover .visual .phone { transform: translateY(-6px) rotate(-3deg); }
.b-screen:hover .phone.is-cracked .crack { opacity: 0; transition-delay: .2s; }
.batt-big { width: 120px; height: 56px; border: 3px solid var(--text); border-radius: 14px; padding: 5px; position: relative; opacity: .9; }
.batt-big::after { content: ''; position: absolute; right: -9px; top: 17px; width: 5px; height: 16px; border-radius: 0 4px 4px 0; background: var(--text); }
.batt-big i { display: block; height: 100%; width: 18%; border-radius: 7px; background: var(--danger); transition: width 1.6s var(--ease), background 1.6s; }
.reveal.in .batt-big i, .b-battery:hover .batt-big i { width: 100%; background: var(--success); }
.b-pack { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box !important; border: 1.5px solid transparent !important; background-size: 100% 100%, 220% 100% !important; animation: sheen 9s ease-in-out infinite; }
.pack-badge { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 22px; letter-spacing: -.04em; line-height: 1; color: var(--on-metal); box-shadow: var(--shadow-lg); }
.pack-badge small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; opacity: .75; }
.b-mini .ic-big { margin-bottom: 4px; }
.b-mini h3 { font-size: 19px; }

/* --- Étapes --- */
.steps2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--hair); }
.steps2 > div { padding: 34px 34px 10px 0; }
.steps2 > div + div { padding-left: 34px; border-left: 1px solid var(--hair); }
.steps2 .num { font-family: var(--serif); font-style: italic; font-size: 72px; line-height: 1; letter-spacing: -.02em; }
.steps2 h3 { font-size: 21px; letter-spacing: -.025em; margin: 18px 0 8px; }
.steps2 p { color: var(--muted); }

/* --- Bande finale --- */
.cta2 { position: relative; overflow: hidden; border-radius: 36px; padding: 90px 40px; text-align: center; color: var(--on-metal); box-shadow: var(--shadow-lg); }
.cta2 h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.cta2 p { opacity: .75; margin: 18px auto 34px; max-width: 460px; font-size: 17px; }
.cta2 .btn { background: var(--on-metal); color: var(--text); }
.cta2::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.14), transparent 30%); animation: spin 14s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(1turn); } }
.cta2 > * { position: relative; }

/* --- Footer --- */
.foot2 { padding: 80px 0 40px; border-top: 1px solid var(--hair); margin-top: 110px; color: var(--muted); font-size: 14px; }
.foot2 .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot2 h4 { color: var(--text); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot2 ul { list-style: none; display: grid; gap: 9px; }
.foot2 a:hover { color: var(--text); }
.foot2 .base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 13px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b-screen, .b-battery, .b-pack { grid-column: span 2; }
  .b-screen { min-height: 0; }
  .b-mini { grid-column: span 1; }
  .steps2 { grid-template-columns: 1fr; }
  .steps2 > div, .steps2 > div + div { padding: 28px 0; border-left: 0; border-top: 1px solid var(--hair); }
  .foot2 .cols { grid-template-columns: 1fr 1fr; }
  .stage3 { height: 520px; transform: scale(.82); transform-origin: 50% 100%; margin-top: 20px; }
  .stage3 .chip { display: none; }
}
@media (max-width: 1180px) {
  .stage3 .chip.c2 { display: none; }
}
@media (max-width: 600px) {
  .hero2 { padding-top: 130px; }
  .stage3 { height: 440px; transform: scale(.62); margin-top: -40px; }
  .trust2 > div { padding: 18px 8px; } .trust2 b { font-size: 22px; }
  .bento { grid-template-columns: 1fr; } .b-screen, .b-battery, .b-pack, .b-mini { grid-column: span 1; }
  .b-battery, .b-pack { grid-template-columns: 1fr; }
  .foot2 .cols { grid-template-columns: 1fr; }
  .cta2 { padding: 64px 22px; border-radius: 26px; }
}

/* ==========================================================
   Page de connexion du back-office
   ========================================================== */
.login-page::after { display: none; }
.login-split { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-brand { position: relative; overflow: hidden; padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(900px 600px at 30% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), var(--surface-2); border-right: 1px solid var(--border); }
.login-brand .grid-bg { opacity: .5; }
.login-glow { position: absolute; right: -120px; bottom: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); filter: blur(20px); }
.login-brand > .logo, .login-copy, .login-phones { position: relative; }
.login-brand { min-height: 100vh; }
.login-copy { margin-top: 60px; animation: fadeUp 1s .1s var(--ease) both; }
.login-copy h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: .98; letter-spacing: -.05em; font-weight: 700; margin: 18px 0 16px; }
.login-copy p { color: var(--muted); font-size: 17px; max-width: 380px; }
.login-phones { position: relative; height: 330px; margin-top: 30px; }
.login-phones .lp { position: absolute; bottom: -90px; }
.lp-back { left: 40px; transform: rotate(-10deg); animation: bob 7s -2s ease-in-out infinite; }
.lp-front { left: 170px; transform: rotate(6deg); animation: bob 7s ease-in-out infinite; }
.login-side { display: grid; place-items: center; padding: 40px 24px; }
.login-card { width: min(400px, 100%); display: grid; gap: 18px; animation: rvIn .9s .15s var(--ease) both; }
.login-card h1 { font-size: 34px; letter-spacing: -.045em; line-height: 1.05; font-weight: 700; }
.login-card h1 .serif { font-size: 1.08em; }
.login-sub { color: var(--muted); margin-top: -8px; }
.login-mobile-logo { display: none; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover, .pw-toggle.on { color: var(--text); background: var(--surface-2); }
.remember { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.remember input { accent-color: var(--accent); width: 16px; height: 16px; }
.login-btn { width: 100%; padding: 15px 22px; font-size: 16px; margin-top: 4px; }
.login-back { text-align: center; font-size: 14px; color: var(--muted); }
.login-back:hover { color: var(--text); }
.login-card .input { padding: 14px 16px; border-radius: 14px; }
@media (max-width: 900px) {
  .login-split { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-mobile-logo { display: inline-flex; margin-bottom: 18px; }
}
