:root {
  --bg-hero: #0d3365;
  --btn-orange: #ff7a00;
  --logo-blue: #ffffff;
  --text-white: #ffffff;
  --light-bg: #f8f9fa;
}

/* -------------------- */
/* RESET & BASE */
/* -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -------------------- */
/* HEADER & NAVIGATION */
/* -------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-hero);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  display: block;
  transition: all 0.3s;
}

nav ul li a:hover {
  color: var(--btn-orange);
}

/* -------------------- */
/* MENU TOGGLE (MOBILE) */
/* -------------------- */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 26px;
  color: #fff;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.menu-toggle:active {
  transform: scale(0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* -------------------- */
/* NAVIGATION MOBILE */
/* -------------------- */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 992px) {
  .main-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: none;
    z-index: 1100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .main-nav.show {
    display: flex !important;
  }

  .main-nav ul li a {
    color: #0d3365;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
  }

  .main-nav ul li a:hover {
    background: linear-gradient(90deg, var(--btn-orange), #fff);
    color: #0d3365;
    font-weight: 700;
  }

  .menu-toggle {
    display: flex;
    background: #fff;
    color: #0d3365;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }
}

/* -------------------- */
/* HERO SECTION */
/* -------------------- */
.hero {
  background: linear-gradient(to right, #0d3365, #1e4a85);
  color: var(--text-white);
  padding: 80px 20px;
  margin-top: 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-badge,
.hero-subtitle {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 500;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-subtitle {
  background: rgba(255, 255, 255, 0.15);
  font-size: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle i {
  margin-right: 8px;
  color: #ffd27f;
}

.hero-subtitle:hover {
  transform: scale(1.03);
}

.hero-car {
  width: 85%;
  max-width: 520px;
  margin: 20px auto 0;
}

.hero-car img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: floatCar 3s ease-in-out infinite;
}

@keyframes floatCar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* -------------------- */
/* BUTTONS */
/* -------------------- */
.btn-primary-custom,
.submit-btn,
.premium-btn {
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary-custom {
  background-color: var(--btn-orange);
  color: #fff;
  padding: 15px 30px;
  font-size: 18px;
  display: inline-block;
  margin-top: 20px;
}

.submit-btn {
  background: var(--bg-hero);
  color: #fff;
  width: 100%;
  padding: 15px;
}

.submit-btn:hover {
  background: #082447;
}

.premium-btn {
  background: linear-gradient(90deg, #FF8C00, #FFD700);
  color: #fff;
  font-size: 1.15rem;
  padding: 14px 32px;
  border-radius: 10px;
}

.premium-btn:hover {
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

/* -------------------- */
/* FORMULAIRE PREMIUM */
/* -------------------- */
.form-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.premium-input,
.premium-select {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  transition: all 0.3s ease;
}

.premium-input:focus,
.premium-select:focus {
  border-color: #0057A4;
  box-shadow: 0 0 8px #0057A466;
  outline: none;
}

.file-upload,
.premium-file-upload {
  border: 2px dashed #ccc;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload:hover,
.premium-file-upload:hover {
  border-color: var(--btn-orange);
  box-shadow: 0 0 12px #FF8C0066;
}

.file-upload i {
  font-size: 2.4rem;
  color: #0057A4;
  margin-bottom: 10px;
}

.file-upload p {
  color: #666;
  margin: 0;
}

/* -------------------- */
/* STATS PREMIUM */
/* -------------------- */
.stats-premium {
  background: linear-gradient(135deg, #0d3365 0%, #1e4a85 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.stats-title-premium {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, var(--btn-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.stats-title-premium::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--btn-orange), #ffb661);
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.6);
}

.stat-box-premium {
  padding: 25px 0;
  border-radius: 12px;
  transition: 0.3s;
}

.stat-box-premium h3 {
  font-size: 42px;
  font-weight: 800;
  color: var(--btn-orange);
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.4);
}

.stat-box-premium p {
  font-size: 18px;
  opacity: 0.9;
}

.stat-box-premium:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

/* -------------------- */
/* SECTIONS GENERALES */
/* -------------------- */
section {
  padding: 80px 0;
}

.steps,
.features,
.form-section,
.avis,
.stats,
.cta {
  background: var(--light-bg);
}

.steps h2,
.features h2,
.avis h2,
.faq h2 {
  color: var(--bg-hero);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.step,
.feature,
.avis .card {
  text-align: center;
  margin-bottom: 30px;
}

.step i,
.feature i {
  font-size: 40px;
  color: var(--bg-hero);
  margin-bottom: 20px;
}

.feature h4 {
  font-size: 22px;
  color: var(--bg-hero);
  margin-bottom: 15px;
}

.avis .card {
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 18px;
}

/* -------------------- */
/* FOOTER */
/* -------------------- */
footer {
  padding: 20px 0;
  background: var(--bg-hero);
  color: #fff;
  text-align: center;
}

/* -------------------- */
/* RESPONSIVE */
/* -------------------- */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; padding: 10px 20px; }
  .hero-car { width: 89%; max-width: 380px; margin-top: 20px; }
  .form-container { padding: 20px; }
  .form-title-premium { font-size: 28px; }
  .premium-input,
  .premium-select { padding: 12px 14px; font-size: 14px; }
  .submit-btn,
  .premium-btn { font-size: 16px; padding: 12px 20px; }
}

@media (min-width: 1024px) {
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-car { max-width: 750px; margin-top: 40px; }
  .hero-car img { transform: scale(1.2); }
}

/* MENU NAVIGATION */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Desktop (>= 993px) */
@media (min-width: 993px) {
  .main-nav {
    display: flex !important;
    flex-direction: row;
    background: none;
    padding: 0;
  }

  .menu-toggle {
    display: none; /* hamburger invisible sur desktop */
  }

  .main-nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.3s;
  }

  .main-nav ul li a:hover {
    color: var(--btn-orange);
  }
}

/* Mobile (< 993px) */
@media (max-width: 992px) {
  .main-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: none;
    z-index: 1100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .main-nav.show {
    display: flex !important;
  }

  .main-nav ul li a {
    color: #0d3365;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
  }

  .main-nav ul li a:hover {
    background: linear-gradient(90deg, var(--btn-orange), #fff);
    color: #0d3365;
    font-weight: 700;
  }

  .menu-toggle {
    display: flex; /* hamburger visible sur mobile */
    background: var(--bg-hero); /* fond bleu */
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
  }

  .menu-toggle span {
    background-color: #fff; /* lignes blanches */
  }
}
