/* ═══════════════════════════════════════════════════════
   musso2026.css — Landing teaser Nouveau Musso MY26
   Scope : .m26-page  (appliqué sur <body> via body_classes)
   Ne PAS importer dans _landing.css — fichier autonome
   ═══════════════════════════════════════════════════════ */

/* ── Variables dark theme ── */
.m26-page {
  --m26-bg:       #0A0A0A;
  --m26-bg-sec:   #050505;
  --m26-card:     #111111;
  --m26-white:    #FFFFFF;
  --m26-body:     #C4C4C4;
  --m26-muted:    #888888;
  --m26-gold:     #C9A84C;
  --m26-border:   rgba(255, 255, 255, 0.08);
  --m26-serif:    'Oswald', sans-serif;
  --m26-sans:     'Inter', sans-serif;
}

/* ── Reset global pour cette page ── */
.m26-page body,
.m26-page #top,
.m26-page #content,
.m26-page {
  background: var(--m26-bg);
  color: var(--m26-body);
  font-family: var(--m26-sans);
}

/* ── Header override dark ── */
/* Remplace le bg-primary-500 (navy) par le noir de la page */
.m26-page .bg-primary-500 {
  background-color: var(--m26-bg) !important;
}
/* Ombre supprimée au scroll — trop claire sur fond noir */
.m26-page .shadow-lg {
  box-shadow: 0 1px 0 0 var(--m26-border) !important;
}
/* La nav desktop a bg-primary-500 + md:bg-transparent.
   Notre !important ci-dessus écrase le md:bg-transparent → bande noire visible.
   On rétablit la transparence sur md+ (le mobile garde son fond sombre, c'est voulu). */
/* nav.bg-primary-500 = spécificité (0,2,1) → bat .m26-page .bg-primary-500 (0,2,0) avec !important */
@media (min-width: 768px) {
  .m26-page nav.bg-primary-500 {
    background-color: transparent !important;
  }
}

/* ── Footer dark ── */
.m26-page #footer {
  background: var(--m26-bg-sec);
  border-top: 1px solid var(--m26-border);
  color: var(--m26-muted);
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.m26-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* FIX 2 — padding-top pour laisser respirer le contenu sous le header transparent */
  padding: 120px 0 72px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .m26-hero {
    padding-top: 90px;
  }
}

.m26-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0A0A0A;
}
.m26-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Image paysage 2500×1875 — cadrage centré légèrement haut pour voir le véhicule */
  object-position: center 40%;
}

.m26-hero-overlay {
  position: absolute;
  inset: 0;
  /* Image propre (aucun texte gravé) — overlay cinématique : transparent au centre, opaque en bas pour le texte */
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.20) 30%,
    rgba(10, 10, 10, 0.15) 45%,
    rgba(10, 10, 10, 0.60) 70%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.m26-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.m26-date-badge {
  display: inline-block;
  font-family: var(--m26-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--m26-gold);
  margin-bottom: 20px;
}

.m26-hero h1 {
  font-family: var(--m26-serif);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--m26-white);
  /* FIX 3 — line-height ajusté pour éviter que NOUVEAU et MUSSO se touchent */
  line-height: 1.0;
  margin: 0 0 20px;
}

.m26-hero-sub {
  font-family: var(--m26-sans);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  color: var(--m26-body);
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 540px;
}

.m26-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ── Prix hero (HTVA) ── */
.m26-hero-price {
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--m26-body);
  letter-spacing: 0.3px;
  margin-top: 22px;
}
.m26-hero-price strong {
  font-family: var(--m26-serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 1px;
  color: var(--m26-white);
}

/* ── Scroll cue ── */
.m26-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--m26-sans);
  animation: m26bounce 2s ease-in-out infinite;
}
@keyframes m26bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ═══════════════════════════════════
   BOUTONS
   ═══════════════════════════════════ */
.m26-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--m26-gold);
  color: #000;
  font-family: var(--m26-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.m26-btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.m26-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--m26-white);
  background: transparent;
  font-family: var(--m26-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 24px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.m26-btn-outline:hover {
  border-color: var(--m26-gold);
  color: var(--m26-gold);
  transform: translateY(-1px);
}

.m26-btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--m26-body);
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  padding: 12px 4px;
}
.m26-btn-tel:hover { color: var(--m26-white); }

/* ═══════════════════════════════════
   SECTION WRAPPER COMMUN
   ═══════════════════════════════════ */
.m26-section {
  padding: 88px 24px;
}
.m26-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.m26-section--dark {
  background: var(--m26-card);
}
.m26-section--black {
  background: var(--m26-bg);
}

/* ═══════════════════════════════════
   SECTION 3.5 — VISUAL BREAK
   ═══════════════════════════════════ */
.m26-visual-break {
  width: 100%;
  height: 70vh;
  max-height: 700px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: var(--m26-bg);
}

.m26-visual-break picture,
.m26-visual-break img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay subtil — fluidifie la transition avec sections noires adjacentes */
.m26-visual-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.20) 0%,
    rgba(10,10,10,0)    25%,
    rgba(10,10,10,0)    55%,
    rgba(10,10,10,0.78) 100%
  );
  pointer-events: none;
}

/* Citation sur le visuel d'ambiance (cf. maquette) */
.m26-visual-break-quote {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 44px;
}
.m26-visual-break-quote blockquote {
  font-family: var(--m26-serif);
  font-weight: 300;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  max-width: 18ch;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.m26-visual-break-quote p {
  font-family: var(--m26-sans);
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  max-width: 44ch;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}
@media (max-width: 768px) {
  .m26-visual-break-quote { padding-bottom: 32px; }
}

@media (max-width: 768px) {
  .m26-visual-break {
    height: 50vh;
    min-height: 320px;
  }
}

/* ═══════════════════════════════════
   SECTION 4.5 — VIDEO TEASER
   ═══════════════════════════════════ */
.m26-video-section {
  background: var(--m26-bg);
  padding: 56px 24px;
}
.m26-video {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
@media (max-width: 768px) {
  .m26-video-section {
    padding: 32px 16px;
  }
}

/* ── Titre de section ── */
.m26-section-title {
  font-family: var(--m26-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--m26-white);
  margin: 0 0 12px;
}
.m26-section-sub {
  font-family: var(--m26-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--m26-body);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 52px;
}

/* ── Divider doré ── */
.m26-divider {
  width: 48px;
  height: 1px;
  background: var(--m26-gold);
  margin: 0 0 32px;
}

/* ═══════════════════════════════════
   SECTION HEADER avec bloc marque (logo KGM + tagline)
   ═══════════════════════════════════ */
.m26-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 52px;
}
.m26-section-header-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px;
}
/* Le sub a normalement margin-bottom 52px → on l'annule dans le header
   car c'est le header lui-même qui porte cette marge */
.m26-section-header-text .m26-section-sub {
  margin-bottom: 0;
}

.m26-section-brand {
  flex: 0 0 auto;
  text-align: right;
  padding-top: 4px;
}
.m26-brand-logo {
  display: block;
  height: 72px;
  width: auto;
  margin: 0 0 18px auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}
.m26-brand-tagline {
  font-family: var(--m26-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--m26-body);
  line-height: 1.7;
  margin: 0;
}

/* Mobile : on empile sous le titre, aligné à gauche */
@media (max-width: 768px) {
  .m26-section-header {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
  }
  .m26-section-brand {
    text-align: left;
    padding-top: 0;
  }
  .m26-brand-logo {
    height: 56px;
    margin-left: 0;
    margin-right: auto;
  }
}

/* ═══════════════════════════════════
   SECTION 2 — FACTS BAR
   ═══════════════════════════════════ */
.m26-facts {
  background: var(--m26-card);
  padding: 0;
  border-top: 1px solid var(--m26-border);
  border-bottom: 1px solid var(--m26-border);
}
.m26-facts-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.m26-fact {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}
.m26-fact + .m26-fact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--m26-gold);
  opacity: 0.4;
}
.m26-fact-label {
  font-family: var(--m26-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--m26-muted);
  margin-bottom: 10px;
}
.m26-fact-value {
  font-family: var(--m26-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--m26-white);
  line-height: 1.2;
}
.m26-fact-value.gold {
  color: var(--m26-gold);
}

@media (max-width: 600px) {
  .m26-facts-inner {
    grid-template-columns: 1fr;
  }
  .m26-fact + .m26-fact::before {
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
  }
}

/* ═══════════════════════════════════
   SECTION 3 — CARDS "CE QUI NE BOUGE PAS"
   ═══════════════════════════════════ */
.m26-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.m26-card {
  background: var(--m26-card);
  border: 1px solid var(--m26-border);
  padding: 36px 32px;
  transition: border-color 0.2s;
}
.m26-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}
.m26-card-icon {
  width: 32px;
  height: 32px;
  color: var(--m26-gold);
  margin-bottom: 18px;
  opacity: 0.85;
}
.m26-card-title {
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--m26-white);
  margin-bottom: 10px;
}
.m26-card-text {
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--m26-body);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .m26-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════
   SECTION 4 — TEASER "CE QUI EVOLUE"
   ═══════════════════════════════════ */
.m26-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.m26-teaser-card {
  background: transparent;
  border-top: 2px solid var(--m26-gold);
  padding: 32px 24px 28px;
  transition: background 0.2s;
}
.m26-teaser-card:hover {
  background: rgba(201, 168, 76, 0.04);
}
.m26-teaser-num {
  font-family: var(--m26-serif);
  font-size: 42px;
  font-weight: 200;
  color: rgba(201, 168, 76, 0.18);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.m26-teaser-title {
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--m26-white);
  margin-bottom: 14px;
}
.m26-teaser-text {
  font-family: var(--m26-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--m26-body);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .m26-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ═══════════════════════════════════
   SECTION 5 — FISCALITE
   ═══════════════════════════════════ */
.m26-fiscal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--m26-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 28px;
}
.m26-fiscal-link:hover {
  color: var(--m26-gold);
  border-bottom-color: var(--m26-gold);
}

.m26-fiscal-disclaimer {
  font-family: var(--m26-sans);
  font-size: 11px;
  color: var(--m26-muted);
  margin-top: 20px;
  line-height: 1.5;
}

.m26-fiscal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.m26-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--m26-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--m26-body);
  border: 1px solid var(--m26-border);
  padding: 8px 16px;
}
.m26-pill svg {
  color: var(--m26-gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════
   SECTION 6 — FORMULAIRE
   ═══════════════════════════════════ */
.m26-form-section {
  background: var(--m26-card);
  padding: 88px 24px;
}
.m26-form-section-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

/* Form fields reset for dark theme */
.m26-form-section .form-field {
  margin-bottom: 20px;
}
.m26-form-section .form-label label,
.m26-form-section .form-label .inline {
  font-family: var(--m26-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--m26-muted);
  display: block;
  margin-bottom: 8px;
}
.m26-form-section .form-label .required {
  color: var(--m26-gold);
}
.m26-form-section input[type="text"],
.m26-form-section input[type="email"],
.m26-form-section input[type="tel"],
.m26-form-section textarea {
  width: 100%;
  background: #1A1A1A;
  border: 1px solid var(--m26-border);
  color: var(--m26-white);
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.m26-form-section input[type="text"]:focus,
.m26-form-section input[type="email"]:focus,
.m26-form-section input[type="tel"]:focus,
.m26-form-section textarea:focus {
  border-color: var(--m26-gold);
}
.m26-form-section textarea {
  resize: vertical;
  min-height: 100px;
}
.m26-form-section input::placeholder,
.m26-form-section textarea::placeholder {
  color: #444;
}

/* Radio buttons custom */
.m26-form-section .form-field--radio .form-data {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m26-form-section .grav-form-input-radio,
.m26-form-section input[type="radio"] {
  accent-color: var(--m26-gold);
  width: 15px;
  height: 15px;
  margin-right: 10px;
  cursor: pointer;
}
.m26-form-section .checkboxes label,
.m26-form-section .form-field--radio label {
  font-family: var(--m26-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--m26-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
}

/* Submit */
.m26-form-section .form-button-wrapper,
.m26-form-section .form-button-wrapper input[type="submit"],
.m26-form-section button[type="submit"] {
  width: 100%;
  background: var(--m26-gold);
  color: #000;
  font-family: var(--m26-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 24px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.m26-form-section .form-button-wrapper input[type="submit"]:hover,
.m26-form-section button[type="submit"]:hover {
  opacity: 0.88;
}

/* Message succès */
.m26-form-section .form-messages p {
  font-family: var(--m26-sans);
  font-size: 14px;
  color: var(--m26-gold);
  padding: 16px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-top: 16px;
}

/* Bloc coordonnées */
.m26-contact-block {
  border-top: 1px solid var(--m26-border);
  padding-top: 32px;
}
.m26-contact-block h3 {
  font-family: var(--m26-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--m26-white);
  margin: 0 0 20px;
}
.m26-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--m26-sans);
  font-size: 14px;
  color: var(--m26-body);
  margin-bottom: 12px;
  line-height: 1.4;
}
.m26-contact-row svg {
  color: var(--m26-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.m26-contact-row a {
  color: var(--m26-body);
  text-decoration: none;
  transition: color 0.2s;
}
.m26-contact-row a:hover { color: var(--m26-gold); }

@media (max-width: 860px) {
  .m26-form-section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ═══════════════════════════════════
   STICKY BAR MOBILE
   ═══════════════════════════════════ */
.m26-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--m26-bg);
  border-top: 1px solid var(--m26-border);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.m26-sticky.visible {
  transform: translateY(0);
}
.m26-sticky .m26-btn-gold,
.m26-sticky .m26-btn-tel {
  flex: 1;
  justify-content: center;
  font-size: 12px;
  padding: 13px 16px;
}
@media (min-width: 768px) {
  .m26-sticky { display: none; }
}

/* ═══════════════════════════════════
   LEGAL
   ═══════════════════════════════════ */
.m26-legal {
  font-family: var(--m26-sans);
  font-size: 10px;
  color: var(--m26-muted);
  line-height: 1.5;
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--m26-border);
  background: var(--m26-bg-sec);
}
