/* ==========================================================
   PARE BRISE EXPRESS — feuille de style principale
   ========================================================== */
/* Polices hébergées sur le site (aucune requête vers Google Fonts) — licence SIL Open Font License */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Palette : toutes les couleurs du site viennent de ces variables.
   Pour changer de palette, modifier l'attribut data-palette sur <html>. */
:root {
  --darkest: #071a33;      /* bandeau haut, pied de page */
  --dark: #0b2545;         /* sections sombres */
  --dark-2: #13315c;       /* dégradés sombres */
  --heading: #0b2545;      /* titres */
  --primary: #1e6fd9;      /* liens, icônes, bouton principal */
  --primary-hover: var(--primary-hover);
  --primary-2: #4a90e2;
  --accent: #ffb703;       /* bouton d'appel à l'action */
  --accent-hover: var(--accent-hover);
  --on-accent: #071a33;    /* texte sur l'accent */
  --tint: #e6f4fb;         /* fonds d'icônes */
  --tint-strong: #8ecae6;
  --soft: #f4f8fc;         /* sections claires */
  --bg: #ffffff;
  --surface: #ffffff;    /* cartes, formulaires, encarts */
  --ink: #142033;
  --ink-2: var(--ink-2);
  --muted: #5a6b82;
  --line: #dfe6ef;
  --on-dark: var(--on-dark);
  --on-dark-2: var(--on-dark-2);
  --on-dark-muted: var(--on-dark-muted);
  --glow: var(--glow);
  --glow-2: var(--glow-2);
  --success: #1a9e5c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px color-mix(in srgb, var(--darkest) 8%, transparent);
  --shadow-lg: 0 20px 50px color-mix(in srgb, var(--darkest) 16%, transparent);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Poppins", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; margin: 0 0 .6em; color: var(--heading); }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--accent); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none !important; font-family: var(--font); line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--heading); color: var(--heading); }
.btn--outline:hover { background: var(--dark); color: #fff; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1fb457; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Bandeau supérieur ---------- */
.topbar { background: var(--darkest); color: var(--on-dark-muted); font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } .topbar .container { justify-content: center; } }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--heading); }
.logo img { height: 70px; width: auto; }
.footer .logo img { height: 110px; }
@media (max-width: 1180px) { .header .container { height: 76px; } .logo img { height: 60px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dropdown > button {
  color: var(--ink); font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 10px;
  background: none; border: 0; cursor: pointer; font-family: var(--font); display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav .dropdown > button:hover { background: var(--soft); text-decoration: none; color: var(--primary); }
.nav a.active, .nav .dropdown.active > button { color: var(--primary); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav > a.btn--accent, .nav > a.btn--accent:hover { background: var(--accent); color: var(--on-accent); border-radius: 999px; justify-content: center; }
.nav > a.btn--accent:hover { background: var(--accent-hover); }
.dropdown { position: relative; }
.dropdown > button svg { width: 14px; height: 14px; transition: transform .2s; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; border: 1px solid var(--line);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover > button svg { transform: rotate(180deg); }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.dropdown-menu a small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.dropdown-menu a:hover { background: var(--soft); text-decoration: none; color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--heading); }
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); max-height: calc(100dvh - 76px); background: var(--surface); flex-direction: column; align-items: stretch;
    padding: 20px; gap: 2px; overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav .dropdown > button { font-size: 1.05rem; padding: 14px 12px; width: 100%; justify-content: space-between; }
  .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; border: 0; padding: 0 0 0 12px; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav .btn { margin: 14px 0 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 500px at 85% 10%, var(--glow), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, var(--glow-2), transparent 60%),
    linear-gradient(160deg, var(--darkest), var(--dark-2));
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 8vw, 100px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.18rem; color: var(--on-dark-2); max-width: 580px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .88rem; font-weight: 600;
}
.badge svg { width: 16px; height: 16px; color: var(--accent); }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; color: var(--on-dark); }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.hero-points svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3;
}
/* Vidéo d'en-tête */
.hero--video { background: var(--darkest); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.78) 42%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, rgba(10,10,10,.75) 0%, transparent 35%),
    radial-gradient(900px 500px at 10% 100%, var(--glow), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero--video .container { min-height: min(78vh, 720px); }
.hero-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 14px; align-self: end; }
@media (max-width: 960px) {
  .hero-overlay { background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.8) 55%, rgba(10,10,10,.6) 100%); }
  .hero--video .container { min-height: 0; }
  .hero-side { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; }
}
.hero-card strong { display: block; font-family: var(--font-title); color: var(--heading); font-size: 1rem; }
.hero-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex-shrink: 0; }
.hero-card .ic svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-points { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

/* ---------- En-tête de page interne ---------- */
.page-hero {
  color: #fff; padding: clamp(48px, 7vw, 80px) 0 clamp(44px, 6vw, 70px);
  background: radial-gradient(800px 400px at 90% 0%, var(--glow), transparent 60%), linear-gradient(160deg, var(--darkest), var(--dark-2));
}
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { color: var(--on-dark-2); font-size: 1.15rem; max-width: 720px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Bande de confiance ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ic svg { width: 26px; height: 26px; }
.trust-item strong { display: block; font-family: var(--font-title); color: var(--heading); line-height: 1.25; }
.trust-item span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 900px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust .container { grid-template-columns: 1fr; } }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff;
}
.card .ic svg { width: 30px; height: 30px; }
.card p { color: var(--muted); }
.card .more { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
.card--featured { border: 2px solid var(--primary); }
.card-tag { position: absolute; top: 18px; right: 18px; background: var(--accent); color: var(--on-accent); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.card ul { color: var(--muted); padding-left: 0; list-style: none; }
.card ul li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }

.section--dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section--dark .card p { color: var(--on-dark-muted); }

/* ---------- Bloc texte + visuel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.visual-box {
  border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--tint), var(--surface));
  border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow);
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; }
.check-list svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--success); margin-top: 2px; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.section--dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .step p { color: var(--on-dark-muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--accent); line-height: 1.1; }
.stat span { color: var(--on-dark-2); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; } }

/* ---------- Tableau ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--dark); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: .95rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--heading); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-family: var(--font-title); color: var(--heading);
  list-style: none; position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--dark-2)); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--on-dark); margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Zones ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 10px; }
.zone { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--heading); display: inline-flex; align-items: center; gap: 6px; }
.zone svg { width: 16px; height: 16px; color: var(--primary); }
.zone--main { background: var(--dark); color: #fff; border-color: var(--dark); }
.zone--main svg { color: var(--accent); }

/* ---------- Formulaires ---------- */
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; color: var(--heading); }
.field label .req { color: #d13b3b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem;
  background: var(--soft); color: var(--ink); transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .93rem; background: var(--soft); }
.choice input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--tint-strong); }
.consent { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; background: #e7f7ee; border: 1px solid #b6e4c9; color: #11643a; padding: 16px 18px; border-radius: 12px; margin-top: 16px; }
.form-success.show { display: block; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic svg { width: 24px; height: 24px; }
.contact-list strong { display: block; font-family: var(--font-title); color: var(--heading); }
.contact-list span, .contact-list a { font-size: 1rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: 24px; }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Texte légal ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.info-table { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5em; min-width: 0; }
.info-table td { padding: 12px 16px; vertical-align: top; }
.info-table td:first-child { width: 42%; background: var(--soft); }
@media (max-width: 560px) { .info-table td { display: block; width: 100% !important; } .info-table td:first-child { border-bottom: 0; padding-bottom: 4px; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--darkest); color: var(--on-dark-muted); padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--on-dark-2); }
.footer a:hover { color: #fff; }
.footer .contact-mini li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-mini svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); box-shadow: 0 -6px 24px color-mix(in srgb, var(--darkest) 14%, transparent);
  }
  .mobile-cta .btn { padding: 13px 10px; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* ---------- Divers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.note-box { background: var(--tint); border-left: 4px solid var(--primary); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--heading); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-title); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; color: var(--tint-strong); line-height: 1; }

/* ==========================================================
   PALETTES — activer avec <html data-palette="...">
   ========================================================== */

/* 1. Graphite & Orange — atelier, industriel, premium */
[data-palette="graphite"] {
  --darkest: #111214; --dark: #1b1d21; --dark-2: #2c2f35; --heading: #16181b;
  --primary: #d9480f; --primary-hover: #bf3d0b; --primary-2: #ff7a3d;
  --accent: #ff6a2b; --accent-hover: #f05514; --on-accent: #111214;
  --tint: #fff0e8; --tint-strong: #ffc2a6; --soft: #f4f3f1; --bg: #ffffff;
  --ink: #1d1f23; --ink-2: #3a3d44; --muted: #6b6f78; --line: #e6e4e0;
  --on-dark: #ececec; --on-dark-2: #c9cacd; --on-dark-muted: #9a9ca3;
  --glow: rgba(255,106,43,.22); --glow-2: rgba(255,255,255,.04);
}

/* 2. Pétrole & Ocre — Méditerranée, Gard, chaleureux */
[data-palette="petrole"] {
  --darkest: #0a2524; --dark: #0f3433; --dark-2: #17504c; --heading: #0f3433;
  --primary: #137c74; --primary-hover: #0f665f; --primary-2: #2aa198;
  --accent: #e3a33b; --accent-hover: #cc8d27; --on-accent: #0a2524;
  --tint: #e3f2ef; --tint-strong: #9fd3cb; --soft: #f6f2ea; --bg: #fffdf9;
  --ink: #1b2a29; --ink-2: #34403f; --muted: #5e6d6b; --line: #e5ded1;
  --on-dark: #e4efec; --on-dark-2: #bcd3cf; --on-dark-muted: #8fb0ab;
  --glow: rgba(42,161,152,.35); --glow-2: rgba(227,163,59,.12);
}

/* 3. Noir & Lime — sportif, moderne, très contrasté (vert du logo : #96da0b) */
[data-palette="lime"] {
  --darkest: #0a0a0a; --dark: #121212; --dark-2: #222222; --heading: #0e0e0e;
  --primary: #3f6212; --primary-hover: #33500e; --primary-2: #65a30d;
  --accent: #96da0b; --accent-hover: #86c608; --on-accent: #0a0a0a;
  --tint: #eef8db; --tint-strong: #96da0b; --soft: #f4f4f2; --bg: #ffffff;
  --ink: #141414; --ink-2: #3a3a3a; --muted: #6a6a6a; --line: #e5e5e2;
  --on-dark: #f0f0f0; --on-dark-2: #cfcfcf; --on-dark-muted: #9a9a9a;
  --glow: rgba(150,218,11,.16); --glow-2: rgba(255,255,255,.04);
}

/* 4. Garrigue — olive, terre cuite et crème, ancré dans le Sud */
[data-palette="garrigue"] {
  --darkest: #1f2419; --dark: #2c3324; --dark-2: #434c35; --heading: #2c3324;
  --primary: #b5532f; --primary-hover: #9a4426; --primary-2: #d27a52;
  --accent: #e07a4f; --accent-hover: #cc663b; --on-accent: #1f2419;
  --tint: #f7e8df; --tint-strong: #e8b49a; --soft: #f3efe6; --bg: #fbf8f2;
  --ink: #2a2a22; --ink-2: #45463b; --muted: #6d6c5e; --line: #e4ddcd;
  --on-dark: #eef0e6; --on-dark-2: #cfd4c2; --on-dark-muted: #a3ab92;
  --glow: rgba(224,122,79,.22); --glow-2: rgba(255,255,255,.05);
}

/* 5. Vert anglais & Laiton — classique automobile, haut de gamme */
[data-palette="racing"] {
  --darkest: #06231a; --dark: #0b3326; --dark-2: #145040; --heading: #0b3326;
  --primary: #1d6b52; --primary-hover: #165a44; --primary-2: #2f8f6f;
  --accent: #c9a227; --accent-hover: #b08c1c; --on-accent: #06231a;
  --tint: #e6f1ec; --tint-strong: #a9cfbf; --soft: #f5f3ec; --bg: #ffffff;
  --ink: #18241f; --ink-2: #36423d; --muted: #5f6d67; --line: #e2e2d8;
  --on-dark: #e8f0ec; --on-dark-2: #c0d3ca; --on-dark-muted: #8faa9e;
  --glow: rgba(201,162,39,.18); --glow-2: rgba(47,143,111,.2);
}

/* 6. Ardoise & Rouge — vitesse, urgence, « express » */
[data-palette="rouge"] {
  --darkest: #15181d; --dark: #1f242b; --dark-2: #313843; --heading: #1f242b;
  --primary: #d62839; --primary-hover: #b81f2f; --primary-2: #ef4f5f;
  --accent: #e63946; --accent-hover: #c92a37; --on-accent: #ffffff;
  --tint: #fdecee; --tint-strong: #f5a3ab; --soft: #f3f4f6; --bg: #ffffff;
  --ink: #1a1d22; --ink-2: #3b4048; --muted: #656c77; --line: #e3e5e9;
  --on-dark: #eef0f3; --on-dark-2: #c8ccd3; --on-dark-muted: #9aa0aa;
  --glow: rgba(230,57,70,.22); --glow-2: rgba(255,255,255,.04);
}

/* ==========================================================
   AMBIANCES DE FOND — activer avec <html data-ambiance="...">
   ========================================================== */

/* A. Brume verte — gris clair, halos verts discrets dans les coins */
[data-ambiance="brume"] { --bg: #f1f3ed; --soft: #e8ece0; --line: #dfe4d4; }
[data-ambiance="brume"] .section:not(.section--dark):not(.section--soft) {
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(150,218,11,.14), transparent 62%),
    radial-gradient(800px 520px at 100% 100%, rgba(63,98,18,.10), transparent 62%),
    #f1f3ed;
}
[data-ambiance="brume"] .section--soft {
  background: radial-gradient(900px 520px at 100% 0%, rgba(150,218,11,.18), transparent 60%), linear-gradient(180deg, #e8ece0, #dfe6d1);
}
[data-ambiance="brume"] .trust { background: linear-gradient(90deg, #f8faf3, #eef6dc); }

/* B. Dégradé lime — du blanc vers un vert pastel, section après section */
[data-ambiance="degrade"] { --bg: #f6fbec; --soft: #eaf5d3; --line: #dce8c3; }
[data-ambiance="degrade"] .section:not(.section--dark):not(.section--soft) { background: linear-gradient(180deg, #ffffff 0%, #ecf7d4 100%); }
[data-ambiance="degrade"] .section--soft { background: linear-gradient(180deg, #e2f2bf 0%, #f5fbe8 100%); }
[data-ambiance="degrade"] .trust { background: linear-gradient(90deg, #f5fbe6, #e2f2bf); }

/* C. Béton — gris chaud façon atelier, touche de vert en lumière */
[data-ambiance="beton"] { --bg: #e9e9e5; --soft: #e1e2dc; --line: #d4d5cd; }
[data-ambiance="beton"] .section:not(.section--dark):not(.section--soft) { background: linear-gradient(180deg, #efefeb 0%, #e2e3de 100%); }
[data-ambiance="beton"] .section--soft {
  background: radial-gradient(700px 400px at 50% 0%, rgba(150,218,11,.16), transparent 65%), linear-gradient(180deg, #d9dad3, #e6e6e1);
}
[data-ambiance="beton"] .trust { background: #f4f4f1; }

/* D. Nuit — tout le site en sombre, dégradés noir → vert profond */
[data-ambiance="nuit"] {
  --bg: #0e0f0d; --surface: #181b15; --soft: #1e221a; --line: #2b3125;
  --ink: #e9ece4; --ink-2: #d0d4c9; --muted: #a2a898; --heading: #ffffff;
  --tint: rgba(150,218,11,.14); --primary: #96da0b; --primary-hover: #86c608; --primary-2: #b8ec40;
}
[data-ambiance="nuit"] .section:not(.section--dark):not(.section--soft) {
  background: radial-gradient(1000px 600px at 0% 0%, rgba(150,218,11,.09), transparent 60%), linear-gradient(180deg, #0e0f0d, #12160e);
}
[data-ambiance="nuit"] .section--soft { background: radial-gradient(900px 500px at 100% 0%, rgba(150,218,11,.12), transparent 60%), linear-gradient(180deg, #161a12, #0f120c); }
[data-ambiance="nuit"] .section--dark { background: linear-gradient(160deg, #070807, #1a2410); }
[data-ambiance="nuit"] .trust { background: #13160f; }
[data-ambiance="nuit"] .btn--primary, [data-ambiance="nuit"] .card .ic { color: #0a0a0a; }
[data-ambiance="nuit"] .zone--main, [data-ambiance="nuit"] .choice input:checked + span { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
[data-ambiance="nuit"] .cta-band { background: linear-gradient(120deg, #22300f, #0a0a0a); border: 1px solid rgba(150,218,11,.25); }
[data-ambiance="nuit"] .card ul li::before { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
[data-ambiance="nuit"] .form-success { background: #16240a; border-color: #2f4a12; color: #c8f07a; }

/* Logo : version claire / version pour fond sombre */
.logo-dark { display: none; }
[data-ambiance="nuit"] .header .logo-light { display: none; }
[data-ambiance="nuit"] .header .logo-dark { display: block; }
/* En-tête sombre en mode Nuit */
[data-ambiance="nuit"] .header { background: rgba(10,11,9,.94); border-bottom-color: #23281d; }
[data-ambiance="nuit"] .nav > a:hover, [data-ambiance="nuit"] .nav .dropdown > button:hover { background: #1e221a; color: var(--accent); }
[data-ambiance="nuit"] .nav a.active, [data-ambiance="nuit"] .nav .dropdown.active > button { color: var(--accent); }
/* Tableau dans un encart : pas de largeur minimale */
.visual-box table { min-width: 0; }
/* Encarts posés sur la vidéo en mode Nuit */
[data-ambiance="nuit"] .hero-card { background: rgba(20,23,17,.88); color: var(--ink-2); border: 1px solid rgba(150,218,11,.28); backdrop-filter: blur(6px); }
[data-ambiance="nuit"] .hero-card strong { color: #fff; }

/* ==========================================================
   PROMOTION — cadeau offert
   ========================================================== */
.promo-strip {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px;
  background: var(--accent); color: var(--on-accent) !important; font-size: .92rem; text-align: center; text-decoration: none !important;
}
.promo-strip svg { width: 18px; height: 18px; flex-shrink: 0; }
.promo-strip-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.promo-strip-cta svg { width: 15px; height: 15px; }
.promo-strip:hover { background: var(--accent-hover); }
@media (max-width: 560px) { .promo-strip { font-size: .84rem; } .promo-strip-cta { display: none; } }

.badge--promo { background: var(--accent); color: var(--on-accent); border-color: var(--accent); text-decoration: none !important; }
.badge--promo svg { color: var(--on-accent); }

.nav > a.nav-promo { color: var(--primary); }
.nav > a.nav-promo svg { width: 17px; height: 17px; }
[data-ambiance="nuit"] .nav > a.nav-promo { color: var(--accent); }

.section--promo { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.promo-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 0% 50%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), linear-gradient(120deg, var(--dark-2), var(--darkest));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); color: var(--on-dark);
}
.promo-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.promo-band p { margin: 0; color: var(--on-dark-2); }
.promo-band .eyebrow { color: var(--accent); margin-bottom: 6px; }
.promo-ic {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent);
}
.promo-ic svg { width: 44px; height: 44px; }
@media (max-width: 900px) { .promo-band { grid-template-columns: 1fr; } .promo-ic { width: 64px; height: 64px; border-radius: 18px; } .promo-ic svg { width: 34px; height: 34px; } }

.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hide-xs { display: none; } }
[data-ambiance="nuit"] .mobile-cta { background: #0e100c; border-top: 1px solid #23281d; }
[data-ambiance="nuit"] .mobile-cta .btn--primary { background: #1e231a; color: #fff; border-color: rgba(150,218,11,.45); box-shadow: none; }

/* ==========================================================
   ASSURANCES — « pris en charge par votre assurance »
   ========================================================== */
.show-xs { display: none; }
@media (max-width: 560px) { .show-xs { display: inline; } }
.assur-band {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.assur-head p { color: var(--muted); }
.assur-head .btn-row { margin-top: 20px; }
.assur-band .btn--ghost { border-color: var(--line); color: var(--heading); }
.insurers { display: flex; flex-wrap: wrap; gap: 10px; }
.insurer {
  padding: 10px 16px; border-radius: 12px; font-family: var(--font-title); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  background: var(--soft); border: 1px solid var(--line); color: var(--heading);
}
.insurer--more { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.insurer-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 900px) { .assur-band { grid-template-columns: 1fr; } }
[data-ambiance="nuit"] .assur-band { background: linear-gradient(140deg, #1a1f15, #12150f); border-color: #2b3125; }

/* Vidéo d'en-tête sur mobile / tablette : affichée en grand au-dessus du texte */
@media (max-width: 960px) {
  .hero--video .hero-bg { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero--video .hero-overlay {
    inset: auto; top: 0; left: 0; right: 0; aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,0) 45%, var(--darkest) 100%);
  }
  .hero--video .container { padding-top: 22px; }
}

/* Logos d'assureurs */
.insurer-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.insurer-logo { margin: 0; display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; }
.insurer-logo > span {
  height: 92px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 12px 14px;
  border: 1px solid var(--line); transition: transform .2s;
}
.insurer-logo:hover > span { transform: translateY(-3px); }
.insurer-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.insurer-logo figcaption { font-size: .78rem; color: var(--muted); text-align: center; line-height: 1.3; }
.insurer-logo--more > span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font: 800 2rem var(--font-title); }
.insurers-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.insurers .insurer { padding: 7px 12px; font-size: .86rem; }
@media (max-width: 420px) { .insurer-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.insurer-logo > span { height: 80px; }
.insurer-logo img { max-height: 54px; }

/* Bloc assurances : texte en haut, grille de logos pleine largeur */
.assur-band { grid-template-columns: 1fr; gap: 30px; }
.assur-head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; }
.assur-head .eyebrow, .assur-head h2 { grid-column: 1; }
.assur-head h2 { margin-bottom: 0; }
.assur-head p { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.assur-head .btn-row { grid-column: 1 / -1; margin-top: 8px; }
@media (max-width: 900px) { .assur-head { grid-template-columns: 1fr; } .assur-head p { grid-column: 1; grid-row: auto; } }
.insurer-logos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.insurer-logo > span { height: 76px; padding: 10px 14px; }
.insurer-logo img { max-height: 50px; }
.insurer-logo--more > span { font: 800 1rem var(--font-title); text-align: center; }
@media (max-width: 560px) {
  .insurer-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .insurer-logo > span { height: 62px; padding: 8px; border-radius: 10px; }
  .insurer-logo img { max-height: 42px; }
  .insurer-logo--more > span { font-size: .8rem; }
}

/* Logos d'assureurs : deux bandeaux défilants (gauche / droite) */
.insurer-marquees { display: grid; gap: 12px; margin: 0 -8px 18px; }
.marquee {
  overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track, .marquee-dup { display: flex; gap: 12px; width: max-content; }
.marquee-track { animation: marquee 45s linear infinite; }
.marquee--right .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.marquee .insurer-logo { flex: 0 0 170px; }
.marquee .insurer-logo > span { height: 76px; }
.marquee .insurer-logo:hover > span { transform: none; }
@media (max-width: 560px) {
  .marquee .insurer-logo { flex-basis: 128px; }
  .marquee .insurer-logo > span { height: 62px; }
  .marquee-track { animation-duration: 35s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-dup { display: none; }
}
.topbar .container { justify-content: flex-end; }
@media (max-width: 760px) { .topbar .container { justify-content: center; } }

/* Bloc « au garage ou chez vous » */
.modes { gap: 24px; }
.mode-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.5vw, 38px); }
.mode-card h3 { font-size: 1.5rem; }
.mode-card ul { margin: 4px 0 24px; }
.mode-card .btn { margin-top: auto; }
.mode-tag {
  position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; background: var(--accent); color: var(--on-accent);
}
.mode-card .btn--ghost { border-color: var(--line); color: var(--heading); }

/* ==========================================================
   DÉROULEMENT — frise des étapes
   ========================================================== */
.tl-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tl-summary > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.tl-summary strong { font-family: var(--font-title); font-size: 1.25rem; color: var(--heading); }
.tl-summary span:last-child { color: var(--muted); font-size: .92rem; }
.tl-sum-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); margin-bottom: 8px; }
.tl-sum-ic svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .tl-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.timeline { max-width: 900px; }
.tl-phase + .tl-phase { margin-top: 56px; }
.tl-phase-head { margin-bottom: 22px; }
.tl-phase-head h2 { margin: 6px 0 4px; }
.tl-phase-head p { color: var(--muted); margin: 0; }
.tl-phase-num {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
}
.tl-list { list-style: none; margin: 0; padding: 0; position: relative; }
.tl-list::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
.tl-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-bottom: 22px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; background: var(--darkest); color: var(--accent); border: 2px solid var(--accent);
}
.tl-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; }
.tl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tl-head h3 { margin: 0; font-size: 1.15rem; }
.tl-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex-shrink: 0; }
.tl-ic svg { width: 20px; height: 20px; }
.tl-body > p { color: var(--muted); margin: 0; }
.tl-tip { display: flex; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tint); color: var(--ink-2); font-size: .93rem; }
.tl-tip svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.tl-photo { margin-top: 16px; width: 100%; border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 560px) {
  .tl-step { grid-template-columns: 36px 1fr; gap: 12px; }
  .tl-num { width: 36px; height: 36px; font-size: .95rem; }
  .tl-list::before { left: 17px; }
  .tl-body { padding: 16px; }
}

/* Résumé des phases (accueil) */
.phase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.phase-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 24px; }
.phase-card h3 { margin: 12px 0 4px; }
.phase-card > p { color: var(--on-dark-muted); font-size: .92rem; margin-bottom: 14px; }
.phase-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.phase-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); font-size: .95rem; line-height: 1.4; }
.phase-card li span {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; background: var(--accent); color: var(--on-accent);
}
@media (max-width: 1000px) { .phase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phase-grid { grid-template-columns: 1fr; } }

/* Menu : une seule ligne par lien, « Accueil » masqué sur grand écran (le logo y mène) */
.nav > a, .nav .dropdown > button, .nav .btn { white-space: nowrap; }
@media (min-width: 1181px) {
  .nav { gap: 2px; }
  .nav > a, .nav .dropdown > button { padding: 10px 10px; font-size: .94rem; }
  .nav > a[href="index.html"] { display: none; }
}
@media (max-width: 1180px) { .nav > a.nav-promo { justify-content: flex-start; gap: 8px; } }

/* Photos des grandes étapes (accueil) */
.phase-card { overflow: hidden; }
.phase-photo { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 18px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-bottom: 2px solid var(--accent); }

/* Adresse du garage */
.mode-address { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; font-weight: 600; }
.mode-address svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.contact-list li a svg { width: 15px; height: 15px; vertical-align: -2px; }
.footer .contact-mini a { line-height: 1.45; }
.contact-list li a svg { display: inline-block; }

/* ==========================================================
   CONSENTEMENT COOKIES (CMP)
   ========================================================== */
.cmp-banner {
  position: fixed; z-index: 1000; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(960px, calc(100% - 24px)); padding: 22px 24px 20px; border-radius: 18px;
  background: #15180f; color: #e9ece4; border: 1px solid rgba(150,218,11,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.55); font-size: .95rem;
}
.cmp-banner[hidden], .cmp-modal[hidden] { display: none; }
.cmp-title { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 6px; }
.cmp-desc { margin: 0 0 16px; color: #c9cec0; line-height: 1.55; }
.cmp-desc a, .cmp-dialog a { color: var(--accent); text-decoration: underline; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cmp-btn {
  flex: 1 1 160px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer;
  background: var(--accent); color: #0a0a0a; font: 700 .95rem var(--font);
}
.cmp-btn:hover { filter: brightness(1.08); }
.cmp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cmp-btn:focus-visible, .cmp-close:focus-visible, .cmp-x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cmp-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: #aab09f; font: 600 .82rem var(--font); cursor: pointer; padding: 6px; }
.cmp-close:hover { color: #fff; }
.cmp-banner .cmp-title { padding-right: 190px; }
@media (max-width: 760px) {
  .cmp-banner { bottom: 84px; padding: 40px 16px 16px; max-height: calc(100dvh - 110px); overflow-y: auto; }
  .cmp-banner .cmp-title { padding-right: 0; }
  .cmp-close { top: 8px; right: 8px; }
}
.cmp-modal { position: fixed; inset: 0; z-index: 1001; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 16px; }
.cmp-dialog {
  position: relative; width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; outline: none;
  background: #15180f; color: #e9ece4; border: 1px solid rgba(150,218,11,.35); border-radius: 20px; padding: 28px 24px 22px;
}
.cmp-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 1rem; }
.cmp-cat { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
.cmp-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cmp-cat-title { font-weight: 700; color: #fff; }
.cmp-cat p { margin: 6px 0 0; color: #b4baa9; font-size: .9rem; line-height: 1.5; }
.cmp-always { font-size: .8rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.cmp-switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.cmp-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cmp-switch span { position: absolute; inset: 0; border-radius: 999px; background: #3a4033; transition: background .2s; }
.cmp-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cmp-switch input:checked + span { background: var(--accent); }
.cmp-switch input:checked + span::after { transform: translateX(20px); }
.cmp-switch input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.cmp-dialog .cmp-actions { margin-top: 14px; }
html.cmp-lock { overflow: hidden; }

/* Cartes chargées seulement après accord */
.ext-embed { min-height: 300px; display: grid; }
.ext-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  padding: 28px 22px; background: var(--soft); color: var(--muted);
}
.ext-placeholder p { margin: 0; max-width: 420px; font-size: .92rem; }
.ext-placeholder strong { color: var(--heading); }
.ext-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); }
.ext-ic svg { width: 26px; height: 26px; }
.ext-alt { font-size: .88rem; }
.ext-embed.is-loaded { display: block; min-height: 0; }

/* Mentions légales et formulaires */
.form-rgpd { font-size: .8rem; line-height: 1.5; color: var(--muted); margin: 4px 0 0; }
.legal-updated { font-size: .9rem; color: var(--muted); font-style: italic; }
.cookie-manage { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 2em; }
.cookie-manage p { margin: 0; }
.prose .table-wrap table { min-width: 560px; }
.prose .info-table { min-width: 0; }
.prose td, .prose th { font-size: .93rem; }

/* Tableau réglementation vitres teintées */
.tint-table { min-width: 0; }
.tint-ok, .tint-no { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.tint-ok { background: var(--accent); color: var(--on-accent); }
.tint-no { background: rgba(255,183,3,.15); color: #ffc94d; border: 1px solid rgba(255,183,3,.4); }

/* ==========================================================
   CADEAUX
   ========================================================== */
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gift-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.gift-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.gift-visual { display: block; aspect-ratio: 1 / 1; background: #fff; }
.gift-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift-card figcaption { padding: 14px 16px; font-family: var(--font-title); font-weight: 700; color: var(--heading); text-align: center; line-height: 1.3; }
.gift-cash {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, #c6f432, var(--accent) 45%, #5f8f05); color: #0a0a0a;
}
.gift-cash strong { font-family: var(--font-title); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.gift-cash small { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
@media (max-width: 860px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* version compacte dans le bloc promo */
.gift-grid--mini { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; max-width: 520px; }
.gift-grid--mini .gift-card { border-radius: 12px; }
.gift-grid--mini figcaption { padding: 6px 6px 8px; font-size: .72rem; font-weight: 600; }
.gift-grid--mini .gift-cash strong { font-size: 1.5rem; }
.gift-grid--mini .gift-cash small { font-size: .6rem; margin-top: 2px; }
@media (max-width: 480px) { .gift-grid--mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Produits détourés : fond sombre avec halo, sans cadre blanc */
.gift-visual { background: radial-gradient(circle at 50% 55%, rgba(150,218,11,.22), rgba(150,218,11,0) 62%), linear-gradient(180deg, #1c2117, #12150f); }
.gift-visual img { object-fit: contain; padding: 6%; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); transition: transform .3s; }
.gift-card:hover .gift-visual img { transform: scale(1.05); }
.gift-grid--mini .gift-visual img { padding: 4%; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }

/* Bloc cadeaux juste sous la vidéo */
.section--promo-first { padding-top: 28px; padding-bottom: 28px; background: linear-gradient(180deg, #0a0a0a, transparent); }

/* ==========================================================
   WHATSAPP (logo officiel, lien direct)
   ========================================================== */
.wa-logo { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.btn .wa-logo { width: 22px; height: 22px; }
.btn--whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn--whatsapp:hover { background: #1fb457; border-color: #1fb457; }
.btn--whatsapp .wa-logo circle { fill: #fff; }
.btn--whatsapp .wa-logo path { fill: #25D366; }
.wa-chip { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.45); color: #fff !important; font-weight: 700; font-size: .82rem; text-decoration: none !important; }
.wa-chip:hover { background: rgba(37,211,102,.28); }
.topbar .wa-chip .wa-logo { width: 18px; height: 18px; }
.footer .contact-mini li.wa-line .wa-logo { width: 18px; height: 18px; margin-top: 2px; }
.contact-list .ic--wa { background: transparent; }
.contact-list .ic--wa .wa-logo { width: 44px; height: 44px; }
/* bouton flottant (ordinateur) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: #25D366; color: #fff !important; font-weight: 800; text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.45); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .wa-logo { width: 38px; height: 38px; }
.wa-float .wa-logo circle { fill: #fff; }
.wa-float .wa-logo path { fill: #25D366; }
body.cmp-open .wa-float { bottom: 230px; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-cta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-cta .btn { padding: 12px 6px; font-size: .88rem; gap: 6px; }
  .mobile-cta .btn svg, .mobile-cta .btn .wa-logo { width: 18px; height: 18px; }
  .topbar .wa-chip span { display: none; }
  .topbar .wa-chip { padding: 3px; margin-left: 4px; }
}

/* WhatsApp aux couleurs du site — logo officiel en version monochrome (blanc ou noir, autorisé par la charte WhatsApp) */
.wa-logo circle { fill: transparent !important; }
.wa-logo path { fill: currentColor !important; }
.btn--whatsapp { background: #1e231a; color: #fff; border-color: var(--accent); box-shadow: none; }
.btn--whatsapp:hover { background: #2a3322; border-color: var(--accent-hover); }
.btn--whatsapp .wa-logo { color: #fff; }
.wa-chip { background: rgba(150,218,11,.12); border-color: rgba(150,218,11,.5); }
.wa-chip:hover { background: rgba(150,218,11,.24); }
.wa-chip .wa-logo { color: #fff; }
.wa-float { background: var(--accent); color: #0a0a0a !important; box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 4px rgba(150,218,11,.18); }
.wa-float:hover { background: var(--accent-hover); }
.wa-float .wa-logo { color: #0a0a0a; width: 30px; height: 30px; }
.wa-float { padding: 12px 20px 12px 14px; }
.contact-list .ic--wa { background: var(--tint); }
.contact-list .ic--wa .wa-logo { width: 26px; height: 26px; color: #fff; }
.footer .contact-mini li.wa-line .wa-logo { color: #fff; }
.mobile-cta .btn--whatsapp { background: #1e231a; border-color: rgba(150,218,11,.45); }
.mode-card .mode-actions { margin-top: auto; }
.mode-card .mode-actions .btn { margin-top: 0; }
