/* ============================================
   ATOLIER CLASS CAR — Refonte design
   ============================================ */

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --black-elev: #1c1c1c;
  --gray-900: #222;
  --gray-700: #4a4a4a;
  --gray-500: #8a8a8a;
  --gray-300: #d6d6d6;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  --yellow: #ffd60a;
  --yellow-dark: #e6c000;
  --red: #e63946;
  --green: #22c55e;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --container: 1240px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.18);

  --font-display: 'Anton', 'Oswald', 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
h1 { font-size: clamp(40px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h4 { font-size: 20px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  display: inline-block;
}
.eyebrow.dark { color: var(--gray-700); }

.highlight { color: var(--yellow); }
.lead { font-size: 18px; color: var(--gray-700); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gray-900); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: height .2s;
}
/* Hamburger button (mobile only) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle span {
  position: relative;
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .25s, opacity .15s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .25s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer backdrop */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 49;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* Hidden by default — shown in the mobile drawer only */
.mobile-only { display: none !important; }
.footer .logo {
  background: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  display: inline-flex;
  margin-bottom: 24px;
}
.footer .logo img { height: 96px; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--yellow-dark); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
}
.nav-cta { display: flex; gap: 14px; align-items: center; }
.phone-link {
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.phone-link svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.3) 100%);
}
/* Tuned overlay for the showroom Mustang photo — keeps left text legible, lets the car shine */
.hero-bg-showroom { background-position: center 40%; }
.hero-bg-showroom::after {
  background:
    linear-gradient(95deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.45) 100%),
    radial-gradient(ellipse at 70% 60%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 70%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 100px; width: 100%; }
.hero h1 { max-width: 900px; margin-bottom: 24px; }
.hero p { max-width: 560px; font-size: 18px; color: var(--gray-300); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-num { font-family: var(--font-display); font-size: 48px; color: var(--yellow); line-height: 1; }
.stat-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-300); margin-top: 8px; }

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  position: relative;
  padding: 120px 0 80px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.page-header-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
}
.page-header-inner { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--yellow); }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-soft { background: var(--gray-100); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head.left { text-align: left; margin: 0 0 56px; }
.section-head p { color: var(--gray-700); font-size: 17px; margin-top: 16px; }
.section-dark .section-head p { color: var(--gray-300); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--gray-100);
  padding: 32px 0;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gray-700);
}
.trust-item svg { width: 28px; height: 28px; color: var(--black); flex-shrink: 0; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.service-card .icon {
  width: 56px; height: 56px;
  background: var(--yellow);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.service-card .icon svg { width: 28px; height: 28px; color: var(--black); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray-700); font-size: 15px; }
.service-card .link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--black);
}
.service-card .link svg { width: 14px; transition: transform .2s; }
.service-card:hover .link svg { transform: translateX(4px); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  background-size: cover; background-position: center;
  margin-bottom: 20px;
  filter: grayscale(40%);
  transition: filter .3s;
}
.team-card:hover .team-photo { filter: grayscale(0%); }
.team-name { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.team-role { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin-top: 4px; }

/* ---------- Realisations / Before-After ---------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.filter-chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--black); }
.filter-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.realisation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.realisation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.before-after {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}
.before-after .img-before,
.before-after .img-after {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.before-after .img-after { clip-path: inset(0 0 0 50%); transition: clip-path .05s linear; }
.before-after .slider-line {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 2px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.before-after .slider-handle {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  pointer-events: none;
}
.before-after .slider-handle svg { width: 22px; color: var(--black); }
.before-after .badge {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  pointer-events: none;
}
.before-after .badge-before { left: 16px; background: rgba(0,0,0,0.7); color: var(--white); }
.before-after .badge-after { right: 16px; background: var(--yellow); color: var(--black); }

.realisation-body { padding: 24px 28px 28px; }
.realisation-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 8px;
}
.realisation-body h3 { margin-bottom: 8px; }
.realisation-body p { color: var(--gray-700); font-size: 15px; }
.realisation-meta {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-700);
}
.realisation-meta span { display: flex; align-items: center; gap: 6px; }

/* ---------- Steps / Savoir-faire timeline ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.step {
  background: var(--black-elev);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
}
.step h4 { color: var(--white); margin-bottom: 8px; }
.step p { color: var(--gray-300); font-size: 14px; }

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 80px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-300);
}
.timeline-item {
  position: relative;
  padding-left: 140px;
  padding-bottom: 64px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-day {
  position: absolute;
  left: 0; top: 0;
  width: 64px; text-align: center;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-700);
}
.timeline-day strong {
  display: block;
  font-size: 36px;
  color: var(--black);
  margin-top: 2px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 74px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--yellow);
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.timeline-content h3 { margin-bottom: 8px; }
.timeline-content p { color: var(--gray-700); }
.timeline-img {
  margin-top: 20px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  background-size: cover; background-position: center;
}

/* ---------- Video block ---------- */
.video-section {
  background: var(--gray-100);
  padding: 100px 0;
  position: relative;
}
.video-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.video-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--black);
}
.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.4));
  transition: opacity .3s;
  border: none;
  width: 100%; height: 100%;
}
.video-play-btn.hidden { opacity: 0; pointer-events: none; }
.video-play-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform .25s ease;
}
.video-play-btn:hover .video-play-circle { transform: scale(1.08); }
.video-play-circle svg { width: 36px; color: var(--black); margin-left: 6px; }
.video-caption {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 10px;
  pointer-events: none;
  transition: opacity .3s;
}
.video-caption.hidden { opacity: 0; }
.video-caption::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

/* ---------- Testimonials ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--black-elev);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
}
.review-stars {
  color: var(--yellow);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-text {
  color: var(--gray-300);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid; place-items: center;
  font-weight: 700;
}
.review-name { font-weight: 700; color: var(--white); font-size: 15px; }
.review-source { font-size: 12px; color: var(--gray-500); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--yellow);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { max-width: 700px; margin-bottom: 12px; }
.cta-banner p { font-size: 18px; max-width: 600px; margin-bottom: 32px; }
.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-flex > div { flex: 1; }

/* ---------- About / Story ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.about-content h2 { margin-bottom: 24px; }
.about-content p { color: var(--gray-700); margin-bottom: 16px; font-size: 17px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info { padding: 16px 0; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { color: var(--gray-700); margin-bottom: 32px; max-width: 420px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-100);
}
.contact-item:last-child { border-bottom: 1px solid var(--gray-100); }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--black);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; color: var(--yellow); }
.contact-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 2px; }
.contact-value { font-weight: 700; font-size: 17px; }
.contact-value a:hover { color: var(--yellow-dark); }

.form {
  background: var(--gray-100);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form button { width: 100%; justify-content: center; }

/* Consentement RGPD du formulaire */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--black);
}
.form-consent label {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--gray-700);
  cursor: pointer;
}
.form-consent label a {
  color: var(--black);
  text-decoration: underline;
}

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--gray-100);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Legal / Long-form prose ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-900);
}
.legal-content h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  color: var(--black);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 700;
}
.legal-content p { margin-bottom: 16px; color: var(--gray-700); }
.legal-content strong { color: var(--black); }
.legal-content ul, .legal-content ol {
  margin: 12px 0 20px 20px;
  color: var(--gray-700);
}
.legal-content li { margin-bottom: 8px; }
.legal-content a {
  color: var(--black);
  border-bottom: 1.5px solid var(--yellow);
  transition: background .2s;
}
.legal-content a:hover { background: var(--yellow); }
.legal-content .info-box {
  background: var(--gray-100);
  border-left: 4px solid var(--yellow);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.legal-content .info-box p:last-child { margin-bottom: 0; }
.legal-content .placeholder {
  background: #fff3a8;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.legal-toc {
  background: var(--gray-100);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}
.legal-toc h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 12px;
}
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.legal-toc li { margin-bottom: 6px; font-size: 14px; }
.legal-toc a { color: var(--gray-700); border: none; }
.legal-toc a:hover { color: var(--black); background: transparent; }
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer h5 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer p { font-size: 14px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-500);
}
.socials { display: flex; gap: 12px; margin-top: 16px; }
.social {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background .2s;
}
.social:hover { background: var(--yellow); color: var(--black); }
.social svg { width: 18px; }

/* ---------- Services Diagram (vue d'ensemble) ---------- */
.diagram-section {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.diagram-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,214,10,0.08), transparent 70%);
  pointer-events: none;
}
.diagram-wrap {
  position: relative;
  max-width: 1100px;
  margin: 64px auto 0;
  aspect-ratio: 16/10;
}
.diagram-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.diagram-svg .car-body {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diagram-svg .car-fill { fill: rgba(255,214,10,0.06); stroke: none; }
.diagram-svg .connector {
  stroke: rgba(255,255,255,0.25);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  fill: none;
}
.diagram-svg .connector-dot {
  fill: var(--yellow);
}

.diagram-callout {
  position: absolute;
  width: 200px;
  z-index: 2;
}
.callout-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout-title::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,214,10,0.2);
}
.callout-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-300);
}
.callout-right { text-align: left; }
.callout-right .callout-title { flex-direction: row; }
.callout-left { text-align: right; }
.callout-left .callout-title { flex-direction: row-reverse; }

/* Positioning of callouts (% of wrapper) */
.callout-phares    { top: 38%; left: 0%; }
.callout-vitrages  { top: 8%;  left: 22%; }
.callout-nettoyage { top: 8%;  right: 22%; }
.callout-pneus     { top: 38%; right: 0%; }
.callout-roues     { bottom: 8%; right: 0%; }
.callout-moteur    { bottom: 28%; left: 33%; transform: translateX(-50%); }
.callout-plaques   { bottom: 8%; left: 0%; }
.callout-structure { bottom: 8%; left: 50%; transform: translateX(-50%); text-align: center; }
.callout-structure .callout-title { justify-content: center; }

@media (max-width: 900px) {
  .diagram-wrap { display: none; }
  .diagram-list { display: grid; }
}
@media (min-width: 901px) {
  .diagram-list { display: none; }
}
.diagram-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.diagram-list .item {
  background: var(--black-elev);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}
.diagram-list .item .callout-title { margin-bottom: 8px; }

/* ---------- Pricing / Engagements ---------- */
.engagements {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.engagement {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: all .2s;
}
.engagement:hover { border-color: var(--yellow); transform: translateY(-2px); }
.engagement-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--yellow);
  border-radius: 14px;
  display: grid; place-items: center;
}
.engagement-icon svg { width: 28px; color: var(--black); }
.engagement-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .team-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid, .engagements { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  /* Header — compact */
  .container { padding: 0 20px; }
  .nav { padding: 12px 0; justify-content: flex-start; gap: 8px; }
  .logo { margin-right: auto; }
  .nav-cta { order: 2; }
  .nav-toggle { order: 3; }
  .logo img { height: 52px; }
  /* Hide phone link text on mobile, keep only icon as a button */
  .phone-link {
    background: var(--gray-100);
    border-radius: 999px;
    padding: 10px;
    color: transparent !important;
    font-size: 0 !important;
    width: 40px; height: 40px;
    overflow: hidden;
    gap: 0;
  }
  .phone-link svg { width: 18px; height: 18px; color: var(--black); }
  /* Hide CTA on mobile — hamburger drawer contains it */
  .nav-cta .btn { display: none; }

  /* Show hamburger, hide inline nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 80px 28px 28px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22,.61,.36,1);
    z-index: 50;
    list-style: none;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links li {
    border-bottom: 1px solid var(--gray-100);
    padding: 18px 0;
  }
  .nav-links a {
    font-size: 16px;
    letter-spacing: 0.08em;
    display: block;
  }
  .nav-links a.active { color: var(--yellow-dark); }
  .nav-links a.active::after { display: none; }

  /* Show the mobile-only "Devis gratuit" CTA inside the drawer */
  .mobile-only { display: block !important; padding-top: 24px !important; border-bottom: none !important; }
  .mobile-only .btn { width: 100%; justify-content: center; padding: 14px 22px; }

  /* Sections + content padding */
  section { padding: 56px 0; }
  .page-header { padding: 80px 0 56px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 64px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.05; }
  .hero p { font-size: 16px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 14px 22px; font-size: 13px; }
  h1 { font-size: clamp(32px, 8vw, 48px); }
  h2 { font-size: clamp(26px, 6vw, 36px); }

  .realisations-grid,
  .services-grid,
  .team-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; }
  .hero-stats > div { min-width: 45%; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 11px; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .timeline::before { left: 20px; }
  .timeline-item { padding-left: 56px; padding-bottom: 40px; }
  .timeline-day { width: 40px; font-size: 11px; }
  .timeline-day strong { font-size: 24px; }
  .timeline-item::before { left: 14px; }
  .timeline-content { padding: 20px; }
  .cta-flex { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-flex > div:last-child { text-align: left !important; }
  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Cookie banner — adjust position not to collide with footer button */
  .cb-reopen { left: 12px; bottom: 12px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .logo img { height: 46px; }
  .nav-cta .btn { padding: 8px 14px; font-size: 11px; }
  .hero-inner { padding-top: 48px; padding-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats > div { min-width: 100%; }
  .legal-toc ol { columns: 1; }
}
