/* =========================================================
   Rousseau Prestige Car — feuille de style unique
   Couleurs : modifiez les variables ci-dessous.
   ========================================================= */
:root {
  --bg: #070708;
  --s1: #0F0F11;
  --s2: #16161A;
  --line: #1C1C20;
  --line2: #2A2A30;
  --line3: #3A3A41;
  --tx: #F4F4F5;
  --tx2: #C8C8CE;
  --mut: #A1A1AA;
  --dim: #8B8B94;
  --red: #E31B23;
  --red-tx: #FF4D55;
  --red-bg: #110A0B;
  --red-line: #3A1416;
  --ok: #34D27B;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1120px;
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-tx); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--tx); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--mut); }
.kicker { margin: 0 0 8px; font-family: Michroma, sans-serif; font-size: 11px; letter-spacing: .24em; color: var(--red-tx); text-transform: uppercase; }
.h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.page-title { margin: 0; font-family: Michroma, sans-serif; font-weight: 400; font-size: clamp(26px, 4vw, 42px); line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; }
.page-head { padding: 56px 0 28px; }
.page-head p { margin: 12px 0 0; color: var(--mut); max-width: 640px; }
.sec { padding-top: 112px; }

/* ---------- Bandeau fermeture exceptionnelle ---------- */
.closure { background: var(--red); color: #fff; text-align: center; font-size: 15px; font-weight: 600; padding: 10px 20px; }

/* ---------- Barre de navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 7, 8, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
  view-transition-name: nav;
}
.nav.is-scrolled { background: rgba(7, 7, 8, .92); border-bottom-color: rgba(255, 255, 255, .08); }
.nav-in { position: relative; max-width: 1180px; margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand span { font-family: Michroma, sans-serif; font-size: 12px; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-a { position: relative; padding: 10px 0; color: var(--mut); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color .3s; }
.nav-a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--tx); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-a:hover { color: #fff; }
.nav-a:hover::after { transform: scaleX(1); }
.nav-a[aria-current="page"] { color: #fff; }
.nav-a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
.nav-cta { flex: none; display: flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: var(--tx); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .3s, border-color .3s, color .3s; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }

.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 4px; cursor: pointer; font-size: 14px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu-ic { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.menu-ic span { display: block; height: 1.5px; background: var(--tx); transition: transform .35s var(--ease); }
.menu[open] .menu-ic span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu[open] .menu-ic span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 64px); overflow-y: auto; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.menu-panel a.menu-a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); color: var(--tx2); text-decoration: none; font-size: 20px; font-weight: 600; transition: color .25s, padding-left .3s; }
.menu-panel a.menu-a:hover { color: #fff; padding-left: 6px; }
.menu-panel a.menu-a[aria-current="page"] { color: #fff; }
.menu-call { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 16px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s, filter .2s, background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; font-weight: 800; }
.btn-red:hover { filter: brightness(1.12); }
.btn-light { background: var(--tx); color: var(--bg); }
.btn-line { background: transparent; border-color: var(--line3); color: var(--tx); }
.btn-line:hover { border-color: var(--tx); }
.btn-block { display: flex; width: 100%; }
.arw { display: inline-block; transition: transform .25s; }
a:hover .arw, button:hover .arw { transform: translateX(5px); }
.link-u { color: var(--tx); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* ---------- Héros ---------- */
.hero { position: relative; padding: 72px 20px 0; text-align: center; overflow: hidden; }
.hero-light { position: absolute; left: 50%; top: -80px; width: min(1100px, 100%); height: 620px; transform: translateX(-50%); background: radial-gradient(ellipse 50% 55% at 50% 0%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.hero-kicker { position: relative; margin: 0 0 20px; font-family: Michroma, sans-serif; font-size: 11px; letter-spacing: .28em; color: var(--mut); }
.hero h1 { position: relative; margin: 0; font-family: Michroma, sans-serif; font-weight: 400; font-size: clamp(25px, 4vw, 46px); line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 .l { display: inline-block; }
.hero h1 .red, .red { color: var(--red); }
.hero-sub { position: relative; margin: 18px auto 0; max-width: 520px; color: var(--mut); }
.stage { position: relative; height: 290px; max-width: 760px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: center; }
.stage-glow { position: absolute; left: 15%; right: 15%; bottom: 16px; height: 60px; background: radial-gradient(ellipse at center, rgba(227, 27, 35, .45), rgba(227, 27, 35, 0) 70%); filter: blur(8px); }
.stage-line { position: absolute; left: 0; right: 0; bottom: 40px; height: 2px; overflow: hidden; background: linear-gradient(90deg, rgba(227, 27, 35, 0), var(--red) 25%, var(--red) 75%, rgba(227, 27, 35, 0)); }
.stage-sweep { position: absolute; left: 0; top: 0; bottom: 0; width: 22%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); transform: translateX(-120%); }
.gauge { position: relative; width: 300px; height: auto; margin-bottom: 58px; overflow: visible; }
.g-needle { transform-box: view-box; transform-origin: 120px 120px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 22px; padding: 7px 14px; border-radius: 999px; border: 1px solid #26262B; font-size: 14px; color: var(--tx2); }
.status-dot { display: block; width: 8px; height: 8px; border-radius: 50%; color: var(--dim); background: currentColor; }
.status.is-open .status-dot { color: var(--ok); }
.status.is-closed .status-dot { color: var(--red-tx); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 560px; margin: 0 auto; }
.trust { max-width: var(--wrap); margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #18181B; border-bottom: 1px solid #18181B; text-align: left; }
.trust > div { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.trust .n { flex: none; font-family: Michroma, sans-serif; font-size: 12px; color: var(--red); }
.trust b { display: block; }
.trust small { display: block; font-size: 14px; color: var(--mut); }

/* ---------- En-têtes de section ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }

/* ---------- Cartes véhicules ---------- */
.grid-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); overflow: hidden; color: var(--tx); text-decoration: none; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); border-color: #4A1A1D; box-shadow: 0 24px 50px -24px rgba(227, 27, 35, .45); }
.card-ph { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 3; background: var(--s2); overflow: hidden; }
.card-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-ph img { transform: scale(1.04); }
.ph-label { position: absolute; left: 14px; top: 14px; font-size: 12px; color: #71717A; }
.badge { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.badge.light { background: var(--tx); color: var(--bg); }
.card-ln { position: relative; display: block; width: 76%; height: 2px; margin-bottom: 18px; background: linear-gradient(90deg, rgba(227, 27, 35, 0), var(--red), rgba(227, 27, 35, 0)); transform: scaleX(.35); transition: transform .45s var(--ease); }
.card:hover .card-ln { transform: scaleX(1); }
.card-ph img ~ .card-ln { display: none; }
.card-bd { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-cat { font-family: Michroma, sans-serif; font-size: 10px; letter-spacing: .18em; color: var(--red-tx); text-transform: uppercase; }
.card-t { margin-top: 6px; font-weight: 800; font-size: 18px; }
.card-s { font-size: 14px; color: var(--mut); }
.card-ft { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.card-bd .card-s + .card-ft { margin-top: 12px; }
.card-p { font-weight: 800; font-size: 22px; }
.card-go { font-size: 13px; color: var(--mut); white-space: nowrap; }
.empty { padding: 48px 24px; border: 1px dashed var(--line2); border-radius: 16px; text-align: center; color: var(--mut); }

/* ---------- Atelier (accueil) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.split > * { flex: 1 1 420px; min-width: 0; }
.atimg { position: relative; min-height: 460px; border-radius: 20px; overflow: hidden; background: #111113; }
.atimg-bg { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 14px); transition: transform 1.4s var(--ease); }
.atimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.atimg:hover .atimg-bg, .atimg:hover img { transform: scale(1.05); }
.atimg-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(7, 7, 8, 0), rgba(7, 7, 8, .85)); }
.atimg-ln { position: absolute; left: 24px; right: 24px; bottom: 96px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(227, 27, 35, 0)); }
.atimg-tags { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; background: rgba(7, 7, 8, .8); border: 1px solid var(--line3); font-size: 14px; font-weight: 600; }
.svc-list { margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s; }
.svc-list li:hover { padding-left: 10px; }
.svc-n { flex: none; display: flex; width: 40px; height: 40px; border-radius: 50%; background: #1A0B0C; border: 1px solid #6B1A1F; color: var(--red-tx); align-items: center; justify-content: center; font-family: Michroma, sans-serif; font-size: 11px; transition: background .25s, color .25s, border-color .25s; }
.svc-list li:hover .svc-n { background: var(--red); color: #fff; border-color: var(--red); }
.svc-list b { display: block; }
.svc-list small { display: block; font-size: 14px; color: var(--mut); }

/* ---------- Bloc devis (accueil) ---------- */
.dvbox { padding: 40px; border-radius: 20px; background: var(--red-bg); border: 1px solid var(--red-line); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.dvbox > div:first-child { flex: 1 1 320px; }
.dv-grid { flex: 1 1 440px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dv { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid #4A1A1D; color: #fff; text-decoration: none; font-weight: 700; transition: background .2s, border-color .2s, transform .2s; }
.dv:hover { background: var(--red); border-color: var(--red); }
.dv:active { transform: scale(.97); }

/* ---------- Horaires ---------- */
.hours { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hours div { display: flex; justify-content: space-between; gap: 12px; min-height: 46px; align-items: center; padding: 0 18px; border-bottom: 1px solid #141417; font-size: 15px; background: #0B0B0C; color: var(--tx2); }
.hours div:last-child { border-bottom: 0; }
.hours div.today { background: #141417; color: #fff; font-weight: 700; }
.hours span:last-child { font-variant-numeric: tabular-nums; text-align: right; }
.access { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.access .addr { margin: 0; font-size: 24px; font-weight: 800; }
.map { width: 100%; height: 260px; border: 0; border-radius: 14px; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Pied de page ---------- */
.foot { margin-top: 104px; border-top: 1px solid #18181B; }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-top: 48px; padding-bottom: 24px; }
.foot-top img { width: 170px; height: auto; align-self: flex-start; flex: none; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot-col > span { font-size: 12px; color: var(--dim); letter-spacing: .12em; }
.flink { color: var(--mut); text-decoration: none; transition: color .2s; }
.flink:hover { color: #fff; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; font-size: 13px; color: var(--dim); border-top: 1px solid #141417; }
.foot-bot .push { margin-left: auto; }

/* ---------- Barre d'action mobile ---------- */
.mbar { display: none; }

/* ---------- Puces / choix ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, button.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--tx2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip span:hover, button.chip:hover { border-color: var(--mut); }
.chip input:checked + span, button.chip[aria-pressed="true"] { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.chip input:focus-visible + span { outline: 2px solid var(--red-tx); outline-offset: 3px; }
.chip span:active, button.chip:active { transform: scale(.97); }
.chip small { font-size: 12px; opacity: .7; }

/* ---------- Liste du stock ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.toolbar .chips { max-width: 100%; }
.select { height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--s1); }
.count { margin: 0 0 16px; font-size: 14px; color: var(--mut); }
.notfound { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 24px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.notfound p { margin: 0; }

/* ---------- Fiche véhicule ---------- */
.back { display: inline-block; margin: 24px 0 20px; color: var(--mut); font-size: 15px; text-decoration: none; }
.back:hover { color: #fff; }
.fiche { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.fiche-main { flex: 999 1 520px; min-width: 0; }
.fiche-side { flex: 1 1 340px; min-width: 0; }
.gal { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--s2); overflow: hidden; touch-action: pan-y; }
.gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal .ph-label { left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(7, 7, 8, .75); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.gal-btn:hover { background: rgba(30, 30, 34, .9); }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 7, 8, .8); font-size: 13px; font-weight: 700; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { aspect-ratio: 4 / 3; padding: 0; border-radius: 8px; border: 1px solid var(--line); background: var(--s2); overflow: hidden; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { opacity: 1; border: 2px solid var(--red); }
.fiche h1 { margin: 0; font-family: Michroma, sans-serif; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; }
.fiche .state { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ok); }
.fiche .state.reserve { color: #FFC861; }
.price { margin: 18px 0 4px; font-weight: 800; font-size: 42px; line-height: 1; }
.price.ask { font-size: 26px; }
.specs { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { padding: 12px 14px; background: #0B0B0C; }
.specs dt { font-size: 12px; color: var(--dim); }
.specs dd { margin: 0; font-weight: 700; }
.fiche-cta { display: flex; gap: 10px; margin-top: 24px; }
.fiche-cta .btn { flex: 1; padding: 0 16px; }
.fiche-cta .btn-red { flex: 2; }
.fiche h2 { margin: 40px 0 10px; font-size: 20px; font-weight: 800; }
.fiche p { margin: 0; color: var(--tx2); }

/* ---------- Formulaires ---------- */
.form-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.form-main { flex: 999 1 600px; min-width: 0; }
.form-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.box { margin: 0 0 20px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); min-width: 0; }
.box legend { float: left; width: 100%; margin: 0 0 16px; padding: 0; font-size: 18px; font-weight: 800; }
.box legend + * { clear: both; }
.box-title { margin: 0 0 14px; font-weight: 800; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.lb { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tx2); }
.q { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--tx2); }
.f { width: 100%; height: 52px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--tx); font-size: 16px; transition: border-color .2s; }
.f:focus { border-color: var(--red); outline: none; }
textarea.f { height: auto; padding: 12px 14px; resize: vertical; }
select.f { cursor: pointer; }
.f[type="date"], .f[type="month"] { color-scheme: dark; }
.f.plate { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--mut); }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--red); }
.file { display: flex; align-items: center; justify-content: center; min-height: 64px; margin-top: 16px; padding: 12px; border-radius: 12px; border: 1px dashed var(--red); background: #14090A; font-weight: 700; text-align: center; cursor: pointer; }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file:focus-within { outline: 2px solid var(--red-tx); outline-offset: 3px; }
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.type span { flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; min-height: 72px; padding: 10px 14px; border-radius: 12px; text-align: left; }
.type span b { font-weight: 800; color: var(--tx); }
.type span small { font-size: 12px; color: var(--mut); opacity: 1; }
.type input:checked + span { background: #1A0B0C; border-color: var(--red); color: var(--tx); }
.side-red { padding: 22px; border-radius: 16px; background: #B5121A; color: #fff; }
.side-red a { color: #fff; font-size: 24px; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
.side-box { padding: 22px; border-radius: 16px; border: 1px solid var(--line); }
.side-box ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--tx2); }
.side-box li { display: flex; gap: 10px; }
.side-box li span { flex: none; font-family: Michroma, sans-serif; font-size: 11px; color: var(--red-tx); padding-top: 4px; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.days::-webkit-scrollbar { display: none; }
.days .chip span { flex-direction: column; gap: 0; width: 66px; min-height: 70px; padding: 0; border-radius: 14px; font-size: 13px; }
.days .chip b { font-size: 20px; }
.times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.times .chip span { width: 100%; border-radius: 12px; }
.done { padding: 32px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); }
.done p:first-child { margin: 0; font-size: 22px; font-weight: 800; }
.err { margin: 12px 0 0; color: var(--red-tx); font-weight: 600; }

/* ---------- Pages texte ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 10px; font-size: 22px; }
.prose p, .prose li { color: var(--tx2); }

/* ---------- Animations ---------- */
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes gIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes gArc { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeG { from { opacity: 0; } to { opacity: 1; } }
@keyframes gNeedle { from { transform: rotate(-125deg); } to { transform: none; } }
@keyframes gIdle { 0%, 100% { transform: none; } 45% { transform: rotate(9deg); } 60% { transform: rotate(-3deg); } }
@keyframes carIn { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(420%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 9px rgba(0, 0, 0, 0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Tarifs */
.tsec { padding: 8px 0 48px; }
.tsec-head { margin-bottom: 20px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.tcard { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.tcard b { display: block; font-size: 17px; }
.tcard small { display: block; color: var(--mut); font-size: 14px; margin-top: 4px; }
.tprice { text-align: right; flex: none; }
.tprice > span { display: block; font-family: Michroma, sans-serif; font-size: 20px; color: var(--tx); white-space: nowrap; }
.tprice small { white-space: nowrap; }
.cur { font-family: Archivo, sans-serif; font-weight: 600; font-size: .85em; }
.tnote { margin: 16px 0 0; color: var(--mut); font-size: 15px; }
.tcta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 18px; }
.fcard { display: flex; flex-direction: column; padding: 22px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); transition: border-color .2s; }
.fcard:hover { border-color: var(--line3); }
.fcard-h h3 { margin: 0; font-size: 18px; font-weight: 800; }
.fcard-h small { color: var(--mut); font-size: 14px; }
.fprice { margin: 14px 0 16px; font-family: Michroma, sans-serif; font-size: 26px; color: var(--tx); }
.fprice small { font-family: Archivo, sans-serif; font-size: 13px; color: var(--mut); }
.fcard ul { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--tx2); }
.fcard li { display: flex; gap: 10px; }
.fcard li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--red); }
.tmini { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tmini-r { display: flex; justify-content: space-between; gap: 12px; color: var(--tx2); }
.tmini-r b { white-space: nowrap; color: var(--tx); }
.socials { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 520px) {
  .tcard { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tprice { text-align: left; }
}

@media (prefers-reduced-motion: no-preference) {
  .a1 { animation: up .8s var(--ease) both; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .27s; }
  .d4 { animation-delay: .45s; } .d5 { animation-delay: .6s; } .d6 { animation-delay: .75s; }
  .gauge { animation: gIn .9s var(--ease) .3s both; }
  .g-arc { stroke-dasharray: 1; animation: gArc 1.1s var(--ease) .4s both; }
  .g-red, .g-ticks { animation: fadeG .6s ease 1.1s both; }
  .stage-line { animation: draw 1.1s var(--ease) .2s both; }
  .stage-glow { animation: glow 3.4s ease-in-out 1.3s infinite; }
  .stage-sweep { animation: sweep 3.8s ease-in-out 1.5s infinite; }
  .status-dot { animation: ping 1.8s ease-out infinite; }
  main.enter > * { animation: up .7s var(--ease) both; }
  main.enter > *:nth-child(2) { animation-delay: .08s; }
  main.enter > *:nth-child(3) { animation-delay: .16s; }
  .js .rv { opacity: 0; transform: translateY(40px) scale(.985); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .menu[open] .menu-panel { animation: drop .3s var(--ease); }
  .menu[open] .menu-a, .menu[open] .menu-call { animation: fade .4s ease both; }
  .menu[open] .menu-a:nth-child(2) { animation-delay: .03s; }
  .menu[open] .menu-a:nth-child(3) { animation-delay: .06s; }
  .menu[open] .menu-a:nth-child(4) { animation-delay: .09s; }
  .menu[open] .menu-a:nth-child(5) { animation-delay: .12s; }
  .menu[open] .menu-call { animation-delay: .15s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
}
@media (max-width: 860px) {
  .hero h1 .l { display: block; }
  .hero h1 .sep, .hero h1 br { display: none; }
  .form-side { position: static; }
}
@media (max-width: 680px) {
  body { padding-bottom: 0; }
  .mbar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; position: sticky; bottom: 0; z-index: 30; padding: 10px 16px 14px; background: rgba(7, 7, 8, .95); border-top: 1px solid #18181B; }
  .mbar a { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 999px; text-decoration: none; font-weight: 800; }
  .mbar a:first-child { background: var(--red); color: #fff; }
  .mbar a:last-child { border: 1px solid var(--line3); color: var(--tx); font-weight: 700; }
  .hero { padding-top: 44px; }
  .hero-kicker { font-size: 10px; letter-spacing: .14em; }
  .hero h1 { font-size: 25px; letter-spacing: .02em; line-height: 1.35; }
  .stage { height: 180px; }
  .gauge { width: 190px; margin-bottom: 46px; }
  .cta .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .trust > div { padding: 14px 4px; }
  .sec { padding-top: 72px; }
  .h2 { font-size: 24px; }
  .atimg { min-height: 420px; }
  .atimg img { object-position: 50% 60%; }
  .atimg-tags, .atimg-ln { display: none; }
  .atimg-shade { height: 25%; }
  .dvbox { padding: 24px 20px; }
  .foot { margin-top: 72px; }
  .foot-bot .push { margin-left: 0; }
  .page-head { padding-top: 32px; }
  .g2, .types { grid-template-columns: minmax(0, 1fr); }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box { padding: 18px; }
  .times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price { font-size: 34px; }
  .thumbs { display: none; }
  .fiche-cta { display: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 22px; }
  .brand span { display: none; }
  .dv-grid { grid-template-columns: minmax(0, 1fr); }
}


/* =========================================================
   V4 — accueil « grand écran » : animations au défilement
   (.fx est ajouté par site.js si les animations sont autorisées)
   ========================================================= */
:root { --ease2: cubic-bezier(.16, 1, .3, 1); }
.nav-in { height: 56px; }
.nav-a { font-size: 14px; }
.nav-cta { height: 36px; }
.sec { padding-top: 150px; }
.h2.big { font-size: clamp(34px, 5.4vw, 66px); letter-spacing: -.035em; line-height: 1.03; }
.page-title { font-family: Archivo, system-ui, sans-serif; font-weight: 800; font-size: clamp(40px, 6.6vw, 78px); letter-spacing: -.04em; line-height: 1; text-transform: none; }
.page-head { padding: 72px 0 36px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 32px; color: var(--red-tx); font-size: 18px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.home { overflow-x: clip; }

/* Héros épinglé */
.hx { position: relative; }
.hx-pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(40px, 9vh, 96px) 20px 0; text-align: center; overflow: hidden; }
.hx-glow { position: absolute; left: 50%; bottom: -30vh; width: 140vw; height: 90vh; transform: translateX(-50%); background: radial-gradient(ellipse 40% 45% at 50% 50%, rgba(227, 27, 35, .5), rgba(227, 27, 35, 0) 70%); opacity: .35; pointer-events: none; }
.hx-copy { position: relative; z-index: 2; max-width: 1100px; will-change: transform, opacity; }
.hx-kicker { margin: 0 0 22px; font-family: Michroma, sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--mut); }
.hx-title { margin: 0; font-weight: 800; font-size: clamp(42px, 6.3vw, 96px); line-height: .98; letter-spacing: -.045em; }
.hx-title > span { display: inline-block; }
.grad { background: linear-gradient(100deg, #FF5A61 0%, #E31B23 45%, #9E0F15 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hx-sub { margin: 26px auto 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 21px); color: var(--tx2); line-height: 1.45; }
.hx-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hx .status { margin: 22px 0 0; }
.hx-stage { position: relative; z-index: 1; width: min(340px, 70vw); margin-top: auto; padding-bottom: 6vh; transform-origin: 50% 70%; will-change: transform; }
.hx-stage .gauge { width: 100%; margin: 0; }
.hx-line { height: 2px; margin: 18px -40% 0; background: linear-gradient(90deg, rgba(227, 27, 35, 0), var(--red) 30%, var(--red) 70%, rgba(227, 27, 35, 0)); }
.g-needle { transform: rotate(calc(-100deg + 165deg * var(--pe, .62))); }
.hx-end { position: absolute; left: 0; right: 0; bottom: 17vh; z-index: 3; margin: 0; font-weight: 800; font-size: clamp(30px, 5vw, 64px); letter-spacing: -.035em; opacity: 0; pointer-events: none; }
.hx-hint { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 12px; display: none; }
.hx-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; }

.fx .hx { height: 240vh; }
.fx .hx-pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
.fx .hx-copy { opacity: calc(1 - var(--p, 0) * 2.4); transform: translateY(calc(var(--p, 0) * -16vh)) scale(calc(1 - var(--p, 0) * .1)); }
.fx .hx-stage { transform: translateY(calc(var(--p, 0) * -34vh)) scale(calc(1 + var(--p, 0) * .5)); }
.fx .hx-glow { opacity: calc(.3 + var(--p, 0) * .9); }
.fx .hx-end { opacity: calc((var(--p, 0) - .7) * 4); transform: translateY(calc((1 - var(--p, 0)) * 60px)); }
.fx .hx-hint { display: block; opacity: calc(1 - var(--p, 0) * 6); }
.fx .g-needle { transform: rotate(calc(-100deg + 165deg * var(--pe, 0))); }

/* Phrase qui s'illumine */
.say { max-width: 1120px; margin: 0 auto; padding: 22vh 20px 18vh; }
.say-t { margin: 0; font-weight: 800; font-size: clamp(30px, 5vw, 64px); line-height: 1.1; letter-spacing: -.035em; }
.fx .say-t .w { color: #2E2E34; transition: color .35s ease; }
.fx .say-t .w.on { color: var(--tx); }

/* Trois métiers épinglés */
.trio-pin { padding: 40px 0; }
.trio-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "vis txt" "dots dots"; gap: 48px 64px; align-items: center; }
.trio-head { grid-area: head; }
.trio-vis { grid-area: vis; position: relative; width: min(380px, 100%); aspect-ratio: 1; justify-self: center; }
.trio-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.trio-ring circle { fill: none; stroke: #1F1F24; stroke-width: 1.5; }
.trio-ring .trio-ring-p { stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.trio-ic { position: absolute; inset: 24%; display: flex; align-items: center; justify-content: center; color: #fff; }
.trio-ic .ico { width: 100%; height: 100%; }
.trio-txt { grid-area: txt; position: relative; }
.trio-slide + .trio-slide { margin-top: 48px; }
.trio-n { margin: 0 0 12px; font-family: Michroma, sans-serif; font-size: 13px; color: var(--red-tx); letter-spacing: .2em; }
.trio-slide h3 { margin: 0; font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.035em; line-height: 1.02; }
.trio-p { margin: 18px 0 0; max-width: 460px; font-size: clamp(17px, 1.5vw, 20px); color: var(--tx2); }
.trio-slide .more { margin-top: 20px; }
.trio-dots { grid-area: dots; display: none; justify-content: center; gap: 8px; }
.trio-dots span { width: 8px; height: 8px; border-radius: 4px; background: #2A2A30; transition: width .5s var(--ease2), background .5s; }
.trio-dots span.on { width: 28px; background: #fff; }
.trio-vis .trio-ic + .trio-ic { display: none; }

.fx .trio { height: 340vh; }
.fx .trio-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 56px 0 24px; }
.fx .trio-pin > .wrap { width: 100%; }
.fx .trio-txt { min-height: 300px; }
.fx .trio-slide { position: absolute; left: 0; right: 0; top: 50%; margin: 0; opacity: 0; transform: translateY(calc(-50% + 36px)); transition: opacity .6s var(--ease2), transform .8s var(--ease2); pointer-events: none; }
.fx .trio-slide.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.fx .trio-slide.out { transform: translateY(calc(-50% - 36px)); }
.fx .trio-vis .trio-ic { display: flex; opacity: 0; transform: scale(.82) rotate(-8deg); transition: opacity .6s var(--ease2), transform .9s var(--ease2); }
.fx .trio-vis .trio-ic.on { opacity: 1; transform: none; }
.fx .trio-dots { display: flex; }

/* Showroom en rail */
.sec-head .car-nav { display: flex; gap: 10px; }
.rbtn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #1C1C21; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .25s, opacity .25s, transform .2s; }
.rbtn:hover { background: #2A2A31; }
.rbtn:active { transform: scale(.94); }
.rbtn:disabled { opacity: .35; cursor: default; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-left: max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.rail::-webkit-scrollbar { display: none; }
.rail-in { display: flex; gap: 20px; width: max-content; padding: 8px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 24px; }
.rail-in .card { flex: none; width: clamp(280px, 31vw, 380px); scroll-snap-align: start; border-radius: 24px; }
.rail-in .card-ph { aspect-ratio: 5 / 4; }
.rail-in .empty { width: min(560px, 86vw); }
.js .rail-in .card { opacity: 0; transform: translateX(80px); transition: opacity .9s var(--ease2), transform 1.1s var(--ease2), border-color .35s, box-shadow .35s; }
.js .rail.in .rail-in .card { opacity: 1; transform: none; }
.js .rail.in .rail-in .card:hover { transform: translateY(-6px); }

/* Atelier : la photo s'agrandit */
.atx-frame { padding: 0 20px; }
.atx .atimg { max-width: 1400px; height: min(82svh, 820px); min-height: 460px; margin: 0 auto; border-radius: 28px; will-change: transform; }
.atx .atimg img { object-position: 50% 62%; transition: none; }
.atx .atimg:hover img, .atx .atimg:hover .atimg-bg { transform: none; }
.atx .atimg-shade { height: 70%; background: linear-gradient(180deg, rgba(7, 7, 8, 0), rgba(7, 7, 8, .92)); }
.atx-cap { position: absolute; left: clamp(20px, 5vw, 64px); right: 20px; bottom: clamp(24px, 6vh, 64px); }
.atx-cap .kicker { color: #fff; opacity: .8; }
.atx-list { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; margin-top: 64px; }
.atx-side .muted { margin: 0 0 24px; font-size: 19px; line-height: 1.5; }
.fx .atx .atimg { transform: scale(calc(.84 + .16 * var(--p, 1))); border-radius: calc(44px - 28px * var(--p, 1)); }
.fx .atx .atimg img { transform: scale(calc(1.18 - .18 * var(--p, 1))); }
.fx .atx-cap { opacity: calc(var(--p, 1) * 2 - .6); transform: translateY(calc((1 - var(--p, 1)) * 40px)); }

/* Chiffres */
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 32px 30px 30px; border-radius: 28px; background: linear-gradient(180deg, #121215, #0C0C0E); border: 1px solid var(--line); }
.stat-l { font-family: Michroma, sans-serif; font-size: 11px; letter-spacing: .2em; color: var(--red-tx); text-transform: uppercase; }
.stat-v { margin-top: 18px; font-weight: 800; font-size: clamp(64px, 8vw, 112px); letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #8B8B94); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-u { font-size: 16px; color: var(--mut); }

/* Devis en tuiles */
.bentos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bento { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 220px; padding: 26px; border-radius: 28px; background: var(--s1); border: 1px solid var(--line); color: var(--tx); text-decoration: none; overflow: hidden; transition: transform .5s var(--ease2), border-color .4s, background .4s; }
.bento::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(227, 27, 35, .35), rgba(227, 27, 35, 0) 60%); opacity: 0; transition: opacity .5s; }
.bento:hover { transform: translateY(-6px); border-color: #4A1A1D; }
.bento:hover::before { opacity: 1; }
.bento-t { position: relative; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.bento-s { position: relative; color: var(--mut); font-size: 15px; }
.bento-go { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: #1C1C21; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .3s, transform .4s var(--ease2); }
.bento:hover .bento-go { background: var(--red); transform: translateX(3px); }

@media (max-width: 1040px) {
  .bentos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .stat-l { flex: 1 1 100%; }
  .stat-v { margin-top: 8px; font-size: 72px; }
}
@media (max-width: 860px) {
  .trio-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "vis" "txt" "dots"; gap: 28px; }
  .trio-vis { width: min(220px, 56vw); }
  .fx .trio-txt { min-height: 250px; }
  .atx-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .sec { padding-top: 104px; }
  .hx-pin { padding-top: 36px; }
  .hx-kicker { font-size: 10px; letter-spacing: .16em; }
  .hx-cta .btn { flex: 1 1 100%; }
  .hx-stage { width: 60vw; padding-bottom: 104px; }
  .fx .hx-stage { transform: translateY(calc(var(--p, 0) * -30vh)) scale(calc(1 + var(--p, 0) * .35)); }
  .hx-end { bottom: 150px; }
  .fx .hx-hint { display: none; }
  .say { padding: 14vh 20px 12vh; }
  .fx .trio-pin { padding-top: 64px; }
  .trio-head .h2.big { font-size: 32px; }
  .fx .trio-txt { min-height: 280px; }
  .rail-in .card { width: 82vw; }
  .atx .atimg { height: 70svh; min-height: 420px; border-radius: 22px; }
  .bentos { grid-template-columns: minmax(0, 1fr); }
  .bento { min-height: 140px; }
}
@media (max-height: 700px) and (min-width: 681px) {
  .hx-title { font-size: clamp(40px, 7vw, 84px); }
  .hx-stage { width: min(320px, 60vw); }
}

.card-p .ttc { font-size: 12px; font-weight: 600; color: var(--mut); }
