/* ============================================================
   LumiFan — feuille de style partagée (index.html + checkout.html)
   ------------------------------------------------------------
   CONFIGURAÇÃO (pontos que você pode editar):
   - Cores da marca: bloco :root abaixo (--ink = preto dos CTAs)
   - Verde Trustpilot: --green
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0d0d1a;          /* preto dos botões / footer */
  --ink-soft: #3a3a48;
  --muted: #6b6b78;
  --line: #e6e6e1;
  --bg: #f7f7f5;           /* fundo claro geral */
  --card: #ffffff;
  --green: #00b67a;        /* estrelas Trustpilot */
  --green-bg: #e8f8f1;
  --red: #d92d20;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 13, 26, .04), 0 8px 24px rgba(13, 13, 26, .06);
  --shadow-lg: 0 12px 40px rgba(13, 13, 26, .12);
  --maxw: 1180px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* height:auto est indispensable : sans lui, l'attribut height="…" du HTML
   reste actif pendant que max-width contraint la largeur → image étirée.
   Les images à taille fixe (miniatures, panier) redéfinissent height plus bas. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Boutons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 17px 20px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.99); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- 4. Étoiles Trustpilot ---------- */
/* Le <symbol> de l'étoile utilise fill="currentColor" : c'est donc `color`
   qui pilote la couleur, pas l'attribut fill posé sur le <svg>. */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; color: var(--green); }
.stars svg { width: 17px; height: 17px; display: block; flex: none; }
.stars--sm svg { width: 14px; height: 14px; }

/* ---------- 5. Barre d'annonce + header ---------- */
.announce {
  background: var(--ink); color: #fff;
  font-size: 13px; text-align: center; padding: 9px 16px; letter-spacing: .01em;
}
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.site-header__in {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
/* Logo LumiFan (image fournie, recadrée + fond transparent).
   Le footer sombre utilise la variante « light » (texte blanc). */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img { height: 28px; width: auto; display: block; }
@media (max-width: 480px) { .logo__img { height: 25px; } }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  background: none; border: 0; padding: 8px; border-radius: 8px;
  color: var(--ink); display: flex; position: relative;
}
.icon-btn:hover { background: var(--bg); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: 1px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--ink); color: #fff;
  border: 2px solid #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 15px; text-align: center;
}
.cart-badge[hidden] { display: none; }

/* ---------- 6. Hero / bloc d'achat ---------- */
.hero { padding: 32px 0 48px; }
.hero__grid { display: grid; gap: 32px; }
@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .gallery { position: sticky; top: 88px; }
}

/* Galerie */
.gallery__main {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); box-shadow: var(--shadow);
}
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__nav svg { width: 18px; height: 18px; }
.gallery__thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px;
}
@media (min-width: 480px) { .gallery__thumbs { grid-template-columns: repeat(8, 1fr); } }
.thumb {
  padding: 0; background: #fff; border: 1.5px solid var(--line);
  border-radius: 8px; overflow: hidden; aspect-ratio: 1/1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--ink); border-width: 2px; }

/* Colonne achat */
.buybox__rating {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; color: var(--ink); margin-bottom: 14px;
}
.buybox__rating strong { color: var(--ink); font-weight: 700; }
/* bandeau d'étoiles Trustpilot (image fournie) — hauteur fixe, ratio conservé */
.trust-stars { height: 26px; width: auto; }
.buybox h1 { font-size: clamp(26px, 4.5vw, 36px); margin-bottom: 16px; }
.buybox__bullets { display: grid; gap: 9px; margin: 0 0 20px; }
.buybox__bullets li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft);
}
.buybox__bullets svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }

/* --- Sélecteur de bundles --- */
.bundles { display: grid; gap: 12px; margin-bottom: 20px; }
.bundle {
  position: relative; display: block; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.bundle:hover { border-color: #c9c9c2; }
.bundle.is-selected { border-color: var(--ink); border-width: 2.5px; padding: 14.5px; box-shadow: var(--shadow); }
.bundle input { position: absolute; opacity: 0; pointer-events: none; }
.bundle__top { display: flex; align-items: flex-start; gap: 12px; }
.bundle__radio {
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  border: 2px solid #c3c3bd; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.bundle.is-selected .bundle__radio { border-color: var(--ink); }
.bundle.is-selected .bundle__radio::after {
  content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--ink);
}
.bundle__info { flex: 1; min-width: 0; }
.bundle__title { font-size: 16px; font-weight: 700; }
.bundle__sub { font-size: 13px; color: var(--muted); }
.bundle__prices { text-align: right; flex: none; }
.bundle__price { font-size: 18px; font-weight: 800; white-space: nowrap; }
.bundle__old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.bundle__flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.pill--dark { background: var(--ink); color: #fff; }
.pill--green { background: var(--green-bg); color: #04835a; }

/* Variantes de couleur (déplié dans le bundle sélectionné) */
.bundle__variants { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.bundle.is-selected .bundle__variants { display: block; }
.bundle__variants h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.variant-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.variant-row:last-child { margin-bottom: 0; }
.variant-row img {
  width: 42px; height: 42px; flex: none; object-fit: cover;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.variant-row select {
  flex: 1; min-width: 0; padding: 10px 12px;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 14px; color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b78' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
  padding-right: 34px;
}
.variant-row label { font-size: 12px; color: var(--muted); flex: none; min-width: 62px; }

/* Paiements + micro-garanties */
.pay-line { margin: 16px 0 4px; }
.pay-line__label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* Logos officiels en 38×24 : on fixe la largeur (un <svg> sans attribut
   width vaut 100 % et casserait la mise en ligne en flex) et on laisse
   aspect-ratio calculer la hauteur — aucune déformation possible.
   Pas de border-radius ici : les logos portent déjà leurs coins arrondis. */
.pay-icons svg { width: 40px; height: auto; aspect-ratio: 38 / 24; flex: none; }
.microguarantees {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px;
  font-size: 13.5px; color: var(--ink-soft);
}
.microguarantees span { display: flex; align-items: center; gap: 7px; }
.microguarantees svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* ---------- 7. Barre de statistiques ---------- */
.stats { background: var(--ink); color: #fff; padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 16px; text-align: center; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.stats__lbl { font-size: 13px; color: rgba(255, 255, 255, .68); }

/* ---------- 8. Sections génériques ---------- */
.section { padding: 64px 0; }
.section--alt { background: #fff; }
.section__title { font-size: clamp(28px, 5vw, 42px); text-align: center; margin-bottom: 8px; }
.section__lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}

/* Deux cartes d'intro */
.intro-cards { display: grid; gap: 18px; margin-bottom: 44px; }
@media (min-width: 820px) { .intro-cards { grid-template-columns: 1fr 1fr; } }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.intro-cards h3 { font-size: 22px; }
.intro-cards p { color: var(--ink-soft); margin-bottom: 0; font-size: 15px; }
/* `.intro-cards p` a une spécificité supérieure à `.bigsave` seul :
   on qualifie donc le sélecteur pour que la grosse remise l'emporte. */
.intro-cards .bigsave {
  font-size: clamp(56px, 11vw, 86px); font-weight: 800;
  letter-spacing: -.05em; line-height: 1; margin-bottom: 10px;
}

/* Grille de 6 caractéristiques */
.feature-grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature__icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature__icon svg { width: 21px; height: 21px; color: var(--ink); }
.feature h3 { font-size: 16.5px; }
.feature p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }

/* Blocs image + texte alternés */
.split { display: grid; gap: 28px; align-items: center; margin-top: 56px; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 52px; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.split h3 { font-size: clamp(22px, 3.4vw, 30px); }
.split p { color: var(--ink-soft); }
.split ul li {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px;
  font-size: 15px; color: var(--ink-soft);
}
.split ul svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--green); }

/* ---------- 9. Tableau de spécifications ---------- */
.specs { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 14px 20px; text-align: left; font-size: 15px; }
.specs th { font-weight: 600; color: var(--ink-soft); width: 55%; }
.specs td { font-weight: 600; }
.specs tbody tr:nth-child(odd) { background: var(--bg); }

/* ---------- 10. Sceaux de confiance ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.trust svg { width: 26px; height: 26px; margin: 0 auto 10px; color: var(--ink); }
.trust h3 { font-size: 15px; margin-bottom: 4px; }
.trust p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 10bis. Carrousel vidéo ---------- */
.vcarousel { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.vcarousel__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px; margin: 0; list-style: none;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vcarousel__track::-webkit-scrollbar { display: none; }
.vcard { flex: 0 0 auto; scroll-snap-align: center; width: 250px; }
@media (max-width: 520px) { .vcard { width: 74vw; max-width: 300px; } }

.vcard__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.vcard__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* bouton son (bas-droite) */
.vcard__sound {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px; border: 0;
  background: rgba(13, 13, 26, .62); color: #fff; backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.vcard__sound svg { width: 19px; height: 19px; }
.vcard__sound .ic-unmuted { display: none; }
.vcard.is-unmuted .vcard__sound .ic-muted { display: none; }
.vcard.is-unmuted .vcard__sound .ic-unmuted { display: block; }

/* pastille play centrale (tant que la vidéo n'est pas lancée) */
.vcard__play {
  position: absolute; inset: 0; z-index: 1; margin: auto;
  width: 58px; height: 58px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: opacity .2s ease;
}
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard.is-playing .vcard__play { opacity: 0; }

.vcarousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: none; align-items: center; justify-content: center; color: var(--ink);
}
.vcarousel__nav svg { width: 20px; height: 20px; }
.vcarousel__nav--prev { left: 4px; }
.vcarousel__nav--next { right: 4px; }
@media (min-width: 860px) { .vcarousel__nav { display: flex; } }

/* ---------- 11. Avis clients ---------- */
.reviews-wrap { max-width: 720px; margin: 0 auto; }

/* Bandeau d'étoiles fourni en image (PNG/WebP) */
.stars-img { height: 22px; width: auto; }
.stars-img--sm { height: 16px; }

/* --- Carte de synthèse --- */
.reviews-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 40px;
}
.reviews-card__title { font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.rc-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
/* logo de la plateforme d'avis, aligné sur la hauteur du bandeau d'étoiles */
.rc-brand__logo { height: 22px; width: auto; }
.rc-score { display: flex; align-items: baseline; gap: 6px; font-size: 17px; margin-bottom: 22px; }
.rc-score strong { font-weight: 700; }
.rc-score span { color: var(--muted); font-weight: 500; }
.rc-score strong + span { margin-right: 14px; }

.rc-criteria { margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.rc-criteria__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rc-criteria dt { font-size: 14.5px; color: var(--ink-soft); }
.rc-criteria dd { margin: 0; display: flex; align-items: center; gap: 9px; }
.rc-criteria dd span { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }

.rc-notes { font-size: 15px; margin-bottom: 12px; }
.rc-notes strong { font-weight: 700; }

/* --- Répartition des notes (barres noires, comme la référence) --- */
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 118px 1fr 42px; gap: 12px; align-items: center; }
.bar__lbl { font-size: 13.5px; color: var(--ink-soft); }
.bar__pct { font-size: 13.5px; color: var(--muted); text-align: right; }
/* display:block indispensable : ce sont des <span>, et `width` ne
   s'applique pas à un élément inline. */
.bar__track { display: block; height: 9px; background: #e7e7e3; border-radius: 999px; overflow: hidden; }
.bar__fill { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
@media (max-width: 560px) {
  .bar { grid-template-columns: 96px 1fr 38px; gap: 8px; }
  .bar__lbl, .bar__pct { font-size: 12.5px; }
}

/* --- Liste des avis --- */
.reviews-list__title { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.reviews-list { display: flex; flex-direction: column; }
.review { padding: 22px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; padding-top: 0; }
.review__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.review__name { font-weight: 700; font-size: 15px; margin: 0; }
.review__date { font-size: 13px; color: var(--muted); margin: 0; white-space: nowrap; }
.review__text { font-size: 15px; color: var(--ink-soft); margin: 12px 0 0; }
/* Photos clients (UGC, souvent en portrait) : on préserve le ratio,
   avec une hauteur plafonnée pour ne pas déséquilibrer la carte. */
.review__photo {
  display: block; margin-top: 14px;
  width: auto; max-width: 190px; max-height: 300px; height: auto;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.review__verified {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); margin: 14px 0 0;
}
.review__verified svg { width: 14px; height: 14px; flex: none; }

/* ---------- 12. FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.faq summary {
  padding: 18px 52px 18px 20px; font-weight: 600; font-size: 16px;
  cursor: pointer; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transform-origin: 60% 60%; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- 13. CTA final ---------- */
.final-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 26px; align-items: center; max-width: 900px; margin: 0 auto; }
@media (min-width: 720px) { .final-cta { grid-template-columns: 260px 1fr; padding: 34px; } }
.final-cta img { border-radius: var(--radius); border: 1px solid var(--line); }
.final-cta h2 { font-size: clamp(22px, 3.5vw, 28px); }
.final-cta__price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 18px; }
.final-cta__now { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.final-cta__was { color: var(--muted); text-decoration: line-through; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 52px 0 100px; font-size: 14px; }
@media (min-width: 760px) { .site-footer { padding-bottom: 52px; } }
.footer__grid { display: grid; gap: 28px; margin-bottom: 32px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- 15. CTA sticky mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 -6px 24px rgba(13, 13, 26, .1);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 920px) { .sticky-cta { display: none; } }
.sticky-cta__price { flex: none; line-height: 1.15; }
.sticky-cta__now { font-size: 18px; font-weight: 800; }
.sticky-cta__was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.sticky-cta .btn { padding: 14px 18px; }

/* ---------- 16. Drawer panier ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(13, 13, 26, .45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100%); background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; background: #fff; border-bottom: 1px solid var(--line);
}
.drawer__head svg { width: 21px; height: 21px; flex: none; }
.drawer__head h2 { font-size: 17px; margin: 0; flex: 1; }
.drawer__close { background: none; border: 0; padding: 6px; border-radius: 8px; display: flex; color: var(--ink); }
.drawer__close:hover { background: var(--bg); }

.freeship {
  display: flex; align-items: center; gap: 9px;
  background: var(--green-bg); color: #04835a;
  padding: 12px 20px; font-size: 14px; font-weight: 600;
}
.freeship svg { width: 19px; height: 19px; flex: none; }

.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 48px 12px; }

.cart-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.cart-item__img { width: 72px; height: 72px; flex: none; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__brand { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cart-item__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.cart-item__meta { font-size: 12.5px; color: var(--muted); }
.cart-item__price { font-weight: 800; white-space: nowrap; text-align: right; }
.cart-item__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 16px; line-height: 1; color: var(--ink); }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; font-weight: 600; }
.link-remove { background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.link-remove:hover { color: var(--red); }

.drawer__foot { background: #fff; border-top: 1px solid var(--line); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; margin-bottom: 9px; color: var(--ink-soft); }
.sum-row--total { font-size: 20px; font-weight: 800; color: var(--ink); padding-top: 11px; border-top: 1px solid var(--line); margin: 13px 0 16px; }
.sum-row .free { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.sum-row .free svg { width: 16px; height: 16px; }
.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--muted); margin: 12px 0 10px;
}
.secure-note svg { width: 13px; height: 13px; }
.pay-icons--center { justify-content: center; }

/* ============================================================
   17. CHECKOUT (checkout.html)
   ============================================================ */
.checkout-body { background: #eeeeeb; }
.topbar { height: 4px; background: var(--ink); }
.checkout-header { background: #fff; border-bottom: 1px solid var(--line); }
.checkout-header__in {
  max-width: 640px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.secure-tag { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.secure-tag svg { width: 15px; height: 15px; }

.checkout-main { max-width: 640px; margin: 0 auto; padding: 26px 20px 60px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.co-card__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

.co-line { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.co-line img { width: 60px; height: 60px; flex: none; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.co-line__body { flex: 1; min-width: 0; }
.co-line__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.co-line__meta { font-size: 13px; color: var(--muted); }
.co-line__right { text-align: right; flex: none; }
.co-line__price { font-weight: 700; }
.co-line__qty { font-size: 13px; color: var(--muted); }
.co-total { font-size: 22px; font-weight: 800; }
.co-note { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 10px; }

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field input.is-invalid, .field select.is-invalid { border-color: var(--red); background: #fff8f7; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field .error { display: none; font-size: 12.5px; color: var(--red); margin-top: 6px; font-weight: 500; }
.field .error.is-shown { display: block; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

.phone-group { display: flex; }
.phone-group__prefix {
  display: flex; align-items: center; padding: 0 13px;
  background: var(--bg); border: 1.5px solid var(--line); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.phone-group input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.pay-option {
  display: flex; align-items: center; gap: 11px;
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 16px; font-weight: 600; font-size: 15px;
}
.pay-option input { accent-color: var(--ink); width: 17px; height: 17px; }
.pay-option .pay-icons { margin-left: auto; }
.pay-option .pay-icons svg { width: 34px; }

/* Mode de livraison — option unique pré-sélectionnée (bord encre + radio plein) */
.ship-option {
  display: flex; align-items: center; gap: 12px;
  border: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 14px; cursor: pointer;
}
.ship-option input { position: absolute; opacity: 0; pointer-events: none; }
.ship-option__radio {
  width: 20px; height: 20px; flex: none;
  border: 2px solid #c3c3bd; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.ship-option.is-selected .ship-option__radio { border-color: var(--ink); }
.ship-option.is-selected .ship-option__radio::after {
  content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--ink);
}
.ship-option__icon { flex: none; color: var(--ink); display: flex; }
.ship-option__icon svg { width: 22px; height: 22px; }
.ship-option__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ship-option__name { font-weight: 600; font-size: 15px; }
.ship-option__meta { font-size: 13px; color: var(--muted); }
.ship-option__price { flex: none; font-weight: 700; color: var(--green); }

#payment-element { min-height: 42px; }
.stripe-fallback {
  display: none; background: #fff8f7; border: 1.5px solid #f3c9c5;
  border-radius: var(--radius-sm); padding: 14px; font-size: 13.5px; color: #8a2018;
}
.stripe-fallback.is-shown { display: block; }
.form-error {
  display: none; background: #fff8f7; border: 1.5px solid #f3c9c5;
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 13.5px; color: #8a2018; margin-bottom: 14px;
}
.form-error.is-shown { display: block; }

.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff; border-radius: 999px; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Écran de remerciement */
.thanks { text-align: center; padding: 60px 20px; max-width: 520px; margin: 0 auto; }
.thanks__icon {
  width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 999px;
  background: var(--green-bg); color: #04835a;
  display: flex; align-items: center; justify-content: center;
}
.thanks__icon svg { width: 32px; height: 32px; }
.thanks h1 { font-size: 30px; }
.thanks p { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
