/* ========================================================================
   KROMACOQUE — Stylesheet principal
   Vibrez en couleurs, protégez avec style
   ======================================================================== */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea { font: inherit; }

/* ---------- 2. VARIABLES CSS ---------- */
:root {
  /* Palette principale */
  --magenta: #FF3CAC;
  --violet: #784BA0;
  --bleu: #2B86C5;
  --jaune: #FFD93D;
  --corail: #FF6B6B;
  --menthe: #4ECDC4;

  /* Surfaces */
  --bg: #FFF8F2;
  --bg-alt: #FFFFFF;
  --ink: #1A0F2E;
  --ink-soft: #4A3F5C;
  --ink-mute: #8A7E9C;
  --line: #EDE3D9;
  --card: #FFFFFF;

  /* Dégradés signature */
  --grad-hero: linear-gradient(135deg, #FF3CAC 0%, #784BA0 50%, #2B86C5 100%);
  --grad-sun: linear-gradient(135deg, #FFD93D 0%, #FF6B6B 100%);
  --grad-deep: linear-gradient(135deg, #784BA0 0%, #2B86C5 100%);
  --grad-pop: linear-gradient(135deg, #FF3CAC 0%, #FFD93D 100%);

  /* Typographie */
  --font-display: "Unbounded", "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Espacements / radius / shadows */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  --shadow-sm: 0 4px 12px rgba(26, 15, 46, 0.08);
  --shadow-md: 0 10px 30px rgba(26, 15, 46, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 15, 46, 0.18);
  --shadow-pop: 0 14px 38px rgba(255, 60, 172, 0.35);

  --container: 1280px;
  --header-h: 76px;
}

/* ---------- 3. DARK MODE auto ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0820;
    --bg-alt: #1A0F2E;
    --ink: #FFF8F2;
    --ink-soft: #D4C9DE;
    --ink-mute: #8A7E9C;
    --line: #2D1F47;
    --card: #1A0F2E;
  }
  body { background: radial-gradient(ellipse at top, #1A0F2E 0%, #0F0820 70%); }
}

/* ---------- 4. TYPO ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--grad-pop);
  color: white;
  margin-bottom: 1rem;
}

/* ---------- 5. LAYOUT ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* ---------- 6. NAVIGATION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 248, 242, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  .nav { background: rgba(15, 8, 32, 0.78); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad-hero);
  box-shadow: 0 0 0 4px rgba(255, 60, 172, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-pop);
  transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; gap: 14px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .15s, box-shadow .15s;
}
.icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--magenta);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(255, 60, 172, 0.5);
}
.burger { display: none; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: grid; }
}

/* ---------- 7. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .18s, box-shadow .18s, opacity .15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-hero);
  color: white;
  box-shadow: var(--shadow-pop);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px rgba(255, 60, 172, 0.45); }
.btn--ghost {
  background: var(--bg-alt);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg-alt); }
.btn--xl { padding: 18px 36px; font-size: 1rem; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  margin: 14px 0 24px;
}
.hero h1 .grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  background-size: 200% 200%;
  animation: gradFlow 6s ease infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero__stat { }
.hero__stat strong { font-family: var(--font-display); font-size: 1.8rem; display: block; color: var(--ink); }
.hero__stat span { font-size: 0.85rem; color: var(--ink-mute); }

/* Scène visuelle hero — coques flottantes */
.hero__visual {
  position: relative;
  height: 540px;
}
@media (max-width: 900px) { .hero__visual { height: 420px; } }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.6;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob--1 { width: 380px; height: 380px; background: var(--magenta); top: 10%; left: 10%; }
.blob--2 { width: 320px; height: 320px; background: var(--bleu); bottom: 5%; right: 15%; animation-delay: -4s; }
.blob--3 { width: 240px; height: 240px; background: var(--jaune); top: 40%; right: 5%; animation-delay: -8s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.phone-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.phone {
  position: absolute;
  width: 200px;
  height: 400px;
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.2,.9,.2,1);
}
.phone--1 { background: var(--grad-pop); transform: rotate(-12deg) translateX(-90px); }
.phone--2 { background: var(--grad-deep); transform: rotate(0deg); z-index: 2; }
.phone--3 { background: var(--grad-sun); transform: rotate(12deg) translateX(90px); }
.phone::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 32px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.phone::after {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  width: 90px; height: 24px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.55);
  transform: translateX(-50%);
}
.phone__cam {
  position: absolute;
  top: 24px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.2);
}
.hero:hover .phone--1 { transform: rotate(-15deg) translateX(-110px) translateY(-8px); }
.hero:hover .phone--3 { transform: rotate(15deg) translateX(110px) translateY(-8px); }

/* ---------- 9. BANDEAU DÉFILANT ---------- */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee__track svg { width: 16px; height: 16px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 10. SECTION COMPATIBILITÉS ---------- */
.compat {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 0;
}
.compat__title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  font-weight: 600;
}
.compat__brands {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px 60px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink-soft);
  opacity: 0.7;
  transition: opacity .2s, transform .2s;
}
.brand:hover { opacity: 1; transform: scale(1.05); color: var(--ink); }
.brand svg { width: 26px; height: 26px; }

/* ---------- 11. SECTION HEADERS ---------- */
.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.sec-head__text { max-width: 620px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-head__link { font-weight: 600; color: var(--magenta); display: inline-flex; align-items: center; gap: 6px; }
.sec-head__link:hover { gap: 12px; }

/* ---------- 12. CARROUSEL BESTSELLERS ---------- */
.carousel {
  position: relative;
}
.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel .product-card {
  min-width: 280px;
  scroll-snap-align: start;
}
.carousel__nav {
  position: absolute;
  top: -64px; right: 0;
  display: flex; gap: 8px;
}
.carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform .15s, box-shadow .15s;
}
.carousel__btn:hover { background: var(--ink); color: var(--bg-alt); transform: scale(1.08); }
.carousel__btn svg { width: 18px; height: 18px; }

/* ---------- 13. CARTE PRODUIT ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  position: relative;
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
/* P3.12 — hover effects gated to real hover devices (mouse).
   Sur touch (mobile/tablette), .product-card:hover reste actif après
   le tap et bloque l'image dans l'état 'visual--alt'. Le wrapper
   @media (hover: hover) and (pointer: fine) garantit que la bascule
   visuelle ne se déclenche que sur un device pointeur fin (souris). */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--bg);
}
.product-card__visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform .4s ease, opacity .3s ease;
}
.product-card__visual--alt {
  opacity: 0;
  transform: scale(1.05) rotate(-3deg);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__visual { opacity: 0; transform: scale(1.05) rotate(3deg); }
  .product-card:hover .product-card__visual--alt { opacity: 1; transform: scale(1) rotate(0); }
}
.case-mock {
  width: 60%;
  height: 80%;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.case-mock::after {
  content: "";
  position: absolute;
  top: 12px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.18);
}
.product-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.badge--best { background: var(--ink); color: var(--jaune); }
.badge--new { background: var(--menthe); color: var(--ink); }
.badge--lim { background: var(--grad-pop); color: white; }

.product-card__quick {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform .25s, opacity .25s;
  z-index: 3;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card__quick { opacity: 1; transform: translateX(-50%) translateY(0); }
}
/* P3.12 — Sur touch, le bouton 'Ajouter au panier' est visible en
   permanence (pas de hover trigger). Petite atténuation pour qu'il
   ne soit pas trop intrusif. */
@media (hover: none) {
  .product-card__quick {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    bottom: 8px;
  }
}
.product-card__quick:hover { background: var(--magenta); }

.product-card__body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card__cat {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.product-card__rating { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--ink-soft); }
.product-card__rating svg { width: 14px; height: 14px; fill: var(--jaune); }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.product-card__colors { display: flex; gap: 6px; }
.swatch {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.1);
}

/* ---------- 14. ADN — VALEURS ---------- */
.adn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.adn-card {
  padding: 32px 28px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.adn-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--grad-pop);
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.adn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adn-card:hover::before { opacity: 0.15; transform: scale(1.4); }
.adn-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-pop);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.adn-card:nth-child(2) .adn-card__icon { background: var(--grad-deep); }
.adn-card:nth-child(3) .adn-card__icon { background: var(--grad-sun); }
.adn-card:nth-child(4) .adn-card__icon { background: linear-gradient(135deg, var(--menthe), var(--bleu)); }
.adn-card__icon svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 2; }
.adn-card h3 { margin-bottom: 8px; position: relative; z-index: 1; }
.adn-card p { font-size: 0.94rem; position: relative; z-index: 1; }

/* ---------- 15. AVIS CLIENTS ---------- */
.reviews { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review {
  padding: 28px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
}
.review__stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review__stars svg { width: 16px; height: 16px; fill: var(--jaune); }
.review p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 18px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-pop);
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-display);
}
.review__name { font-weight: 600; font-size: 0.92rem; }
.review__handle { font-size: 0.8rem; color: var(--ink-mute); }

/* ---------- 16. NEWSLETTER ---------- */
.newsletter {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradFlow 10s ease infinite;
  border-radius: var(--r-lg);
  padding: 64px 48px;
  margin: 80px auto;
  max-width: calc(var(--container) - 48px);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.newsletter::before, .newsletter::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  filter: blur(40px);
}
.newsletter::before { top: -60px; left: -60px; }
.newsletter::after { bottom: -60px; right: -60px; }
.newsletter h2 { color: white; margin-bottom: 12px; position: relative; z-index: 1; }
.newsletter p { color: rgba(255,255,255,0.9); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.newsletter form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 16px 22px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 0.96rem;
}
.newsletter button {
  padding: 16px 28px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: white;
  font-weight: 600;
  transition: transform .15s;
}
.newsletter button:hover { transform: scale(1.05); }

/* ---------- 17. FOOTER ----------
   V2.2a — Couleurs explicites (pas de variables CSS qui s'inversent
   en dark mode). Le footer a une identité dark permanente, quelle que
   soit la préférence système. Contraste cible WCAG AA (4.5:1 min). */
footer {
  background: #1A0F2E;            /* identique à --ink en light mode */
  color: #FFF8F2;                 /* cream */
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFF8F2;                 /* contraste 13.4:1 — AAA */
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  color: rgba(255,248,242,0.92);  /* ~12:1 — bien au-dessus du 4.5:1 AA */
  font-size: 0.92rem;
  line-height: 1.9;
}
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #FFD93D; }   /* --jaune en hex */
.footer-col ul li { display: block; }
.footer-badges { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.pay-badge {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #FFF8F2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,248,242,0.18);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(255,248,242,0.78);  /* ~9:1 — AAA */
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 18. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 19. CATALOGUE ---------- */
.catalogue {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding-top: 40px;
}
@media (max-width: 900px) { .catalogue { grid-template-columns: 1fr; } }
.filters {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}
@media (max-width: 900px) { .filters { position: static; max-height: none; } }
.filter-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 { font-family: var(--font-body); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 0.92rem; cursor: pointer; }
.filter-option input { accent-color: var(--magenta); }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch-pick {
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, border-color .15s;
}
.swatch-pick:hover { transform: scale(1.15); }
.swatch-pick.is-active { border-color: var(--ink); }
.price-range { width: 100%; accent-color: var(--magenta); }
.price-range-vals { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-mute); margin-top: 6px; }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.search-box {
  position: relative;
  flex: 1;
  max-width: 360px;
}
.search-box input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
}
.search-box svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  stroke: var(--ink-mute);
  fill: none; stroke-width: 2;
}
.sort-select {
  padding: 12px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  cursor: pointer;
}

/* ---------- 20. FICHE PRODUIT ---------- */
.product-page {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 40px 0;
}
@media (max-width: 900px) { .product-page { grid-template-columns: 1fr; gap: 30px; } }

.gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.gallery__main {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.gallery__main .case-mock {
  width: 50%;
  height: 78%;
  transition: transform .4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .gallery__main:hover .case-mock { transform: scale(1.08); }
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  border: 2px solid var(--line);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .15s;
}
.gallery__thumb.is-active { border-color: var(--magenta); }
.gallery__thumb .case-mock { width: 50%; height: 70%; }

.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 12px 0 14px;
}
.product-info__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.94rem; }
.product-info__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 18px 0;
}
.product-info__price s { color: var(--ink-mute); font-size: 1.4rem; margin-left: 12px; font-weight: 400; }
.product-info__price .save {
  display: inline-block;
  background: var(--menthe);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  margin-left: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.option-block { margin: 24px 0; }
.option-block label { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; display: block; margin-bottom: 12px; color: var(--ink-soft); }
.color-row { display: flex; gap: 10px; flex-wrap: wrap; }
.color-pick {
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  transition: transform .15s;
}
.color-pick:hover { transform: scale(1.12); }
.color-pick.is-active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--bg); }

.phone-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 0.96rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A0F2E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
}

.qty-row { display: flex; gap: 14px; align-items: center; margin: 24px 0; }
.qty-stepper { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: var(--r-pill); }
.qty-stepper button { width: 40px; height: 44px; font-size: 1.2rem; }
.qty-stepper input {
  width: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.product-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.product-cta .btn { flex: 1; justify-content: center; min-width: 220px; }

.stock-warn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 107, 107, 0.12);
  color: var(--corail);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 14px;
}
.stock-warn::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--corail);
  animation: pulse 1.5s infinite;
}

.product-features { margin: 30px 0; padding: 22px; background: var(--bg-alt); border-radius: var(--r-md); border: 1px solid var(--line); }
.feat-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 0.92rem; }
.feat-row svg { width: 18px; height: 18px; stroke: var(--menthe); fill: none; stroke-width: 2.5; flex-shrink: 0; }

.tabs { margin-top: 30px; }
.tab-buttons { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab-btn { padding: 12px 18px; font-weight: 600; color: var(--ink-mute); border-bottom: 2px solid transparent; transition: all .15s; }
.tab-btn.is-active { color: var(--ink); border-color: var(--magenta); }
.tab-content p { line-height: 1.7; }
.compat-table { width: 100%; border-collapse: collapse; }
.compat-table th, .compat-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.compat-table th { font-family: var(--font-display); }
.compat-table tr td:last-child { color: var(--menthe); font-weight: 600; }

/* ---------- 21. CART DRAWER ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 200;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  background: var(--bg-alt);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.9,.2,1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-header {
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-header h3 { font-size: 1.2rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__media {
  width: 64px; height: 76px;
  border-radius: 10px;
  flex-shrink: 0;
}
.cart-item__body { flex: 1; }
.cart-item__name { font-weight: 600; font-size: 0.94rem; margin-bottom: 4px; }
.cart-item__meta { font-size: 0.8rem; color: var(--ink-mute); }
.cart-item__row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item__qty { display: inline-flex; gap: 6px; align-items: center; font-size: 0.86rem; }
.cart-item__qty button { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.cart-item__price { font-weight: 700; font-family: var(--font-display); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--ink-mute); }
.cart-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.94rem; }
.cart-row--total { font-size: 1.2rem; font-weight: 700; font-family: var(--font-display); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; padding: 10px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink); font-size: 0.88rem; }
.promo-row button { padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg-alt); font-size: 0.85rem; font-weight: 600; }
.cart-footer .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* ---------- 22. ABOUT PAGE ---------- */
.about-hero { padding: 80px 0; text-align: center; background: var(--grad-hero); color: white; border-radius: var(--r-lg); margin: 30px 24px; }
.about-hero h1 { color: white; max-width: 800px; margin: 0 auto 18px; }
.about-hero p { color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 60px 0; }
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; } }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.team-card { text-align: center; padding: 24px; background: var(--card); border-radius: var(--r-md); border: 1px solid var(--line); }
.avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
}
.team-card h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { font-size: 0.86rem; color: var(--ink-mute); }

/* ---------- 23. TOAST ---------- */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.94rem;
  z-index: 250;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform .3s cubic-bezier(.2,.9,.2,1);
}
.toast.is-show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; stroke: var(--menthe); fill: none; stroke-width: 2.5; }

/* ---------- 24. UTIL ---------- */
.hidden { display: none !important; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ============================================================
   PARTIE 2 — EXTENSIONS
   ============================================================ */

/* ---------- 25. MOCKUPS PRODUIT — MOTIFS PAR GAMME ---------- */
.case-mock {
  overflow: hidden;
  position: relative;
}
.case-mock::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mock-pattern, transparent);
  opacity: var(--mock-pattern-opacity, 1);
  mix-blend-mode: var(--mock-blend, normal);
  pointer-events: none;
}
.case-mock--shine::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 80%; height: 200%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: rotate(15deg) translateX(-100%);
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 100% { transform: rotate(15deg) translateX(-120%); }
  50% { transform: rotate(15deg) translateX(220%); }
}
/* Motif marbre */
.case-mock--marble::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35) 0%, transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.18) 0%, transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.25) 0%, transparent 28%);
}
/* Motif points */
.case-mock--dots::before {
  background-image: radial-gradient(rgba(255,255,255,0.45) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
}
/* Motif rayures */
.case-mock--stripes::before {
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.2) 0 6px, transparent 6px 16px);
}
/* Motif vagues holographique */
.case-mock--holo::before {
  background: linear-gradient(135deg, rgba(255,60,172,0.35), rgba(120,75,160,0.35), rgba(43,134,197,0.35), rgba(78,205,196,0.35));
  background-size: 300% 300%;
  animation: holoFlow 5s ease infinite;
}
@keyframes holoFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* Motif géo */
.case-mock--geo::before {
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.18) 75%),
    linear-gradient(45deg, rgba(0,0,0,0.12) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.12) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
}
/* Motif flowers */
.case-mock--flora::before {
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5) 4px, transparent 6px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.4) 5px, transparent 7px),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,0.4) 3px, transparent 5px),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.35) 4px, transparent 6px);
}
/* Phosphore glow */
.case-mock--glow {
  box-shadow: 0 0 20px var(--glow-color, #39FF14), 0 0 40px var(--glow-color, #39FF14);
}

/* Texture cuir */
.case-mock--leather::before {
  background-image:
    radial-gradient(circle, rgba(0,0,0,0.15) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1.5px);
  background-size: 5px 5px, 8px 8px;
  background-position: 0 0, 2px 4px;
}
/* Texture bois */
.case-mock--wood::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 12px);
}

/* Logo K en bas de la coque */
.case-mock__logo {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
  z-index: 2;
  text-transform: uppercase;
}

/* ---------- 26. MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: 199;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.2,.9,.2,1);
  overflow-y: auto;
  padding: 100px 28px 40px;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .2s, color .2s;
}
.mobile-menu a:hover { padding-left: 12px; color: var(--magenta); }
.mobile-menu a::after {
  content: "→";
  position: absolute;
  right: 0;
  opacity: 0.4;
  transition: transform .2s, opacity .2s;
}
.mobile-menu a:hover::after { transform: translateX(6px); opacity: 1; }
.mobile-menu__close {
  position: absolute;
  top: 24px; right: 24px;
}
.mobile-menu__footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--ink-mute);
}
.mobile-menu__footer .pay-badge { display: inline-block; }

/* ---------- 27. SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 32, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  padding: 80px 20px 20px;
}
.search-overlay.is-open { opacity: 1; pointer-events: all; }
.search-modal {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  transition: transform .25s;
}
.search-overlay.is-open .search-modal { transform: translateY(0); }
.search-modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.search-modal__head svg { width: 22px; height: 22px; stroke: var(--ink-mute); fill: none; stroke-width: 2; flex-shrink: 0; }
.search-modal__head input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.15rem;
  outline: none;
}
.search-modal__head kbd {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--line);
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-mute);
}
.search-results { max-height: 60vh; overflow-y: auto; padding: 12px; }
.search-result {
  display: flex;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center;
  transition: background .15s;
}
.search-result:hover { background: var(--bg); }
.search-result__media { width: 50px; height: 60px; border-radius: 10px; flex-shrink: 0; }
.search-result__body { flex: 1; }
.search-result__name { font-weight: 600; font-size: 0.94rem; }
.search-result__meta { color: var(--ink-mute); font-size: 0.82rem; }
.search-result__price { font-family: var(--font-display); font-weight: 700; }
.search-empty {
  padding: 50px 30px;
  text-align: center;
  color: var(--ink-mute);
}
.search-suggestions {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 24px 22px;
  border-top: 1px solid var(--line);
}
.search-chip {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all .15s;
}
.search-chip:hover { background: var(--ink); color: var(--bg); }

/* ---------- 28. WISHLIST ---------- */
.wish-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  z-index: 2;
  border: 1px solid var(--line);
  transition: transform .15s, background .15s;
}
.wish-btn:hover { transform: scale(1.1); }
.wish-btn svg {
  width: 18px; height: 18px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  transition: all .2s;
}
.wish-btn.is-wished {
  background: var(--magenta);
}
.wish-btn.is-wished svg {
  stroke: white;
  fill: white;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.25); }
  50% { transform: scale(0.95); }
  75% { transform: scale(1.15); }
}
.wish-btn.is-wished svg { animation: heartBeat .6s ease; }

/* ---------- 29. COOKIE BANNER ----------
   V2.2b — Theme-independent : background et boutons en hex fixes pour
   éviter qu'en dark mode `var(--ink)` (cream) collisionne avec les
   boutons blancs et les rende invisibles. Boutons "Refuser" et
   "Accepter" : mêmes dimensions, mêmes couleurs, même contraste —
   conforme CNIL (pas de hiérarchie privilégiée). */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(150%);
  max-width: 580px;
  width: calc(100% - 40px);
  background: #1A0F2E;            /* dark permanent */
  color: #FFF8F2;                 /* cream — contraste 13.4:1 AAA */
  padding: 22px 26px;
  border-radius: var(--r-md);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  z-index: 240;
  transition: transform .4s cubic-bezier(.2,.9,.2,1);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner.is-open { transform: translateX(-50%) translateY(0); }
.cookie-banner__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-pop);
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #FFF8F2;
}
.cookie-banner__text strong { color: #FFD93D; }   /* --jaune en hex */
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner button {
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 140px;
  border: 2px solid #FFF8F2;
  background: #FFF8F2;            /* cream — visible sur le dark banner */
  color: #1A0F2E;                 /* dark text — contraste 13.4:1 AAA */
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cookie-banner .btn-decline,
.cookie-banner .btn-accept {
  background: #FFF8F2;
  color: #1A0F2E;
  border: 2px solid #FFF8F2;
}
.cookie-banner .btn-decline:hover,
.cookie-banner .btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  background: #FFFFFF;
}
.cookie-banner .btn-decline:focus-visible,
.cookie-banner .btn-accept:focus-visible {
  outline: 3px solid #FF3CAC;     /* --magenta */
  outline-offset: 2px;
}

/* ---------- 30. CHAT BUBBLE ---------- */
.chat-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 150;
}
.chat-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-hero);
  display: grid; place-items: center;
  box-shadow: var(--shadow-pop);
  transition: transform .15s;
  position: relative;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 2; }
.chat-toggle::after {
  content: "1";
  position: absolute;
  top: -2px; right: -2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.chat-window {
  position: absolute;
  bottom: 80px; right: 0;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--bg-alt);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: all .25s;
}
.chat-window.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.chat-window__head {
  background: var(--grad-hero);
  padding: 18px 20px;
  color: white;
}
.chat-window__head h4 { color: white; font-size: 1rem; margin-bottom: 2px; }
.chat-window__head p { color: rgba(255,255,255,0.85); font-size: 0.84rem; display: flex; align-items: center; gap: 6px; }
.chat-window__head p::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--menthe);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.3);
}
.chat-window__body { padding: 20px; max-height: 320px; overflow-y: auto; }
.chat-msg {
  background: var(--bg);
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  font-size: 0.92rem;
  margin-bottom: 12px;
  max-width: 90%;
}
.chat-msg__author { font-size: 0.78rem; font-weight: 600; color: var(--magenta); margin-bottom: 4px; }
.chat-window__quick { padding: 0 20px 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-quick {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  transition: all .15s;
}
.chat-quick:hover { background: var(--ink); color: var(--bg); transform: translateX(4px); }

/* ---------- 31. FAQ ACCORDION ---------- */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  gap: 18px;
}
.faq-q .faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .25s, background .15s;
  font-size: 1.1rem;
  font-weight: 600;
}
.faq-item.is-open .faq-icon {
  background: var(--grad-pop);
  color: white;
  transform: rotate(45deg);
  border-color: transparent;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--ink-soft);
  line-height: 1.7;
}
.faq-item.is-open .faq-a { max-height: 400px; padding-bottom: 22px; }

.faq-cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.faq-cat {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
}
.faq-cat:hover { transform: translateY(-2px); }
.faq-cat.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---------- 32. CONFIRMATION (commande validée) ---------- */
.success-hero {
  text-align: center;
  padding: 60px 20px;
}
.success-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--grad-pop);
  display: grid; place-items: center;
  margin: 0 auto 28px;
  position: relative;
  animation: bounceIn .6s cubic-bezier(.25,1.6,.45,.9);
}
.success-circle svg {
  width: 50px; height: 50px;
  stroke: white;
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCheck .6s .4s ease forwards;
}
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success-circle::before, .success-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid var(--magenta);
  animation: ripple 1.5s ease-out infinite;
}
.success-circle::after { animation-delay: 0.5s; }
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

.confirmation-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 30px 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 16px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.timeline-step__dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  margin: 0 auto 8px;
  display: grid; place-items: center;
  font-size: 0.84rem;
  font-weight: 600;
}
.timeline-step.is-done .timeline-step__dot {
  background: var(--magenta);
  border-color: var(--magenta);
  color: white;
}
.timeline-step.is-current .timeline-step__dot {
  background: var(--bg);
  border-color: var(--magenta);
  color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(255, 60, 172, 0.18);
}
.timeline-step__label { font-size: 0.82rem; color: var(--ink-soft); font-weight: 500; }
.timeline-step.is-current .timeline-step__label { color: var(--magenta); font-weight: 700; }

/* Confettis */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 10px; height: 14px;
  top: -20px;
  animation: fall 3.5s linear forwards;
}
@keyframes fall {
  to { transform: translateY(105vh) rotate(720deg); }
}

/* ---------- 33. 404 ---------- */
.error-hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.error-404 {
  font-family: var(--font-display);
  font-size: clamp(8rem, 30vw, 18rem);
  font-weight: 800;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradFlow 6s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.error-content { position: relative; z-index: 2; max-width: 520px; }
.error-content h1 { margin-bottom: 14px; }
.error-content p { margin-bottom: 28px; font-size: 1.05rem; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 34. AMÉLIORATIONS DIVERSES ---------- */
.scroll-top {
  position: fixed;
  bottom: 100px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .15s;
  box-shadow: var(--shadow-md);
}
.scroll-top.is-visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-4px); }
.scroll-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.skeleton {
  background: linear-gradient(90deg, var(--line) 25%, var(--bg-alt) 50%, var(--line) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.qr-mock {
  width: 80px; height: 80px;
  background:
    repeating-linear-gradient(0deg, var(--ink) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px);
  background-color: white;
  border-radius: 8px;
  border: 4px solid white;
}

/* ============================================================
   PARTIE 3 — INTÉGRATION SHOPIFY
   ============================================================ */

/* ---------- 35. PHOTOS PRODUIT RÉELLES (CDN Shopify) ---------- */
.case-photo {
  /* V6.3 — covers the parent fully; mock underneath is painted first
     and the absolute-positioned photo wins paint order. On <img>
     error we REMOVE the wrapper entirely (see caseMockHTML onerror),
     so the mock left behind becomes visible. */
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #FFFFFF;             /* solid white frame, no cream bleed */
  transition: transform .4s ease;
  overflow: hidden;
  z-index: 1;                       /* belt-and-braces above .case-mock */
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6%;                      /* small breathing space */
  box-sizing: border-box;
  transition: transform .4s ease, filter .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .case-photo img {
    transform: scale(1.04);
    filter: drop-shadow(0 20px 32px rgba(26, 15, 46, 0.25));
  }
}
.gallery__main .case-photo img {
  width: 78%;
  height: 88%;
}
.gallery__thumb .case-photo img {
  width: 70%;
  height: 70%;
}

/* ---------- 36. BADGE DE STATUT API SHOPIFY ---------- */
.shopify-status { display: none !important;  /* P1.5 — never render publicly */
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 80;
  background: var(--ink);
  color: rgba(255, 248, 242, 0.78);
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  cursor: help;
  user-select: none;
  opacity: 0.85;
  transition: opacity .15s, transform .15s;
}
.shopify-status:hover { opacity: 1; transform: translateY(-2px); }
.shopify-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--jaune);
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.25);
}
.shopify-dot.is-live {
  background: var(--menthe);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(78, 205, 196, 0.1); }
}
@media (max-width: 600px) {
  .shopify-status { bottom: 90px; }
}

/* ---------- 37. BANNIÈRE LIVE SHOPIFY (homepage) ---------- */
.shopify-banner {
  background: var(--grad-deep);
  color: white;
  padding: 18px 24px;
  border-radius: var(--r-md);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}
.shopify-banner::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  filter: blur(40px);
}
.shopify-banner__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.shopify-banner__text { flex: 1; min-width: 240px; }
.shopify-banner h3 { color: white; margin-bottom: 4px; font-size: 1.1rem; }
.shopify-banner p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }

/* ---------- 38. INDICATEUR VENDOR / TAGS ---------- */
.product-card__vendor {
  font-size: 0.74rem;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 2px;
}
.tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 4px 4px 0;
}
.tag-pill:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   PARTIE 4 — AVIS, COMPTE CLIENT, COLLECTIONS
   ============================================================ */

/* ---------- 39. AVIS PRODUIT (Judge.me) ---------- */
.reviews-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  margin-bottom: 28px;
  align-items: center;
}
@media (max-width: 700px) { .reviews-summary { grid-template-columns: 1fr; gap: 20px; } }
.reviews-summary__avg {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.reviews-summary__stars {
  color: var(--jaune);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.reviews-summary__count {
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.reviews-summary__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bar-row {
  display: grid;
  grid-template-columns: 32px 1fr 28px;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}
.bar-track {
  height: 6px;
  background: var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--grad-pop);
  border-radius: var(--r-pill);
  transition: width .5s ease;
}

.review-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.review-item:last-child { border-bottom: 0; }
.review-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-item__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-deep);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.review-item__author {
  font-weight: 600;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-verified {
  font-size: 0.74rem;
  background: rgba(78, 205, 196, 0.15);
  color: var(--menthe);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.review-item__meta {
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.review-item__stars {
  color: var(--jaune);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.review-item p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.review-item__photos {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.review-photo-mock {
  width: 60px; height: 60px;
  border-radius: 8px;
  background: var(--grad-pop);
  border: 1px solid var(--line);
}

/* ---------- 40. PAGE COMPTE CLIENT ---------- */
.account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 0;
}
@media (max-width: 800px) { .account-grid { grid-template-columns: 1fr; } }
.account-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  height: fit-content;
}
.account-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.account-user__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-hero);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.account-user__name { font-weight: 600; }
.account-user__email { color: var(--ink-mute); font-size: 0.84rem; }

.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 0.94rem;
  font-weight: 500;
  transition: all .15s;
}
.account-nav a:hover { background: var(--bg); }
.account-nav a.is-active { background: var(--ink); color: var(--bg); }
.account-nav a svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; }

.account-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.account-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
}
.account-card h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.order-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.order-row:last-child { border-bottom: 0; }
.order-row__num { font-family: var(--font-display); font-weight: 600; }
.order-row__items { color: var(--ink-soft); font-size: 0.88rem; }
.order-row__date { font-size: 0.84rem; color: var(--ink-mute); margin-top: 4px; }
.order-row__total { font-family: var(--font-display); font-weight: 700; }
.order-status {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.order-status--paid { background: rgba(78, 205, 196, 0.15); color: var(--menthe); }
.order-status--shipped { background: rgba(255, 217, 61, 0.2); color: #B89A1F; }
.order-status--delivered { background: rgba(120, 75, 160, 0.15); color: var(--violet); }

.login-hero {
  max-width: 460px;
  margin: 60px auto;
  text-align: center;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.login-hero__icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad-hero);
  display: grid; place-items: center;
  font-size: 2rem;
}
.login-hero h2 { margin-bottom: 10px; }
.login-hero p { margin-bottom: 24px; }

.account-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .account-stat-row { grid-template-columns:

/* ---------- V2.1 — CATALOG LOADING STATE ---------- */
.catalog-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--ink-mute);
  gap: 18px;
}
.catalog-loading__spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--magenta);
  animation: catalog-spin 0.8s linear infinite;
}
@keyframes catalog-spin {
  to { transform: rotate(360deg); }
}
.catalog-loading p { color: var(--ink-mute); margin: 0; font-size: 0.94rem; }

