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

:root {
  --gold: #C9A84C;
  --gold-light: #E4C97E;
  --gold-dark: #8B6914;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --dark3: #242424;
  --white: #FFFFFF;
  --off-white: #F5F3EE;
  --gray: #8A8A8A;
  --light-bg: #F9F7F3;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --nav-h: 72px;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
  min-width: 0; overflow: hidden;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400;
  color: var(--white);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.nav-logo .logo-icon { color: var(--gold); font-size: 1rem; }
.nav-logo em { color: var(--gold); font-style: italic; }

.nav-links {
  list-style: none;
  display: flex; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.btn-phone {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-phone:hover { background: var(--gold-light); }

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

/* ===== HERO ===== */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}



.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.75) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 0 1.5rem;
  animation: heroIn 1.2s cubic-bezier(0.2,0,0,1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold-light);
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 1.5rem;
}

#hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 1.25rem;
}
#hero h1 em { color: var(--gold); font-style: italic; }

.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-whatsapp {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 400;
  transition: border-color var(--transition), background var(--transition);
}
.btn-whatsapp:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark);
  display: flex; justify-content: center; align-items: center;
  padding: 2rem 2rem; gap: 0; flex-wrap: wrap;
}
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0.5rem 3rem; text-align: center;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 400; color: var(--gold);
}
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-sep { width: 1px; height: 48px; background: rgba(201,168,76,0.2); }

/* ===== SECTION ===== */
.section { padding: 6rem 0; }
.section-dark { background: var(--dark); }
.section-light-alt { background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { margin-bottom: 3.5rem; }
.section-header.light h2, .section-header.light { color: var(--white); }
.section-header.light .section-tag { color: var(--gold-light); border-color: rgba(201,168,76,0.3); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dark); border: 1px solid rgba(201,168,76,0.3);
  padding: 4px 14px; border-radius: 100px; margin-bottom: 1rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 300; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--dark);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5px;
  border: 1.5px solid #E5E2DC; border-radius: var(--radius-lg); overflow: hidden;
}
.service-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-right: 1.5px solid #E5E2DC;
  border-bottom: 1.5px solid #E5E2DC;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* Image voiture cachée par défaut */
.service-car-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.45s ease, transform 0.45s ease;
  z-index: 0;
}
/* Overlay sombre sur l'image */
.service-car-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Contenu au-dessus de l'image */
.service-card .service-icon,
.service-card h3,
.service-card p {
  position: relative; z-index: 1;
  transition: color 0.35s ease;
}

/* Au survol : image visible */
.service-card:hover .service-car-img {
  opacity: 1;
  transform: scale(1);
}
.service-card:hover h3 { color: var(--white); }
.service-card:hover p  { color: rgba(255,255,255,0.8); }

.service-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--dark); }
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ===== BOOKING FORM ===== */
.booking-form {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 860px; margin: 0 auto;
}
.form-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  padding: 10px 14px;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group select option { background: var(--dark2); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }

.form-actions { margin-top: 1.75rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.btn-submit {
  background: var(--gold);
  color: var(--black);
  border: none; cursor: pointer;
  padding: 14px 36px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.form-note a { color: var(--gold); border-bottom: 1px solid rgba(201,168,76,0.3); }

.field-error { border-color: #E24B4A !important; }
.error-msg { font-size: 0.78rem; color: #F09595; margin-top: 2px; }
.alert-success {
  background: rgba(29,158,117,0.15); border: 1px solid rgba(29,158,117,0.4);
  color: #5DCAA5; border-radius: var(--radius);
  padding: 1rem 1.5rem; margin-bottom: 1.5rem;
  max-width: 860px; margin-left: auto; margin-right: auto;
  font-size: 0.9375rem;
}

/* ===== FLEET ===== */
.fleet-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem;
}
.fleet-card {
  border: 1px solid #E5E2DC; border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.fleet-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.12); transform: translateY(-3px); }
.fleet-card.featured { border-color: var(--gold); }
.fleet-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold); color: var(--black);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 100px; text-transform: uppercase; z-index: 1;
}
.fleet-img {
  height: 200px;
  overflow: hidden;
  background: #1C1C1C;
}
.fleet-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.fleet-card:hover .fleet-img img { transform: scale(1.05); }
.fleet-img-berline { background-color: #1C1C1C; }
.fleet-img-van     { background-color: #141414; }
.fleet-img-suv     { background-color: #181818; }
.fleet-info { padding: 1.5rem; }
.fleet-info h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.fleet-info > p { font-size: 0.85rem; color: var(--gray); margin-bottom: 1rem; }
.fleet-info ul { list-style: none; margin-bottom: 1.5rem; }
.fleet-info ul li {
  font-size: 0.875rem; color: var(--gray); padding: 4px 0;
  border-bottom: 1px solid #F0EDE8;
}
.fleet-info ul li::before { content: "— "; color: var(--gold); }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--dark);
  color: var(--dark); padding: 9px 22px;
  border-radius: var(--radius); font-size: 0.875rem;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }
.fleet-card.featured .btn-outline { border-color: var(--gold); color: var(--gold-dark); }
.fleet-card.featured .btn-outline:hover { background: var(--gold); color: var(--black); }

/* ===== TESTIMONIALS ===== */
.testimonials-slider { max-width: 680px; margin: 0 auto 2rem; min-height: 160px; }
.testimonial { display: none; text-align: center; animation: fadeIn 0.5s ease; }
.testimonial.active { display: block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 1.25rem; }
blockquote { font-family: var(--font-display); font-size: 1.35rem; font-weight: 300; line-height: 1.65; color: var(--dark); font-style: italic; margin-bottom: 1rem; }
cite { font-size: 0.85rem; color: var(--gray); }
.slider-dots { display: flex; justify-content: center; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #D5D0C8; border: none; cursor: pointer;
  transition: background var(--transition);
}
.dot.active { background: var(--gold); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 4rem; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.75rem); font-weight: 300; margin: 1rem 0 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { font-size: 1.25rem; width: 40px; height: 40px; background: var(--light-bg); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: 1rem; color: var(--dark); }
.contact-item a:hover { color: var(--gold-dark); }
.contact-map { height: 360px; background: var(--light-bg); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); font-size: 0.95rem; line-height: 1.7; border: 1px dashed #D5D0C8; }

/* ===== FOOTER ===== */
footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 0.75rem; }
.footer-logo em { color: var(--gold); font-style: italic; }
footer p { font-size: 0.875rem; line-height: 1.7; }
footer h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; font-weight: 400; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
footer ul li a { font-size: 0.875rem; transition: color var(--transition); }
footer ul li a:hover { color: var(--gold-light); }
.footer-phone { display: block; color: var(--gold); font-size: 1.2rem; font-family: var(--font-display); margin-bottom: 0.75rem; }
.footer-wa { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-wa:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }

/* ===== FAB ===== */
.fab-call {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transition: background var(--transition), transform var(--transition);
  animation: fabPop 0.5s 1s cubic-bezier(0.34,1.56,0.64,1) both;
}
.fab-call:hover { background: var(--gold-light); transform: scale(1.08); }
@keyframes fabPop { from{scale:0;opacity:0} to{scale:1;opacity:1} }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(10,10,10,0.98); padding: 1.5rem 2rem; gap: 1rem; }
  .nav-cta.open { display: block; padding: 0 2rem 1.5rem; background: rgba(10,10,10,0.98); }
  .nav-toggle { display: flex; }
  .stats-bar { flex-direction: column; gap: 1rem; }
  .stat-sep { width: 48px; height: 1px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════ */
/* FAQ SECTION                                      */
/* ═══════════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  margin: 0;
  line-height: 1.5;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ═══════════════════════════════════════════════ */
/* SECURITY BADGE                                   */
/* ═══════════════════════════════════════════════ */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(29,158,117,0.12);
  border: 1px solid rgba(29,158,117,0.4);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: #1D9E75;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════ */
/* SKIP LINK ACCESSIBILITÉ                          */
/* ═══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--black);
  padding: 8px 16px;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s;
  font-family: var(--font-body);
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════ */
/* FORM — AMÉLIORATIONS ACCESSIBILITÉ              */
/* ═══════════════════════════════════════════════ */
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════ */
/* FOOTER — LIENS LÉGAUX                           */
/* ═══════════════════════════════════════════════ */
.footer-bottom a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
