/* ==========================================================================
   NBIKO Luxury Car — v2
   Design system inspiré de « Carola » (structure, composants) en version
   sombre & or.
   ========================================================================== */

:root {
  /* primary */
  --primary: #d4a44c;
  --primary-hover: #e6bc64;
  --primary-light: #f2d58a;
  --primary-dark: #a97a26;
  --primary-soft: rgba(212, 164, 76, 0.12);
  --primary-grad: linear-gradient(135deg, #f2d58a 0%, #d4a44c 50%, #a97a26 100%);

  /* neutral (inversé pour le thème sombre) */
  --black: #0b0b0d;
  --bg: #0e0e10;
  --bg-alt: #121215;
  --surface: #17171b;
  --surface-2: #1e1e23;
  --surface-3: #26262c;
  --border: #2a2a31;
  --border-2: #34343c;
  --gray: #9b9ba4;
  --gray-2: #6c6c75;
  --white: #f5f5f7;

  /* accent */
  --star: #ffb800;
  --success: #28c76f;

  /* typography */
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(34px, 4.6vw, 64px);
  --fs-h2: clamp(26px, 3vw, 40px);
  --fs-h3: 20px;
  --fs-body: 15px;
  --fs-small: 12px;
  --fs-price: 20px;

  /* spacing */
  --xs: 4px; --sm: 8px; --md: 16px; --lg: 24px; --xl: 32px; --xxl: 48px;
  --section: clamp(80px, 9vw, 120px);

  /* radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 20px; --r-pill: 50px;

  /* shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-drop: 0 18px 40px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 14px 34px -12px rgba(212, 164, 76, 0.55);

  --container: 1200px;
  --gutter: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.75; color: var(--gray);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--white); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--primary); color: var(--black); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--pt0 { padding-top: 0; }
.text-primary { color: var(--primary); }
.text-grad { background: var(--primary-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-lg { margin-top: var(--lg); }
.mt-xl { margin-top: var(--xl); }
.center { text-align: center; }

/* ---------- Tag (pill) & titres de section ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 12px; border-radius: var(--r-pill);
  background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(212, 164, 76, 0.25);
}
.sec-title { margin-bottom: clamp(36px, 4vw, 56px); display: grid; gap: 12px; }
.sec-title.centred { justify-items: center; text-align: center; }
.sec-title h2 { font-size: var(--fs-h2); }
.sec-title p { max-width: 560px; }
.sec-title--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-title--row > div { display: grid; gap: 12px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; min-height: 48px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -75%; z-index: -1; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-25deg);
}
.btn:hover::after { animation: shine 0.8s var(--ease); }
@keyframes shine { to { left: 130%; } }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; transition: transform 0.35s var(--ease); }
.btn:hover svg.lucide-arrow-right, .btn:hover svg.lucide-move-right { transform: translateX(4px); }
.btn--primary { background: var(--primary); color: var(--black); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--white); border: 1px solid var(--border-2); }
.btn--dark:hover { border-color: var(--primary); color: var(--primary); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid var(--border-2); padding: 10px 20px; }
.btn--outline:hover { background: var(--primary); border-color: var(--primary); color: var(--black); }
.btn--wa { background: #1fae5b; color: #fff; }
.btn--wa:hover { background: #22c066; transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 15px; }

.icon-box { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; transition: 0.4s var(--ease); }
.icon-box svg { width: 26px; height: 26px; }
.icon-box--solid { background: var(--primary); color: var(--black); }
.round-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--white); transition: 0.35s; }
.round-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--black); }
.round-btn svg { width: 19px; height: 19px; }
[data-brand-icon] { display: inline-grid; place-items: center; width: 1.2em; flex-shrink: 0; }
[data-brand-icon] svg { width: 100%; height: auto; }

/* ---------- Preloader (style Carola) ---------- */
.loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--black); }
.loader__inner { display: grid; justify-items: center; gap: 30px; }
.loader__spinner { width: 96px; height: 96px; border-radius: 50%; border: 2px solid rgba(212, 164, 76, 0.15); border-top-color: var(--primary); border-right-color: var(--primary-light); animation: spin 1s linear infinite; }
.loader__letters { display: flex; gap: 0.5em; font-size: clamp(30px, 6vw, 52px); font-weight: 600; letter-spacing: 0.1em; }
.loader__letters span { color: transparent; -webkit-text-stroke: 1px rgba(212, 164, 76, 0.35); position: relative; }
.loader__letters span::before { content: attr(data-l); position: absolute; inset: 0; color: var(--primary); -webkit-text-stroke: 0; opacity: 0; animation: letter 2.4s infinite; }
.loader__letters span:nth-child(2)::before { animation-delay: 0.2s; }
.loader__letters span:nth-child(3)::before { animation-delay: 0.4s; }
.loader__letters span:nth-child(4)::before { animation-delay: 0.6s; }
.loader__letters span:nth-child(5)::before { animation-delay: 0.8s; }
@keyframes letter { 0%, 75%, 100% { opacity: 0; transform: rotateY(-90deg); } 25%, 50% { opacity: 1; transform: rotateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0s 0.6s; }

/* Transition entre pages */
.page-transition { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.page-transition i { background: var(--black); transform: scaleY(0); transform-origin: bottom; border-right: 1px solid rgba(212, 164, 76, 0.08); }
.page-transition i:nth-child(odd) { background: #0f0f12; }
.page-transition__logo { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; pointer-events: none; opacity: 0; font-weight: 700; font-size: 30px; letter-spacing: 0.3em; color: var(--primary); }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; background: var(--primary-grad); transform: scaleX(0); transform-origin: left; }

/* ---------- Top bar + header ---------- */
.topbar { position: absolute; z-index: 101; top: 0; left: 0; right: 0; font-size: 13px; color: rgba(245, 245, 247, 0.75); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 42px; }
.topbar__info, .topbar__links { display: flex; align-items: center; gap: 24px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--primary); }
.topbar a:hover { color: var(--primary); }

.header { position: absolute; z-index: 100; top: 42px; left: 0; right: 0; }
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); padding: 0 12px 0 24px;
  background: rgba(17, 17, 20, 0.82); border: 1px solid var(--border); border-radius: var(--r-md);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-radius 0.4s, height 0.4s;
}
.header.is-sticky { position: fixed; top: 0; animation: slideDown 0.6s var(--ease); }
.header.is-sticky .container { max-width: none; padding: 0; }
.header.is-sticky .header__bar { border-radius: 0; border-width: 0 0 1px; height: 70px; padding-inline: max(24px, calc((100vw - var(--container)) / 2)); background: rgba(11, 11, 13, 0.9); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 46px; }
.logo__txt { display: grid; line-height: 1; }
.logo__txt b { font-size: 20px; font-weight: 700; letter-spacing: 0.12em; color: var(--white); }
.logo__txt small { font-size: 8px; letter-spacing: 0.5em; color: var(--primary); margin-top: 5px; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu a { position: relative; padding: 8px 16px; font-size: 14.5px; font-weight: 500; color: var(--white); }
.menu a::before { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); transform: translateX(-50%) scale(0); transition: transform 0.35s var(--ease); }
.menu a:hover, .menu a.is-active { color: var(--primary); }
.menu a.is-active::before, .menu a:hover::before { transform: translateX(-50%) scale(1); }
.header__right { display: flex; align-items: center; gap: 10px; }
.header__right .btn { border: 1px solid var(--primary); color: var(--primary); background: transparent; min-height: 42px; padding: 8px 20px; }
.header__right .btn:hover { background: var(--primary); color: var(--black); }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border-2); place-items: center; color: var(--white); }
.burger svg { width: 22px; }

/* Drawer mobile */
.drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.4s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--surface); border-left: 1px solid var(--border);
  padding: 24px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; transform: translateX(100%); transition: transform 0.55s var(--ease);
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__nav { display: grid; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 17px; font-weight: 500; color: var(--white); opacity: 0; transform: translateX(30px); transition: opacity 0.4s, transform 0.5s var(--ease), color 0.3s; }
.drawer__nav a svg { width: 18px; color: var(--gray-2); }
.drawer__nav a.is-active, .drawer__nav a:hover { color: var(--primary); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav a:nth-child(1) { transition-delay: 0.1s; }
.drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: 0.15s; }
.drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: 0.2s; }
.drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: 0.25s; }
.drawer.is-open .drawer__nav a:nth-child(5) { transition-delay: 0.3s; }
.drawer.is-open .drawer__nav a:nth-child(6) { transition-delay: 0.35s; }
.drawer__contact { display: grid; gap: 14px; margin-top: auto; }
.drawer__contact a { display: flex; align-items: center; gap: 12px; color: var(--white); }
.drawer__contact svg { width: 18px; color: var(--primary); }

/* ---------- Hero (style four) ---------- */
.hero { position: relative; padding-top: calc(42px + var(--header-h) + 40px); background: radial-gradient(1200px 600px at 85% 30%, rgba(212, 164, 76, 0.1), transparent 60%), var(--black); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(212, 164, 76, 0.22) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); opacity: 0.35; pointer-events: none; }
.hero__slider { overflow: hidden; }
.hero-slide { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; min-height: clamp(520px, 72vh, 700px); padding-bottom: 130px; }
.hero-slide__text { display: grid; gap: 22px; position: relative; z-index: 2; }
.hero-slide__text h1, .hero-slide__text h2 { font-size: var(--fs-h1); font-weight: 400; line-height: 1.12; }
.hero-slide__text h1 b, .hero-slide__text h2 b { font-weight: 700; }
.hero-slide__text p { font-size: 16px; max-width: 480px; }
.hero-slide__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-slide__meta { display: flex; gap: 28px; margin-top: 10px; }
.hero-slide__meta div { display: grid; }
.hero-slide__meta strong { color: var(--white); font-size: 22px; font-weight: 600; }
.hero-slide__meta span { font-size: 12.5px; }
.hero-slide__media { position: relative; aspect-ratio: 1.25; }
.hero-slide__circle { position: absolute; inset: 4% 6% 4% 14%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(242, 213, 138, 0.35), rgba(212, 164, 76, 0.12) 45%, transparent 70%); border: 1px solid rgba(212, 164, 76, 0.18); }
.hero-slide__circle::after { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(212, 164, 76, 0.28); animation: spin 40s linear infinite; }
.hero-slide__car { position: absolute; inset: 10% -4% 6% 0; animation: float 6s ease-in-out infinite; }
.hero-slide__car img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 45%, transparent 100%);
}
@keyframes float { 50% { transform: translateY(-14px); } }
.hero-slide__price {
  position: absolute; z-index: 3; left: 4%; bottom: 10%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-lg);
  background: rgba(23, 23, 27, 0.85); border: 1px solid var(--border-2); backdrop-filter: blur(10px); box-shadow: var(--shadow-drop);
}
.hero-slide__price .icon-box { width: 44px; height: 44px; }
.hero-slide__price small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-slide__price strong { color: var(--white); font-size: 16px; }
.hero-slide__badge { position: absolute; z-index: 3; right: 6%; top: 8%; padding: 8px 14px; border-radius: var(--r-pill); background: var(--primary); color: var(--black); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-gold); }
.hero__nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 118px; pointer-events: none; }
.hero__nav .container { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.hero__nav .container > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: var(--r-pill); background: var(--border-2); transition: width 0.5s var(--ease), background 0.4s; }
.hero__dots button.is-active { width: 34px; background: var(--primary); }
.hero__count { font-weight: 600; color: var(--white); min-width: 60px; }
.hero__count span { color: var(--gray-2); }

/* ---------- Booking (style three) ---------- */
.booking { position: relative; z-index: 6; margin-top: -90px; }
.booking__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-drop); }
.booking__tabs { display: flex; gap: 0; padding: 0 20px; border-bottom: 1px solid var(--border); }
.booking__tab { position: relative; padding: 16px 18px; font-size: 14px; font-weight: 600; color: var(--gray); display: inline-flex; align-items: center; gap: 8px; }
.booking__tab svg { width: 17px; }
.booking__tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.booking__tab.is-active { color: var(--primary); }
.booking__tab.is-active::after { transform: scaleX(1); }
.booking__form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0; padding: 14px; align-items: center; }
.bfield { display: flex; gap: 12px; align-items: center; padding: 10px 16px; border-right: 1px solid var(--border); min-width: 0; }
.bfield:nth-child(4) { border-right: 0; }
.bfield > svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.bfield > div { display: grid; min-width: 0; flex: 1; }
.bfield label { font-size: 12px; color: var(--gray-2); }
.bfield input, .bfield select { width: 100%; border: 0; outline: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--white); color-scheme: dark; appearance: none; -webkit-appearance: none; padding: 2px 0; }
.bfield select { cursor: pointer; }
.bfield select option { background: var(--surface); }
.booking__form .btn { min-height: 56px; padding-inline: 34px; }

/* ---------- Inputs (searchAndSelect) ---------- */
.input, .select { width: 100%; height: 50px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--border); color: var(--white); font-size: 14px; outline: 0; transition: border-color 0.3s, background 0.3s; color-scheme: dark; }
.input::placeholder, textarea.input::placeholder { color: var(--gray-2); }
.input:focus, .select:focus { border-color: var(--primary); background: var(--surface-3); }
textarea.input { height: 150px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23d4a44c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.select option { background: var(--surface); }
.field { display: grid; gap: 8px; }
.field > label { font-size: 13px; font-weight: 500; color: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.input-icon { position: relative; }
.input-icon .input { padding-right: 46px; }
.input-icon svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--gray); }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; color: var(--gray); }
.checkbox input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface-2); display: grid; place-items: center; cursor: pointer; transition: 0.25s; flex-shrink: 0; }
.checkbox input::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--black); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform 0.25s var(--ease); }
.checkbox input:checked { background: var(--primary); border-color: var(--primary); }
.checkbox input:checked::after { transform: rotate(-45deg) scale(1); }
.checkbox:hover { color: var(--white); }
.checkbox em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--gray-2); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.step { position: relative; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 0 10px; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 36px; left: calc(50% + 50px); width: calc(100% - 70px); border-top: 1px dashed var(--border-2); }
.step__icon { position: relative; width: 72px; height: 72px; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary); transition: 0.45s var(--ease); }
.step__icon svg { width: 30px; height: 30px; }
.step__icon b { position: absolute; top: -10px; left: -10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--black); font-size: 12px; font-weight: 700; border: 3px solid var(--bg); }
.step:hover .step__icon { background: var(--primary); color: var(--black); transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.step h3 { font-size: 17px; }
.step p { font-size: 14px; }

/* ---------- Promo cards ---------- */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 210px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); isolation: isolate; transition: border-color 0.4s, transform 0.5s var(--ease); }
.promo:hover { border-color: rgba(212, 164, 76, 0.45); transform: translateY(-6px); }
.promo::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 164, 76, 0.18), transparent 70%); z-index: -1; }
.promo__text { display: grid; gap: 8px; justify-items: start; position: relative; z-index: 2; }
.promo__text small { color: var(--primary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.promo__text h3 { font-size: 22px; }
.promo__text p { font-size: 13px; line-height: 1.6; }
.promo__text .btn { margin-top: 8px; }
.promo__img { position: absolute; right: -12%; bottom: 0; top: 0; width: 62%; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); transition: transform 1s var(--ease); }
.promo:hover .promo__img img { transform: scale(1.08) translateX(-10px); }

/* ---------- About block ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media .main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.about__media .main img { width: 100%; height: 115%; object-fit: cover; }
.about__exp { position: absolute; right: -20px; bottom: -30px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--primary); color: var(--black); box-shadow: var(--shadow-gold); display: grid; }
.about__exp strong { font-size: 40px; line-height: 1; font-weight: 700; }
.about__exp span { font-size: 13px; font-weight: 500; }
.about__shape { position: absolute; left: -30px; top: -30px; width: 140px; height: 140px; background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px); background-size: 14px 14px; opacity: 0.4; z-index: -1; }
.about__text { display: grid; gap: 20px; }
.about__text h2 { font-size: var(--fs-h2); }
.feature-list { display: grid; gap: 22px; margin-top: 8px; }
.feature-list li { display: flex; gap: 18px; }
.feature-list h4 { font-size: 17px; margin-bottom: 4px; }
.feature-list p { font-size: 14px; }
.feature-list li:hover .icon-box { background: var(--primary); color: var(--black); transform: rotate(-8deg); }

/* ---------- Car types ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.type-card { position: relative; display: grid; justify-items: center; gap: 12px; padding: 20px 20px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); text-align: center; transition: 0.5s var(--ease); overflow: hidden; }
.type-card:hover { border-color: rgba(212, 164, 76, 0.5); transform: translateY(-6px); }
.type-card__img { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md); }
.type-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 55%, transparent 100%); }
.type-card:hover .type-card__img img { transform: scale(1.1); }
.type-card h3 { font-size: 17px; }
.type-card span { font-size: 13px; }
.type-card .round-btn { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; background: rgba(11, 11, 13, 0.7); opacity: 0; transform: scale(0.6); }
.type-card:hover .round-btn { opacity: 1; transform: none; background: var(--primary); color: var(--black); border-color: var(--primary); }

/* ---------- Car card ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cars-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.car {
  position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; transform-style: preserve-3d;
}
.car:hover { border-color: rgba(212, 164, 76, 0.5); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
.car__img { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 16 / 10.5; background: var(--surface-2); }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.car:hover .car__img img { transform: scale(1.07); }
.car__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 35%); pointer-events: none; }
.car__price { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--primary); color: var(--black); font-weight: 700; font-size: 14px; line-height: 1.3; box-shadow: var(--shadow-gold); }
.car__price small { font-weight: 500; font-size: 11px; }
.car__cat { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--r-sm); background: rgba(11, 11, 13, 0.7); backdrop-filter: blur(6px); color: var(--white); font-size: 11px; font-weight: 500; }
.car__body { padding: 18px 8px 8px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.car__head h3 { font-size: 18px; }
.car__head h3 a:hover { color: var(--primary); }
.car__year { flex-shrink: 0; padding: 2px 8px; border-radius: var(--r-sm); background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; }
.car__desc { font-size: 13.5px; line-height: 1.65; }
.car__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.car__specs li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car__specs svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.car__foot { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.car__foot .btn { flex: 1; }
.car__foot .round-btn { border-radius: var(--r-sm); width: 48px; height: 48px; flex-shrink: 0; }

/* Liste (flotte) */
.cars-grid.is-list { grid-template-columns: 1fr; }
.cars-grid.is-list .car { flex-direction: row; gap: 10px; }
.cars-grid.is-list .car__img { width: 44%; aspect-ratio: auto; flex-shrink: 0; min-height: 250px; }
.cars-grid.is-list .car__body { padding: 12px 16px; }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.brand { display: grid; place-items: center; gap: 6px; padding: 30px 12px; border-right: 1px solid var(--border); text-align: center; transition: background 0.4s; }
.brand:last-child { border-right: 0; }
.brand strong { font-size: 17px; font-weight: 700; letter-spacing: 0.12em; color: var(--white); text-transform: uppercase; transition: color 0.3s; }
.brand span { font-size: 12px; }
.brand svg { width: 30px; height: 30px; color: var(--gray-2); transition: color 0.3s, transform 0.5s var(--ease); }
.brand:hover { background: var(--surface); }
.brand:hover strong { color: var(--primary); }
.brand:hover svg { color: var(--primary); transform: scale(1.15) rotate(-6deg); }

/* ---------- Banner parallax ---------- */
.banner { position: relative; overflow: hidden; min-height: 460px; display: grid; place-items: center; text-align: center; isolation: isolate; }
.banner__bg { position: absolute; inset: 0; z-index: -2; }
.banner__bg img { width: 100%; height: 130%; object-fit: cover; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(11, 11, 13, 0.55), rgba(11, 11, 13, 0.92)); }
.banner__inner { display: grid; justify-items: center; gap: 22px; padding: 80px var(--gutter); }
.banner h2 { font-size: var(--fs-h2); max-width: 760px; }
.play { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--black); }
.play::before, .play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--primary); animation: ripple 2.4s infinite; }
.play::after { animation-delay: 1.2s; }
.play svg { width: 30px; height: 30px; margin-left: 4px; }
@keyframes ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }

/* ---------- Counters ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.counter { padding: 30px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; gap: 18px; align-items: center; transition: 0.5s var(--ease); }
.counter:hover { transform: translateY(-6px); border-color: rgba(212, 164, 76, 0.4); }
.counter strong { display: block; font-size: 34px; line-height: 1.1; color: var(--white); font-weight: 700; }
.counter span { font-size: 13.5px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; padding: 34px 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 16px; align-content: start; overflow: hidden; isolation: isolate; transition: transform 0.5s var(--ease), border-color 0.4s; }
.service::before { content: ''; position: absolute; inset: auto 0 0; height: 0; z-index: -1; background: linear-gradient(0deg, rgba(212, 164, 76, 0.14), transparent); transition: height 0.6s var(--ease); }
.service:hover { transform: translateY(-8px); border-color: rgba(212, 164, 76, 0.45); }
.service:hover::before { height: 100%; }
.service:hover .icon-box { background: var(--primary); color: var(--black); }
.service__num { position: absolute; right: 26px; top: 20px; font-size: 52px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--border-2); line-height: 1; transition: -webkit-text-stroke-color 0.4s; }
.service:hover .service__num { -webkit-text-stroke-color: rgba(212, 164, 76, 0.5); }
.service h3 { font-size: 19px; }
.service p { font-size: 14px; }
.service ul { display: grid; gap: 6px; font-size: 13.5px; }
.service ul li { display: flex; gap: 8px; align-items: center; }
.service ul svg { width: 15px; color: var(--primary); }

/* Zones desservies */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zone { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); padding: 24px; display: grid; gap: 16px; transition: 0.5s var(--ease); }
.zone:hover { transform: translateY(-6px); border-color: rgba(212, 164, 76, 0.4); }
.zone__head { display: flex; justify-content: space-between; align-items: center; }
.zone__head h3 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.zone__head h3 svg { width: 18px; color: var(--primary); }
.zone__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; }
.zone__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.zone:hover .zone__img img { transform: scale(1.08); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 30px; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--border-2); }
.timeline__progress { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: var(--primary); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.tl-item__card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 8px; }
.tl-item__card h3 { font-size: 18px; }
.tl-item:nth-child(odd) .tl-item__card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-item__card { grid-column: 2; }
.tl-item__dot { position: absolute; left: 50%; top: 26px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 14px; z-index: 2; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq__item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.4s; }
.faq__item.is-open { border-color: rgba(212, 164, 76, 0.45); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; text-align: left; font-size: 16px; font-weight: 500; color: var(--white); }
.faq__q svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; transition: transform 0.45s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 22px; font-size: 14.5px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 30px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 14px; justify-items: start; transition: 0.5s var(--ease); }
.value:hover { transform: translateY(-6px); border-color: rgba(212, 164, 76, 0.4); }
.value:hover .icon-box { background: var(--primary); color: var(--black); }
.value h3 { font-size: 18px; }
.value p { font-size: 14px; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: calc(42px + var(--header-h) + 80px) 0 90px; overflow: hidden; isolation: isolate; text-align: center; }
.page-banner__bg { position: absolute; inset: 0; z-index: -2; }
.page-banner__bg img { width: 100%; height: 125%; object-fit: cover; }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 13, 0.85), rgba(11, 11, 13, 0.6) 50%, var(--bg)); }
.page-banner h1 { font-size: var(--fs-h1); }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 18px; border-radius: var(--r-pill); background: rgba(23, 23, 27, 0.75); border: 1px solid var(--border); font-size: 14px; backdrop-filter: blur(6px); }
.crumbs a:hover { color: var(--primary); }
.crumbs svg { width: 14px; }
.crumbs [aria-current] { color: var(--primary); }

/* ---------- Fleet layout ---------- */
.fleet { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.sidebar { position: sticky; top: 90px; display: grid; gap: 0; padding: 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.widget { padding: 22px 0; border-bottom: 1px solid var(--border); display: grid; gap: 14px; }
.widget:first-child { padding-top: 0; }
.widget:last-of-type { border-bottom: 0; }
.widget h4 { font-size: 18px; }
.widget__list { display: grid; gap: 12px; }
.sidebar__head { display: none; }
.dual-range { position: relative; height: 22px; }
.dual-range__track { position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: var(--surface-3); }
.dual-range__fill { position: absolute; top: 0; bottom: 0; background: var(--primary); border-radius: 3px; }
.dual-range input { position: absolute; inset: 0; width: 100%; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.dual-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--primary); cursor: grab; }
.dual-range input::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid var(--surface); cursor: grab; }
.price-out { font-size: 13.5px; }
.price-out strong { color: var(--white); }
.widget__actions { display: flex; justify-content: space-between; align-items: center; }
.link-clear { text-decoration: underline; font-size: 14px; color: var(--white); }
.link-clear:hover { color: var(--primary); }

.fleet__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; padding: 12px 12px 12px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.fleet__bar p strong { color: var(--white); }
.fleet__bar-right { display: flex; gap: 10px; align-items: center; }
.fleet__bar .select { height: 44px; width: 200px; }
.view-btns { display: flex; gap: 6px; }
.view-btns button { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border); display: grid; place-items: center; color: var(--gray); transition: 0.3s; }
.view-btns button.is-active, .view-btns button:hover { background: var(--primary); color: var(--black); border-color: var(--primary); }
.view-btns svg { width: 18px; }
.filters-toggle { display: none; }
.empty-state { display: none; text-align: center; padding: 70px 20px; border: 1px dashed var(--border-2); border-radius: var(--r-lg); }
.empty-state.is-visible { display: grid; justify-items: center; gap: 12px; }
.empty-state svg { width: 46px; height: 46px; color: var(--primary); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button { min-width: 46px; height: 46px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--border); font-weight: 600; color: var(--white); transition: 0.3s; display: grid; place-items: center; }
.pagination button:hover:not(:disabled), .pagination button.is-active { background: var(--primary); border-color: var(--primary); color: var(--black); }
.pagination button:disabled { opacity: 0.35; cursor: not-allowed; }
.pagination svg { width: 18px; }

/* ---------- Vehicle details ---------- */
.vd { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.vd__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.vd__head h1 { font-size: clamp(28px, 3.4vw, 44px); }
.vd__head .tag { margin-bottom: 10px; }
.vd__price { text-align: right; }
.vd__price strong { font-size: 32px; color: var(--primary); font-weight: 700; line-height: 1; }
.vd__price span { display: block; font-size: 13px; }
.gallery-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .swiper-button-prev, .gallery-main .swiper-button-next { width: 46px; height: 46px; border-radius: 50%; background: rgba(11, 11, 13, 0.6); color: var(--white); border: 1px solid var(--border-2); }
.gallery-main .swiper-button-prev::after, .gallery-main .swiper-button-next::after { font-size: 15px; font-weight: 700; }
.gallery-thumbs { margin-top: 12px; }
.gallery-thumbs .swiper-slide { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; cursor: pointer; opacity: 0.45; border: 2px solid transparent; transition: 0.3s; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tabs { margin-top: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.tabs__nav { display: flex; gap: 4px; padding: 0 18px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs__nav button { position: relative; padding: 18px 14px; font-weight: 600; font-size: 14.5px; color: var(--gray); white-space: nowrap; }
.tabs__nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.tabs__nav button.is-active { color: var(--primary); }
.tabs__nav button.is-active::after { transform: scaleX(1); }
.tabs__panel { display: none; padding: 26px; }
.tabs__panel.is-active { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.spec-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec-cell { padding: 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); display: flex; gap: 12px; align-items: center; }
.spec-cell svg { width: 22px; color: var(--primary); flex-shrink: 0; }
.spec-cell small { display: block; font-size: 12px; }
.spec-cell strong { color: var(--white); font-size: 14.5px; font-weight: 600; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: center; color: var(--white); font-size: 14.5px; }
.check-list svg { width: 18px; color: var(--primary); flex-shrink: 0; }
.vd__side { position: sticky; top: 90px; display: grid; gap: 20px; }
.side-card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 16px; }
.side-card h3 { font-size: 20px; }
.estimate { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--primary-soft); border: 1px solid rgba(212, 164, 76, 0.3); }
.estimate small { display: block; font-size: 12px; }
.estimate strong { color: var(--primary-light); font-size: 20px; }
.help-card { padding: 26px; border-radius: var(--r-lg); background: var(--primary-grad); color: var(--black); display: grid; gap: 10px; }
.help-card h3 { color: var(--black); font-size: 20px; }
.help-card a { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 18px; }
.help-card svg { width: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--border); }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; height: 40px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; transition: 0.3s; }
.seg input:checked + span { background: var(--primary); color: var(--black); }
.seg input:focus-visible + span { outline: 2px solid var(--primary); }

/* ---------- Reservation (stepper) ---------- */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 40px; position: relative; }
.stepper__line { position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border-2); }
.stepper__line i { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(0); transition: transform 0.7s var(--ease); }
.stepper__item { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 13.5px; font-weight: 500; }
.stepper__item span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border-2); color: var(--gray); font-weight: 700; transition: 0.5s var(--ease); }
.stepper__item span svg { width: 20px; }
.stepper__item.is-active span { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 6px var(--primary-soft); }
.stepper__item.is-done span { background: var(--primary); border-color: var(--primary); color: var(--black); }
.stepper__item.is-active, .stepper__item.is-done { color: var(--white); }
.resa { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.resa__panel { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); min-height: 420px; }
.resa__step { display: none; }
.resa__step.is-active { display: grid; gap: 22px; }
.resa__step h2 { font-size: 24px; }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick { position: relative; cursor: pointer; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-2); overflow: hidden; transition: 0.35s var(--ease); }
.pick input { position: absolute; opacity: 0; }
.pick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.8s var(--ease); }
.pick div { padding: 10px 12px; display: grid; }
.pick strong { color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.3; }
.pick small { font-size: 12px; color: var(--primary); }
.pick::after { content: ''; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230b0b0d' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center; transform: scale(0); transition: transform 0.4s var(--ease); }
.pick:hover { border-color: var(--border-2); transform: translateY(-3px); }
.pick:hover img { transform: scale(1.06); }
.pick:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.pick:has(input:checked)::after { transform: scale(1); }
.pick:has(input:focus-visible) { outline: 2px solid var(--primary); }
.resa__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.summary { position: sticky; top: 90px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 16px; }
.summary__img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.summary__img img { width: 100%; height: 100%; object-fit: cover; }
.summary dl { display: grid; gap: 10px; font-size: 14px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.summary dt { color: var(--gray); }
.summary dd { color: var(--white); text-align: right; font-weight: 500; }
.summary__total { display: flex; justify-content: space-between; align-items: center; }
.summary__total strong { font-size: 24px; color: var(--primary); }
.recap { display: grid; gap: 10px; padding: 20px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); }
.recap div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.recap dd { color: var(--white); font-weight: 500; text-align: right; }

/* ---------- Contact ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 30px; }
.info-card { position: relative; padding: 56px 24px 30px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); text-align: center; display: grid; gap: 8px; box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease), border-color 0.4s; }
.info-card:hover { transform: translateY(-6px); border-color: rgba(212, 164, 76, 0.4); }
.info-card .icon-box { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; background: var(--primary); color: var(--black); box-shadow: var(--shadow-gold); transition: transform 0.5s var(--ease); }
.info-card:hover .icon-box { transform: translateX(-50%) rotateY(180deg); }
.info-card h3 { font-size: 19px; }
.info-card a:hover { color: var(--primary); }
.contact-form { max-width: 780px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.88); }
.form-note { font-size: 13px; color: var(--gray-2); text-align: center; }

/* ---------- CTA band (subscribe) + footer ---------- */
.cta-band { position: relative; z-index: 2; margin-bottom: -70px; }
.cta-band__inner {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  padding: 40px clamp(24px, 4vw, 50px); border-radius: var(--r-lg); background: var(--primary-grad); color: var(--black); isolation: isolate;
}
.cta-band__inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='80' viewBox='0 0 240 80' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M10 60h20c2-8 8-12 14-12s12 4 14 12h70c2-8 8-12 14-12s12 4 14 12h20c4 0 6-3 6-6v-6c0-4-3-6-8-7l-20-4-22-14c-6-4-12-5-20-5H90c-10 0-18 3-26 8L44 33l-26 5c-6 1-10 5-10 10v8c0 2 1 4 2 4z'/%3E%3C/svg%3E") repeat-x left bottom / 240px 80px;
  animation: drive 30s linear infinite;
}
@keyframes drive { to { background-position: 240px bottom; } }
.cta-band h2 { color: var(--black); font-size: clamp(22px, 2.6vw, 30px); max-width: 520px; }
.cta-band p { color: rgba(11, 11, 13, 0.75); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--dark { background: var(--black); border-color: var(--black); }
.cta-band .btn--dark:hover { color: var(--primary); }
.cta-band .btn--light { background: rgba(255, 255, 255, 0.9); color: var(--black); }

.footer { background: var(--black); padding-top: 150px; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer__about { display: grid; gap: 20px; align-content: start; }
.footer__about p { font-size: 14px; max-width: 300px; }
.footer h5 { font-size: 18px; margin-bottom: 22px; }
.footer__links { display: grid; gap: 12px; font-size: 14px; }
.footer__links a { position: relative; display: inline-flex; }
.footer__links a::before { content: ''; width: 0; height: 1px; background: var(--primary); align-self: center; margin-right: 0; transition: width 0.35s var(--ease), margin 0.35s var(--ease); }
.footer__links a:hover { color: var(--primary); }
.footer__links a:hover::before { width: 12px; margin-right: 8px; }
.footer__contact { display: grid; gap: 14px; font-size: 14px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { width: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: var(--primary); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); transition: 0.35s; color: var(--white); }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--black); transform: translateY(-3px); }
.socials [data-brand-icon] { width: 16px; }
.footer__bottom { padding: 24px 0; border-top: 1px solid var(--border); text-align: center; font-size: 13.5px; }
.footer__bottom a { color: var(--primary); }

/* ---------- Floating ---------- */
.to-top { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-2); color: var(--primary); opacity: 0; transform: translateY(20px); pointer-events: none; transition: 0.4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: var(--black); }
.to-top svg { width: 20px; }
.wa-float { position: fixed; z-index: 90; right: 22px; bottom: 84px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1fae5b; color: #fff; box-shadow: 0 10px 26px -8px rgba(31, 174, 91, 0.7); transition: transform 0.35s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float [data-brand-icon] { width: 26px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fae5b; animation: ripple 2.4s infinite; }

/* ---------- Swiper commun ---------- */
.swiper-nav { display: flex; gap: 10px; }
.similar .swiper-slide { height: auto; }
.similar .car { height: 100%; }

/* ---------- Animations d'entrée (JS ajoute .js) ---------- */
.js [data-anim] { opacity: 0; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.word > span { display: inline-block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .menu a { padding: 8px 11px; }
  .booking__form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .bfield { border-right: 0; border-bottom: 1px solid var(--border); }
  .booking__form .btn { grid-column: 1 / -1; margin-top: 8px; }
  .promos { grid-template-columns: 1fr 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand:nth-child(3) { border-right: 0; }
  .brand:nth-child(-n + 3) { border-bottom: 1px solid var(--border); }
  .vd { grid-template-columns: 1fr 340px; }
}

@media (max-width: 991px) {
  .topbar { display: none; }
  .header { top: 12px; }
  .menu, .header__right .btn { display: none; }
  .burger { display: grid; }
  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-slide { grid-template-columns: 1fr; gap: 10px; padding-bottom: 170px; text-align: left; }
  .hero-slide__media { max-width: 560px; width: 100%; margin-inline: auto; order: -1; }
  .hero__nav { bottom: 112px; }
  .hero__nav .container { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .step:nth-child(2)::after { display: none; }
  .cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .types { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 620px; }
  .counters, .values { grid-template-columns: repeat(2, 1fr); }
  .services, .zones { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-banner { padding-top: calc(var(--header-h) + 90px); }

  .fleet { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 1200; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); border-radius: 0; overflow-y: auto; transform: translateX(-102%); transition: transform 0.55s var(--ease); align-content: start; }
  .sidebar.is-open { transform: none; }
  .sidebar__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 1150; background: rgba(0, 0, 0, 0.65); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
  .sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .filters-toggle { display: inline-flex; }

  .vd, .resa { grid-template-columns: 1fr; }
  .vd__side, .summary { position: static; }
  .summary { order: -1; grid-template-columns: 120px 1fr; align-items: center; gap: 6px 16px; padding: 14px; }
  .summary__img { grid-row: span 2; aspect-ratio: 4 / 3; }
  .summary h3 { font-size: 16px; align-self: end; }
  .summary dl, .summary .form-note { display: none; }
  .summary__total { align-self: start; justify-content: flex-start; gap: 10px; }
  .summary__total strong { font-size: 18px; }
  .timeline::before, .timeline__progress { left: 22px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 70px; gap: 0; }
  .tl-item:nth-child(n) .tl-item__card { grid-column: 1; text-align: left; }
  .tl-item__dot { left: 22px; }
}

@media (min-width: 992px) { .sidebar-backdrop { display: none; } }

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .header__bar { padding: 0 8px 0 16px; }
  .logo svg { width: 38px; }
  .logo__txt b { font-size: 17px; }
  .hero-slide__text h1, .hero-slide__text h2 { font-size: 34px; }
  .hero-slide__meta { gap: 20px; }
  .hero-slide__price { left: 0; bottom: 4%; }
  .booking__tabs { padding: 0 8px; }
  .booking__tab { padding: 14px 10px; font-size: 13px; }
  .booking__form { grid-template-columns: 1fr; padding: 8px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .promos, .cars-grid, .cars-grid--2, .types, .services, .zones, .values, .info-cards { grid-template-columns: 1fr; }
  .info-cards { row-gap: 54px; }
  .promo { grid-template-columns: 1.2fr 1fr; }
  .brands { grid-template-columns: 1fr 1fr; }
  .brand { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border); }
  .brand:nth-child(2n) { border-right: 0 !important; }
  .brand:nth-last-child(-n + 2) { border-bottom: 0; }
  .counters { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .fleet__bar { padding: 12px; }
  .fleet__bar-right { width: 100%; }
  .fleet__bar .select { flex: 1; width: auto; }
  .cars-grid.is-list .car { flex-direction: column; }
  .cars-grid.is-list .car__img { width: 100%; min-height: 0; aspect-ratio: 16 / 10.5; }
  .spec-table { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .vd__price { text-align: left; }
  .stepper__item { font-size: 11.5px; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { padding: 30px 22px; }
  .wa-float { bottom: 80px; right: 16px; }
  .to-top { right: 16px; bottom: 18px; }
}

@media (max-width: 420px) {
  .car__specs { grid-template-columns: 1fr 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-anim], .js [data-split] { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   THÈME CLAIR (par défaut) — blanc cassé & or
   Le thème sombre reste disponible via le bouton soleil/lune.
   ========================================================================== */
:root[data-theme="light"] {
  color-scheme: light;
  --primary: #c99735;
  --primary-hover: #d9a943;
  --primary-light: #e9c677;
  --primary-dark: #94681a;
  --primary-soft: rgba(201, 151, 53, 0.1);
  --primary-grad: linear-gradient(135deg, #f1d488 0%, #d4a44c 50%, #b3822a 100%);

  --black: #121215;
  --bg: #ffffff;
  --bg-alt: #f8f5ef;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --surface-3: #f2ede3;
  --border: #ede7dc;
  --border-2: #ddd4c3;
  --gray: #5f5f68;
  --gray-2: #96969f;
  --white: #17171b;

  --shadow-card: 0 4px 20px rgba(18, 18, 21, 0.05);
  --shadow-drop: 0 20px 50px rgba(18, 18, 21, 0.1);
  --shadow-gold: 0 14px 30px -12px rgba(201, 151, 53, 0.6);
}

/* Texte doré lisible sur fond clair */
[data-theme="light"] :is(.tag, .text-primary, .menu a:hover, .menu a.is-active, .booking__tab.is-active, .tabs__nav button.is-active,
  .car__year, .vd__price strong, .summary__total strong, .crumbs [aria-current], .drawer__nav a.is-active, .drawer__nav a:hover,
  .car__head h3 a:hover, .info-card a:hover, .link-clear:hover, .footer__bottom a) { color: var(--primary-dark); }
[data-theme="light"] .estimate strong { color: var(--primary-dark); }
[data-theme="light"] .header__right .btn:not(:hover) { color: var(--primary-dark); }

/* Champs de formulaire */
[data-theme="light"] :is(.input, .select, .bfield input, .bfield select) { color-scheme: light; }
[data-theme="light"] .select option, [data-theme="light"] .bfield select option { background: #fff; }

/* Boutons */
[data-theme="light"] .btn--dark { color: #f5f5f7; border-color: var(--black); }
[data-theme="light"] .btn--dark:hover { color: var(--primary-light); }
[data-theme="light"] .btn--outline { border-color: var(--border-2); }

/* Zones qui restent sombres (bannières photo, pied de page) */
[data-theme="light"] :is(.footer, .page-banner, .banner) {
  --white: #f5f5f7; --gray: #b4b4bc; --gray-2: #7d7d86; --border: #2d2d34; --border-2: #3d3d45;
  --surface: #17171b; --surface-2: #1e1e23; --primary-soft: rgba(212, 164, 76, 0.16);
}
[data-theme="light"] :is(.footer, .page-banner, .banner) .tag { color: #e6bd66; }
[data-theme="light"] .footer { background: #111114; border-top: 0; }
[data-theme="light"] .footer__bottom a { color: #e6bd66; }
[data-theme="light"] .page-banner::before { background: linear-gradient(180deg, rgba(17, 17, 20, 0.82), rgba(17, 17, 20, 0.55)); }
[data-theme="light"] .page-banner { padding-bottom: 110px; }
[data-theme="light"] .banner::before { background: radial-gradient(circle at center, rgba(17, 17, 20, 0.45), rgba(17, 17, 20, 0.85)); }

/* Barre supérieure & en-tête */
[data-theme="light"] .topbar { color: var(--gray); }
[data-theme="light"] body:has(.page-banner) .topbar { color: rgba(255, 255, 255, 0.8); }
[data-theme="light"] body:has(.page-banner) .topbar svg { color: #e6bd66; }
[data-theme="light"] .header__bar { background: rgba(255, 255, 255, 0.88); border-color: rgba(18, 18, 21, 0.06); box-shadow: 0 10px 30px -12px rgba(18, 18, 21, 0.15); }
[data-theme="light"] .header.is-sticky .header__bar { background: rgba(255, 255, 255, 0.94); border-color: var(--border); }

/* Hero */
[data-theme="light"] .hero { background: radial-gradient(900px 560px at 82% 38%, rgba(212, 164, 76, 0.2), transparent 62%), linear-gradient(180deg, #fbf8f2 0%, #ffffff 100%); }
[data-theme="light"] .hero::before { opacity: 0.5; }
[data-theme="light"] .hero-slide__circle { background: radial-gradient(circle at 40% 35%, rgba(241, 212, 136, 0.55), rgba(212, 164, 76, 0.18) 50%, transparent 72%); border-color: rgba(201, 151, 53, 0.25); }
[data-theme="light"] .hero-slide__price { background: rgba(255, 255, 255, 0.92); border-color: var(--border); }

/* Cartes & détails */
[data-theme="light"] .car { border-color: var(--border); }
[data-theme="light"] .car:hover { box-shadow: 0 26px 50px -24px rgba(18, 18, 21, 0.28); }
[data-theme="light"] .car__cat { color: #fff; }
[data-theme="light"] .type-card .round-btn { background: rgba(255, 255, 255, 0.9); }
[data-theme="light"] .gallery-main :is(.swiper-button-prev, .swiper-button-next) { background: rgba(255, 255, 255, 0.85); color: var(--white); border-color: var(--border); }
[data-theme="light"] .brand:hover { background: var(--bg-alt); }
[data-theme="light"] :is(.counter, .value, .service, .zone, .promo, .type-card, .faq__item, .tl-item__card, .side-card, .resa__panel, .summary, .sidebar, .fleet__bar, .tabs, .contact-form, .booking__card, .info-card) { box-shadow: var(--shadow-card); }
[data-theme="light"] .map-wrap iframe { filter: grayscale(0.3) contrast(1.02); }
[data-theme="light"] .drawer__backdrop, [data-theme="light"] .sidebar-backdrop { background: rgba(18, 18, 21, 0.45); }

/* Préchargeur & transition de page */
[data-theme="light"] .loader { background: #fff; }
[data-theme="light"] .page-transition i { background: #f8f5ef; border-right-color: rgba(201, 151, 53, 0.18); }
[data-theme="light"] .page-transition i:nth-child(odd) { background: #ffffff; }

/* Bouton de thème */
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle svg { position: absolute; transition: transform 0.5s var(--ease), opacity 0.4s; }
[data-theme="light"] .theme-toggle .i-sun, :root:not([data-theme="light"]) .theme-toggle .i-moon { opacity: 0; transform: translateY(120%) rotate(90deg); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
