/* ═══════════════════════════════════════
   iZER — Uber Style CSS
   ═══════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #000000;
  background: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════ NAVIGATION ═══════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #F3F3F3;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.nav-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #000000;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #545454;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid #000000;
  border-radius: 999px;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn-nav-outline:hover {
  background: #F3F3F3;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: #000;
  border-radius: 1px;
}

/* ═══════════ HERO ═══════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: #FFFFFF;
  padding: 40px 0 40px 40px;
  gap: 20px;
}

.hero-inner {
  padding: 80px 40px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #000000;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 40px;
  color: #545454;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  background: #F3F3F3;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  width: 100%;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ═══════════ BOUTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-dark {
  background: #000000;
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #333333;
}

.btn-light {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #E5E5E5;
}

.btn-light:hover {
  background: #F3F3F3;
}

/* ═══════════ SECTIONS ═══════════ */
.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  text-align: center;
  color: #545454;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════ SERVICES ═══════════ */
.services {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.service-card p {
  font-size: 15px;
  color: #545454;
  line-height: 1.6;
}

/* ═══════════ HOW ═══════════ */
.how {
  background: #F6F6F6;
  padding: 96px 24px;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.how-step {
  text-align: center;
}

.step-num {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.how-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.how-step p {
  font-size: 15px;
  color: #545454;
  max-width: 260px;
  margin: 0 auto;
}

/* ═══════════ SAFETY ═══════════ */
.safety {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.safety-text h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.safety-text p {
  font-size: 17px;
  color: #545454;
  margin-bottom: 28px;
  line-height: 1.6;
}

.safety-list {
  list-style: none;
}

.safety-list li {
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F3F3;
  color: #000000;
}

.safety-image {
  background: #F3F3F3;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.safety-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ═══════════ CTA DARK ═══════════ */
.cta-dark {
  background: #000000;
  color: #FFFFFF;
  padding: 96px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-dark h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.cta-dark p {
  font-size: 17px;
  color: #A6A6A6;
  margin-bottom: 32px;
}

/* ═══════════ DOWNLOAD ═══════════ */
.download {
  padding: 96px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.download h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.download p {
  font-size: 17px;
  color: #545454;
  margin-bottom: 40px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #000000;
  color: #FFFFFF;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.store-btn:hover {
  background: #333333;
}

.store-icon {
  font-size: 28px;
}

.store-btn small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
}

.store-btn strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: #000000;
  color: #FFFFFF;
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333333;
}

.footer-logo {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -1px;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #A6A6A6;
  font-size: 14px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: #A6A6A6;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  text-align: center;
  color: #666666;
  font-size: 13px;
}

/* ═══════════ LANGUAGE SWITCHER (compact) ═══════════ */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
  height: 38px;
}

.lang-btn:hover {
  background: #F6F6F6;
  border-color: #CCC;
}

.lang-flag {
  font-size: 14px;
  line-height: 1;
}

.lang-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-chevron {
  color: #666;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  min-width: 150px;
  display: none;
  z-index: 1000;
}

.lang-switcher.open .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  line-height: 1.2;
}

.lang-option .flag {
  font-size: 18px;
  line-height: 1;
}

.lang-option:hover {
  background: #F3F3F3;
}

.lang-option.active {
  background: #000000;
  color: #FFFFFF;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

/* ═══════════ PAGE HERO (devenir-chauffeur) ═══════════ */
.page-hero {
  background: #000000;
  color: #FFFFFF;
  padding: 96px 24px;
  text-align: center;
}

.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.page-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #A6A6A6;
  margin-bottom: 40px;
}

/* ═══════════ PAGES LÉGALES ═══════════ */
.legal-page {
  padding: 64px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-inner h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.legal-date {
  color: #545454;
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-inner h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-inner h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-inner p,
.legal-inner li {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 12px;
}

.legal-inner ul,
.legal-inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-inner a {
  color: #000000;
  text-decoration: underline;
}

/* ═══════════ PAGE TRACK ═══════════ */
.track-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
}

.track-map {
  height: 100%;
  min-height: 500px;
  background: #F6F6F6;
}

.track-info {
  padding: 40px 32px;
  background: #FFFFFF;
}

.track-info h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.track-info p {
  font-size: 16px;
  color: #545454;
  margin-bottom: 8px;
}

.track-detail {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #F3F3F3;
}

/* ═══════════ DRIVER HERO ═══════════ */
.driver-hero {
  background: #FFFFFF;
  padding: 80px 24px;
}

.driver-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.driver-hero-text {
  max-width: 540px;
}

.driver-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #1688F5;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.driver-hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #000000;
  margin-bottom: 24px;
}

.driver-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #545454;
  margin-bottom: 40px;
}

.driver-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.driver-hero-image {
  background: #F6F6F6;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1145 / 1374;
  width: 100%;
  max-height: 560px;
  margin: 0 auto;
}

.driver-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ═══════════ STATS SECTION ═══════════ */
.stats-section {
  background: #000000;
  padding: 64px 24px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-card {
  color: #FFFFFF;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.stat-label {
  font-size: 14px;
  color: #A6A6A6;
  font-weight: 500;
}

/* ═══════════ WHY SECTION ═══════════ */
.why-section {
  padding: 96px 24px;
}

.why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform 0.2s;
}

.why-card:hover {
  transform: translateY(-4px);
}

.why-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #000000;
}

.why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #545454;
}

/* ═══════════ HOW SECTION (steps) ═══════════ */
.how-section {
  background: #F6F6F6;
  padding: 96px 24px;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.step-card {
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #000000;
}

.step-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #545454;
  max-width: 260px;
  margin: 0 auto;
}

/* ═══════════ CTA SIGNUP ═══════════ */
.cta-signup {
  padding: 96px 24px;
  text-align: center;
  background: #FFFFFF;
}

.cta-signup-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-signup h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #000000;
  margin-bottom: 16px;
}

.cta-signup p {
  font-size: 18px;
  color: #545454;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: none;
}

.btn-whatsapp:hover {
  background: #1EBE57;
}

.cta-note {
  font-size: 14px;
  color: #999999;
  margin-top: 8px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .nav-container {
    padding: 12px 16px;
    min-height: 56px;
  }

  .nav-logo {
    font-size: 22px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid #F3F3F3;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    gap: 0;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid #F3F3F3;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-burger {
    display: flex;
  }

  .btn-nav-outline {
    padding: 8px 14px;
    font-size: 13px;
  }

  .lang-btn {
    padding: 7px 10px;
    height: 36px;
  }

  /* Hero */
  .hero {
  grid-template-columns: 1fr;
  padding: 24px 0 24px 24px;
}
  .hero-inner { padding: 48px 24px; }
  .hero-title { font-size: 36px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 16px; }
  /* aucun min-height */

  .services-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .safety-inner { grid-template-columns: 1fr; gap: 32px; }

  .section-title, .safety-text h2, .cta-dark h2, .download h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Driver */
  .driver-hero { padding: 60px 24px; }
  .driver-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .driver-hero-title { font-size: 36px; letter-spacing: -1.5px; }
  .driver-hero-sub { font-size: 16px; }
  .driver-hero-image { max-height: 420px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-number { font-size: 32px; }
  .why-grid, .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-signup h2 { font-size: 32px; }
  .cta-signup p { font-size: 16px; }

  /* Pages */
  .page-title { font-size: 36px; }
  .legal-inner h1 { font-size: 32px; }
  .track-page { grid-template-columns: 1fr; }
  .track-map { min-height: 300px; }
}

@media (max-width: 500px) {
  .hero-title { font-size: 30px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .store-btn { padding: 12px 18px; }
  .lang-code { display: none; }
}