/* ═══════════════════════════════════════════════════════════
   VendezVotreAuto.com — Feuille de style principale
   Design premium « agence automobile » — marine / bleu / or
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Tokens ────────────────────────────────────────────── */
:root {
  /* Bleus */
  --navy-950: #050b18;
  --navy-900: #081226;
  --navy-800: #0d1b3e;
  --navy-700: #16264f;
  --navy-600: #1f3468;

  /* Accents */
  --blue-500: #4a90d9;
  --blue-400: #7fb4e8;
  --blue-300: #a8ccf2;
  --gold-500: #c9a84c;
  --gold-400: #dcbc69;
  --gold-300: #ecd9a0;

  /* Neutres */
  --paper: #f7f9fc;
  --white: #ffffff;
  --ink: #0e1526;
  --ink-soft: #2b3550;
  --muted: #5a6478;
  --line: rgba(13, 27, 62, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Effets */
  --shadow-sm: 0 2px 8px rgba(8, 18, 38, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 18, 38, 0.1);
  --shadow-lg: 0 24px 60px rgba(8, 18, 38, 0.16);
  --shadow-gold: 0 12px 30px rgba(201, 168, 76, 0.35);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── 2. Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-800); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 700; }
p { color: var(--muted); }

.gold-text {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-500) 55%, var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy-900); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.72); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold-400); }

.lead { font-size: 1.08rem; }

/* ── 3. Boutons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-gold {
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400) 35%, var(--gold-500));
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 16px 40px rgba(201, 168, 76, 0.45); }

.btn-navy { color: #fff; background: var(--navy-800); box-shadow: var(--shadow-md); }
.btn-navy:hover { background: var(--navy-700); }

.btn-outline { color: var(--navy-800); border: 1.5px solid var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); }

.btn-ghost { color: var(--navy-800); border: 1.5px solid rgba(13, 27, 62, 0.18); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--navy-800); }

.btn-glass {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }

.linklike { text-decoration: underline; color: var(--blue-400); font: inherit; padding: 0; }

/* ── 4. Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(8, 18, 38, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand-logo { height: 40px; width: auto; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover::after { right: 0; }

/* ── Header clair au-dessus du hero sombre (haut de l'accueil) ──
   Tant que la page n'a pas défilé et que le header n'est pas « solid »,
   le header repose sur le hero marine : textes en blanc pour rester lisibles. */
.site-header:not(.scrolled):not(.solid) .main-nav a { color: rgba(255, 255, 255, 0.92); }
.site-header:not(.scrolled):not(.solid) .main-nav a::after { background: var(--gold-400); }
.site-header:not(.scrolled):not(.solid) .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(5, 11, 24, 0.5));
}
.site-header:not(.scrolled):not(.solid) .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
}
.site-header:not(.scrolled):not(.solid) .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.22); }
.site-header:not(.scrolled):not(.solid) .burger span { background: #fff; }
.header-actions { display: flex; gap: 12px; align-items: center; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
}
.mobile-nav .btn { margin-top: 14px; }

/* ── 5. Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 11, 24, 0.96) 0%, rgba(8, 18, 38, 0.88) 38%, rgba(8, 18, 38, 0.55) 68%, rgba(8, 18, 38, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 11, 24, 0.5), transparent 30%, transparent 70%, rgba(5, 11, 24, 0.65));
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 320px at 12% 18%, rgba(74, 144, 217, 0.28), transparent 65%),
    radial-gradient(480px 300px at 85% 80%, rgba(201, 168, 76, 0.2), transparent 65%);
  mix-blend-mode: screen;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.hero-copy { color: #fff; }
.hero-copy h1 { color: #fff; margin: 20px 0 18px; }
.hero-copy h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero-copy h1 em::after {
  content: "";
  position: absolute; left: 2px; right: 2px; bottom: 4px;
  height: 12px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.55), rgba(201, 168, 76, 0.15));
  z-index: -1; border-radius: 3px;
}
.hero-sub { color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 560px; }
.hero-sub strong { color: #fff; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.badge-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.badge-stars { color: var(--gold-300); }
.badge-stars b { color: #fff; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-chips li { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; font-weight: 500; }
.hero-chips .ico { color: var(--gold-400); }

/* Carte glass */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}
.form-card { padding: clamp(22px, 3vw, 32px); }
.form-card-head { margin-bottom: 18px; }
.form-card-head h2 { font-size: 1.35rem; }
.form-card-head h3 { font-size: 1.25rem; }
.form-card-head p { font-size: 0.88rem; margin-top: 6px; }
.hero-form-wrap { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Champs */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(13, 27, 62, 0.14);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.14);
}
.field input.error, .field select.error { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12); }
.form-note { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.form-note .ico { color: #4ade80; width: 1em; }

/* Ticker */
.ticker {
  position: relative;
  background: rgba(5, 11, 24, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
  padding: 13px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 46s linear infinite; }
.ticker-item { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; white-space: nowrap; }
.ticker-item b { color: #fff; font-weight: 600; }
.ticker-item i { color: var(--blue-300); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── 6. Trust bar ────────────────────────────────────────── */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 20px 0;
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 600; color: var(--navy-700); }
.trust-item .ico { color: var(--blue-500); width: 1.2em; height: 1.2em; }
.trust-stars { color: var(--gold-500); }

/* ── 7. Stats ────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-800);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-value sup { font-size: 0.45em; color: var(--gold-500); font-weight: 800; }
.stat-label { display: block; margin-top: 8px; font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.stat-label span { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-top: 3px; }

/* ── 8. Étapes ───────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
}
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: var(--shadow-gold);
}
.step-card h3 { margin-bottom: 10px; }
.step-card > p { font-size: 0.94rem; }
.step-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.step-chips li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-700);
  background: rgba(74, 144, 217, 0.1);
  border: 1px solid rgba(74, 144, 217, 0.2);
  padding: 5px 11px;
  border-radius: 999px;
}

/* Visuel étape 1 : mini formulaire stylisé */
.step-media-form { display: grid; place-items: center; }
.mini-form {
  width: 68%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(6px);
}
.mini-line { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.28); }
.mini-line.w70 { width: 70%; }
.mini-line.w90 { width: 90%; }
.mini-line.w60 { width: 60%; }
.mini-btn {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  padding: 6px 14px;
  border-radius: 999px;
}

/* ── 9. Garantie ─────────────────────────────────────────── */
.guarantee { position: relative; overflow: hidden; }
.guarantee::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.16), transparent 65%);
  pointer-events: none;
}
.guarantee-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.guarantee-copy h2 { margin-bottom: 16px; }
.guarantee-copy .lead { color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; }
.guarantee-copy .lead strong { color: #fff; }
.guarantee-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.guarantee-list li, .recruit-benefits li { display: flex; gap: 16px; }
.ico-badge {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-400);
}
.ico-badge .ico { width: 1.35em; height: 1.35em; }
.guarantee-list h4 { color: #fff; margin-bottom: 4px; }
.guarantee-list p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.68); }

/* Certificat */
.certificate-wrap { perspective: 1200px; }
.certificate {
  position: relative;
  background: linear-gradient(160deg, #fdfbf4, #f6efd8 60%, #f0e5c4);
  border-radius: var(--radius-lg);
  padding: 34px 32px 26px;
  box-shadow: 0 30px 80px rgba(5, 11, 24, 0.55);
  transform: rotate(1.4deg);
  transition: transform 0.5s var(--ease);
  border: 1px solid rgba(201, 168, 76, 0.5);
}
.certificate:hover { transform: rotate(0) translateY(-6px); }
.certificate::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px solid rgba(201, 168, 76, 0.55);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.cert-head { text-align: center; padding-bottom: 16px; border-bottom: 1px solid rgba(201, 168, 76, 0.4); }
.cert-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold-500);
}
.cert-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy-800); }
.cert-body { padding: 18px 0 14px; display: flex; flex-direction: column; gap: 14px; }
.cert-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.92rem; color: var(--ink-soft); }
.cert-row b { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-800); }
.cert-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.cert-seal {
  flex: none;
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gold-500);
  background: rgba(255, 255, 255, 0.55);
  border: 2px dashed rgba(201, 168, 76, 0.7);
  transform: rotate(-12deg);
}
.cert-seal .ico { width: 26px; height: 26px; stroke-width: 2.4; }
.cert-seal span { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.14em; }
.cert-note { font-size: 0.7rem; color: #8d7f56; margin: 0; max-width: 66%; }
.cert-ribbon {
  position: absolute;
  top: -12px; left: -10px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
}

/* ── 10. Témoignages ─────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--gold-500); letter-spacing: 3px; font-size: 0.95rem; }
.testi-card blockquote { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.65; }
.testi-card blockquote b { color: var(--navy-800); }
.testi-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testi-metrics dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.testi-metrics dd { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 0.86rem; margin-top: 3px; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-600), var(--blue-500));
}
.testi-author b { display: block; font-size: 0.9rem; color: var(--navy-800); }
.testi-author span { font-size: 0.78rem; color: var(--muted); }
.verified {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1c7f4c;
  background: rgba(28, 127, 76, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.verified .ico { width: 0.9em; height: 0.9em; }

.testi-proof { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.avatars-stack { display: flex; }
.avatars-stack span {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  border: 2.5px solid #fff;
  margin-left: -10px;
}
.avatars-stack span:first-child { margin-left: 0; }
.testi-proof p { font-size: 0.92rem; }
.testi-proof b { color: var(--navy-800); }

/* ── 11. Recrutement ─────────────────────────────────────── */
.recruit-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.recruit-copy h2 { margin-bottom: 14px; }
.recruit-copy .lead { margin-bottom: 28px; }
.recruit-benefits { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.recruit-benefits .ico-badge { background: rgba(74, 144, 217, 0.12); border-color: rgba(74, 144, 217, 0.3); color: var(--blue-500); }
.recruit-benefits h4 { margin-bottom: 4px; }
.recruit-benefits p { font-size: 0.9rem; }
.recruit-benefits b { color: var(--navy-800); }

.recruit-quote {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.recruit-photo { width: 132px; height: 132px; object-fit: cover; border-radius: var(--radius); }
.recruit-quote blockquote { font-size: 0.9rem; color: var(--ink-soft); font-style: italic; }
.recruit-quote figcaption p { font-size: 0.82rem; margin-top: 10px; color: var(--muted); }
.recruit-quote figcaption b { color: var(--navy-800); }
.tag-gold {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 6px;
}
.recruit-form-card { position: sticky; top: calc(var(--header-h) + 20px); }

/* ── 12. FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item[open] { border-color: rgba(201, 168, 76, 0.55); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(74, 144, 217, 0.1);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-chevron::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: translate(-50%, -70%) rotate(45deg);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: rgba(201, 168, 76, 0.16); }
.faq-item[open] .faq-chevron::before { border-color: var(--gold-500); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 0.94rem; }
.faq-body b { color: var(--navy-800); }

.faq-cta {
  margin-top: 36px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.faq-cta p { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); font-size: 1.1rem; }
.faq-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ── 13. Lead magnet ─────────────────────────────────────── */
.leadmagnet-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 70%, #1d3a72);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.leadmagnet-card::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.28), transparent 65%);
  pointer-events: none;
}
.guide-cover {
  background: linear-gradient(160deg, #fdfbf4, #f3ead0);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 22px 60px rgba(5, 11, 24, 0.5);
  transform: rotate(-2deg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  border: 1px solid rgba(201, 168, 76, 0.5);
}
.guide-tag {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  padding: 5px 12px;
  border-radius: 999px;
}
.guide-cover b { font-family: var(--font-display); color: var(--navy-800); font-size: 1.15rem; line-height: 1.3; }
.guide-brand { font-size: 0.72rem; font-weight: 700; color: var(--gold-500); letter-spacing: 0.08em; }
.leadmagnet-copy h2 { color: #fff; margin-bottom: 12px; }
.leadmagnet-copy > p { color: rgba(255, 255, 255, 0.75); }
.leadmagnet-points { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0 22px; }
.leadmagnet-points li { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, 0.85); font-size: 0.86rem; }
.leadmagnet-points .ico { color: var(--gold-400); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 240px;
  font: inherit;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-form input:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.18); }
.leadmagnet-copy .form-note { color: rgba(255, 255, 255, 0.55); }

/* ── 14. CTA final + footer ──────────────────────────────── */
.final-cta {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  padding: clamp(52px, 7vw, 84px) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 50%, rgba(74, 144, 217, 0.22), transparent 70%);
}
.final-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.final-cta h2 { color: #fff; margin-bottom: 8px; }
.final-cta p { color: rgba(255, 255, 255, 0.72); }
.final-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { height: 38px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.92); }
.footer-brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 16px; text-transform: uppercase; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.88rem; color: rgba(255, 255, 255, 0.62); }
.footer-contact .ico { color: var(--blue-400); margin-top: 3px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}
.footer-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-badges li { display: flex; align-items: center; gap: 7px; }
.footer-badges .ico { color: var(--gold-500); }

/* ── 15. Modal / toast / stickers ────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 11, 24, 0.6); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative;
  width: min(460px, calc(100% - 32px));
  margin: 12vh auto 0;
  background: #fff;
  padding: 30px 28px;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--navy-800);
  font-size: 0.85rem;
  transition: background 0.2s;
}
.modal-close:hover { background: #e8edf5; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 300;
  background: var(--navy-800);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.45s var(--ease);
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast.gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); }

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 0.85rem; }

.back-to-top {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ── 16. Animations d'apparition ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ── 17. Pages intérieures (rdv, légales, merci) ─────────── */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.page-hero p { color: rgba(255, 255, 255, 0.75); max-width: 640px; margin: 14px auto 0; }
.page-hero .badge-glass { margin-bottom: 18px; }

.page-section { padding: clamp(48px, 7vw, 84px) 0; }
.booking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 3vw, 28px);
}
.booking-frame { width: 100%; min-height: 640px; border: 0; border-radius: var(--radius); background: var(--paper); }
.booking-cta { text-align: center; padding: clamp(22px, 4vw, 46px) clamp(16px, 3vw, 40px); }
.booking-icon {
  width: 78px; height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74, 144, 217, 0.12);
  border: 1px solid rgba(74, 144, 217, 0.25);
  color: var(--blue-500);
}
.booking-icon .ico { width: 36px; height: 36px; }
.booking-cta h2 { margin-bottom: 12px; }
.booking-cta > p { max-width: 580px; margin: 0 auto 24px; }
.booking-cta .btn-lg { padding: 18px 34px; }
.booking-fallback { font-size: 0.86rem; color: var(--muted); margin-top: 20px; text-align: center; }
.booking-fallback a { color: var(--blue-500); text-decoration: underline; }
.booking-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.booking-step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.booking-step b { font-family: var(--font-display); color: var(--navy-800); display: block; margin-bottom: 6px; }
.booking-step p { font-size: 0.88rem; }

.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal-content p, .legal-content li { font-size: 0.94rem; color: var(--muted); }
.legal-content ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.placeholder-note {
  background: rgba(201, 168, 76, 0.12);
  border: 1px dashed rgba(201, 168, 76, 0.6);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #7a6a3c;
  margin: 18px 0;
}

.merci-card {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(34px, 5vw, 56px);
}
.merci-icon {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74, 222, 128, 0.14);
  color: #1c7f4c;
}
.merci-icon .ico { width: 38px; height: 38px; stroke-width: 2.4; }
.merci-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ── 18. Responsive ──────────────────────────────────────── */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-actions { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .steps-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid, .recruit-grid, .leadmagnet-card { grid-template-columns: 1fr; }
  .recruit-form-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .container { width: calc(100% - 36px); }
  .hero { min-height: auto; }
  .hero-img { object-position: 74% center; }
  .steps-grid, .testi-grid, .stats-grid, .booking-steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
  .back-to-top { bottom: 96px; }
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
  .recruit-quote { grid-template-columns: 1fr; }
  .recruit-photo { width: 100%; height: 190px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .testi-metrics { grid-template-columns: 1fr 1fr 1fr; }
  .cert-seal { right: 16px; bottom: 70px; width: 76px; height: 76px; }
  .hero-ctas .btn { width: 100%; }
}

/* Accessibilité — mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .pulse-dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
