/* =========================================================
   VAPIAURA — Feuille de style principale (v4)
   Direction artistique « Aurora » :
   nuit profonde, halos violet → magenta → orange,
   verre dépoli, icônes SVG duotone, animations au scroll,
   halo lumineux qui suit la souris.
   (Toutes les classes/IDs d'origine sont conservés.)
   ========================================================= */

:root {
  /* Fond & surfaces */
  --bg:          #05060b;
  --bg-2:        #0a0c15;
  --surface:     #0f1220;
  --surface-2:   #161a2c;
  --border:      rgba(160, 170, 255, 0.10);
  --border-2:    rgba(180, 188, 255, 0.20);

  /* Texte */
  --text:        #f2f4fb;
  --text-dim:    #9aa3ba;
  --text-dim-2:  #626b82;

  /* Accents — l'aurore */
  --accent:      #8B5CF6;
  --accent-600:  #7c3aed;
  --accent-2:    #FF6B00;
  --pink:        #EC4899;
  --green:       #34d399;
  --red:         #f87171;
  --gold:        #ffc24b;
  --ice:         #c4b3fb;

  --grad:        linear-gradient(120deg, #8B5CF6 0%, #EC4899 52%, #FF6B00 100%);
  --grad-soft:   linear-gradient(135deg, rgba(139,92,246,.14), rgba(236,72,153,.09) 50%, rgba(255,107,0,.10));

  /* Géométrie */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   26px;
  --maxw:        1400px;
  --header-h:    72px;

  /* Ombres & lueurs */
  --shadow:      0 24px 60px -12px rgba(2, 4, 12, 0.7);
  --shadow-glow: 0 10px 34px -6px rgba(139, 92, 246, 0.45);
  --ring:        0 0 0 3px rgba(139, 92, 246, 0.22);

  /* Typo */
  --font:         "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Outfit", "Segoe UI", sans-serif;

  /* Courbes d'animation */
  --ease-out:    cubic-bezier(.2, .7, .3, 1);
  --ease-pop:    cubic-bezier(.2, .9, .3, 1.2);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  background:
    radial-gradient(1100px 640px at 82% -8%,  rgba(139, 92, 246, .16), transparent 62%),
    radial-gradient(820px  560px at -12% 22%, rgba(236, 72, 153, .09), transparent 58%),
    radial-gradient(1000px 680px at 55% 108%, rgba(255, 107, 0,  .08), transparent 62%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Grain photographique — unifie toutes les surfaces */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .032;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }

::selection { background: rgba(139, 92, 246, .45); color: #fff; }

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

/* Scrollbar raffinée */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232841; border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34395c; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.gradient-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { from { background-position: 0% center; } to { background-position: 100% center; } }

/* ---------- Icônes SVG (système duotone) ----------
   .i  = icône ligne ; trait principal = currentColor
   .acc = détails en accent orange */
svg.i { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.18em; flex-shrink: 0; }
svg.i .acc { stroke: var(--accent-2); }
svg.i .acc[fill="currentColor"] { fill: var(--accent-2); stroke: var(--accent-2); }

.section { padding: 84px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--text-dim); margin-top: 8px; font-weight: 300; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 700;
  color: var(--ice); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad); }

/* ---------- Apparition au scroll (pilotée par js/fx.js) ----------
   Sans JS : tout est visible. fx.js ajoute .fx sur <html>, marque les
   éléments avec [data-rv] puis ajoute .in quand ils entrent à l'écran. */
html.fx [data-rv] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.fx [data-rv].in { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .18s var(--ease-pop), box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s, opacity .2s, background-position .4s ease;
  white-space: nowrap; border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary {
  background: var(--grad); background-size: 170% auto; background-position: left center;
  color: #fff; box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-20deg); transition: left .5s ease;
}
.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 14px 44px -8px rgba(236,72,153,.55), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.btn-primary:hover::after { left: 125%; }

.btn-ghost { background: rgba(255,255,255,.02); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(139,92,246,.6); color: #fff; background: rgba(139,92,246,.12); box-shadow: 0 0 0 4px rgba(139,92,246,.08); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-dim);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge svg.i { width: 12px; height: 12px; }
.badge-puffs   { background: rgba(255,107,0,.13);  border-color: rgba(255,107,0,.32);  color: #ffb27a; }
.badge-flavors { background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.36); color: var(--ice); }
.badge-promo   { background: linear-gradient(120deg, #EC4899, #FF6B00); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(236,72,153,.4); }

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(160,170,255,.08);
  transition: box-shadow .3s ease;
}
/* Le flou est porté par un pseudo-élément et non par le header lui-même :
   sur iOS, un backdrop-filter posé sur le header avale les clics de ses
   boutons (panier, menu) et devient le bloc conteneur des position:fixed. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 6, 12, .72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .3s ease;
}
.site-header.scrolled { box-shadow: 0 14px 44px -18px rgba(0,0,0,.85); }
.site-header.scrolled::before { background: rgba(4, 5, 10, .88); }
/* Fine ligne aurore sous le header */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(139,92,246,.55) 35%, rgba(236,72,153,.5) 55%, rgba(255,107,0,.45) 75%, transparent 95%);
  opacity: .55; pointer-events: none;
}
.header-inner { position: relative; z-index: 1; height: var(--header-h); display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.28rem; letter-spacing: .02em; font-family: var(--font-display); }
.brand svg { flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; display: block; filter: drop-shadow(0 4px 14px rgba(139,92,246,.5)); transition: transform .3s var(--ease-pop); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.brand .brand-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; gap: 4px; margin-left: 16px; }
.main-nav a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-weight: 500; font-size: .93rem; color: var(--text-dim); transition: color .18s, background .18s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav a.active { color: #fff; background: rgba(139,92,246,.14); box-shadow: inset 0 0 0 1px rgba(139,92,246,.35); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--border); background: rgba(255,255,255,.03); transition: .2s; position: relative;
}
.icon-btn:hover { border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.1); box-shadow: 0 0 18px rgba(139,92,246,.25); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  background: linear-gradient(120deg, #EC4899, #FF6B00); color: #fff; font-size: .68rem; font-weight: 800;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--bg);
  box-shadow: 0 3px 10px rgba(236,72,153,.5);
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }

/* ---------- Tiroir mobile ---------- */
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav {
    display: block; position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 200;
    background:
      radial-gradient(500px 320px at 90% 0%, rgba(139,92,246,.15), transparent 65%),
      radial-gradient(420px 300px at 0% 100%, rgba(255,107,0,.09), transparent 60%),
      var(--bg-2);
    padding: 28px 24px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s cubic-bezier(.3,.9,.3,1), visibility .32s;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .mobile-nav.open { transform: translateX(0); visibility: visible; }
  .mobile-nav a {
    display: block; padding: 17px 10px; font-size: 1.15rem; font-weight: 600;
    font-family: var(--font-display); letter-spacing: -.01em;
    border-bottom: 1px solid var(--border); transition: color .15s, padding-left .2s;
  }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--ice); padding-left: 16px; }
  body.nav-open { overflow: hidden; }
}

/* ========================================================
   HERO (accueil)
   ======================================================== */
.hero { position: relative; padding: 92px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-58%);
  width: 1100px; height: 760px;
  background:
    radial-gradient(closest-side at 42% 46%, rgba(139,92,246,.4), transparent 68%),
    radial-gradient(closest-side at 62% 58%, rgba(236,72,153,.22), transparent 66%);
  filter: blur(30px); z-index: 0;
  animation: aurora 16s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; bottom: -220px; right: -160px;
  width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(255,107,0,.26), transparent 70%);
  filter: blur(24px); z-index: 0;
  animation: aurora 20s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  from { transform: translateX(-58%) translateY(0)    rotate(0deg)  scale(1); }
  to   { transform: translateX(-46%) translateY(46px) rotate(8deg)  scale(1.12); }
}

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
/* Trame de points en fond du hero */
.hero-inner::before {
  content: ""; position: absolute; inset: -60px -8vw; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 42%, #000, transparent);
  mask-image: radial-gradient(62% 62% at 50% 42%, #000, transparent);
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; margin-bottom: 22px; }
.hero .lead { font-size: 1.14rem; font-weight: 300; color: var(--text-dim); max-width: 540px; margin-bottom: 34px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Entrée en scène au chargement */
.hero-copy > * { animation: rise .85s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .14s; }
.hero-copy > *:nth-child(3) { animation-delay: .23s; }
.hero-copy > *:nth-child(4) { animation-delay: .32s; }
.hero-copy > *:nth-child(5) { animation-delay: .43s; }
.hero-visual { animation: rise 1s var(--ease-out) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero-stats { display: flex; gap: 0; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat { padding: 0 30px; border-left: 1px solid var(--border-2); }
.hero-stats .stat:first-child { padding-left: 0; border-left: none; }
.hero-stats .stat b {
  display: block; font-size: 1.9rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .stat span { color: var(--text-dim); font-size: .85rem; font-weight: 300; }

.hero-visual {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(85% 85% at 50% 38%, rgba(139,92,246,.2), transparent 70%),
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015) 55%),
    var(--bg-2);
  border: 1px solid var(--border-2);
  display: grid; place-items: center;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform .25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Anneau lumineux tournant derrière le produit */
.hero-visual::before {
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 12%, rgba(139,92,246,.5), rgba(236,72,153,.45), rgba(255,107,0,.4), transparent 88%);
  filter: blur(34px); opacity: .8;
  animation: spin-slow 14s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-visual img {
  position: relative; z-index: 1;
  width: 84%; height: 84%; object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.65));
  animation: floaty 6s ease-in-out infinite alternate;
}
@keyframes floaty { from { transform: translateY(8px); } to { transform: translateY(-10px); } }
.hero-visual .float-badge { position: absolute; z-index: 2; }

/* ---------- Bandeau défilant marques ---------- */
.marquee {
  border-block: 1px solid var(--border); background: rgba(10,12,21,.6); padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 64px; align-items: center; white-space: nowrap; animation: scroll 30s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .14em;
  color: transparent; -webkit-text-stroke: 1px rgba(160,170,200,.34);
  text-transform: uppercase; transition: .25s;
}
.marquee-track span:hover { -webkit-text-stroke-color: rgba(196,179,251,.8); }
.marquee-track span.dot { -webkit-text-stroke: 0; color: var(--accent); font-size: .8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Bandeaux "atouts" ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  position: relative;
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 55%), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .25s ease, border-color .25s, box-shadow .3s;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; top: -50%; right: -30%; width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(139,92,246,.16), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.4); box-shadow: 0 18px 44px -18px rgba(139,92,246,.35); }
.feature:hover::before { opacity: 1; }
.feature .ico {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.28);
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--ice);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 6px 18px -8px rgba(139,92,246,.4);
  transition: transform .3s var(--ease-pop), box-shadow .3s;
}
.feature:hover .ico { transform: translateY(-3px) rotate(-4deg) scale(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 26px -8px rgba(139,92,246,.55); }
.ico svg.i { width: 26px; height: 26px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 7px; letter-spacing: -.01em; }
.feature p { color: var(--text-dim); font-size: .89rem; font-weight: 300; line-height: 1.6; }

/* ========================================================
   GRILLE PRODUITS / CARTES
   ======================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  position: relative;
  background: linear-gradient(175deg, rgba(255,255,255,.04), rgba(255,255,255,.008) 60%), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--ease-out), border-color .28s ease, box-shadow .32s ease;
}
.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(139,92,246,.45);
  box-shadow: 0 26px 60px -18px rgba(139,92,246,.38), 0 14px 34px -10px rgba(2,4,12,.8);
}
.product-card .thumb {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #141828 0%, #0a0d16 62%);
}
.product-card .thumb::after {
  content: ""; position: absolute; inset: auto 10% 6% 10%; height: 42%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(139,92,246,.22), transparent 75%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.product-card:hover .thumb::after { opacity: 1; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .45s var(--ease-out); }
.product-card:hover .thumb img { transform: scale(1.07) translateY(-3px); }
.product-card .card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.product-card .card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid rgba(160,170,255,.06); }
.product-card .brand-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--ice); font-weight: 700; }
.product-card h3 { font-size: 1.01rem; line-height: 1.32; font-weight: 600; letter-spacing: -.01em; }
.product-card .meta { display: flex; gap: 6px; flex-wrap: wrap; }
.product-card .price-row { margin-top: auto; display: flex; align-items: baseline; gap: 9px; }
.product-card .price { font-size: 1.32rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.02em; }
.product-card .price-old { color: var(--text-dim-2); text-decoration: line-through; font-size: .92rem; }
.product-card .card-actions { display: flex; gap: 8px; margin-top: 6px; }

/* Halo qui suit la souris (position --mx/--my posée par fx.js) */
@media (hover: hover) and (pointer: fine) {
  .product-card::after, .feature::after, .review-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 40%), rgba(139,92,246,.15), transparent 65%);
    opacity: 0; transition: opacity .35s; pointer-events: none;
  }
  .product-card:hover::after, .feature:hover::after, .review-card:hover::after { opacity: 1; }
}

/* ========================================================
   BOUTIQUE — barre d'outils / filtres
   ======================================================== */
.shop-head { padding: 60px 0 8px; position: relative; }
.shop-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.shop-head p { color: var(--text-dim); margin-top: 10px; font-weight: 300; }
.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 30px 0 34px; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .45; }
.search-box input {
  width: 100%; padding: 14px 18px 14px 44px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 999px; color: #fff; font-size: .95rem; outline: none; transition: .2s;
}
.search-box input::placeholder { color: var(--text-dim-2); }
.search-box input:focus { border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.06); box-shadow: var(--ring); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  color: var(--text-dim); font-weight: 500; font-size: .88rem; transition: .2s;
}
.chip:hover { border-color: var(--border-2); color: #fff; background: rgba(255,255,255,.06); transform: translateY(-1px); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 20px -6px rgba(236,72,153,.5); font-weight: 600; }
.sort-select {
  padding: 12px 18px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 999px;
  color: #fff; font-size: .9rem; outline: none; cursor: pointer; transition: .2s;
}
.sort-select:focus { border-color: rgba(139,92,246,.6); box-shadow: var(--ring); }
.sort-select option { background: var(--bg-2); }
.result-count { color: var(--text-dim); font-size: .9rem; margin-bottom: 22px; }
.empty-state { text-align: center; padding: 90px 20px; color: var(--text-dim); }

/* ========================================================
   FICHE PRODUIT
   ======================================================== */
.breadcrumb { padding: 26px 0 0; font-size: .85rem; color: var(--text-dim); }
.breadcrumb a { transition: color .15s; }
.breadcrumb a:hover { color: var(--ice); }

.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 30px 0 48px; align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main {
  position: relative; aspect-ratio: 1/1;
  background:
    radial-gradient(80% 70% at 50% 34%, rgba(139,92,246,.14), transparent 72%),
    linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.01) 55%),
    var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); transition: transform .4s var(--ease-out); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 14px; }
.gallery-thumbs button {
  aspect-ratio: 1/1; border-radius: 12px; overflow: hidden;
  border: 2px solid var(--border); background: var(--surface); transition: .2s;
}
.gallery-thumbs button:hover { border-color: var(--border-2); transform: translateY(-2px); }
.gallery-thumbs button.active { border-color: var(--accent); box-shadow: 0 0 16px rgba(139,92,246,.35); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.product-info h1 { font-size: clamp(1.7rem, 3.1vw, 2.4rem); line-height: 1.12; margin: 10px 0 16px; }
.product-info .brand-tag { color: var(--ice); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; }
.pi-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pi-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pi-price .price {
  font-size: 2.3rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pi-price .price-old { color: var(--text-dim-2); text-decoration: line-through; font-size: 1.2rem; }
.pi-price .save { color: var(--green); font-weight: 700; font-size: .9rem; }
.pi-tax { color: var(--text-dim-2); font-size: .82rem; margin-bottom: 24px; }

.selector-label { font-weight: 600; margin: 22px 0 12px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); letter-spacing: -.01em; }
.selector-label .chosen { color: var(--ice); font-weight: 500; font-family: var(--font); }
.flavor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding-right: 6px; }
.flavor-grid::-webkit-scrollbar { width: 8px; }
.flavor-grid::-webkit-scrollbar-thumb { background: #232841; border-radius: 8px; border: none; }
.flavor-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.028); border: 1px solid var(--border); color: var(--text-dim);
  font-size: .85rem; font-weight: 500; text-align: left; transition: .18s;
}
.flavor-btn:hover { border-color: var(--border-2); color: #fff; background: rgba(255,255,255,.05); }
.flavor-btn.active { border-color: rgba(139,92,246,.65); background: rgba(139,92,246,.13); color: #fff; box-shadow: 0 0 14px rgba(139,92,246,.18); }
.flavor-btn .swatch { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #0a0d15; }

.buy-bar { display: flex; gap: 12px; margin: 28px 0; align-items: stretch; }
.qty-stepper {
  display: flex; align-items: center; border: 1px solid var(--border-2); border-radius: 999px;
  background: rgba(255,255,255,.03); overflow: hidden;
}
.qty-stepper button { width: 48px; height: 100%; font-size: 1.3rem; color: var(--text-dim); transition: .15s; }
.qty-stepper button:hover { color: #fff; background: rgba(139,92,246,.15); }
.qty-stepper input { width: 46px; text-align: center; background: transparent; border: none; color: #fff; font-size: 1rem; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.trust {
  background: linear-gradient(170deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 16px 14px; text-align: center;
  transition: border-color .2s, transform .2s;
}
.trust:hover { border-color: rgba(139,92,246,.35); transform: translateY(-2px); }
.trust .ti { margin-bottom: 8px; color: var(--ice); }
.trust .ti svg.i { width: 24px; height: 24px; }
.trust b { display: block; font-size: .84rem; }
.trust span { color: var(--text-dim); font-size: .74rem; font-weight: 300; }

.product-desc { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 30px; }
.product-desc h2 { font-size: 1.35rem; margin-bottom: 16px; }
.rte h2 { font-size: 1.26rem; margin: 22px 0 12px; }
.rte h3 { font-size: 1.06rem; margin: 18px 0 8px; }
.rte p { color: var(--text-dim); margin-bottom: 13px; font-weight: 300; line-height: 1.75; }
.rte ul { margin: 0 0 15px; display: flex; flex-direction: column; gap: 9px; }
.rte ul li { padding-left: 22px; position: relative; color: #c9d0dd; line-height: 1.6; }
.rte ul li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); font-size: .8em; top: .25em; }
.rte strong { color: #fff; font-weight: 600; }

/* Produits associés */
.related { border-top: 1px solid var(--border); }

/* ========================================================
   PANIER
   ======================================================== */
.cart-page { padding: 48px 0 90px; min-height: 60vh; }
.cart-page h1 { font-size: 2.3rem; margin-bottom: 30px; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px;
  background: linear-gradient(175deg, rgba(255,255,255,.035), rgba(255,255,255,.008)), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; align-items: center;
}
.cart-item .ci-thumb { width: 92px; height: 92px; border-radius: 12px; background: #0a0d15; overflow: hidden; }
.cart-item .ci-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item h3 { font-size: .98rem; margin-bottom: 4px; }
.cart-item .ci-flavor { color: var(--text-dim); font-size: .85rem; margin-bottom: 8px; }
.cart-item .ci-controls { display: flex; align-items: center; gap: 14px; }
.cart-item .ci-price { font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; text-align: right; white-space: nowrap; }
.ci-remove { color: var(--text-dim); font-size: .82rem; transition: .15s; }
.ci-remove:hover { color: var(--red); }
.mini-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-2); border-radius: 999px; background: rgba(255,255,255,.02); }
.mini-stepper button { width: 32px; height: 32px; color: var(--text-dim); border-radius: 999px; transition: .15s; }
.mini-stepper button:hover { color: #fff; background: rgba(139,92,246,.15); }
.mini-stepper span { min-width: 28px; text-align: center; font-weight: 700; font-size: .9rem; }

.cart-summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012) 60%), var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.cart-summary h2 { font-size: 1.18rem; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text-dim); font-size: .92rem; }
.sum-row.total {
  border-top: 1px solid var(--border-2); margin-top: 10px; padding-top: 18px;
  color: #fff; font-size: 1.3rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.02em;
}
.checkout-note { font-size: .78rem; color: var(--text-dim-2); margin-top: 14px; text-align: center; }

/* Panier vide — écrin lumineux autour de l'icône */
.cart-empty { text-align: center; padding: 90px 20px; }
.cart-empty .big {
  position: relative; width: 104px; height: 104px; margin: 0 auto 24px;
  border-radius: 30px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.3);
  color: var(--ice);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 40px -12px rgba(139,92,246,.45);
}
.cart-empty .big svg.i { width: 42px; height: 42px; }
.cart-empty .big::before, .cart-empty .big::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(139,92,246,.45); pointer-events: none;
  animation: ripple 2.6s ease-out infinite;
}
.cart-empty .big::after { animation-delay: 1.3s; }
@keyframes ripple {
  0%   { transform: scale(1);    opacity: .7; }
  100% { transform: scale(1.45); opacity: 0; }
}
.cart-empty p { color: var(--text-dim); margin-bottom: 24px; }

/* ========================================================
   OFFRE PACK — bandeau paliers (fiche produit)
   ======================================================== */
.pack-tiers {
  position: relative; overflow: hidden;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.32);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 4px 0 22px;
}
.pack-tiers::before {
  content: ""; position: absolute; top: -60px; right: -40px; width: 190px; height: 190px;
  background: radial-gradient(closest-side, rgba(236,72,153,.18), transparent 70%); pointer-events: none;
}
.pack-tiers .pt-title { font-weight: 700; font-size: .93rem; margin-bottom: 12px; font-family: var(--font-display); letter-spacing: -.01em; }
.pack-tiers .pt-title svg.i { width: 16px; height: 16px; color: var(--ice); margin-right: 2px; }
.pack-tiers .pt-rows { display: flex; gap: 10px; flex-wrap: wrap; }
.pack-tiers .pt-row {
  flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(3,4,10,.45); border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px;
  font-size: .85rem; color: var(--text-dim); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: border-color .2s, transform .2s;
}
.pack-tiers .pt-row:hover { border-color: rgba(139,92,246,.4); transform: translateY(-1px); }
.pack-tiers .pt-row b { font-size: 1.02rem; color: var(--ice); font-family: var(--font-display); }
.pack-tiers .pt-row b.hot { color: var(--accent-2); }
.pack-tiers .pt-note { font-size: .76rem; color: var(--text-dim); margin-top: 11px; }

/* Pastille quantité sur les boutons de saveur */
.flavor-btn { position: relative; }
.flavor-btn .fname { flex: 1; }
.flavor-btn .fqty {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: linear-gradient(120deg, #EC4899, #FF6B00); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 3px 8px rgba(236,72,153,.4);
  animation: popIn .25s var(--ease-pop);
}
@keyframes popIn { from { transform: scale(.5); opacity: 0; } }

/* Boîte « ton pack » */
.pack-box { margin: 18px 0 6px; }
.pack-empty {
  border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
  padding: 20px 18px; text-align: center; color: var(--text-dim); font-size: .88rem;
  background: rgba(255,255,255,.015);
}
.pack-empty svg.i { width: 24px; height: 24px; display: block; margin: 0 auto 10px; color: var(--ice); }
.pack-lines { display: flex; flex-direction: column; gap: 8px; }
.pack-line {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 9px 13px;
  transition: border-color .2s;
  animation: lineIn .3s var(--ease-out);
}
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); } }
.pack-line:hover { border-color: var(--border-2); }
.pack-line .pl-name { flex: 1; font-weight: 500; font-size: .9rem; }
.pack-line .pl-remove { width: 30px; height: 30px; border-radius: 9px; color: var(--text-dim); display: grid; place-items: center; transition: .15s; }
.pack-line .pl-remove svg.i { width: 13px; height: 13px; }
.pack-line .pl-remove:hover { color: var(--red); background: rgba(248,113,113,.12); }
.pack-recap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding: 14px 16px;
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--surface-2);
  border: 1px solid var(--border-2); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.pack-recap .pr-left { display: flex; flex-direction: column; gap: 2px; }
.pack-recap .pr-count { font-weight: 700; font-size: 1.05rem; font-family: var(--font-display); }
.pack-recap .pr-disc { font-size: .82rem; color: var(--green); font-weight: 700; }
.pack-recap .pr-disc svg.i { width: 12px; height: 12px; }
.pack-recap .pr-disc.muted { color: var(--text-dim); font-weight: 500; }
.pack-recap .pr-price { display: flex; align-items: baseline; gap: 8px; }
.pack-recap .pp-old { color: var(--text-dim-2); text-decoration: line-through; font-size: .95rem; }
.pack-recap .pp-new {
  font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Indice remise sur les cartes produit */
.pack-hint { font-size: .74rem; color: var(--text-dim); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.pack-hint svg.i { width: 12px; height: 12px; color: var(--ice); flex-shrink: 0; }

/* ========================================================
   PANIER — groupes par produit
   ======================================================== */
.cart-groups { display: flex; flex-direction: column; gap: 16px; }
.cart-group {
  background: linear-gradient(175deg, rgba(255,255,255,.035), rgba(255,255,255,.008) 60%), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px;
  transition: border-color .2s;
}
.cart-group:hover { border-color: var(--border-2); }
.cart-group.invalid { border-color: rgba(248,113,113,.5); }
.cg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.cg-head h3 { font-size: 1.03rem; }
.cg-head h3 a { transition: color .15s; }
.cg-head h3 a:hover { color: var(--ice); }
.cg-disc {
  font-size: .74rem; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  background: rgba(52,211,153,.13); border: 1px solid rgba(52,211,153,.38); color: #6ee7b7; white-space: nowrap;
}
.cg-disc.muted { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text-dim); }
.cg-lines { display: flex; flex-direction: column; gap: 10px; }
.cg-line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.cg-line:first-child { border-top: none; }
.cgl-thumb { width: 60px; height: 60px; border-radius: 12px; background: #0a0d15; overflow: hidden; }
.cgl-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.cgl-main { display: flex; flex-direction: column; gap: 8px; }
.cgl-flavor { font-size: .92rem; font-weight: 500; }
.cgl-right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.cgl-price { font-weight: 700; font-family: var(--font-display); font-size: 1rem; white-space: nowrap; }
.cg-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border);
  font-size: .9rem; color: var(--text-dim);
}
.cg-total { font-weight: 700; color: var(--text); font-family: var(--font-display); }
.cg-total s { color: var(--text-dim-2); font-weight: 400; margin-right: 5px; }
.cg-warn { margin-top: 12px; padding: 11px 13px; background: rgba(248,113,113,.09); border: 1px solid rgba(248,113,113,.35); border-radius: 12px; font-size: .82rem; color: #fca5a5; }
.cg-warn svg.i { width: 13px; height: 13px; }
.cg-warn svg.i .acc { stroke: #fca5a5; }
.sum-row.save-row { color: var(--green); font-weight: 700; }
.sum-row.save-row svg.i { width: 13px; height: 13px; color: var(--green); }
.sum-row.save-row svg.i .acc { stroke: var(--green); }
.cart-invalid-note { margin-top: 14px; padding: 11px 13px; background: rgba(248,113,113,.09); border: 1px solid rgba(248,113,113,.35); border-radius: 12px; font-size: .82rem; color: #fca5a5; }
.cart-invalid-note svg.i { width: 13px; height: 13px; }
.cart-invalid-note svg.i .acc { stroke: #fca5a5; }

/* Sélecteur de mode de livraison (panier) */
.ship-label { font-size: .72rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .14em; margin: 18px 0 9px; }
.ship-select { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.ship-opt {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02);
  cursor: pointer; transition: .18s;
}
.ship-opt:hover { border-color: var(--border-2); background: rgba(255,255,255,.04); }
.ship-opt.active { border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.1); box-shadow: 0 0 14px rgba(139,92,246,.15); }
.ship-opt input { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.ship-opt .so-info { display: flex; flex-direction: column; line-height: 1.25; }
.ship-opt .so-info b { font-size: .9rem; }
.ship-opt .so-info small { color: var(--text-dim); font-size: .78rem; }
.ship-opt .so-price { margin-left: auto; font-weight: 700; font-family: var(--font-display); font-size: .95rem; }
.ship-free { margin: 14px 0 6px; padding: 11px 13px; border-radius: 12px; background: rgba(52,211,153,.09); border: 1px solid rgba(52,211,153,.35); color: #86efac; font-size: .88rem; }
.ship-free svg.i { width: 14px; height: 14px; color: #86efac; }
.ship-free svg.i .acc { stroke: #86efac; }
.ship-hint { color: var(--ice); font-size: .8rem; margin: 4px 0; }
.ship-hint svg.i { width: 12px; height: 12px; color: var(--accent-2); }

/* ========================================================
   PAGE CONTACT (formulaire)
   ======================================================== */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.contact-card {
  position: relative;
  background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 55%), var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 17px; display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--text-dim); }
.form-field label .opt { color: var(--text-dim-2); font-weight: 400; }
.form-field label .req { color: var(--pink); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 15px; background: rgba(3,4,10,.5); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: #fff; font-size: .95rem; outline: none; transition: .2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-dim-2); }
.form-field input:focus, .form-field textarea:focus { border-color: rgba(139,92,246,.65); background: rgba(139,92,246,.05); box-shadow: var(--ring); }
.form-field textarea { resize: vertical; min-height: 130px; font-family: inherit; line-height: 1.5; }
.form-field.invalid input, .form-field.invalid textarea { border-color: var(--red); background: rgba(248,113,113,.05); }
.field-error { color: #fca5a5; font-size: .78rem; display: none; }
.form-field.invalid .field-error { display: block; }
.form-success {
  display: none; background: rgba(52,211,153,.09); border: 1px solid rgba(52,211,153,.35);
  color: #86efac; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: .9rem; line-height: 1.5;
}
.contact-aside {
  background: linear-gradient(170deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.contact-aside h3 { font-size: 1.06rem; margin-bottom: 18px; }
.contact-aside .ci-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-aside .ci-line:last-child { margin-bottom: 0; }
.contact-aside .ci-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: var(--grad-soft); border: 1px solid rgba(139,92,246,.28);
  display: grid; place-items: center; color: var(--ice);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.contact-aside .ci-ico svg.i { width: 19px; height: 19px; }
.contact-aside .ci-line b { display: block; font-size: .9rem; margin-bottom: 2px; }
.contact-aside .ci-line span, .contact-aside .ci-line a { color: var(--text-dim); font-size: .88rem; }
.contact-aside .ci-line a:hover { color: #ffb27a; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .contact-aside { position: static; }
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ========================================================
   PAGE COMMANDE / REDIRECTION PAIEMENT
   ======================================================== */
.checkout-wrap { max-width: 580px; margin: 0 auto; padding: 48px 0 80px; text-align: center; }
.co-box {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012) 55%), var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 44px 36px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
}
.co-box::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.7), rgba(255,107,0,.55), transparent);
}
.co-box h1 { font-size: 1.55rem; margin-bottom: 8px; }
.co-box p { color: var(--text-dim); margin-bottom: 8px; font-weight: 300; }
.co-spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(160,170,255,.15); border-top-color: var(--accent);
  margin: 4px auto 24px; animation: cospin .8s linear infinite;
}
@keyframes cospin { to { transform: rotate(360deg); } }
.co-amount {
  font-size: 2.6rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.03em; margin: 18px 0 4px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.co-recap {
  text-align: left; background: rgba(3,4,10,.4); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin: 24px 0;
}
.co-recap .cor-row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--text-dim); padding: 5px 0; }
.co-recap .cor-row b { color: #fff; font-weight: 600; font-family: var(--font-display); }
.co-note { font-size: .8rem; color: var(--text-dim-2); margin-top: 14px; }
.co-error { text-align: left; background: rgba(255,107,0,.09); border: 1px dashed rgba(255,107,0,.45); color: #ffcba0; border-radius: var(--radius-sm); padding: 14px 16px; font-size: .86rem; margin: 8px 0; line-height: 1.6; }
.co-error code { background: rgba(0,0,0,.35); padding: 1px 6px; border-radius: 6px; font-size: .85em; }

/* ========================================================
   FOOTER
   ======================================================== */
.age-warning-bar {
  background: rgba(10,12,21,.8); border-top: 1px solid var(--border);
  padding: 14px 0; text-align: center; font-size: .8rem; color: var(--text-dim);
}
.age-warning-bar b { color: #ffb27a; }
.age-warning-bar svg.i { width: 14px; height: 14px; color: #ffb27a; }
.age-warning-bar svg.i .acc { stroke: #ffb27a; }

.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), #070810 70%);
  border-top: 1px solid var(--border); padding: 64px 0 30px; margin-top: auto;
}
/* Filigrane géant VAPIAURA */
.site-footer::before {
  content: "VAPIAURA"; position: absolute; left: 50%; bottom: -.32em; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 15vw, 12.5rem);
  letter-spacing: .06em; white-space: nowrap; pointer-events: none;
  background: linear-gradient(180deg, rgba(160,150,255,.06), transparent 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-footer .wrap { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; font-weight: 300; margin-top: 15px; max-width: 320px; line-height: 1.7; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--text-dim-2); margin-bottom: 17px; font-family: var(--font-display); }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { color: var(--text-dim); font-size: .92rem; transition: .18s; }
.site-footer ul a:hover { color: var(--ice); padding-left: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-dim-2); font-size: .82rem;
}
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span {
  padding: 5px 12px; border: 1px solid var(--border-2); border-radius: 8px;
  font-size: .72rem; font-weight: 600; color: var(--text-dim);
  background: rgba(255,255,255,.03); transition: .2s;
}
.pay-badges span:hover { border-color: rgba(139,92,246,.5); color: #fff; }

/* ========================================================
   MODALE DE MAJORITÉ
   ======================================================== */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  background:
    radial-gradient(700px 460px at 78% 12%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(560px 420px at 12% 88%, rgba(255,107,0,.1), transparent 60%),
    rgba(3, 4, 9, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 20px;
}
.age-gate[hidden] { display: none; }
.age-card {
  position: relative; overflow: hidden;
  max-width: 460px; width: 100%;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015) 55%), var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 44px 34px;
  text-align: center; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  animation: gateIn .5s var(--ease-pop) both;
}
@keyframes gateIn { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.age-card::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.8), rgba(255,107,0,.6), transparent);
}
.age-card .ag-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 22px; }
.age-card .ag-logo .brand-logo { width: 48px; height: 48px; }
.age-card h2 { font-size: 1.55rem; margin-bottom: 12px; }
.age-card p { color: var(--text-dim); font-size: .92rem; font-weight: 300; margin-bottom: 28px; line-height: 1.65; }
.age-actions { display: flex; gap: 12px; }
.age-actions .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1100; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), var(--surface-2);
  border: 1px solid var(--border-2); border-left: 3px solid var(--green);
  border-radius: 14px; padding: 13px 20px;
  display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .9rem;
  box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: toastIn .3s var(--ease-pop); max-width: 90vw;
}
/* Barre de vie du toast (synchronisée avec sa durée d'affichage) */
.toast::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform-origin: left;
  animation: toastbar 2.4s linear forwards;
}
@keyframes toastbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast .tico { color: var(--green); display: grid; place-items: center; }
.toast .tico svg.i { width: 15px; height: 15px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 440px; margin: 0 auto; order: -1; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card .card-body { padding: 13px; }
  .product-card h3 { font-size: .9rem; }
  .product-card .card-actions .btn span { display: none; }
  .trust-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item .ci-thumb { width: 70px; height: 70px; }
  .cart-item .ci-price { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-stats { gap: 18px 0; }
  .hero-stats .stat { padding: 0 20px; }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================================
   PAGES LÉGALES (mentions, CGV, confidentialité, livraison)
   ======================================================== */
.legal-hero { position: relative; padding: 60px 0 8px; }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: 4px; }
.legal-hero .updated { color: var(--text-dim-2); font-size: .85rem; margin-top: 12px; }
.legal-page { padding: 24px 0 90px; min-height: 50vh; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); }
.legal-toc h4 { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--text-dim-2); margin-bottom: 13px; font-family: var(--font-display); }
.legal-toc a {
  display: block; padding: 8px 14px; border-radius: 10px; color: var(--text-dim);
  font-size: .88rem; transition: .18s; border-left: 2px solid transparent;
}
.legal-toc a:hover { color: #fff; background: rgba(139,92,246,.08); border-left-color: var(--accent); }
.legal-content { max-width: 820px; }
.legal-content section { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-content h2 { font-size: 1.34rem; margin: 38px 0 15px; padding-top: 6px; }
.legal-content section:first-child h2 { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin: 22px 0 9px; color: #fff; }
.legal-content p { color: #c3cad8; margin-bottom: 14px; line-height: 1.78; font-weight: 300; }
.legal-content ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 9px; }
.legal-content ul li { color: #c3cad8; padding-left: 22px; position: relative; line-height: 1.68; font-weight: 300; }
.legal-content ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.legal-content strong { color: #fff; font-weight: 600; }
.legal-content a { color: #ffa25c; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,107,0,.4); transition: .15s; }
.legal-content a:hover { color: #ffb27a; text-decoration-color: currentColor; }
.identity-card {
  background: linear-gradient(170deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--radius); padding: 22px 24px; margin: 4px 0 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.identity-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; font-size: .92rem; margin: 0; }
.identity-card dt { color: var(--text-dim); }
.identity-card dd { color: #fff; font-weight: 600; margin: 0; }
.legal-note { background: var(--grad-soft); border: 1px solid rgba(139,92,246,.3); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .88rem; color: #cbd2dc; margin: 16px 0; }
.legal-note strong { color: #fff; }
.legal-note.warn { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.32); color: #f3c9c9; }
.legal-note.warn strong { color: #ffd7d7; }
.legal-todo { background: rgba(255,107,0,.09); border: 1px dashed rgba(255,107,0,.45); border-radius: var(--radius-sm); padding: 12px 15px; font-size: .85rem; color: #ffcba0; margin: 14px 0; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { display: none; }
}
@media (max-width: 680px) {
  .identity-card dl { grid-template-columns: 1fr; gap: 3px; }
  .identity-card dt { margin-top: 10px; }
  .identity-card dt:first-child { margin-top: 0; }
}

/* ========================================================
   AVIS CLIENTS
   ======================================================== */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.stars.dim { color: var(--text-dim-2); }
.stars .on { color: var(--gold); text-shadow: 0 0 12px rgba(255,194,75,.45); }
.stars .off { color: rgba(255,255,255,.16); }

.reviews-top { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.reviews-score { text-align: center; }
.reviews-score .big {
  font-size: 3.6rem; font-weight: 700; font-family: var(--font-display); letter-spacing: -.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews-score .stars { font-size: 1.25rem; margin: 8px 0 4px; }
.reviews-score .count { color: var(--text-dim); font-size: .85rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review-card {
  position: relative;
  background: linear-gradient(175deg, rgba(255,255,255,.04), rgba(255,255,255,.01) 60%), var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, border-color .25s, box-shadow .3s;
  overflow: hidden;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.35); box-shadow: 0 18px 40px -16px rgba(139,92,246,.3); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: .95rem; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.review-who { line-height: 1.25; }
.review-who b { font-size: .92rem; }
.review-who .verified { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--green); font-weight: 600; }
.review-who .verified svg.i { width: 11px; height: 11px; }
.review-card .stars { font-size: .95rem; }
.review-card .rtext { color: #c9d0dd; font-size: .92rem; font-weight: 300; line-height: 1.62; flex: 1; }
.review-card .rdate { color: var(--text-dim-2); font-size: .78rem; }

/* Barres de répartition (page avis) */
.rating-breakdown { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 9px; }
.bd-row { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--text-dim); }
.bd-row .bd-label { width: 44px; white-space: nowrap; }
.bd-bar { flex: 1; height: 9px; background: rgba(255,255,255,.05); border-radius: 999px; overflow: hidden; }
.bd-bar i { display: block; height: 100%; background: var(--grad); border-radius: 999px; box-shadow: 0 0 10px rgba(236,72,153,.4); transform-origin: left; animation: barIn .9s var(--ease-out) both; }
@keyframes barIn { from { transform: scaleX(0); } }
.bd-row .bd-pct { width: 42px; text-align: right; color: var(--text-dim-2); }

.avis-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0 28px; }

@media (max-width: 1080px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .reviews-grid { grid-template-columns: 1fr; } .reviews-score .big { font-size: 3rem; } }

/* ========================================================
   ACCESSIBILITÉ — mouvement réduit
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  html.fx [data-rv] { opacity: 1; transform: none; }
}
