/* =========================================================
   Sebauto – Landing AION / Forthing / BAIC
   ========================================================= */

:root {
  --red: #d42a20;
  --red-dark: #a91f17;
  --red-glow: rgba(212, 42, 32, .35);
  --ink: #0d0e11;
  --ink-2: #16181d;
  --ink-3: #23262d;
  --line-dark: rgba(255, 255, 255, .1);
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --line: #e3e3df;
  --text: #1b1c20;
  --muted: #5e616a;
  --muted-light: #a6a9b1;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -20px rgba(13, 14, 17, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.accent { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  font: 600 15px/1 var(--font-head);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn svg { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { --pad: 10px 18px; font-size: 14px; }
.btn--lg { --pad: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 14px 36px -10px var(--red-glow); transform: translateY(-2px); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--primary:hover::after { transition: transform .8s var(--ease); transform: translateX(120%); }

.btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.header.is-scrolled { background: rgba(13, 14, 17, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 30px; width: auto; }
.header__nav { display: flex; gap: 28px; }
.header__nav a:not(.btn) {
  color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; font-weight: 500;
  position: relative; padding-block: 4px;
}
.header__nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.header__nav a:not(.btn):hover { color: #fff; }
.header__nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.header__phone svg { color: var(--red); font-size: 18px; }
.header__nav-cta { display: none; }

/* Burger (mobile / tablette) */
.header__burger {
  display: none; place-items: center; flex: none;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.header__burger span,
.header__burger span::before,
.header__burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.header__burger span { position: relative; transition: background .2s; }
.header__burger span::before,
.header__burger span::after { content: ""; position: absolute; left: 0; transition: transform .3s var(--ease); }
.header__burger span::before { transform: translateY(-6px); }
.header__burger span::after { transform: translateY(6px); }
.header.menu-open { background: var(--ink); box-shadow: 0 1px 0 var(--line-dark); }
.header.menu-open .header__burger span { background: transparent; }
.header.menu-open .header__burger span::before { transform: rotate(45deg); }
.header.menu-open .header__burger span::after { transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; background: var(--ink);
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%;
  animation: kenburns 22s ease-out both;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,14,17,.95) 0%, rgba(13,14,17,.82) 38%, rgba(13,14,17,.35) 75%, rgba(13,14,17,.55) 100%),
    linear-gradient(0deg, rgba(13,14,17,.9) 0%, transparent 35%);
}
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }

.hero__content { position: relative; max-width: 1200px; }
.hero__content > * { max-width: 640px; }
.hero__content > .hero__title { max-width: 860px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 999px;
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,42,32,.6); } 70% { box-shadow: 0 0 0 10px rgba(212,42,32,0); } 100% { box-shadow: 0 0 0 0 rgba(212,42,32,0); } }

.hero__title { font-size: clamp(42px, 7vw, 84px); font-weight: 800; margin-bottom: 22px; }
.hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.78); margin: 0 0 28px; }

.hero__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.hero__price-label { font-size: 14px; color: var(--muted-light); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hero__price-value { font: 800 clamp(36px, 5vw, 54px)/1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: rgba(255,255,255,.75); }
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; }
.hero__badges strong { color: #fff; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Brands band ---------- */
.brands { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
.brands__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 30px; flex-wrap: wrap; }
.brands__label { margin: 0; font-size: 14px; color: var(--muted-light); text-transform: uppercase; letter-spacing: .1em; }
.brands__label strong { color: #fff; }
.brands__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(30px, 6vw, 80px); }
.brands__item { height: 48px; display: flex; align-items: center; opacity: .75; transition: opacity .3s, transform .3s var(--ease); }
.brands__item:hover { opacity: 1; transform: translateY(-3px); }
.brands__item img { height: 100%; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
/* les PNG Forthing et BAIC contiennent beaucoup de marge */
.brands__item--forthing { height: 64px; }
.brands__item--baic img { height: 150%; }
.brand-wordmark { font: 800 30px/1 var(--font-head); letter-spacing: .28em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(70px, 10vw, 120px); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__kicker {
  margin: 0 0 14px; font: 600 13px/1.35 var(--font-head); color: var(--red);
  text-transform: uppercase; letter-spacing: .14em;
  display: inline-flex; align-items: center; gap: 10px;
}
.section__kicker::before { content: ""; flex: none; width: 28px; height: 2px; background: currentColor; }
.section__title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; margin-bottom: 20px; }
.section__lead { font-size: 18px; color: var(--muted); margin: 0; }
.section__cta { margin-top: 48px; text-align: center; }

/* ---------- Benefits ---------- */
.benefits { background: var(--paper); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.benefit {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.benefit h3 { font-size: 21px; margin: 22px 0 12px; }
.benefit p { margin: 0; color: var(--muted); }
.benefit p strong { color: var(--text); }
.benefit__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; background: #fff; color: var(--red); font-size: 26px;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.15);
}
.benefit--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.benefit--featured .benefit__icon { background: var(--red); color: #fff; }
.warranty { list-style: none; margin: 8px 0 0; padding: 0; }
.warranty li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.warranty li:last-child { border-bottom: 0; }
.warranty__brand { font-weight: 600; color: var(--muted-light); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.warranty__value { font-family: var(--font-head); font-size: 18px; text-align: right; }
.warranty__value b { font-size: 30px; color: #fff; }
.warranty__value small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted-light); }

/* ---------- Models ---------- */
.models { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.models::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -250px;
  background: radial-gradient(circle, rgba(212,42,32,.18), transparent 65%); pointer-events: none;
}
.section__head--light .section__lead { color: var(--muted-light); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--font-head); color: rgba(255,255,255,.75);
  background: transparent; border: 1px solid var(--line-dark);
  transition: background .25s, color .25s, border-color .25s;
}
.filter:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.filter.is-active { background: #fff; color: var(--ink); border-color: #fff; }

.models__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.model {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s, opacity .35s;
}
.model:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.model.is-hidden { display: none; }
.model.is-entering { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

.model__media { position: relative; aspect-ratio: 672 / 568; overflow: hidden; background: var(--ink-3); }
.model__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.model:hover .model__media img { transform: scale(1.06); }
.model__brand {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  font: 700 11px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(13,14,17,.75); backdrop-filter: blur(6px);
}
.model__energies { position: absolute; bottom: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.energy { padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #fff; color: var(--ink); }
.energy--ev { background: #1db46a; color: #fff; }
.energy--reev { background: #2a7de1; color: #fff; }
.energy--phev, .energy--hev { background: #f2b311; color: var(--ink); }

.model__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.model__name { font-size: 20px; margin-bottom: 6px; }
.model__type { font-size: 14px; color: var(--muted-light); margin: 0 0 18px; }
.model__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.model__price small { display: block; font-size: 12px; color: var(--muted-light); text-transform: uppercase; letter-spacing: .06em; }
.model__price strong { font: 700 22px/1.2 var(--font-head); }
.model__cta {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; font: 600 13px/1 var(--font-head);
  color: #fff; background: var(--red); text-decoration: none; border: 0; cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.model__cta:hover { background: var(--red-dark); transform: translateY(-2px); }

/* AION placeholder */
.model--soon .model__media {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #2b2f38, var(--ink-2) 70%);
}
.model--soon .brand-wordmark { font-size: 44px; opacity: .9; }
.model--soon .model__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.06) 50%, transparent 65%);
  animation: shine 3.5s infinite;
}
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.models__note { margin: 30px 0 0; font-size: 13px; color: var(--muted-light); }

/* ---------- Split blocks ---------- */
.split { background: var(--paper-2); }
.split__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split__grid--reverse { grid-template-columns: 1fr 1.1fr; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__tag {
  position: absolute; right: -18px; bottom: -22px;
  padding: 18px 24px; border-radius: var(--radius); background: var(--red); color: #fff;
  font: 700 30px/1 var(--font-head); box-shadow: 0 16px 40px -14px var(--red-glow);
}
.split__tag span { display: block; margin-top: 6px; font: 500 13px/1.3 var(--font-body); opacity: .9; }
.split__text p { color: var(--muted); }
.split__text .btn { margin-top: 14px; }

.checklist { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Proof ---------- */
.proof { background: var(--paper); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews + .quote { margin-top: 70px; }
.review { margin: 0; padding: 28px; background: var(--paper-2); border-radius: var(--radius-lg); }
.review__stars { color: #f2b311; letter-spacing: 2px; }
.review blockquote { margin: 12px 0; }
.review figcaption { font-size: 14px; color: var(--muted); }

.quote {
  margin: 0 auto; max-width: 860px; text-align: center; position: relative;
  padding-top: 50px;
}
.quote::before {
  content: "“"; position: absolute; top: -30px; left: 50%; translate: -50% 0;
  font: 800 120px/1 var(--font-head); color: var(--red); opacity: .9;
}
.quote p { font: 600 clamp(20px, 2.4vw, 27px)/1.45 var(--font-head); margin: 0 0 18px; letter-spacing: -.01em; }
.quote footer { color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about { background: var(--ink); color: #fff; }
.about .split__text p { color: var(--muted-light); }
.about .split__text strong { color: #fff; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq .section__head { text-align: center; margin-inline: auto; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative;
  font: 600 17px/1.4 var(--font-head);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d42a20' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(135deg); background-color: #fde9e7; }
.faq__answer { padding: 0 26px 24px; color: var(--muted); overflow: hidden; }
.faq__answer p { margin: 0; }
.faq__answer a { color: var(--red); font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--ink); color: #fff; padding-bottom: 0; position: relative; overflow: hidden; }
.cta-final::before {
  content: ""; position: absolute; width: 800px; height: 800px; left: -300px; bottom: -200px;
  background: radial-gradient(circle, rgba(212,42,32,.16), transparent 65%); pointer-events: none;
}
.cta-final__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.cta-final__intro > p { color: var(--muted-light); font-size: 17px; }

.open-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 30px;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
}
.open-status:empty { display: none; }
.open-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-light); }
.open-status.is-open i { background: #1db46a; box-shadow: 0 0 0 4px rgba(29,180,106,.2); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list > li > svg { flex: none; font-size: 22px; color: var(--red); margin-top: 2px; }
.contact-list a { text-decoration: none; }
.contact-list div > a:not([data-track="call"]) { display: inline-block; margin-top: 4px; color: var(--red); font-weight: 600; font-size: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; font-size: 15px; }
.hours span:nth-child(odd) { color: var(--muted-light); }

/* Form */
.form {
  background: #fff; color: var(--text); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.form__title { font-size: 24px; margin-bottom: 22px; }
.form__choice { border: 0; padding: 4px; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--paper-2); border-radius: 12px; }
.form__choice label { position: relative; cursor: pointer; }
.form__choice input { position: absolute; opacity: 0; }
.form__choice span {
  display: block; text-align: center; padding: 11px 6px; border-radius: 9px;
  font: 600 14px/1.2 var(--font-head); color: var(--muted); transition: background .25s, color .25s, box-shadow .25s;
}
.form__choice input:checked + span { background: #fff; color: var(--red); box-shadow: 0 4px 12px -4px rgba(0,0,0,.15); }
.form__choice input:focus-visible + span { outline: 2px solid var(--red); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 10px; font: 500 15px/1.3 var(--font-body); color: var(--text);
  background: var(--paper-2); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .25s, background .25s; appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field--select select {
  padding-right: 40px; cursor: pointer;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e616a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat;
}
.field label {
  position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted);
  pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label, .field input[type="date"] + label { transform: translateY(-9px) scale(.78); }
.field input:focus + label, .field textarea:focus + label { color: var(--red); }
.field.has-error input { border-color: var(--red); background: #fff6f5; }

.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 20px; cursor: pointer; }
.form__consent input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.form__consent a { color: var(--text); }
.form__consent.has-error { color: var(--red); }

.form__feedback { margin: 14px 0 0; font-size: 14px; font-weight: 500; min-height: 1em; }
.form__feedback.is-error { color: var(--red); }
.form__feedback.is-success { color: #13894f; }
.form.is-sending .btn { pointer-events: none; opacity: .7; }

.form__success { text-align: center; padding: 30px 0; animation: cardIn .5s var(--ease) both; }
.form__success-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: #e7f7ef; color: #13894f; font-size: 34px;
}
.form__success h3 { font-size: 24px; margin-bottom: 10px; }
.form__success p { color: var(--muted); margin: 0; }

.map { position: relative; margin-top: clamp(60px, 8vw, 100px); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.map:hover iframe { filter: none; }

/* ---------- Footer ---------- */
.footer { background: #000; color: #fff; padding: 70px 0 40px; font-size: 15px; line-height: 1.75; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--red); }
.footer p { margin: 0; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.15); }

.footer__logo img { width: 190px; height: auto; }
.footer__social { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.footer__social span { color: var(--muted-light); margin-right: 14px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #000; font-size: 16px; transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--red); color: #fff; }

.footer__contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer__phone { font: 700 26px/1.2 var(--font-head); white-space: nowrap; margin-bottom: 12px; }
.footer__phone span { color: var(--red); }
.footer__address { margin-top: 10px; }

.footer__hours { text-align: right; }
.footer__hours h3 { font-size: 17px; margin-bottom: 14px; }
.footer__hours span { color: var(--red); }

.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-top: 34px; font-size: 14px; }
.footer__copy span { display: inline-flex; align-items: center; gap: 5px; }
.footer__copy img { width: 30px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 30px; }

/* ---------- Pages légales ---------- */
.legal { background: var(--ink-2); color: #fff; padding: calc(var(--header-h) + 60px) 0 80px; }
.legal__title { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 40px; }
.legal__content { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.85); }
.legal__content h2 { font-size: 22px; color: #fff; margin: 44px 0 16px; }
.legal__content h2 strong { font-weight: 600; }
.legal__content p { margin: 0 0 14px; }
.legal__content ul { margin: 0 0 16px; padding-left: 22px; }
.legal__content li { margin-bottom: 6px; }
.legal__content li::marker { color: var(--red); }

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

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal.is-visible { opacity: 1; transform: none; }

.hero .reveal { transition-duration: 1s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header__burger { display: grid; }
  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px 20px 28px;
    background: var(--ink); border-top: 1px solid var(--line-dark);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .header.menu-open .header__nav { opacity: 1; visibility: visible; transform: none; }
  .header__nav a:not(.btn) { padding: 16px 0; font: 600 18px/1.2 var(--font-head); color: #fff; border-bottom: 1px solid var(--line-dark); }
  .header__nav a:not(.btn)::after { display: none; }
  .header__nav-cta { display: flex; margin-top: 24px; }
  body.menu-open .mobile-bar { transform: translateY(110%); }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefit--featured { grid-column: span 2; order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__hours { grid-column: span 2; text-align: left; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .split__grid, .split__grid--reverse, .cta-final__grid { grid-template-columns: 1fr; }
  .about .split__media { order: -1; }
  .reveal--left, .reveal--right { transform: translateY(28px); }
  .split__tag { right: 14px; bottom: -20px; }
  .brands__inner { justify-content: center; text-align: center; }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .header__phone span { display: none; }
  .header__phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
  .header__burger { width: 40px; height: 40px; }
  .header__nav { padding-inline: 16px; }
  .header__actions .btn { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); padding-bottom: 70px; }
  .hero__bg::after { background: linear-gradient(0deg, rgba(13,14,17,.97) 15%, rgba(13,14,17,.7) 60%, rgba(13,14,17,.55) 100%); }
  .hero__ctas .btn { width: 100%; --pad: 16px 20px; font-size: 15px; }
  .hero__scroll { display: none; }
  .brands__list { gap: 28px; }
  .brands__item { height: 36px; }
  .brands__item--forthing { height: 50px; }
  .brand-wordmark { font-size: 22px; }
  .filter { padding: 10px 16px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefit--featured { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__choice span { font-size: 13px; }
  .map { height: 300px; }
  .footer { padding-bottom: 100px; text-align: center; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand, .footer__contact { align-items: center; display: flex; flex-direction: column; }
  .footer__hours { grid-column: auto; text-align: center; }
  .footer__bottom { flex-direction: column; }
  .page-legal .footer { padding-bottom: 40px; }

  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13,14,17,.92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 18px; border-radius: 999px; text-decoration: none;
    font: 600 15px/1 var(--font-head); color: #fff;
  }
  .mobile-bar__call { border: 1px solid rgba(255,255,255,.3); }
  .mobile-bar__cta { background: var(--red); }
}
