:root {
    --black: #0A0A0A;
    --black-soft: #121212;
    --black-lacquer: #1A1A1A;
    --cream: #F5F3EF;
    --cream-dim: #DCD8CE;
    --gold: #C9A961;
    --gold-bright: #E8C87F;
    --line: rgba(201, 169, 97, 0.15);
    --line-white: rgba(245, 243, 239, 0.08);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  
  body {
    background-color: var(--black);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, .serif { font-family: 'Cormorant Garamond', serif; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 30px; }
  .section { padding: 100px 0; border-top: 1px solid var(--line-white); }

  .btn-gold { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--gold); color: var(--black); padding: 12px 24px; border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; transition: all 0.4s ease; cursor: pointer; border: 1px solid var(--gold); }
  .btn-gold:hover { background: transparent; color: var(--gold); box-shadow: 0 0 30px rgba(201, 169, 97, 0.2); }

  /* --- STYLES PAGE LONGUE DISTANCE --- */
  .page-hero { padding-top: 160px; padding-bottom: 80px; text-align: center; background: radial-gradient(ellipse at center, var(--black-soft) 0%, var(--black) 100%); }
  .page-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; color: var(--cream); }
  .page-desc { max-width: 800px; margin: 0 auto; font-size: 16px; color: var(--cream-dim); line-height: 1.7; font-weight: 300; }

  .booking-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; margin-top: 40px; }
  @media(max-width: 960px) { .booking-split { grid-template-columns: 1fr; } }

  .vertical-booking { background: var(--black-lacquer); border: 1px solid var(--gold); padding: 40px; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
  .vertical-booking h2 { font-family: 'Inter', sans-serif; font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 30px; }
  
  /* Styles pour le formulaire inclus depuis partials */
  .form-group { margin-bottom: 20px; }
  .form-group label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 8px; }
  .form-group input, .form-group select { width: 100%; background: var(--black-soft); border: 1px solid var(--line); color: var(--cream); padding: 15px; font-size: 14px; font-family: 'Inter', sans-serif; border-radius: 2px; transition: border-color 0.3s; }
  .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
  .form-group input::placeholder { color: var(--cream-dim); opacity: 1; }
  input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
  .radio-group { display: flex; gap: 20px; margin-bottom: 25px; }
  .radio-label { display: flex; align-items: center; gap: 8px; color: var(--cream); font-size: 13px; font-weight: 500; cursor: pointer; }
  .radio-label input[type="radio"] { accent-color: var(--gold); width: 16px; height: 16px; }
  .dynamic-field { display: none !important; margin-top: 10px; animation: fadeIn 0.4s ease; }
  .dynamic-field.active { display: block !important; }
  .grid-2.dynamic-field.active { display: grid !important; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
  .vehicle-options { display: flex; gap: 15px; margin-bottom: 25px; }
  .vehicle-card { flex: 1; border: 1px solid var(--line); border-radius: 4px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.3s; background: var(--black-soft); overflow: hidden; }
  .vehicle-card:hover { border-color: var(--gold); }
  .vehicle-card.selected { border-color: var(--gold); background: rgba(201,169,97,0.1); box-shadow: 0 0 15px rgba(201,169,97,0.2); }
  .vehicle-card.disabled { filter: grayscale(1); border-color: #333; opacity: 0.5; cursor: not-allowed; }
  .vehicle-card img { width: 100%; height: 95px; object-fit: contain; margin-bottom: 10px; border-radius: 2px; opacity: 0.6; transition: opacity 0.3s, transform 0.3s; transform: scale(1.3); transform-origin: center bottom; }
  .vehicle-card.selected img { opacity: 1; transform: scale(1.45); }
  .vehicle-title { font-weight: 700; color: var(--gold); font-size: 14px; margin-bottom: 2px; font-family: 'Cormorant Garamond', serif; letter-spacing: 1px;}
  .vehicle-model { font-size: 11px; color: var(--cream); margin-bottom: 6px; font-weight: 500; }
  .vehicle-cap { font-size: 10px; color: var(--cream-dim); line-height: 1.4; border-top: 1px solid var(--line); padding-top: 6px; }
  .checkbox-group { margin-bottom: 20px; border-top: 1px solid var(--line-white); padding-top: 20px; }
  .checkbox-label { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; font-weight: 600; cursor: pointer; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;}
  .checkbox-label input[type="checkbox"] { accent-color: var(--gold); width: 18px; height: 18px; }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  
  .side-content { display: flex; flex-direction: column; gap: 30px; }
  .side-img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; opacity: 0.9; border: 1px solid var(--line-white); }
  
  /* Accordéon FAQ */
  .faq-box { border: 1px solid var(--line-white); border-radius: 4px; }
  .faq-item { border-bottom: 1px solid var(--line-white); }
  .faq-item:last-child { border-bottom: none; }
  .faq-question { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--gold); font-size: 15px; font-weight: 500; background: var(--black-soft); transition: background 0.3s; }
  .faq-question:hover { background: var(--black-lacquer); }
  .faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: var(--black-soft); color: var(--cream-dim); font-size: 14px; line-height: 1.6; }
  .faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 500px; }
  .faq-icon { font-size: 20px; transition: transform 0.4s; }
  .faq-item.active .faq-icon { transform: rotate(45deg); }

  /* Grilles de tarifs */
  .pricing-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
  .price-col { background: var(--black-lacquer); border: 1px solid var(--line-white); border-radius: 4px; overflow: hidden; }
  .price-header { padding: 30px 20px; text-align: center; border-bottom: 1px solid var(--line-white); }
  .price-header h3 { color: var(--gold); font-size: 24px; margin-bottom: 10px; }
  .price-list { padding: 20px; }
  .price-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line-white); font-size: 14px; color: var(--cream-dim); }
  .price-row:last-child { border-bottom: none; }
  .price-row .val { color: var(--gold-bright); font-weight: 600; font-family: 'Cormorant Garamond', serif; font-size: 18px; }

  .pac-container { z-index: 100000 !important; font-family: 'Inter', sans-serif; background-color: #fff; }
  /* Styles pour la vidéo d'arrière-plan */
  .bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
  .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 10, 0.7); z-index: 0; }

  /* =========================================================
   --- CUSTOM SELECT (Contre le bug d'affichage iOS/Android) --- 
   ========================================================= */
.cs-wrapper { position: relative; width: 100%; }
.cs-native-select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }

.cs-trigger {
  width: 100%; 
  background: var(--black-soft); 
  border: 1px solid var(--line); 
  color: var(--cream);
  padding: 15px 40px 15px 15px; 
  font-size: 16px; /* 16px obligatoire contre le zoom iOS */
  font-family: 'Inter', sans-serif; 
  border-radius: 2px;
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  transition: border-color 0.3s; 
  user-select: none; 
  min-height: 48px;
}
.cs-trigger.placeholder { color: var(--cream-dim); }
.cs-trigger:after {
  content: ''; 
  width: 8px; 
  height: 8px; 
  border-right: 2px solid var(--gold); 
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); 
  transition: transform 0.3s; 
  flex-shrink: 0; 
  margin-left: 10px;
}

.cs-wrapper.open .cs-trigger { border-color: var(--gold); }
.cs-wrapper.open .cs-trigger:after { transform: rotate(-135deg); }

.cs-panel {
  position: absolute; 
  top: calc(100% + 6px); 
  left: 0; 
  right: 0; 
  max-height: 260px; 
  overflow-y: auto;
  background: var(--black-lacquer); 
  border: 1px solid var(--gold); 
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6); 
  z-index: 500; 
  display: none;
}
.cs-wrapper.open .cs-panel { display: block; }

.cs-option { padding: 13px 15px; font-size: 14px; color: var(--cream-dim); cursor: pointer; }
.cs-option:hover, .cs-option.active { background: rgba(201,169,97,0.12); color: var(--gold-bright); }

@media(max-width: 768px) { 
  .cs-trigger { padding: 12px 40px 12px 15px; } 
}

/* =========================================================
   RESPONSIVE : TABLETTES (iPad, etc.) - Max 1024px
   ========================================================= */
@media (max-width: 1024px) {
  /* Réduction des marges globales pour maximiser l'espace d'affichage */
  .wrap { padding: 0 20px; }
  .section { padding: 70px 0; }
  
  /* Ajustement de la largeur du texte d'introduction */
  .page-desc { font-size: 15px; padding: 0 15px; }
  
  /* Assouplissement de la grille des prix pour éviter le débordement */
  .pricing-tables { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* =========================================================
   RESPONSIVE : MOBILES (iPhone, Samsung) - Max 768px
   ========================================================= */
@media (max-width: 768px) {
  /* Compression des espaces verticaux pour accélérer l'accès au formulaire */
  .section { padding: 50px 0; }
  .page-hero { 
    min-height: auto; 
    padding-top: 110px; 
    padding-bottom: 40px; 
  }
  
  /* * CRUCIAL : Ajustement de l'image (Vans/Berlines). 
   * On passe d'une hauteur fixe (300px) à un format 16/9ème 
   * pour un effet cinéma qui ne mange pas tout l'écran.
   */
  .side-img { 
    height: auto; 
    aspect-ratio: 16/9; 
    margin-bottom: 10px;
  }
  
  /* Resserrement du conteneur de réservation */
  .vertical-booking { 
    padding: 25px 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.4); 
  }
  
  /* FAQ : Typographie et espacements affinés pour le tactile */
  .faq-question { 
    font-size: 14px; 
    padding: 15px; 
  }
  .faq-answer { 
    font-size: 13px; 
    line-height: 1.5; 
  }
  .faq-item.active .faq-answer { 
    padding: 0 15px 15px; 
  }

  /* Force l'affichage côte à côte (format carré) des véhicules au lieu d'une liste verticale */
  .vehicle-options { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
  }
  .vehicle-card { 
    padding: 15px 5px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligne le contenu vers le haut pour éviter l'écrasement */
    margin-bottom: 0;
  }
  .vehicle-card img { 
    height: 55px; /* Hauteur sécurisée pour le mobile */
    object-fit: contain;
    transform: scale(1); /* Annule le zoom natif qui causait le chevauchement */
    transform-origin: center bottom; /* EMPÊCHE L'IMAGE DE CACHER LE TEXTE EN S'AGRANDISSANT */
    margin-bottom: 12px; 
  }
  .vehicle-card.selected img {
    transform: scale(1.15); /* Zoom très subtil et contrôlé au clic */
  }
  .vehicle-title { 
    font-size: 12px; 
    position: relative; 
    z-index: 2;
  }
  .vehicle-cap { font-size: 10px; }

  /* Bouton d'action massif et facile à cliquer */
  .vertical-booking .btn-gold { width: 100%; padding: 18px 20px; font-size: 13px; justify-content: center; }
}