/* ==========================================================================
   BioBoost - systeme de design (theme clair et theme sombre)
   Toutes les couleurs passent par des variables : le theme sombre ne fait que
   les redefinir (attribut data-theme="dark" sur <html>, pose avant l'affichage).
   Formes : boutons et puces en pilule, cartes 20px, champs 12px.
   ========================================================================== */

:root {
  color-scheme: light;
  /* Fond : jamais blanc pur, un gris tres leger en degrade */
  --bg:        #f1f3f6;
  --bg-top:    #f7f8fa;
  --bg-bottom: #e9ecf1;
  --bg-alt:    rgba(15, 23, 42, 0.035);   /* voile pour une section sur deux */
  --surface:   #ffffff;                   /* cartes */
  --surface-2: rgba(15, 23, 42, 0.04);    /* encarts dans une carte */
  --line:      #e2e5ea;
  --line-2:    #d2d7de;
  --nav-bg:    rgba(247, 248, 250, 0.84);
  --hover-2:   rgba(15, 23, 42, 0.07);

  /* Texte */
  --ink:       #14171c;
  --ink-2:     #525964;
  --ink-3:     #7c838d;
  --prose:     #2e3238;

  /* Accent unique des actions */
  --red:       #e30613;
  --red-hover: #c40510;
  --red-soft:  #fdecee;

  /* Blocs "inverses" (appel final) */
  --invert:     #15181d;
  --invert-2:   #1f232a;

  /* Etats */
  --ok-bg: #e6f8f1;  --ok-ink: #047857;  --ok-line: #bfe9d8;
  --warn-bg: #fff6e8; --warn-ink: #9a4a07; --warn-line: #f3d7a7; --warn-ic: #fdebc8;

  /* Formes */
  --r-pill: 999px;
  --r-card: 20px;
  --r-field: 12px;

  /* Ombres teintees (jamais de noir pur) */
  --shadow-1: 0 1px 2px rgba(21, 23, 26, 0.05);
  --shadow-2: 0 1px 2px rgba(21, 23, 26, 0.04), 0 12px 32px rgba(21, 23, 26, 0.08);

  /* Typo */
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rythme */
  --page: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* theme sombre : memes proportions, lumieres eteintes */
[data-theme="dark"] {
  color-scheme: dark;
  --bg:        #0b0e12;
  --bg-top:    #10141a;
  --bg-bottom: #07090c;
  --bg-alt:    rgba(255, 255, 255, 0.025);
  --surface:   #151a21;
  --surface-2: rgba(255, 255, 255, 0.05);
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.16);
  --nav-bg:    rgba(11, 14, 18, 0.8);
  --hover-2:   rgba(255, 255, 255, 0.09);
  --ink:       #eef1f5;
  --ink-2:     #aeb5bf;
  --ink-3:     #858d98;
  --prose:     #cdd3db;
  --red-soft:  rgba(227, 6, 19, 0.16);
  --invert:    #1a1f27;
  --invert-2:  #232933;
  --ok-bg: rgba(16, 185, 129, 0.14);  --ok-ink: #34d399;  --ok-line: rgba(16, 185, 129, 0.3);
  --warn-bg: rgba(245, 166, 35, 0.1); --warn-ink: #fbbf24; --warn-line: rgba(245, 166, 35, 0.28); --warn-ic: rgba(245, 166, 35, 0.18);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  position: relative;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fond : degrade tres leger, fixe a l'ecran, avec une lueur de la couleur de la page */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -8%, var(--c-soft, var(--red-soft)), transparent 70%),
    linear-gradient(170deg, var(--bg-top) 0%, var(--bg) 45%, var(--bg-bottom) 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, select, input { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid rgba(227, 6, 19, 0.35); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-alt); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- typographie */
.h1 {
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; color: var(--ink-3); }
.head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head .h2 { margin-bottom: 0.9rem; }
.kicker { font-size: 0.95rem; font-weight: 600; color: var(--red); margin-bottom: 0.75rem; }

/* ---------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-secondary { background: var(--surface-2); color: var(--ink); }
.btn-secondary:hover { background: var(--hover-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--surface-2); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--ink);
}
.link-arrow i { font-size: 0.8em; transition: transform 0.2s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* -------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo span { color: var(--red); }
.nav-links { display: none; gap: 0.25rem; margin-left: auto; }
.nav-links > a {
  white-space: nowrap;
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.95rem; color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links > a:hover, .nav-links > a[aria-current] { background: var(--hover-2); color: var(--ink); }

/* menu deroulant des services, chacun dans sa couleur */
.dd { position: relative; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; border: 0; border-radius: var(--r-pill); background: transparent;
  font-weight: 600; font-size: 0.95rem; color: var(--ink-2); cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dd-btn:hover, .dd.is-open .dd-btn, .dd-btn.is-current { background: var(--hover-2); color: var(--ink); }
.dd-btn i { font-size: 0.7em; transition: transform 0.25s var(--ease); }
.dd.is-open .dd-btn i { transform: rotate(180deg); }
.dd-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 580px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem; padding: 0.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) {
  .dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .dd:hover .dd-btn i { transform: rotate(180deg); }
}
.dd-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.75rem; border-radius: 14px; transition: background 0.2s var(--ease); }
.dd-item:hover, .dd-item[aria-current] { background: var(--c-soft); }
.dd-ic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--c-soft); color: var(--c-ink); font-size: 0.95rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dd-item:hover .dd-ic, .dd-item[aria-current] .dd-ic { background: var(--c); color: #fff; }
.dd-item b { display: block; font-size: 0.95rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.dd-item small { display: block; font-size: 0.82rem; color: var(--ink-2); line-height: 1.3; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.nav-actions .btn { min-height: 40px; padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.nav-tel { display: none; }
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer;
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions { margin-left: 0.5rem; }
  .nav-tel { display: inline-flex; }
  .burger { display: none; }
}

/* menu mobile */
.mnav {
  position: fixed; inset: 64px 0 auto 0; z-index: 49;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 0.75rem var(--gutter) 1.25rem;
  display: none;
}
.mnav.is-open { display: block; }
.mnav { max-height: calc(100dvh - 64px); overflow-y: auto; }
.mnav > a { display: block; padding: 0.85rem 0; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mnav > a:last-child { border-bottom: 0; }
.mnav > a[aria-current] { color: var(--red); }
.mnav-h { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); padding: 0.35rem 0 0.15rem; }
.mnav-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.mnav-svc a { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0; font-weight: 600; font-size: 0.98rem; }
.mnav-svc a[aria-current] { color: var(--c-ink); }
.m-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
@media (min-width: 960px) { .mnav { display: none !important; } }

/* ------------------------------------------------------------------- hero */
.hero { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: clamp(2.25rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
.hero-grid > * { min-width: 0; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.2fr 0.8fr; } }
.hero .h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* carte produit : "votre voiture -> vos gains" */
.est {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-2);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.est-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.25rem; }
.est-fields { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .est-fields { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.4rem; }
.field select {
  width: 100%; min-height: 48px; padding: 0.7rem 2.5rem 0.7rem 0.95rem;
  border: 1px solid var(--line-2); border-radius: var(--r-field); background: var(--surface);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2315171a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center;
  transition: border-color 0.2s var(--ease);
}
.field select:hover { border-color: var(--ink-3); }

.est-result {
  margin-top: 1.4rem; padding: 1.25rem;
  background: var(--surface-2); border-radius: 16px;
}
.est-model { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.est-power { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.est-from { font-size: 1.15rem; font-weight: 600; color: var(--ink-3); }
.est-arrow { color: var(--ink-3); }
.est-to { font-size: clamp(2.1rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.est-gain {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 0.95rem;
}
.est-torque { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-2); }
.est-price { display: flex; justify-content: space-between; align-items: baseline; margin: 1.25rem 0 1rem; }
.est-price b { font-size: 1.3rem; font-weight: 800; }
.est-note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-3); }
.est-result.is-swap { animation: swap 0.35s var(--ease); }
@keyframes swap { from { opacity: 0.35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .est-result.is-swap { animation: none; } }

/* -------------------------------------------------------- bande de confiance */
.trust { border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { padding: 1.6rem 1rem; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
@media (max-width: 799px) {
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.trust-val { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.trust-val .star { color: #f5a623; }
.trust-lab { font-size: 0.9rem; color: var(--ink-2); }

/* ------------------------------------------------------- produits phares */
.products { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .products { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; }
  .product.is-lead { grid-row: span 2; }
}
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.product:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: var(--line-2); }
.product.is-lead { background: linear-gradient(160deg, var(--surface) 55%, var(--red-soft) 100%); }
.p-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.15rem;
  background: var(--red-soft); color: var(--red); margin-bottom: 1.25rem;
}
.product h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 0.6rem; }
.product.is-lead h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.product p { color: var(--ink-2); margin-bottom: 1.25rem; }
.p-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.p-fact {
  padding: 0.4rem 0.8rem; border-radius: var(--r-pill);
  background: var(--surface-2); font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.p-price { font-size: 0.95rem; color: var(--ink-2); }
.p-price b { font-size: 1.35rem; color: var(--ink); font-weight: 800; }
.product.is-lead ul { margin-bottom: 1.5rem; }
.product.is-lead li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-2); }
.product.is-lead li + li { margin-top: 0.55rem; }
.product.is-lead li i { color: var(--red); margin-top: 0.3rem; font-size: 0.85rem; }

/* -------------------------------------------------------- autres services */
.svc-list { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.svc:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.svc-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--bg-alt); color: var(--ink);
}
.svc-t { font-weight: 700; line-height: 1.3; }
.svc-d { font-size: 0.88rem; color: var(--ink-2); line-height: 1.4; }
.svc > i:last-child { margin-left: auto; color: var(--ink-3); font-size: 0.8rem; }

/* ------------------------------------------------------------- methode */
.steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-top: 1.25rem; border-top: 2px solid var(--line); }
.step-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: var(--r-pill); background: var(--c, var(--red)); color: #fff;
  font-weight: 800; font-size: 0.9rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.95rem; color: var(--ink-2); }

/* ------------------------------------------------------- engagements */
.promise { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .promise { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.9rem 0; }
.checks li + li { border-top: 1px solid var(--line); }
.checks i { flex: 0 0 auto; margin-top: 0.3rem; color: var(--red); }
.checks b { display: block; margin-bottom: 0.15rem; }
.checks span { color: var(--ink-2); font-size: 0.95rem; }
.honest {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.honest h3 { margin-bottom: 0.85rem; }
.honest p { color: var(--ink-2); }
.honest p + p { margin-top: 0.8rem; }

/* ------------------------------------------------------------- avis */
.rating {
  display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
@media (min-width: 760px) { .rating { grid-template-columns: auto 1fr auto; } }
.rating-score { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.rating-stars { color: #f5a623; letter-spacing: 0.1em; margin-top: 0.35rem; }

/* ------------------------------------------------------------- zones */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.1rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-2);
  font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip span { color: var(--ink-3); font-weight: 500; font-size: 0.85rem; }
.chip:hover { border-color: var(--ink-3); }

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: var(--r-pill);
  display: grid; place-items: center; background: var(--surface-2);
  font-size: 1.2rem; font-weight: 500; transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 3rem 1.4rem 0; color: var(--ink-2); }

/* ---------------------------------------------------------- CTA final */
.final {
  background: var(--invert); color: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: clamp(2.25rem, 6vw, 4rem);
  display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 880px) { .final { grid-template-columns: 1.4fr 1fr; } }
.final p { color: rgba(255, 255, 255, 0.72); max-width: 42ch; }
.final .h2 { margin-bottom: 0.9rem; }
.final-cta { display: flex; flex-direction: column; gap: 0.75rem; }
.final .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.final .btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* ------------------------------------------------------------ footer */
.foot { padding-block: 3.5rem 2rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.foot h3 { font-size: 0.95rem; margin-bottom: 0.9rem; }
.foot li + li { margin-top: 0.5rem; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; color: var(--ink-3);
}

/* ------------------------------------------------------- bandeau cookies */
.cookies {
  position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); padding: 1.25rem;
  display: none;
}
.cookies.is-open { display: block; }
.cookies p { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 1rem; }
.cookies p b { color: var(--ink); }
.cookies-btns { display: flex; gap: 0.6rem; }
.cookies-btns .btn { flex: 1; min-height: 44px; }

/* barre d'appel mobile */
.callbar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--nav-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; gap: 0.6rem;
}
.callbar .btn { flex: 1; }
@media (min-width: 960px) { .callbar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 76px; } }


/* barre d'appel : boutons compacts pour tenir sur un ecran de 360px */
.callbar .btn { min-height: 46px; padding: 0.6rem 0.7rem; font-size: 0.92rem; gap: 0.4rem; }

/* titres : lignes equilibrees, pas de mot orphelin */
.h1, .h2, .h3 { text-wrap: balance; }
.lead, .muted, .faq-a { text-wrap: pretty; }

/* mobile : la barre d'appel du bas porte deja l'action, on allege la navigation */
@media (max-width: 959px) {
  .nav-actions .btn-primary { display: none; }
}

/* ==========================================================================
   IDENTITE BIOBOOST : couleurs par service + logo d'origine
   Chaque service garde sa teinte. Trois nuances par teinte pour rester lisible
   sur fond blanc : --c (vive, aplats et animations), --c-ink (texte),
   --c-soft (fonds pales). Le rouge reste la couleur des actions principales.
   ========================================================================== */
.theme-red    { --c: #e30613; --c-ink: #d10512; --c-soft: #fdecee; }
.theme-green  { --c: #10b981; --c-ink: #047857; --c-soft: #e6f8f1; }
.theme-blue   { --c: #007aff; --c-ink: #0062cc; --c-soft: #e8f2ff; }
.theme-gold   { --c: #f5a623; --c-ink: #b45309; --c-soft: #fef5e2; }
.theme-cyan   { --c: #06b6d4; --c-ink: #0e7490; --c-soft: #e5f7fa; }
.theme-orange { --c: #f97316; --c-ink: #c2410c; --c-soft: #fff0e6; }
.theme-violet { --c: #8b5cf6; --c-ink: #6d28d9; --c-soft: #f1ebfe; }
.theme-teal   { --c: #14b8a6; --c-ink: #0f766e; --c-soft: #e5f6f4; }

/* logo d'origine : BIO + BOOST (couleur de la page) + PERFORMANCE */
.logo {
  display: inline-flex; align-items: baseline;
  font-family: 'Space Grotesk', var(--font); font-weight: 700;
  font-size: 1.35rem; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1;
}
.logo .l-bio { color: var(--ink); }
.logo .l-boost { color: var(--c-ink, var(--red)); transition: color 0.3s var(--ease); }
.logo .l-perf {
  font-size: 0.5em; letter-spacing: 0.12em; color: var(--ink-3);
  margin-left: 0.45rem; transform: translateY(-0.1em);
}
@media (max-width: 380px) { .logo .l-perf { display: none; } }

/* icones et cartes teintees par service */
.p-icon, .svc-ic { background: var(--c-soft, var(--red-soft)); color: var(--c-ink, var(--red)); }
.product .p-price b { color: var(--c-ink, var(--ink)); }
.product::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--c, var(--red));
  transform: scaleX(0); transition: transform 0.45s var(--ease);
}
.product:hover::before { transform: scaleX(1); }
.product.is-lead { background: linear-gradient(160deg, var(--surface) 55%, var(--c-soft, var(--red-soft)) 100%); }
.product.is-lead li i { color: var(--c-ink, var(--red)); }
.svc:hover { border-color: var(--c, var(--line-2)); }
.svc:hover .svc-ic { background: var(--c); color: #fff; }
.svc-ic { transition: background 0.25s var(--ease), color 0.25s var(--ease); }

/* reflet qui suit le curseur (souris uniquement) */
@media (hover: hover) and (pointer: fine) {
  .product, .svc {
    background-image: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), var(--c-soft, var(--red-soft)), transparent 45%);
  }
}

/* ==========================================================================
   ANIMATIONS : chacune a une raison d'etre, toutes coupees si l'utilisateur
   a demande de reduire les animations.
   ========================================================================== */

/* 1. barre de lecture : montre ou l'on en est dans la page */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  background: var(--c, var(--red)); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: bar-grow linear both; animation-timeline: scroll(root); }
  @keyframes bar-grow { to { transform: scaleX(1); } }
}

/* 2. pastille du hero : les services defilent, chacun dans sa couleur */
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.5rem 1.1rem 0.5rem 0.8rem; margin-bottom: 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-1); font-weight: 600; font-size: 0.95rem;
}
.hp-dot {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--pill-c, var(--red)); box-shadow: 0 0 0 4px var(--pill-soft, var(--red-soft));
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.hp-words { display: inline-grid; overflow: hidden; }
.hp-w {
  grid-area: 1 / 1; white-space: nowrap; color: var(--c-ink);
  opacity: 0; transform: translateY(105%);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.hp-w.is-on { opacity: 1; transform: none; }
.hp-w.is-out { opacity: 0; transform: translateY(-105%); }

/* 3. halos de couleur derriere l'estimateur : donnent de la profondeur au hero */
.hero { position: relative; overflow: hidden; overflow: clip; }
.hero .wrap { position: relative; z-index: 1; }
.orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.42; width: 380px; height: 380px; }
.orb-1 { background: #a7ecd4; top: 2%; right: 4%; animation: drift-1 18s ease-in-out infinite; }
.orb-2 { background: #b9d6ff; top: 38%; right: 22%; width: 300px; height: 300px; animation: drift-2 22s ease-in-out infinite; }
.orb-3 { background: #fde2b0; top: 50%; right: -4%; width: 320px; height: 320px; animation: drift-3 26s ease-in-out infinite; }
@keyframes drift-1 { 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes drift-2 { 50% { transform: translate(35px, -25px) scale(0.94); } }
@keyframes drift-3 { 50% { transform: translate(-30px, -35px) scale(1.06); } }
@media (max-width: 979px) { .orb { opacity: 0.3; } .orb-2, .orb-3 { display: none; } }

/* 4. apparition progressive, pilotee par la position de defilement (CSS pur).
      L'etat ne depend que de la position dans la page : rien ne peut rester
      bloque invisible, et un navigateur qui ne gere pas l'effet affiche tout
      normalement. Un bloc est entierement visible des qu'il est monte de 160 px
      dans l'ecran. Sur grand ecran, les cartes d'une meme rangee entrent l'une
      apres l'autre (rang --i pose par meta.js). "translate" et non "transform" :
      le leger soulevement des cartes au survol continue de fonctionner. */
@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: cover calc(var(--i, 0) * var(--stagger, 0px)) cover calc(160px + var(--i, 0) * var(--stagger, 0px));
    }
    @keyframes reveal-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: none; } }
  }
}
@media screen and (min-width: 760px) { :root { --stagger: 40px; } }

/* 5. methode : la ligne se remplit a mesure qu'on descend */
.steps { position: relative; }
@media (min-width: 1040px) {
  .steps::before, .steps::after { content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 2px; }
  .steps::before { background: var(--line); }
  .steps::after { background: var(--c, var(--red)); transform-origin: 0 50%; transform: scaleX(0.02); }
  .step { border-top: 0; }
  @supports (animation-timeline: view()) {
    .steps::after { animation: bar-grow linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
  }
}
.step-n { background: var(--c, var(--ink)); transition: transform 0.3s var(--ease); }
.step:hover .step-n { transform: scale(1.12); }

/* 6. defile des marques (un seul sur la page) */
.brands { overflow: hidden; overflow: clip; padding-block: 2.25rem; border-block: 1px solid var(--line); }
.brands-mask {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands-track { display: flex; width: max-content; gap: 3.5rem; align-items: center; animation: marquee 38s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brands img { height: 28px; width: auto; opacity: 0.55; transition: opacity 0.25s var(--ease); }
.brands img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 7. chiffres qui comptent : chiffres tabulaires, aucune variation de largeur */
.trust-val, .est-to, .est-from, .est-gain { font-variant-numeric: tabular-nums; }


/* ==========================================================================
   THEME SOMBRE : teintes des services eclaircies pour rester lisibles
   ========================================================================== */
[data-theme="dark"] :is(.theme-red, .perf, .w-red, .p-red, .tel-red, .t-red)          { --c-ink: #ff6b73; }
[data-theme="dark"] :is(.theme-green, .e85, .w-green, .p-green, .tel-green, .green)    { --c-ink: #34d399; }
[data-theme="dark"] :is(.theme-blue, .coding, .w-blue, .p-blue, .tel-blue, .blue)      { --c-ink: #5aa9ff; }
[data-theme="dark"] :is(.theme-gold, .gold, .w-gold, .p-gold, .tel-gold)               { --c-ink: #fbbf24; }
[data-theme="dark"] :is(.theme-cyan, .diag, .w-cyan, .p-cyan, .tel-cyan, .cyan)        { --c-ink: #22d3ee; }
[data-theme="dark"] :is(.theme-orange, .echap, .w-orange, .p-orange, .tel-orange, .orange) { --c-ink: #fb923c; }
[data-theme="dark"] :is(.theme-violet, .decal, .w-violet, .p-violet, .tel-violet, .violet) { --c-ink: #a78bfa; }
[data-theme="dark"] :is(.theme-teal, .fap, .w-teal, .p-teal, .tel-teal, .teal)         { --c-ink: #2dd4bf; }
[data-theme="dark"] :is(.theme-red, .theme-green, .theme-blue, .theme-gold, .theme-cyan, .theme-orange, .theme-violet, .theme-teal,
  .perf, .e85, .coding, .gold, .diag, .echap, .decal, .fap, .green, .blue, .cyan, .orange, .violet, .teal,
  .w-red, .w-green, .w-blue, .w-gold, .w-cyan, .w-orange, .w-violet, .w-teal,
  .p-red, .p-green, .p-blue, .p-gold, .p-cyan, .p-orange, .p-violet, .p-teal,
  .tel-red, .tel-green, .tel-blue, .tel-gold, .tel-cyan, .tel-orange, .tel-violet, .tel-teal, .t-red) {
  --c-soft: color-mix(in srgb, var(--c) 17%, #151a21);
}
[data-theme="dark"] .tc-red { color: #ff6b73; } [data-theme="dark"] .tc-green { color: #34d399; }
[data-theme="dark"] .tc-blue { color: #5aa9ff; } [data-theme="dark"] .tc-gold { color: #fbbf24; }
[data-theme="dark"] .tc-cyan { color: #22d3ee; } [data-theme="dark"] .tc-orange { color: #fb923c; }
[data-theme="dark"] .tc-violet { color: #a78bfa; } [data-theme="dark"] .tc-teal { color: #2dd4bf; }
[data-theme="dark"] .orb { opacity: 0.16; }
[data-theme="dark"] .brands img { filter: brightness(0) invert(0.82); }

/* bascule de theme : soleil / lune */
.theme-btn {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.3s var(--ease);
}
.theme-btn:hover { background: var(--hover-2); }
.theme-btn:active { transform: rotate(-20deg) scale(0.94); }
.theme-btn .fa-sun { display: none; }
[data-theme="dark"] .theme-btn .fa-sun { display: inline-block; color: #fbbf24; }
[data-theme="dark"] .theme-btn .fa-moon { display: none; }
@media (min-width: 960px) { .theme-btn { width: 40px; height: 40px; } }

/* transition douce au changement de theme (pas au chargement) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease !important;
}


/* ==========================================================================
   MENU : acces direct a la conversion E85 (priorite du site)
   ========================================================================== */
.nav-links > a.nl-e85 { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); }
.nl-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.mnav > a.mnav-e85 { display: flex; align-items: center; gap: 0.6rem; color: var(--ok-ink); }
.mnav > a.mnav-e85 .m-dot { background: #10b981; }
@media (min-width: 960px) and (max-width: 1239px) {
  .nav-tel span { display: none; }
  .nav-tel { width: 40px; padding: 0 !important; }
  .nav-links > a, .dd-btn { padding-inline: 0.7rem; }
}

/* ==========================================================================
   E85 : calculateur d'economies + panneau de prix facon station-service
   ========================================================================== */
.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); padding: clamp(1.25rem, 3vw, 1.75rem);
}
.pump {
  position: relative; overflow: hidden; overflow: clip;
  background: linear-gradient(180deg, #1c2129 0%, #0f1216 100%); color: #fff;
  border-radius: 16px; padding: 0.85rem 0.95rem 0.95rem; margin-bottom: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 10px 24px rgba(15, 18, 22, 0.18);
}
.pump::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 4px);
}
.pump-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); margin-bottom: 0.55rem; }
.pump-head i { color: rgba(255, 255, 255, 0.45); }
.pump-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.45rem 0.65rem; border-radius: 10px; }
.pump-row + .pump-row { margin-top: 0.35rem; }
.pump-row.is-e85 { background: rgba(16, 185, 129, 0.14); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.35); }
.pump-name { font-weight: 700; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.pump-row.is-e85 .pump-name { color: #6ee7b7; }
.pump-price {
  font-family: 'Space Grotesk', var(--font); font-weight: 700; font-size: 1.65rem; line-height: 1;
  color: #fcd34d; text-shadow: 0 0 14px rgba(252, 211, 77, 0.35); font-variant-numeric: tabular-nums;
}
.pump-row.is-e85 .pump-price { color: #34d399; text-shadow: 0 0 16px rgba(52, 211, 153, 0.5); }
.pump-price small { font-size: 0.5em; opacity: 0.75; margin-left: 0.2em; font-family: var(--font); }
.calc-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.calc-fields { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.field input {
  width: 100%; min-height: 48px; padding: 0.7rem 0.95rem; font-size: 1.05rem; font-weight: 700;
  border: 1px solid var(--line-2); border-radius: var(--r-field); background: var(--surface);
  font-variant-numeric: tabular-nums; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus { outline: none; border-color: var(--c, var(--red)); box-shadow: 0 0 0 4px var(--c-soft, var(--red-soft)); }
.calc-bars { display: grid; gap: 0.55rem; margin: 1.1rem 0 1rem; }
.calc-bar { display: grid; grid-template-columns: 6.3rem 1fr auto; align-items: center; gap: 0.65rem; font-size: 0.88rem; }
.cb-l { color: var(--ink-2); font-weight: 600; }
.cb-track { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.cb-fill { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; transition: width 0.7s var(--ease); }
.cb-fill.is-sp { background: #a1a8b2; }
.cb-fill.is-e85 { background: linear-gradient(90deg, #10b981, #34d399); }
.cb-v { min-width: 4.6rem; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-result { display: grid; gap: 0.2rem; padding: 1rem 1.15rem; margin-bottom: 1rem; border-radius: 16px; background: var(--c-soft, var(--ok-bg)); }
.calc-k { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.calc-v { color: var(--ink-2); }
.calc-v b { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--c-ink, var(--ok-ink)); font-variant-numeric: tabular-nums; }
.calc-sub { font-size: 0.9rem; color: var(--ink-2); }
.calc-sub b { color: var(--ink); }
.calc-note { margin-top: 0.8rem; font-size: 0.78rem; color: var(--ink-3); }
@media (max-width: 420px) { .calc-fields { grid-template-columns: 1fr; } .calc-bar { grid-template-columns: 5.4rem 1fr auto; } }
@media (prefers-reduced-motion: reduce) { .cb-fill { transition: none; } }

/* ==========================================================================
   VISUELS : photos et illustrations
   ========================================================================== */
.media {
  position: relative; overflow: hidden; overflow: clip; border-radius: var(--r-card);
  background: var(--surface-2); box-shadow: var(--shadow-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.media:hover img { transform: scale(1.03); }
.media figcaption, .media-cap {
  position: absolute; left: 0.9rem; bottom: 0.9rem; right: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; max-width: calc(100% - 1.8rem);
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill);
  background: rgba(15, 18, 22, 0.72); color: #fff; font-size: 0.88rem; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.media figcaption i, .media-cap i { color: var(--c, #fff); }
.p-media { margin: calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) 1.5rem; aspect-ratio: 16 / 9; border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product:hover .p-media img { transform: scale(1.04); }


/* ==========================================================================
   ACCUEIL (conversion E85 en premier)
   ========================================================================== */
.hero-points { display: grid; gap: 0.45rem; margin-top: 1.6rem; }
.hero-points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.97rem; }
.hero-points i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--c-soft, var(--ok-bg)); color: var(--c-ink, var(--ok-ink)); font-size: 0.65rem; }

.kicker-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; margin-bottom: 1rem;
  border-radius: var(--r-pill); background: var(--c-soft, var(--red-soft)); color: var(--c-ink, var(--red));
  font-weight: 700; font-size: 0.88rem;
}

.e85-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .e85-grid { grid-template-columns: 1.1fr 0.9fr; } }
.facts { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.fact-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-ink); }
.fact b { display: block; line-height: 1.3; margin-bottom: 0.2rem; }
.fact span { font-size: 0.9rem; color: var(--ink-2); line-height: 1.45; }

.plein {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-2); padding: clamp(1.4rem, 3vw, 2rem);
}
.plein-t { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.2rem; margin-bottom: 1.25rem; }
.plein-t i { color: #10b981; }
.plein-row { display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.plein-n { font-weight: 700; color: var(--ink-2); }
.plein-row.is-e85 .plein-n { color: var(--ok-ink); }
.plein-bar { height: 14px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.plein-bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #a1a8b2; }
.plein-row.is-e85 .plein-bar span { background: linear-gradient(90deg, #10b981, #34d399); }
.plein-row b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plein-row.is-e85 b { color: var(--ok-ink); }
.plein-save { margin: 1.25rem 0 0.4rem; padding: 0.85rem 1rem; border-radius: 14px; background: var(--ok-bg); color: var(--ok-ink); font-weight: 600; }
.plein-save b { font-size: 1.25rem; font-weight: 800; }
.plein-note { font-size: 0.8rem; color: var(--ink-3); margin-bottom: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .plein-bar span { animation: bar-w linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes bar-w { from { width: 0; } to { width: var(--w); } }
  }
}

/* produits : la carte principale occupe toute la hauteur face a 3 cartes */
@media (min-width: 900px) { .products.has-3 .product.is-lead { grid-row: span 3; } }
.p-price s { color: var(--ink-3); font-weight: 600; margin-right: 0.2rem; }
.product.has-media { padding-top: 0; overflow: hidden; }
.product.has-media .p-media { margin: 0 calc(-1 * clamp(1.5rem, 3vw, 2.25rem)) 1.25rem; aspect-ratio: 21 / 9; border-radius: 0; }

/* engagements : photo au-dessus de l'encadre */
.promise-side { display: grid; gap: 1.25rem; }
.promise-side .media { aspect-ratio: 3 / 2; }


/* carte E85 : visuel facon etiquette de pompe */
.p-visual {
  position: relative; overflow: hidden; overflow: clip; display: grid; align-content: end; gap: 0.35rem;
  min-height: 200px; margin-bottom: 1.5rem; padding: 1.25rem 1.4rem; border-radius: 16px; color: #fff;
  background:
    radial-gradient(420px 220px at 90% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #0f9f6e 0%, #047857 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.pv-tag { position: absolute; top: 1rem; left: 1.2rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.75rem; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.22); font-size: 0.82rem; font-weight: 700; }
.pv-big { font-family: 'Space Grotesk', var(--font); font-weight: 700; font-size: clamp(3.8rem, 7vw, 5.2rem); line-height: 0.9; letter-spacing: -0.03em; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25); }
.pv-price { font-weight: 800; font-size: 1.25rem; }
.pv-price small { font-weight: 600; opacity: 0.8; font-size: 0.8em; }
.pv-leaf { position: absolute; right: -0.4rem; bottom: -1.2rem; font-size: 9rem; color: rgba(255, 255, 255, 0.1); transform: rotate(-18deg); transition: transform 0.8s var(--ease); }
.product:hover .pv-leaf { transform: rotate(-8deg) scale(1.05); }


/* rentabilite de la cartographie : en mois, en kilometres, en pleins */
.calc-pay { margin: -0.35rem 0 1rem; padding: 0.9rem 1rem 1rem; border-radius: 16px; border: 1px dashed var(--line-2); }
.calc-pay-t { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.6rem; }
.calc-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.calc-pay-grid > div { display: grid; justify-items: center; padding: 0.55rem 0.3rem; border-radius: 12px; background: var(--surface-2); }
.calc-pay-grid b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--c-ink, var(--ok-ink)); font-variant-numeric: tabular-nums; }
.calc-pay-grid span { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.pump-date { font-weight: 500; opacity: 0.85; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { opacity: 0.4; }

/* bandeau de photos (accueil) */
.media-strip { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: clamp(2rem, 4vw, 3rem); }
.media-strip .media { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .media-strip { grid-template-columns: repeat(3, 1fr); } }


/* reduction des animations : tout devient statique et lisible immediatement */
@media (prefers-reduced-motion: reduce) {
  .orb, .brands-track { animation: none !important; }
  .brands-track { flex-wrap: wrap; width: auto; justify-content: center; gap: 2rem; }
  .brands-track .dup { display: none; }
  .hp-w, .hp-dot, .product::before, .svc-ic { transition: none; }
  .steps::after { transform: scaleX(1); animation: none; }
}

/* hero avec calculateur : le texte s'aligne en haut plutot qu'au milieu d'une carte haute */
.hero-grid:has(> .calc) { align-items: start; }
.hero-grid:has(> .calc) > :first-child { padding-top: clamp(0.5rem, 4vw, 3.5rem); }

/* images recadrees : elles remplissent leur cadre sans jamais l'agrandir */
.media img, .p-media img { position: absolute; inset: 0; }
.p-media { position: relative; }
figure.media { margin: 0; }

/* ------------------------------------------------------------------ l'essentiel
   Reponse directe en tete de page : qui, quoi, ou, combien, en quelques lignes.
   C'est le passage que les moteurs de reponse (ChatGPT, Perplexity...) citent. */
.essentiel-wrap { padding-block: clamp(1.75rem, 4vw, 2.75rem) !important; }
.essentiel-home { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.essentiel {
  position: relative; max-width: 62rem; overflow: clip;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.4vw, 2.25rem);
  box-shadow: var(--shadow-1);
}
.essentiel::before {
  content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--c, var(--red));
}
.essentiel-k {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-ink, var(--red));
}
.essentiel-txt { font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.65; color: var(--ink); max-width: 70ch; text-wrap: pretty; }
.essentiel-facts {
  list-style: none; margin: 1.2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.6rem;
}
.essentiel-facts li {
  display: flex; flex-direction: column; gap: 0.15rem; min-width: 0;
  padding: 0.7rem 0.9rem; border-radius: 14px; background: var(--c-soft, var(--surface-2));
}
.essentiel-facts span { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.essentiel-facts b { font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.essentiel-date { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-3); }
.essentiel-txt a { color: var(--c-ink, var(--red)); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.essentiel-txt a:hover { text-decoration-thickness: 2px; }
