/**
 * ========================================
 * EightCar Sixt Edition - Style CSS
 * Thème inspiré à 100% de Sixt.com
 * Couleurs adaptées EightCar
 * ========================================
 */

/* ========================================
   VARIABLES CSS
======================================== */
:root {
  /* Couleurs EightCar (adaptées de Sixt) */
  --primary: #4A7BA7;
  --primary-hover: #6B9BC9;
  --primary-dark: #2C4A5E;
  --secondary: #1A2F42;
  --accent: #D4AF37;
  --accent-light: #F4E4A6;

  /* Couleurs de base */
  --text: #1A1A1A;
  --text-secondary: #666666;
  --text-light: #999999;
  --background: #FFFFFF;
  --background-light: #F9F9F9;
  --border: #E0E0E0;

  /* Typographie - Roboto (style Sixt) */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Roboto Condensed', 'Roboto', sans-serif;

  /* Espacements */
  --container-max: 1320px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* ========================================
   HEADER PRINCIPAL (sticky) - STYLE SIXT BLANC
======================================== */
.header-sixt {
  background: #FFFFFF; /* Blanc professionnel */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-sixt.scrolled {
  top: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligner à gauche pour garder hamburger + logo ensemble */
  gap: 2rem;
  height: 70px;
}

/* ========================================
   HAMBURGER MENU DESKTOP (style Sixt à gauche)
======================================== */
.hamburger-menu-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #1A1A1A; /* Noir sur fond blanc */
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}

.hamburger-menu-desktop:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hamburger-icon {
  font-weight: 300;
}

/* ========================================
   LOGO
======================================== */
.logo-sixt {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ========================================
   NAVIGATION DESKTOP
======================================== */
.nav-sixt {
  display: none; /* CACHER - Navigation déplacée dans le menu hamburger */
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: #1A1A1A; /* Noir sur fond blanc */
  font-size: 0.95rem;
  font-weight: 500; /* Plus léger style Sixt */
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary); /* Bleu EightCar au hover */
}

.nav-arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}

.nav-item.has-mega:hover .nav-arrow {
  transform: rotate(180deg);
}

/* ========================================
   MEGA MENU (style Sixt)
======================================== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  min-width: 800px;
  margin-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
  z-index: 100;
}

.nav-item.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0.5rem;
}

.mega-container {
  width: 100%;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mega-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.mega-item:hover {
  background: var(--background-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mega-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--background-light) 0%, #E8E8E8 100%);
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mega-image-placeholder {
  font-size: 3rem;
  opacity: 0.5;
}

.mega-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.mega-price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.mega-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.mega-link:hover {
  color: var(--primary-hover);
  gap: 0.5rem;
}

/* ========================================
   HEADER UTILITIES (droite)
======================================== */
.header-utils {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto; /* Pousser à droite pour garder hamburger + logo à gauche */
}

.util-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1A1A1A; /* Noir sur fond blanc */
  transition: var(--transition);
}

.util-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1A1A1A;
}

.util-icon {
  font-size: 1.1rem;
}

.util-text {
  font-size: 0.85rem;
}

.account-btn {
  background: var(--primary);
  color: white;
}

.account-btn:hover {
  background: var(--primary-hover);
  color: white;
}

/* ========================================
   MOBILE MENU BUTTON
======================================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn:hover .hamburger-line {
  background: var(--primary);
}

/* ========================================
   MOBILE NAVIGATION (overlay)
======================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.mobile-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-logo:hover {
  opacity: 0.8;
}

.mobile-nav-close {
  font-size: 1.75rem;
  color: var(--text);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: var(--background-light);
  color: var(--primary);
}

.mobile-nav-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-link {
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* ========================================
   HERO SECTION (style Sixt)
======================================== */
.hero-sixt {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-hover) 100%);
  margin-top: 70px; /* Header height only */
  overflow: hidden;
}

.hero-sixt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Image par défaut - sera remplacée par les options A, B, C */
  background-image: url('/public/uploads/hero/hero-option-a.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.40; /* Augmenté de 0.25 à 0.40 pour mieux voir la voiture */
  z-index: 0;
  transition: opacity 0.8s ease, background-image 0.8s ease;
}

/* ========================================
   OPTION A - Image Unique Premium
======================================== */
.hero-option-a .hero-sixt::before {
  background-image: url('/public/uploads/hero/hero-option-a.jpg');
  background-position: center 40%; /* Optimisé pour angle front 3/4 */
}

/* ========================================
   OPTION B - Carrousel 3 Images (Contrôlé par JavaScript)
======================================== */
.hero-option-b {
  --hero-bg-image: url('/public/uploads/hero/hero-option-b1.jpg');
}

.hero-option-b .hero-sixt::before {
  background-image: var(--hero-bg-image);
  background-position: center 45%;
  transition: opacity 0.8s ease;
}

/* ========================================
   OPTION C - Contexte Marocain
======================================== */
.hero-option-c.hero-sixt::before,
.hero-option-c .hero-sixt::before {
  background-image: url('/public/uploads/hero/hero-option-c.jpg') !important;
  background-position: center 60% !important; /* Focus sur la route/paysage */
  opacity: 0.35 !important; /* Légèrement plus sombre pour lisibilité sur paysage */
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   BOOKING WIDGET (glassmorphism)
======================================== */
.booking-widget-sixt {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 900px;
  margin: 0 auto;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  appearance: none;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 123, 167, 0.1);
}

.form-select {
  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='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.booking-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.25rem 3rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(74, 123, 167, 0.3);
  transition: var(--transition);
  grid-column: span 2;
}

.booking-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(74, 123, 167, 0.4);
  transform: translateY(-2px);
}

/* ========================================
   BOOKING OPTIONS BAR (style Booking.com)
======================================== */
.booking-options-bar {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 0;
}

.booking-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
}

.booking-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: white;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.booking-checkbox:hover .checkbox-custom {
  border-color: var(--primary-hover);
}

.booking-checkbox input:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.booking-checkbox input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label {
  color: var(--text);
  font-weight: 500;
}

/* ========================================
   BOOKING WIDGET (style Booking.com)
======================================== */
.booking-widget-sixt-horizontal {
  background: white;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--accent); /* Gold EightCar */
  max-width: 1200px;
  margin: 0 auto;
}

.booking-form-horizontal {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* Proportions style Booking.com EXACT */
.form-field-location {
  flex: 2.2 1 320px;
}

.form-field-datetime {
  flex: 1.5 1 180px;
}

.btn-search-booking {
  flex: 0 0 auto;
  min-width: 160px;
}

.form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Floating Label Style Booking.com */
.floating-label {
  position: absolute;
  top: 8px;
  left: 2.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  pointer-events: none;
  z-index: 3;
}

/* Input Content Container */
.input-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  z-index: 2;
}

/* Input Style Booking.com */
.field-input-booking {
  width: 100%;
  padding: 1.75rem 1rem 0.5rem 2.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  background: white;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  transition: var(--transition);
  min-height: 56px;
}

.field-input-booking:focus {
  outline: none;
  border-color: var(--accent);
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.field-input-booking::placeholder {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Hidden Inputs (date/time natifs) */
.field-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* DateTime Display (fusion Date + Heure) */
.datetime-display {
  width: 100%;
  padding: 1.75rem 1rem 0.5rem 2.75rem;
  min-height: 56px;
  background: white;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.datetime-display:hover {
  border-color: var(--primary);
}

.datetime-display .date-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.datetime-display .time-text {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Legacy support pour anciens styles */
.field-input-sixt {
  width: 100%;
  padding: 1rem 1rem 1rem 2.75rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background: white;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  transition: var(--transition);
  min-height: 56px;
}

.field-input-sixt:focus {
  outline: none;
  border-color: var(--accent);
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.field-input-sixt::placeholder {
  color: var(--text-light);
}

.btn-search-booking {
  background: linear-gradient(135deg, var(--accent) 0%, #c79f2e 100%);
  color: #1A1A1A;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.btn-search-booking:hover {
  background: linear-gradient(135deg, #c79f2e 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.dropoff-location-field {
  margin-top: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropoff-location-field.active {
  opacity: 1;
  max-height: 120px;
}

.dropoff-location-field .form-field {
  margin-top: 0;
}

.widget-footer-link {
  margin-top: 1rem;
  text-align: center;
}

.link-entreprise {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  transition: var(--transition);
}

.link-entreprise:hover {
  color: var(--primary);
}

/* ========================================
   DATETIME MODAL (style Booking.com)
======================================== */
.datetime-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.datetime-modal {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.datetime-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #E0E0E0;
}

.datetime-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.datetime-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.datetime-modal-close:hover {
  background: var(--background-light);
  color: var(--text);
}

.datetime-modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.datetime-modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.datetime-modal-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.modal-date-input,
.modal-time-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: white;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  transition: var(--transition);
}

.modal-date-input:focus,
.modal-time-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.datetime-modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #E0E0E0;
}

.btn-modal-cancel,
.btn-modal-confirm {
  flex: 1;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-modal-cancel {
  background: #F5F5F5;
  color: var(--text);
}

.btn-modal-cancel:hover {
  background: #E0E0E0;
}

.btn-modal-confirm {
  background: linear-gradient(135deg, var(--accent) 0%, #c79f2e 100%);
  color: #1A1A1A;
}

.btn-modal-confirm:hover {
  background: linear-gradient(135deg, #c79f2e 0%, var(--accent) 100%);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* ========================================
   BANDEAU CTA COLORÉ (style Sixt)
======================================== */
.cta-banner-sixt {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-sixt::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner-title {
  font-family: var(--font-accent); /* Roboto Condensed */
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.cta-banner-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* ========================================
   SECTIONS GÉNÉRALES
======================================== */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--background-light);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ========================================
   GRID LAYOUTS
======================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ========================================
   CARDS
======================================== */
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* ========================================
   FOOTER
======================================== */
.footer-sixt {
  background: var(--secondary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-light);
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mega-menu {
    min-width: 600px;
  }

  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .booking-widget-sixt {
    padding: 1.5rem;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-btn {
    grid-column: span 1;
  }

  /* Widget horizontal devient vertical sur mobile */
  .booking-form-horizontal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .booking-btn-sixt {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .header-utils .util-text {
    display: none;
  }

  /* Bandeau CTA responsive */
  .cta-banner-title {
    font-size: 2.5rem;
  }

  .cta-banner-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 64px;
    padding: 0 1rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 32px;
    max-width: 140px;
  }

  .hero-sixt {
    min-height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }
}

/* ========================================
   MENU OVERLAY OPTIMISÉ DESKTOP
======================================== */
/* Sur desktop (>1024px), afficher le menu comme une sidebar gauche élégante */
@media (min-width: 1025px) {
  .mobile-nav-overlay {
    width: 400px; /* Largeur fixe sur desktop */
    right: auto; /* Ne pas étendre sur toute la largeur */
    transform: translateX(-100%); /* Venir de la gauche au lieu de la droite */
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.15);
  }
  
  .mobile-nav-overlay.active {
    transform: translateX(0); /* Glisser depuis la gauche */
  }
}
/* Cache buster: 1769478245171522800 */


/* ========================================
   CHECKOUT - Sections Collapsibles (Flight & Coupon)
======================================== */

.collapsible-section {
  margin-bottom: 0;
  border-bottom: none;
}

.collapsible-section .section-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.collapsible-section .section-header:hover {
  background-color: #f9f9f9;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-radius: 4px;
}

.collapsible-section .section-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
}

.collapsible-section .section-header h2 i.fas {
  color: #28a745;
  font-size: 18px;
}

.info-icon {
  color: #999;
  font-size: 16px;
  cursor: help;
  transition: color 0.2s ease;
}

.info-icon:hover {
  color: #28a745;
}

.toggle-icon {
  transition: transform 0.3s ease;
  color: #666;
  font-size: 14px;
}

.collapsible-content {
  padding-top: 20px;
  padding-bottom: 10px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

.collapsible-section .form-group {
  margin-bottom: 10px;
}

.collapsible-section .form-group label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 8px;
}

.collapsible-section .form-group input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.collapsible-section .form-group input:focus {
  border-color: #28a745;
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.collapsible-section .form-group input::placeholder {
  color: #999;
  font-style: italic;
}
