/* ============================================================================
   VolantePT — système de design partagé (« O catálogo do fornecedor »)
   ----------------------------------------------------------------------------
   Chargé par index.html, produto.html, legal.html, privacidade.html.
   Règle : aucune couleur en dur dans une règle. Tout passe par les tokens.

   Thème : les composants lisent des variables SÉMANTIQUES (--fg, --bg, --card,
   --line…). La classe .on-dark redéfinit ces variables — donc un même composant
   s'adapte automatiquement à une section claire ou sombre, sans variante.
   ========================================================================== */

:root {
  /* --- palette brute --- */
  --ink:        #0A0E17;   /* graphite bleuté : sections sombres + texte sur clair */
  --ink-2:      #121A28;   /* élévation sur sombre */
  --ink-3:      #1B2434;
  --paper:      #F4F6FA;   /* blanc froid : fond des sections claires */
  --paper-2:    #FFFFFF;   /* cartes */
  --paper-3:    #E8EDF4;   /* panneaux / puits */
  --steel:      #5C6779;   /* texte secondaire sur clair */
  --steel-dim:  #96A2B5;   /* texte secondaire sur sombre */

  --accent:       #0A5BFF;
  --accent-dark:  #0033B8;
  --accent-light: #5FA6FF;
  --accent2:      #00B4FF;

  /* Hero : profondeur sobre, dérivée du graphite et du bleu de marque. */
  --hero-gradient-start:  #0A0E17;
  --hero-gradient-middle: #0D1728;
  --hero-gradient-end:    #12305C;

  --gold: #F2C14E;   /* étoiles des avis */
  --go:   #10B981;   /* disponibilité / statut en ligne */

  /* --- variables sémantiques (thème clair par défaut) --- */
  --bg:          var(--paper);
  --fg:          var(--ink);
  --fg-dim:      var(--steel);
  --card:        var(--paper-2);
  --card-sunken: var(--paper-3);
  --line:        rgba(10, 14, 23, .11);
  --line-strong: rgba(10, 14, 23, .22);
  --shadow:      0 1px 2px rgba(10, 14, 23, .05), 0 12px 32px -18px rgba(10, 14, 23, .28);
  --shadow-lift: 0 2px 4px rgba(10, 14, 23, .06), 0 28px 56px -24px rgba(10, 14, 23, .38);

  /* --- Liquid Glass ---
     Matière optique partagée : les composants ne connaissent que ces tokens,
     que .on-dark rebascule comme les autres variables sémantiques. */
  --glass-surface:        rgba(255, 255, 255, .62);
  --glass-surface-strong: rgba(255, 255, 255, .82);
  --glass-surface-soft:   rgba(255, 255, 255, .34);
  --glass-border:         rgba(255, 255, 255, .78);
  --glass-border-dim:     rgba(10, 14, 23, .10);
  --glass-highlight:      rgba(255, 255, 255, .92);
  --glass-highlight-soft: rgba(255, 255, 255, .42);
  --glass-shadow:         0 1px 0 rgba(255, 255, 255, .88) inset,
                          0 -1px 0 rgba(10, 14, 23, .06) inset,
                          0 22px 46px -30px rgba(10, 14, 23, .42);
  --glass-shadow-lift:    0 1px 0 rgba(255, 255, 255, .94) inset,
                          0 -1px 0 rgba(10, 14, 23, .08) inset,
                          0 30px 64px -28px rgba(10, 14, 23, .48);
  --glass-blue:           rgba(10, 91, 255, .22);
  --glass-blue-soft:      rgba(10, 91, 255, .08);
  --glass-cyan-soft:      rgba(0, 180, 255, .07);
  --glass-fixed-dark:     rgba(10, 14, 23, .82);
  --glass-metal:          linear-gradient(112deg, #929CA9 0%, #F7FAFF 24%, #B9C3D0 48%, #FFFFFF 64%, #8D98A6 100%);

  /* --- rythme --- */
  --shell:   1240px;
  --gutter:  clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius:  18px;
  --radius-s: 11px;

  /* --- typographie ---
     Une seule famille neo-grotesque pour retrouver le rendu sobre et ample
     de la reference, avec une hierarchie creee par le poids et l'espacement. */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- courbes --- */
  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* Inversion du thème : posée sur une section sombre, elle rebascule tous les
   composants qu'elle contient. */
.on-dark {
  --bg:          var(--ink);
  --fg:          #F2F5FA;
  --fg-dim:      var(--steel-dim);
  --card:        rgba(255, 255, 255, .045);
  --card-sunken: rgba(255, 255, 255, .03);
  --line:        rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .28);
  --shadow:      0 20px 50px -30px rgba(0, 0, 0, .9);
  --shadow-lift: 0 30px 70px -30px rgba(0, 0, 0, 1);
  --glass-surface:        rgba(21, 31, 48, .50);
  --glass-surface-strong: rgba(19, 28, 44, .72);
  --glass-surface-soft:   rgba(255, 255, 255, .055);
  --glass-border:         rgba(255, 255, 255, .16);
  --glass-border-dim:     rgba(255, 255, 255, .08);
  --glass-highlight:      rgba(255, 255, 255, .28);
  --glass-highlight-soft: rgba(255, 255, 255, .10);
  --glass-shadow:         0 1px 0 rgba(255, 255, 255, .16) inset,
                          0 -1px 0 rgba(0, 0, 0, .30) inset,
                          0 24px 54px -30px rgba(0, 0, 0, .90);
  --glass-shadow-lift:    0 1px 0 rgba(255, 255, 255, .22) inset,
                          0 -1px 0 rgba(0, 0, 0, .38) inset,
                          0 34px 72px -28px rgba(0, 0, 0, 1);
  color: var(--fg);
  background: var(--bg);
}

/* ============================ base ======================================== */

*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: 96px; }

/* ============================ typographie ================================= */

/* Titres inspirés de la référence : casse naturelle, graisse franche mais pas
   massive, approche serrée et interligne compact. */
.display {
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.t-hero { font-size: clamp(2.25rem, 5.8vw, 4.55rem); }
.t-h2   { font-size: clamp(1.85rem, 3.8vw, 3rem); }
.t-h3   { font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.05; }

.t-h4 {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.lede {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.62;
  color: var(--fg-dim);
  max-width: 46ch;
}

.mono {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
}

.label {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* Marqueur 12 h — le repère peint à midi sur un volant de série.
   C'est le motif structurel du site : il ouvre chaque section. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.eyebrow::before {
  content: '';
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}

.accent { color: var(--accent); }
.on-dark .accent { color: var(--accent-light); }

/* ============================ structure =================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: 1440px; }

.section {
  position: relative;
  padding-block: var(--section);
}
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--dark  { background: var(--ink); }
.section--light {
  background:
    radial-gradient(circle at 8% 18%, var(--glass-blue-soft), transparent 30rem),
    radial-gradient(circle at 92% 72%, var(--glass-cyan-soft), transparent 28rem),
    var(--paper);
}
.section--panel {
  background:
    radial-gradient(circle at 78% 22%, var(--glass-blue-soft), transparent 32rem),
    var(--paper-3);
}

/* Séparateur entre deux sections claires */
.section + .section--light { border-top: 1px solid var(--line); }

.head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
/* en rem, pas en ch : l'unité ch se calcule sur la fonte du conteneur, pas sur
   celle du titre étiré qu'il contient — le titre passait à la ligne à chaque mot */
.head__text { max-width: 42rem; }
.head .eyebrow { margin-bottom: 1rem; }
.head .lede { margin-top: 1.15rem; }

/* ============================ boutons ===================================== */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-ui);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid var(--glass-highlight-soft);
  box-shadow: 0 1px 0 var(--glass-highlight-soft) inset;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background:
    radial-gradient(circle at 24% -55%, var(--glass-highlight), transparent 42%),
    linear-gradient(112deg, var(--accent-dark), var(--accent) 42%, var(--accent-light) 62%, var(--accent) 78%, var(--accent-dark));
  background-size: 100% 100%, 180% 100%;
  background-position: center, 0 0;
  border-color: var(--glass-highlight-soft);
  box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 -1px 0 var(--accent-dark) inset, 0 16px 34px -14px var(--accent);
}
.btn--primary:hover {
  background-position: center, 100% 0;
  box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 -1px 0 var(--accent-dark) inset, 0 20px 42px -14px var(--accent);
}

/* Reflet balayant : une seule fois au survol, pas en boucle. */
.btn--primary::after {
  content: '';
  position: absolute;
  inset-block: 0;
  left: -80%;
  width: 45%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-18deg);
}
@media (hover: hover) {
  .btn--primary:hover::after { animation: btn-sweep .8s var(--ease-out); }
}
@keyframes btn-sweep { from { left: -80%; } to { left: 135%; } }

.btn--ghost {
  background: var(--glass-surface-soft);
  color: var(--fg);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}
.btn--ghost:hover { background: var(--card); box-shadow: 0 0 0 1px var(--accent) inset; color: var(--accent); }
.on-dark .btn--ghost:hover { color: var(--accent-light); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 2rem; font-size: .78rem; }

/* ============================ navigation ================================== */

/* Barre claire flottante, y compris au-dessus du hero sombre : le lockup du
   logo a le mot « Volante » en blanc, donc le wordmark est écrit en HTML pour
   suivre le thème — seule la marque (volant noir) reste une image. */
.nav {
  position: fixed;
  z-index: 60;
  top: .55rem;
  left: .55rem;
  right: .55rem;
  transition: transform .35s var(--ease), box-shadow .3s ease;
  will-change: transform;
}
.nav.is-hidden { transform: translateY(calc(-100% - .8rem)); }

.nav__bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 58px;
  padding-inline: .7rem .7rem;
  border-radius: 999px;
  background:
    linear-gradient(115deg, var(--glass-highlight-soft), transparent 26%, transparent 68%, var(--glass-blue-soft)),
    var(--glass-surface-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(30px) saturate(1.75) contrast(1.03);
  -webkit-backdrop-filter: blur(30px) saturate(1.75) contrast(1.03);
  box-shadow: var(--glass-shadow-lift);
  color: var(--ink);
  max-width: var(--shell);
  margin-inline: auto;
}
.nav__bar::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 24% 95% at 18% -48%, var(--glass-highlight), transparent 72%),
    radial-gradient(ellipse 26% 120% at 88% 150%, var(--glass-blue), transparent 72%);
}
.nav__bar > * { position: relative; z-index: 1; }

.nav__brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-left: .35rem;
  flex: none;
}
.nav__brand img { height: 30px; width: auto; }
.nav__wordmark {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.nav__wordmark b { color: var(--accent); font-weight: 700; }

.nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  margin-inline: auto;
}
.nav__link {
  position: relative;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  padding-block: .4rem;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  top: -.9rem;
  left: 50%;
  translate: -50% 0;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--accent);
  transition: height .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { height: 11px; }

.nav__end { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
/* sous lg, le libellé long passait sous le bord droit de la barre */
.nav__cta { padding: .8rem 1.1rem; }
.nav__cta-lg { display: none; }

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-border);
  background: var(--glass-surface-soft);
  box-shadow: 0 1px 0 var(--glass-highlight-soft) inset, 0 8px 18px -14px var(--ink);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
  flex: none;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--glass-surface-strong); }

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .6rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart-count[hidden] { display: none; }

@media (min-width: 1024px) {
  .nav { top: 1rem; left: 1rem; right: 1rem; }
  .nav__bar { height: 64px; padding-inline: 1.1rem .8rem; }
  .nav__links { display: flex; }
  .nav__brand img { height: 34px; }
  .nav__wordmark { font-size: 1.12rem; }
  .nav__cta { padding: .95rem 1.6rem; }
  .nav__cta-lg { display: inline; }
  .nav__cta-sm { display: none; }
}

/* Jauge de progression de lecture, collée sous la barre */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent2));
  z-index: 70;
}

/* ============================ panneau panier ============================== */

.cart-panel {
  position: fixed;
  z-index: 65;
  width: min(92vw, 350px);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--glass-highlight-soft), transparent 34%),
    var(--glass-surface-strong);
  backdrop-filter: blur(30px) saturate(1.7);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-lift);
  color: var(--ink);
}
.cart-panel[hidden] { display: none; }
.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem .9rem 1.15rem;
  border-bottom: 1px solid rgba(10, 14, 23, .1);
}
.cart-panel__body { max-height: 44vh; overflow-y: auto; }
.cart-panel__foot { padding: 1rem; border-top: 1px solid rgba(10, 14, 23, .1); }
.cart-empty { padding: 2.2rem 1rem; text-align: center; color: var(--steel); font-size: .88rem; }

.cart-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(10, 14, 23, .07);
}
.cart-row__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  background: var(--paper-3) center / cover no-repeat;
  border: 1px solid rgba(10, 14, 23, .08);
  display: grid;
  place-items: center;
}
.cart-row__thumb svg { width: 30px; height: 30px; }
.cart-row__body { flex: 1; min-width: 0; }
.cart-row__title { font-size: .84rem; font-weight: 600; line-height: 1.2; }
.cart-row__price { font-size: .74rem; color: var(--steel); margin-top: .15rem; }
.cart-row__qty { display: flex; align-items: center; gap: .3rem; flex: none; }
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(10, 14, 23, .16);
  display: grid;
  place-items: center;
  font-size: .8rem;
  line-height: 1;
  transition: border-color .2s, color .2s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-row__x { color: var(--steel); padding: .25rem; transition: color .2s; }
.cart-row__x:hover { color: var(--accent); }

/* ============================ barre d'achat mobile ======================== */

.buybar {
  position: fixed;
  z-index: 55;
  left: .6rem;
  right: .6rem;
  bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .6rem .6rem 1.1rem;
  border-radius: 999px;
  background:
    linear-gradient(115deg, var(--glass-highlight-soft), transparent 38%, var(--glass-blue-soft)),
    var(--glass-fixed-dark);
  backdrop-filter: blur(26px) saturate(1.55);
  -webkit-backdrop-filter: blur(26px) saturate(1.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-lift);
  color: #fff;
  transform: translateY(160%);
  transition: transform .4s var(--ease);
}
.buybar.is-in { transform: translateY(0); }
.buybar__price { line-height: 1.15; }
.buybar__price b { font-weight: 700; font-size: 1rem; }
.buybar__price span { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); }
.buybar .btn { margin-left: auto; padding: .8rem 1.25rem; }
@media (min-width: 900px) { .buybar { display: none; } }

/* ============================ le volant (signature) ======================= */

.wheel { width: 100%; height: auto; }
.wheel-spin { transform-origin: 50% 50%; }

/* ============================ marquee ===================================== */

.marquee {
  /* Hauteur de référence du calibrage. Le plafond a été abaissé pour le grand écran :
     à 72 px le bandeau pesait autant qu'une section. Le plancher mobile reste à 52 px,
     et les facteurs --k ci-dessous restent valables (ils sont relatifs à --logo-h). */
  --logo-h:   clamp(52px, 3.9vw, 56px);
  --logo-gap: clamp(2.75rem, 4.6vw, 4.25rem);

  overflow: hidden;
  /* Pas de fondu latéral : le masque délave les logos posés à même le fond sombre en gris
     sale sur toute leur largeur — la coupe nette au bord se lit mieux (learning.md §11). */
  cursor: grab;
  touch-action: pan-y;
}
.marquee.is-drag { cursor: grabbing; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  padding-right: var(--logo-gap);
}

/* Logos détourés, posés directement sur le fond sombre — aucune plaque.
   Ils n'ont donc PAS la même hauteur : ils ont le même *poids visuel*. Le facteur --k
   égalise l'aire de leur boîte englobante (un logo large est plus court), puis corrige le
   contraste (le Cupra, blanc plein, pèse plus lourd qu'il ne mesure ; l'étoile Mercedes,
   très ajourée, moins). Recalculer --k si un fichier change : voir learning.md §15. */
.marquee__logo {
  flex: 0 0 auto;
  height: calc(var(--logo-h) * var(--k, 1));
  width: auto;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.m-audi     { --k: .659; }
.m-vw       { --k: 1.062; }
.m-mercedes { --k: 1.196; }
.m-bmw      { --k: 1.061; }
.m-porsche  { --k: 1.116; }
.m-cupra    { --k: .834; }

/* ============================ cartes ====================================== */

.card {
  position: relative;
  background:
    linear-gradient(138deg, var(--glass-highlight-soft), transparent 34%),
    var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

/* Repère 12 h qui pousse depuis le haut de la carte au survol */
.card--marked::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: 3px;
  height: 0;
  border-radius: 0 0 2px 2px;
  background: var(--accent);
  transition: height .35s var(--ease);
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
  .card--marked:hover::before, .card--marked:focus-within::before { height: 22px; }
  .card:hover { box-shadow: var(--glass-shadow-lift); }
}

/* ============================ surfaces Liquid Glass ====================== */

/* Les sélecteurs sont volontairement qualifiés par body : ces surfaces ont
   aussi des règles de mise en page inline dans les pages, mais leur matière
   doit rester centralisée dans le système partagé. */
body .tile,
body .stage {
  border-color: var(--glass-border);
  background:
    radial-gradient(ellipse 72% 62% at 48% 34%, var(--glass-blue), transparent 70%),
    linear-gradient(145deg, var(--glass-highlight-soft), transparent 36%),
    var(--glass-surface-soft);
  box-shadow: var(--glass-shadow-lift);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

body .tile__price,
body .stage__price {
  background: var(--glass-metal);
  border: 1px solid var(--glass-highlight);
  box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 7px 18px -10px var(--ink);
}

body .tile__info {
  background:
    linear-gradient(125deg, var(--glass-blue), transparent 48%),
    var(--glass-surface-strong);
  border-color: var(--glass-border);
  box-shadow: 0 1px 0 var(--glass-highlight-soft) inset, 0 14px 28px -18px var(--ink);
  backdrop-filter: blur(16px) saturate(1.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.55);
}

body .prod__vis,
body .avis__photo,
body .feat__ico,
body .slot__box,
body .swatch__box {
  background:
    radial-gradient(circle at 38% 30%, var(--glass-blue-soft), transparent 62%),
    var(--glass-surface-soft);
  border-color: var(--glass-border-dim);
}

body .avis,
body .feat__card,
body .pack,
body .faq__box {
  background:
    linear-gradient(138deg, var(--glass-highlight-soft), transparent 34%),
    var(--glass-surface);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

body .pack--best,
body .avis.is-on {
  border-color: var(--accent-light);
  box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 0 0 1px var(--glass-blue), var(--glass-shadow-lift);
}

body .viewers,
body .trust span,
body .chip,
body .msg--a,
body .dial__node,
body .foot__social a {
  background:
    linear-gradient(135deg, var(--glass-highlight-soft), transparent 58%),
    var(--glass-surface-soft);
  border-color: var(--glass-border);
  box-shadow: 0 1px 0 var(--glass-highlight-soft) inset, 0 12px 26px -22px var(--ink);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}

body .faq__chips {
  background:
    linear-gradient(180deg, var(--glass-surface-soft), transparent),
    var(--card-sunken);
}

body .legal-nav {
  background:
    linear-gradient(115deg, var(--glass-highlight-soft), transparent 42%, var(--glass-blue-soft)),
    var(--glass-surface-strong);
  border-bottom-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(1.55);
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
}

@media (hover: hover) and (pointer: fine) {
  body .feat__card,
  body .pack,
  body .avis { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease; }
  body .feat__card:hover,
  body .pack:hover,
  body .avis:hover { transform: translateY(-4px); border-color: var(--glass-highlight); box-shadow: var(--glass-shadow-lift); }
}

/* ============================ révélation au scroll ======================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================ avis ======================================== */

.stars { color: var(--gold); letter-spacing: .1em; font-size: .8rem; }

.verified {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-ui);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--go);
}

/* ============================ FAQ ========================================= */

.chat-bubble-a { border-radius: 16px 16px 16px 4px; }
.chat-bubble-q { border-radius: 16px 16px 4px 16px; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: .3; animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .16s; }
.typing span:nth-child(3) { animation-delay: .32s; }
@keyframes typing { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ============================ matières ==================================== */

/* Grain : donne du corps aux aplats sombres, évite le dégradé « plastique ». */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* Trame technique — quadrillage d'atelier, très en retrait. */
.gridlines::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, #000, transparent 78%);
}

/* ============================ divers ====================================== */

.hairline { height: 1px; background: var(--line); border: 0; }
.tabnum { font-variant-numeric: tabular-nums; }
.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;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(10, 14, 23, .18); border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
