
/* =========================
   H4 dans les conditions
========================= */
.condition-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  text-align: left;
}

/* =========================
   VARIABLES
========================= */
:root {
  --gradient-start: #1a0f2e;
  --gradient-end: #e65c25;
  --primary-color: #800000;
  --secondary-color: #4a0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  text-align: center;
}

/* =========================
   ACCESSIBILITE
========================= */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed; top: 0; width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 50;
}
.main-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 850px; margin: 0 auto; padding: 12px 24px;
}
.logo img { height: 48px; width: auto; }
.navMenu { display: none; cursor: pointer; padding: 8px; }
.navMenu svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform .3s; }
.navMenu:hover svg { transform: scale(1.1); }
#navInput { display: none; }
.fullclose { display: none; position: fixed; }
.nav ul { display: flex; list-style: none; align-items: center; gap: 24px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: #374151; font-weight: 500; font-size: 14px; transition: color .3s; position: relative; text-align: center; }
.nav a:hover { color: var(--primary-color); }
.nav a::after { content:''; position:absolute; width:0; height:2px; bottom:-4px; left:50%; background:var(--primary-color); transition:all .3s; transform:translateX(-50%); }
.nav a:hover::after { width: 100%; }
.close-nav { display: none; }

/* =========================
   HERO
========================= */
.hero {
  background-color: #1a0f2e;
  background-image: url('https://mychauffeur.re/assets/images/devenirchauffeur.webp');
  background-size: cover;
  background-position: center top;
  color: white;
  padding: 80px 24px 80px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(26,15,46,0.78) 0%, rgba(230,92,37,0.55) 100%);
}

.hero-content {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-align: center;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* =========================
   BOUTONS
========================= */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  margin-top: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-button--outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
}

.cta-button--outline:hover {
  background: rgba(255,255,255,0.15);
}

.cta-button--white {
  background: white;
  color: var(--gradient-start);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  margin-top: 0;
}

.cta-button--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* =========================
   MAIN CONTENT
========================= */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

/* =========================
   STATS STRIP
========================= */
.stats-strip {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 24px;
}

.stats-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-item span {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================
   TITRES DE SECTION
========================= */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gradient-end);
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #111827;
  margin-bottom: 12px;
}

.section-title p {
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   CONDITIONS
========================= */
.conditions-section {
  padding: 80px 24px;
  background: white;
}

.conditions-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.conditions-list { list-style: none; padding: 0; }

.conditions-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
  text-align: left;
}

.conditions-list li:last-child { border-bottom: none; }

.condition-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.1rem;
}

.condition-text strong {
  display: block;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.condition-text p {
  font-size: 0.9rem;
  color: #6b7280;
  text-align: left;
}

/* =========================
   ETAPES (STEPS)
========================= */
.steps-section {
  padding: 80px 24px;
  background: #f9fafb;
}

.steps-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  z-index: 0;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 16px rgba(230,92,37,0.4);
}

.step-card h3 { font-size: 1.05rem; color: #111827; margin-bottom: 8px; }
.step-card p { font-size: 0.875rem; color: #6b7280; text-align: center; }

/* =========================
   CALCULATEUR
========================= */
.calculator-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #1a0f2e 0%, #e65c25 100%);
  color: white;
}

.calculator-section .section-title h2 { color: white; }
.calculator-section .section-title p { color: rgba(255,255,255,0.7); }
.calculator-section .section-title__eyebrow { color: rgba(255,255,255,0.7); }

.calculator-card {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(8px);
}

.calc-label { font-size: 1rem; font-weight: 600; margin-bottom: 8px; text-align: center; }
.calc-subtitle { font-size: 0.85rem; opacity: 0.7; margin-bottom: 24px; text-align: center; }

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.3);
  outline: none;
  margin: 8px 0 24px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.calc-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.calc-results {
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-top: 8px;
}

.calc-main-result { font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.calc-main-label { font-size: 0.85rem; opacity: 0.7; margin-bottom: 24px; }

.calc-sub-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc-sub-item { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 12px; }
.calc-sub-item strong { display: block; font-size: 1.3rem; font-weight: 700; }
.calc-sub-item span { font-size: 0.75rem; opacity: 0.7; }

/* =========================
   AVANTAGES
========================= */
.avantages-section { padding: 80px 24px; background: white; }

.avantages-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.avantage-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.avantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--gradient-end);
}

.avantage-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(230,92,37,0.3);
}

.avantage-icon svg { width: 36px; height: 36px; stroke: white; fill: none; stroke-width: 2; }

.avantage-card h3 { font-size: 1.1rem; color: #111827; margin-bottom: 16px; }

.avantage-card ul { list-style: none; padding: 0; }

.avantage-card li {
  font-size: 0.9rem;
  color: #6b7280;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.avantage-card li:last-child { border-bottom: none; }

.avantage-card li::before { content: '✓ '; color: var(--gradient-end); font-weight: 700; }

/* =========================
   POURQUOI NOUS CHOISIR
========================= */
.pourquoi-section { padding: 80px 24px; background: #f9fafb; }

.pourquoi-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pourquoi-card {
  background: white;
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pourquoi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.pourquoi-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.pourquoi-card__icon svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 2; }

.pourquoi-card__body h3 { font-size: 1.05rem; color: #111827; margin-bottom: 8px; text-align: left; }
.pourquoi-card__body p { font-size: 0.875rem; color: #6b7280; text-align: left; }

/* =========================
   CTA FINAL
========================= */
.cta-final {
  padding: 80px 24px;
  background: linear-gradient(135deg, #1a0f2e 0%, #e65c25 100%);
  color: white;
  text-align: center;
}

.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: white; margin-bottom: 20px; }

.cta-final p {
  font-size: 1.1rem; opacity: 0.85;
  max-width: 700px; margin: 0 auto 40px; text-align: center;
}

.cta-final__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================
   SITE FOOTER
========================= */
.site-footer {
  background: linear-gradient(135deg, #1a0f2e 0%, #e65c25 100%);
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 24px;
  font-size: 0.875rem;
}
.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.site-footer .footer-brand img {
  height: 42px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  display: block;
}
.site-footer .footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  text-align: left;
}
.site-footer .footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.site-footer .footer-contact a:hover { color: #e65c25; }
.site-footer .footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.site-footer .footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.site-footer .footer-col ul li {
  margin-bottom: 10px;
}
.site-footer .footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.site-footer .footer-col a:hover { color: white; }
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.site-footer .footer-bottom strong { color: rgba(255,255,255,0.55); }
@media (max-width: 768px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer .footer-top { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; }
}
/* =========================
   RESPONSIVE — TABLET / MOBILE
========================= */
@media (max-width: 900px) {
  .navMenu { display: block; }

  /* Cache la nav par défaut en mobile */
  .nav { display: none; }

  /* Ouvre le menu quand la checkbox est cochée */
  #navInput:checked ~ .nav {
    display: block; position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
    background: white; padding: 2rem 1.5rem;
    box-shadow: -4px 0 20px rgba(0,0,0,.15); z-index: 100; overflow-y: auto;
  }
  #navInput:checked ~ .nav ul {
    display: flex; flex-direction: column; align-items: center; gap: 0;
  }
  #navInput:checked ~ .nav ul li {
    width: 100%; border-bottom: 1px solid #f0f0f0; text-align: center;
  }
  #navInput:checked ~ .nav ul li a {
    display: block; padding: .85rem 0; font-size: 1rem;
  }
  #navInput:checked ~ .fullclose {
    display: block; position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.4);
  }

  .close-nav { display: list-item; }
  .close { cursor: pointer; display: flex; align-items: center; gap: .5rem; color: var(--primary-color); font-weight: 600; margin-bottom: 1.5rem; }
  .close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

  .conditions-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .avantages-grid { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .calc-sub-results { grid-template-columns: 1fr; }
  /* Footer responsive → voir .site-footer */
}

@media (max-width: 768px) {
  .hero { padding: 80px 16px 48px; min-height: auto; }
  .hero h1 { font-size: 1.8rem; }
  .logo img { height: 40px; }
  .stats-strip__inner { gap: 24px; }
  .calculator-card { padding: 28px 20px; }
  .calc-main-result { font-size: 2.2rem; }
}

