/* =============================================
   L'USINE AUTOMOBILES — Stylesheet
   Palette : #0a0a0a | #82a084 | #a5c4a6 | #353535
   ============================================= */

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

:root {
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-card:  #181818;
  --grey:       #353535;
  --grey-light: #555555;
  --grey-muted: #888888;
  --green:      #82a084;
  --green-light:#a5c4a6;
  --green-dark: #5e7860;
  --white:      #ffffff;
  --off-white:  #e8e8e8;
  --gold:       #d4a853;

  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.3s ease;

  --max-w:      1200px;
  --section-pad: 96px 24px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-primary {
  background: var(--green);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(130,160,132,0.3);
}
.btn-outline {
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-sm:hover {
  background: var(--green);
  color: var(--black);
}

/* ---- SECTION COMMONS ---- */
.section { padding: var(--section-pad); }
.section-dark { background: var(--dark); }
.section-container { max-width: var(--max-w); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  position: relative;
}
.section-tag::before,
.section-tag::after {
  content: '—';
  margin: 0 8px;
  opacity: 0.5;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--grey-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: auto;
  filter: invert(0);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--green); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 8px 22px;
  background: var(--green);
  color: var(--black) !important;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-light); color: var(--black) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(130,160,132,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(130,160,132,0.04) 0%, transparent 60%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2382a084' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-logo-wrap {
  margin-bottom: 32px;
}
.hero-logo {
  height: 120px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(130,160,132,0.3));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(18px, 3vw, 24px);
  letter-spacing: 0.25em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--grey-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 20px;
  border-radius: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--grey);
  padding: 0 24px;
  border-top: 1px solid rgba(130,160,132,0.15);
  border-bottom: 1px solid rgba(130,160,132,0.15);
}
.stats-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 0;
  flex-wrap: wrap;
  gap: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--green);
  line-height: 1;
}
.stat-plus { font-size: 0.6em; }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.7;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* =============================================
   FILTERS
   ============================================= */
.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  align-items: center;
}
.filter-select {
  padding: 10px 40px 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  color: var(--off-white);
  cursor: pointer;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2382a084' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  min-width: 160px;
}
.filter-select option { background: var(--dark-card); color: var(--off-white); }
.filter-select:hover { border-color: var(--green); }
.filter-select:focus { outline: none; border-color: var(--green); background-color: rgba(130,160,132,0.06); }
.filter-reset {
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-muted);
  transition: var(--transition);
  background: transparent;
}
.filter-reset:hover { border-color: rgba(220,80,80,0.5); color: #e07070; }

/* =============================================
   VEHICLES GRID
   ============================================= */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.vehicle-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.vehicle-card:hover {
  border-color: rgba(130,160,132,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.vehicle-card.hidden { display: none; }

.vehicle-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grey);
}
.vehicle-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vehicle-img-placeholder svg { width: 100%; height: 100%; }
.vehicle-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-img-placeholder.sport  { background: linear-gradient(135deg, #0f1a0f 0%, #1a2a1a 100%); }
.vehicle-img-placeholder.youngtimer { background: linear-gradient(135deg, #0f1a18 0%, #1a2a28 100%); }
.vehicle-img-placeholder.ancienne   { background: linear-gradient(135deg, #1a180a 0%, #2a2510 100%); }
.vehicle-img-placeholder.daily      { background: linear-gradient(135deg, #0a111a 0%, #0f1e2a 100%); }

.vehicle-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vehicle-badge.sportive  { background: rgba(130,160,132,0.2); color: var(--green-light); border: 1px solid var(--green); }
.vehicle-badge.youngtimer { background: rgba(165,196,166,0.15); color: var(--green-light); border: 1px solid var(--green-light); }
.vehicle-badge.ancienne  { background: rgba(212,168,83,0.15); color: var(--gold); border: 1px solid var(--gold); }
.vehicle-badge.daily     { background: rgba(100,150,180,0.15); color: #8ABBE0; border: 1px solid rgba(100,150,180,0.45); }

.vehicle-info { padding: 20px 22px 22px; }
.vehicle-name {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 4px;
}
.vehicle-detail { font-size: 13px; color: var(--grey-muted); margin-bottom: 12px; }
.vehicle-specs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.vehicle-specs span {
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  font-size: 12px;
  color: var(--grey-muted);
}
.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vehicle-price {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--green-light);
  letter-spacing: 0.02em;
}

.stock-cta {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stock-cta p { color: var(--grey-muted); margin-bottom: 20px; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(130,160,132,0.3);
  transform: translateY(-4px);
}
.service-featured {
  border-color: var(--green);
  background: linear-gradient(145deg, var(--dark-card), rgba(130,160,132,0.05));
}
.service-badge-top {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 40px;
  white-space: nowrap;
}
.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: var(--grey-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-list {
  margin-bottom: 24px;
}
.service-list li {
  font-size: 13px;
  color: var(--off-white);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li::before {
  content: '→';
  color: var(--green);
  flex-shrink: 0;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green);
  text-transform: uppercase;
  transition: var(--transition);
}
.service-link:hover { color: var(--green-light); letter-spacing: 0.1em; }

.rdv-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(130,160,132,0.08);
  border: 1px solid rgba(130,160,132,0.25);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-wrap: wrap;
}
.rdv-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}
.rdv-content strong {
  display: block;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}
.rdv-content p { font-size: 14px; color: var(--grey-muted); line-height: 1.6; }

/* =============================================
   À PROPOS
   ============================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-img-frame {
  background: var(--dark-card);
  border: 1px solid rgba(130,160,132,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(130,160,132,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.about-logo-large {
  width: 80%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(130,160,132,0.2));
  position: relative;
  z-index: 1;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-quote {
  background: var(--dark-card);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.about-quote blockquote {
  font-size: 15px;
  font-style: italic;
  color: var(--grey-muted);
  line-height: 1.7;
}

.about-text .section-tag { text-align: left; }
.about-text .section-tag::before { display: none; }
.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 15px;
  color: var(--grey-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--off-white);
}
.value-icon {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   VÉHICULES VENDUS
   ============================================= */
.sold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.sold-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.sold-card:hover { border-color: rgba(130,160,132,0.2); }

.sold-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.sold-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
}
.sold-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(60%);
}
.sold-img-placeholder svg { width: 100%; height: 100%; }
.sold-img-placeholder.p1 { background: linear-gradient(135deg, #0f1a0f, #1a2a1a); }
.sold-img-placeholder.p2 { background: linear-gradient(135deg, #0f1618, #1a2428); }
.sold-img-placeholder.p3 { background: linear-gradient(135deg, #1a160a, #2a2210); }
.sold-img-placeholder.p4 { background: linear-gradient(135deg, #0e180e, #1a281a); }
.sold-img-placeholder.p5 { background: linear-gradient(135deg, #101618, #182022); }
.sold-img-placeholder.p6 { background: linear-gradient(135deg, #18140a, #28200a); }

.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sold-overlay span {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.2em;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 6px 20px;
  opacity: 0.6;
}
.sold-info {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sold-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.sold-info span {
  font-size: 12px;
  color: var(--grey-muted);
}
.sold-note {
  text-align: center;
  font-size: 13px;
  color: var(--grey-muted);
  font-style: italic;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-block strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.contact-block p { font-size: 14px; color: var(--grey-muted); line-height: 1.6; }

.rdv-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(130,160,132,0.08);
  border: 1px solid rgba(130,160,132,0.2);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 8px;
}
.rdv-note p { font-size: 13px; color: var(--grey-muted); line-height: 1.6; }
.rdv-note strong { color: var(--green-light); }

.contact-link {
  color: var(--green-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--white); }

/* FORM */
.contact-form {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  transition: border-color var(--transition);
  resize: none;
  -webkit-appearance: none;
}
.form-group select option { background: var(--dark-card); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(130,160,132,0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-mention {
  font-size: 12px;
  color: var(--grey-muted);
  text-align: center;
  margin-top: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 24px 0;
}
.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-logo p { font-size: 14px; color: var(--grey-muted); line-height: 1.6; }
.footer-links h4,
.footer-services h4,
.footer-social h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul,
.footer-services ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a,
.footer-services li {
  font-size: 14px;
  color: var(--grey-muted);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--green); }

.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--grey-muted);
  transition: color var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--grey-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--grey-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--green); }

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--green);
  color: var(--black);
  padding: 16px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 18px; }

/* =============================================
   ANIMATIONS ON SCROLL
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 14px 32px; width: 100%; font-size: 14px; }
  .nav-cta {
    margin: 8px 32px;
    padding: 12px 32px;
    display: block;
    text-align: center;
    border-radius: 4px;
  }
  .nav-burger { display: flex; }

  .hero-logo { height: 90px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .stats-container { gap: 20px; }
  .stat-divider { display: none; }

  .vehicles-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .sold-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-select { min-width: unset; width: 100%; border-radius: 8px; }
  .filter-reset { border-radius: 8px; width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .rdv-banner { flex-direction: column; padding: 28px 24px; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sold-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: 12px; }
}

/* ── Bandeau cookies ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 720px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: none;
}
.cookie-banner.visible { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-content p {
  flex: 1;
  font-size: 13px;
  color: var(--grey-muted);
  line-height: 1.6;
  min-width: 200px;
}
.cookie-content p a { color: var(--green-light); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.cookie-accept {
  background: var(--green);
  color: var(--white);
}
.cookie-accept:hover { background: var(--green-light); }
.cookie-refuse {
  background: transparent;
  color: var(--grey-muted);
  border: 1px solid rgba(255,255,255,0.15) !important;
}
.cookie-refuse:hover { color: var(--white); border-color: rgba(255,255,255,0.3) !important; }
@media (max-width: 600px) {
  .cookie-banner { bottom: 16px; width: calc(100% - 32px); padding: 16px; }
  .cookie-content { flex-direction: column; gap: 14px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}
