/* =============================================================================
   Apparence du site — noir sur blanc
   ============================================================================= */
:root {
  --bg: #f6f6f4;          /* fond de page, gris très clair */
  --surface: #ffffff;     /* cartes, panneaux */
  --ink: #0a0a0a;         /* titres, boutons principaux */
  --text: #161616;        /* texte courant */
  --muted: #4a4a4a;       /* texte secondaire (gris foncé) */
  --faint: #6b6b6b;       /* petites mentions */
  --line: #e3e3e1;        /* bordures fines */
  --line-strong: #cfcfcc;
  --soft: #f0f0ee;        /* pastilles, survols */
  --radius: 26px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 640px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.97); }
.btn-big { min-height: 58px; padding: 0 34px; font-size: 1.06rem; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--soft); opacity: 1; }
.btn[aria-disabled="true"], .btn:disabled {
  background: #e4e4e2;
  border-color: #e4e4e2;
  color: #7a7a7a;
  cursor: not-allowed;
  pointer-events: none;
}
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- En-tête collé ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.03em; font-size: 1.05rem; }
.logo { width: 36px; height: 36px; border-radius: 10px; flex: none; object-fit: cover; }
.logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-weight: 900; font-size: 1.15rem;
}
.burger {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed;
  z-index: 49;
  left: 0; right: 0;
  top: var(--menu-top, var(--header-h));
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  padding: 8px 16px 18px;
}
.menu a {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  padding: 15px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.menu a:last-child { border-bottom: 0; }

/* ---------- Bannière d'accueil ---------- */
/* Police manuscrite « signature » (Mrs Saint Delafield, licence libre OFL), hébergée sur le site */
@font-face {
  font-family: "Signature";
  src: url("fonts/signature.woff2") format("woff2");
  font-display: swap;
}
.banner {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));   /* l'écran entier, sous l'en-tête : le bouton reste visible */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;   /* texte en haut, le mouton reste visible en dessous */
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}
.banner-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;            /* remplit tout l'écran ; le point de cadrage est réglé dans contenu.js */
  object-position: 50% 50%;
}
/* Léger voile blanc derrière le texte, qui s'efface vers le mouton */
.banner-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 32% at 50% 22%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.55) 45%, rgba(255,255,255,0) 100%),
    linear-gradient(to bottom, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 45%);
}
/* Fondu du bas : l'image se fond dans le fond de la section suivante (même couleur exacte, aucune ligne) */
.banner::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(246,246,244,0) 0%,
    rgba(246,246,244,0.12) 25%,
    rgba(246,246,244,0.38) 50%,
    rgba(246,246,244,0.72) 75%,
    var(--bg) 100%);
}.banner-content {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: max(7svh, 40px) 16px 0;
}
.banner-name {
  margin: 0;
  font-family: "Signature", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: clamp(3.3rem, 15vw, 8rem);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink);
  padding: 0 0.15em;          /* laisse de la place aux arabesques de la signature */
  text-shadow: 0 0 22px rgba(255,255,255,0.9);
}
.banner-slogan {
  margin: 4px auto 0;
  max-width: 26ch;
  font-weight: 300;
  font-size: clamp(1.02rem, 4.4vw, 1.35rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-shadow: 0 0 12px rgba(255,255,255,0.95);
}
.banner .banner-btn {
  position: absolute; z-index: 1;
  left: 50%; transform: translateX(-50%);
  bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  white-space: nowrap;
}
.banner .banner-btn:active { transform: translateX(-50%) scale(.97); }
/* ---------- Écran d'accueil ---------- */
.hero { padding: 44px 0 30px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; margin-bottom: 20px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.84rem; font-weight: 600; color: var(--text);
  background: var(--surface);
}
.hero h1 {
  margin: 0 auto 16px;
  max-width: 15ch;
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(2.3rem, 10.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.lead { margin: 0 auto 28px; max-width: 40ch; color: var(--muted); font-size: 1.04rem; }
.checks {
  list-style: none; padding: 0; margin: 22px 0 30px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
}
.checks li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.checks li::before, .points li::before {
  content: "✓";
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 0.72rem; font-weight: 900;
}
.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
@media (min-width: 720px) {
  .stat { border-bottom: 0; border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}
.stat b { display: block; color: var(--ink); font-size: 1.9rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.82rem; line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-title {
  margin: 0 auto 10px;
  max-width: 18ch;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
  font-size: clamp(1.9rem, 8vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.section-sub { margin: 0 auto 26px; max-width: 42ch; text-align: center; color: var(--muted); }
.hint { text-align: center; color: var(--faint); font-size: 0.85rem; margin: 0 0 14px; }

/* ---------- Carrousel ---------- */
.carousel { position: relative; }
.track {
  --slide: 86%;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 4px calc((100% - var(--slide)) / 2) 10px;
}
.track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .track { --slide: 380px; gap: 20px; } }

.slide { flex: 0 0 var(--slide); scroll-snap-align: center; scroll-snap-stop: always; display: flex; }

.card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 0.76rem; font-weight: 800; letter-spacing: -0.01em;
}

/* Image : remplit tout le cadre, recadrage centré, sans déformation */
.media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 18px 20px; }
.card h3 { margin: 0 0 10px; color: var(--ink); font-weight: 900; font-size: 1.42rem; letter-spacing: -0.04em; line-height: 1.1; }
.level {
  align-self: flex-start;
  padding: 5px 11px; margin-bottom: 12px; border-radius: 999px;
  background: var(--soft); color: var(--text);
  font-size: 0.78rem; font-weight: 700;
}
.card .desc { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-big { color: var(--ink); font-size: 2.7rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.price-note { color: var(--muted); font-size: 0.82rem; }

.stock { margin-bottom: 16px; min-height: 34px; }
.stock-label { display: flex; justify-content: space-between; font-size: 0.84rem; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.stock-bar { height: 6px; border-radius: 999px; background: #e7e7e5; overflow: hidden; }
.stock-bar span { display: block; height: 100%; border-radius: 999px; background: var(--ink); transition: width .5s ease; }
.stock.is-out .stock-label { color: var(--muted); }

.points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; line-height: 1.4; color: var(--text); }
.points li::before { margin-top: 1px; }
.card-actions { margin-top: auto; display: grid; gap: 10px; }
.card-actions .btn { width: 100%; }

.arrow {
  display: none;
  position: absolute; top: 30%; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.arrow:disabled { opacity: .3; cursor: default; }
.arrow-prev { left: max(8px, calc(50% - 190px - 72px)); }
.arrow-next { right: max(8px, calc(50% - 190px - 72px)); }
@media (min-width: 640px) and (hover: hover) { .arrow { display: block; } }

.dots { display: flex; justify-content: center; gap: 2px; margin-top: 16px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #c4c4c1; transition: width .25s ease, background .25s ease; }
.dot[aria-current="true"]::before { width: 22px; background: var(--ink); }

/* ---------- Quiz ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.quiz-start { text-align: center; padding: 6px 0; }
.quiz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.progress { height: 6px; background: #e7e7e5; border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width .35s ease; }
.quiz-q { margin: 0 0 18px; color: var(--ink); font-weight: 900; font-size: 1.4rem; letter-spacing: -0.035em; line-height: 1.15; }
.answers { display: grid; gap: 10px; }
.answer {
  width: 100%; text-align: left;
  padding: 16px 18px; min-height: 58px;
  border-radius: 18px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.answer:hover { background: var(--soft); border-color: var(--ink); }
.answer.is-picked { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-btn { margin-top: 14px; padding: 6px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.88rem; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

.result { text-align: center; }
.result .label { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; }
.result .media { border-radius: 18px; max-width: 340px; margin: 0 auto 18px; }
.result h3 { margin: 0 0 6px; color: var(--ink); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.04em; line-height: 1.1; }
.result .price-big { display: block; font-size: 2.2rem; margin-bottom: 12px; }
.result p { color: var(--muted); margin: 0 auto 20px; max-width: 40ch; }
.result .actions { display: grid; gap: 10px; max-width: 340px; margin: 0 auto; }

/* ---------- Tableau comparatif ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare { border-collapse: separate; border-spacing: 0; min-width: 760px; width: 100%; font-size: 0.9rem; }
.compare th, .compare td { padding: 14px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; font-size: 0.95rem; }
.compare tbody th { color: var(--muted); font-weight: 600; }
.compare td { color: var(--text); }
.compare .sticky {
  position: sticky; left: 0; z-index: 1;
  background: var(--surface);
  min-width: 128px; max-width: 150px;
  border-right: 1px solid var(--line);
}

/* ---------- Galeries à effet « profondeur » (avis + Ce que je trouve) ---------- */
.gallery {
  --g: 66%;
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 8px 0 14px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.gallery::-webkit-scrollbar { display: none; }
/* Marges de début et de fin : permettent de centrer exactement la première et la dernière photo */
.gallery::before, .gallery::after { content: ""; flex: 0 0 calc((100% - var(--g)) / 2); }
.gallery.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.gallery-items { --g: 68%; }
.gallery-reviews { --g: 74%; align-items: center; }
@media (min-width: 640px) {
  .gallery-items { --g: 360px; }
  .gallery-reviews { --g: 320px; }
}
.g-slide {
  position: relative;
  flex: 0 0 var(--g);
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transform-origin: center center;
  will-change: transform, filter;
}
.g-slide img { display: block; width: 100%; -webkit-user-drag: none; }

/* Onglets de « Ce que je trouve » : sur une ligne ; s'ils ne tiennent pas, on les fait défiler au doigt */
.tabs {
  display: flex; gap: 6px;
  max-width: 760px; margin: 0 auto 22px; padding: 5px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
/* Fondu sur le bord quand d'autres onglets sont cachés (indique qu'on peut faire défiler) */
.tabs.more-right { -webkit-mask-image: linear-gradient(to right, #000 78%, transparent); mask-image: linear-gradient(to right, #000 78%, transparent); }
.tabs.more-left { -webkit-mask-image: linear-gradient(to left, #000 78%, transparent); mask-image: linear-gradient(to left, #000 78%, transparent); }
.tabs.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
.tab {
  flex: 1 0 auto;
  min-height: 46px; padding: 8px 14px;
  border: 0; border-radius: 13px;
  background: transparent; color: var(--muted);
  font: inherit; font-size: 0.86rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer; transition: background .2s ease, color .2s ease;
}
.tab:hover { color: var(--ink); background: var(--soft); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (min-width: 640px) { .tab { font-size: 0.92rem; } }.tab-panel[hidden] { display: none; }

/* Vidéos explicatives : reliées à l'ebook sélectionné, sans défilement à la main */
.video-link { display: flex; flex-direction: column; align-items: center; margin: 26px 0 8px; text-align: center; }
.video-pill { margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; font-weight: 800; }
.video-link-text { margin: 0 0 4px; color: var(--ink); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.video-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; margin-top: 6px;
  animation: arrow-bounce 1.6s ease-in-out infinite;
}
@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) { .video-arrow { animation: none; } }
.gallery-sync { overflow-x: hidden; cursor: default; touch-action: pan-y; scroll-snap-type: none; }

/* Vidéos de déballage : format vertical */
.gallery-videos { --g: 62%; }
@media (min-width: 640px) { .gallery-videos { --g: 300px; } }
.g-video { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.g-video video, .g-video .g-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.g-video video[hidden] { display: none; }
.sound-btn {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
  background: rgba(10,10,10,0.82); color: #fff;
  font: inherit; font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.g-slide.is-center .sound-btn { opacity: 1; pointer-events: auto; }
.sound-btn[hidden] { display: none; }

/* Photos des galeries : remplissent leur cadre (recadrage centré) */
.g-photo { aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.g-photo-portrait { aspect-ratio: 3 / 4; }
.g-photo-vertical { aspect-ratio: 9 / 16; }
.g-photo img { height: 100%; object-fit: cover; }
.g-caption { padding: 14px 6px 0; text-align: center; opacity: 0; transition: opacity .25s ease; }
.g-slide.is-center .g-caption { opacity: 1; }
.g-name { color: var(--ink); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.03em; line-height: 1.2; }
.g-price { color: var(--ink); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.04em; margin-top: 4px; }
.g-desc { margin: 6px auto 0; max-width: 32ch; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

/* Captures d'avis : affichées en entier */
.g-shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.g-shot img { height: auto; }
.gallery + .hint { margin-top: 10px; }

/* Capture agrandie */
.zoom {
  padding: 0; border: 0; background: transparent;
  max-width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 24px);
  overflow: visible;
}
.zoom::backdrop { background: rgba(0,0,0,0.8); }
.zoom img { display: block; max-width: 100%; max-height: calc(100vh - 24px); width: auto; height: auto; border-radius: 16px; margin: 0 auto; }
.zoom-close {
  position: fixed; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 2px; cursor: pointer; list-style: none;
  color: var(--ink); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 2px 18px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Pied de page ---------- */
.footer { text-align: center; padding: 24px 16px max(96px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer a { color: var(--muted); font-size: 0.88rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.footer a:hover { color: var(--ink); }
.copy { margin-top: 14px; font-size: 0.75rem; color: var(--faint); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; }
.legal-links a { font-size: 0.8rem; }

/* Phrase CGV sous les boutons « Acheter » */
.buy-note { margin: -2px 0 2px; font-size: 0.76rem; line-height: 1.4; color: var(--faint); text-align: center; }
.buy-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Bouton Discord flottant ---------- */
.discord-fab {
  position: fixed; z-index: 40;
  right: 16px; bottom: max(18px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: transform .15s ease;
}
.discord-fab:active { transform: scale(.94); }

/* ---------- Fenêtres (« Voir le détail », « Avant ton achat ») ---------- */
.modal {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.modal::backdrop { background: rgba(0,0,0,0.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-inner { padding: 24px 20px 20px; }
.modal h3 { margin: 0 0 14px; color: var(--ink); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1.1; }
.modal p { color: var(--muted); margin: 0 0 12px; }
.modal h4 { margin: 4px 0 12px; color: var(--ink); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.modal .points { margin-bottom: 16px; }
.modal-actions { display: grid; gap: 10px; margin-top: 20px; }

/* Case à cocher de la fenêtre « Avant ton achat » */
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: 16px;
  color: var(--ink); font-weight: 700; font-size: 0.95rem; line-height: 1.35;
  cursor: pointer;
}
.consent input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 22px; height: 22px; margin: 0; border-radius: 6px;
  border: 2px solid var(--ink); background: var(--surface); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.consent input:checked { background: var(--ink); }
.consent input:checked::after { content: "✓"; color: #fff; font-size: 0.85rem; font-weight: 900; }
.consent input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 16px 64px; }
.legal h1 { margin: 0 0 8px; color: var(--ink); font-weight: 900; font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -0.045em; line-height: 1.02; }
.legal .updated { color: var(--faint); font-size: 0.85rem; margin: 0 0 28px; }
.legal h2 { margin: 34px 0 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.legal a { color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 0.9rem; text-decoration: none; }
/* Champs à compléter : bien visibles */
.todo { background: var(--ink); color: #fff; font-weight: 800; padding: 1px 6px; border-radius: 5px; }
