/* ===================================================================
   GAM Group — Grand Avenue Motors
   Feuille de style principale — Thème noir et blanc, sobre et moderne
   =================================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --grey-dark: #1f1f1f;
  --grey-mid: #4d4d4d;
  --grey-light: #8a8a8a;
  --grey-border: #2b2b2b;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --max-width: 1180px;
  --radius: 2px;
  --transition: 0.25s ease;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

p { color: var(--grey-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-light);
  border: 1px solid var(--grey-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo span { color: var(--grey-light); font-weight: 400; }

.logo-img {
  height: 150px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--off-white);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-cta { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 24px; height: 2px; background: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}
.btn-primary:hover { background: var(--off-white); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--grey-mid);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.06), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.04), transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--grey-light);
  margin: 22px 0 36px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--grey-border);
}
.hero-stats div strong {
  display: block;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 800;
}
.hero-stats div span {
  font-size: 0.82rem;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-border { border-bottom: 1px solid var(--grey-border); }
.section-alt { background: var(--black-soft); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Steps (comment ça marche) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  background: var(--black);
  transition: border-color var(--transition), transform var(--transition);
}
.step:hover { border-color: var(--grey-mid); transform: translateY(-4px); }

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--grey-border);
  line-height: 1;
  margin-bottom: 20px;
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.94rem; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--grey-border);
  border: 1px solid var(--grey-border);
}

.feature {
  background: var(--black);
  padding: 36px 28px;
}

.feature h3 { font-size: 1.05rem; }
.feature p { font-size: 0.9rem; }

.flag-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--grey-border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
.flag-icon svg { width: 100%; height: 100%; display: block; }

.feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--grey-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
}

/* ---------- Why us / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-list { margin-top: 28px; }
.split-list li {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-border);
  color: var(--off-white);
  font-size: 0.98rem;
}
.split-list li:last-child { border-bottom: none; }
.split-list li .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.split-media {
  aspect-ratio: 4/3;
  border: 1px solid var(--grey-border);
  background: linear-gradient(135deg, var(--grey-dark), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 28px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
}
.testimonial .stars { color: var(--white); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p.quote {
  color: var(--off-white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial .author { font-size: 0.85rem; color: var(--grey-light); }
.testimonial .author strong { color: var(--white); display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--grey-border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-question .plus {
  font-size: 1.4rem;
  color: var(--grey-light);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.faq-answer p { padding-bottom: 22px; font-size: 0.94rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}
.cta-banner h2 { max-width: 700px; margin: 0 auto 18px; }
.cta-banner p { max-width: 560px; margin: 0 auto 36px; }
.cta-banner .hero-cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.92rem; }
.contact-info-item a { color: var(--off-white); }
.contact-info-item a:hover { color: var(--white); text-decoration: underline; }

form.contact-form {
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-light);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--grey-border);
  color: var(--white);
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.8rem; color: var(--grey-mid); }
.form-status { font-size: 0.88rem; min-height: 1.2em; }

.field-consent { margin-top: -4px; }
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.consent-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  min-width: 19px;
  margin-top: 2px;
  border: 1.5px solid var(--grey-border);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.consent-row input[type="checkbox"]:checked {
  background: var(--black);
  border-color: var(--white);
}
.consent-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent-label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--grey-mid);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

/* ---------- Footer ---------- */
footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--grey-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--grey-light); font-size: 0.92rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col li { color: var(--grey-light); font-size: 0.92rem; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; margin-top: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--grey-border);
  font-size: 0.82rem;
  color: var(--grey-mid);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  border-top: 1px solid var(--grey-border);
  padding: 12px 16px;
  display: none;
  gap: 10px;
}
.sticky-cta .btn { flex: 1; }

/* ---------- Vehicles page (réutilisable si besoin) ---------- */
.page-hero {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--grey-border);
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-bottom: 1px solid var(--grey-border);
}
.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--grey-border);
  border-radius: 999px;
  background: transparent;
  color: var(--grey-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--grey-mid); color: var(--white); }
.filter-btn.active { background: var(--white); color: var(--black); border-color: var(--white); }

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 56px 0;
}

.vehicle-card {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-soft);
  transition: transform var(--transition), border-color var(--transition);
}
.vehicle-card:hover { transform: translateY(-6px); border-color: var(--grey-mid); }

.vehicle-media {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--grey-dark), #050505);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-mid);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
}
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; }

.vehicle-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
}

.vehicle-body { padding: 22px; }
.vehicle-body h3 { margin-bottom: 6px; }
.vehicle-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--grey-light);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-border);
}
.vehicle-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.vehicle-price strong { font-size: 1.4rem; color: var(--white); }
.vehicle-price span { font-size: 0.78rem; color: var(--grey-mid); text-transform: uppercase; }

.vehicle-cta { display: flex; gap: 10px; }
.vehicle-cta .btn { flex: 1; padding: 11px 14px; font-size: 0.85rem; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--grey-light);
}

.admin-note {
  background: var(--black-soft);
  border: 1px dashed var(--grey-mid);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 0.86rem;
  color: var(--grey-light);
}
.admin-note strong { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .logo-img { height: 112px; }
  .nav-links { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--grey-border);
    padding: 4px 24px 20px;
    box-shadow: 0 16px 28px rgba(0,0,0,0.45);
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey-border);
  }
  .nav-links li:last-child a:not(.btn) { border-bottom: none; }
  .nav-links li a.btn { width: 100%; margin: 12px 0 6px; }
  .burger { display: flex; }
  .logo-img { height: 84px; }
  section { padding: 60px 0; }
  .hero { padding: 80px 0 56px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { flex: 1; width: 100%; }
  .features { grid-template-columns: 1fr; }
  .steps { gap: 20px; }
  .split-media { aspect-ratio: 16/10; }
  .testimonials { gap: 16px; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  body.menu-open .sticky-cta { display: none; }
  body { padding-bottom: 76px; }
  .cta-banner .hero-cta { flex-direction: column; align-items: stretch; }
}

@media (max-width: 380px) {
  .logo-img { height: 66px; }
  h1 { font-size: 2.1rem; }
}
