/* ============================================
   BMW MOTORRAD — MotoChoice "Dark Corridor"
   GSAP-powered cinematic experience
   ============================================ */

:root {
  /* BMW Motorrad official tokens (B52–B53) */
  --bmw-black: #000000;
  --bmw-dark: #1A1A1A;
  --bmw-dark-alt: #0D0D0D;
  --bmw-gray-800: #2B2B2B;
  --bmw-gray-700: #3D3D3D;
  --bmw-gray-600: #5A5A5A;
  --bmw-gray-500: #7A7A7A;
  --bmw-gray-400: #A6A6A6; /* Motorrad Grey 1 */
  --bmw-gray-300: #BFBFBF;
  --bmw-gray-200: #D9D9D9; /* Motorrad Grey 2 */
  --bmw-gray-100: #F2F2F2; /* Motorrad Grey 3 */
  --bmw-white: #FFFFFF;
  --bmw-blue: #0066B1; /* Motorrad print blue (PANTONE 2144 C) */
  --bmw-blue-web: #0062FF; /* Motorrad web/screen highlight blue */
  --bmw-blue-light: #0062FF; /* alias for legacy refs */
  --bmw-success: #0062FF; /* surface success in brand blue */
  --bmw-font: 'Arial Black', Arial, Helvetica, -apple-system, sans-serif;
  --bmw-font-text: Arial, Helvetica, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

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

body {
  font-family: var(--bmw-font-text);
  background: var(--bmw-white);
  color: var(--bmw-black);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   MOTORRAD UTILITIES — signature design elements
   ============================================ */
/* Outline text (signature mix Heavy + Outline on hero pages) */
.mtr-outline {
  -webkit-text-stroke: 1.5px currentColor;
  -webkit-text-fill-color: transparent;
  color: currentColor;
}
/* Brand promise treatment: hairlines above + below */
.brand-promise {
  display: inline-block;
  font-family: var(--bmw-font);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  padding: 8px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
/* Section label with leading hairline (B40+ pattern) */
.mtr-section-label {
  display: block;
  font-family: var(--bmw-font);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  border-top: 1px solid currentColor;
  padding-top: 12px;
  margin-bottom: 16px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bmw-gray-100); }
::-webkit-scrollbar-thumb { background: var(--bmw-gray-300); }

/* ============================================
   GRAIN OVERLAY — Cinematic texture
   ============================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 40px 24px;
}

.screen {
  display: none;
  min-height: 100vh;
}
.screen.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   BRAND SELECTION SCREEN
   ============================================ */
#screen-brand {
  text-align: center;
  background: var(--bmw-black);
  color: var(--bmw-white);
}
.brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
}
.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 6px;
  color: var(--bmw-white);
  margin-bottom: 12px;
  opacity: 0;
}
.brand-subtitle {
  color: var(--bmw-gray-500);
  font-size: 0.9rem;
  margin-bottom: 48px;
  opacity: 0;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  opacity: 0;
}
.brand-card {
  background: var(--bmw-dark-alt);
  border: 1px solid var(--bmw-gray-700);
  border-radius: 0;
  padding: 48px 24px 36px;
  cursor: pointer;
  text-align: center;
  color: var(--bmw-white);
  font-family: var(--bmw-font);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: none;
}
.brand-card .brand-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
}
.brand-card-logo {
  width: auto;
  margin-bottom: 28px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  max-width: 160px;
}
.brand-logo-motorrad { height: 50px; }
.brand-logo-mini { height: 40px; }
.brand-logo-bmw { height: 50px; }
.brand-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: var(--bmw-white);
}
.brand-card-desc {
  font-size: 0.8rem;
  color: var(--bmw-gray-500);
  margin-bottom: 16px;
}
.brand-card-tagline {
  font-size: 0.7rem;
  color: var(--bmw-gray-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
}
.brand-card:hover {
  border-color: var(--bmw-white);
}
.brand-card:hover .brand-card-logo {
  opacity: 1;
}
.brand-card:hover .brand-card-glow {
  opacity: 1;
}

/* ============================================
   WELCOME SCREEN — Motorrad B&W hero, left-aligned
   ============================================ */
#screen-welcome {
  text-align: left;
  background: var(--bmw-black);
  color: var(--bmw-white);
  position: relative;
}
#screen-welcome.screen.active {
  align-items: stretch;
  justify-content: stretch;
}
.welcome-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1100px;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  min-height: 100vh;
}
.welcome-logo {
  width: 220px;
  margin-bottom: 64px;
  opacity: 0;
}
.welcome-section-label {
  color: var(--bmw-gray-400);
  opacity: 0;
  margin-bottom: 24px;
  align-self: stretch;
  max-width: 320px;
}
#welcome-title,
.welcome-title {
  font-family: var(--bmw-font);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  color: var(--bmw-white);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 32px;
}
.welcome-title-fill,
.welcome-title-outline {
  display: block;
}
.welcome-title-outline {
  color: var(--bmw-white);
}
#welcome-title .char {
  display: inline-block;
  opacity: 0;
}
.tagline {
  display: none; /* legacy hidden — replaced by .brand-promise */
}
.subtitle {
  color: var(--bmw-gray-500);
  margin-bottom: 40px;
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0;
}
#screen-welcome .subtitle {
  color: var(--bmw-gray-300);
  max-width: 520px;
  font-size: 1rem;
  margin-bottom: 56px;
}
.welcome-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.welcome-cta .btn-primary { opacity: 1; }
.hint {
  color: var(--bmw-gray-500);
  font-size: 0.7rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  font-weight: 700;
}
.welcome-promise {
  margin-top: auto;
  color: var(--bmw-white);
  opacity: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--bmw-white);
  color: var(--bmw-black);
  border: 2px solid var(--bmw-white);
  padding: 14px 40px;
  font-size: 0.85rem;
  font-weight: 900;
  font-family: var(--bmw-font);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  opacity: 0;
  position: relative;
  overflow: hidden;
}
.btn-primary:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}
.btn-primary .btn-bg {
  position: absolute;
  inset: 0;
  background: var(--bmw-blue-web);
  transform: scaleX(0);
  transform-origin: left;
}
.btn-primary:hover:not(:disabled) {
  background: var(--bmw-blue-web);
  color: var(--bmw-white);
  border-color: var(--bmw-blue-web);
}

.btn-secondary {
  background: transparent;
  color: var(--bmw-gray-400);
  border: 2px solid var(--bmw-gray-600);
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 900;
  font-family: var(--bmw-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-secondary:hover {
  border-color: var(--bmw-blue-web);
  color: var(--bmw-blue-web);
  background: transparent;
}

.btn-link {
  display: inline-block;
  color: var(--bmw-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--bmw-white);
  transition: opacity var(--transition);
}
.btn-link:hover {
  opacity: 0.6;
}

/* ============================================
   QUESTION SCREEN — Dark theme
   ============================================ */
#screen-question {
  background: var(--bmw-black);
  color: var(--bmw-white);
  position: relative;
}
#screen-question .container {
  align-self: flex-start;
  padding-top: 48px;
  position: relative;
  z-index: 1;
}

/* ============================================
   MOTO GALAXY — Horizontal carousel behind questions
   ============================================ */
.moto-galaxy {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
}
.galaxy-strip {
  display: flex;
  gap: 60px;
  align-items: center;
  height: 100%;
  will-change: transform;
}
.galaxy-moto {
  flex-shrink: 0;
  width: 140px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.galaxy-moto img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.25) saturate(0);
  border-radius: 0;
  transition: filter 0.15s ease;
}

/* Progress segments */
.progress-track {
  margin-bottom: 40px;
}
.progress-segments {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.progress-segment {
  flex: 1;
  height: 2px;
  background: var(--bmw-gray-700);
  transition: background 0.4s ease;
}
.progress-segment.filled {
  background: var(--bmw-white);
}
.progress-segment.current {
  background: var(--bmw-gray-400);
}
.progress-text {
  color: var(--bmw-gray-500);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0;
}

/* Question content */
.question-content {
  margin-bottom: 20px;
}
#question-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--bmw-white);
  clip-path: inset(100% 0 0 0);
}
#question-subtitle {
  margin-bottom: 30px;
  color: var(--bmw-gray-400);
}
.multi-hint {
  color: var(--bmw-gray-500);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  opacity: 0;
}

/* ============================================
   OPTION CARDS — Dark glass
   ============================================ */
.options-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 36px;
}
.option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--bmw-dark-alt);
  border: 1px solid var(--bmw-gray-700);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  color: var(--bmw-white);
  font-size: 1rem;
  font-family: var(--bmw-font);
  opacity: 0;
  transition: none;
  position: relative;
  overflow: hidden;
}
.option-card .card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
}
.option-card.selected {
  border-color: var(--bmw-white);
  background: var(--bmw-dark);
  box-shadow: inset 4px 0 0 var(--bmw-white);
}
.option-label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.option-desc {
  color: var(--bmw-gray-400);
  font-size: 0.8rem;
}

/* ============================================
   SLIDER — Dark minimal
   ============================================ */
.slider-wrapper {
  margin-bottom: 36px;
  text-align: center;
  opacity: 0;
}
.slider-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bmw-white);
  margin-bottom: 28px;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.slider {
  width: 100%;
  height: 2px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bmw-gray-700);
  border-radius: 0;
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--bmw-white);
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
}
.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--bmw-white);
  border-radius: 0;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  color: var(--bmw-gray-500);
  font-size: 0.7rem;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
.nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
}
.nav-buttons .btn-primary {
  margin-left: auto;
  background: var(--bmw-white);
  color: var(--bmw-black);
  border-color: var(--bmw-white);
  opacity: 1;
}
.nav-buttons .btn-primary:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#screen-loading {
  text-align: center;
  background: var(--bmw-black);
  color: var(--bmw-white);
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.loading-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 40px;
}
.loading-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: none;
  stroke: var(--bmw-gray-800);
  stroke-width: 1.5;
}
.ring-progress {
  fill: none;
  stroke: var(--bmw-white);
  stroke-width: 2;
  stroke-linecap: square;
}
.loading-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: scanDown 2s linear infinite;
}
@keyframes scanDown {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
#loading-title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0;
}
#screen-loading .subtitle {
  color: var(--bmw-gray-500);
  min-height: 1.4em;
}

/* ============================================
   RESULTS SCREEN — Dark corridor
   ============================================ */
#screen-results {
  background: var(--bmw-dark-alt);
  align-items: flex-start;
}
#screen-results.active {
  align-items: flex-start;
  justify-content: flex-start;
}
.results-container {
  padding-top: 40px;
  padding-bottom: 60px;
}
.results-header {
  text-align: center;
  margin-bottom: 10px;
  opacity: 0;
}
.results-logo {
  width: 140px;
  margin-bottom: 24px;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: var(--bmw-gray-400);
}

/* Persona card */
.persona-card {
  background: var(--bmw-black);
  color: var(--bmw-white);
  border: 1px solid var(--bmw-gray-700);
  border-radius: 0;
  padding: 40px 36px;
  text-align: center;
  margin-bottom: 40px;
  clip-path: inset(0 50% 0 50%);
}
.persona-emoji {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.persona-card h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--bmw-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}
.persona-card p {
  color: var(--bmw-gray-400);
  line-height: 1.7;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   MOTO CARDS — Dark glass
   ============================================ */
.moto-card {
  background: var(--bmw-dark);
  border: 1px solid var(--bmw-gray-700);
  border-radius: 0;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

/* Primary pick */
.moto-card.top-pick {
  border: 2px solid var(--bmw-white);
  margin-bottom: 32px;
}
.moto-card.top-pick .moto-body {
  padding: 32px;
}
.moto-card.top-pick .moto-header h3 {
  font-size: 1.8rem;
}

/* Also-like */
.also-like-title {
  margin-top: 16px;
  margin-bottom: 20px;
  opacity: 0;
}
.moto-card.also-like {
  display: flex;
  flex-direction: row;
}
.moto-card.also-like .moto-image {
  width: 260px;
  flex-shrink: 0;
}
.moto-card.also-like .moto-body {
  padding: 24px;
  flex: 1;
}
.moto-card.also-like .moto-header h3 {
  font-size: 1.2rem;
}
.moto-card.also-like .score-number {
  font-size: 1.5rem;
}

.moto-image {
  width: 100%;
  object-fit: contain;
  display: block;
  background: var(--bmw-white);
}
.moto-body {
  padding: 28px;
}
.badge {
  position: absolute;
  top: 16px;
  right: 0;
  background: var(--bmw-white);
  color: var(--bmw-black);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
  transform-origin: right center;
  transform: scaleX(0);
}
.moto-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.moto-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bmw-white);
}
.match-score {
  text-align: right;
  flex-shrink: 0;
}
.score-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bmw-white);
  font-variant-numeric: tabular-nums;
}
.score-label {
  color: var(--bmw-gray-500);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.moto-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.tag {
  background: var(--bmw-gray-800);
  color: var(--bmw-gray-300);
  padding: 5px 12px;
  border-radius: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  opacity: 0;
}
.tag.new {
  background: transparent;
  color: var(--bmw-blue-light);
  border: 1px solid var(--bmw-blue);
}

.moto-specs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--bmw-gray-700);
  border-bottom: 1px solid var(--bmw-gray-700);
}
.spec {
  font-size: 0.9rem;
  color: var(--bmw-white);
}
.spec strong {
  color: var(--bmw-gray-500);
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 700;
}

.moto-highlights {
  list-style: none;
  margin-bottom: 12px;
}
.moto-highlights li {
  color: var(--bmw-success);
  font-size: 0.85rem;
  padding: 3px 0;
  font-weight: 400;
  opacity: 0;
}
.moto-highlights li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--bmw-success);
  margin-right: 10px;
  vertical-align: middle;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
  margin-top: 40px;
  background: var(--bmw-black);
  border: 1px solid var(--bmw-gray-700);
  padding: 40px 36px;
  opacity: 0;
}
.contact-line {
  width: 60px;
  height: 1px;
  background: var(--bmw-gray-500);
  margin-bottom: 24px;
}
.contact-subtitle {
  color: var(--bmw-gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-group {
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bmw-gray-500);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bmw-gray-700);
  color: var(--bmw-white);
  font-family: var(--bmw-font);
  font-size: 0.95rem;
  padding: 8px 0;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6E73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}
.form-group select option {
  background: var(--bmw-dark);
  color: var(--bmw-white);
}
.form-group textarea {
  resize: vertical;
  min-height: 60px;
}
.form-group textarea::placeholder {
  color: var(--bmw-gray-600);
}
.input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bmw-white);
  transform: scaleX(0);
  transform-origin: left;
}
.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
  transform: scaleX(1);
  transition: transform 0.4s ease;
}

.contact-form .btn-primary {
  margin-top: 8px;
  align-self: flex-start;
  opacity: 1;
}
.contact-form .btn-primary:disabled {
  opacity: 0.3;
}

.contact-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}
.contact-success.visible {
  display: block;
}
.checkmark {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
}
.checkmark circle {
  stroke: var(--bmw-success);
  stroke-width: 2;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}
.checkmark path {
  stroke: var(--bmw-success);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}
#contact-success-text {
  color: var(--bmw-gray-300);
  font-size: 0.95rem;
}

/* ============================================
   RESTART
   ============================================ */
#btn-restart {
  margin-top: 36px;
  display: block;
  width: 100%;
  opacity: 0;
}

/* White flash overlay for loading exit */
.white-flash {
  position: fixed;
  inset: 0;
  background: var(--bmw-white);
  z-index: 100;
  pointer-events: none;
  opacity: 0;
}

/* ============================================
   REVEAL SCREEN — Dramatic moto unveil
   ============================================ */
#screen-reveal {
  background: var(--bmw-black);
  color: var(--bmw-white);
  overflow: hidden;
}
.reveal-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}
.reveal-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
}
.reveal-moto-image {
  width: 100%;
  max-width: 700px;
  margin-bottom: 40px;
  position: relative;
}
.reveal-img-dark,
.reveal-img-color {
  width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
}
.reveal-img-dark {
  filter: brightness(0);
}
.reveal-img-color {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
}
.reveal-content {
  opacity: 0;
}
.reveal-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--bmw-gray-500);
  margin-bottom: 12px;
}
.reveal-moto-name {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--bmw-white);
}
.reveal-score {
  margin-bottom: 48px;
}
.reveal-score-number {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  color: var(--bmw-white);
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.reveal-score-label {
  color: var(--bmw-gray-500);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
#btn-reveal-continue {
  opacity: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  #welcome-title,
  .welcome-title {
    font-size: clamp(2.6rem, 14vw, 4rem);
    letter-spacing: 0;
    line-height: 0.95;
    margin-bottom: 24px;
  }
  .mtr-outline { -webkit-text-stroke: 1px currentColor; }
  .moto-header { flex-direction: column; gap: 8px; }
  .match-score { text-align: left; }
  .moto-specs { grid-template-columns: 1fr 1fr; }
  .container { padding: 24px 16px; }
  .moto-body { padding: 20px; }
  .moto-card.top-pick .moto-body { padding: 24px; }
  .moto-card.also-like { flex-direction: column; }
  .moto-card.also-like .moto-image { width: 100%; }
  .contact-section { padding: 28px 20px; }
  .loading-ring { width: 110px; height: 110px; }
  .loading-percent { font-size: 1.3rem; }
  .galaxy-moto { width: 100px; height: 65px; }
  .moto-galaxy { height: 70px; }
  .reveal-moto-name { font-size: 1.8rem; }
  .reveal-score-number { font-size: 2.8rem; }
  .brand-grid { grid-template-columns: 1fr; gap: 12px; }
  .brand-card { padding: 32px 20px 28px; }
  .brand-title { font-size: 0.9rem; letter-spacing: 3px; }
}

/* ============================================
   LIGHT THEME OVERRIDE — Motorrad clear/white dominant
   White surfaces, black type, blue accents (per Basic Brand Design)
   ============================================ */

/* Surfaces */
#screen-brand,
#screen-welcome,
#screen-question,
#screen-loading,
#screen-reveal,
#screen-results {
  background: var(--bmw-white);
  color: var(--bmw-black);
}

/* Brand selection — light cards */
.brand-title { color: var(--bmw-black); }
.brand-subtitle { color: var(--bmw-gray-500); }
.brand-card {
  background: var(--bmw-white);
  border: 1px solid var(--bmw-gray-200);
  color: var(--bmw-black);
}
.brand-card .brand-card-glow {
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0,98,255,0.07) 0%, transparent 60%);
}
.brand-card-name { color: var(--bmw-black); }
.brand-card-desc { color: var(--bmw-gray-500); }
.brand-card-tagline { color: var(--bmw-gray-600); }
.brand-card:hover { border-color: var(--bmw-black); }

/* Welcome */
#welcome-title,
.welcome-title,
.welcome-title-fill,
.welcome-title-outline { color: var(--bmw-black); }
.welcome-section-label { color: var(--bmw-gray-500); }
#screen-welcome .subtitle { color: var(--bmw-gray-600); }
.welcome-promise { color: var(--bmw-black); }
.hint { color: var(--bmw-gray-500); }

/* Question */
#screen-question { color: var(--bmw-black); }
#question-title { color: var(--bmw-black); }
#question-subtitle { color: var(--bmw-gray-600); }
.multi-hint { color: var(--bmw-gray-500); }
.progress-segment { background: var(--bmw-gray-200); }
.progress-segment.filled { background: var(--bmw-black); }
.progress-segment.current { background: var(--bmw-gray-500); }
.progress-text { color: var(--bmw-gray-500); }

/* Moto galaxy — adapt to light */
.galaxy-moto img { filter: brightness(0.85) saturate(0.4) opacity(0.45); }

/* Option cards — light surface, dark borders */
.option-card {
  background: var(--bmw-white);
  border: 1px solid var(--bmw-gray-300);
  color: var(--bmw-black);
}
.option-card .card-glow {
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0,98,255,0.06) 0%, transparent 60%);
}
.option-card.selected {
  border-color: var(--bmw-black);
  background: var(--bmw-gray-100);
  box-shadow: inset 4px 0 0 var(--bmw-black);
}
.option-desc { color: var(--bmw-gray-600); }

/* Slider — light track, dark thumb */
.slider-value { color: var(--bmw-black); }
.slider { background: var(--bmw-gray-200); }
.slider::-webkit-slider-thumb {
  background: var(--bmw-black);
  box-shadow: 0 0 0 1px var(--bmw-gray-300);
}
.slider::-moz-range-thumb {
  background: var(--bmw-black);
  box-shadow: 0 0 0 1px var(--bmw-gray-300);
}
.slider-labels { color: var(--bmw-gray-500); }

/* Buttons inverted: default black on white, hover blue */
.btn-primary {
  background: var(--bmw-black);
  color: var(--bmw-white);
  border-color: var(--bmw-black);
}
.btn-primary:hover:not(:disabled) {
  background: var(--bmw-blue-web);
  color: var(--bmw-white);
  border-color: var(--bmw-blue-web);
}
.btn-secondary {
  color: var(--bmw-gray-600);
  border-color: var(--bmw-gray-300);
}
.btn-secondary:hover {
  border-color: var(--bmw-blue-web);
  color: var(--bmw-blue-web);
}

/* Nav buttons — primary keeps black on light bg */
.nav-buttons .btn-primary {
  background: var(--bmw-black);
  color: var(--bmw-white);
  border-color: var(--bmw-black);
}

/* Loading ring on light */
.ring-bg { stroke: var(--bmw-gray-200); }
.ring-progress { stroke: var(--bmw-black); }
.loading-percent { color: var(--bmw-black); }
#loading-title { color: var(--bmw-black); }
#screen-loading .subtitle { color: var(--bmw-gray-600); }
.scan-line {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

/* Reveal — black silhouette on white, color reveal via clip-path (original mechanic preserved) */
#screen-reveal { background: var(--bmw-white); }
.reveal-flash {
  background: radial-gradient(circle at center, rgba(0,98,255,0.18) 0%, rgba(0,98,255,0) 60%);
}
.reveal-img-dark { filter: brightness(0); }
.reveal-label { color: var(--bmw-gray-500); }
.reveal-moto-name { color: var(--bmw-black); }
.reveal-score-number { color: var(--bmw-black); }
.reveal-score-label { color: var(--bmw-gray-500); }

/* Results — light page with dark accent persona */
#screen-results {
  background: var(--bmw-gray-100);
  color: var(--bmw-black);
}
.section-label { color: var(--bmw-gray-600); }

/* Persona stays as a dark accent block (one signature dark spot is fine) */
.persona-card {
  background: var(--bmw-black);
  color: var(--bmw-white);
  border: none;
}
.persona-card h3 { color: var(--bmw-white); }
.persona-card p { color: var(--bmw-gray-300); }

/* Moto card — light by default */
.moto-card {
  background: var(--bmw-white);
  color: var(--bmw-black);
  border: 1px solid var(--bmw-gray-200);
}
.moto-card.top-pick {
  border-color: var(--bmw-black);
}
.moto-header h3 { color: var(--bmw-black); }
.score-number { color: var(--bmw-black); }
.score-label { color: var(--bmw-gray-500); }
.moto-image { background: var(--bmw-white); }
.tag {
  background: var(--bmw-gray-100);
  color: var(--bmw-gray-600);
}
.spec { color: var(--bmw-black); }
.spec strong { color: var(--bmw-gray-500); }
.moto-specs {
  border-top: 1px solid var(--bmw-gray-200);
  border-bottom: 1px solid var(--bmw-gray-200);
}

/* Contact form */
.contact-section { color: var(--bmw-black); }
.contact-subtitle { color: var(--bmw-gray-600); }
.form-group label { color: var(--bmw-gray-600); }
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  color: var(--bmw-black);
  border: none;
  border-bottom: 1px solid var(--bmw-gray-300);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--bmw-black);
}
.input-line { background: var(--bmw-gray-300); }

/* Grain overlay — invisible on light theme to keep cleanliness */
.grain-overlay { display: none; }

/* ============================================
   BMW MOTORRAD GLOBAL HEADER + FOOTER
   Inspired by bmw-motorrad.fr — content max-width 1600px
   ============================================ */

:root {
  --bmw-content-max: 1600px;
  --bmw-header-h: 64px;
}

/* HEADER */
.bmw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bmw-header-h);
  background: var(--bmw-white);
  border-bottom: 1px solid var(--bmw-gray-200);
  z-index: 100;
  display: flex;
  align-items: center;
}
.bmw-header-inner {
  width: 100%;
  max-width: var(--bmw-content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bmw-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.bmw-header-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.bmw-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bmw-header-action,
.bmw-header-menu {
  background: transparent;
  border: none;
  color: var(--bmw-black);
  cursor: pointer;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
  font-family: var(--bmw-font);
}
.bmw-header-action:hover,
.bmw-header-menu:hover { color: var(--bmw-blue-web); }

.bmw-header-menu {
  margin-left: 8px;
  padding: 10px 14px;
  gap: 10px;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.bmw-header-menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.bmw-header-menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
}

/* Shift app content below fixed header */
body { padding-top: var(--bmw-header-h); }
.screen { min-height: calc(100vh - var(--bmw-header-h)); }

/* FOOTER */
.bmw-footer {
  background: var(--bmw-white);
  color: var(--bmw-black);
  border-top: 1px solid var(--bmw-gray-200);
  font-family: var(--bmw-font-text);
}
.bmw-footer-inner {
  max-width: var(--bmw-content-max);
  margin: 0 auto;
  padding: 64px 24px 32px;
}

/* Newsletter band */
.bmw-footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bmw-gray-200);
}
.bmw-footer-newsletter-eyebrow {
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--bmw-gray-500);
  margin: 0;
  flex-basis: 100%;
}
.bmw-footer-newsletter-title {
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: var(--bmw-black);
  margin: 0;
  flex: 1 1 320px;
}
.bmw-footer-newsletter-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--bmw-black);
  color: var(--bmw-white);
  text-decoration: none;
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  transition: background var(--transition);
}
.bmw-footer-newsletter-cta:hover { background: var(--bmw-blue-web); }

/* 4-column nav */
.bmw-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--bmw-gray-200);
}
.bmw-footer-col h4 {
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--bmw-black);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.bmw-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bmw-footer-col li { margin-bottom: 10px; }
.bmw-footer-col a {
  color: var(--bmw-gray-600);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}
.bmw-footer-col a:hover { color: var(--bmw-blue-web); }

/* Social */
.bmw-footer-social {
  display: flex;
  gap: 14px;
}
.bmw-footer-social li { margin: 0; }
.bmw-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bmw-gray-300);
  color: var(--bmw-black);
  border-radius: 0;
  transition: all var(--transition);
}
.bmw-footer-social a:hover {
  border-color: var(--bmw-blue-web);
  color: var(--bmw-blue-web);
}

/* Bottom legal band */
.bmw-footer-bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bmw-footer-top {
  align-self: flex-end;
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bmw-black);
  text-decoration: none;
}
.bmw-footer-top:hover { color: var(--bmw-blue-web); }
.bmw-footer-sublegal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.bmw-footer-sublegal a {
  font-size: 0.75rem;
  color: var(--bmw-gray-600);
  text-decoration: none;
}
.bmw-footer-sublegal a:hover { color: var(--bmw-blue-web); }
.bmw-footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--bmw-gray-500);
  font-family: var(--bmw-font);
  font-weight: 900;
  letter-spacing: 1.5px;
}

/* Align all screen .container to 1600px outer grid (keep inner readability) */
.container,
.welcome-container,
.brand-container,
.question-container,
.results-container,
.loading-container,
.reveal-container {
  max-width: var(--bmw-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
/* Forms/quiz keep readable narrow width inside the 1600 frame */
.welcome-container { max-width: 1100px; }
#screen-question .container { max-width: 740px; }
.results-container { max-width: 1100px; }

/* Responsive */
@media (max-width: 900px) {
  .bmw-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bmw-header-action[aria-label="Panier"],
  .bmw-header-action[aria-label="Connexion"] { display: none; }
}
@media (max-width: 600px) {
  .bmw-footer-cols { grid-template-columns: 1fr; }
  .bmw-header-menu-label { display: none; }
  .bmw-header-action[aria-label="Trouver un concessionnaire"] { display: none; }
  .bmw-footer-inner { padding: 40px 16px 24px; }
}

/* Relaxed-criteria notice on results screen */
.relaxed-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--bmw-white);
  border: 1px solid var(--bmw-gray-200);
  border-left: 3px solid var(--bmw-blue-web);
}
.relaxed-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--bmw-blue-web);
  color: var(--bmw-blue-web);
  border-radius: 50%;
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: 0.75rem;
  font-style: italic;
}
.relaxed-notice p {
  margin: 0;
  color: var(--bmw-black);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ============================================
   MOBILE FINE-TUNE — comprehensive small-screen pass
   ============================================ */
@media (max-width: 768px) {
  /* Welcome — tighter vertical rhythm */
  .welcome-container {
    padding-top: 32px;
    padding-bottom: 32px;
    min-height: calc(100vh - var(--bmw-header-h));
  }
  #screen-welcome .subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  .welcome-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 48px;
    width: 100%;
  }
  .welcome-cta .btn-primary { width: 100%; }
  .welcome-section-label { margin-bottom: 16px; }

  /* Question screen padding for fixed header + tighter content */
  #screen-question .container {
    padding-top: 24px;
  }
  #question-title { font-size: 1.25rem; }
  #question-subtitle { font-size: 0.9rem; }

  /* Nav buttons — stack vertically with primary first */
  .nav-buttons {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
  }
  .nav-buttons .btn-primary,
  .nav-buttons .btn-secondary {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Persona card — tighter padding */
  .persona-card { padding: 24px 20px; margin-bottom: 28px; }
  .persona-card h3 { font-size: 0.95rem; letter-spacing: 2px; }

  /* Section labels on results */
  #screen-results .section-label,
  .also-like-title { font-size: 0.7rem; letter-spacing: 2px; }

  /* Reveal — keep image visible above fold on tall mobile */
  .reveal-container { padding: 16px; }
  .reveal-moto-image { max-height: 50vh; }
  .reveal-img-dark, .reveal-img-color { max-height: 50vh; object-fit: contain; }

  /* Slider thumb bigger for touch */
  .slider::-webkit-slider-thumb { width: 28px; height: 28px; }
  .slider::-moz-range-thumb { width: 28px; height: 28px; }
  .slider-value { font-size: 2.2rem; }

  /* Option cards — slightly tighter */
  .option-card { padding: 14px 16px; }
  .option-label { font-size: 0.95rem; }
  .option-desc { font-size: 0.78rem; }
}

/* Very small phones */
@media (max-width: 480px) {
  /* Header compact: keep only logo + MENU on tiny screens */
  .bmw-header-inner { padding: 0 16px; gap: 12px; }
  .bmw-header-logo img { height: 26px; }
  .bmw-header-action[aria-label="Rechercher sur le site"],
  .bmw-header-action[aria-label="Connexion"],
  .bmw-header-action[aria-label="Panier"] { display: none; }
  .bmw-header-menu { padding: 8px 10px; }

  /* Welcome promise sits right under content, not pushed to bottom */
  .welcome-promise { margin-top: 24px; align-self: flex-start; }

  /* Footer */
  .bmw-footer-inner { padding: 32px 16px 20px; }
  .bmw-footer-newsletter { gap: 16px; padding-bottom: 32px; }
  .bmw-footer-newsletter-cta { width: 100%; text-align: center; }
  .bmw-footer-cols { padding: 32px 0; gap: 24px; }

  /* Container padding */
  .container { padding: 20px 16px; }

  /* Scrollable horizontal items inside very small viewports */
  .moto-meta { gap: 4px; }
}

/* ============================================================
   HEADER + FOOTER from motoFromXd (BEM, sticky header)
   Appended last → overrides the legacy .bmw-header/.bmw-footer rules.
   ============================================================ */

/* Neutralize legacy fixed-header offset (new header is sticky, in-flow) */
body { padding-top: 0 !important; }
.screen { min-height: 100vh !important; }

/* ---- HEADER ---- */
.bmw-header {
  position: sticky;
  top: 0;
  left: auto; right: auto;
  z-index: 1000;
  height: auto;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  display: block;
}
.bmw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  height: 72px;
  max-width: 1800px;
  margin: 0 auto;
}
.bmw-header__logo { display: inline-flex; align-items: center; }
.bmw-header__logo svg { height: 28px; width: auto; }
.bmw-header__nav ul { display: flex; gap: clamp(24px, 3vw, 48px); list-style: none; padding: 0; margin: 0; }
.bmw-header__nav a {
  color: #16171A;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; transition: color 0.2s ease;
  text-decoration: none;
}
.bmw-header__nav a:hover { color: var(--bmw-blue); }
.bmw-header__util { display: flex; gap: 16px; align-items: center; }
.bmw-header__util button {
  color: #16171A; padding: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.2s ease;
  background: none; border: none; cursor: pointer;
}
.bmw-header__util button:hover { color: var(--bmw-blue); }
.bmw-header__burger { display: none; }
@media (max-width: 1023px) {
  .bmw-header__nav { display: none; }
  .bmw-header__burger { display: inline-flex; }
}

/* ---- FOOTER ---- */
.bmw-footer {
  position: relative;
  background: #f4f4f4;
  color: #16171A;
  font-family: var(--bmw-font-text);
  border-top: none;
}
.bmw-footer__main {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px) 32px;
  max-width: 1800px; margin: 0 auto;
}
.bmw-footer__col--newsletter { display: flex; flex-direction: column; }
.bmw-footer__title {
  font-size: 15px; font-weight: 700; color: #16171A;
  line-height: 1.45; margin-bottom: 24px;
}
a.bmw-footer__cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  align-self: flex-start;
  height: 56px; padding: 0 28px;
  background: #16171A;
  color: #fff !important;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s ease;
  text-decoration: none;
}
a.bmw-footer__cta-btn:hover { background: #000; }
.bmw-footer__cta-icon { display: inline-flex; }
.bmw-footer__social {
  display: flex; flex-wrap: wrap;
  gap: 28px;
  margin-top: 56px;
}
.bmw-footer__social a {
  display: inline-flex; align-items: center; gap: 10px;
  color: #16171A; font-size: 14px;
  transition: color 0.2s ease;
  text-decoration: none;
}
.bmw-footer__social a:hover { color: var(--bmw-blue); }
.bmw-footer__social svg { flex-shrink: 0; }
.bmw-footer__col { display: flex; flex-direction: column; gap: 22px; }
.bmw-footer__col a {
  color: #16171A;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.2;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s ease;
  text-decoration: none;
}
.bmw-footer__col a:hover { color: var(--bmw-blue); }
.bmw-footer__col span { font-size: 13px; opacity: 0.55; }
.bmw-footer__base {
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: end;
  padding: 24px clamp(20px, 4vw, 56px) 32px;
  max-width: 1800px; margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.bmw-footer__copyright {
  display: inline-block;
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: #16171A;
  margin-bottom: 14px;
}
.bmw-footer__disclaimer {
  max-width: 900px;
  font-size: 12px; line-height: 1.6;
  color: rgba(22,23,26,0.65);
  margin: 0;
}
.bmw-footer__tagline {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  font-weight: 800; font-size: 18px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #16171A;
}
.bmw-footer__tagline-line {
  display: block; width: 100%; height: 2px;
  background: #16171A;
}
.bmw-footer__question {
  position: fixed; right: 0; bottom: 80px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: var(--bmw-blue); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 60;
  transition: background 0.2s ease, transform 0.2s ease;
}
.bmw-footer__question:hover { background: #0055a0; transform: translateX(-2px); }
@media (max-width: 1024px) {
  .bmw-footer__main { grid-template-columns: 1fr 1fr; }
  .bmw-footer__col--newsletter { grid-column: 1 / -1; margin-bottom: 24px; }
}
@media (max-width: 640px) {
  .bmw-footer__main { grid-template-columns: 1fr; gap: 40px; }
  .bmw-footer__col--newsletter { margin-bottom: 8px; }
  .bmw-footer__base { grid-template-columns: 1fr; gap: 20px; }
  .bmw-footer__tagline { align-items: flex-start; }
  .bmw-footer__question { bottom: 16px; padding: 12px 16px; }
}

/* ============================================================
   HEADER v2 — MENU + icons left, BMW Motorrad logo right
   (matches reference screenshot; overrides earlier header rules)
   ============================================================ */
.bmw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  max-width: 1800px;
  margin: 0 auto;
}
.bmw-header__left {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}
.bmw-header__menu {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #16171A;
  font-family: var(--bmw-font-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0;
  transition: color 0.2s ease;
}
.bmw-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #16171A;
  padding: 4px;
  transition: color 0.2s ease;
}
.bmw-header__menu:hover,
.bmw-header__icon:hover { color: var(--bmw-blue); }
.bmw-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: #16171A;
}
.bmw-header__logo img,
.bmw-header__logo svg {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .bmw-header__menu span { display: none; }
  .bmw-header__left { gap: 14px; }
  .bmw-header__icon[aria-label="Panier"],
  .bmw-header__icon[aria-label="Mon compte"] { display: none; }
  .bmw-header__logo img,
  .bmw-header__logo svg { height: 34px; }
}

/* ============================================================
   PER-MODEL CTAs (results cards) — replaces contact form
   ============================================================ */
.moto-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.moto-cta {
  flex: 1 1 auto;
  min-width: 200px;
  padding: 14px 24px;
  font-family: var(--bmw-font);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 2px solid var(--bmw-black);
}
.moto-cta--primary {
  background: var(--bmw-black);
  color: var(--bmw-white);
}
.moto-cta--primary:hover {
  background: var(--bmw-blue-web);
  border-color: var(--bmw-blue-web);
}
.moto-cta--ghost {
  background: transparent;
  color: var(--bmw-black);
}
.moto-cta--ghost:hover {
  background: var(--bmw-blue-web);
  color: var(--bmw-white);
  border-color: var(--bmw-blue-web);
}
.moto-cta--done {
  background: var(--bmw-blue-web) !important;
  color: var(--bmw-white) !important;
  border-color: var(--bmw-blue-web) !important;
  cursor: default;
}
@media (max-width: 600px) {
  .moto-cta { min-width: 100%; }
}
