/* ==========================================================================
   EMS Motors — Premium Automotive Tuning
   style.css — Complete Production Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
  --bg-page: #0c0c0e;
  --bg-panel: #111113;
  --bg-elevated: #17171a;
  --border: #1e1e22;
  --border-hover: #2a2a2e;
  --text-primary: #fafafa;
  --text-secondary: #e8e8ec;
  --text-muted: #b8b8c0;
  --text-dim: #4a4a52;
  --text-faint: #3a3a42;
  --gold: #C8A960;
  --gold-hover: #D4BC7C;
  --orange: #e07800;
  --orange-hover: #f08500;
  --green: #4caf50;
  --blue: #448aff;
  --whatsapp: #25d366;

  --font-body: 'Jost', sans-serif;
  --font-hero: 'Playfair Display', serif;
  --font-heading: 'Bodoni Moda', serif;
  --font-data: 'Orbitron', sans-serif;
  --font-label: 'Rajdhani', sans-serif;

  --nav-h: 72px;
  --container: 1280px;
  --gap: 24px;
}


/* --------------------------------------------------------------------------
   1. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  font-size: 16px;
  /* scroll-behavior handled by Lenis */
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-page);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8A960' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(200,169,96,.2), 0 0 20px rgba(200,169,96,.08);
}

select option {
  background: #2a2a30;
  color: #f0f0f2;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--bg-page);
}

::-moz-selection {
  background: var(--gold);
  color: var(--bg-page);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section-padding {
  padding: 120px 0;
}

/* Section base — all .section elements get padding + containment */
.section {
  padding: 120px 0;
  position: relative;
}

.section-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ==========================================================================
   Scroll Reveal System — CSS-driven, reliable with any scroll library
   Elements start hidden (.scroll-reveal), become visible (.revealed)
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Title-specific reveal: clip from left */
.section-title.scroll-reveal {
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.scroll-reveal.revealed {
  clip-path: inset(0 0% 0 0);
}

/* Overline: slide from left */
.overline.scroll-reveal,
.section-overline.scroll-reveal {
  transform: translateX(-20px);
}

/* Why-points: slide from right */
.why-point.scroll-reveal {
  transform: translateX(30px);
}

/* Gallery items: slide in */
.galerie-item.scroll-reveal {
  transform: translateX(30px) scale(0.95);
}

/* Reduced motion: no animation, just show */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* Text blur-in reveal */
.blur-in {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}
.blur-in.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Section separator line animation */
.section-sep {
  width: 0;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.section-sep.revealed {
  width: 80px;
}

/* Parallax layer offset */
[data-parallax] {
  will-change: transform;
}

/* Overline text pattern (used across sections) */
.overline {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Shared section header pattern */
.section-header {
  margin-bottom: 56px;
  position: relative;
}

/* Gold radial glow behind every section header */
.section-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.section-header > * {
  position: relative;
  z-index: 1;
}

.section-header .overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-header .section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-header .section-title em {
  font-style: italic;
  background: linear-gradient(135deg, #8a7340 0%, #B8993E 12%, #C8A960 25%, #E8D5A0 38%, #FFF1CC 50%, #E8D5A0 62%, #FFB347 75%, #C8A960 88%, #B8993E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(200,169,96,.3));
}

/* Centered header variant */
.section-services .section-header,
.section-tarifs .section-header,
.section-galerie .section-header,
.section-avis .section-header,
.section-social .section-header,
.section-faq .section-header,
.section-contact .section-header,
.simulator .section-header {
  text-align: center;
}

.simulator .section-header .overline,
.section-tarifs .section-header .overline,
.section-galerie .section-header .overline,
.section-avis .section-header .overline,
.section-social .section-header .overline,
.section-faq .section-header .overline,
.section-contact .section-header .overline {
  justify-content: center;
}


/* --------------------------------------------------------------------------
   2. Loading Screen
   -------------------------------------------------------------------------- */

/* Loader — container */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(.4,0,.2,1);
}
.loader.exit {
  opacity: 0;
  pointer-events: none;
}

/* Animated film grain overlay */
.loader-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  animation: loaderGrain 0.4s steps(3) infinite;
  pointer-events: none;
  opacity: 0.5;
}
@keyframes loaderGrain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-5%, -5%); }
  66%  { transform: translate(3%, -3%); }
  100% { transform: translate(-3%, 5%); }
}

/* Mouse-reactive glow */
.loader-mouse-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.loader-mouse-glow.visible {
  opacity: 1;
}

/* Center content wrapper */
.loader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Logo — fade in + float + breathing glow */
.loader-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid rgba(230,120,20,.7);
  box-shadow: 0 0 20px rgba(230,120,20,.35), 0 0 40px rgba(230,120,20,.15);
  animation: loaderFadeIn 1s ease forwards, loaderFloat 3s 1s ease-in-out infinite, loaderGlow 2.5s 0.8s ease-in-out infinite;
}
.loader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes loaderFadeIn {
  0%   { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes loaderGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(200,169,96,.15)); }
  50%      { filter: drop-shadow(0 0 28px rgba(200,169,96,.35)); }
}

/* Shimmer sweep on logo */
.loader-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,241,204,.12) 45%, rgba(255,241,204,.2) 50%, rgba(255,241,204,.12) 55%, transparent 65%);
  animation: loaderShimmerSweep 2.8s 0.6s ease-in-out infinite;
}
@keyframes loaderShimmerSweep {
  0%   { transform: translateX(-120%); }
  40%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Progress line — tied to real loading via JS width */
.loader-line-wrap {
  margin-top: 20px;
  width: 100px;
  height: 1px;
  background: rgba(200,169,96,.1);
  border-radius: 1px;
  overflow: hidden;
  opacity: 0;
  animation: loaderLineAppear 0.5s 0.6s ease forwards;
}
@keyframes loaderLineAppear {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.loader-line {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 1px;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 6px rgba(200,169,96,.3);
}

/* Typewriter text */
.loader-typewriter {
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(200,169,96,.4);
  min-height: 14px;
  opacity: 0;
  animation: loaderLineAppear 0.5s 1.2s ease forwards;
}
.loader-typewriter .loader-cursor {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(200,169,96,.5);
  margin-left: 2px;
  vertical-align: middle;
  animation: loaderBlink 0.6s steps(1) infinite;
}
@keyframes loaderBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}


/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200,169,96,.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  mix-blend-mode: difference;
}
.custom-cursor.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(200,169,96,.6);
  background: rgba(200,169,96,.06);
}
.custom-cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .custom-cursor-dot { display: none; }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  z-index: 10001;
  transition: none;
  box-shadow: 0 0 8px rgba(200,169,96,.3);
}


/* --------------------------------------------------------------------------
   3. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 12px;
  left: 24px;
  right: 24px;
  z-index: 9000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-radius: 60px;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  background: rgba(12, 12, 14, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(230,120,20,.12);
}

.nav::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 60px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(230,120,20,.3), transparent 40%, transparent 60%, rgba(230,120,20,.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.nav.scrolled {
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-color: rgba(230,120,20,.18);
  box-shadow: 0 4px 30px rgba(0,0,0,.5), 0 0 40px rgba(230,120,20,.04);
}

.nav.scrolled::after {
  opacity: 1;
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
}

.nav-logo img {
  height: calc(var(--nav-h) - 8px);
  width: calc(var(--nav-h) - 8px);
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid rgba(230,120,20,.65);
  box-shadow: 0 0 14px rgba(230,120,20,.3), 0 0 28px rgba(230,120,20,.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.nav-logo:hover img {
  border-color: rgba(230,120,20,1);
  box-shadow: 0 0 20px rgba(230,120,20,.5), 0 0 40px rgba(230,120,20,.18);
  transform: scale(1.04);
}

.nav-logo-text {
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  position: relative;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,120,0,.6), rgba(255,170,60,.8), rgba(224,120,0,.6), transparent);
  box-shadow: 0 0 8px rgba(224,120,0,.2);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
  box-shadow: 0 0 8px rgba(200,169,96,.4);
}

.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(200,169,96,.6);
  bottom: -10px;
}

/* CTA button with corner-expand borders */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta::before,
.nav-cta::after {
  content: '';
  position: absolute;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.nav-cta::before {
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(200,169,96,.5);
  border-right: 1px solid rgba(200,169,96,.5);
}

.nav-cta::after {
  bottom: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-bottom: 1px solid rgba(200,169,96,.5);
  border-left: 1px solid rgba(200,169,96,.5);
}

.nav-cta:hover {
  color: var(--bg-page);
  background: linear-gradient(135deg, #B8993E 0%, #C8A960 40%, #E8D5A0 100%);
  box-shadow: 0 0 30px rgba(200,169,96,.25), 0 4px 15px rgba(0,0,0,.2);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  transform: translateY(-1px);
}

.nav-cta:hover::before,
.nav-cta:hover::after {
  width: 100%;
  height: 100%;
  border-color: #E8D5A0;
}

.nav-cta:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

/* Open/Closed Status Badge */
.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(76,175,80,.25);
  border-radius: 20px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4CAF50;
  margin-right: 16px;
}
.nav-status.closed {
  border-color: rgba(255,68,68,.25);
  color: #FF4444;
}
.nav-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  animation: statusPulse 2s ease-in-out infinite;
}
.nav-status.closed .nav-status-dot {
  background: #FF4444;
  animation: none;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(76,175,80,0); }
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 9001;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8999;
  background: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.nav-mobile a:hover {
  color: var(--gold);
}


/* --------------------------------------------------------------------------
   4. Hero — Rebuilt from scratch
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 40px;
  background: #050507;
}

/* ===== Background image layer ===== */
.hero > .hero-overlay {
  position: absolute;
  inset: 0;
  background: url('../img/hero-m5-motor.jpg') center 40%/cover no-repeat;
  z-index: 0;
  animation: heroImgReveal 2s cubic-bezier(.16,1,.3,1) 0.2s both;
}

@keyframes heroImgReveal {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}

/* Cinematic gradient over image — left-heavy for text readability, right fades to reveal photo */
.hero > .hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5,5,7,.96) 0%, rgba(5,5,7,.88) 35%, rgba(5,5,7,.6) 55%, rgba(5,5,7,.35) 75%, rgba(5,5,7,.45) 100%),
    linear-gradient(to top, rgba(5,5,7,.95) 0%, rgba(5,5,7,.3) 25%, transparent 50%),
    linear-gradient(to bottom, rgba(5,5,7,.7) 0%, transparent 20%);
}

/* ===== Ambient lighting orbs ===== */
.hero::before {
  content: '';
  position: absolute;
  top: -15%; right: -5%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.12) 0%, rgba(200,169,96,.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: heroOrbPulse 10s ease-in-out infinite;
  transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -8%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,120,0,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(calc(var(--mouse-x, 0) * -0.5), calc(var(--mouse-y, 0) * -0.5));
  transition: transform 0.4s ease-out;
  will-change: transform;
}

@keyframes heroOrbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.08); }
}

/* Vertical accent line */
.hero-line-2 {
  position: absolute;
  top: 0; left: 8vw;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 5%, rgba(200,169,96,.08) 30%, rgba(200,169,96,.08) 70%, transparent 95%);
  z-index: 1;
}

/* Floating particle dots */
.hero-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: transparent;
  z-index: 0;
  box-shadow:
    15vw 20vh 0 rgba(200,169,96,.3),
    72vw 15vh 0 rgba(200,169,96,.15),
    45vw 75vh 0 rgba(224,120,0,.2),
    85vw 60vh 0 rgba(200,169,96,.12),
    25vw 85vh 0 rgba(200,169,96,.15),
    60vw 35vh 0 rgba(224,120,0,.12),
    90vw 80vh 0 rgba(200,169,96,.2),
    10vw 50vh 0 rgba(200,169,96,.08),
    55vw 10vh 0 rgba(224,120,0,.15),
    35vw 55vh 0 rgba(200,169,96,.14);
  animation: heroParticlesFloat 14s ease-in-out infinite;
}

@keyframes heroParticlesFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-12px) translateX(6px); }
  66% { transform: translateY(8px) translateX(-4px); }
}

/* Film grain overlay */
.hero-inner::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.75' numOctaves='4' type='fractalNoise'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* ===== Inner grid layout ===== */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

/* ===== Eyebrow ===== */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateX(-20px);
  animation: heroSlideRight .7s cubic-bezier(.16,1,.3,1) 0.5s forwards;
}

@keyframes heroSlideRight {
  to { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(224,120,0,.5));
}

.hero-eyebrow-text {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(200,169,96,.65);
  text-shadow: 0 0 20px rgba(200,169,96,.12);
}

/* ===== Hero title ===== */
.hero-title {
  margin-bottom: 12px;
  position: relative;
  line-height: 1;
}

/* Soft golden glow behind title */
.hero-title::before {
  content: '';
  position: absolute;
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.1) 0%, rgba(224,120,0,.03) 40%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

/* Each title line */
.hero-title-line {
  display: block;
  overflow: visible;
  white-space: nowrap;
  transform: translateY(100%);
  opacity: 0;
  animation: heroReveal .9s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.55s; }
.hero-title-line:nth-child(2) { animation-delay: 0.65s; }
.hero-title-line:nth-child(3) { animation-delay: 0.75s; }

.hero-title-line.gsap-split {
  transform: none;
  opacity: 1;
  animation: none;
}

@keyframes heroReveal {
  to { transform: translateY(0); opacity: 1; }
}

/* Line 1: PUISSANCE. — bold white serif */
.hero-title-bold {
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.025em;
  text-shadow:
    0 2px 6px rgba(0,0,0,.6),
    0 0 50px rgba(255,255,255,.08),
    0 0 100px rgba(200,169,96,.06);
}

/* Line 2: Performance. — italic gold gradient */
.hero-title-italic {
  font-family: var(--font-hero);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.5rem, 6.5vw, 6.2rem);
  line-height: 1.15;
  letter-spacing: .01em;
  padding-right: 0.15em;
  background: linear-gradient(135deg, #8a7340 0%, #B8993E 14%, #C8A960 28%, #E8D5A0 42%, #FFF1CC 50%, #E8D5A0 58%, #FFB347 72%, #FF6B00 86%, #c05500 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-title-italic:not(.gsap-split) {
  transform: translateY(100%);
  opacity: 0;
  animation: heroReveal .8s cubic-bezier(.16,1,.3,1) 0.65s forwards, goldShimmer 6s ease-in-out 2s infinite;
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Line 3: EXCELLENCE. — outlined ghost text */
.hero-title-outline {
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 1.05;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200,169,96,.35);
  letter-spacing: -.025em;
}

/* ===== Separator ===== */
.hero-separator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  opacity: 0;
  animation: heroSlideRight .6s ease 0.85s forwards;
}

.hero-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(200,169,96,.5), 0 0 25px rgba(200,169,96,.12);
}

.hero-sep-line {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200,169,96,.08));
}

/* ===== Subtitle ===== */
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  max-width: 540px;
  margin-bottom: 40px;
  min-height: 1.8em;
  opacity: 0;
  animation: heroFadeUp .6s ease 1s forwards;
  letter-spacing: 0.02em;
}

.hero-subtitle strong {
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CTAs ===== */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .6s ease 0.85s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #c06200 0%, #e07800 30%, #ff8c1a 60%, #ffaa44 100%);
  color: var(--text-primary);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
  box-shadow: 0 0 30px rgba(224,120,0,.2), 0 4px 15px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d07000 0%, #f08500 30%, #ffa040 60%, #ffbb66 100%);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(224,120,0,.35), 0 8px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(255,170,68,.15), inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-primary:active {
  transform: scale(0.98) translateY(0);
  filter: brightness(0.95);
  box-shadow: 0 0 20px rgba(224,120,0,.2), 0 2px 8px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 0 20px rgba(200,169,96,0);
}

.btn-secondary::before,
.btn-secondary::after {
  content: '';
  position: absolute;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.btn-secondary::before {
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.btn-secondary::after {
  bottom: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.btn-secondary:hover {
  color: var(--bg-page);
  background: linear-gradient(135deg, #B8993E 0%, #C8A960 30%, #E8D5A0 60%, #C8A960 100%);
  box-shadow: 0 0 30px rgba(200,169,96,.25), 0 4px 15px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.15);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  transform: translateY(-2px);
}

.btn-secondary:hover::before,
.btn-secondary:hover::after {
  width: 100%;
  height: 100%;
  border-color: #E8D5A0;
}

.btn-secondary:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

.btn-outline-wrapper {
  display: inline-flex;
}

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  color: var(--gold);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(200,169,96,.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,.15), inset 0 0 0 0 rgba(200,169,96,0);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #B8993E 0%, #C8A960 40%, #E8D5A0 100%);
  color: var(--bg-page);
  border-color: #E8D5A0;
  box-shadow: 0 0 30px rgba(200,169,96,.25), 0 4px 15px rgba(0,0,0,.2);
  transform: translateY(-2px);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.btn-outline:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #1a9e4a 0%, #25d366 35%, #34e879 65%, #5ef08f 100%);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 25px rgba(37,211,102,.2), 0 4px 15px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.12);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20bd5a 0%, #2ee06e 35%, #42f088 65%, #70f8a2 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(37,211,102,.3), 0 8px 25px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-whatsapp:active {
  transform: scale(0.98);
  filter: brightness(0.95);
  box-shadow: 0 0 15px rgba(37,211,102,.2), 0 2px 8px rgba(0,0,0,.3);
}

/* Universal button press effect */
.btn:active, .nav-cta:active, .sim-go:active, .wa-float-btn:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}

/* ===== Stats column ===== */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid rgba(200,169,96,.12);
  padding-left: 32px;
  opacity: 0;
  animation: heroFadeUp .8s ease 1.1s forwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,169,96,.18), transparent);
}

.hero-stat-value {
  font-family: var(--font-data);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  background: linear-gradient(135deg, #B8993E 0%, #C8A960 25%, #E8D5A0 50%, #FFB347 75%, #C8A960 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(200,169,96,.18));
}

.hero-stat-value .gold {
  color: var(--gold);
}

.hero-stat-label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stat-bar {
  width: 100%;
  height: 2px;
  background: var(--border);
  margin-top: 4px;
}

.hero-stat-bar-fill {
  height: 100%;
  background: var(--gold);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}


/* --------------------------------------------------------------------------
   5. Brand Marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 36px 0;
  border-top: none;
  border-bottom: none;
  background: linear-gradient(135deg, var(--bg-panel) 0%, rgba(200,169,96,.03) 50%, var(--bg-panel) 100%);
}

/* Gradient separator lines for marquee */
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(160,80,0,.15) 15%, rgba(224,120,0,.45) 35%, rgba(255,170,60,.7) 50%, rgba(224,120,0,.45) 65%, rgba(160,80,0,.15) 85%, transparent 98%);
  box-shadow: 0 0 12px rgba(224,120,0,.25), 0 0 35px rgba(224,120,0,.1);
  z-index: 2;
}

.marquee::before {
  top: 0;
}

.marquee::after {
  bottom: 0;
}

/* Left/right fade-to-black edges for seamless scroll illusion */
.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 3;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #060608 0%, transparent 100%);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, #060608 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

/* marquee never pauses */

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.marquee-item:hover {
  opacity: 1;
  transform: scale(1.15);
}

.marquee-item img,
.marquee-item svg {
  height: 36px;
  width: auto;
}

/* Direct img children of marquee-track (no wrapper divs) */
.marquee-track > img {
  flex-shrink: 0;
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.marquee-track > img:hover {
  opacity: 1;
  transform: scale(1.15);
}


/* --------------------------------------------------------------------------
   6. Simulator (.sim)
   -------------------------------------------------------------------------- */

.sim,
.simulator {
  position: relative;
  background: radial-gradient(ellipse at 60% 10%, rgba(200,169,96,.02) 0%, transparent 55%), var(--bg-page);
  overflow: hidden;
}

/* Atmospheric glow behind simulator section */
.sim .section-inner::before,
.simulator .section-inner::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Section header */
.sim-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

/* Gold glow behind sim header */
.sim-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.sim-header > * {
  position: relative;
  z-index: 1;
}

.section-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-overline-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-overline-text {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, #8a7340 0%, #B8993E 12%, #C8A960 25%, #E8D5A0 38%, #FFF1CC 50%, #E8D5A0 62%, #FFB347 75%, #C8A960 88%, #B8993E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(200,169,96,.3));
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Brand grid panel (Shiftech-style) */
.sim-brands,
.sim-brand-panel {
  position: relative;
  background: linear-gradient(145deg, rgba(14,14,16,.98), rgba(10,10,12,1));
  border: 1px solid rgba(200,169,96,.1);
  padding: 0 32px;
  margin-bottom: 32px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              padding 0.4s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(200,169,96,.03);
}

.sim-brands.open,
.sim-brand-panel.open {
  max-height: 60vh;
  opacity: 1;
  padding: 32px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.sim-brands-search,
.sim-search {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 24px;
  border-radius: 2px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sim-brands-search::placeholder,
.sim-search::placeholder {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
}

.sim-brands-search:focus,
.sim-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,169,96,.15), 0 0 20px rgba(200,169,96,.08), inset 0 0 12px rgba(200,169,96,.03);
}

.sim-brands-grid,
.sim-brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.sim-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 10px;
  background: linear-gradient(145deg, rgba(24,24,26,.95), rgba(18,18,20,.98));
  border: 1px solid rgba(200,169,96,.08);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.sim-brand-card:hover {
  border-color: rgba(200,169,96,.25);
  background: rgba(200,169,96,.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 15px rgba(200,169,96,.08);
}

.sim-brand-card.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 0 20px rgba(200,169,96,.15);
  background: rgba(200,169,96,.08);
}

.sim-brand-card img,
.sim-brand-card svg {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.3s;
}

.sim-brand-card:hover img,
.sim-brand-card:hover svg {
  transform: scale(1.1);
}

.sim-brand-card .brand-text {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.sim-brand-name {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.sim-brand-card:hover .sim-brand-name {
  color: var(--text-primary);
}

/* Model grid panel */
.sim-model-panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid rgba(200,169,96,.08);
  margin-bottom: 32px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              padding 0.4s ease;
}

.sim-model-panel.open {
  max-height: 70vh;
  opacity: 1;
  padding: 24px;
  overflow-y: auto;
}

/* Close button for brand/model panels */
.sim-panel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}
.sim-panel-close:hover {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
}

.sim-model-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.sim-model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(24,24,26,.95), rgba(18,18,20,.98));
  border: 1px solid rgba(200,169,96,.06);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-model-card:hover {
  border-color: rgba(200,169,96,.2);
  background: rgba(200,169,96,.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2), 0 0 12px rgba(200,169,96,.06);
}

.sim-model-card.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 0 15px rgba(224,120,0,.15);
}

.sim-model-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  filter: hue-rotate(30deg) saturate(1.3);
}

.sim-model-card span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Config bar */
.sim-config,
.sim-config-bar {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  gap: 1px;
  background: rgba(200,169,96,.1);
  border: 1px solid rgba(200,169,96,.12);
  margin-bottom: 32px;
  box-shadow:
    0 0 40px rgba(200,169,96,.04),
    0 4px 20px rgba(0,0,0,.3);
  position: relative;
  z-index: 5;
}

.sim-config-brand,
.sim-config-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 28px;
  background: rgba(17,17,19,.95);
  cursor: pointer;
  transition: all .25s ease;
}

/* Gold bottom line on active/hover */
.sim-config-brand::after,
.sim-config-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}

.sim-config-brand:hover,
.sim-config-cell:hover {
  background: rgba(200,169,96,.04);
}

.sim-config-brand:hover::after,
.sim-config-cell:hover::after,
.sim-config-brand.active::after,
.sim-config-cell.active::after {
  transform: scaleX(1);
}

.sim-config-brand.active,
.sim-config-cell.active {
  background: rgba(200,169,96,.05);
}

.sim-config-cell img,
.sim-config-cell svg,
.sim-config-brand img,
.sim-config-brand svg {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.sim-config-label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(200,169,96,.5);
  margin-bottom: 6px;
}

.sim-config-value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chevron indicator */
.sim-config-value::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(200,169,96,.4);
  margin-left: auto;
  flex-shrink: 0;
}

.sim-config-cell select {
  width: 100%;
  padding: 4px 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  z-index: 2;
}

.sim-config-cell select option {
  background: #2a2a30;
  color: #f0f0f2;
  padding: 8px;
}

.sim-config-cell select:disabled {
  color: var(--text-faint);
  cursor: not-allowed;
}

.sim-config-select {
  position: relative;
  background: var(--bg-panel);
}

.sim-config-select label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sim-config-select select {
  width: 100%;
  height: 100%;
  padding: 28px 16px 10px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}

.sim-config-go,
.sim-config-bar .sim-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #c06200 0%, #e07800 30%, #ff8c1a 60%, #ffaa44 100%);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  box-shadow: 0 0 30px rgba(224,120,0,.2), 0 4px 15px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.sim-config-go:hover,
.sim-config-bar .sim-go:hover {
  box-shadow: 0 0 50px rgba(224,120,0,.35), 0 8px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.15);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #d07000 0%, #f08500 30%, #ffa040 60%, #ffbb66 100%);
}

.sim-config-go:active,
.sim-config-bar .sim-go:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

/* Result area (wrapper) */
.sim-result {
  margin-top: 40px;
  animation: simResultIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes simResultIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sim-result.hidden {
  display: none;
}

/* Result Hero */
.sim-result-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  border: 1px solid rgba(200,169,96,.08);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 12px 32px rgba(0,0,0,.2), 0 0 0 1px rgba(200,169,96,.03);
}

/* Atmospheric glow inside result hero */
.sim-result-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.sim-result-hero > * {
  position: relative;
  z-index: 1;
}

.sim-result-hero-content {
  min-width: 0;
}

.sim-result-vehicle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sim-result-hero .sim-result-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.sim-result-hero .sim-result-logo img,
.sim-result-hero .sim-result-logo svg {
  width: 24px;
  height: 24px;
}

.sim-result-hero .sim-result-name {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.sim-result-hero .sim-result-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sim-result-headline {
  font-family: 'Jost', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.sim-result-headline .green { color: var(--green); }
.sim-result-headline .orange { color: var(--orange); }

.sim-result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.sim-result-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Radial gold glow behind car image */
.sim-result-hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.12) 0%, rgba(255,107,0,.05) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
  z-index: 0;
}

.sim-result-hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: hue-rotate(30deg) saturate(1.3);
}

/* Stage Table */
.sim-stage-table {
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  border: 1px solid rgba(200,169,96,.06);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15);
}

.sim-stage-table-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sim-stage-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 16px;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.sim-stage-row:last-child { border-bottom: none; }
.sim-stage-row:hover {
  background: var(--bg-elevated);
  box-shadow: inset 3px 0 0 var(--gold), inset 3px 0 15px rgba(200,169,96,.08);
}

.sim-stage-row-name {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
}

.sim-stage-icon.s1 { background: rgba(76,175,80,0.1); color: var(--green); border: 1px solid rgba(76,175,80,0.2); }
.sim-stage-icon.s2 { background: rgba(68,138,255,0.1); color: var(--blue); border: 1px solid rgba(68,138,255,0.2); }
.sim-stage-icon.eco { background: rgba(200,169,96,0.1); color: var(--gold); border: 1px solid rgba(200,169,96,0.2); }

.sim-stage-row-power,
.sim-stage-row-torque {
  font-family: var(--font-data);
  font-size: 0.85rem;
}

.sim-stage-row-power .origin,
.sim-stage-row-torque .origin {
  text-decoration: line-through;
  color: var(--text-faint);
  margin-right: 8px;
}

.sim-stage-row-power .gain,
.sim-stage-row-torque .gain {
  font-size: 0.7rem;
  margin-left: 4px;
}

.sim-stage-row-power .new { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.sim-stage-row-torque .new { font-weight: 700; font-size: 1.1rem; color: var(--text-primary); }
.sim-stage-row[data-stage="1"] .gain { color: var(--green); }
.sim-stage-row[data-stage="2"] .gain { color: var(--blue); }
.sim-stage-row[data-stage="eco"] .gain { color: var(--gold); }

.sim-stage-row-cta {
  padding: 8px 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.sim-stage-row-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(200,169,96,.12);
}

/* Chart title and wrapper */
.sim-chart-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sim-chart-wrap {
  position: relative;
  height: 300px;
}

.sim-chart-wrap canvas {
  width: 100%;
  height: 100%;
}

/* Vehicle info bar */
.sim-vehicle-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  margin-bottom: 24px;
}

.sim-vehicle-badge,
.sim-result-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.sim-vehicle-badge img,
.sim-vehicle-badge svg,
.sim-result-logo img,
.sim-result-logo svg {
  width: 24px;
  height: 24px;
}

.sim-result-info {
  flex: 1;
  min-width: 0;
}

.sim-vehicle-name,
.sim-result-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.sim-vehicle-specs,
.sim-result-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sim-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-family: var(--font-data);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.sim-spec-badge.power {
  border-color: rgba(200, 169, 96, 0.3);
  color: var(--gold);
}

.sim-spec-badge.torque {
  border-color: rgba(68, 138, 255, 0.3);
  color: var(--blue);
}

.sim-spec-badge.fuel {
  border-color: rgba(76, 175, 80, 0.3);
  color: var(--green);
}

/* Stage tabs */
.sim-stages,
.sim-stage-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.sim-stage-tab {
  padding: 14px 28px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.sim-stage-tab:hover {
  color: var(--text-secondary);
}

.sim-stage-tab.active {
  color: var(--text-primary);
}

.sim-stage-tab[data-stage="1"].active,
.sim-stage-tab[data-stage="stage1"].active {
  border-bottom-color: var(--green);
}

.sim-stage-tab[data-stage="2"].active,
.sim-stage-tab[data-stage="stage2"].active {
  border-bottom-color: var(--blue);
}

.sim-stage-tab[data-stage="3"].active,
.sim-stage-tab[data-stage="eco"].active {
  border-bottom-color: var(--gold);
}

/* Gauge dashboard */
.sim-dashboard,
.sim-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 16px;
  background: var(--border);
  border: 1px solid var(--border);
}

.sim-gauge,
.sim-gauge-panel {
  position: relative;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  border: 1px solid rgba(200,169,96,.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

/* Subtle radial glow behind each gauge */
.sim-gauge::after,
.sim-gauge-panel::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.sim-gauge > *,
.sim-gauge-panel > * {
  position: relative;
  z-index: 1;
}

.sim-gauge-label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  align-self: flex-start;
}

.sim-gauge-canvas {
  width: 320px;
  height: 200px;
  position: relative;
  margin: 0 auto;
}

.sim-gauge-canvas canvas,
.sim-gauge-panel canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.sim-gauge-readout {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.sim-gauge-value {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 32px;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(200,169,96,.15), 0 2px 4px rgba(0,0,0,.3);
}

.sim-gauge-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.sim-gauge-badge.green {
  background: rgba(76, 175, 80, 0.1);
  color: var(--green);
  border: 1px solid rgba(76, 175, 80, 0.2);
}
.sim-gauge-badge.orange {
  background: rgba(224, 138, 48, 0.1);
  color: var(--orange);
  border: 1px solid rgba(224, 138, 48, 0.2);
}
.sim-gauge-stat-value.green { color: var(--green); }
.sim-gauge-stat-value.orange { color: var(--orange); }
.sim-gauge-stat-value.origin { color: var(--text-faint); }
.sim-gauge-stat-value.stage { color: var(--text-secondary); }

.sim-gauge-unit {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.sim-gauge-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.sim-gauge-stat {
  flex: 1;
  text-align: center;
}

.sim-gauge-stat-label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sim-gauge-stat-val,
.sim-gauge-stat-value {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.sim-gauge-stat-val.gain,
.sim-gauge-stat-value.gain {
  color: var(--green);
}

/* Chart section */
.sim-chart,
.sim-chart-container {
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  border: 1px solid rgba(200,169,96,.06);
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15);
}

/* Dyno curve section */
.sim-dyno-container {
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  border: 1px solid rgba(200,169,96,.06);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15);
}

.sim-dyno-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.sim-dyno-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sim-dyno-title i,
.sim-dyno-title svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.sim-dyno-legend {
  display: flex;
  gap: 20px;
}

.sim-dyno-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.sim-dyno-legend-dot {
  width: 10px;
  height: 3px;
}

.sim-dyno-legend-item.origin .sim-dyno-legend-dot {
  background: #555;
}

.sim-dyno-legend-item.stage .sim-dyno-legend-dot {
  background: linear-gradient(90deg, var(--green), #66bb6a);
}

.sim-dyno-wrap {
  position: relative;
  height: 280px;
}


.sim-dyno-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.sim-dyno-disclaimer {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-faint);
  font-style: italic;
  text-align: center;
}

.sim-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sim-chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sim-chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
}

.sim-chart-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 1px;
}

.sim-chart-canvas {
  width: 100%;
  height: 300px;
}

.sim-chart-canvas canvas {
  width: 100%;
  height: 100%;
}

/* Post-result CTAs */
.sim-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
}

.sim-share {
  gap: 8px;
}


/* --------------------------------------------------------------------------
   7. "Pourquoi" Section (.why)
   -------------------------------------------------------------------------- */

.why,
.section-why {
  background: linear-gradient(160deg, rgba(17,17,19,1) 0%, rgba(14,14,16,1) 50%, rgba(17,17,19,1) 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
}

/* Gradient separator lines for .why */
.why::before,
.section-why::before,
.why::after,
.section-why::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(160,80,0,.15) 15%, rgba(224,120,0,.45) 35%, rgba(255,170,60,.7) 50%, rgba(224,120,0,.45) 65%, rgba(160,80,0,.15) 85%, transparent 98%);
  box-shadow: 0 0 12px rgba(224,120,0,.25), 0 0 35px rgba(224,120,0,.1);
  pointer-events: none;
  z-index: 1;
}

.why::before,
.section-why::before {
  top: 0;
}

.why::after,
.section-why::after {
  bottom: 0;
}

.why-inner,
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-header,
.why-text {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

/* Atmospheric glow behind why section title */
.why-header::before,
.why-text::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 400px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(30px);
}

.why-header .section-overline,
.why-text .overline {
  justify-content: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.why-header .section-title,
.why-text .section-title {
  text-align: left;
}

.why-desc,
.why-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 20px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Card lift & transition defaults */
.service-card, .tarif-card, .social-card, .why-point, .contact-block {
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(145deg, rgba(22,22,24,.95), rgba(18,18,20,.98));
  border: 1px solid rgba(200,169,96,.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.12), 0 0 0 1px rgba(200,169,96,.03);
}

/* Diagonal accent line in background */
.why-point::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 1px;
  height: 200%;
  background: linear-gradient(180deg, transparent, rgba(200,169,96,.08), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.why-point:hover {
  border-color: rgba(200,169,96,.2);
  box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 16px 40px rgba(0,0,0,.18), 0 0 25px rgba(200,169,96,.08);
  transform: translateY(-4px);
}

.why-point:hover::after {
  background: linear-gradient(180deg, transparent, rgba(200,169,96,.18), transparent);
}

.why-point-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 18px;
  box-shadow: 0 0 15px rgba(200,169,96,.12), inset 0 0 10px rgba(200,169,96,.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-point:hover .why-point-icon {
  box-shadow: 0 0 25px rgba(200,169,96,.2), inset 0 0 15px rgba(200,169,96,.08);
  border-color: rgba(200,169,96,.3);
}

.why-point-content h3,
.why-point-content h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-point-content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */

.services,
.section-services {
  background: radial-gradient(ellipse at 80% 20%, rgba(200,169,96,.02) 0%, transparent 50%), var(--bg-page);
  position: relative;
  overflow: hidden;
}

/* Subtle radial gradient orb in services background */
.services::after,
.section-services::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.services-header {
  margin-bottom: 56px;
  position: relative;
}

.services-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.services-header > * {
  position: relative;
  z-index: 1;
}

.services-header .section-overline {
  justify-content: flex-start;
}

.services-header .section-title {
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  overflow: hidden;
  border: 1px solid rgba(200,169,96,.06);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15), 0 0 0 1px rgba(200,169,96,.03);
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--orange));
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  z-index: 2;
}

.service-card:hover {
  background: linear-gradient(145deg, rgba(22,22,24,.95), rgba(17,17,19,.98));
  border-color: rgba(200,169,96,.2);
  box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 16px 48px rgba(0,0,0,.2), 0 0 30px rgba(200,169,96,.08);
  transform: translateY(-4px);
}

.service-card:hover::before {
  height: 100%;
  box-shadow: 0 0 15px rgba(200,169,96,.3), 0 0 30px rgba(200,169,96,.15);
}

.service-number {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 32px;
  color: var(--text-faint);
  line-height: 1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 20px rgba(200,169,96,.05);
}

.service-card:hover .service-number {
  color: var(--text-dim);
  text-shadow: 0 0 30px rgba(200,169,96,.12);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 18px;
  box-shadow: 0 0 12px rgba(200,169,96,.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover .service-icon {
  box-shadow: 0 0 20px rgba(200,169,96,.15), inset 0 0 10px rgba(200,169,96,.05);
  border-color: rgba(200,169,96,.25);
}

.service-card h3,
.service-info h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.service-card > p,
.service-info p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-link {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.25s ease;
  margin-top: auto;
}

.service-link:hover {
  color: var(--gold-hover);
}

.service-arrow {
  font-size: 20px;
  color: var(--text-faint);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--gold);
}


/* --------------------------------------------------------------------------
   9. Tarifs
   -------------------------------------------------------------------------- */

.tarifs,
.section-tarifs {
  background: linear-gradient(170deg, rgba(14,14,16,1) 0%, rgba(17,17,19,1) 40%, rgba(14,14,16,1) 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

/* Gradient separator lines for tarifs */
.tarifs::before,
.section-tarifs::before,
.tarifs::after,
.section-tarifs::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(160,80,0,.15) 15%, rgba(224,120,0,.45) 35%, rgba(255,170,60,.7) 50%, rgba(224,120,0,.45) 65%, rgba(160,80,0,.15) 85%, transparent 98%);
  box-shadow: 0 0 12px rgba(224,120,0,.25), 0 0 35px rgba(224,120,0,.1);
  pointer-events: none;
  z-index: 1;
}

.tarifs::before,
.section-tarifs::before {
  top: 0;
}

.tarifs::after,
.section-tarifs::after {
  bottom: 0;
}

/* Atmospheric gold orb behind tarifs section */
.section-tarifs .section-inner,
.tarifs .section-inner {
  position: relative;
}

.section-tarifs .section-inner::before,
.tarifs .container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.tarifs-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.tarifs-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.tarifs-header > * {
  position: relative;
  z-index: 1;
}

/* ===== Reprogrammation hero card — full width featured ===== */
.tarif-hero-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin-bottom: 24px;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(12,12,14,.98));
  border: 1px solid rgba(200,169,96,.08);
  box-shadow: 0 4px 16px rgba(0,0,0,.25), 0 12px 40px rgba(0,0,0,.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tarif-hero-card.featured {
  border-color: rgba(200,169,96,.2);
  box-shadow: 0 0 40px rgba(200,169,96,.08), 0 8px 40px rgba(0,0,0,.3);
}

.tarif-hero-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: 0; right: 32px;
  padding: 5px 14px;
  background: linear-gradient(135deg, #B8993E, #C8A960);
  color: var(--bg-page);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(-50%);
  z-index: 1;
}

.tarif-hero-card:hover {
  border-color: rgba(200,169,96,.3);
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(200,169,96,.12), 0 16px 50px rgba(0,0,0,.3);
}

/* Header: icon + title + description */
.tarif-hero-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 36px 24px;
}

.tarif-hero-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.tarif-hero-header p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: #d0d0d4;
  line-height: 1.7;
}

.tarif-hero-header .tarif-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Price columns: Stage 1 | separator | Stage 2 */
.tarif-hero-prices {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(200,169,96,.08);
}

.tarif-hero-col {
  flex: 1;
  padding: 20px 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tarif-col-title {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.tarif-hero-sep {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(200,169,96,.15) 20%, rgba(200,169,96,.15) 80%, transparent);
  flex-shrink: 0;
}

.tarif-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(200,169,96,.04);
  border: 1px solid rgba(200,169,96,.06);
}

.tarif-sub-label {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.tarif-sub-price {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-muted);
}

.tarif-sub-price em {
  font-style: normal;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
}

.tarif-hero-note {
  display: block;
  padding: 10px 36px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ===== Tarifs grid ===== */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Disclaimer */
.tarifs-disclaimer {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-top: 28px;
  letter-spacing: 0.02em;
}

.tarif-card {
  background: linear-gradient(145deg, rgba(14,14,16,.95), rgba(10,10,12,.98));
  border: 1px solid rgba(200,169,96,.06);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15), 0 0 0 1px rgba(200,169,96,.03);
}

.tarif-card:hover {
  border-color: rgba(200,169,96,.2);
  box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 16px 48px rgba(0,0,0,.2), 0 0 30px rgba(200,169,96,.08);
  transform: translateY(-4px);
}

.tarif-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(200,169,96,.12), 0 8px 40px rgba(0,0,0,.3);
}

.tarif-card.featured:hover {
  box-shadow: 0 0 45px rgba(200,169,96,.18), 0 12px 50px rgba(0,0,0,.35);
}

.tarif-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: 0;
  right: 24px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--bg-page);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.tarif-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(200,169,96,.10);
  transition: box-shadow 0.3s ease;
}

.tarif-card:hover .tarif-icon {
  box-shadow: 0 0 25px rgba(200,169,96,.18);
}

.tarif-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tarif-card > p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: #d0d0d4;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tarif-name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.tarif-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tarif-price {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(200,169,96,.06);
  letter-spacing: 0.3px;
}

.tarif-price em {
  font-style: normal;
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--gold);
  font-size: 22px;
  filter: drop-shadow(0 0 6px rgba(200,169,96,.15));
}

.tarif-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.tarif-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
}

.tarif-feature-check {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--green);
  flex-shrink: 0;
}

.tarif-cta {
  margin-top: auto;
}

.tarif-cta .btn-primary,
.tarif-cta .btn-secondary {
  width: 100%;
  justify-content: center;
}

.tarif-devis {
  text-align: center;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px;
  border: 1px solid rgba(200,169,96,.3);
  background: rgba(200,169,96,.04);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.tarif-devis:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(200,169,96,.12);
  background: rgba(200,169,96,.08);
}

.tarifs-cta {
  text-align: center;
  margin-top: 48px;
}


/* --------------------------------------------------------------------------
   10. Galerie
   -------------------------------------------------------------------------- */

/* ===== GALERIE — Horizontal Carousel ===== */
.galerie,
.section-galerie {
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}

.section-galerie::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(200,169,96,.025) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(200,169,96,.015) 0%, transparent 50%);
  pointer-events: none;
}

.galerie .section-inner::before,
.section-galerie .section-inner::before {
  display: none;
}

/* Gallery counter */
.galerie-count {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
}
.galerie-count span {
  color: var(--gold);
  font-weight: 700;
}

/* ---- Filter Pills ---- */
.galerie-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.galerie-filter {
  padding: 10px 26px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(17,17,19,.5);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.galerie-filter:hover {
  color: var(--gold);
  border-color: rgba(200,169,96,.3);
  background: rgba(200,169,96,.06);
}

.galerie-filter.active {
  color: #0c0c0e;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(200,169,96,.3), 0 0 0 1px rgba(200,169,96,.1);
}

.galerie-filter.active::after {
  display: none;
}

/* ---- Carousel Container ---- */
.galerie-carousel {
  position: relative;
  margin: 0 calc(-1 * var(--gap));
}

/* Fade edges */
.galerie-carousel::before,
.galerie-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 24px;
  width: 80px;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.galerie-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-page) 0%, transparent 100%);
}
.galerie-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-page) 0%, transparent 100%);
}

/* ---- Horizontal Scroll Grid ---- */
.galerie-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 8px var(--gap) 20px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.galerie-grid:active {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* Styled scrollbar — thin gold */
.galerie-grid::-webkit-scrollbar {
  height: 3px;
}
.galerie-grid::-webkit-scrollbar-track {
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  margin: 0 var(--gap);
}
.galerie-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 10px;
}
.galerie-grid {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255,255,255,.03);
}

/* ---- Navigation Arrows ---- */
.galerie-nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 10px));
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,96,.25);
  background: rgba(12,12,14,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.galerie-nav:hover {
  background: rgba(200,169,96,.12);
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(200,169,96,.2), 0 0 0 1px rgba(200,169,96,.1);
  transform: translateY(calc(-50% - 10px)) scale(1.08);
}

.galerie-nav:active {
  transform: translateY(calc(-50% - 10px)) scale(0.95);
}

.galerie-nav-prev {
  left: 12px;
}
.galerie-nav-next {
  right: 12px;
}

.galerie-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---- Item Card ---- */
.galerie-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  flex: 0 0 360px;
  height: 440px;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
}

/* Gold accent line — slides in on hover */
.galerie-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  border-radius: 0 0 14px 14px;
}

.galerie-item:hover::after {
  transform: scaleX(1);
}

/* Featured — wider cards */
.galerie-featured {
  flex: 0 0 500px;
}

/* Gold tag on featured */
.galerie-featured .galerie-tag {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #0c0c0e;
  border: none;
  font-weight: 800;
}

.galerie-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 20px 60px rgba(200,169,96,.15),
    0 0 0 1px rgba(200,169,96,.2),
    0 8px 24px rgba(0,0,0,.5);
  border-color: rgba(200,169,96,.3);
  z-index: 2;
}

/* ---- Image/Video ---- */
.galerie-item img,
.galerie-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: brightness(0.9) saturate(0.95);
}

.galerie-item:hover img,
.galerie-item:hover video {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.05);
}

/* ---- Overlay — always visible at bottom ---- */
.galerie-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,6,8,.95) 0%,
    rgba(6,6,8,.7) 18%,
    rgba(6,6,8,.3) 35%,
    transparent 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 1;
  transition: background 0.45s ease;
}

.galerie-item:hover .galerie-item-overlay {
  background: linear-gradient(
    to top,
    rgba(6,6,8,.98) 0%,
    rgba(6,6,8,.75) 25%,
    rgba(6,6,8,.35) 50%,
    transparent 75%
  );
}

/* ---- Tag Badge ---- */
.galerie-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 14px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,96,.4);
  background: rgba(12,12,14,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 4px;
  margin-bottom: 10px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.galerie-item:hover .galerie-tag {
  background: rgba(200,169,96,.15);
  border-color: var(--gold);
}

/* ---- Title ---- */
.galerie-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 3px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  transition: color 0.3s ease;
}

.galerie-item:hover .galerie-item-title {
  color: #fff;
}

/* ---- Description — fades in on hover ---- */
.galerie-item-desc {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

.galerie-item:hover .galerie-item-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Video Play Button ---- */
.galerie-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0.9;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.6));
}

.galerie-play-btn svg circle {
  transition: stroke 0.3s ease;
}

.galerie-item:hover .galerie-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12);
}

.galerie-item:hover .galerie-play-btn svg circle {
  stroke: var(--gold);
}

/* ---- Video item ---- */
.galerie-video {
  border-color: rgba(200,169,96,.08);
}

.galerie-video::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200,169,96,.06);
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
}

/* Lightbox — enhanced with video support */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  border: 1px solid var(--border);
  background: rgba(17,17,19,.6);
  z-index: 10;
}

.lightbox-close:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(30,30,34,.8);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.lightbox-video {
  max-width: 90vw;
  max-height: 80vh;
  outline: none;
  background: #000;
}

.lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  opacity: 0.8;
  max-width: 600px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--border);
  background: rgba(17,17,19,.6);
  z-index: 10;
}

.lightbox-nav:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(30,30,34,.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}


/* --------------------------------------------------------------------------
   11. Avis (Testimonials)
   -------------------------------------------------------------------------- */

.avis,
.section-avis {
  background: linear-gradient(150deg, rgba(17,17,19,1) 0%, rgba(15,15,17,1) 50%, rgba(17,17,19,1) 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

/* Gradient separator lines for avis */
.avis::before,
.section-avis::before,
.avis::after,
.section-avis::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(160,80,0,.15) 15%, rgba(224,120,0,.45) 35%, rgba(255,170,60,.7) 50%, rgba(224,120,0,.45) 65%, rgba(160,80,0,.15) 85%, transparent 98%);
  box-shadow: 0 0 12px rgba(224,120,0,.25), 0 0 35px rgba(224,120,0,.1);
  pointer-events: none;
  z-index: 1;
}

.avis::before,
.section-avis::before {
  top: 0;
}

.avis::after,
.section-avis::after {
  bottom: 0;
}

/* Subtle background gradient for avis */
.section-avis .section-inner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,96,.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.avis-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.avis-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.avis-header > * {
  position: relative;
  z-index: 1;
}

/* Rating summary bar */
.avis-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: linear-gradient(145deg, rgba(22,22,24,.95), rgba(16,16,18,.98));
  border: 1px solid rgba(200,169,96,.1);
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.avis-summary-score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avis-summary-number {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 42px;
  color: var(--text-primary);
  line-height: 1;
}

.avis-summary-stars {
  display: flex;
  gap: 2px;
}

.avis-summary-count {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.avis-summary-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}

.avis-summary-badge:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(200,169,96,.3);
  color: var(--text-primary);
}

/* Carousel */
.avis-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 0 60px;
}

.avis-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card */
.avis-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(12,12,14,.98));
  border: 1px solid rgba(200,169,96,.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.12);
}

.avis-card:hover {
  border-color: rgba(200,169,96,.2);
  box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 16px 40px rgba(0,0,0,.2), 0 0 25px rgba(200,169,96,.08);
  transform: translateY(-3px);
}

/* Card header: avatar + name + google icon */
.avis-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avis-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.avis-meta {
  flex: 1;
  min-width: 0;
}

.avis-name {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.avis-date {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-faint);
}

.avis-google-icon {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Stars */
.avis-stars {
  display: flex;
  gap: 2px;
}

.avis-source {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

/* Text */
.avis-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
}

/* Car tag */
.avis-car {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid rgba(200,169,96,.06);
}

.avis-car i,
.avis-car svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  opacity: 0.5;
}

/* Navigation arrows */
.avis-nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 30px));
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,18,20,.9);
  border: 1px solid rgba(200,169,96,.15);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 3;
}

.avis-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 15px rgba(200,169,96,.2);
}

.avis-nav-prev { left: -4px; }
.avis-nav-next { right: -4px; }

/* Dots */
.avis-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Avis placeholder (no reviews yet) */
.avis-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(12,12,14,.98));
  border: 1px solid rgba(200,169,96,.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.avis-placeholder-icon {
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 24px;
}

.avis-placeholder-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.avis-placeholder-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
}

.avis-placeholder-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.avis-map-embed {
  margin-bottom: 32px;
  border: 1px solid rgba(200,169,96,.08);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.avis-map-embed iframe {
  display: block;
}

.avis-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.avis-dot {
  width: 8px;
  height: 2px;
  background: var(--text-faint);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.avis-dot.active {
  width: 24px;
  background: var(--gold);
}

/* Avis Carousel */
.avis-carousel-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.avis-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.avis-carousel-wrap .avis-card {
  flex: 0 0 100%;
  padding: 40px;
  background: rgba(18,18,20,.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 12px;
  box-sizing: border-box;
}
.avis-carousel-wrap .avis-stars {
  color: #FFB800;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.avis-carousel-wrap .avis-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}
.avis-author strong {
  display: block;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 2px;
}
.avis-author span {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.5px;
}
.avis-carousel-wrap .avis-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  position: static;
  width: auto;
  height: auto;
  transform: none;
  background: none;
  border: none;
}
.avis-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(18,18,20,.6);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.avis-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.avis-carousel-wrap .avis-dots {
  display: flex;
  gap: 6px;
  position: static;
}
.avis-carousel-wrap .avis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.avis-carousel-wrap .avis-dot.active {
  background: var(--gold);
  width: 8px;
  transform: scale(1.2);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 48px 24px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.trust-badge:hover {
  color: var(--gold);
}
.trust-badge i, .trust-badge svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  opacity: 0.7;
}


/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  background: rgba(18,18,20,.6);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:first-child { border-radius: 8px 8px 0 0; }
.faq-item:last-child { border-radius: 0 0 8px 8px; }
.faq-item:hover { border-color: rgba(200,169,96,.2); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--gold);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   12. Reseaux Sociaux (.social)
   -------------------------------------------------------------------------- */

.social,
.section-social {
  background: radial-gradient(ellipse at 50% 0%, rgba(200,169,96,.02) 0%, transparent 60%), var(--bg-page);
}

.social-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.social-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.social-header > * {
  position: relative;
  z-index: 1;
}

.social-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.social-link,
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 40px;
  background: linear-gradient(145deg, rgba(18,18,20,.95), rgba(14,14,16,.98));
  border: 1px solid rgba(200,169,96,.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15), 0 0 0 1px rgba(200,169,96,.03);
}

.social-link:hover,
.social-card:hover {
  border-color: rgba(200,169,96,.2);
  transform: translateY(-4px);
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 16px 48px rgba(0,0,0,.2), 0 0 30px rgba(200,169,96,.08);
}

.social-link-icon,
.social-card svg,
.social-card i {
  font-size: 32px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.social-link:hover .social-link-icon,
.social-card:hover svg,
.social-card:hover i {
  color: var(--gold);
}

.social-link-name,
.social-name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.social-link:hover .social-link-name,
.social-card:hover .social-name {
  color: var(--text-secondary);
}

.social-link-handle,
.social-handle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--text-dim);
}


/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */

.contact,
.section-contact {
  background: linear-gradient(155deg, rgba(14,14,16,1) 0%, rgba(17,17,19,1) 45%, rgba(14,14,16,1) 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
}

/* Gradient separator lines for contact */
.contact::before,
.section-contact::before,
.contact::after,
.section-contact::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(160,80,0,.15) 15%, rgba(224,120,0,.45) 35%, rgba(255,170,60,.7) 50%, rgba(224,120,0,.45) 65%, rgba(160,80,0,.15) 85%, transparent 98%);
  box-shadow: 0 0 12px rgba(224,120,0,.25), 0 0 35px rgba(224,120,0,.1);
  pointer-events: none;
  z-index: 1;
}

.contact::before,
.section-contact::before {
  top: 0;
}

.contact::after,
.section-contact::after {
  bottom: 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.contact-header > * {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card,
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(14,14,16,.95), rgba(10,10,12,.98));
  border: 1px solid rgba(200,169,96,.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.15), 0 0 0 1px rgba(200,169,96,.03);
}

.contact-card:hover,
.contact-block:hover {
  border-color: rgba(200,169,96,.2);
  box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 16px 48px rgba(0,0,0,.2), 0 0 25px rgba(200,169,96,.08);
  transform: translateY(-4px);
}

.contact-card-icon,
.contact-block-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 16px;
  box-shadow: 0 0 15px rgba(200,169,96,.10);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover .contact-card-icon,
.contact-block:hover .contact-block-icon {
  box-shadow: 0 0 25px rgba(200,169,96,.18);
  border-color: rgba(200,169,96,.25);
}

.contact-card-content h3,
.contact-block-content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-card-content p,
.contact-block-content p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card-content a,
.contact-block-content a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.contact-card-content a:hover,
.contact-block-content a:hover {
  color: var(--gold);
}

/* Map */
.contact-map {
  position: relative;
  background: var(--bg-page);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-map:hover {
  border-color: rgba(200,169,96,.25);
  box-shadow: 0 0 30px rgba(200,169,96,.10);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

.contact-map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(12, 12, 14, 0.95), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-map-address {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-itinerary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  box-shadow: 0 0 15px rgba(224,120,0,.15);
}

.contact-itinerary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
  box-shadow: 0 0 30px rgba(224,120,0,.3), 0 4px 15px rgba(224,120,0,.2);
  transform: translateY(-1px);
}

.contact-directions {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
}

/* ---- Contact Social Row (integrated) ---- */
.contact-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(17,17,19,.6);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.contact-social-link img,
.contact-social-link svg {
  flex-shrink: 0;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-social-link i {
  font-size: 18px;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.contact-social-link:hover {
  border-color: rgba(200,169,96,.3);
  background: rgba(200,169,96,.06);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200,169,96,.1);
}

.contact-social-link:hover i {
  color: var(--gold);
}


/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

/* Footer */
.footer {
  background: linear-gradient(180deg, #08080a 0%, #050507 50%, #030305 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, rgba(160,80,0,.2) 15%, rgba(224,120,0,.5) 35%, rgba(255,170,60,.8) 50%, rgba(224,120,0,.5) 65%, rgba(160,80,0,.2) 85%, transparent 98%);
  z-index: 1;
}
.footer::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,169,96,.04) 0%, transparent 60%);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  position: relative;
  z-index: 1;
}

/* Footer top — 4 columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* Brand column */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(230,120,20,.7);
  box-shadow: 0 0 12px rgba(230,120,20,.3), 0 0 24px rgba(230,120,20,.12);
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 300px;
}
.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social-icons a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.footer-social-icons a i,
.footer-social-icons a svg {
  width: 16px; height: 16px;
}
.footer-social-icons a:hover {
  color: var(--gold);
  border-color: rgba(200,169,96,.3);
  background: rgba(200,169,96,.08);
  transform: translateY(-2px);
}
.footer-social-icons a[aria-label="TikTok"]:hover { color: #ff0050; border-color: rgba(255,0,80,.3); background: rgba(255,0,80,.08); }
.footer-social-icons a[aria-label="Instagram"]:hover { color: #e4405f; border-color: rgba(228,64,95,.3); background: rgba(228,64,95,.08); }
.footer-social-icons a[aria-label="Facebook"]:hover { color: #1877f2; border-color: rgba(24,119,242,.3); background: rgba(24,119,242,.08); }

/* Generic footer columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Contact items */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-contact-item i,
.footer-contact-item svg {
  width: 14px; height: 14px;
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.footer-contact-item a:hover {
  color: var(--gold);
  padding-left: 0;
}

/* Google reviews link */
.footer-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255,184,0,.06);
  border: 1px solid rgba(255,184,0,.12);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #FFB800;
  transition: all 0.3s ease;
}
.footer-reviews i,
.footer-reviews svg {
  width: 14px; height: 14px;
}
.footer-reviews:hover {
  background: rgba(255,184,0,.12);
  border-color: rgba(255,184,0,.25);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 0;
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,96,.12), transparent);
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.25s ease;
}
.footer-legal a:hover {
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   15. WhatsApp Float
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8000;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a9e4a 0%, #25d366 40%, #34e879 100%);
  color: #fff;
  font-size: 26px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 50px rgba(37, 211, 102, 0.2), 0 8px 30px rgba(0,0,0,.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5), 0 0 60px rgba(37, 211, 102, 0.25), 0 12px 40px rgba(0,0,0,.3);
  color: #fff;
  background: linear-gradient(135deg, #20bd5a 0%, #2ee06e 40%, #42f088 100%);
}

.wa-float:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

/* Pulse ring - more visible */
.wa-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--whatsapp);
  border-radius: 4px;
  animation: waPulse 2s ease-in-out infinite;
}

/* Green glow aura */
.wa-float::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: waGlowPulse 3s ease-in-out infinite;
}

.wa-float-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  font-size: 26px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 40px rgba(37, 211, 102, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.wa-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.4), 0 0 50px rgba(37, 211, 102, 0.2);
  color: #fff;
}

/* Pulse ring for .wa-float-btn - more visible */
.wa-float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--whatsapp);
  border-radius: 4px;
  animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

@keyframes waGlowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.wa-float-label {
  padding: 8px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}


/* --------------------------------------------------------------------------
   Cookie Banner
   -------------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 32px;
  background: rgba(12,12,14,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(200,169,96,.15);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.cookie-accept {
  background: var(--orange);
  color: #fff;
}
.cookie-accept:hover {
  background: var(--gold);
}
.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.cookie-decline:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}


/* --------------------------------------------------------------------------
   16. Utility & Animation Classes
   -------------------------------------------------------------------------- */

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Gold gradient text util */
.text-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Separator utility */
.sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0;
}

.sep-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sep-diamond {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   16b. Hero Particles Container
   -------------------------------------------------------------------------- */

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   16c. Lenis smooth scroll body style
   -------------------------------------------------------------------------- */

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   16d. Typed.js cursor
   -------------------------------------------------------------------------- */

.typed-cursor {
  color: var(--gold);
  font-weight: 100;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   16e. Enhanced hero letter animation
   -------------------------------------------------------------------------- */

.hero-title-line .hero-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

/* Preserve gradient text on italic line letters */
.hero-title-italic.gsap-split {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  filter: none;
}

.hero-title-italic .hero-letter {
  background: linear-gradient(135deg, #8a7340 0%, #B8993E 14%, #C8A960 28%, #E8D5A0 42%, #FFF1CC 50%, #E8D5A0 58%, #FFB347 72%, #FF6B00 86%, #c05500 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 6s ease-in-out 4s infinite;
  padding-right: 0.02em;
}

/* Preserve outline style on outline line letters */
.hero-title-outline .hero-letter {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200,169,96,.35);
  text-shadow:
    0 0 20px rgba(200,169,96,.15),
    0 0 60px rgba(200,169,96,.08);
}

/* --------------------------------------------------------------------------
   16f. Vanilla Tilt overrides
   -------------------------------------------------------------------------- */

.js-tilt {
  transform-style: preserve-3d;
}

.js-tilt-glare {
  border-radius: inherit;
}

/* --------------------------------------------------------------------------
   16g. Enhanced micro-interactions
   -------------------------------------------------------------------------- */

/* Clickable elements cursor */
a, button, .service-card, .tarif-card, .social-card, .avis-card,
.galerie-filter, .galerie-item, .sim-brand-card, .sim-model-card,
.sim-config-cell, .why-point, .contact-block {
  cursor: pointer;
}

/* Link underline slide from left */
.footer-links a,
.contact-block-content a {
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200,169,96,.3));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Section title clip-path reveal (used by GSAP) */
.section-title-reveal {
  clip-path: inset(0 100% 0 0);
}

/* --------------------------------------------------------------------------
   16h. Devis / Estimation
   -------------------------------------------------------------------------- */

.devis-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.devis-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 16px;
}
.devis-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.devis-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.devis-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.devis-field label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.devis-field input,
.devis-field select {
  padding: 12px 16px;
  background: rgba(18,18,20,.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.devis-field input:focus,
.devis-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.devis-field input::placeholder,
.devis-field textarea::placeholder {
  color: var(--text-dim);
}
.devis-field textarea {
  padding: 12px 16px;
  background: rgba(18,18,20,.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
  min-height: 70px;
}
.devis-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.devis-field-full {
  flex: 1 1 100%;
}
.devis-submit {
  margin-top: 8px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   17. Responsive — 1024px (Tablet landscape)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {

  :root {
    --gap: 20px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(224,120,0,.15);
    padding-left: 0;
    padding-top: 32px;
    justify-content: space-between;
  }

  /* Tarifs */
  .tarif-hero-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tarifs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Simulator */
  .sim-brands-grid,
  .sim-brand-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .sim-model-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .sim-config,
  .sim-config-bar {
    grid-template-columns: auto 1fr 1fr auto;
  }

  .sim-config-select:nth-child(4),
  .sim-config-cell:nth-child(4) {
    grid-column: 2 / -1;
  }

  .sim-config-go,
  .sim-config-bar .sim-go {
    grid-column: 1 / -1;
    padding: 14px;
  }

  /* Why section */
  .why-inner,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-header,
  .why-text {
    position: static;
  }

  /* Tarifs */
  .tarif-hero-card {
    padding: 0;
  }

  .tarif-hero-prices {
    flex-direction: column;
  }

  .tarif-hero-sep {
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,169,96,.15) 20%, rgba(200,169,96,.15) 80%, transparent);
  }

  .tarif-hero-header {
    padding: 24px 20px 18px;
  }

  .tarif-hero-col {
    padding: 16px 20px 20px;
  }

  .tarifs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tarifs-grid .tarif-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  /* Galerie */
  .galerie-item {
    flex: 0 0 320px;
    height: 400px;
    border-radius: 12px;
  }
  .galerie-featured {
    flex: 0 0 440px;
  }
  .galerie-item::after {
    border-radius: 0 0 12px 12px;
  }
  .galerie-video::before {
    border-radius: 12px;
  }
  .galerie-nav {
    width: 44px;
    height: 44px;
  }

  /* Avis */
  .avis-grid {
    grid-template-columns: 1fr 1fr;
  }

  .avis-card {
    flex: 0 0 calc(50% - 10px);
  }

  .avis-summary {
    flex-direction: column;
    text-align: center;
  }

  .avis-summary-score {
    flex-direction: column;
  }

  /* Services grid — 2 cols on tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section spacing */
  section, .section {
    padding: 80px 0;
  }

  /* ===== NAVIGATION ===== */
  .nav-inner {
    justify-content: center;
    position: relative;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-logo img {
    height: 62px;
    width: 62px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-status {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 8px;
    position: absolute;
    right: 0;
  }

  /* Mobile menu — premium feel with staggered animation */
  .nav-mobile {
    overscroll-behavior: contain;
  }

  .nav-mobile a {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.25s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-mobile.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-mobile.open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-mobile.open a:nth-child(2) { transition-delay: 0.10s; }
  .nav-mobile.open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-mobile.open a:nth-child(4) { transition-delay: 0.20s; }
  .nav-mobile.open a:nth-child(5) { transition-delay: 0.25s; }
  .nav-mobile.open a:nth-child(6) { transition-delay: 0.30s; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}


/* --------------------------------------------------------------------------
   18. Responsive — 768px (Tablet portrait / Mobile)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  :root {
    --nav-h: 60px;
    --gap: 16px;
  }

  /* ===== GLOBAL MOBILE ===== */
  html, body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }

  body {
    touch-action: manipulation;
  }

  body {
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }

  /* Hide overflowing pseudo-elements (glow orbs, header glows) */
  .section-header::before,
  .hero::before,
  .hero::after,
  .why-text::before,
  .why-header::before,
  .hero-title::before {
    display: none;
  }

  /* Center ALL content on mobile */
  .section-header,
  .why-text,
  .why-text p {
    text-align: center !important;
  }

  .overline,
  .section-overline,
  .section-header .overline,
  .why-text .overline {
    text-align: center !important;
    justify-content: center !important;
    display: block !important;
    width: 100%;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 3px;
  }

  .section-title,
  .section-header .section-title,
  .why-text .section-title {
    text-align: center !important;
  }

  /* Disable clip-path scroll reveal on mobile — causes visible edge artifact */
  .section-title.scroll-reveal,
  .section-title.scroll-reveal.revealed {
    clip-path: none !important;
  }

  .overline.scroll-reveal,
  .section-overline.scroll-reveal {
    transform: none;
  }

  /* Snappy taps on all interactive elements */
  a, button, select, input, textarea,
  .service-card, .tarif-card, .social-card, .avis-card,
  .galerie-filter, .galerie-item, .sim-brand-card, .sim-model-card,
  .sim-config-cell, .why-point, .contact-block, .nav-hamburger {
    touch-action: manipulation;
  }

  /* ===== NAVIGATION ===== */
  .nav {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
  }

  /* ===== SECTION SPACING ===== */
  .section-padding {
    padding: 64px 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  /* ===== HERO ===== */
  .hero {
    min-height: auto;
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 24px) 0 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero > .hero-overlay::after {
    background:
      linear-gradient(180deg, rgba(5,5,7,.92) 0%, rgba(5,5,7,.75) 30%, rgba(5,5,7,.82) 60%, rgba(5,5,7,.96) 100%);
  }

  .hero-title-bold,
  .hero-title-outline {
    font-size: clamp(28px, 8.5vw, 48px);
  }

  .hero-title-italic {
    font-size: clamp(26px, 8vw, 44px);
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
  }

  .hero-separator {
    margin: 16px 0;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    border-left: none;
    border-top: 1px solid rgba(224,120,0,.15);
    padding-left: 0;
    padding-top: 20px;
  }

  .hero-stat {
    min-width: 0;
    flex: 1;
    text-align: center;
    padding: 0 8px;
  }

  .hero-stat:not(:last-child) {
    border-right: 1px solid rgba(224,120,0,.08);
  }

  .hero-stat:not(:last-child)::after {
    display: none;
  }

  .hero-stat-value {
    font-size: 20px;
  }

  .hero-stat-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  /* Hero CTAs — full width with proper touch targets */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    min-height: 48px;
    font-size: 13px;
  }

  .btn-outline {
    min-height: 48px;
    padding: 14px 24px;
  }

  .btn-outline-wrapper {
    width: 100%;
  }

  /* ===== MARQUEE ===== */
  .marquee-item img,
  .marquee-item svg,
  .marquee-track > img {
    height: 24px;
  }

  .marquee-track {
    gap: 36px;
  }

  .marquee {
    padding: 28px 0;
  }

  /* ===== SIMULATOR ===== */

  /* Brand panel — smooth scroll */
  .sim-brands.open,
  .sim-brand-panel.open {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .sim-brands-grid,
  .sim-brand-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .sim-brand-card {
    padding: 14px 8px;
    min-height: 44px;
  }

  /* Model panel — smooth scroll */
  .sim-model-panel.open {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .sim-model-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .sim-model-card {
    padding: 14px 10px;
    min-height: 44px;
  }

  /* Config bar — stacked cleanly, single column */
  .sim-config,
  .sim-config-bar {
    display: flex !important;
    flex-direction: column;
    gap: 1px;
  }

  .sim-config-brand,
  .sim-config-cell {
    padding: 14px 16px;
    min-height: 48px;
    width: 100%;
  }

  .sim-config-cell select {
    min-height: 44px;
    padding: 8px 0;
    font-size: 15px;
    width: 100%;
  }

  .sim-config-go,
  .sim-config-bar .sim-go {
    padding: 16px;
    min-height: 52px;
    font-size: 13px;
    width: 100%;
  }

  /* Result hero */
  .sim-result-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }

  .sim-result-hero-image {
    order: -1;
  }

  .sim-result-hero-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .sim-result-headline {
    font-size: 18px;
  }

  .sim-result-desc {
    font-size: 14px;
  }

  /* Stage Table — card-style stacked */
  .sim-stage-table-header {
    display: none;
  }

  .sim-stage-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .sim-stage-row-power,
  .sim-stage-row-torque {
    padding-left: 48px;
    font-size: 14px;
  }

  .sim-stage-row-cta {
    justify-self: start;
    margin-left: 48px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
  }

  /* Gauges — single column, centered */
  .sim-dashboard,
  .sim-gauges {
    grid-template-columns: 1fr;
    gap: 16px;
    background: transparent;
    border: none;
  }

  .sim-gauge-panel {
    padding: 24px 16px;
    border: 1px solid rgba(200,169,96,.06);
  }

  .sim-gauge-canvas {
    width: 240px;
    height: 160px;
    margin: 0 auto;
  }

  .sim-gauge-value {
    font-size: 28px;
  }

  .sim-gauge-stats {
    gap: 16px;
  }

  .sim-gauge-stat-label {
    font-size: 10px;
  }

  .sim-gauge-stat-val,
  .sim-gauge-stat-value {
    font-size: 15px;
  }

  /* Stage tabs — scrollable */
  .sim-stages,
  .sim-stage-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .sim-stages::-webkit-scrollbar,
  .sim-stage-tabs::-webkit-scrollbar {
    display: none;
  }

  .sim-stage-tab {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    padding: 12px 24px;
  }

  /* Chart and dyno */
  .sim-chart-container,
  .sim-dyno-container {
    padding: 20px 12px;
  }

  .sim-chart-wrap {
    height: 240px;
  }

  .sim-dyno-wrap {
    height: 220px;
  }

  .sim-dyno-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sim-dyno-disclaimer {
    font-size: 12px;
  }

  /* Simulator CTAs — full width */
  .sim-ctas {
    flex-direction: column;
    gap: 10px;
  }

  .sim-ctas .btn-primary,
  .sim-ctas .btn-whatsapp,
  .sim-ctas .btn-outline {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* ===== WHY SECTION ===== */
  .why-point {
    padding: 20px;
  }

  .why-point-content h3,
  .why-point-content h4 {
    font-size: 15px;
  }

  .why-point-content p {
    font-size: 14px;
  }

  .why-desc,
  .why-text p {
    font-size: 15px;
  }

  /* ===== SERVICES ===== */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card > p {
    font-size: 14px;
  }

  .service-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* ===== TARIFS ===== */
  .tarif-hero-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .tarif-sub {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding: 12px 16px;
  }

  .tarif-sub-price em {
    font-size: 22px;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tarifs-grid .tarif-card:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .tarif-card {
    padding: 24px 20px;
  }

  .tarif-card h3 {
    font-size: 20px;
  }

  .tarif-card > p {
    font-size: 14px;
  }

  .tarifs-cta {
    margin-top: 32px;
  }

  .tarifs-cta .btn-primary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* ===== GALERIE ===== */
  .galerie-item {
    flex: 0 0 280px;
    height: 360px;
    border-radius: 10px;
  }
  .galerie-featured {
    flex: 0 0 380px;
  }
  .galerie-item::after {
    border-radius: 0 0 10px 10px;
  }
  .galerie-video::before {
    border-radius: 10px;
  }

  .galerie-carousel::before,
  .galerie-carousel::after {
    width: 40px;
  }

  .galerie-nav {
    width: 40px;
    height: 40px;
  }
  .galerie-nav-prev { left: 6px; }
  .galerie-nav-next { right: 6px; }

  .galerie-filters {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
  }

  .galerie-filter {
    padding: 10px 18px;
    font-size: 11px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
  }

  .galerie-item-overlay {
    padding: 16px;
  }

  .galerie-item-title {
    font-size: 14px;
  }

  .galerie-count {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .galerie-play-btn svg {
    width: 40px;
    height: 40px;
  }

  /* ===== AVIS ===== */
  .avis-grid {
    grid-template-columns: 1fr;
  }

  .avis-card {
    flex: 0 0 100%;
    padding: 24px 20px;
  }

  .avis-nav-prev { left: 4px; }
  .avis-nav-next { right: 4px; }

  .avis-nav {
    min-width: 44px;
    min-height: 44px;
  }

  .avis-summary {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 20px;
  }

  .avis-summary-score {
    flex-direction: column;
  }

  .avis-summary-number {
    font-size: 38px;
  }

  .avis-summary-badge {
    min-height: 44px;
    padding: 12px 20px;
  }

  .avis-cta {
    flex-direction: column;
    gap: 10px;
  }

  .avis-cta .btn-outline {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* ===== SOCIAL ===== */
  .social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .social-link,
  .social-card {
    padding: 24px 16px;
    min-width: 0;
  }

  .social-card svg,
  .social-card i {
    width: 32px;
    height: 32px;
  }

  .social-name {
    font-size: 11px;
  }

  .social-handle {
    font-size: 12px;
  }

  /* ===== CONTACT ===== */
  .contact-social-row {
    gap: 10px;
    margin-bottom: 28px;
  }
  .contact-social-link {
    padding: 10px 18px;
    font-size: 11px;
    min-height: 44px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-block {
    padding: 20px 16px;
  }

  .contact-block-icon {
    min-width: 44px;
    min-height: 44px;
  }

  .contact-block-content h4 {
    font-size: 15px;
  }

  .contact-block-content p {
    font-size: 14px;
  }

  .contact-map iframe {
    min-height: 260px;
  }

  .contact-directions {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 40px 0 0;
  }

  .footer-col-nav {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-col-brand {
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
    font-size: 12px;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-social-icons a {
    width: 44px;
    height: 44px;
  }

  .footer-col h4 {
    font-size: 11px;
  }

  .footer-contact-item {
    justify-content: center;
    font-size: 12px;
  }

  .footer-reviews {
    align-self: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 0;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Devis form — stack on mobile */
  .devis-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .devis-form-row {
    grid-template-columns: 1fr;
  }

  /* WhatsApp float — slightly smaller on mobile */
  .wa-float {
    bottom: 20px;
    right: 20px;
  }
}


/* --------------------------------------------------------------------------
   19. Responsive — 480px (Small mobile)
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {

  :root {
    --gap: 14px;
  }

  /* ===== SECTION SPACING — reduce empty scrolling ===== */
  .section-padding {
    padding: 48px 0;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  /* ===== HERO ===== */
  .hero {
    padding: calc(var(--nav-h) + 16px) 0 24px;
  }

  .hero-eyebrow-text {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .hero-title-bold,
  .hero-title-outline {
    font-size: clamp(24px, 8vw, 36px);
  }

  .hero-title-italic {
    font-size: clamp(22px, 7.5vw, 34px);
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-stat-value {
    font-size: 17px;
  }

  .hero-stat-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  /* Buttons — proper touch targets */
  .btn-primary,
  .btn-secondary {
    padding: 14px 20px;
    font-size: 12px;
    letter-spacing: 1.5px;
    min-height: 48px;
  }

  .btn-outline {
    padding: 14px 20px;
    font-size: 12px;
    min-height: 48px;
  }

  .btn-whatsapp {
    padding: 14px 20px;
    font-size: 12px;
    min-height: 48px;
  }

  /* ===== MARQUEE ===== */
  .marquee {
    padding: 20px 0;
  }

  .marquee-item img,
  .marquee-item svg,
  .marquee-track > img {
    height: 20px;
  }

  .marquee-track {
    gap: 28px;
  }

  .marquee-fade-left,
  .marquee-fade-right {
    width: 60px;
  }

  /* ===== SIMULATOR ===== */
  .sim-brands-grid,
  .sim-brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .sim-brand-card {
    padding: 12px 6px;
    gap: 6px;
  }

  .sim-brand-card img,
  .sim-brand-card svg {
    width: 28px;
    height: 28px;
  }

  .sim-brand-name,
  .sim-brand-card .brand-text {
    font-size: 11px;
  }

  .sim-model-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sim-model-card {
    padding: 12px 8px;
  }

  .sim-model-card img {
    height: 60px;
  }

  .sim-model-card span {
    font-size: 11px;
  }

  .sim-search {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 14px 16px;
  }

  .sim-config-brand,
  .sim-config-cell {
    padding: 14px;
  }

  .sim-config-label {
    font-size: 11px;
  }

  .sim-config-value {
    font-size: 14px;
  }

  .sim-config-cell select {
    font-size: 16px; /* prevents iOS zoom */
  }

  /* Result area */
  .sim-result-hero {
    padding: 20px 14px;
  }

  .sim-result-hero-image img {
    max-width: 240px;
  }

  .sim-result-headline {
    font-size: 16px;
  }

  .sim-result-desc {
    font-size: 13px;
  }

  .sim-result-name {
    font-size: 12px;
  }

  /* Stage rows */
  .sim-stage-row {
    padding: 14px 12px;
  }

  .sim-stage-row-name {
    font-size: 15px;
  }

  .sim-stage-row-power,
  .sim-stage-row-torque {
    padding-left: 40px;
    font-size: 13px;
  }

  .sim-stage-row-cta {
    margin-left: 40px;
    font-size: 12px;
    padding: 10px 16px;
  }

  /* Gauges */
  .sim-gauge-canvas {
    width: 200px;
    height: 140px;
  }

  .sim-gauge-value {
    font-size: 24px;
  }

  .sim-gauge-stats {
    gap: 8px;
  }

  .sim-gauge-stat-val,
  .sim-gauge-stat-value {
    font-size: 14px;
  }

  .sim-gauge-stat-label {
    font-size: 11px;
  }

  /* Charts */
  .sim-chart-wrap {
    height: 200px;
  }

  .sim-dyno-wrap {
    height: 180px;
  }

  /* ===== WHY SECTION ===== */
  .why-point {
    padding: 16px;
    gap: 14px;
  }

  .why-point-icon {
    width: 40px;
    height: 40px;
  }

  .why-point-content h3,
  .why-point-content h4 {
    font-size: 14px;
  }

  .why-point-content p {
    font-size: 13px;
  }

  .why-desc,
  .why-text p {
    font-size: 14px;
  }

  /* ===== SERVICES ===== */
  .service-card {
    padding: 20px 16px;
    gap: 12px;
  }

  .service-number {
    font-size: 24px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card > p {
    font-size: 13px;
  }

  /* ===== TARIFS ===== */
  .tarif-card {
    padding: 20px 16px;
  }

  .tarif-card h3 {
    font-size: 18px;
  }

  .tarif-card > p {
    font-size: 13px;
  }

  .tarif-price {
    font-size: 13px;
  }

  /* ===== GALERIE ===== */
  .galerie-grid {
    gap: 10px;
    padding: 6px 16px 16px;
  }

  .galerie-item {
    flex: 0 0 260px;
    height: 340px;
    border-radius: 10px;
  }
  .galerie-featured {
    flex: 0 0 300px;
  }
  .galerie-item::after {
    border-radius: 0 0 10px 10px;
  }
  .galerie-video::before {
    border-radius: 10px;
  }

  .galerie-carousel::before,
  .galerie-carousel::after {
    width: 24px;
  }

  .galerie-nav {
    display: none;
  }

  .galerie-filters {
    gap: 6px;
    margin-bottom: 20px;
  }

  .galerie-filter {
    padding: 8px 14px;
    font-size: 11px;
    min-height: 44px;
    border-radius: 100px;
  }

  .galerie-item-overlay {
    padding: 14px;
  }

  .galerie-tag {
    font-size: 9px;
    padding: 2px 8px;
    margin-bottom: 4px;
    border-radius: 3px;
  }

  .galerie-item-title {
    font-size: 14px;
  }

  .galerie-item-desc {
    font-size: 10px;
  }

  .galerie-count {
    font-size: 11px;
  }

  .galerie-play-btn svg {
    width: 36px;
    height: 36px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .lightbox-caption {
    font-size: 12px;
    padding: 0 20px;
  }

  /* ===== AVIS ===== */
  .avis-card {
    padding: 20px 16px;
  }

  .avis-name {
    font-size: 14px;
  }

  .avis-text {
    font-size: 14px;
  }

  .avis-summary {
    padding: 20px 16px;
  }

  .avis-summary-number {
    font-size: 34px;
  }

  .avis-summary-count {
    font-size: 13px;
  }

  /* ===== SOCIAL ===== */
  .social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .social-link,
  .social-card {
    padding: 20px 12px;
    gap: 10px;
  }

  .social-card svg,
  .social-card i {
    width: 28px;
    height: 28px;
  }

  .social-name {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .social-handle {
    font-size: 12px;
  }

  /* ===== CONTACT ===== */
  .contact-social-row {
    gap: 8px;
    margin-bottom: 24px;
  }
  .contact-social-link {
    padding: 10px 14px;
    font-size: 10px;
    gap: 8px;
  }
  .contact-social-link span {
    display: none;
  }
  .contact-social-link svg,
  .contact-social-link i {
    font-size: 20px;
  }

  .contact-block {
    padding: 16px 14px;
  }

  .contact-block-content h4 {
    font-size: 14px;
  }

  .contact-block-content p {
    font-size: 13px;
  }

  .contact-map iframe {
    min-height: 220px;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .footer-logo {
    max-height: 42px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-reviews {
    font-size: 12px;
  }

  .footer-bottom p,
  .footer-copyright {
    font-size: 12px;
  }

  .footer-legal a {
    font-size: 12px;
  }

  /* ===== WHATSAPP FLOAT ===== */
  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }

  .wa-float-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .wa-float-label {
    display: none;
  }

  /* ===== COOKIE BANNER ===== */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
    gap: 12px;
  }

  /* ===== LIGHTBOX ===== */
  .lightbox-nav {
    display: none;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  /* ===== LOADER ===== */
  .loader-logo {
    font-size: 22px;
    letter-spacing: 4px;
  }
}


/* --------------------------------------------------------------------------
   20. Accessibility
   -------------------------------------------------------------------------- */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none;
  }

  .loader {
    display: none;
  }

  .hero-title-row > *,
  .hero-title-line {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--bg-page);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 10001;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 8px;
}

/* Visually hidden (screen-reader only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   21. Scrollbar
   -------------------------------------------------------------------------- */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C8A960, #8a6d30);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #D4BC7C, #C8A960);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #C8A960 #0a0a0c;
}


/* --------------------------------------------------------------------------
   22. Print
   -------------------------------------------------------------------------- */

@media print {
  .nav,
  .loader,
  .wa-float,
  .lightbox,
  .marquee {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .section-padding {
    padding: 40px 0;
  }
}
