/* ============================================================
   SEB'S WORLD — DESIGN SYSTEM
   ============================================================
   Pour changer l'ambiance du site, modifie surtout les
   variables ci-dessous (couleurs d'accent, rayons, polices).
   ============================================================ */

:root {
  /* --- Papier & encre : DA Marketplace, source SDP/vitrine/store-assets.html --- */
  --cream: #f7f2e9;
  --cream-hi: #fffdf8;
  --ink: #2a2118;
  --ink-soft: #5a4a3d;
  --accent-soft: #f2cfdd;

  /* Fonds */
  --bg-0: var(--cream);
  --bg-1: var(--cream-hi);
  --bg-2: #efe7da;
  --surface: var(--cream-hi);
  --surface-2: #fbf6ec;
  --border: rgba(42, 33, 24, 0.16);
  --border-strong: var(--ink);

  /* Texte — ratios mesurés sur --cream : 14.17 / 7.59 / 5.90, tous AA */
  --text: var(--ink);
  --text-2: var(--ink-soft);
  --text-3: #6b5a4c;

  /* Accents de marque */
  --accent: #c2185b;        /* 5.27 sur crème (AA) — JAMAIS sur encre : 2.69 */
  --accent-2: #197b6e;      /* teal secondaire des posters, 4.59 sur crème */
  --grad: var(--accent);    /* la DA est plate : aucun dégradé */
  --ok: #177d3c;
  --warn: #a35c00;

  /* Couleurs par catégorie — teintes d'origine assombries jusqu'à AA sur crème */
  --cat-framework: #db0042;
  --cat-modules: #8242ff;
  --cat-addons: #a35c00;
  --cat-standalone: #007594;
  --cat-plugins: #c24300;
  --cat-furniture: #197b6e;
  --cat-games: #177d3c;
  --cat-free: #d20e79;

  /* Grammaire DA : ombres DURES (aucun flou), traits d'encre épais */
  --bd: 2px solid var(--border-strong);
  --bd-thick: 3px solid var(--border-strong);
  --shadow: 5px 6px 0 rgba(42, 33, 24, 0.18);
  --shadow-lg: 8px 10px 0 rgba(42, 33, 24, 0.20);
  --shadow-press: 2px 2px 0 rgba(42, 33, 24, 0.22);

  /* Motif serrures (bande diagonale) + grain papier */
  --keyhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='rgba(194,24,91,0.16)'%3E%3Ccircle cx='75' cy='62' r='17'/%3E%3Cpath d='M75 68 L91 103 L59 103 Z'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.52 0 0 0 0 0.48 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Géométrie & typo */
  --radius: 18px;
  --radius-sm: 11px;
  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", "Segoe UI", cursive;
  --wrap: 1180px;

  color-scheme: light;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--accent) 65%, transparent); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--ink-soft); border-radius: 99px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--accent); color: var(--cream); font-weight: 700;
  border: var(--bd);
  padding: 10px 18px; border-radius: 99px; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Barre de progression de scroll (transform scaleX, passif → quasi gratuit) */
.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* Grain papier — encre diluée en multiply, comme sur les vignettes */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: var(--grain);
}

main, footer { position: relative; z-index: 2; }

/* ---------- Icônes ---------- */
.ic { width: 22px; height: 22px; flex: none; }
.ic-xs { width: 15px; height: 15px; flex: none; display: inline-block; vertical-align: -2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 99px; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn.grad {
  background: var(--accent); color: var(--cream);
  border: var(--bd); box-shadow: var(--shadow);
}
.btn.grad:hover { box-shadow: var(--shadow-lg); transform: translate(-2px, -2px); }
.btn.grad:active { box-shadow: var(--shadow-press); transform: translate(2px, 2px); }
.btn.ghost {
  border: var(--bd); color: var(--text);
  background: var(--surface); box-shadow: var(--shadow);
}
.btn.ghost:active { box-shadow: var(--shadow-press); transform: translate(2px, 2px); }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--accent-2) 60%, var(--border-strong)); background: var(--surface-2); }
.btn.sm { padding: 8px 15px; font-size: 0.82rem; gap: 6px; }

:is(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: var(--bd-thick);
}
.header-in {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  text-decoration: none; letter-spacing: 0.01em;
}
/* Le tampon rond de la DA, en petit : disque d'encre + anneau pointillé */
.brand .mark {
  position: relative;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  transform: rotate(-7deg);
}
.brand .mark::after {
  content: ""; position: absolute; inset: 3px;
  border: 1.5px dashed var(--cream); border-radius: 50%; opacity: 0.85;
}
.brand .mark svg { width: 19px; height: 19px; }
.brand em { font-style: normal; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--text-2); font-size: 0.93rem; font-weight: 500;
  padding: 8px 13px; border-radius: 99px; transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.header-cta { margin-left: 6px; }

.menu-btn { display: none; margin-left: auto; padding: 8px; border-radius: 10px; }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .x { display: none; }

@media (max-width: 840px) {
  .menu-btn { display: grid; place-items: center; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px clamp(20px, 5vw, 48px) 18px;
    display: none;
  }
  .site-header.menu-open .site-nav { display: flex; }
  .site-header.menu-open .menu-btn .bars { display: none; }
  .site-header.menu-open .menu-btn .x { display: block; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .header-cta { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 10vh, 120px) 0 clamp(48px, 7vh, 90px); overflow: clip; }
/* Le décor du hero = la bande diagonale à serrures de la bannière MP.
   Statique : aucun flou, aucune animation, rasterisé une fois. */
.aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: clip;
}
.aurora::before, .aurora::after { content: ""; position: absolute; }
.aurora::before {
  top: -50%; right: -12%; width: 42vw; min-width: 360px; height: 200%;
  transform: rotate(14deg);
  background-color: var(--accent-soft);
  background-image: var(--keyhole); background-size: 150px 150px;
  border-left: var(--bd-thick);
}
.aurora::after {
  inset: 0; background-image: var(--grain); mix-blend-mode: multiply; opacity: 0.5;
}
/* Le contenu du hero repasse au-dessus de la bande. */
.hero-in { position: relative; z-index: 1; }

/* Sur petit écran le hero s'empile : la bande verticale traversait alors tout
   le texte. Elle devient un bandeau incliné derrière la seule illustration. */
@media (max-width: 920px) {
  .aurora::before {
    top: -6%; right: -12%; left: -12%; width: auto; height: 42%;
    transform: rotate(-6deg);
    border-left: 0; border-bottom: var(--bd-thick);
  }
}

.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-in { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 360px; margin-inline: auto; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow b { color: var(--accent); font-size: 0.6rem; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.4vw, 4.8rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.01em;
  margin: 18px 0 6px;
  text-wrap: balance;
  /* Signature DA : ombre portée DURE en rose pâle, comme la bannière MP. */
  text-shadow: 5px 5px 0 var(--accent-soft);
}
/* La ligne manuscrite de la marque, reprise de la bannière Marketplace. */
.hero .signature {
  display: block;
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1;
  color: var(--accent); margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  /* dégradé animé (background-position) sur le seul mot « Own. » : composited,
     petit élément → quasi gratuit. */
  color: var(--accent);
}
@keyframes ownShine { to { background-position: 240% center; } }
.hero .lede { color: var(--text-2); font-size: clamp(1rem, 1.5vw, 1.13rem); max-width: 54ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3.4vw, 44px);
  margin-top: clamp(36px, 5vh, 56px); padding-top: 26px;
  border-top: 1px solid var(--border);
}
.stat { font-family: var(--font-display); }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.8rem; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }

/* Art du hero : cadenas + pills flottantes */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art svg.padlock {
  width: min(78%, 330px);
  filter: drop-shadow(6px 8px 0 rgba(42, 33, 24, 0.18));
  /* parallax : suit le curseur via --px/--py (transform GPU, transition douce) */
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.padlock .shackle { animation: lockClick 1.1s cubic-bezier(0.34, 1.4, 0.5, 1) 0.45s both; }
@keyframes lockClick { from { transform: translateY(-16px); } 62% { transform: translateY(2.5px); } to { transform: translateY(0); } }
.padlock .keyglow { animation: pulse 3.2s ease-in-out 1.6s infinite; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

.float-pill {
  position: absolute;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
  color: var(--text-2);
  background: var(--cream-hi);
  border: var(--bd);
  border-radius: 99px; padding: 7px 14px;
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-pill i { font-style: normal; margin-right: 6px; }
@keyframes floaty { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(7px); } }
.fp-1 { top: 6%; left: 2%; animation-delay: 0.2s; color: var(--cat-modules); }
.fp-2 { top: 16%; right: 0%; animation-delay: 1.4s; color: var(--cat-addons); }
.fp-3 { top: 48%; left: -4%; animation-delay: 0.8s; color: var(--cat-standalone); }
.fp-4 { bottom: 18%; right: -2%; animation-delay: 2s; color: var(--cat-furniture); }
.fp-5 { bottom: 4%; left: 12%; animation-delay: 2.7s; color: var(--cat-games); }
@media (max-width: 920px) { .fp-3, .fp-5 { display: none; } }

/* ---------- Latest releases (bandeau) ---------- */
.latest { padding-bottom: 0; }
.rel-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr);
  gap: 14px; overflow-x: auto; padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
}
.rel-row::-webkit-scrollbar { height: 7px; }
@media (max-width: 720px) { .rel-row { grid-auto-columns: minmax(160px, 78%); } }
.rel-card {
  position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
  text-decoration: none; color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.rel-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--border)); background: var(--surface-2); }
.rel-card .tile { width: 38px; height: 38px; border-radius: 10px; }
.rel-card .tile .ic { width: 19px; height: 19px; }
.rel-name { font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; line-height: 1.2; }
.rel-meta { font-size: 0.76rem; color: var(--text-3); margin-top: auto; }
.rel-new {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream);
  background: var(--accent); padding: 2px 8px; border-radius: 99px;
  border: 1.5px solid var(--ink);
}

/* ---------- Start here (CTA écosystème) ---------- */
.start-here {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 26px 28px;
}
.start-here > div:first-child { flex: 1 1 360px; }
.start-kicker { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.start-here h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.2; margin-bottom: 8px; }
.start-here p { color: var(--text-2); font-size: 0.94rem; max-width: 56ch; }
.start-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vh, 104px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vh, 52px); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.015em;
  margin: 12px 0 12px; text-wrap: balance;
}
.section-head .lede { color: var(--text-2); text-wrap: pretty; }

/* Divider maison ▬▬♦▬▬ */
.rule {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0;
}
.rule span { height: 2px; flex: 1; background: var(--border-strong); opacity: .35; }
.rule b { color: var(--accent); font-size: 0.7rem; line-height: 1; }

.section-rule { max-width: 280px; margin: 0 auto; }
.section-rule b { color: color-mix(in srgb, var(--accent) 80%, var(--accent-2)); }

/* ---------- Cartes ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.13s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
/* Spotlight qui suit le curseur (--mx/--my posés en JS au survol).
   Couche derrière le contenu, n'apparaît qu'au hover → coût nul au repos. */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: color-mix(in srgb, var(--c) 7%, transparent);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card-top, .card .tagline, .card .desc, .card .chips, .card-foot, .flag, .corner-flags, .new-flag { position: relative; z-index: 1; }
.card:hover, .card:focus-visible {
  transform: translate(-3px, -3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}
.card-big { padding: 26px; background: color-mix(in srgb, var(--c) 6%, var(--surface)); }

/* Vignette produit en bandeau — le cadre photo de la DA : marge blanche,
   trait d'encre, ombre dure. aspect-ratio + width/height sur l'<img> pour
   réserver la place et éviter tout décalage au chargement. */
.card-shot {
  position: relative; z-index: 1;
  margin: -4px 0 4px;
  border: var(--bd); border-radius: var(--radius-sm);
  background: var(--cream-hi);
  padding: 5px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card-shot img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: calc(var(--radius-sm) - 6px);
}
.card:hover .card-shot { transform: rotate(-1.1deg); box-shadow: var(--shadow-lg); }
.card-big .card-shot { margin-bottom: 8px; }
/* Le ruban « Flagship » est passé à gauche, au-dessus de l'affiche :
   plus besoin de lui réserver la droite du titre. */

.flag {
  align-self: flex-start;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  padding: 4px 10px; border-radius: 99px;
}

/* Rubans empilés en coin haut-droite (cartes normales) : Best-seller + New */
/* Posés AU-DESSUS de l'affiche, pas dessus : les vignettes portent déjà leur
   tampon à gauche et leur pastille ronde à droite, tout se chevauchait. */
.corner-flags {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px;
}
/* réserve la place du badge pour que le titre ne passe pas dessous */
/* Plus de réserve à droite : les rubans sont passés à gauche, au-dessus de
   l'affiche, ils ne croisent plus le titre. */
.new-flag {
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); background: var(--accent);
  padding: 3px 9px; border-radius: 99px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(42, 33, 24, 0.20);
}

/* Ruban « Best-seller » (doré) — dans .corner-flags */
.hot-flag {
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  background: #ffc861;
  padding: 3px 9px; border-radius: 99px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(42, 33, 24, 0.20);
}

/* Couleurs maturité (réutilisées par la pastille de tuile) */
.mat-G { color: var(--cat-games); --mat: var(--cat-games); }
.mat-M { color: var(--warn); --mat: var(--warn); }
.mat-A { color: var(--cat-framework); --mat: var(--cat-framework); }

.card-top { display: flex; gap: 14px; align-items: center; }
/* Quand l'affiche est là, la tuile d'icône fait doublon : l'affiche porte
   déjà le tampon de la marque. On garde la pastille de maturité. */
.card:has(.card-shot) .tile {
  width: auto; height: auto; border: 0; background: none; padding: 0;
}
.card:has(.card-shot) .tile .ic { display: none; }
.card:has(.card-shot) .tile-mat { position: static; border-radius: 5px; padding: 3px 6px; }
.tile {
  position: relative; overflow: hidden;
  width: 46px; height: 46px; flex: none;
  border-radius: 13px; display: grid; place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 26%, transparent);
}
/* Pastille maturité discrète, coin bas-droit de la tuile */
.tile-mat {
  position: absolute; right: -1px; bottom: -1px; z-index: 1;
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; line-height: 1;
  padding: 2px 4px; border-radius: 6px 0 11px 0;
  color: #0b0910; background: var(--mat);
}
.tile-lg { width: 56px; height: 56px; border-radius: 16px; }
.tile-lg .ic { width: 27px; height: 27px; }

/* min-width:0 → l'identité peut rétrécir dans le flex (sinon le titre/meta
   débordent la réserve du badge sur les cartes Flagship). card-meta peut se
   replier plutôt que de pousser sous le ruban. */
.card-id { min-width: 0; }
.card-id h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 3px; }
.ver {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 99px;
}
.price {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent);
  padding: 2px 8px; border-radius: 99px;
  white-space: nowrap;
}
.soon {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  color: var(--warn);
  border: 1px dashed color-mix(in srgb, var(--warn) 45%, transparent);
  background: color-mix(in srgb, var(--warn) 7%, transparent);
  padding: 7px 14px; border-radius: 99px;
  white-space: nowrap;
}
.modal-cta .soon { padding: 12px 22px; font-size: 0.9rem; white-space: normal; }
.ver.beta {
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent-2) 35%, transparent);
}
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--text-3); }
.status i { width: 7px; height: 7px; border-radius: 50%; }
.status.live i { background: var(--ok); }
.status.dev i { background: var(--warn); }

/* Compteur de ventes "X sold" (live depuis le webhook CasperVend) — teinté à la
   couleur de catégorie de la card (var(--c)), masqué tant que /stats n'a rien. */
.sold-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  padding: 2px 8px; border-radius: 99px; white-space: nowrap;
}
.sold-tag::before { content: "✦"; font-size: 0.85em; opacity: 0.9; }
.sold-tag[hidden] { display: none !important; }

/* [TRENDING] badge "🔥 Trending" (vélocité 7 jours) — orange feu, distinct du sold-tag. */
.trend-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  color: #ff7a18;
  background: color-mix(in srgb, #ff7a18 13%, transparent);
  border: 1px solid color-mix(in srgb, #ff7a18 34%, transparent);
  padding: 2px 8px; border-radius: 99px; white-space: nowrap;
}
.trend-tag[hidden] { display: none !important; }

/* [VOTE PREVIEW] section vote — backend pas encore câblé (badge "not working"). */
.vote .vote-card {
  position: relative;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px 28px 24px; max-width: 760px; margin: 0 auto;
}
.vote-soon {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: #ffc861; border: 2px solid var(--ink);
  padding: 4px 11px; border-radius: 99px;
}
.vote .section-head { margin-bottom: 0; }
.vote-opts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; opacity: 0.5; }
.vote-opt {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--text-2); background: transparent;
  border: 1px solid var(--border); border-radius: 99px;
  padding: 9px 16px; cursor: not-allowed;
}
.vote-foot { color: var(--text-3); font-size: 0.84rem; margin-top: 8px; }

.tagline { font-weight: 600; font-size: 0.96rem; color: var(--text); letter-spacing: 0.002em; }
.card .desc {
  color: var(--text-2); font-size: 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-big .desc { -webkit-line-clamp: 4; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li {
  font-size: 0.74rem; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 99px;
}

.card-foot {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.foot-actions { margin-left: auto; display: inline-flex; gap: 8px; }
.req-pill, .cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  /* Encre de catégorie PURE sur papier : le mélange avec du blanc éclaircissait
     le texte (hérité du fond noir) et faisait tomber le contraste sous 4.5. */
  color: var(--c);
  padding: 4px 10px; border-radius: 99px;
  background: var(--cream-hi);
  border: 1.5px solid color-mix(in srgb, var(--c) 55%, var(--cream-hi));
}
.dep-pill {
  display: inline-flex; align-items: center; margin-left: 6px;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--warn);
  padding: 4px 9px; border-radius: 99px;
  background: color-mix(in srgb, var(--warn) 9%, transparent);
  border: 1px dashed color-mix(in srgb, var(--warn) 40%, transparent);
}

.empty { grid-column: 1 / -1; color: var(--text-2); padding: 40px 10px; text-align: center; }
.empty a { color: var(--accent); }

/* ---------- Barre de filtres ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 26px;
  position: sticky; top: 68px; z-index: 50;
  padding: 14px 16px;
  background: var(--cream);
  border: var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.chips-bar { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 260px; }
.chip {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 7px 14px;
  transition: all 0.16s ease;
}
.chip b { font-weight: 600; opacity: 0.55; margin-left: 3px; }
.chip:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
/* Filtre actif : aplat d'encre de catégorie, texte crème (le texte sombre
   sur accent tombait à 3.2 de contraste). */
.chip.is-on {
  background: var(--accent); color: var(--cream); border-color: var(--ink);
  box-shadow: 3px 3px 0 rgba(42, 33, 24, 0.20);
}
.chip.is-on b { opacity: 0.8; }
.chip[data-cat]:not([data-cat="all"]).is-on {
  background: var(--c); color: var(--cream);
  box-shadow: 3px 3px 0 rgba(42, 33, 24, 0.20);
}

.search-box { position: relative; min-width: min(240px, 100%); }
.search-box svg {
  position: absolute; left: 13px; top: 50%; translate: 0 -50%;
  width: 16px; height: 16px; color: var(--text-3); pointer-events: none;
}
.search-box input {
  width: 100%;
  font: inherit; font-size: 0.92rem; color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 9px 38px 9px 38px;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.search-box input::placeholder { color: var(--text-3); }
.search-box input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-2) 70%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 30%, transparent);
}
.search-box kbd {
  position: absolute; right: 11px; top: 50%; translate: 0 -50%;
  font-family: var(--font-display); font-size: 0.68rem; color: var(--text-3);
  border: 1px solid var(--border-strong); border-radius: 6px;
  padding: 1px 7px; pointer-events: none;
}
.count-label { width: 100%; font-size: 0.8rem; color: var(--text-3); padding-left: 4px; }

@media (max-width: 700px) {
  .filter-bar { position: static; }
  .search-box { flex: 1 1 100%; }
}

/* ---------- Écosystème ---------- */
.eco { background: var(--bg-2); border-block: var(--bd); }
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; counter-reset: step; }
.eco-step {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.eco-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px; opacity: 0.9;
}
.eco-step h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 8px; }
.eco-step p { color: var(--text-2); font-size: 0.92rem; }
.eco-note { margin-top: 22px; color: var(--text-3); font-size: 0.9rem; display: flex; gap: 10px; align-items: baseline; }
.eco-note b { color: var(--cat-standalone); font-weight: 600; }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.support-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.support-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.support-card .tile { --c: var(--accent-2); }
.support-card h3 { font-family: var(--font-display); font-size: 1.1rem; }
.support-card p { color: var(--text-2); font-size: 0.92rem; flex: 1; }
.support-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  color: var(--text-2);
  border: 1px dashed var(--border-strong); border-radius: 99px;
  padding: 7px 14px;
  transition: all 0.16s;
}
.copy-btn:hover { color: var(--text); border-color: var(--accent-2); }
.copy-btn.copied { color: var(--ok); border-color: var(--ok); border-style: solid; }

.policy {
  margin-top: 26px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  padding: 20px 24px;
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  font-size: 0.88rem; color: var(--text-2);
}
.policy span { display: inline-flex; align-items: center; gap: 9px; }
.policy b { color: var(--accent); font-weight: 600; font-family: var(--font-display); font-size: 0.8rem; }

/* ---------- Build your kit ---------- */
.kit { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 820px) { .kit { grid-template-columns: 1fr; } }

.kit-group { margin-bottom: 18px; }
.kit-group h4 {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c);
  margin-bottom: 10px;
}
.kit-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.kit-opt {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.86rem; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 14px;
  transition: all 0.15s ease;
}
.kit-opt b { font-family: var(--font-display); font-weight: 600; color: var(--text-3); font-size: 0.8rem; }
.kit-opt:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-2); }
.kit-check {
  width: 16px; height: 16px; flex: none; border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  display: grid; place-items: center;
  transition: all 0.15s ease;
}
.kit-opt.on { border-color: var(--c); color: var(--text); background: color-mix(in srgb, var(--c) 12%, transparent); }
.kit-opt.on b { color: var(--c); }
.kit-opt.on .kit-check { background: var(--c); border-color: var(--ink); }
.kit-opt.on .kit-check::after { content: "✓"; color: var(--cream); font-size: 0.7rem; font-weight: 700; line-height: 1; }

.kit-sum { position: sticky; top: 84px; }
.kit-card {
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 22px;
}
.kit-card h3 { font-family: var(--font-display); font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; }
.kit-card h3 span { font-size: 0.78rem; font-weight: 500; color: var(--text-3); }
.kit-empty { color: var(--text-3); font-size: 0.92rem; margin-top: 12px; }
.kit-lines { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 2px; }
.kit-lines li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.kit-lines li a { color: var(--text); text-decoration: none; }
.kit-lines li a:hover { color: var(--accent); }
.kit-lines li.base a { color: var(--accent); font-weight: 600; }
.kit-tag {
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 2px 7px; border-radius: 99px;
}
.kit-price { margin-left: auto; font-family: var(--font-display); font-size: 0.82rem; color: var(--text-2); white-space: nowrap; }
.kit-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; }
.kit-total span { color: var(--text-2); font-size: 0.9rem; }
.kit-total b { font-family: var(--font-display); font-size: 1.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kit-note { color: var(--text-3); font-size: 0.78rem; margin-bottom: 14px; }
.kit-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.kit-clear { display: block; width: 100%; text-align: center; margin-top: 10px; color: var(--text-3); font-size: 0.82rem; }
.kit-clear:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto;
  font-size: 1.4rem; font-weight: 400; color: var(--accent);
  transition: rotate 0.25s ease; line-height: 1;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--accent); }
.faq .faq-body { padding: 0 4px 22px; color: var(--text-2); font-size: 0.95rem; max-width: 64ch; }
.faq .faq-body a { color: var(--accent); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 8vh, 80px) 0 40px;
  text-align: center;
  background: var(--bg-2); border-top: var(--bd-thick);
}
.footer-punch {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; margin: 18px 0 26px; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.fineprint { color: var(--text-3); font-size: 0.78rem; max-width: 560px; margin: 6px auto 0; }
.fineprint.adult { color: color-mix(in srgb, var(--accent) 70%, var(--text-3)); font-weight: 500; }

/* ---------- Overlays (modale produit + age gate) ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}
.overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-1) 96%, white);
  color: var(--text);
  max-width: min(680px, 92vw);
  width: 100%;
  max-height: min(86vh, 100%);
  overflow: auto;
  border: var(--bd-thick); box-shadow: var(--shadow-lg);
  animation: popIn 0.28s cubic-bezier(0.2, 1.2, 0.4, 1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

.modal-head {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 16px; align-items: center;
  padding: 24px 26px 18px;
  background: color-mix(in srgb, var(--bg-1) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.modal-kicker {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c);
}
.modal-head h3 { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; margin: 2px 0; }
.modal-tagline { color: var(--text-2); font-size: 0.92rem; }
.modal-close {
  margin-left: auto; align-self: flex-start;
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 50%;
  transition: all 0.15s;
}
.modal-close:hover { color: var(--text); border-color: var(--accent); rotate: 90deg; }

.modal-body { padding: 22px 26px 30px; }
.modal-img {
  width: 100%; max-height: 240px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
  margin-bottom: 18px;
}
.modal-desc { color: var(--text-2); }
.modal-body h4 {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c);
  margin: 22px 0 10px;
}
.modal-body ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.modal-body ul.feat li, .modal-body ul.imp li {
  padding-left: 22px; position: relative; color: var(--text-2); font-size: 0.93rem;
}
.modal-body ul.feat li::before {
  content: "■"; position: absolute; left: 0; top: 1px;
  color: var(--c); font-size: 0.7rem;
}
.modal-body ul.reqs li {
  padding-left: 30px; position: relative; color: var(--text-2); font-size: 0.93rem;
}
.modal-body ul.reqs li::before {
  content: "[\2713]"; position: absolute; left: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  color: var(--ok);
}
.modal-body ul.imp li::before { content: "!"; position: absolute; left: 4px; color: var(--warn); font-weight: 700; }
.modal-body ul.deps, .product-page ul.deps { gap: 12px; }
.modal-body ul.deps li, .product-page ul.deps li { padding-left: 22px; position: relative; }
.modal-body ul.deps li::before, .product-page ul.deps li::before { content: "►"; position: absolute; left: 0; top: 1px; color: var(--warn); font-size: 0.72rem; }
ul.deps li a { color: color-mix(in srgb, var(--accent) 85%, white); font-weight: 600; text-decoration: none; }
ul.deps li a:hover { color: var(--accent); }
.dep-note { display: block; color: var(--text-3); font-size: 0.82rem; margin-top: 2px; }
.modal-body .inc, .modal-body .perms { color: var(--text-2); font-size: 0.93rem; }
.modal-body .perms { font-family: var(--font-display); font-size: 0.84rem; letter-spacing: 0.02em; color: var(--text-3); }
.modal-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.adult-line { margin-top: 18px; font-size: 0.78rem; color: color-mix(in srgb, var(--accent) 65%, var(--text-3)); }
.modal-permalink { margin-top: 14px; font-size: 0.84rem; }
.modal-permalink a { color: var(--text-3); text-decoration: none; }
.modal-permalink a:hover { color: var(--accent); }

/* Age gate */
.age-gate { max-width: min(480px, 92vw); text-align: center; }
.age-gate .age-in { padding: 40px 34px 34px; }
.age-gate .mark {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  transform: rotate(-7deg);
}
.age-gate .mark::after {
  content: ""; position: absolute; inset: 5px;
  border: 2px dashed var(--cream); border-radius: 50%; opacity: 0.85;
}
.age-gate .mark svg { width: 30px; height: 30px; }
.age-gate h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 4px; }
.age-gate .age-sub {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.age-gate p { color: var(--text-2); font-size: 0.94rem; margin-bottom: 26px; text-wrap: pretty; }
.age-actions { display: grid; gap: 10px; }
.age-actions .btn { justify-content: center; }
.age-gate .fineprint { margin-top: 20px; }

/* ---------- Pages produit (SEO, statiques) ---------- */
.product-page { padding: clamp(28px, 5vh, 56px) clamp(20px, 5vw, 48px) clamp(48px, 8vh, 90px); max-width: 880px; }
.pp-back { display: inline-block; color: var(--text-2); text-decoration: none; font-size: 0.9rem; margin-bottom: 24px; }
.pp-back:hover { color: var(--accent); }
.pp-crumb { display: block; font-size: 0.85rem; color: var(--text-3); margin-bottom: 24px; }
.pp-crumb a { color: var(--text-2); text-decoration: none; }
.pp-crumb a:hover { color: var(--accent); }
.pp-crumb .cur { color: var(--text-3); }
.pp-crumb span[aria-hidden] { margin: 0 8px; color: var(--text-3); }
.pp-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.pp-head .tile { --c: var(--c); }
.pp-kicker { font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); }
.pp-head h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; margin: 4px 0; letter-spacing: -0.015em; }
.pp-tagline { color: var(--text-2); font-size: 1.02rem; }
/* L'affiche produit se montre ENTIÈRE : `cover` + hauteur plafonnée rognaient
   le titre et le tampon. Cadre photo de la DA autour. */
.pp-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  background: var(--cream-hi);
  border-radius: var(--radius-sm); border: var(--bd);
  box-shadow: var(--shadow);
  padding: 5px; margin: 8px 0 26px;
}
.pp-desc { color: var(--text); font-size: 1.05rem; max-width: 70ch; }
.pp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.product-page h2 { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); margin: 30px 0 12px; }
.product-page ul { list-style: none; padding: 0; display: grid; gap: 9px; max-width: 70ch; }
.product-page ul.feat li, .product-page ul.imp li { padding-left: 22px; position: relative; color: var(--text-2); }
.product-page ul.feat li::before { content: "■"; position: absolute; left: 0; top: 2px; color: var(--c); font-size: 0.7rem; }
.product-page ul.reqs li { padding-left: 30px; position: relative; color: var(--text-2); }
.product-page ul.reqs li::before { content: "[\2713]"; position: absolute; left: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--ok); }
.product-page ul.imp li::before { content: "!"; position: absolute; left: 5px; color: var(--warn); font-weight: 700; }
.product-page .inc { color: var(--text-2); max-width: 70ch; }
.product-page .perms { font-family: var(--font-display); font-size: 0.84rem; color: var(--text-3); margin-top: 18px; }
.product-page .adult-line { margin-top: 14px; font-size: 0.8rem; color: color-mix(in srgb, var(--accent) 65%, var(--text-3)); }
.pp-foot-links { text-align: center; color: var(--text-3); font-size: 0.92rem; }
.pp-foot-links a { color: var(--accent); text-decoration: none; }
.product-page ul.pp-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; max-width: none; }
.product-page ul.pp-related li { padding: 0; }
.product-page ul.pp-related li::before { content: none; }
.pp-related a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: border-color .2s, transform .2s; }
.pp-related a:hover { border-color: var(--c); transform: translateY(-2px); }
.pp-related b { display: block; color: var(--text); font-family: var(--font-display); font-size: 0.98rem; }
.pp-related span { display: block; color: var(--text-3); font-size: 0.88rem; margin-top: 4px; }

/* ---------- Apparition au scroll ---------- */
/* Apparition au scroll RETIRÉE volontairement : le contenu est toujours
   visible (fiabilité > déco). La classe .reveal reste sur les éléments mais
   ne masque plus rien — impossible que du contenu disparaisse. Une animation
   sûre (qui ne part jamais d'un état caché) pourra être réintroduite plus
   tard si souhaité. */
.reveal { opacity: 1; }

/* ---------- View Transitions (filtrage) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .card:hover, .card:focus-visible { transform: translateY(-4px); } /* pas de tilt 3D */
  .hero h1 em { animation: none; }
}
