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

:root {
  /* Fonds */
  --bg-0: #07060b;
  --bg-1: #0d0b14;
  --bg-2: #14101e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Texte */
  --text: #efecf6;
  --text-2: #b9b1c8;
  --text-3: #867e98;

  /* Accents de marque */
  --accent: #ff3d77;
  --accent-2: #9d6bff;
  --grad: linear-gradient(120deg, #ff3d77, #9d6bff);
  --ok: #3ddc97;
  --warn: #ffb454;

  /* Couleurs par catégorie */
  --cat-framework: #ff3d77;
  --cat-modules: #9d6bff;
  --cat-addons: #ffb454;
  --cat-standalone: #38d6ff;
  --cat-plugins: #ff8a4c;
  --cat-furniture: #2dd4bf;
  --cat-games: #4ade80;
  --cat-free: #f9a8d4;

  /* Géométrie & typo */
  --radius: 18px;
  --radius-sm: 11px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;

  color-scheme: dark;
}

/* ---------- 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: #2a2438; border-radius: 99px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: #3a3250; }

.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(--grad); color: #14101a; font-weight: 600;
  padding: 10px 18px; border-radius: 99px; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* Grain global très léger */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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(--grad); color: #190d18;
  box-shadow: 0 6px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn.grad:hover { box-shadow: 0 10px 32px -8px color-mix(in srgb, var(--accent) 80%, transparent); transform: translateY(-1px); }
.btn.ghost {
  border: 1px solid var(--border-strong); color: var(--text);
  background: var(--surface);
}
.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;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: color-mix(in srgb, var(--bg-0) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.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;
}
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #190d18;
  box-shadow: 0 4px 18px -4px color-mix(in srgb, var(--accent) 70%, transparent);
}
.brand .mark svg { width: 19px; height: 19px; }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.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: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    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; }
.aurora {
  position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  filter: blur(110px); opacity: 0.55;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%;
}
.aurora::before {
  width: 46vw; height: 46vw; min-width: 420px; min-height: 420px;
  left: -6%; top: 4%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 36%, transparent), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.aurora::after {
  width: 40vw; height: 40vw; min-width: 380px; min-height: 380px;
  right: -4%; top: 18%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 34%, transparent), transparent 65%);
  animation: drift 19s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vw, 5vh, 0) scale(1.12); } }

.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: 700; line-height: 1.04; letter-spacing: -0.02em;
  margin: 18px 0 20px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.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: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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(0 24px 60px color-mix(in srgb, var(--accent) 28%, transparent)); }
.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: color-mix(in srgb, var(--bg-2) 80%, transparent);
  border: 1px solid var(--border-strong);
  border-radius: 99px; padding: 7px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.8);
  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; } }

/* ---------- 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: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--border-strong)); }
.rule span:last-child { background: linear-gradient(90deg, var(--border-strong), transparent); }
.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;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 55%, var(--border));
  background: var(--surface-2);
  box-shadow: 0 18px 48px -18px color-mix(in srgb, var(--c) 42%, transparent);
}
.card-big { padding: 26px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 7%, var(--surface)), var(--surface)); }
.card-big .card-top { padding-right: 84px; }

.flag {
  position: absolute; top: 16px; right: 16px;
  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;
}

.card-top { display: flex; gap: 14px; align-items: center; }
.tile {
  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);
}
.tile-lg { width: 56px; height: 56px; border-radius: 16px; }
.tile-lg .ic { width: 27px; height: 27px; }

.card-id h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.card-meta { display: flex; 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); box-shadow: 0 0 8px var(--ok); }
.status.dev i { background: var(--warn); box-shadow: 0 0 8px var(--warn); }

.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;
  color: color-mix(in srgb, var(--c) 86%, white);
  padding: 4px 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, 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: color-mix(in srgb, var(--bg-0) 78%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.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); }
.chip.is-on {
  background: var(--grad); color: #190d18; border-color: transparent;
  box-shadow: 0 4px 18px -6px color-mix(in srgb, var(--accent) 65%, transparent);
}
.chip.is-on b { opacity: 0.7; }
.chip[data-cat]:not([data-cat="all"]).is-on {
  background: color-mix(in srgb, var(--c) 88%, white);
  box-shadow: 0 4px 18px -6px color-mix(in srgb, var(--c) 70%, transparent);
}

.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) 22%, 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: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 55%, transparent) 18%, color-mix(in srgb, var(--bg-2) 55%, transparent) 82%, transparent); }
.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; }

/* ---------- 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: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 4%, transparent));
}
.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(--bg-0) 74%, 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;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
  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 .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)); }

/* Age gate */
.age-gate { max-width: min(480px, 92vw); text-align: center; }
.age-gate .age-in { padding: 40px 34px 34px; }
.age-gate .mark {
  width: 58px; height: 58px; border-radius: 17px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: var(--grad); color: #190d18;
  box-shadow: 0 10px 40px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.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; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; translate: 0 22px; transition: opacity 0.65s ease var(--d, 0ms), translate 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0ms); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- 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 { opacity: 1; translate: 0 0; }
}
