:root {
  --navy: #0F2440;
  --navy-light: #14325A;
  --orange: #F2941F;
  --green: #3E7A4C;
  --bg: #FAFAF8;
  --text: #12202F;
  --muted: #5A6B7A;
}

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Header */
.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6%;
}

.logo { font-size: 28px; font-weight: 800; letter-spacing: 1px; }
.logo-fd { color: var(--navy); }
.logo-e { color: var(--orange); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--orange); }

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger-btn span {
  width: 100%;
  height: 2px;
  background: var(--navy);
}

.btn-whatsapp-modal {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-whatsapp-modal:hover { background: var(--green); }

/* WhatsApp flottant */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 200;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float img { width: 32px; height: 32px; object-fit: contain; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 6% 60px;
  align-items: center;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 42px;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-sub { color: var(--muted); font-size: 17px; max-width: 480px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-tag {
  background: white;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 12px;
  border-radius: 20px;
}

.route-map svg { width: 100%; height: auto; }
.route-label { font-size: 13px; font-weight: 700; fill: var(--navy); font-family: monospace; }
.route-label-dest { fill: var(--green); }

/* How it works */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 6% 60px;
  border-top: 1px solid #E2E2DC;
  border-bottom: 1px solid #E2E2DC;
}

.step-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
}

/* Catalog */
.catalog { padding: 60px 6%; }
.catalog h2 { color: var(--navy); font-size: 28px; margin-bottom: 8px; }
.catalog-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.category-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.category-filter-btn {
  background: white;
  border: 1px solid #E2E2DC;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.category-filter-btn:hover { border-color: var(--navy); }
.category-filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.vehicle-card {
  background: white;
  border: 1px solid #E2E2DC;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(15,36,64,0.12); }
.vehicle-card.vendu img { filter: grayscale(60%); opacity: 0.7; }

.vehicle-card img { width: 100%; height: 170px; object-fit: cover; display: block; }

.vehicle-card-body { padding: 16px; }
.vehicle-card-body h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.vehicle-card-body .price { color: var(--orange); font-weight: 700; font-size: 18px; margin-bottom: 8px; }

.card-specs {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-family: monospace;
  flex-wrap: wrap;
}

.luxe-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #D4AF37, #B8860B);
  color: white;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}

.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  z-index: 2;
}
.status-disponible { background: var(--green); }
.status-vendu { background: #8A8A82; }

/* About */
.about {
  padding: 60px 6%;
  border-top: 1px solid #E2E2DC;
  max-width: 720px;
}
.about h2 { color: var(--navy); font-size: 28px; margin-bottom: 16px; }
.about p { color: var(--muted); font-size: 15px; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,36,64,0.75);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: white;
  border-radius: 8px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 3;
}

.modal-carousel { position: relative; background: var(--navy); }
.modal-carousel img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: var(--navy);
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
}
#carousel-prev { left: 12px; }
#carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.dot.active { background: var(--orange); }

.modal-info { padding: 24px; position: relative; }
.modal-info h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.modal-price { color: var(--orange); font-size: 24px; font-weight: 700; margin-bottom: 16px; }

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: monospace;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 30px 6%;
  background: var(--navy);
  color: white;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}
.site-footer a { color: white; }

/* Mobile */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr; }
  .modal-specs { grid-template-columns: 1fr; }
  .modal-carousel img { height: 240px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 20px rgba(15,36,64,0.12);
    z-index: 150;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 16px 6%;
    border-bottom: 1px solid #E2E2DC;
  }
  .burger-btn { display: flex; }

  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .category-filter-btn { flex-shrink: 0; }

  .vehicle-grid { grid-template-columns: 1fr; }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}