/* ============ CARPRO · Casablanca ============ */
:root {
  --bg: #060708;
  --bg-2: #0c0e11;
  --bg-3: #14171b;
  --ink: #f2f3f5;
  --muted: #8b9099;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #6cf0ff;
  --accent-ink: #001417;
  --heat: #ff6a3d;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: normal; }
.kicker { color: var(--accent); margin: 0 0 18px; }
.big {
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(40px, 7.2vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============ BUTTONS ============ */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(108, 240, 255, 0.4); }
.btn--accent:hover { box-shadow: 0 0 40px 2px rgba(108, 240, 255, 0.35); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
}
.loader__inner { width: min(420px, 78vw); }
/* Une seule barre : celle du logo, qui se remplit de gauche à droite */
.loader__logo { position: relative; width: 100%; }
.loader__logo img { width: 100%; }
.loader__text { opacity: 0.15; }
.loader__track, .loader__fill { position: absolute; inset: 0; }
.loader__track { opacity: 0.12; }
.loader__fill { clip-path: inset(0 100% 0 0); }
.loader__meta { display: flex; justify-content: space-between; margin-top: 18px; color: var(--muted); }
.loader__meta b { color: var(--ink); font-weight: 500; }

/* ============ STAGE (3D) ============ */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: opacity 0.6s var(--ease); }
.stage canvas { width: 100%; height: 100%; display: block; }
.stage.is-interactive { pointer-events: auto; }
.stage__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 55%, transparent 40%, rgba(6, 7, 8, 0.85) 100%),
    linear-gradient(to bottom, rgba(6, 7, 8, 0.6), transparent 22%, transparent 75%, rgba(6, 7, 8, 0.9));
}
.stage.is-hidden { opacity: 0; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled { background: rgba(6, 7, 8, 0.72); backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav__links a { position: relative; transition: color 0.3s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ============ HERO ============ */
main { position: relative; z-index: 1; }
.hero {
  min-height: 100svh; padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
}
.hero__tag { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 22px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.hero__title {
  margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(48px, 10.5vw, 176px); line-height: 0.86; letter-spacing: -0.03em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .split { display: inline-block; }
.hero__title .outline { -webkit-text-stroke-width: 2px; }
.hero__lead { max-width: 440px; color: #c3c7cd; font-size: 17px; margin: 26px 0 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__specs { display: flex; gap: clamp(20px, 4vw, 56px); margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.hero__specs div { display: flex; flex-direction: column; gap: 4px; }
.hero__specs b { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; text-transform: none; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 44px; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.hero__scroll-line { width: 48px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scan 2.2s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ============ STORY ============ */
.story { height: 360vh; position: relative; }
.story__pin { position: sticky; top: 0; height: 100svh; padding: 0 var(--gutter); }
.story__hud {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 8px; color: var(--muted); text-align: right;
}
.story__hud > span:first-child { grid-column: 1 / -1; }
.story__pct { font-family: var(--display); font-size: clamp(56px, 8vw, 120px); font-weight: 300; color: var(--ink); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.story__meter { grid-column: 1 / -1; height: 2px; background: var(--line); margin-top: 14px; }
.story__meter i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.story__chapters { position: absolute; left: var(--gutter); bottom: 12vh; width: min(460px, calc(100% - 2 * var(--gutter))); }
.chapter { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.chapter.is-active { opacity: 1; transform: none; }
.chapter__num { color: var(--accent); margin: 0 0 14px; }
.chapter h2 { font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; margin: 0 0 14px; letter-spacing: -0.02em; }
.chapter p:last-child { color: #b9bec5; margin: 0; }

/* ============ HEAL ============ */
.heal, .marquee, .services, .process, .faq, .contact, .footer { position: relative; z-index: 2; background: var(--bg); }
.heal { padding: 140px var(--gutter) 120px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.heal__hint { color: var(--muted); margin-top: 22px; }
.heal__panel { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; cursor: crosshair; touch-action: none; }
.heal__panel canvas { width: 100%; height: 100%; display: block; }
.heal__hud { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.7); pointer-events: none; }
.heal__hud b { color: var(--accent); font-weight: 500; transition: color 0.3s; }
.heal__hud b.is-hot { color: var(--heat); }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; font-weight: 900; font-stretch: 125%; font-size: clamp(36px, 6vw, 84px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ CONFIG ============ */
.config { position: relative; padding: 140px 0 0; }
.config__intro { padding: 0 var(--gutter); max-width: 760px; }
.config__intro p:last-child { color: #b9bec5; max-width: 480px; }
.config__layout { display: grid; grid-template-columns: 1fr minmax(360px, 440px); min-height: 100svh; }
.config__view { position: sticky; top: 0; height: 100svh; pointer-events: none; }
.config__zones { position: absolute; left: var(--gutter); top: 110px; display: flex; flex-direction: column; gap: 8px; }
.zone-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(108, 240, 255, 0.35); background: rgba(6, 7, 8, 0.55); backdrop-filter: blur(6px); color: var(--ink); width: max-content; }
.zone-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.config__drag { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); color: var(--muted); display: flex; gap: 8px; align-items: center; }

.panel {
  position: relative; z-index: 3; margin: 90px var(--gutter) 60px 0; align-self: start;
  padding: 26px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 23, 27, 0.86), rgba(10, 12, 14, 0.92));
  backdrop-filter: blur(18px);
}
.panel__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.tab { border: 0; background: transparent; padding: 11px 6px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: background 0.3s, color 0.3s; }
.tab.is-active { background: var(--ink); color: var(--bg); }
.panel__group { margin-top: 22px; }
.panel__label { color: var(--muted); margin: 0 0 10px; }
.packs { display: flex; flex-direction: column; gap: 8px; }
.pack {
  text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.pack:hover { border-color: var(--line-2); }
.pack.is-active { border-color: var(--accent); background: rgba(108, 240, 255, 0.06); }
.pack__name { font-weight: 700; font-size: 15px; }
.pack__desc { grid-column: 1; color: var(--muted); font-size: 13px; line-height: 1.35; }
.pack__tag { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.pack__check { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #c9cdd3; transition: all 0.3s; }
.chip:hover { border-color: var(--line-2); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--line-2); outline-offset: 2px; transition: transform 0.3s var(--ease), outline-color 0.3s; }
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { outline: 2px solid var(--accent); }
.summary { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
.summary__label { color: var(--muted); margin: 0 0 6px; }
.summary__title { margin: 0; font-weight: 800; font-size: 18px; }
.summary__sub { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.summary__price { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.summary__price span { color: var(--muted); }
.summary__amount { font-size: 18px; white-space: nowrap; }
.panel__ctas { display: grid; gap: 8px; margin-top: 18px; }

/* ============ SECTIONS ============ */
.services, .process, .faq { padding: 140px var(--gutter); }
.section-head { margin-bottom: 64px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; min-height: 320px; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color 0.4s var(--ease), transform 0.6s var(--ease);
}
.card::before { content: attr(data-n); position: absolute; top: 24px; left: 28px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.card:hover { border-color: var(--line-2); }
.card h3 { margin: 0 0 8px; font-size: 26px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; position: relative; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; position: relative; max-width: 320px; }
.card__link { position: relative; font-weight: 600; font-size: 14px; color: var(--accent); width: max-content; }
.card__fx { position: absolute; inset: 0; opacity: 0.55; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.card:hover .card__fx { opacity: 1; transform: scale(1.06); }
.card__fx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-2) 30%, transparent 75%); }
.card__fx--ppf { background: radial-gradient(circle at 75% 20%, rgba(108, 240, 255, 0.35), transparent 50%), repeating-linear-gradient(115deg, transparent 0 22px, rgba(108, 240, 255, 0.08) 22px 23px); }
.card__fx--ceramic { background: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.28), transparent 45%), radial-gradient(circle at 30% 10%, rgba(180, 140, 255, 0.2), transparent 45%); }
.card__fx--ceramic::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 2px, transparent 3px), radial-gradient(circle, rgba(255, 255, 255, 0.35) 0 4px, transparent 5px); background-size: 46px 52px, 83px 71px; background-position: 0 0, 20px 14px; opacity: 0.35; }
.card__fx--tint { background: linear-gradient(160deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.6) 60%), linear-gradient(90deg, #1b2a33, #0a0d10); }
.card__fx--polish { background: conic-gradient(from 0deg at 72% 28%, transparent, rgba(255, 255, 255, 0.18), transparent 25%, rgba(255, 255, 255, 0.12), transparent 50%, rgba(255, 255, 255, 0.18), transparent 75%); animation: spin 14s linear infinite; }
@keyframes spin { to { filter: hue-rotate(0deg); transform: rotate(360deg) scale(1.6); } }
.card:hover .card__fx--polish { transform: none; }
.card__fx--leather { background: radial-gradient(circle at 70% 25%, rgba(196, 120, 64, 0.4), transparent 55%), repeating-radial-gradient(circle at 70% 25%, transparent 0 6px, rgba(0, 0, 0, 0.12) 6px 7px); }
.card__fx--staging { background: radial-gradient(ellipse 60% 40% at 70% 0%, rgba(255, 255, 255, 0.35), transparent 70%), repeating-linear-gradient(90deg, transparent 0 40px, rgba(255, 255, 255, 0.05) 40px 42px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 24px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.step.is-in::before { transform: scaleX(1); }
.step__n { color: var(--accent); }
.step h3 { font-size: 24px; font-weight: 800; font-stretch: 112%; margin: 14px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 14.5px; max-width: 260px; }

.faq__list { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--accent); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--muted); max-width: 680px; }

.contact { padding: 140px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 60% at 90% 100%, rgba(108, 240, 255, 0.08), transparent 70%), var(--bg); }
.contact__info { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 18px; }
.contact__info li { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__info .mono { color: var(--muted); }
.contact__info a { font-weight: 600; }
.contact__info a:hover { color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg-2); }
.field { display: grid; gap: 8px; }
.field--full, .form .btn, .form__note, .form__error, .form__ok { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input.is-invalid { border-color: var(--heat); }
.form__error { margin: 0; color: var(--heat); font-size: 14px; }
.form__note { margin: 0; color: var(--muted); font-size: 13px; }

.footer { padding: 64px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__logo { height: 34px; width: auto; margin-bottom: 18px; }
.footer__credit { margin-top: 28px; font-size: 10px; opacity: 0.7; text-transform: none; letter-spacing: 0.04em; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transform: scale(0); transition: transform 0.5s var(--ease);
}
.wa-float.is-visible { transform: scale(1); }

.gl-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: 12px; text-align: center; padding: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .heal { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero__scroll { display: none; }
  .hero__specs b { font-size: 22px; }
  .story__hud { top: 92px; transform: none; }
  .story__pct { font-size: 56px; }
  .story__chapters { bottom: 6vh; }
  .config__layout { grid-template-columns: 1fr; }
  .config__view { height: 52svh; position: sticky; top: 0; z-index: 1; }
  .config__zones { top: 74px; flex-direction: row; flex-wrap: wrap; right: var(--gutter); }
  .zone-pill { font-size: 9px; padding: 5px 9px; }
  .config__drag { bottom: 10px; }
  .panel { margin: 0 var(--gutter) 40px; position: relative; top: 0; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .services, .process, .faq, .contact { padding-block: 96px; }
}
@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .contact__info li { grid-template-columns: 1fr; gap: 4px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .panel { padding: 18px; }
  .tab { font-size: 12.5px; }
}

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

/* ============ ÉTIQUETTES 3D (configurateur) ============ */
.config__zones { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hotspots { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease); }
.hotspots.is-visible { opacity: 1; }
.hot { position: absolute; left: 0; top: 0; will-change: transform, opacity; transition: opacity 0.3s; }
.hot__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(108, 240, 255, 0.18), 0 0 16px var(--accent);
}
.hot__dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent);
  animation: hotPing 2.2s var(--ease) infinite; animation-delay: calc(var(--i) * 0.25s);
}
@keyframes hotPing { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.4); opacity: 0; } }
.hot__line {
  position: absolute; left: 0; top: 0; height: 1px; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), rgba(108, 240, 255, 0.35));
}
.hot__label {
  position: absolute; left: 0; top: 0; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  color: var(--ink); background: rgba(6, 7, 8, 0.62); border: 1px solid rgba(108, 240, 255, 0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
/* Entrée en cascade à chaque changement de pack */
.hotspots.is-in .hot__dot { animation: hotIn 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.08s + 0.2s); }
.hotspots.is-in .hot__label { animation: hotFade 0.7s var(--ease) both; animation-delay: calc(var(--i) * 0.08s + 0.35s); }
.hotspots.is-in .hot__line { animation: hotFade 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.08s + 0.25s); }
@keyframes hotIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes hotFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 860px) {
  .hot__label { font-size: 9px; padding: 5px 9px; }
}

/* Prix affiché dans chaque pack */
.pack__tag { grid-row: 1; }
.pack__price { grid-row: 2; grid-column: 2; justify-self: end; font-weight: 800; font-size: 14px; white-space: nowrap; color: var(--ink); }

/* Pièces incluses dans chaque pack */
.pack__parts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.pack__parts i {
  font-style: normal; font-size: 11px; line-height: 1; padding: 5px 8px 5px 7px; border-radius: 999px;
  border: 1px solid var(--line); color: #b9bec5; background: rgba(255, 255, 255, 0.02);
}
.pack__parts i::before { content: '✓'; margin-right: 5px; color: var(--accent); font-weight: 700; }
.pack.is-active .pack__parts i { border-color: rgba(108, 240, 255, 0.35); color: var(--ink); background: rgba(108, 240, 255, 0.08); }

/* Mobile / tablette : l'aperçu 3D reste en haut, le panneau défile à l'intérieur */
@media (max-width: 860px) {
  .config__layout { grid-template-rows: 46svh minmax(0, 1fr); height: 100svh; min-height: 0; }
  .config__view { position: relative; height: 46svh; }
  .panel {
    align-self: stretch; min-height: 0; margin: 0 var(--gutter) 14px;
    overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .panel::-webkit-scrollbar { width: 4px; }
  .panel::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
}

/* Véhicule : marque + modèle */
.car-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.car-field input {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.3s, background 0.3s;
}
.car-field input::placeholder { color: #7d838b; }
.car-field input:focus { outline: none; border-color: var(--accent); background: rgba(108, 240, 255, 0.05); }
@media (max-width: 380px) { .car-fields { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Champ piège anti-spam (invisible) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Configurateur : demande de devis */
.quote { margin-top: 22px; }
.quote .car-field input.is-invalid { border-color: var(--heat); }
.quote__msg { margin: 10px 0 0; font-size: 13.5px; color: var(--heat); }
.quote__msg.is-ok { color: var(--accent); }
.js-quote:disabled { opacity: 0.7; cursor: default; }

.form__ok { margin: 0; color: var(--accent); font-size: 14px; }
.form .btn:disabled { opacity: 0.7; cursor: default; }
