/* ============================================================
   VATIO — boutique de vélos électriques (Valence, ES)
   Mobile-first · Palette encre/sable/corail · Plus Jakarta Sans
   ============================================================ */

:root {
  /* Couleurs */
  --ink: #0b2433;          /* encre — bleu océan profond */
  --ink-soft: #44606f;     /* texte secondaire */
  --border-strong: #8b7f6c; /* bordure des contrôles interactifs (≥3:1 sur blanc) */
  --gold-deep: #b17400;    /* étoiles seules sur fond blanc (≥3:1) */
  --cta: #d03e1a;          /* corail profond — CTA (4.8:1 sur blanc) */
  --cta-hover: #b53512;
  --cta-ink: #b53512;      /* corail texte : 5.2:1 sur sable, le --cta n'y tient pas */
  --cta-soft: #fdeee8;
  --ocean: #0e7490;        /* accent océan */
  --ocean-soft: #e6f4f7;
  --turquoise: #17b3a6;    /* décoratif */
  --gold: #e89b12;         /* étoiles */
  --success: #0e7a55;
  --success-soft: #e7f5ef;
  --bg: #fdfbf7;           /* blanc sable */
  --surface: #ffffff;
  --sand: #f6eee1;
  --border: #eae2d4;
  --shadow-sm: 0 1px 3px rgba(11, 36, 51, 0.07);
  --shadow-md: 0 6px 24px -6px rgba(11, 36, 51, 0.12);
  --shadow-lg: 0 18px 48px -12px rgba(11, 36, 51, 0.22);

  /* Typo — garalde haute couture + grotesque contemporaine */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Trustpilot */
  --tp-green: #00b67a;
  --tp-empty: #dcdce6;

  /* Rayons & rythme (base 4px) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Z-index */
  --z-header: 100;
  --z-sticky-atc: 90;
  --z-drawer: 1000;
  --z-toast: 1100;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  touch-action: manipulation;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.accent-i {
  font-style: italic;
  color: var(--cta);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cta-ink);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
}

p { margin: 0 0 1em; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(208, 62, 26, 0.45);
}
.btn-primary:hover { background: var(--cta-hover); box-shadow: 0 10px 26px -6px rgba(208, 62, 26, 0.55); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #123449; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; }

.btn-lg { min-height: 56px; font-size: 1.06rem; padding: 14px 32px; }

/* ---------- Bandeau annonce ---------- */
.announce {
  text-wrap: balance;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.03em;
}
.announce strong { color: #ffd28a; font-weight: 700; }
.announce .announce-extra { display: none; }
@media (min-width: 768px) {
  .announce .announce-extra { display: inline; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(253, 251, 247, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* Variante accueil : transparent au-dessus du hero, se solidifie au scroll */
.site-header.header-overlay:not(.is-scrolled) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.header-overlay:not(.is-scrolled) .logo,
.header-overlay:not(.is-scrolled) .header-link,
.header-overlay:not(.is-scrolled) .menu-btn { color: #fff; }
.home .hero { margin-top: -65px; }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-left { justify-self: start; }
.header-right { justify-self: end; }

/* liens texte, soulignement animé */
.header-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.header-link:hover::after,
.header-link:focus-visible::after { transform: scaleX(1); }

/* liens de navigation cachés sur mobile (menu plein écran à la place) */
.header-left > a,
.header-right > a { display: none; }
@media (min-width: 900px) {
  .header-left > a,
  .header-right > a { display: inline-flex; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  padding-inline: 4px;
  justify-self: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
/* la marque : anneau et horizon suivent la couleur du texte, le soleil reste corail */
.logo-mark {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  display: block;
  /* léger relèvement optique : le cercle paraît bas sur la ligne de base */
  margin-top: -0.08em;
}
@media (max-width: 480px) { .logo { font-size: 1.3rem; } }

/* panier : « Panier (n) » */
.cart-link [data-cart-count] { font-variant-numeric: tabular-nums; }
.cart-link [data-cart-count]::before { content: "("; }
.cart-link [data-cart-count]::after { content: ")"; }

/* bouton menu (mobile) : deux traits */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  color: var(--ink);
  transition: color 0.2s ease;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.menu-btn:hover span:first-child { transform: translateY(-1px); }
.menu-btn:hover span:last-child { transform: translateY(1px); }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* ---------- Menu mobile plein écran ---------- */
.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-102%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.menu-drawer.open { transform: none; }
.menu-drawer { overscroll-behavior: contain; }
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 6.25vw, 2.1rem);
  line-height: 1.2;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.menu-links a small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.menu-foot {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.menu-foot a { color: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}
/* Direction artistique du hero : en dessous de 700 px c'est un cadrage portrait
   dedie (hero-movil.jpg). L'image 16/9 en `cover` dans une boite de 375x640 ne
   laissait voir que 375 des 1600 px de large, soit la moitie du velo. */
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 36, 51, 0.8) 0%, rgba(11, 36, 51, 0.6) 45%, rgba(11, 36, 51, 0.82) 100%);
}

.hero-content {
  position: relative;
  padding: 150px 0 76px;
  max-width: 640px;
}

.hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.76rem;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 20px;
  text-shadow: 0 1px 10px rgba(11, 36, 51, 0.45);
}
.hero .hero-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #ffd28a;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 7.5vw, 3.9rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(11, 36, 51, 0.45);
}
.hero .accent-i { color: #ffd28a; }

.hero p {
  font-size: clamp(1.02rem, 2.5vw, 1.2rem);
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(11, 36, 51, 0.5);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(11, 36, 51, 0.5);
}
.hero-proof .stars { color: var(--gold); }

@media (max-width: 700px) {
  /* 150 px de padding pour dégager un en-tête de 65 px : 85 px de vide pur.
     Empilé avec un titre de 3 lignes, le CTA tombait sous le pli. */
  .hero-content { padding: calc(96px + env(safe-area-inset-top)) 0 44px; }
  .hero p { margin-bottom: 20px; }
  .hero-ctas { margin-bottom: 18px; }
}
/* aucune media query de hauteur n'existait : en paysage le téléphone recevait
   les 320 px de padding du desktop pour 390 px de fenêtre. */
@media (max-height: 560px) {
  .hero-content { padding: 92px 0 48px; }
  .hero h1 { font-size: clamp(1.8rem, 4.2vh, 2.6rem); }
}
@media (min-width: 768px) {
  .hero-content { padding: 200px 0 120px; }
}

/* ---------- Barre de réassurance ---------- */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
  padding: 18px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink);
}
.trust-item svg { flex-shrink: 0; color: var(--ocean); }
.trust-item small { display: block; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 900px) {
  .trust-items { grid-template-columns: repeat(4, 1fr); padding: 20px 0; }
  .trust-item { font-size: 0.9rem; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.65rem, 4.5vw, 2.4rem); }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

.section-sand { background: var(--sand); }

/* ---------- Filtres catégories ---------- */
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
/* sur téléphone les quatre filtres passent à la ligne : en défilement horizontal
   le quatrième était invisible et le troisième coupé en plein mot */
@media (max-width: 480px) {
  .chips { flex-wrap: wrap; overflow-x: visible; gap: 8px; }
  .chip { padding: 9px 15px; font-size: 0.85rem; }
}

.chip {
  flex-shrink: 0;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--r-full);
  background: transparent;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Grille produits ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
}
/* trois colonnes maximum : onze vignettes minuscules sur quatre colonnes
   donnaient un mur de bicis identiques. Le comparateur juste dessous
   couvre le besoin de tout voir d'un coup. */
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 38px 26px; } }
@media (min-width: 1024px) { .product-grid { gap: 46px 32px; } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  /* pas de tuile encadrée : la photo pose directement sur la page.
     Le cadre + ombre + pastille corail faisaient « gabarit de boutique ». */
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.product-card .card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  /* les visuels produit sont détourés sur fond blanc */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 14px;
}
.product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
/* seconde image révélée au survol */
.product-card .card-media .img-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
@media (hover: hover) {
  .product-card:hover .card-media .img-main { transform: scale(1.03); }
  .product-card:hover .card-media .img-alt { opacity: 1; }
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  /* purement décoratif : sans ça il intercepte les taps destinés au lien de la carte */
  pointer-events: none;
  max-width: calc(100% - 24px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.badge.badge-alt { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ajout au panier : pastille ronde dans l'image, pas un bouton pilule sous chaque carte */
.card-add {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
/* pastille discrète à l'œil, mais cible tactile de 44 px comme l'exige le pouce */
.card-add::before {
  content: "";
  position: absolute;
  inset: -7px;
  /* carré arrondi et non cercle : les coins d'un cercle de 44 px retombaient
     sur le lien de la carte et transformaient un tap raté en navigation */
  border-radius: 12px;
}
.card-add svg { width: 16px; height: 16px; }
@media (min-width: 700px) {
  .card-add { width: 40px; height: 40px; right: 12px; bottom: 12px; }
  .card-add svg { width: 18px; height: 18px; }
}
.card-add:hover { background: var(--cta); }
.card-add:active { transform: scale(0.94); }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.card-title a {
  text-decoration: none;
}
/* zone cliquable étendue à toute la carte */
.card-title a::after { content: ""; position: absolute; inset: 0; }

/* masquée en deux colonnes : 160 px de large coupaient les onze descriptions
   en plein milieu d'une phrase, parfois d'un nombre */
.card-short { display: none; }
@media (min-width: 700px) {
  .card-short {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}
/* étoiles Trustpilot réduites dans la grille : onze cartes × cinq carrés verts
   pleine taille écrasaient les photos. Le bloc d'avis les garde en grand. */
.product-card .rating-row { font-size: 0.8rem; margin-top: 2px; gap: 5px; }
/* `.tp-sm .tp-box` est déclaré plus bas à spécificité égale : il faut trois
   classes pour l'emporter, sinon l'ordre du fichier gagne */
.product-card .tp-sm .tp-box { width: 13px; height: 13px; }
.product-card .tp-sm .tp-box svg { width: 9px; height: 9px; }
.product-card .tp-stars { gap: 1.5px; }
.product-card .badge { font-size: 0.66rem; padding: 4px 9px; letter-spacing: 0.06em; }
@media (max-width: 400px) {
  .product-card .badge { font-size: 0.72rem; letter-spacing: 0.02em; padding: 4px 8px; line-height: 1.2; max-width: calc(100% - 16px); }
}
.stars { display: inline-flex; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-variant-numeric: tabular-nums;
}
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--cta);
}
/* dans la grille, le prix reste en encre : du corail sur onze cartes = braderie */
.product-card .price { color: var(--ink); font-weight: 700; font-size: 1.08rem; }
/* en deux colonnes la ligne ne tient pas : on casse volontairement après le prix
   plutôt que de laisser le « −33 % » retomber tout seul de façon accidentelle */
.product-card .price-row { gap: 4px 8px; }
.product-card .price { flex: 0 0 100%; }
@media (min-width: 700px) {
  .product-card .price { flex: 0 0 auto; }
}
.price-compare {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: line-through;
}
.price-off {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cta);
  letter-spacing: 0.01em;
}

.card-add:hover { background: var(--cta); border-color: var(--cta); color: #fff; }
.card-add:active { transform: scale(0.96); }

/* ---------- USP / Pourquoi nous ---------- */
.usp-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .usp-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.usp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--ocean-soft);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.usp-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.usp-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Avis ---------- */
.reviews-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card .review-text { font-size: 0.97rem; margin: 0; }
.review-card .stars { color: var(--gold-deep); }
.review-meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4px;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: auto;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; transition: transform 0.25s ease; color: var(--ink-soft); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.95rem; }
.faq-item .faq-body p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #081b27;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
/* cibles tactiles pleine hauteur : 19 px de lien et 14 px de vide mort avant */
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { max-width: 300px; opacity: 0.75; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.85;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* pastilles de taille fixe : les marques ont des proportions très différentes
   (Visa 3,1:1, Mastercard 1,6:1), le cadre uniforme les remet d'aplomb */
.payment-icons svg {
  width: 46px;
  height: 30px;
  background: #fff;
  border-radius: 5px;
  padding: 5px 7px;
  box-sizing: border-box;
  flex: 0 0 auto;
}

/* ---------- Tiroir panier ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 27, 39, 0.55);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg);
  /* filet de sécurité : en-tête + upsell + total + CTA font ~647 px à 320 px de
     large, soit plus que la fenêtre d'un iPhone SE. Sans ce scroll, le seul CTA
     du site sort de l'écran et le body est verrouillé en position:fixed. */
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}
.cart-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h2 { font-size: 1.15rem; margin: 0; }
.drawer-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  transition: background-color 0.15s ease;
}
.drawer-close:hover { background: var(--sand); }

.shipping-progress { padding: 14px 20px 0; }
.shipping-progress p { font-size: 0.85rem; font-weight: 700; margin: 0 0 8px; }
.shipping-progress p strong { color: var(--cta); }
.shipping-progress p.reached { color: var(--success); }
.progress-track {
  height: 8px;
  background: var(--sand);
  border-radius: var(--r-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--turquoise), var(--ocean));
  transition: width 0.4s ease;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ink-soft);
}
.cart-empty svg { margin: 0 auto 16px; color: var(--border); }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px;
}
.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--sand);
}
.cart-item-info h3 { font-size: 0.88rem; margin: 0 0 4px; font-weight: 600; }
.cart-item-info .price { font-size: 0.95rem; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-full);
  margin-top: 6px;
}
.qty-stepper button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: var(--r-full);
}
.qty-stepper button:hover { color: var(--cta); }
.qty-stepper span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.cart-item-remove {
  align-self: start;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  border-radius: var(--r-full);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.cart-item-remove:hover { color: var(--cta); background: var(--cta-soft); }

.drawer-foot {
  border-top: 1px solid var(--border);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  background: var(--surface);
}
.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.drawer-foot .hint { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 12px; }
/* deux boutons empilés dans le tiroir : il leur faut de l'air entre eux */
[data-drawer-cta] > .btn + .btn { margin-top: 10px; }

.checkout-soon {
  background: var(--ocean-soft);
  border: 1px solid #bfe0e8;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin: 0 0 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink);
}
.checkout-soon a { color: var(--ocean); font-weight: 600; }

/* ---------- Page produit ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 4px 0 0;
}
/* seul retour direct vers #productos : les liens d'en-tête sont masqués sous 900 px */
.breadcrumb a {
  display: inline-block;
  padding: 12px 6px;
  margin: -12px -4px;
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }

.product-layout {
  display: grid;
  gap: 28px;
  padding: 20px 0 56px;
}
@media (max-width: 899px) {
  /* En une colonne, .product-gallery poussait miniatures et vidéo client entre
     la photo et le titre : le prix et le bouton tombaient sous le pli. */
  .product-gallery { display: contents; }
  .product-media { order: 1; }
  .product-info { order: 2; }
  .gallery-thumbs { order: 3; }
  .video-review { order: 4; }
}
@media (min-width: 900px) {
  .product-layout { grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 32px 0 80px; align-items: start; }
}

.product-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin-bottom: 8px; }

.product-info .rating-row { font-size: 0.9rem; margin-bottom: 14px; }
/* ce lien ouvre la section d'avis (js/producto.js) : sur une seule ligne il ne
   faisait que 23 px de haut, sous le seuil de WCAG 2.5.8 */
.product-info .rating-row a {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.product-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.product-price-row .price { font-size: 1.8rem; }
.product-price-row .price-compare { font-size: 1.05rem; }
.save-badge {
  background: var(--cta-soft);
  color: var(--cta-hover);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--r-full);
}

.tax-note { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 18px; }

.stock-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 8px;
}
.stock-note .pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 122, 85, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(14, 122, 85, 0); }
}

.stock-low {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cta);
  margin-bottom: 18px;
}
.stock-track {
  height: 6px;
  background: var(--sand);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-top: 6px;
  max-width: 260px;
}
.stock-fill { height: 100%; background: var(--cta); border-radius: var(--r-full); }

.product-bullets {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-bullets li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}
.product-bullets svg { flex-shrink: 0; color: var(--success); margin-top: 3px; }

.buy-row { display: flex; gap: 12px; margin-bottom: 14px; }
.buy-row .qty-stepper { border-width: 2px; }
.buy-row .qty-stepper button { width: 44px; height: 52px; }
.buy-row .btn { flex: 1; }
/* Sous 400 px le sélecteur de quantité ne laisse pas assez de place et le CTA
   se casse en « Añadir a la / cesta » : il passe sur sa propre ligne.
   À déclarer APRÈS `.buy-row .btn` — une media query n'ajoute pas de spécificité. */
@media (max-width: 400px) {
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1 0 100%; }
}

.buy-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.buy-reassure span { display: inline-flex; align-items: center; gap: 6px; }
.buy-reassure svg { color: var(--ocean); }

.accordion { border-top: 1px solid var(--border); }
.accordion .faq-item {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.accordion .faq-item summary { padding: 16px 4px; }
.accordion .faq-body { padding: 0 4px 18px; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.specs-table th, .specs-table td { text-align: left; padding: 8px 10px; vertical-align: top; }
.specs-table tr:nth-child(odd) { background: var(--sand); }
.specs-table th { font-weight: 700; width: 42%; }

/* Barre d'achat mobile fixe */
.sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky-atc);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc .price { font-size: 1.2rem; }
.sticky-atc .price-compare { font-size: 0.8rem; }
.sticky-atc .btn { flex: 1; min-height: 50px; }
@media (min-width: 900px) { .sticky-atc { display: none; } }

/* Réserve la place de la barre d'achat fixe pour ne pas masquer le footer */
@media (max-width: 899px) {
  .page-produit { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* Avis produit */
.product-reviews { padding-bottom: 72px; }
.review-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.review-summary .big-note {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
}
.review-summary .tp-logo { font-size: 0.95rem; }

/* Cross-sell */
.cross-sell { padding-bottom: 80px; }

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: 28px 72px;
}
.checkout-form,
.order-summary { min-width: 0; }
.checkout-title {
  grid-column: 1 / -1;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  margin: 0;
}
@media (min-width: 900px) {
  .checkout-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
}

.checkout-form .form-section { margin-bottom: 28px; }
.checkout-form h2 { font-size: 1.2rem; margin-bottom: 14px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--ocean); outline: none; box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15); }
.field input.invalid { border-color: var(--cta); }
.field .field-error {
  display: none;
  color: var(--cta);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 5px;
}
.field input.invalid + .field-error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* neutralise la largeur minimale intrinsèque des inputs (sinon la grille déborde à 375px) */
.field-row .field { min-width: 0; }
.field input, .field select { min-width: 0; }

.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .order-summary { position: sticky; top: 90px; } }

.order-summary h2 { font-size: 1.15rem; margin-bottom: 16px; }
.summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.summary-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 0.9rem; }
.summary-item img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: var(--sand); }
.summary-item .qty-note { color: var(--ink-soft); font-size: 0.8rem; }
.summary-item .line-price { font-weight: 700; font-variant-numeric: tabular-nums; }

.promo-row { display: flex; gap: 8px; margin-bottom: 18px; }
.promo-row input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  font: inherit;
  text-transform: uppercase;
}
.promo-row button {
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  min-height: 46px;
}
.promo-msg { font-size: 0.82rem; font-weight: 700; margin: -10px 0 14px; }
.promo-msg.ok { color: var(--success); }
.promo-msg.err { color: var(--cta); }

.totals { border-top: 1px solid var(--border); padding-top: 14px; font-size: 0.95rem; }
.totals .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.totals .row.total { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: 10px; }
.totals .free { color: var(--success); font-weight: 700; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 14px;
}
.secure-note svg { color: var(--success); }
@media (max-width: 560px) { .secure-note-text { display: none; } }

.demo-note {
  background: var(--ocean-soft);
  border: 1px solid #bfe0e8;
  color: var(--ocean);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  margin-top: 16px;
}

/* ---------- Page merci ---------- */
.thanks {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 20px 96px;
}
.thanks .check-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thanks h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.thanks .order-num {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--sand);
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--r-full);
  margin-bottom: 18px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  z-index: var(--z-toast);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--turquoise); flex-shrink: 0; }

/* ---------- Animations d'entrée ----------
   Gated sur html.js : sans JavaScript, tout reste visible. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  background: var(--ink);
  color: #f6eee1;
  overflow: hidden;
  padding: 13px 0;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.marquee-track .sep { color: var(--cta); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Trustpilot ---------- */
.tp-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tp-logo svg { color: var(--tp-green); }

.tp-stars {
  display: inline-flex;
  gap: 3px;
}
.tp-box {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--tp-green) var(--fill, 100%), var(--tp-empty) var(--fill, 100%));
}
.tp-box svg { width: 17px; height: 17px; }
.tp-sm .tp-box { width: 17px; height: 17px; }
.tp-sm .tp-box svg { width: 12px; height: 12px; }
.tp-lg .tp-box { width: 32px; height: 32px; }
.tp-lg .tp-box svg { width: 22px; height: 22px; }

.tp-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  text-align: center;
}
.tp-head .tp-note {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
}
.tp-head p { color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; margin: 0; }

.tp-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* PAS --tp-green (#00b67a) : 2,6:1 sur blanc, sous le minimum WCAG AA de 4,5:1
     à cette taille. Le vert Trustpilot reste réservé aux étoiles (non textuelles). */
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review-card .review-date {
  margin-left: auto;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* ---------- Galerie produit ---------- */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.gallery-thumbs .thumb {
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  background: #fff;
  aspect-ratio: 4 / 3;
  padding: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs .thumb:hover { opacity: 1; }
.gallery-thumbs .thumb.active { border-color: var(--ink); opacity: 1; }

/* ---------- Récit de marque ---------- */
.brand-story {
  display: grid;
  gap: 26px;
  margin-bottom: 56px;
}
.brand-story-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.brand-story-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.brand-story-text h2 {
  font-size: clamp(1.45rem, 4.4vw, 2.15rem);
  line-height: 1.16;
  margin: 0 0 16px;
}
.brand-story-text p + p { margin-top: 14px; }
.brand-story-text p:not(.eyebrow) {
  color: var(--ink-soft);
  max-width: 58ch;
}
.brand-sign {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.94rem !important;
  font-weight: 700;
  color: var(--ink) !important;
}

/* ---------- Le taller ---------- */
.taller {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
}
.taller-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.taller-media figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}
/* la troisième photo occupe toute la largeur : mosaïque 2 + 1 */
.taller-media .taller-wide { grid-column: 1 / -1; }
.taller-media img {
  display: block;
  width: 100%;
  /* height auto : c'est l'aspect-ratio qui fixe la hauteur. Un height:100%
     sans hauteur définie sur le parent laissait les figures s'effondrer. */
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.taller-media .taller-wide img { aspect-ratio: 16 / 9; }
.taller-text h3 {
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  margin: 0 0 12px;
}
.taller-text > p { color: var(--ink-soft); max-width: 58ch; }
.taller-steps {
  list-style: none;
  counter-reset: paso;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.taller-steps li {
  counter-increment: paso;
  position: relative;
  padding-left: 42px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.taller-steps li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.taller-steps strong { color: var(--ink); }
@media (min-width: 880px) {
  .taller {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
  }
  .taller-media { gap: 14px; }
  .taller-steps { gap: 18px; }
}

.brand-usp-head { margin-bottom: 26px; }
@media (min-width: 880px) {
  .brand-story {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
  }
  .brand-story-media img { aspect-ratio: 1 / 1; }
}

/* ---------- Option assurance dans le panier ---------- */
.upsell {
  margin: 0 20px 4px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
/* seul l'en-tête bascule l'option : avoir le paragraphe de 190 caractères dans
   le <label> faisait de toute l'explication un déclencheur de facturation. */
.upsell-head {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-height: 44px;
}
.upsell-head .upsell-title { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.upsell:has(.upsell-input:checked) {
  border-color: #003781;
  background: #f2f6fb;
}
/* case native conservée : clavier, lecteurs d'écran et :checked fonctionnent */
.upsell-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.upsell-box {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  color: #fff;
}
.upsell-box svg { width: 13px; height: 13px; opacity: 0; }
.upsell-input:checked + .upsell-box {
  background: #003781;
  border-color: #003781;
}
.upsell-input:checked + .upsell-box svg { opacity: 1; }
.upsell-input:focus-visible + .upsell-box {
  outline: 3px solid var(--ocean);
  outline-offset: 2px;
}
.upsell-body { min-width: 0; flex: 1 1 auto; }
.upsell-title {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 3px;
}
.upsell-title strong { color: #003781; white-space: nowrap; }
.upsell-text {
  display: block;
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.upsell-logo { flex: 0 0 auto; }
.upsell-logo svg { display: block; width: 30px; height: 30px; }

/* ---------- Encart « pas encore de paiement en ligne » sous la grille ---------- */
.buy-note {
  margin-top: 46px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
}
.buy-note h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.buy-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: 68ch;
}
.buy-note-fine {
  margin-top: 8px !important;
  font-size: 0.86rem !important;
}

/* ---------- Comparateur de la gamme ---------- */
.cmp-table {
  width: 100%;
  /* fixed : sans ça le contenu impose sa largeur minimale et la table
     déborde du conteneur sur les petits écrans */
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 0.86rem;
}
.cmp-table col.c-modelo { width: 32%; }
.cmp-table col.c-precio { width: 19%; }
.cmp-table col.c-auto { width: 31%; }
.cmp-table col.c-peso { width: 18%; }
.cmp-table caption { text-align: left; }
.cmp-table th,
.cmp-table td {
  padding: 11px 5px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cmp-table thead th {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg);
  /* les en-têtes peuvent passer à la ligne : c'est la seule façon de tenir
     dans les 280 px utiles d'un écran de 320 px sans scroll horizontal */
  line-height: 1.25;
}
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody th {
  font-weight: 700;
  /* le nom du modèle est la seule colonne qui ne doit jamais se casser en deux */
  white-space: nowrap;
}
.cmp-table tbody th a {
  color: var(--ink);
  text-decoration: none;
  /* le lien remplit la cellule : sinon seul le mot était tapable (26 px de haut) */
  display: block;
  padding: 11px 5px;
  margin: -11px -5px;
}
.cmp-table tbody th a:hover { text-decoration: underline; }
.cmp-table td { color: var(--ink-soft); white-space: nowrap; }
@media (hover: hover) {
  .cmp-table tbody tr:hover th,
  .cmp-table tbody tr:hover td { background: var(--bg); }
}

.cmp-notes {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.cmp-notes p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 72ch;
}
.cmp-notes strong { color: var(--ink); }

.cmp-split {
  margin-top: 30px;
  display: grid;
  gap: 26px;
}
.cmp-split h3 { font-size: 1.08rem; margin: 0 0 8px; }
.cmp-split p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 359.98px) {
  /* « DISTRIBUIDOR OFICIAL VOMO » = 304 px pour 280 disponibles à cause des
     0,24em d'interlettrage : le filet décoratif se centrait entre deux lignes. */
  .hero .hero-kicker { font-size: 0.68rem; letter-spacing: 0.14em; gap: 10px; }
  .hero .hero-kicker::before { width: 24px; }
  .eyebrow { letter-spacing: 0.08em; }
  .eyebrow::before { display: none; }
}
@media (max-width: 419.98px) {
  /* « PRECIO » et « AUTONOMÍA » sont des mots uniques : sans césure possible ils
     débordaient leur colonne de 10 px. On reprend les points à la colonne modèle,
     qui gardait 18 px de marge. */
  .cmp-table col.c-modelo { width: 30%; }
  .cmp-table col.c-precio { width: 21%; }
  .cmp-table thead th { font-size: 0.7rem; letter-spacing: 0.02em; }
  .cmp-table td { white-space: normal; }
}
@media (min-width: 420px) {
  .cmp-table { font-size: 0.95rem; }
  .cmp-table th, .cmp-table td { padding: 12px 9px; }
}
@media (min-width: 760px) {
  .cmp-split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cmp-table { font-size: 0.98rem; }
  .cmp-table th, .cmp-table td { padding: 14px 16px; }
  .cmp-table thead th { font-size: 0.72rem; letter-spacing: 0.1em; }
}

/* ---------- Bandeau « 30 jours pour l'essayer » ----------
   Compact par construction : un titre, quatre chiffres, une ligne de bas de casse.
   La version longue mangeait un écran entier de téléphone. */
.tryband {
  background: var(--ink);
  color: #fff;
  padding: 40px 0;
}
.tryband .eyebrow { color: rgba(255, 255, 255, 0.62); margin-bottom: 10px; }
.tryband h2 {
  color: #fff;
  font-size: clamp(1.32rem, 4.1vw, 1.95rem);
  line-height: 1.22;
  margin: 0;
  max-width: 30ch;
}

/* quatre repères alignés comme un tableau de chiffres, pas comme une liste à puces */
.tryband-list {
  list-style: none;
  margin: 24px 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
}
.tryband-list li {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.tryband-list strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.tryband-fine {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  max-width: 76ch;
}
.tryband-fine a { color: rgba(255, 255, 255, 0.92); }
@media (min-width: 700px) {
  .tryband { padding: 56px 0; }
  .tryband-list { grid-template-columns: repeat(4, 1fr); gap: 0 26px; margin: 28px 0 22px; }
}

/* ---------- Vidéo client sous la galerie ---------- */
.video-review {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.video-review-media {
  position: relative;
  flex: 0 0 auto;
  width: 92px;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.video-review-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(11, 36, 51, 0.35);
  transition: opacity 0.2s ease;
}
.video-review-media.is-playing .video-play { opacity: 0; }
.video-review-media.is-loading .video-play { opacity: 0.5; }
.video-review-media:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }

.video-review-body { min-width: 0; }
.video-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0 0 4px;
}
.video-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

@media (min-width: 720px) {
  .video-review { gap: 18px; padding: 14px; }
  .video-review-media { width: 108px; }
  .video-title { font-size: 1rem; }
}

/* ---------- Photos de clients ---------- */
.photo-reviews { padding: 16px 0 28px; }
.photo-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.photo-grid::-webkit-scrollbar { display: none; }
.photo-card {
  margin: 0;
  flex: 0 0 min(300px, calc(100% - 24px));
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
    overflow: visible;
  }
  .photo-card { flex: none; }
}
.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.more-reviews-wrap { text-align: center; margin-top: 24px; }
.photo-card figcaption {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.photo-card figcaption p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.photo-card .review-meta { font-size: 0.76rem; font-weight: 700; display: flex; align-items: center; gap: 6px; margin-top: auto; flex-wrap: wrap; }
.photo-card .review-date { font-size: 0.72rem; }

/* ---------- Sections trust produit ---------- */
.product-features { padding-bottom: 32px; }
.feature-block {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}
.feature-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); }
.feature-text p:last-child { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }
@media (min-width: 900px) {
  .feature-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 44px 0; }
  .feature-block:nth-child(even) .feature-media { order: 2; }
}

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