/* ============================================
   ERYH SASU — VTC Paris Premium
   Design: noir profond + or champagne
   ============================================ */

:root {
  /* Couleurs */
  --color-bg: oklch(0.12 0.005 60);
  --color-bg-elevated: oklch(0.16 0.008 60);
  --color-surface: oklch(0.20 0.010 60);
  --color-border: oklch(1 0 0 / 0.08);
  --color-border-strong: oklch(1 0 0 / 0.16);
  --color-text: oklch(0.97 0.005 60);
  --color-text-muted: oklch(0.72 0.010 60);
  --color-text-subtle: oklch(0.55 0.010 60);
  --color-accent: oklch(0.78 0.13 80);          /* or champagne */
  --color-accent-hover: oklch(0.84 0.14 82);
  --color-accent-deep: oklch(0.62 0.14 75);
  --color-accent-soft: oklch(0.78 0.13 80 / 0.12);

  /* Typo */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --text-xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --text-2xl: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --text-3xl: clamp(2.75rem, 2.2rem + 2.75vw, 4.5rem);
  --text-hero: clamp(3.25rem, 2.5rem + 3.75vw, 6rem);

  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;

  /* Layout */
  --max-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
}

html { background: var(--color-bg); }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, oklch(0.78 0.13 80 / 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, oklch(0.78 0.13 80 / 0.04), transparent 60%);
}

::selection { background: var(--color-accent); color: var(--color-bg); }

/* ===== Layout helpers ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
section {
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-accent);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}
.section-title em {
  font-style: italic;
  color: var(--color-accent);
}
.section-subtitle {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 56ch;
  margin-bottom: var(--space-12);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: oklch(0.12 0.005 60 / 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding var(--duration) var(--ease), border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav.scrolled {
  padding: var(--space-3) 0;
  background: oklch(0.10 0.005 60 / 0.92);
  border-bottom-color: var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.logo svg { width: 36px; height: 36px; color: var(--color-accent); }
.logo-text { color: var(--color-text); }
.logo-text strong { color: var(--color-accent); font-weight: 500; }

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--color-accent); }

.nav-cta { display: flex; align-items: center; gap: var(--space-4); }
.nav-phone {
  font-size: var(--text-sm);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}
.nav-phone svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--color-text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: oklch(0.15 0.005 60);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px oklch(0.78 0.13 80 / 0.5);
}
.btn-ghost {
  border-color: var(--color-border-strong);
  color: var(--color-text);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.10 0.005 60 / 0.5) 0%, oklch(0.10 0.005 60 / 0.7) 50%, oklch(0.10 0.005 60 / 0.95) 100%),
    linear-gradient(90deg, oklch(0.10 0.005 60 / 0.85) 0%, oklch(0.10 0.005 60 / 0.4) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border-strong);
  background: oklch(0.12 0.005 60 / 0.6);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}
.hero p.lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-meta {
  position: absolute;
  bottom: var(--space-12);
  right: var(--gutter);
  z-index: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-meta strong { color: var(--color-accent); font-weight: 500; }

/* ===== Stats / trust strip ===== */
.trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-12) 0;
  background: var(--color-bg-elevated);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-inline: var(--space-4);
  border-left: 1px solid var(--color-border);
}
.trust-item:first-child { border-left: none; }
.trust-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  line-height: 1;
  font-weight: 500;
}
.trust-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  background: var(--color-surface);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: var(--radius);
  margin-bottom: var(--space-6);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.service-features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.service-features li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Editorial split (Tesla feature) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-strong);
  pointer-events: none;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1;
}
.feature-item h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.feature-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Tarifs ===== */
.pricing-section { background: var(--color-bg-elevated); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: left;
  position: relative;
  transition: all 0.3s var(--ease);
}
.pricing-card.featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}
.pricing-card.featured::before {
  content: "Plus demandé";
  position: absolute;
  top: -12px;
  left: var(--space-8);
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-pill);
}
.pricing-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.pricing-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1;
}
.pricing-currency { font-size: var(--text-lg); color: var(--color-accent); }
.pricing-unit { font-size: var(--text-sm); color: var(--color-text-muted); margin-left: auto; }
.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pricing-includes li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: 1.5;
}
.pricing-includes svg {
  width: 16px; height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.tariff-table-wrap {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tariff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.tariff-table caption {
  text-align: left;
  padding: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.tariff-table th, .tariff-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.tariff-table th {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tariff-table td.price {
  color: var(--color-accent);
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tariff-table tr:last-child td { border-bottom: none; }
.tariff-table tbody tr:hover { background: var(--color-bg-elevated); }

/* ===== Booking form ===== */
.booking-section {
  position: relative;
  overflow: hidden;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}
.booking-info h2 { margin-bottom: var(--space-6); }
.booking-info .lead {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-10);
  line-height: 1.6;
}
.booking-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-top: var(--space-8);
}
.booking-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
}
.booking-contact-item svg {
  width: 20px; height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.booking-contact-item a { color: var(--color-text); transition: color 0.2s; }
.booking-contact-item a:hover { color: var(--color-accent); }
.booking-contact-item span.label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-subtle);
  margin-bottom: 2px;
}

.booking-form {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.booking-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}
.booking-form h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.booking-form .form-sub {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.form-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: all 0.2s var(--ease);
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-surface);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a96e' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}
.form-submit {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  margin-top: var(--space-4);
}
.form-success {
  display: none;
  padding: var(--space-4);
  background: oklch(0.45 0.10 145 / 0.15);
  border: 1px solid oklch(0.65 0.13 145);
  border-radius: var(--radius);
  color: oklch(0.85 0.10 145);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  text-align: center;
}
.form-success.show { display: block; }

/* ===== Map ===== */
.map-section { padding-block: clamp(3rem, 6vw, 5rem); }
.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: clamp(360px, 50vh, 500px);
}
.map-container iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.95); }
.map-overlay {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: oklch(0.10 0.005 60 / 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  padding: var(--space-6);
  max-width: 320px;
}
.map-overlay h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-accent);
  font-weight: 500;
}
.map-overlay p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }

/* ===== Testimonials ===== */
.testimonials-section { background: var(--color-bg-elevated); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: all 0.3s var(--ease);
}
.testimonial:hover { border-color: var(--color-border-strong); transform: translateY(-2px); }
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
}
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-quote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}
.testimonial-name { font-size: var(--text-sm); color: var(--color-text); font-weight: 500; }
.testimonial-role { font-size: var(--text-xs); color: var(--color-text-subtle); }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, oklch(0.78 0.13 80 / 0.08), transparent);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-20);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-inner h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.cta-inner h3 em { font-style: italic; color: var(--color-accent); }

/* ===== Footer ===== */
.footer {
  padding: var(--space-20) 0 var(--space-8);
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-top: var(--space-4);
  max-width: 36ch;
}
.footer-col h5 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a, .footer-col li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-weight: 500;
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Section Paiement rapide ===== */
.payment-quick-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.payment-quick-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* Grille 3 colonnes desktop */
.payment-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

/* Carte forfait */
.payment-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.payment-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.payment-card:hover {
  border-color: var(--color-accent);
  background: var(--color-surface);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px oklch(0.78 0.13 80 / 0.18);
}
.payment-card:hover::after { opacity: 1; }

/* Carte accent (acompte) */
.payment-card--accent {
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg-elevated) 100%);
  border-color: var(--color-accent-deep);
}
.payment-card--accent::before {
  content: "Sur mesure";
  position: absolute;
  top: var(--space-3); right: var(--space-4);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* Icône carte forfait */
.payment-card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.payment-card-icon svg { width: 26px; height: 26px; }

/* Corps texte */
.payment-card-body { flex: 1; }
.payment-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.payment-card-body p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Prix en grand */
.payment-card-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1;
  margin-block: var(--space-2);
  letter-spacing: -0.01em;
}
.payment-card-price span { font-size: var(--text-3xl); }

/* Formulaire / bouton dans la carte */
.payment-card-form { margin: 0; }
.payment-card-btn {
  width: 100%;
  justify-content: center;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
}

/* Note bas de section paiement */
.payment-quick-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-align: center;
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  max-width: 700px;
  margin-inline: auto;
}
.payment-quick-note svg { color: var(--color-accent); flex-shrink: 0; }
.payment-quick-note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: var(--space-2);
}

/* ===== Affichage du montant d'acompte (sous le sélecteur de service) ===== */
.amount-info {
  display: none;
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-accent-soft);
  border: 1px solid oklch(0.78 0.13 80 / 0.3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.amount-info.visible { display: block; }
.amount-info span { color: var(--color-text-muted); font-weight: 400; margin-left: 4px; }

/* ===== Case à cocher CGV ===== */
.form-field--cgv {
  margin-bottom: var(--space-4);
}
.cgv-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.cgv-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
  border-radius: 3px;
}
.cgv-label a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cgv-label a:hover { color: var(--color-accent-hover); }

/* ===== Message d'erreur formulaire ===== */
.form-error {
  display: none;
  padding: var(--space-4);
  background: oklch(0.35 0.10 20 / 0.15);
  border: 1px solid oklch(0.55 0.15 20);
  border-radius: var(--radius);
  color: oklch(0.80 0.10 20);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  text-align: center;
}
.form-error.show { display: block; }

/* ===== Badge Stripe dans le footer ===== */
.stripe-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
}
.stripe-badge svg { color: var(--color-accent); }

/* ===== Pages statiques : merci, annulation, cgv ===== */
.static-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 100px;  /* compenser le nav fixe */
  padding-bottom: var(--space-24);
}
.static-page-content {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

/* Icône de statut (✓ / ✕) */
.status-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: var(--space-6);
  font-family: var(--font-body);
}
.status-icon--success { color: var(--color-accent); }
.status-icon--error   { color: oklch(0.65 0.15 20); }
.status-icon--cancel  { color: var(--color-text-muted); }

/* Boutons WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, 0.4);
}

/* Page CGV — typographie longue */
.cgv-content {
  line-height: 1.75;
  color: var(--color-text-muted);
}
.cgv-content h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.cgv-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.01em;
}
.cgv-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}
.cgv-content p { margin-bottom: var(--space-4); }
.cgv-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-left: var(--space-4);
}
.cgv-content ul li::before {
  content: "—";
  color: var(--color-accent);
  margin-right: var(--space-2);
}
.cgv-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--space-6);
  font-size: var(--text-sm);
}
.cgv-content th, .cgv-content td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: left;
}
.cgv-content th {
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cgv-content .notice {
  background: oklch(0.78 0.13 80 / 0.08);
  border: 1px solid oklch(0.78 0.13 80 / 0.25);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.cgv-content .notice strong { color: var(--color-accent); }

/* Mini header pour pages statiques */
.static-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: oklch(0.10 0.005 60 / 0.95);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}
.static-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid, .pricing-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid, .split { grid-template-columns: 1fr; gap: var(--space-12); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: oklch(0.10 0.005 60 / 0.98);
    padding: var(--space-6);
    border-top: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
  }
  .menu-toggle { display: flex; }
  .nav-phone span:not(.short) { display: none; }
  .services-grid, .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .payment-quick-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .trust-item { padding-inline: 0; border-left: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-overlay { left: var(--space-4); right: var(--space-4); bottom: var(--space-4); max-width: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: var(--space-3); }
}

/* ===== Flotte : second véhicule (DS N°8) ===== */
.split + .split { margin-top: var(--space-24, 6rem); padding-top: var(--space-24, 6rem); border-top: 1px solid var(--color-border); }
.split-reverse .split-image { order: 2; }
@media (max-width: 1024px) {
  .split-reverse .split-image { order: 0; }
  .split + .split { margin-top: var(--space-16); padding-top: var(--space-16); }
}
