/* ═══════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --white:      #FFFFFF;
  --black:      #0A0A0A;
  --grey-light: #F5F5F3;
  --grey-mid:   #E8E8E5;
  --grey-text:  #6B6B6B;
  --gold:       #C9A84C;
  --gold-dark:  #A88830;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:      1360px;
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; }

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--grey-text);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}

.section-title strong { font-weight: 600; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}
.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--grey-mid);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color var(--transition);
}

.nav.scrolled .nav__logo { color: var(--black); }

.nav__logo-mark {
  color: var(--gold);
  font-size: 0.6rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
}

.nav.scrolled .nav__links a { color: var(--black); }

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 24px !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  border-radius: 2px;
  font-weight: 500 !important;
}
.nav__cta:hover { background: var(--gold-dark) !important; }
.nav__cta::after { display: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.nav.scrolled .nav__burger span { background: var(--black); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 20px 40px 30px;
  border-top: 1px solid var(--grey-mid);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav__mobile a {
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 400;
  border-bottom: 1px solid var(--grey-mid);
  color: var(--black);
}
.nav__mobile a:last-child { border-bottom: none; color: var(--gold); font-weight: 500; }
.nav__mobile.open { display: flex; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Placeholder — remplacer par une vraie image Mercedes C-Class */
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #0d0d0d 70%, #050505 100%);
}

/* Texture simulant la carrosserie noire */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

/* Lumière de phare simulée */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 45%, rgba(255,255,255,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.04) 0%, transparent 35%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}

.hero__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero__sub {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: fadeInUp 1s 1.5s both;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.6); opacity: 0.8; }
}

/* Staggered reveal delays for hero */
.hero__content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.55s; }

/* ═══════════════════════════════════════════
   TRUST SIGNALS
═══════════════════════════════════════════ */
.trust {
  padding: 60px 0;
  border-bottom: 1px solid var(--grey-mid);
}

.trust__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 60px;
  flex: 1;
  justify-content: center;
}

.trust__item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust__item p {
  font-size: 0.8rem;
  color: var(--grey-text);
}

.trust__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-mid);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.trust__divider {
  width: 1px;
  height: 60px;
  background: var(--grey-mid);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 64px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  border: 1px solid var(--grey-mid);
}

.services__card {
  background: var(--white);
  padding: 40px 32px;
  transition: background var(--transition);
}

.services__card:hover {
  background: var(--grey-light);
}

.services__card-icon {
  color: var(--gold);
  margin-bottom: 24px;
}

.services__card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.services__card p {
  font-size: 0.8rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.services__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--black);
  position: relative;
  display: inline-block;
}

.services__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.services__card:hover .services__link::after { width: 100%; }

/* ═══════════════════════════════════════════
   ZONE GÉOGRAPHIQUE
═══════════════════════════════════════════ */
.zone {
  padding: 120px 0;
  background: var(--grey-light);
}

.zone__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.zone__desc {
  font-size: 0.95rem;
  color: var(--grey-text);
  line-height: 1.8;
  margin: 24px 0 32px;
  max-width: 460px;
}

.zone__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 40px;
}

.zone__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--black);
}

.zone__list em {
  font-size: 0.75rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

.zone__dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.zone__map {
  display: flex;
  justify-content: center;
}

.zone__map-bg {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 4px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
}

.zone__map-svg {
  width: 100%;
  height: auto;
}

.zone__map-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-top: 20px;
}

/* ═══════════════════════════════════════════
   VÉHICULE
═══════════════════════════════════════════ */
.vehicle {
  /* Aucun padding — la section prend toute la largeur */
}

.vehicle__image {
  height: 70vh;
  min-height: 480px;
}

.vehicle__image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1c 50%, #080808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reflet sol simulé */
.vehicle__image-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(201,168,76,0.04), transparent);
}

.vehicle__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.1) 100%
  );
}

.vehicle__image-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
}

.vehicle__specs {
  background: var(--black);
  padding: 40px 0;
}

.vehicle__specs-grid {
  display: flex;
  gap: 0;
  justify-content: center;
}

.vehicle__spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.vehicle__spec:last-child { border-right: none; }
.vehicle__spec svg { color: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  padding: 120px 0;
  text-align: center;
}

.cta-section__inner { max-width: 640px; margin: 0 auto; }

.cta-section__sub {
  font-size: 0.85rem;
  color: var(--grey-text);
  letter-spacing: 0.06em;
  margin: 20px 0 40px;
}

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

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .footer__logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}

.footer__links-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links a,
.footer__contact a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover { color: var(--gold); }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5) !important;
  transition: all var(--transition) !important;
  margin-bottom: 0 !important;
}

.footer__social a:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  transition: color var(--transition);
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════
   WHATSAPP BUTTON
═══════════════════════════════════════════ */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 4s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  animation: none;
}

@keyframes whatsappPulse {
  0%, 70%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  35% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav__links { gap: 24px; }
  .trust__item { padding: 0 30px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .services__card:nth-child(4),
  .services__card:nth-child(5) { grid-column: span 1; }
  .zone__inner { grid-template-columns: 1fr; gap: 48px; }
  .zone__map { display: none; }
  .vehicle__spec { padding: 20px 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 24px; }

  /* Nav */
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 0 24px; }

  /* Hero */
  .hero__content { padding: 120px 24px 80px; }
  .hero__title { font-size: 2.4rem; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { justify-content: center; }
  .hero__scroll { display: none; }

  /* Trust */
  .trust { padding: 40px 0; }
  .trust__grid { flex-direction: column; gap: 0; }
  .trust__item { padding: 24px; border-bottom: 1px solid var(--grey-mid); justify-content: flex-start; }
  .trust__divider { display: none; }

  /* Services */
  .services { padding: 80px 0; }
  .services__grid { grid-template-columns: 1fr; }

  /* Zone */
  .zone { padding: 80px 0; }
  .zone__list { grid-template-columns: 1fr; }

  /* Vehicle */
  .vehicle__image { height: 55vh; }
  .vehicle__specs-grid { flex-direction: column; }
  .vehicle__spec { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 24px; }
  .vehicle__spec:last-child { border-bottom: none; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-section__actions { flex-direction: column; align-items: center; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer__legal { justify-content: center; }

  /* WhatsApp */
  .whatsapp-btn { bottom: 20px; right: 20px; }

  /* Sticky phone bar mobile */
  body::after {
    content: none;
  }
}

/* Mobile sticky phone bar */
@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .trust__item { gap: 12px; }
  .trust__item strong { font-size: 0.85rem; }
}
