/* ==========================================================================
   SP RACING TEAM SA — Proposition Nouveau Site WordPress
   Identité Visuelle : Swiss Motorsport, Rally-Raid, Supermotard & Atelier
   ========================================================================== */

:root {
  --bg-dark: #0a0b0e;
  --bg-card: #12151c;
  --bg-card-hover: #181c26;
  --bg-elevated: #1d222e;
  --sp-red: #e3001b;
  --sp-red-hover: #ff1a35;
  --sp-red-glow: rgba(227, 0, 27, 0.35);
  --rally-gold: #f59e0b;
  --rally-gold-soft: rgba(245, 158, 11, 0.15);
  --kove-teal: #00b4d8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --font-display: 'Barlow Condensed', 'Teko', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1340px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* ==========================================================================
   TOP BAR (WordPress Utility Bar)
   ========================================================================== */
.topbar {
  background: #050608;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-item svg {
  color: var(--sp-red);
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: #fff;
}

.swiss-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(227, 0, 27, 0.14);
  border: 1px solid rgba(227, 0, 27, 0.35);
  color: #fff;
  padding: 2px 9px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-title span {
  color: var(--sp-red);
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sp-red);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--sp-red);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Menu Sandwich (Mobile / Tablette) */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle[aria-expanded="true"] {
  background: var(--sp-red);
  border-color: var(--sp-red);
}

.mobile-menu-toggle .burger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.mobile-menu-toggle .burger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .burger-lines span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  background: #0d1016;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-strong);
  padding: 18px 24px 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  background: rgba(227, 0, 27, 0.18);
  border-color: var(--sp-red);
  color: #fff;
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sp-red);
  color: #fff;
  box-shadow: 0 6px 20px var(--sp-red-glow);
}

.btn-primary:hover {
  background: var(--sp-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(227, 0, 27, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #090a0d;
  font-weight: 800;
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.92rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45) contrast(1.12);
  transform: scale(1.03);
  transition: transform 0.8s ease, opacity 0.4s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 14, 0.96) 0%,
    rgba(10, 11, 14, 0.82) 52%,
    rgba(10, 11, 14, 0.35) 100%
  ),
  linear-gradient(180deg, rgba(10,11,14,0.3) 0%, rgba(10,11,14,0.95) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(227, 0, 27, 0.16);
  border-left: 3px solid var(--sp-red);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--sp-red);
}

.hero h1 .gold {
  color: var(--rally-gold);
}

.hero-lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-num span {
  color: var(--sp-red);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Spotlight Card */
.hero-spotlight {
  background: rgba(18, 21, 28, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.spotlight-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.spotlight-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}

.spotlight-tab.active, .spotlight-tab:hover {
  background: var(--sp-red);
  color: #fff;
  border-color: var(--sp-red);
}

.spotlight-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0c0e13;
  margin-bottom: 16px;
}

.spotlight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid var(--rally-gold);
  color: var(--rally-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 6px;
}

.spotlight-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.spotlight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.spotlight-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

/* ==========================================================================
   BRAND RIBBON (5 Official Brands)
   ========================================================================== */
.brand-ribbon {
  background: #0e1117;
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
}

.brand-ribbon-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.brand-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
}

.brand-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  min-height: 92px;
  cursor: pointer;
  transition: var(--transition);
}

.brand-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--sp-red);
  transform: translateY(-3px);
}

.brand-pill-logo {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-pill-logo img {
  max-height: 50px;
  max-width: 165px;
  width: auto;
  object-fit: contain;
}

.brand-pill-logo.light-bg img {
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
}

.brand-pill-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.brand-pill-tag {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background: #0d1016;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sp-red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.04;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1rem;
  margin-top: 10px;
}

/* ==========================================================================
   FEATURED RALLY DUO : KOVE 450 RALLY & KOVE 800X RALLY
   ========================================================================== */
.rally-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.rally-card {
  background: linear-gradient(165deg, #151922 0%, #0d1016 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.rally-card:hover {
  border-color: var(--rally-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.rally-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #08090c;
  overflow: hidden;
}

.rally-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rally-card:hover .rally-card-media img {
  transform: scale(1.05);
}

.rally-thumbs {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.rally-thumb {
  width: 54px;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  background: #000;
}

.rally-thumb.active, .rally-thumb:hover {
  border-color: var(--rally-gold);
}

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

.rally-tag-top {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.badge-rally {
  background: var(--rally-gold);
  color: #090a0d;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 4px;
}

.badge-dark {
  background: rgba(10, 11, 14, 0.88);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 4px;
}

.rally-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rally-card-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 8px;
}

.rally-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.rally-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 22px;
}

.spec-box {
  text-align: center;
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.spec-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.rally-prep-note {
  background: rgba(227, 0, 27, 0.09);
  border-left: 3px solid var(--sp-red);
  padding: 10px 14px;
  font-size: 0.86rem;
  color: #e2e8f0;
  margin-bottom: 22px;
  border-radius: 0 6px 6px 0;
}

.rally-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.price-block .price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.price-block .price-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

/* ==========================================================================
   ATELIER & COMPETENCES (3 Core Pillars: Rally Prep, Vintage Restoration, All-Brand Repair)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--sp-red);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pillar-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-media img {
  transform: scale(1.06);
}

.pillar-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--sp-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.pillar-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 10px;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.pillar-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.pillar-list li::before {
  content: '✓';
  color: var(--sp-red);
  font-weight: 800;
  flex-shrink: 0;
}

.pillar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CATALOGUE MULTIMARQUE INTERACTIF (MONNIER, FANTIC, MORINI, QJ MOTOR, KOVE)
   ========================================================================== */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--sp-red);
  color: #fff;
  border-color: var(--sp-red);
}

.catalog-search {
  position: relative;
  min-width: 270px;
}

.catalog-search input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.catalog-search input:focus {
  outline: none;
  border-color: var(--sp-red);
}

.bikes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.bike-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.bike-card:hover {
  border-color: rgba(227, 0, 27, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.bike-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bike-img-wrap.dark-photo {
  background: #0f131a;
}

.bike-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.bike-card:hover .bike-img-wrap img {
  transform: scale(1.05);
}

.bike-brand-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 11, 14, 0.9);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
}

.bike-cat-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sp-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}

.bike-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bike-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bike-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bike-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.bike-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

/* ==========================================================================
   ANNONCES MOTOSCOUT24 & VEHICULES D'OCCASION BANNER
   ========================================================================== */
.annonces-banner {
  background: linear-gradient(125deg, #1a0609 0%, #12151c 55%, #0d1017 100%);
  border: 1px solid rgba(227, 0, 27, 0.45);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.annonces-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}

.annonce-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.annonce-feat span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(227, 0, 27, 0.2);
  color: var(--sp-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.motoscout-box {
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.motoscout-badge {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.motoscout-iframe-card {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.motoscout-iframe-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: #0d1016;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.motoscout-iframe-stage {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.motoscout-iframe-stage iframe {
  width: 100%;
  min-height: 780px;
  border: 0;
  display: block;
}

.motoscout-hci-setup {
  padding: 36px 28px;
  background: #10131b;
  text-align: center;
  color: var(--text-muted);
}

.motoscout-hci-testbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 680px;
  margin: 18px auto 0;
  flex-wrap: wrap;
}

.motoscout-hci-testbar input {
  flex: 1;
  min-width: 260px;
  background: #090b10;
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

/* ==========================================================================
   VUES ECLATEES (AFFICHAGE & CONSULTATION UNIQUEMENT — SANS WOOCOMMERCE)
   ========================================================================== */
.vues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.vue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
}

.vue-card:hover {
  border-color: var(--sp-red);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.vue-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.vue-card:hover .vue-thumb img {
  transform: scale(1.06);
}

.vue-zoom-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 11, 14, 0.86);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.vue-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vue-cat {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-red);
  font-weight: 700;
  margin-bottom: 4px;
}

.vue-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.vue-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.vue-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  gap: 8px;
}

.exploded-views-bar {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Visionneuse Plein Écran (Lightbox) pour les Vues Éclatées + Liste Numérotée des Pièces */
.vue-lightbox-content {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 1280px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8);
}

.vue-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  background: #0d1016;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.vue-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vue-zoom-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.vue-zoom-btn:hover {
  background: var(--sp-red);
  border-color: var(--sp-red);
}

.vue-lightbox-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.vue-lightbox-stage {
  background: #ffffff;
  overflow: auto;
  min-height: 400px;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.vue-lightbox-stage img {
  max-width: 100%;
  max-height: 64vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.vue-parts-panel {
  background: #0f1219;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.vue-parts-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: #141822;
}

.vue-parts-header input {
  width: 100%;
  margin-top: 8px;
  background: #0a0c10;
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.vue-parts-list {
  overflow-y: auto;
  flex: 1;
  padding: 8px 12px;
}

.vue-part-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

.vue-part-row:hover {
  background: rgba(227, 0, 27, 0.1);
}

.vue-part-num {
  min-width: 30px;
  height: 26px;
  border-radius: 4px;
  background: var(--sp-red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vue-part-name {
  flex: 1;
  color: #e2e8f0;
  line-height: 1.3;
}

.vue-part-price {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--rally-gold);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 4px;
}

.vue-part-ask {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.vue-part-ask:hover {
  background: var(--sp-red);
  border-color: var(--sp-red);
}

.sp-parts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sp-parts-table th,
.sp-parts-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.sp-parts-table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.vue-lightbox-footer {
  padding: 13px 22px;
  background: #0d1016;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .vue-lightbox-body,
  .single-vue-layout {
    grid-template-columns: 1fr !important;
    overflow-y: auto;
  }
  .vue-lightbox-stage {
    min-height: 260px;
    max-height: 40vh;
  }
  .vue-parts-panel {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    max-height: 36vh;
  }
}

/* ==========================================================================
   HISTORIQUE (TIMELINE 1990 - AUJOURD'HUI) & EQUIPE
   ========================================================================== */
.history-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.timeline {
  position: relative;
  border-left: 2px solid rgba(227, 0, 27, 0.45);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sp-red);
  box-shadow: 0 0 0 4px rgba(227, 0, 27, 0.25);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sp-red);
  line-height: 1;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.history-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.history-photo-card img {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
}

.history-photo-caption {
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.team-block {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.team-member {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  border-color: var(--sp-red);
  transform: translateY(-3px);
}

.team-member img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 2px solid var(--sp-red);
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 2px solid var(--sp-red);
  background: linear-gradient(135deg, #1e2330 0%, #0d1016 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.team-member h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.team-member span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ATELIER BOOKING / DEVIS INTERACTIF & CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(227, 0, 27, 0.14);
  color: var(--sp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-embed-wrap {
  margin: 18px 0 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0d1016;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.service-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.service-opt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.service-opt.active, .service-opt:hover {
  background: rgba(227, 0, 27, 0.18);
  border-color: var(--sp-red);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  background: #0a0c10;
  border: 1px solid var(--border-strong);
  color: #fff;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

/* ==========================================================================
   MODAL (FICHE TECHNIQUE MOTO)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(10, 11, 14, 0.85);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-col {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060709;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a:hover {
  color: var(--sp-red);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .rally-showcase-grid,
  .pillars-grid,
  .annonces-banner,
  .history-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .brand-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .vues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .header-actions .btn-annonces-desktop {
    display: none;
  }
  .header-inner {
    height: 70px;
    gap: 10px;
  }
  .brand-logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header-actions .btn {
    padding: 7px 11px;
    font-size: 0.82rem;
  }
  .mobile-drawer-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-highlights,
  .rally-specs-grid,
  .brand-logos-grid,
  .vues-grid,
  .form-grid,
  .service-selector,
  .modal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
