@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --red:       #c1121f;
  --red-hover: #9b0d18;
  --dark:      #0d0d0d;
  --dark-2:    #1a1a1a;
  --dark-3:    #2a2a2a;
  --white:     #ffffff;
  --off-white: #f8f8f8;
  --gray-light:#f0f0f0;
  --gray:      #6c757d;
  --text:      #1e1e1e;
  --heading:   #1e1e1e;
  --border:    #e0e0e0;

  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Inter', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --shadow-md: 0 8px 40px rgba(0,0,0,.16);
  --transition: all .24s ease;

  --max-w: 1200px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; background: #0d0d0d; }
body { overflow-x: hidden; }

body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section.bg-dark  { background: var(--dark-2); color: var(--white); }
.section.bg-light { background: var(--off-white); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}
.bg-dark .section-header p { color: #aaa; }
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(193,18,31,.4);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193,18,31,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled {
  box-shadow: 0 2px 40px rgba(0,0,0,.55);
  background: rgba(12,12,12,.97);
}
/* Safe area for iOS notch/dynamic island */
.header {
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.logo span { color: var(--red); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
  transition: color .2s ease;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: var(--white); }

/* Underline animée depuis le centre */
.nav > a::after,
.nav-has-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav > a:hover::after,
.nav > a.active::after,
.nav-has-dropdown:hover > a::after,
.nav-has-dropdown > a.active::after { width: 100%; }
.nav > a.active,
.nav-has-dropdown > a.active { color: rgba(255,255,255,.95); }

.logo:hover { opacity: .8; transition: opacity .2s; }

/* Dropdown nav (Médias / Media …) */
.nav-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
/* Pont invisible qui comble le gap entre trigger et dropdown */
.nav-has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 18px;
}
.nav-chevron {
  display: inline-block;
  margin-left: 4px;
  font-size: .55rem;
  vertical-align: middle;
  transition: transform .2s ease;
}
.nav-has-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--red);
  border-radius: 0 0 10px 10px;
  padding: 6px 0;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  box-shadow: 0 20px 48px rgba(0,0,0,.7);
}
.nav-has-dropdown:hover .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-submenu a {
  display: block;
  padding: 11px 20px;
  font-size: .72rem;
  color: rgba(255,255,255,.52);
  letter-spacing: .6px;
  white-space: nowrap;
  transition: color .15s, background .15s, padding-left .15s;
  position: static;
}
.nav-submenu a::after { display: none !important; }
.nav-submenu a.active { color: #fff; font-weight: 600; }
.nav-submenu a:hover {
  color: #fff;
  background: rgba(193,18,31,.12);
  padding-left: 28px;
}

/* ============================================================
   FEATURE STRIP (page 4x4 — sous le hero)
   ============================================================ */
.feature-strip {
  background: #111;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.feature-item:last-child { border-right: none; }
.feature-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 1px;
  filter: saturate(0.8);
}
.feature-item-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.feature-item-text span {
  font-size: .74rem;
  color: rgba(255,255,255,.4);
  line-height: 1.55;
}

/* ============================================================
   RALLYES FEATURED (page 4x4)
   ============================================================ */
.rallyes-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.rallye-featured {
  background: linear-gradient(145deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 30px 26px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, background .25s;
}
.rallye-featured:hover {
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.03) 100%);
}
.rallye-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  opacity: .85;
}
.rallye-featured-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.rallye-featured-icon { font-size: 2.2rem; }
.rallye-featured-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}
.rallye-featured-title span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--red);
}
.rallye-featured-quote {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0 0 18px;
}
.rallye-featured-avera {
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 0;
}
.rallye-featured-avera strong { color: var(--red); font-weight: 600; }

/* "Et aussi" pill tags */
.events-also { text-align: center; }
.events-also-title {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 16px;
}
.events-also-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.events-also-tag {
  padding: 7px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .2px;
}

/* CTA pulse */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,18,31,.5), 0 4px 16px rgba(193,18,31,.3); }
  60% { box-shadow: 0 0 0 10px rgba(193,18,31,0), 0 4px 16px rgba(193,18,31,.08); }
}
.header .btn-primary { animation: cta-pulse 3s ease-in-out infinite; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}
.current-lang {
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  user-select: none;
}
.current-lang::after {
  content: '▾';
  font-size: .7rem;
  opacity: .7;
}
.current-lang:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 1001;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
}
.lang-dropdown a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.lang-dropdown a.active { color: var(--red); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.84;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(193,18,31,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(193,18,31,.10) 0%, transparent 50%),
    linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(193,18,31,.15);
  border: 1px solid rgba(193,18,31,.4);
  color: #ff6b6b;
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: .5rem; }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--red); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat strong {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
  font-family: var(--font-h);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 480px));
  gap: 32px;
  justify-content: center;
}

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.product-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), var(--shadow);
}

.product-img {
  width: 100%;
  height: 220px;
  background: #f0f0f0 url('../assets/img/avera1-angle1.png') center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 50%, rgba(232,232,232,.6) 100%);
}
.product-img .product-icon {
  display: none;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}
.product-badge.discontinued {
  background: var(--gray);
}

.product-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.3px;
}
.product-tagline {
  font-size: .9rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.product-price {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.product-price .currency { font-size: 1.1rem; font-weight: 700; }
.product-price .suffix { font-size: .85rem; font-weight: 600; color: var(--gray); }

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: #444;
  line-height: 1.4;
}
.product-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-footer .btn { flex: 1; justify-content: center; }

/* ============================================================
   WHY WAYTEC
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.why-item {
  text-align: center;
}
.why-icon {
  width: 64px;
  height: 64px;
  background: rgba(193,18,31,.15);
  border: 1px solid rgba(193,18,31,.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-item p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.stars {
  color: #f4a261;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: .95rem;
  line-height: 1.65;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, #e63946 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: .9rem;
  color: var(--white);
  flex-shrink: 0;
}
.review-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: .9rem;
}
.review-location {
  font-size: .8rem;
  color: var(--gray);
}

/* ============================================================
   VIDEOS
   ============================================================ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-2);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}
.video-placeholder {
  text-align: center;
  color: rgba(255,255,255,.4);
  padding: 40px;
}
.video-placeholder .play-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}
.video-placeholder p {
  font-size: .85rem;
  font-family: var(--font-h);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   DOWNLOADS
   ============================================================ */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}
.download-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  color: var(--red);
}
.download-soon {
  opacity: .45;
  cursor: default;
  pointer-events: none;
}
.download-soon .download-info span { font-style: italic; }
.download-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.download-info strong {
  display: block;
  font-family: var(--font-h);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.download-info span {
  font-size: .8rem;
  color: var(--gray);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info p {
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.contact-detail .icon { font-size: 1.2rem; }

.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-b);
  font-size: .95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: var(--dark-3); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(193,18,31,.2);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { display: block; margin-bottom: 16px; font-size: 1.3rem; }
.footer-brand p {
  font-size: .9rem;
  line-height: 1.65;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-lang {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.footer-lang a {
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: 4px;
}
.footer-lang a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.footer-lang a.active { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   PACKS & ACCESSOIRES
   ============================================================ */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.pack-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pack-card.popular {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), var(--shadow);
}

.pack-header {
  background: linear-gradient(135deg, #12122a 0%, #1e1e38 100%);
  padding: 22px 24px 18px;
}
.pack-badge {
  display: inline-block;
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(193,18,31,.2);
  border: 1px solid rgba(193,18,31,.4);
  color: #ff8888;
  margin-bottom: 10px;
}
.pack-badge.pop {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.pack-badge.vhrs {
  background: rgba(59,130,246,.15);
  border-color: rgba(59,130,246,.4);
  color: #93c5fd;
}
.pack-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.pack-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.45;
}
.pack-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pack-includes {
  flex: 1;
  margin-bottom: 20px;
}
.pack-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: #444;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-light);
  line-height: 1.4;
}
.pack-includes li:last-child { border-bottom: none; }
.pack-includes li::before {
  content: '✓';
  color: var(--red);
  font-weight: 800;
  font-size: .82rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.pack-main {
  font-family: var(--font-h);
  font-weight: 700;
}
.pack-price {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.pack-price .pack-price-suffix {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0;
  vertical-align: middle;
}
.pack-body .btn {
  width: 100%;
  justify-content: center;
}

.carte-intro {
  text-align: center;
  padding: 52px 0 40px;
  border-top: 1px solid var(--border);
}
.carte-intro h3 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.carte-intro p {
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
  font-size: .95rem;
}

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.accessory-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.accessory-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.accessory-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(193,18,31,.06);
  border: 1px solid rgba(193,18,31,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}
.accessory-img svg { width: 42px; height: 42px; }
.accessory-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.accessory-card h4 {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.accessory-card p {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 12px;
  flex: 1;
}
.accessory-price {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 10px;
}
.btn-link {
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--transition);
  margin-top: auto;
}
.btn-link:hover { color: var(--red-hover); }

.carte-cta {
  background: rgba(193,18,31,.05);
  border: 1px solid rgba(193,18,31,.16);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  font-size: .95rem;
  color: #444;
  line-height: 1.6;
}
.carte-cta a { color: var(--red); font-weight: 700; }
.carte-cta a:hover { color: var(--red-hover); }

/* ============================================================
   PACK CONFIGURATOR
   ============================================================ */

.config-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.config-group {
  margin-bottom: 22px;
}

.config-group-title {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
  padding-left: 4px;
}

.config-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid #e8e8ec;
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
  user-select: none;
}

.config-item:hover {
  border-color: rgba(193,18,31,.35);
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
}

.config-item.active {
  border-color: var(--red);
  background: rgba(193,18,31,.025);
  box-shadow: 0 0 0 1px rgba(193,18,31,.18), 0 4px 16px rgba(193,18,31,.07);
}

.config-item.config-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.config-item input[type="checkbox"] { display: none; }

.config-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f3f6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Photo thumbnail */
.config-thumb-photo { background: #fff; }
.config-thumb-photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 3px;
}
.img-avera-fix { transform: rotate(-1.5deg) scale(1.05); }

/* Expand button */
.thumb-expand {
  position: absolute; bottom: 2px; right: 2px;
  width: 18px; height: 18px;
  background: rgba(0,0,0,.55); border: none; border-radius: 3px;
  color: #fff; font-size: .55rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s;
  z-index: 2; padding: 0; line-height: 1;
}
.config-thumb:hover .thumb-expand,
.config-item.active .thumb-expand { opacity: .85; }
.thumb-expand:hover { opacity: 1 !important; background: rgba(193,18,31,.8); }

/* Lightbox */
#imgLightbox {
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
#imgLightbox.active { opacity: 1; pointer-events: all; }
.lb-img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  object-fit: contain;
}
.lb-close {
  position: absolute; top: 18px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lb-close:hover { background: rgba(193,18,31,.6); border-color: transparent; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  z-index: 1;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(193,18,31,.6); border-color: transparent; }
.lb-counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55); font-size: .75rem; font-weight: 600;
  letter-spacing: .5px; white-space: nowrap; pointer-events: none;
}
.gallery-more-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.52);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 2rem; font-weight: 900;
  color: #fff; letter-spacing: -1px;
  transition: background .2s; pointer-events: none;
}
.gallery-item:hover .gallery-more-overlay { background: rgba(193,18,31,.55); }

.config-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.config-thumb svg {
  width: 32px;
  height: 32px;
}

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

.config-info strong {
  display: block;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.config-info span {
  font-size: .73rem;
  color: #888;
  line-height: 1.3;
}

.config-tag {
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 800;
  color: #bbb;
  white-space: nowrap;
  margin-right: 8px;
  transition: color .2s;
  flex-shrink: 0;
}

.config-item.active .config-tag { color: var(--red); }

.config-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d8d8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 900;
  color: transparent;
  flex-shrink: 0;
  transition: all .18s ease;
}

.config-item.active .config-check {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.config-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-right: 4px;
}

.config-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: border-color .15s, color .15s, background .15s;
  padding: 0;
  flex-shrink: 0;
}

.config-qty-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(193,18,31,.05);
}

.config-item.active .config-qty-btn {
  border-color: rgba(193,18,31,.45);
  color: var(--red);
}

.config-qty-val {
  font-family: var(--font-h);
  font-size: .88rem;
  font-weight: 800;
  color: #aaa;
  min-width: 14px;
  text-align: center;
  transition: color .15s;
}

.config-item.active .config-qty-val { color: var(--red); }

.config-coming-soon {
  display: inline-block;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #999;
  background: #efefef;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 5px;
  vertical-align: middle;
}

/* --- Summary Panel --- */
.config-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.config-panel-inner {
  background: linear-gradient(150deg, #0d0d22 0%, #191930 100%);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.config-panel-inner h3 {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.38);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.config-list {
  list-style: none;
  min-height: 72px;
  margin-bottom: 14px;
}

.config-list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  animation: cfgIn .16s ease;
}

@keyframes cfgIn {
  from { opacity: 0; transform: translateX(-5px); }
  to   { opacity: 1; transform: translateX(0); }
}

.config-list-item .li-price {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.config-empty-msg {
  font-size: .76rem;
  color: rgba(255,255,255,.22);
  text-align: center;
  padding: 18px 0;
  font-style: italic;
}

.config-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.config-total-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: rgba(255,255,255,.4);
}

.config-total-amount {
  font-family: var(--font-h);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -.5px;
  transition: transform .1s ease;
}

.config-total-amount.bump {
  transform: scale(1.08);
}

.config-panel-note {
  font-size: .66rem;
  color: rgba(255,255,255,.22);
  text-align: right;
  margin-bottom: 18px;
}

.config-cta {
  width: 100%;
  justify-content: center;
  animation: none !important;
}

@media (max-width: 940px) {
  .config-layout { grid-template-columns: 1fr; }

  /* Fixed bar anchored at the bottom — always visible while scrolling */
  .config-panel {
    position: fixed;
    top: auto;
    bottom: 0; left: 0; right: 0;
    z-index: 490;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(90deg, #0d0d22 0%, #191930 100%);
    border-top: 2px solid var(--red);
    box-shadow: 0 -8px 32px rgba(0,0,0,.5);
  }
  .config-panel-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .config-panel-inner h3 { display: none; }
  .config-list            { display: none; }
  .config-panel-note      { display: none; }
  .config-total-row {
    flex-direction: column;
    align-items: flex-start;
    border: none;
    padding: 0;
    gap: 0;
    flex: 1;
  }
  .config-total-label   { font-size: .6rem; letter-spacing: .4px; }
  .config-total-amount  { font-size: 1.35rem; }
  .config-cta           { width: auto; white-space: nowrap; animation: none !important; }
}

/* Bottom-bar clearance so content is not hidden behind the fixed panel */
@media (max-width: 940px) {
  #packs { padding-bottom: 90px; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.section-how {
  padding: 72px 0 64px;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 0 16px;
  align-items: center;
  margin: 52px 0 48px;
}

.how-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 30px 26px;
  min-width: 0;
}

.how-step-num {
  font-family: var(--font-h);
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(193,18,31,.22);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -2px;
}

.how-step-icon {
  width: 48px;
  height: 48px;
  background: rgba(193,18,31,.14);
  border: 1px solid rgba(193,18,31,.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.how-step-icon svg { width: 26px; height: 26px; }

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.how-step p {
  font-size: .85rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin: 0;
}

.how-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: rgba(193,18,31,.5);
}

.how-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 40px 0 36px;
  }
  .how-arrow { transform: rotate(90deg); font-size: 1.2rem; }
  .how-step { padding: 22px 20px; }
  .how-step-num { font-size: 2.4rem; }
}

/* ============================================================
   GALLERY
   ============================================================ */

.section-gallery { padding: 72px 0 64px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 44px;
}

.gallery-item {
  display: block;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.06);
  padding: 0;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4/3;
  transition: transform .2s, box-shadow .2s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 24px 12px 10px;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 680px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav { gap: 16px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    z-index: 999;
  }
  .nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .3s ease, visibility 0s;
  }
  .nav > a,
  .nav-has-dropdown > a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .9rem;
  }
  .nav > a:last-child { border-bottom: none; }
  /* Dropdown mobile : toujours visible en accordéon */
  .nav-has-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: none;
    border-left: 2px solid rgba(193,18,31,.5);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-width: unset;
    padding: 2px 0 8px 14px;
  }
  .nav-submenu a {
    padding: 9px 0 !important;
    font-size: .85rem !important;
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
    color: rgba(255,255,255,.45) !important;
  }
  .nav-submenu a:last-child { border-bottom: none !important; }
  .nav-submenu a:hover { padding-left: 0 !important; background: none !important; color: #fff !important; }
  .nav-chevron { display: none; }

  .hamburger { display: flex; }
  .header .btn-primary { display: none; }

  .section { padding: 64px 0; }

  .hero { min-height: auto; align-items: flex-start; }
  .hero .container { padding-top: 32px; padding-bottom: 48px; }
  .hero h1 { font-size: 2.2rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .hero h1 { letter-spacing: -.5px; }
  .hero-stats { gap: 28px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .packs-grid { grid-template-columns: 1fr; }
  .accessory-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   ACCESSOIRES PAGE
   ══════════════════════════════════════════════════ */

/* Product showcase — two-column layout */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}
.product-showcase.reverse .product-imgs { order: 2; }
.product-showcase.reverse .product-info { order: 1; }

.product-imgs { display: flex; flex-direction: column; gap: 14px; }
.product-main-img {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.product-main-img img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  padding: 24px;
}
.product-thumb-row { display: flex; gap: 10px; }
.product-thumb {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb:hover,
.product-thumb.active { border-color: var(--red); }
.product-thumb img { width: 100%; height: 80px; object-fit: contain; padding: 8px; }

/* Product info */
.product-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(193,18,31,.07);
  border: 1px solid rgba(193,18,31,.18);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.product-info h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.2;
}
.product-info .product-tagline {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
}
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.product-spec {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.product-spec strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 3px;
}
.product-spec span { font-size: .75rem; color: var(--gray); }

/* Variant selector */
.variant-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 10px;
}
.variant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.variant-tab {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.variant-tab:hover { border-color: var(--red); color: var(--red); }
.variant-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.variant-details { margin-bottom: 24px; }
.variant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.variant-row:last-child { border-bottom: none; }
.variant-row-label { font-size: .88rem; color: var(--gray); }
.variant-row-val { font-size: .88rem; font-weight: 600; color: var(--heading); }
.variant-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.variant-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  font-family: var(--font-h);
}
.variant-price-note { font-size: .82rem; color: var(--gray); }

/* Coming soon section */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.coming-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  background: var(--white);
  opacity: .7;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.coming-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--gray);
}
.coming-card-icon { font-size: 2.4rem; }
.coming-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--heading); }
.coming-card p { font-size: .85rem; color: var(--gray); line-height: 1.6; flex: 1; }
.coming-card .btn { margin-top: auto; align-self: flex-start; opacity: 1; }

/* Responsive */
@media (max-width: 860px) {
  .product-showcase { grid-template-columns: 1fr; gap: 32px; }
  .product-showcase.reverse .product-imgs { order: 0; }
  .product-showcase.reverse .product-info { order: 0; }
  .product-specs { grid-template-columns: 1fr; }
}

/* ── Feature strip & rallyes-featured responsive ── */
@media (max-width: 900px) {
  .feature-strip-inner { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.06); }
  .feature-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.06); }
  .rallyes-featured { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .feature-strip-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; border-top: 1px solid rgba(255,255,255,.06); }
  .feature-item:first-child { border-top: none; }
}

/* ── Discipline split (régularité vs VHRS) ── */
.discipline-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 52px;
}
.discipline-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
  border-top: 3px solid transparent;
}
.discipline-reg  { border-top-color: var(--red); }
.discipline-vhrs { border-top-color: #3b82f6; }
.discipline-label {
  display: inline-block;
  font-size: .62rem;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(193,18,31,.3);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.discipline-label.vhrs { color: #3b82f6; border-color: rgba(59,130,246,.4); }
.discipline-item h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 14px;
}
.discipline-item ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.discipline-item ul li {
  font-size: .88rem;
  color: var(--text);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.discipline-item ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gray);
}
.discipline-note {
  font-size: .78rem;
  color: var(--gray);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .discipline-split { grid-template-columns: 1fr; }
}

/* ── Services page ── */
.service-block {
  padding: 56px 0;
}
.service-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.service-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}
.service-availability {
  display: inline-block;
  font-size: .65rem;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  background: rgba(29,122,85,.1);
  color: #1d7a55;
  border: 1px solid rgba(29,122,85,.3);
}
.service-availability:not(.available) {
  background: rgba(100,100,100,.08);
  color: var(--gray);
  border-color: var(--border);
}
.service-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-tagline {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.65;
}
.service-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.service-detail h4 {
  font-family: var(--font-h);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gray);
}
.service-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.service-price-block { flex: 1; }
.service-price {
  display: block;
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 4px;
}
.service-price-note {
  font-size: .8rem;
  color: var(--gray);
}
.service-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* process steps */
.service-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.service-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 16px;
}
.service-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.service-step h4 {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 8px;
}
.service-step p { font-size: .85rem; color: var(--gray); line-height: 1.6; }
.service-step-arrow {
  font-size: 1.4rem;
  color: var(--border);
  padding-top: 12px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .service-header { flex-direction: column; gap: 12px; }
  .service-body { grid-template-columns: 1fr; gap: 20px; }
  .service-price-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-steps { flex-direction: column; align-items: center; }
  .service-step-arrow { transform: rotate(90deg); padding: 0; }
}

/* ── Custom development section ── */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.dev-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s;
}
.dev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dev-card-icon {
  font-size: 2rem;
  line-height: 1;
}
.dev-card h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.2;
}
.dev-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}
.dev-cta {
  text-align: center;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .dev-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .dev-grid { grid-template-columns: 1fr; }
}
