/* KPL Phone — feuille de style principale. Thème : crépuscule alpin, noir & or. */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #09090a;
  --bg-2: #0f0f11;
  --surface: #151518;
  --surface-2: #1b1b1f;
  --line: rgba(255, 210, 140, 0.11);
  --line-strong: rgba(255, 196, 110, 0.28);
  --text: #f4efe6;
  --muted: #a49e93;
  --dim: #6f6a62;
  --gold: #f2a93b;
  --gold-2: #ffd583;
  --gold-3: #d0711a;
  --gold-grad: linear-gradient(135deg, #ffe2a6 0%, #f6b24a 38%, #e4801c 72%, #ffcf7a 100%);
  --ok: #7bd9a2;
  --err: #ff7a66;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px var(--line-strong), 0 20px 60px -20px rgba(242, 169, 59, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 'Outfit', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(242, 169, 59, 0.35); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Typo ---------- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 40ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); font-weight: 500;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold-grad); }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--surface-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--b); color: var(--text); text-decoration: none; font-weight: 500; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 40px -18px rgba(242, 169, 59, 0.6); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--gold-grad); color: #1a1206; border-color: transparent; font-weight: 600; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(9, 9, 10, 0.55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color 0.4s, background 0.4s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(9, 9, 10, 0.82); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-kpl { font-weight: 800; font-size: 1.55rem; letter-spacing: 0.02em; font-style: italic; }
.logo-phone { font-weight: 300; font-size: 0.82rem; letter-spacing: 0.42em; color: var(--text); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: 0.96rem; transition: color 0.25s, background 0.25s;
}
.nav a:not(.btn):hover, .nav a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 28px; background: rgba(9, 9, 10, 0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease);
  }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; }
  .nav .btn { margin: 12px 0 0; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; padding: 40px 0 120px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(242, 150, 40, 0.22), rgba(242, 150, 40, 0) 62%); pointer-events: none;
}
.hero-arc {
  position: absolute; right: -18vw; top: 50%; width: 82vw; max-width: 1100px; aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid rgba(255, 196, 110, 0.18); pointer-events: none;
  box-shadow: inset 0 0 120px -40px rgba(242, 169, 59, 0.35);
}
.hero-arc::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; border-top: 2px solid rgba(255, 196, 110, 0.55); filter: blur(0.4px); transform: rotate(-30deg); }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; position: relative; z-index: 2; }
.hero-copy { display: grid; gap: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero-stage { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: center; }
.hero-stage canvas { width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.hero-stage canvas:active { cursor: grabbing; }
.hero-stage .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-stage.ready .fallback { opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.stage-hint {
  position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: 0.8rem; color: var(--dim);
  letter-spacing: 0.08em; display: flex; gap: 8px; align-items: center; white-space: nowrap;
}
.repair-badge {
  position: absolute; top: 12%; right: 0; padding: 10px 14px; border-radius: 14px; background: rgba(20, 20, 23, 0.8);
  border: 1px solid var(--line-strong); backdrop-filter: blur(10px); font-size: 0.85rem; display: flex; gap: 10px; align-items: center;
  opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.repair-badge.show { opacity: 1; transform: none; }
.repair-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.alps { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.alps svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-bottom: 90px; }
  .hero-stage { max-width: 300px; aspect-ratio: 3 / 4; margin: -10px auto 0; }
  .hero-arc { right: -60vw; width: 140vw; top: 70%; }
  .repair-badge { right: -4px; top: 6%; }
}

/* ---------- Estimateur rapide ---------- */
.estimator {
  margin-top: -60px; position: relative; z-index: 5;
  background: linear-gradient(180deg, rgba(27, 27, 31, 0.92), rgba(18, 18, 21, 0.92)); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end;
}
.estimator h2 { grid-column: 1 / -1; font-size: 1.2rem; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.estimate-out { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 54px; padding-top: 6px; border-top: 1px solid var(--line); }
.estimate-price { font-size: 1.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.estimate-price small { font-size: 0.9rem; color: var(--muted); font-weight: 400; margin-right: 6px; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; margin-top: -40px; } }

/* ---------- Champs ---------- */
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); transition: border-color 0.25s, box-shadow 0.25s; appearance: none;
}
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
textarea.input { min-height: 120px; resize: vertical; }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.15); }
.input[aria-invalid='true'] { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.85rem; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Cartes de services ---------- */
.grid { display: grid; gap: 16px; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }
.card {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 169, 59, 0.13), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid var(--line-strong); background: radial-gradient(circle at 30% 20%, rgba(242, 169, 59, 0.18), transparent 70%);
  color: var(--gold-2);
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.card .from { margin-top: 18px; font-size: 0.88rem; color: var(--dim); }
.card .from strong { color: var(--gold-2); font-weight: 500; }

/* ---------- Avant / après ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .ba { grid-template-columns: 1fr; } }
.ba-stage {
  position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #241a10 0%, #0d0d0f 70%); border: 1px solid var(--line); user-select: none;
}
.ba-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-layer svg { height: 86%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; transform: translateX(-1px);
  background: linear-gradient(180deg, transparent, var(--gold-2), transparent); pointer-events: none;
}
.ba-handle::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-grad); color: #1a1206; font-weight: 700; box-shadow: 0 8px 30px rgba(242, 169, 59, 0.5);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-handle::after { outline: 2px solid #fff; outline-offset: 3px; }
.ba-tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--line); }
.ba-tag.before { left: 18px; }
.ba-tag.after { right: 18px; color: var(--gold-2); }
.ba-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ba-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.ba-list b { color: var(--text); font-weight: 500; }
.tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(242, 169, 59, 0.12); color: var(--gold-2); font-size: 0.8rem; }

/* ---------- Étapes ---------- */
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px; }
.step::after {
  counter-increment: s; content: '0' counter(s); position: absolute; right: 22px; top: 14px; font-size: 4.2rem; font-weight: 700;
  background: linear-gradient(180deg, rgba(242, 169, 59, 0.22), transparent); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; transition: border-color 0.3s, color 0.3s; }
.chips li:hover { border-color: var(--gold); color: var(--text); }
.zone-visual { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: linear-gradient(180deg, #1a1009 0%, #311b0a 45%, #0b0b0c 100%); }
.zone-visual svg { position: absolute; inset: auto 0 0 0; width: 100%; }
.zone-visual .sun { position: absolute; left: 50%; top: 34%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 110, 0.9), rgba(242, 130, 30, 0.25) 45%, transparent 70%); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: 32px; padding: clamp(40px, 7vw, 80px); text-align: center; display: grid; gap: 22px; justify-items: center;
  background: radial-gradient(ellipse at 50% 120%, rgba(242, 150, 40, 0.35), transparent 60%), var(--surface);
  border: 1px solid var(--line-strong); overflow: hidden;
}

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--dim); }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(30px, 5vw, 50px); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -20%; top: -60%; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 150, 40, 0.16), transparent 60%); pointer-events: none; }
.page-hero .container { display: grid; gap: 18px; position: relative; }
.prose { max-width: 760px; color: var(--muted); }
.prose h2 { font-size: 1.5rem; color: var(--text); margin: 44px 0 14px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose a { color: var(--gold-2); }
.todo { background: rgba(255, 122, 102, 0.12); color: #ffb3a6; padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

/* Catalogue */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; align-items: center; }
.toolbar .input { max-width: 340px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background 0.3s, color 0.3s; }
.seg button[aria-pressed='true'] { background: var(--gold-grad); color: #1a1206; font-weight: 600; }
.catalog { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.model-card { padding: 22px; }
.model-card h3 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.model-card h3 small { color: var(--dim); font-weight: 400; font-size: 0.8rem; }
.price-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 2px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list a { color: var(--gold-2); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list a:hover { text-decoration: underline; }
.note { font-size: 0.88rem; color: var(--dim); margin-top: 24px; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Réservation ---------- */
.booking { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3.4vw, 36px); }
.progress { display: flex; gap: 8px; margin-bottom: 30px; list-style: none; padding: 0; counter-reset: p; }
.progress li { flex: 1; font-size: 0.8rem; color: var(--dim); display: grid; gap: 10px; }
.progress li::before { content: ''; height: 3px; border-radius: 3px; background: var(--surface-2); transition: background 0.5s var(--ease); }
.progress li.done::before, .progress li.current::before { background: var(--gold-grad); }
.progress li.current { color: var(--text); }
@media (max-width: 560px) { .progress li span { display: none; } }
.step-pane { display: none; animation: paneIn 0.55s var(--ease); }
.step-pane.active { display: grid; gap: 22px; }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step-pane h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.step-pane h2:focus, #success:focus { outline: none; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label {
  display: grid; gap: 8px; justify-items: start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2);
  cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); min-height: 100%;
}
.choice label svg { width: 24px; height: 24px; color: var(--gold-2); }
.choice label small { color: var(--dim); font-size: 0.8rem; }
.choice input:hover + label { border-color: var(--line-strong); }
.choice input:checked + label { border-color: var(--gold); background: rgba(242, 169, 59, 0.08); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + label { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.pane-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day-btn {
  flex: none; scroll-snap-align: start; width: 78px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2);
  cursor: pointer; display: grid; gap: 2px; text-align: center; transition: border-color 0.25s, background 0.25s;
}
.day-btn small { color: var(--dim); font-size: 0.75rem; text-transform: capitalize; }
.day-btn strong { font-size: 1.3rem; font-weight: 600; }
.day-btn[aria-pressed='true'] { border-color: var(--gold); background: rgba(242, 169, 59, 0.1); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.time-btn { padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color 0.25s, background 0.25s; }
.time-btn:hover { border-color: var(--line-strong); }
.time-btn[aria-pressed='true'] { background: var(--gold-grad); color: #1a1206; border-color: transparent; font-weight: 600; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: 0.78rem; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.summary dd { margin: 2px 0 0; }
.summary .total { border-top: 1px solid var(--line); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total strong { font-size: 1.7rem; }
.alert { padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 0.95rem; }
.alert.error { border-color: rgba(255, 122, 102, 0.4); background: rgba(255, 122, 102, 0.08); color: #ffc1b6; }
.alert.info { border-color: var(--line-strong); background: rgba(242, 169, 59, 0.06); color: var(--muted); }
.success { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 20px 0; }
.success .code { font-size: 1.6rem; font-weight: 600; letter-spacing: 0.08em; padding: 10px 20px; border-radius: 14px; border: 1px dashed var(--gold); color: var(--gold-2); }
.check-anim { width: 84px; height: 84px; }
.check-anim circle { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 0.9s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.25); border-top-color: #1a1206; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Suivi */
.timeline { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 34px; color: var(--dim); }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--surface-2); background: var(--bg); }
.timeline li::after { content: ''; position: absolute; left: 12px; top: 22px; bottom: 0; width: 2px; background: var(--surface-2); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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