/* ============================================================
   Vitrine Mon Encyclopédie 3D — styles
   Maquette : vitrine/maquette_mon_encyclopedie_3d_3000px_large.png
   (3000×1688 = design desktop 1500 px @2x ; valeurs CSS = maquette/2)
   ============================================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-navy-900);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Révélation douce : le contenu est masqué jusqu'à l'application de l'i18n
   (classe content-loading retirée par main.js), puis apparaît d'un coup en
   fondu — évite le flash « images d'abord, texte ensuite ». */
html.content-loading body { opacity: 0; }
body { transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

img { display: block; max-width: 100%; height: auto; }

/* Page d'accueil : intro de la section démo 3D sur toute la largeur (une ligne). */
#demo .band__lede { max-width: none; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, p, figure { margin: 0; }

.container {
  width: min(var(--container), 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--color-gold);
  color: var(--color-ink);
  border-radius: var(--radius-full);
  font-weight: 700;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--dur) var(--easing-out), box-shadow var(--dur) var(--easing-out);
}

/* Bouton or harmonisé (Franck 2026-06-13) : filet bleu marine sur TOUS les
   boutons or (identique sur <a> et <button> — avant, seul le <button> du
   formulaire héritait du liseré par défaut du navigateur), et SUPPRESSION du
   halo lumineux (box-shadow doré) que Franck n'aimait pas. */
.btn--gold {
  background: var(--grad-btn);
  color: #19204D;
  border: 2px solid #19204D;
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--gold:active { transform: translateY(0); }

.btn--lg { padding: 15px 32px; font-size: 19.5px; }
.btn__ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Barre d'achat fixe (mobile/tablette) ---------- */
/* Le bouton « Acheter sur Amazon » du header disparaît sous 1024px (burger).
   Cette barre, présente sur toutes les pages (injectée par chrome.js), garde
   l'achat accessible en permanence. Masquée au-dessus de 1024px (header visible). */
.buybar { display: none; }

/* ---------- Header ---------- */
/* Barre FIXE : reste visible en haut quand on scrolle, sur toutes les pages
   (décision Franck 2026-06-12). La pilule translucide + blur assure la
   lisibilité par-dessus le contenu qui défile. */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 14px;
}

/* Barre quasi opaque PARTOUT (home comprise) : couleur homogène sur toutes
   les pages (décision Franck 2026-06-12 — plus de variante translucide). */
.header__bar {
  display: flex;
  align-items: center;
  gap: 38px;
  width: min(var(--header-w), 100% - 32px);
  margin-inline: auto;
  padding: 6px 12px 6px 22px;
  background: rgba(6, 10, 35, .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(112, 134, 255, .3);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-header);
}

.header__logo img {
  width: auto;
  height: 76px;          /* logo agrandi (Franck 2026-06-19) */
  margin: -10px 0;       /* la barre est plus fine, le logo déborde légèrement */
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center; /* menu centré dans la barre (Franck 2026-06-12) */
  flex: 1;
  gap: 34px;
}
.header__nav a {
  color: #EDF0FF;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 6px 2px;
  transition: color var(--dur) var(--easing-out);
}
.header__nav a:hover { color: #5AB2F5; } /* bleu ciel du logo (Franck) */

.header__cta { margin-left: auto; }

/* CTA dupliqué dans le menu mobile uniquement */
.header__nav .header__nav-cta { display: none; }

.header__burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}
.header__burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #EDF0FF;
  transition: transform var(--dur) var(--easing-out), opacity var(--dur) var(--easing-out);
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--color-navy-900);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Le T-Rex émerge au centre-droit de la vidéo : on cadre légèrement vers la
     droite pour qu'il reste centré à l'écran quel que soit le rognage. */
  object-position: 58% center;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Hauteur minimale proportionnelle à l'écran : suit le ratio de la vidéo
     (2,84:1 ≈ 35vw) pour que le hero reste grand sur les écrans larges,
     plafonnée pour ne pas dépasser l'écran. */
  min-height: min(36vw, 84vh);
  padding-top: clamp(110px, 9.5vw, 146px);
  padding-bottom: clamp(96px, 8vw, 122px);
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.04;
  display: grid;
  gap: 2px;
}

/* Slogan artwork — taille de RÉFÉRENCE (ES / IT, jugées bonnes). FR et EN sont
   recalés ci-dessous : chaque artwork remplit son cadre différemment (marge
   transparente + taille du texte variables), donc à largeur CSS égale le texte
   visible n'a pas la même taille. On corrige par langue (mesuré 2026-06-19). */
.hero__slogan {
  width: clamp(320px, 27.5vw, 430px);
  /* Hauteur de cadre UNIFORME (= hauteur naturelle du plus grand artwork, EN) :
     le slogan ne dicte plus la hauteur du hero → les 4 héros sont identiques.
     object-fit:contain garde chaque artwork à sa taille réglée (cf. largeurs
     par langue), centré verticalement, calé à gauche. */
  height: clamp(268px, 23vw, 360px);
  object-fit: contain;
  object-position: left center;
}
/* FR : l'artwork est rogné au plus près (texte = 100 % du cadre) → à largeur
   égale il paraît ~8 % plus gros que ES/IT. On le réduit pour l'uniformiser. */
html[lang="fr"] .hero__slogan {
  width: clamp(295px, 25.3vw, 396px);
}
/* EN : l'artwork généré a le texte nettement plus petit dans son cadre → à
   largeur égale il paraît ~20 % plus petit. On l'agrandit pour l'uniformiser. */
html[lang="en"] .hero__slogan {
  width: clamp(385px, 33vw, 517px);
}

.hero__title-text { display: grid; gap: 2px; }
.hero__title-text[hidden] { display: none; }

.hero__l1 {
  color: #FFFFFF;
  font-size: clamp(34px, 3.4vw,50px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.hero__l2 {
  font-size: clamp(46px, 4.6vw,68px);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .4));
}

.hero__l3 {
  color: #FFFFFF;
  font-size: clamp(44px, 4.4vw,64px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.hero__3d {
  font-style: normal;
  font-weight: 700;
  font-size: 1.16em;
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 16, 80, .65)) drop-shadow(0 0 16px rgba(59, 132, 255, .45));
}

.hero__sub {
  margin-top: 16px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(17px, 1.2vw,19.5px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

.hero__actions { margin-top: 22px; }

/* Badges « 0 appli · 0 pub · 0 données » */
.hero__zeros {
  display: flex;
  align-items: center;
  margin-top: clamp(26px, 3vw, 44px);
  width: fit-content;
}

.hero__zeros li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 22px;
}
.hero__zeros li:first-child { padding-left: 0; }
.hero__zeros li + li { border-left: 1px solid rgba(255, 255, 255, .28); }

.zero__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: #FFFFFF;
  border: 2px solid var(--color-neon);
  border-radius: 50%;
  background: rgba(6, 12, 40, .55);
  box-shadow: 0 0 12px rgba(59, 212, 255, .55), inset 0 0 8px rgba(59, 212, 255, .3);
}
.zero__ic svg { width: 22px; height: 22px; }

.zero__label {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
}

/* ---------- Sections claires (drap courbé) ---------- */
.sheet {
  position: relative;
  margin-top: -54px;
  background: var(--color-page);
  border-radius: 100% 100% 0 0 / 56px 56px 0 0;
  padding-top: 34px;
  padding-bottom: 56px;
}

.band { padding-top: 14px; }
.band + .band, .band--univers { padding-top: 40px; }

.band__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(26px, 2.2vw,33.5px);
  line-height: 1.15;        /* interligne resserré quand le titre passe sur 2-3 lignes (mobile) */
  color: var(--color-ink);
  text-align: center;
}

.sparkle {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--color-gold-deep);
}
.sparkle--flip { transform: scaleX(-1); }

/* ---------- Comment ça marche ---------- */
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 28px;
}

.step {
  position: relative;
  filter: drop-shadow(0 10px 22px rgba(10, 14, 42, .10));
}

.step img {
  height: clamp(120px, 12vw, 158px);
  width: auto;
  max-width: none;
}

.step figcaption {
  position: absolute;
  left: 7.5%;
  top: 56%;
  transform: translateY(-50%);
  max-width: 46%;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(15.5px, 1.45vw,20.5px);
  line-height: 1.22;
  color: var(--color-ink);
}

/* ---------- Explore les univers ---------- */
.univers {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(12px, 1.6vw, 22px);
  margin-top: 30px;
}

.univers__card {
  position: relative;
  display: block;
  transition: transform var(--dur) var(--easing-out), filter var(--dur) var(--easing-out);
}
.univers__card:hover { transform: translateY(-6px); }

.univers__card img {
  height: clamp(108px, 10vw, 126px);
  width: auto;
  max-width: none;
}

.univers__card span {
  position: absolute;
  left: 8.5%;
  bottom: 9%;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(15.5px, 1.4vw,19.5px);
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-navy-800);
  color: #DCE1F2;
  padding: 30px 0 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.footer__brand img { width: 316px; height: auto; max-width: 100%; }

.footer__col { display: grid; gap: 7px; justify-items: start; }

.footer__head {
  font-weight: 800;
  font-size: 15.5px;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.footer__col a {
  font-size: 15px;
  color: var(--color-muted);
  transition: color var(--dur) var(--easing-out);
}
.footer__col a:hover { color: #5AB2F5; }

.footer__icons { display: flex; gap: 12px; margin-top: 4px; }
.footer__icons a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  transition: border-color var(--dur) var(--easing-out), color var(--dur) var(--easing-out), transform var(--dur) var(--easing-out);
}
.footer__icons a:hover { border-color: var(--color-neon); color: var(--color-neon); transform: translateY(-2px); }
.footer__icons svg { width: 18px; height: 18px; }

/* ---------- Éléments communs des sections ---------- */
.container--narrow { width: min(860px, 100% - 40px); }

.band__kicker {
  text-align: center;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 6px;
}

.band__lede {
  max-width: 620px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 18px;
  color: #4A5072;
}
/* Sous-titre de la bande « livre » : même style que le sous-titre des autres pages (.page__lede). */
#comment-ca-marche .band__lede {
  font-style: italic;
  font-size: 22px;
}
/* EN : le sous-titre de la section vidéo est plus long qu'en FR/ES/IT → on
   élargit pour qu'il tienne sur UNE ligne (la place existe) sur desktop ;
   sur mobile, le conteneur étant plus étroit, il wrappe naturellement. */
html[lang="en"] #video .band__lede {
  max-width: 820px;
}
/* Symbole marque déposée ™ (petit exposant propre) */
.tm {
  font-size: .58em;
  vertical-align: super;
  line-height: 0;
  font-style: normal;
}
/* Largeur homogène pour toutes les sections de l'accueil (fond clair) */
.sheet .band .container { width: min(1080px, 100% - 40px); }
/* Séparateur horizontal entre sections de l'accueil : espacement symétrique (40px de chaque côté) */
.home-sep {
  border: 0;
  height: 1px;
  width: min(1080px, 100% - 40px);
  margin: 40px auto;
  background: rgba(10, 14, 42, .12);
}
/* La bande qui suit un séparateur ne rajoute pas de padding (la marge du <hr> fait l'espace) */
.sheet .home-sep + .band { padding-top: 0; }
/* Bande « livre » : couverture à gauche, texte à droite */
.help-book-intro--cover {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.help-book-cover {
  flex: 0 0 auto;
  width: 210px;
  max-width: 34%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(10, 14, 42, .18);
}
.help-book-text { flex: 1 1 auto; min-width: 0; }

/* Couverture cliquable -> lightbox */
.book-zoom {
  flex: 0 0 auto;
  width: 210px;
  max-width: 34%;
  padding: 0;
  border: 0;
  background: none;
  display: block;
  cursor: zoom-in;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--easing-out), box-shadow .18s var(--easing-out);
}
.book-zoom > .help-book-cover { width: 100%; max-width: none; display: block; }
.book-zoom:hover { transform: translateY(-3px) scale(1.02); }
.book-zoom:active { transform: translateY(-1px) scale(.99); }
.book-zoom:focus-visible { outline: 3px solid var(--color-neon); outline-offset: 4px; }

@media (max-width: 640px) {
  .help-book-intro--cover { flex-direction: column; align-items: center; }
  .help-book-cover { width: 170px; max-width: 60%; }
  .book-zoom { width: 170px; max-width: 60%; }
  .help-book-text p { text-align: left; }
}

/* Lightbox : visuel en grand sur fond assombri */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 9, 28, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  max-width: min(92vw, 660px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: scale(.92);
  transition: transform .22s var(--easing-out);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.lightbox__close:focus-visible { outline: 3px solid var(--color-neon); outline-offset: 3px; }
body.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img, .book-zoom, .lightbox__close { transition: none; }
}

/* ---------- Charte des 4 zéros ---------- */
.band--zeros { padding-top: 34px; }

.zeros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.zero-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-gold);
  padding: 24px 20px 20px;
  text-align: center;
  transition: transform var(--dur) var(--easing-out), box-shadow var(--dur) var(--easing-out);
}
.zero-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 14, 42, .14); }

/* Icônes premium gpt-image-1 (mêmes fichiers que la page Comment ça marche) */
.zero-card__img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.zero-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 19.5px;
  color: var(--color-ink);
}

.zero-card p {
  font-size: 15.5px;
  line-height: 1.45;
  color: #4A5072;
}

/* ---------- Démo 3D interactive ---------- */
.demo3d { margin-top: 26px; }

.demo3d__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.demo3d__tab {
  padding: 9px 22px;
  border: 2px solid rgba(26, 31, 75, .18);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: border-color var(--dur) var(--easing-out), background var(--dur) var(--easing-out);
}
.demo3d__tab:hover { border-color: var(--color-neon); }
.demo3d__tab.is-active {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: var(--color-white);
}

/* Scène 3D : présentation CANONIQUE du viewer de l'app (viewer.css),
   reprise à l'identique (structure, masques, perspective). Seuls écarts
   voulus (Franck 2026-06-12) : quadrillage néon ACCENTUÉ à l'intérieur
   (--ch-grid/--ch-grid-soft plus lumineux que l'app) et AUCUN halo
   extérieur autour du module. */
.demo3d__stage {
  /* Bleu NÉON électrique (#3B82FF) — le cyan #3BD4FF rendait trop turquoise
     à l'écran (retour Franck 2026-06-12). */
  --ch: #3B82FF;
  --ch-tint: rgba(59, 130, 255, .16);
  --ch-glow: rgba(59, 130, 255, .55);
  --ch-grid: rgba(59, 130, 255, .55);
  --ch-grid-soft: rgba(59, 130, 255, .3);
  --ch-border: rgba(59, 130, 255, .45);

  position: relative;
  display: grid;
  place-items: center;
  width: min(880px, 100%);
  height: 280px;
  margin-inline: auto;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, var(--ch-tint) 0%, transparent 65%),
    linear-gradient(180deg, #06081A 0%, #1E1B4E 50%, #141846 100%);
  border: 1px solid var(--ch-border);
  box-shadow:
    inset 0 0 80px var(--ch-tint),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 -40px 80px -40px rgba(6, 8, 26, .8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 600px)  { .demo3d__stage { height: 360px; } }
@media (min-width: 1024px) { .demo3d__stage { height: 440px; } }
@media (min-width: 1280px) { .demo3d__stage { height: 520px; } }

/* Mur du fond : grille verticale (moitié haute du « cube ») */
.demo3d__stage::after {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 38px, var(--ch-grid-soft) 38px 39px),
    repeating-linear-gradient(0deg, transparent 0 38px, var(--ch-grid-soft) 38px 39px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .9) 100%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .9) 100%);
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}

/* Sol perspective : grille 3D inclinée */
.demo3d__stage::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 60%;
  background-image:
    linear-gradient(180deg, transparent 0%, var(--ch-tint) 60%, var(--ch-grid) 100%),
    repeating-linear-gradient(90deg, transparent 0 28px, var(--ch-grid) 28px 29px),
    repeating-linear-gradient(0deg, transparent 0 22px, var(--ch-grid) 22px 23px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 100%);
          mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 100%);
  transform: perspective(420px) rotateX(58deg);
  transform-origin: bottom;
  pointer-events: none;
  z-index: 0;
}

.demo3d__stage model-viewer {
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  position: relative;
  z-index: 1;
}

.demo3d__stage .demo3d__start,
.demo3d__stage .demo3d__error { position: relative; z-index: 2; }

/* Spinner néon (même esprit que le loader de l'app) */
.demo3d__spin {
  display: none;
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--ch-grid-soft);
  border-top-color: var(--ch);
  animation: demo-spin .8s linear infinite;
  filter: drop-shadow(0 0 10px var(--ch-glow));
  pointer-events: none;
}
.demo3d__stage.is-loading .demo3d__spin { display: block; }
@keyframes demo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .demo3d__spin { animation-duration: 2s; } }

.demo3d__error { color: #FFB4B4; font-weight: 700; }

.demo3d__hint {
  margin-top: 12px;
  text-align: center;
  font-size: 15.5px;
  color: #4A5072;
}

.demo3d__credit {
  margin-top: 4px;
  text-align: center;
  font-size: 14px;
  color: #8A90AE;
}
.demo3d__credit a { text-decoration: underline; }
.demo3d__credit a:empty + *, .demo3d__credit a:empty { display: none; }
.demo3d__credit a:hover { color: var(--color-ink); }

/* ---------- Contenu pédagogique ---------- */
.pedago {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: 30px;
}

.pedago__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pedago__point {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
}

.pedago__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  color: var(--color-white);
  background: linear-gradient(160deg, #F8B70D 0%, #F89800 100%);
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(248, 165, 0, .35);
}
.pedago__ic svg { width: 24px; height: 24px; }

.pedago__point h3 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--color-ink);
}
.pedago__point p { font-size: 15.5px; line-height: 1.45; color: #4A5072; }

.pedago__cover { display: grid; justify-items: center; margin: 0; }
.pedago__cover img {
  width: min(300px, 80%);
  border-radius: 14px;
  box-shadow: 0 24px 50px -12px rgba(10, 14, 42, .4);
  transform: rotate(2.5deg);
  transition: transform var(--dur) var(--easing-out);
}
.pedago__cover img:hover { transform: rotate(0deg) scale(1.02); }

/* ---------- Grande zone vidéo ---------- */
.video-frame {
  position: relative;
  width: min(980px, 100%);
  margin: 28px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy-900);
  box-shadow: 0 24px 60px -14px rgba(10, 14, 42, .45);
  border: 1px solid rgba(112, 134, 255, .25);
}
.video-frame video { width: 100%; height: auto; display: block; }

/* Gros bouton play or au centre (masqué pendant la lecture) */
.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(84px, 10vw, 112px);
  height: clamp(84px, 10vw, 112px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform var(--dur) var(--easing-out);
}
.video-frame__play:hover { transform: translate(-50%, -50%) scale(1.07); }
.video-frame__play img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(248, 165, 0, .55));
}
.video-frame__play[hidden] { display: none; }

/* Bouton d'achat centré sous la vidéo de présentation */
.video-cta { text-align: center; margin-top: 34px; }
/* Effet « bombé » (survol) rendu permanent — décision Franck 2026-07-03 */
.video-cta .btn { transform: translateY(-2px); }
.video-cta .btn:active { transform: translateY(0); }

/* ---------- Preuve sociale ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.quote {
  position: relative;
  margin: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 22px 20px;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 2px;
  left: 16px;
  font-family: var(--font-title);
  font-size: 48px;
  line-height: 1;
  color: var(--color-gold);
}
.quote p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-ink);
  font-style: italic;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 800;
  color: #6A7194;
}

.quote__avatar {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: cover;
  border-radius: 50%;
  background: #FdF1E3;
  border: 2px solid var(--color-gold);
}

.social__amazon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 15.5px;
  color: #4A5072;
}
.social__amazon svg { color: var(--color-gold-deep); flex: none; }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; display: grid; gap: 10px; }

.faq__item {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 0 18px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  /* « + » DESSINÉ en CSS (deux barres centrées) : parfaitement centré quelle
     que soit la police, contrairement au glyphe texte « + » (mal centré). */
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) no-repeat center / 11px 2.5px,
    linear-gradient(var(--color-ink), var(--color-ink)) no-repeat center / 2.5px 11px,
    var(--color-page);
}
.faq__item[open] summary::after {
  /* « – » : on masque la barre verticale */
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) no-repeat center / 11px 2.5px,
    var(--color-page);
}
.faq__item p { padding: 0 0 16px; font-size: 17px; line-height: 1.55; color: #4A5072; }

.faq__more { margin-top: 18px; text-align: center; }
.faq__more a {
  font-weight: 800;
  font-size: 17px;
  color: #0FA3D4;
  text-decoration: underline;
}
.faq__more a:hover { color: var(--color-ink); }

/* ---------- CTA final + newsletter (bande navy) ---------- */
.final {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, #1E1B4E 0%, transparent 65%),
    var(--color-navy-900);
  color: var(--color-white);
  padding: 56px 0 60px;
  text-align: center;
}

.final__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(28px, 3vw,36px);
  margin: 0;
}

.final__lede { margin-top: 10px; font-size: 19px; color: var(--color-cream); }

.final__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.final__soon { font-size: 14.5px; color: var(--color-muted); }
/* Bandeau CTA inclus dans le footer (présent sur toutes les pages) : il occupe
   le haut du footer, à ras (annule le padding-top du footer). */
.footer .final { margin: -30px 0 30px; }

.nl {
  width: min(560px, 100%);
  margin: 36px auto 0;
  padding: 26px 26px 22px;
  background: rgba(20, 24, 70, .55);
  border: 1px solid rgba(112, 134, 255, .25);
  border-radius: var(--radius-lg);
  text-align: left;
}

.nl__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21.5px;
  color: var(--color-white);
}
.nl__lede { margin-top: 4px; font-size: 15.5px; color: var(--color-muted); }

.nl__row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.nl__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(245, 235, 214, .25);
  border-radius: var(--radius-full);
  background: rgba(245, 235, 214, .06);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 17px;
  outline: none;
  transition: border-color var(--dur) var(--easing-out), box-shadow var(--dur) var(--easing-out);
}
.nl__input::placeholder { color: rgba(245, 235, 214, .45); }
.nl__input:focus { border-color: var(--color-neon); box-shadow: 0 0 0 3px rgba(59, 212, 255, .16); }

.nl__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted);
  cursor: pointer;
}
.nl__consent input { margin-top: 2px; accent-color: var(--color-neon); }

.nl__msg { min-height: 20px; margin-top: 10px; font-size: 15.5px; font-weight: 700; color: var(--color-neon); }

/* ---------- Pages internes (mentions, contact, à propos, faq, collection) ---------- */
.page {
  background: var(--color-page);
  padding: 120px 0 56px;
  min-height: 60vh;
}

.page__kicker {
  text-align: center;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

.page h1 {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 60px);
  color: var(--color-ink);
  margin: 6px 0 8px;
}

.page__lede {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  color: #4A5072;
}

.page__body {
  width: min(820px, 100%);
  margin: 34px auto 0;
  display: grid;
  gap: 18px;
}

.page-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
}
.page-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21.5px;
  color: var(--color-ink);
}
.page-card p, .page-card li { font-size: 18px; line-height: 1.6; color: #3A4066; }
.page-card ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.page-card a { color: #0FA3D4; text-decoration: underline; }
.page-card a:hover { color: var(--color-ink); }

.page__back { margin-top: 26px; text-align: center; }
.page__back a { font-weight: 800; color: #0FA3D4; text-decoration: underline; }

/* ---------- Collection + Comment ça marche : contenu de l'app,
   STYLE du site vitrine (fond clair, cartes blanches — décision Franck
   2026-06-12, remplace la variante sombre « Cosmique Nocturne ») ---------- */

/* ----- Collection : filtres par statut ----- */
.catalogue-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 34px 0 26px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-white);
  border: 1px solid #D8DEF0;
  color: #4A5072;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: color var(--dur) var(--easing-out), border-color var(--dur) var(--easing-out), transform var(--dur) var(--easing-out);
}
.filter-chip:hover { color: var(--color-ink); border-color: #9AA6CC; }
.filter-chip:active { transform: scale(.94); }
.filter-chip:focus-visible { outline: 2px solid #0FA3D4; outline-offset: 2px; }
.filter-chip.is-active {
  color: #0B6E92;
  border-color: #0FA3D4;
  background: rgba(59, 212, 255, .12);
}
.filter-chip .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.filter-chip .dot-green { background: #1FA45E; }
.filter-chip .dot-gold  { background: var(--color-gold-deep); }
.filter-chip .dot-dim   { background: #B4BCD6; }

/* ----- Collection : grille + cartes (carte blanche vitrine) ----- */
.catalogue-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px)  { .catalogue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalogue-grid { grid-template-columns: repeat(3, 1fr); } }

.catalogue-card-skel {
  aspect-ratio: 2/3;
  background: linear-gradient(110deg, #E9EDF6 8%, #F4F6FB 18%, #E9EDF6 33%);
  background-size: 200% 100%;
  animation: cat-skel 1.4s linear infinite;
  border-radius: var(--radius-lg);
}
@keyframes cat-skel { to { background-position-x: -200%; } }

.catalogue-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--easing-out), box-shadow var(--dur) var(--easing-out);
}
.catalogue-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(10, 14, 42, .16); }
.catalogue-card:active { transform: scale(.985); }
a.catalogue-card:focus-visible { outline: 2px solid #0FA3D4; outline-offset: 3px; }
.catalogue-card[data-status="en_projet"] { opacity: .72; }

.cat-cover {
  position: relative;
  aspect-ratio: 2/3;
  background: linear-gradient(160deg, #141846 0%, #0A0E2A 100%);
  overflow: hidden;
}
.cat-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Badge de statut posé sur la couverture (sombre) : pastilles colorées */
.cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  backdrop-filter: blur(8px);
  border: 1px solid;
}
.cat-badge-live    { background: rgba(107, 212, 154, .2);  border-color: #6BD49A; color: #CFF5E0; }
.cat-badge-soon    { background: rgba(233, 196, 106, .2);  border-color: #E9C46A; color: #F6E5BC; }
.cat-badge-project { background: rgba(245, 235, 214, .12); border-color: rgba(245, 235, 214, .4); color: #E8DEC8; }

.cat-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-num-mono {
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin: 0;
}
.cat-titre {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20.5px;
  color: var(--color-ink);
  margin: 0;
  line-height: 1.2;
}
.cat-desc { font-size: 15px; line-height: 1.5; color: #4A5072; margin: 0; flex: 1; }
.catalogue-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: #4A5072;
}

/* ----- Collection : tableau récapitulatif des 15 tomes (vue d'ensemble) ----- */
/* Sous-titre italique sous le titre de la page Collection (même esprit que la page À propos) */
.coll-subtitle {
  max-width: 640px;
  margin: 4px auto 22px;
  text-align: center;
  font-style: italic;
  font-size: 22px;
  color: #4A5072;
}

/* Intro de la page Collection : pleine largeur de la colonne centrale (1080px), justifiée */
body[data-title-key="pages.collection"] .page__lede {
  max-width: min(1080px, 100%);
  text-align: justify;
  margin: 0 auto 24px;
}

/* Hero de la page Collection : même présentation que la page À propos
   (image pleine largeur de la colonne 1080px, coins arrondis, même espacement). */
.coll-hero {
  width: min(1080px, 100%);
  margin: 44px auto 0;
}
.coll-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Intro courte italique (page « Comment ça marche » + page Club). */
body[data-title-key="nav.how"] .page__lede,
.page--club .page__lede {
  font-style: italic;
  font-size: 22px;
}
/* Page Club : sous-titre sur une seule ligne (pleine largeur). */
.page--club .page__lede { max-width: none; }

/* Page Club : texte d'intro pleine largeur de colonne + justifié. */
.help-intro.club-fulltext {
  max-width: none;
  text-align: justify;
}

/* Page Club : visuel de la carte au trésor (pleine largeur, coins arrondis). */
.club-tresor-fig {
  width: 100%;
  margin: 24px auto 0;
}
.club-tresor-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.club-tresor-fig + .about-cta { margin-top: 40px; }

/* Texte d'intro « le livre d'abord » sous le hero (page Comment ça marche) :
   pleine largeur de la colonne, justifié, comme la page À propos. */
.help-book-intro {
  width: min(1080px, 100%);
  margin: 34px auto 0;
}
.help-book-intro p {
  font-size: 19px;
  line-height: 1.7;
  color: #3A4066;
  margin: 0 0 16px;
  text-align: justify;
}
.help-book-intro p:last-child { margin-bottom: 0; }

/* Hero de la page « Comment ça marche » : même présentation que les autres pages. */
.help-hero {
  width: min(1080px, 100%);
  margin: 44px auto 0;
}
.help-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Section « Carte au trésor » sur la page Collection (colonne centrale 1080) */
.coll-tresor {
  width: min(1080px, 100%);
  margin: 28px auto 0;
}

/* Bloc final de la page Collection : séparation + sous-titre + phrase + boutons */
.coll-end-sep {
  border: 0;
  height: 1px;
  width: min(1080px, 100%);
  background: rgba(10, 14, 42, .12);
  margin: 44px auto 0;
}
.coll-end {
  width: min(1080px, 100%);
  margin: 28px auto 0;
  text-align: center;
}
.coll-end-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--color-ink);
  margin: 0 0 8px;
}
.coll-end-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #4A5072;
  margin: 0 auto 22px;
  max-width: 560px;
}
.coll-end-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.coll-overview {
  width: min(1080px, 100%);
  margin: 40px auto 4px;
}
.coll-overview__title {
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin: 0 0 14px;
}
/* Liste des 15 tomes en cards (reprend la grille « Tous les tomes » de l'app,
   habillée aux couleurs claires de la vitrine). Injectée par collection.js. */
.coll-cards-wrap { margin-top: 6px; }
.coll-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) {
  .coll-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
.coll-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid #E4E8F4;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--easing-out),
              box-shadow var(--dur) var(--easing-out),
              border-color var(--dur) var(--easing-out);
}
a.coll-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10, 14, 42, .16);
  border-color: var(--color-neon);
}
a.coll-card:active { transform: scale(.99); }
a.coll-card:focus-visible { outline: 2px solid #0FA3D4; outline-offset: 3px; }
.coll-card[data-status="en_projet"] { opacity: .68; }

.coll-card-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #EEF1FB, #DBE2F4);
  overflow: hidden;
}
.coll-card-cover img {
  width: 100%;
  height: 100%;
  max-width: none;          /* sinon clampé par la règle globale img{max-width:100%} */
  /* contain (et non cover) : on montre la couverture ENTIERE sans la rogner.
     Le fond dégradé de .coll-card-cover comble l'espace si le ratio de l'image
     diffère du 2/3 de la carte. (Même choix que l'app — couverture non rognée.) */
  object-fit: contain;
  display: block;
}
.coll-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  /* Fond uni opaque (pas de transparence/flou) pour rester lisible sur la
     couverture, quelle que soit l'image derrière. */
  box-shadow: 0 1px 5px rgba(10, 14, 42, .3);
}
.coll-card-badge.coll-pill-live    { background: #157A45; border-color: #157A45; color: #FFFFFF; }
.coll-card-badge.coll-pill-soon    { background: #EFA000; border-color: #EFA000; color: #1A1F4B; }
.coll-card-badge.coll-pill-project { background: #565E84; border-color: #565E84; color: #FFFFFF; }

.coll-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.coll-card-num {
  margin: 0;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.coll-card-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-ink);
}
.coll-card-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: #5A6188;
  text-align: justify;
  /* Tronque a 2 lignes + « … » */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Pastilles de statut (réutilisées comme badge sur la couverture) */
.coll-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  border: 1px solid;
}
.coll-pill-live    { background: rgba(31, 164, 94, .12);  border-color: #6BD49A; color: #1B8E51; }
.coll-pill-soon    { background: rgba(233, 196, 106, .16); border-color: #E9C46A; color: #957517; }
.coll-pill-project { background: rgba(120, 130, 170, .10); border-color: #C8CFE4; color: #6B739A; }
@media (max-width: 560px) {
  .coll-card-title { line-height: 1.1; }
  /* Gros titre de page (h1) : interligne resserré quand il passe sur 2 lignes */
  .page h1 { line-height: 1.1; }
}
@media (max-width: 420px) {
  .coll-cards { gap: 12px; }
  .coll-card-title { font-size: 16px; }
  .coll-card-badge { font-size: 9.5px; padding: 3px 8px; }
}

/* ----- Comment ça marche : sections (contenu app, habillage vitrine) ----- */
.help { width: min(1080px, 100%); margin: 34px auto 0; }
.help-divider { border: 0; height: 1px; background: #E2E6F2; margin: 34px 0; }
.help-section { text-align: left; }
.help-h2-ic { width: 30px; height: 30px; object-fit: contain; flex: none; }
.help-kicker-ic { width: 20px; height: 20px; object-fit: contain; flex: none; }
.help-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-gold-deep);
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.help-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 26px;
  color: var(--color-ink);
  margin: 0 0 16px;
}
/* Section contact : titre centre (le flex remplace text-align pour le h2) */
.help-contact .help-h2 { justify-content: center; }
@media (min-width: 600px) { .help-h2 { font-size: 32.5px; } }
.help-intro { font-size: 19px; line-height: 1.6; color: #4A5072; margin: 0 0 24px; max-width: 720px; }

.help-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) { .help-steps { grid-template-columns: repeat(3, 1fr); } }
.help-step {
  position: relative;
  padding: 26px 18px 18px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.help-step-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18.5px;
  color: var(--color-white);
  background: var(--grad-blue);
  box-shadow: 0 6px 14px rgba(30, 107, 255, .3);
}
.help-step-icon { display: block; margin: 8px 0 14px; }
.help-step-icon img { width: 72px; height: 72px; object-fit: contain; margin-inline: auto; }
.help-step-title { font-family: var(--font-title); font-weight: 600; font-size: 18.5px; color: var(--color-ink); margin: 0 0 8px; }
.help-step-desc { font-size: 15.5px; line-height: 1.55; color: #4A5072; margin: 0; }

.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 1024px) { .help-grid { grid-template-columns: repeat(4, 1fr); } }
.help-card {
  padding: 18px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--dur) var(--easing-out), box-shadow var(--dur) var(--easing-out);
}
.help-card:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(10, 14, 42, .14); }
.help-card-icon { line-height: 1; }
.help-card-icon img { width: 56px; height: 56px; object-fit: contain; margin-inline: auto; }
.help-card-title { font-family: var(--font-title); font-weight: 600; font-size: 18px; color: var(--color-ink); margin: 8px 0 4px; }
.help-card-desc { font-size: 15.5px; line-height: 1.5; color: #4A5072; margin: 0; }

/* Cartes Club : touche dorée (style vitrine) */
.help-club-card {
  background: linear-gradient(180deg, #FFFDF4 0%, #FFF7E0 100%);
  border: 1px solid rgba(248, 165, 0, .28);
}
.help-club-cta { display: flex; justify-content: center; margin-top: 26px; }
.help-club-note { text-align: center; font-size: 15.5px; color: #6A7194; margin: 14px 0 0; }

/* Grilles enrichies (fonctions + Club) : 2 colonnes, texte aligné à gauche
   pour laisser respirer l'explication vendeuse côté parent. Spécificité à
   2 classes : tient face à `.help-grid { 4 colonnes }` au-delà de 1024 px. */
.help-grid--rich { grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .help-grid--rich { grid-template-columns: repeat(2, 1fr); } }
/* Tuiles enrichies : illustration À DROITE, agrandie et REMONTÉE — elle déborde
   légèrement en haut de la carte (effet voulu) et est SORTIE DU FLUX (position
   absolue) : elle ne pousse plus le texte. Titre + phrase collés en haut à
   gauche, « pourquoi » + filet juste en dessous, sans vide. Le row-gap est
   élargi pour laisser respirer le débordement vers le haut. */
.help-grid--rich { row-gap: 30px; }
.help-grid--rich .help-card { position: relative; text-align: left; padding: 22px 24px; }
.help-grid--rich .help-card-icon { position: absolute; top: -20px; right: 18px; margin: 0; }
.help-grid--rich .help-card-icon img { margin-inline: 0; width: 104px; height: 104px; }
.help-grid--rich .help-card-title { margin: 0 0 4px; padding-right: 116px; font-size: 20px; }
.help-grid--rich .help-card-desc { margin: 0; padding-right: 116px; font-weight: 600; color: var(--color-ink); font-size: 17.5px; }
.help-card-why {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 14, 42, .08);
  font-size: 17px;
  line-height: 1.6;
  color: #4A5072;
}
.help-club-card .help-card-why { border-top-color: rgba(248, 165, 0, .3); }

.help-zeros { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .help-zeros { grid-template-columns: repeat(2, 1fr); } }
.help-zero-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--color-white);
  border: 1px solid rgba(224, 77, 77, .25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.help-zero-icon { flex-shrink: 0; line-height: 1; }
.help-zero-icon img { width: 48px; height: 48px; object-fit: contain; }
.help-zero-title { font-family: var(--font-title); font-weight: 600; font-size: 18px; color: var(--color-ink); margin: 0 0 4px; }
.help-zero-desc { font-size: 15px; line-height: 1.55; color: #4A5072; margin: 0; }

/* Espace parents : carte blanche à liseré bleu */
.help-parents {
  padding: 26px;
  background: var(--color-white);
  border: 1px solid rgba(30, 107, 255, .22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.help-parents-h2 { margin-bottom: 14px; }
.help-parents-row { display: flex; align-items: center; gap: 26px; }
.help-parents-ic { flex: none; width: 120px; height: 120px; object-fit: contain; }
@media (max-width: 560px) {
  .help-parents-row { flex-direction: column; align-items: center; text-align: center; }
}
.help-parents-body { font-size: 18px; line-height: 1.7; color: #3A4066; margin: 0; }

.help-contact { text-align: center; padding-bottom: 10px; }
.help-contact .help-intro { margin: 0 auto 22px; }
.help-contact .btn { display: inline-flex; }

/* Contact : formulaire (même fonctionnement que l'app, habillage vitrine) */
.cform { display: grid; gap: 16px; text-align: left; }
.cform-field { display: grid; gap: 6px; }
.cform-field span {
  font-weight: 800;
  font-size: 15px;
  color: var(--color-ink);
}
.cform-field input,
.cform-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #FBFCFE;
  border: 1px solid #D8DEF0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-ink);
  transition: border-color var(--dur) var(--easing-out), box-shadow var(--dur) var(--easing-out);
}
.cform-field input:focus,
.cform-field textarea:focus {
  outline: none;
  border-color: #0FA3D4;
  box-shadow: 0 0 0 3px rgba(59, 212, 255, .18);
}
.cform-field textarea { resize: vertical; min-height: 140px; }
/* Honeypot : retiré visuellement, présent pour les bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cform-msg { margin: 0; font-weight: 700; font-size: 16px; }
.cform-msg.is-err { color: #C43A3A; }
.cform-msg.is-ok  { color: #157A3E; }
.cform-submit { justify-self: center; }
.cform-or { margin: 0; text-align: center; font-size: 15.5px; color: #4A5072; }
.cform-or a { color: #0FA3D4; text-decoration: underline; }
.cform-or a:hover { color: var(--color-ink); }
.cform-note { margin-top: 14px; text-align: center; font-size: 15.5px; color: #6A7194; }

/* Contact */
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 21.5px;
}

/* ---------- Sélecteur de langue (footer) ---------- */
.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.footer__langs-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-muted);
}

.footer__langs-list { display: flex; gap: 10px; }

.lang-btn {
  display: grid;
  place-items: center;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color var(--dur) var(--easing-out), transform var(--dur) var(--easing-out);
}
.lang-btn svg { display: block; border-radius: 2px; }
.lang-btn:hover { border-color: rgba(59, 212, 255, .45); transform: translateY(-1px); }
.lang-btn[aria-current="page"] { border-color: var(--color-neon); }

/* ---------- Copyright (au-dessus des drapeaux, séparateur en tête) ---------- */
.footer__copyright {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}
.footer__copyright p {
  font-size: 13.5px;
  letter-spacing: .04em;
  color: #8A90AE;
}
.footer__copyright a {
  color: inherit; /* même couleur que le reste de la ligne (Franck 2026-06-12) */
  transition: color var(--dur) var(--easing-out);
}
.footer__copyright a:hover { color: #5AB2F5; }

/* ---------- Gate PIN (avant lancement public — même style que l'app) ---------- */
#enc-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #1E1B4E 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, #141846 0%, transparent 60%),
    #06081A;
  font-family: var(--font-body);
  color: var(--color-cream);
}
#enc-gate[hidden] { display: none; }

.enc-gate-box {
  background: rgba(20, 24, 70, 0.55);
  border: 1px solid rgba(245, 235, 214, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  padding: 36px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .6);
}

.enc-gate-kicker {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-neon);
  margin: 0;
}

.enc-gate-title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 28px;
  margin: 14px 0 8px;
  color: var(--color-cream);
}

.enc-gate-lede {
  font-size: 15.5px;
  color: rgba(245, 235, 214, .62);
  line-height: 1.5;
  margin: 0 0 24px;
}

#enc-gate-pin {
  width: 100%;
  padding: 16px 18px;
  background: rgba(245, 235, 214, .04);
  border: 1px solid rgba(245, 235, 214, .2);
  border-radius: 12px;
  color: var(--color-cream);
  font-size: 24px;
  letter-spacing: .5em;
  text-align: center;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#enc-gate-pin:focus {
  border-color: var(--color-neon);
  box-shadow: 0 0 0 3px rgba(59, 212, 255, .16);
}
#enc-gate-pin.enc-err {
  border-color: #E04D4D;
  box-shadow: 0 0 0 3px rgba(224, 77, 77, .18);
  animation: enc-shake .35s cubic-bezier(.36, .07, .19, .97);
}
@keyframes enc-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

.enc-gate-err {
  color: #E04D4D;
  font-size: 14.5px;
  min-height: 18px;
  margin: 10px 0 0;
}

#enc-gate-go {
  margin-top: 14px;
  width: 100%;
  padding: 14px 20px;
  background: var(--color-neon);
  color: #0A0E2A;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 6px 24px -6px rgba(59, 212, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .15s, box-shadow .2s;
}
#enc-gate-go:hover { transform: translateY(-1px); }
#enc-gate-go:disabled { opacity: .55; cursor: progress; }

/* ============================================================
   Responsive
   ============================================================ */

/* --- Tablette --- */
@media (max-width: 1023.98px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  /* Barre d'achat fixe en bas : prend le relais du bouton header masqué. */
  .buybar {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 11, 33, .92);
    border-top: 1px solid rgba(112, 134, 255, .22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .buybar__cta {
    width: min(100%, 440px);
    justify-content: center;
    box-shadow: 0 6px 22px rgba(6, 10, 35, .45);
  }
  /* Réserve la hauteur de la barre pour ne pas masquer le bas du footer. */
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  .header__bar { position: relative; gap: 16px; padding-right: 16px; }

  .header.is-open .header__nav {
    display: grid;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    gap: 4px;
    padding: 18px 22px;
    background: rgba(7, 11, 33, .96);
    border: 1px solid rgba(112, 134, 255, .22);
    border-radius: 24px;
    box-shadow: var(--shadow-header);
  }
  .header.is-open .header__nav a { padding: 10px 4px; font-size: 18px; }
  .header.is-open .header__nav .header__nav-cta {
    display: inline-flex;
    justify-self: start;
    margin-top: 10px;
    color: #19204D;
  }

  /* voile pour la lisibilité du texte sur l'image */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 10, 35, .5) 0%, rgba(6, 10, 35, .2) 55%, rgba(6, 10, 35, .5) 100%);
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .step { width: min(100%, 470px); }
  .step img { height: auto; width: 100%; max-width: 100%; }
  .step figcaption { font-size: clamp(18px, 3.6vw,20.5px); }

  /* badges « 0 » en pastilles lisibles sur l'image */
  .hero__zeros {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero__zeros li {
    padding: 7px 16px 7px 8px;
    background: rgba(6, 10, 35, .62);
    border: 1px solid rgba(112, 134, 255, .25);
    border-radius: var(--radius-full);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .hero__zeros li:first-child { padding-left: 8px; }

  .univers {
    flex-wrap: wrap;
    justify-content: center;
  }
  .univers__card img { height: 132px; }
  .univers__card span { font-size: 18px; }

  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }

  .zeros { grid-template-columns: repeat(2, 1fr); }
  .pedago { grid-template-columns: 1fr; }
  .pedago__cover { order: -1; }
  .pedago__cover img { width: min(240px, 60%); }
  .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .tomes { grid-template-columns: repeat(2, 1fr); }
}

/* --- Mobile --- */
@media (max-width: 679.98px) {
  /* On masque le slogan ET le sous-titre (la vidéo devient le héros) et on
     recadre vers la droite pour centrer le T-Rex (sinon il est rogné à droite). */
  .hero__slogan { display: none; }
  .hero__sub { display: none; }
  .hero__bg { object-position: 62% center; }
  .hero__inner { padding-top: 120px; }

  .zero__ic { width: 36px; height: 36px; border-width: 1.5px; }
  .zero__ic svg { width: 18px; height: 18px; }
  .zero__label { font-size: 15px; }

  .sheet { margin-top: -36px; border-radius: 100% 100% 0 0 / 30px 30px 0 0; }

  .univers { gap: 14px; }
  .univers__card img { height: 118px; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  .zeros { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .pedago__points { grid-template-columns: 1fr; }
  .demo3d__tabs { flex-wrap: wrap; }
  .nl__row { flex-direction: column; }
  .nl__row .btn { justify-content: center; }
  .final__actions .btn { width: 100%; justify-content: center; }
  .tomes { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .page { padding-top: 104px; }
}

/* --- Mobile portrait : hero plein écran centré sur le T-Rex --- */
@media (max-width: 679.98px) and (orientation: portrait) {
  /* Hero = 70 % de la hauteur de l'écran + 30 px (la vidéo monte assez haut
     pour que la tête du T-Rex passe SOUS la barre de menu). */
  .hero__inner {
    min-height: calc(70vh + 30px);
  }
  /* Vidéo DÉZOOMÉE (on prend du recul) : en réduisant la hauteur couverte, le
     cadrage cover montre plus de largeur → le livre ouvert est davantage visible
     et le T-Rex recule. La vidéo est ANCRÉE EN BAS (le livre reste au bas du
     hero) ; la bande navy du haut (~80 px) reste cachée derrière le menu fixe.
     object-position décalé vers la droite = T-Rex décalé vers la gauche. */
  .hero__bg {
    top: auto;
    bottom: 0;
    height: calc(70vh - 50px);
    object-position: 63.5% center;
  }
}

/* ============================================================
   Page À propos — récit illustré (côté humain & français)
   ============================================================ */
.about-body {
  width: min(1080px, 100%);
  margin: 30px auto 0;
  display: grid;
  gap: 28px;
}

/* En-tête de la page À propos : kicker / titre / sous-titre serrés,
   puis grand espace avant l'illustration hero. */
.page--about { padding-bottom: 96px; }
.page--about h1 { margin: 2px 0 4px; }
.page--about .page__lede {
  font-style: italic;
  font-size: 22px;
  margin-bottom: 44px;
}

/* Séparateur horizontal entre les sections du récit À propos */
.about-sep {
  border: 0;
  height: 1px;
  width: 100%;
  background: rgba(10, 14, 42, .12);
  margin: 0;
}

/* Illustration d'ouverture + visuels de section : cadre arrondi cohérent */
.about-hero-fig {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.about-hero-fig img,
.about-split__media img,
.about-gain__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.about-hero-fig, .about-split__media, .about-gain__media { margin-block: 0; }

/* Surtitre de section */
.about-eyebrow {
  margin: 0 0 7px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.about-eyebrow--light { color: var(--color-gold); }

/* Bloc image + texte (alterné) */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.about-split__text h2 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(21.5px, 2.4vw,28px);
  color: var(--color-ink);
}
.about-split__text p {
  margin: 0 0 12px;
  font-size: 18.5px;
  line-height: 1.65;
  color: #3A4066;
}
.about-split__text p:last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .about-split { grid-template-columns: 1fr 1fr; gap: 38px; }
  .about-split--reverse .about-split__media { order: 2; }
}

/* Carte « fabrique éditoriale » — le cœur humain, liseré doré */
.about-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--color-gold);
  padding: 28px 30px;
}
.about-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(21.5px, 2.4vw,28px);
  color: var(--color-ink);
  text-align: center;
}
.about-card > p { font-size: 18.5px; line-height: 1.65; color: #3A4066; margin: 0 0 16px; }
.about-checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
.about-checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 18px;
  line-height: 1.5;
  color: #3A4066;
}
.about-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
}
.about-card p.about-card__note {
  margin: 0;
  padding: 15px 18px;
  background: #FFF7E0;
  border: 1px solid rgba(248, 165, 0, .28);
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: #5A4A1C;
}

/* Ce que votre enfant y gagne : intro centrée + visuel + 4 piliers */
.about-gain__head { text-align: center; max-width: 640px; margin: 4px auto 20px; }
.about-gain__head h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw,30px);
  color: var(--color-ink);
  margin: 0 0 8px;
}
.about-gain__intro { font-size: 18px; color: #4A5072; margin: 0; }
.about-gain__media { margin: 0 0 24px; }
.about-pillars { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .about-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .about-pillars { grid-template-columns: repeat(4, 1fr); } }
.about-pillar {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  text-align: center;
}
.about-pillar__ic { display: block; width: 56px; height: 56px; object-fit: contain; margin: 0 auto 10px; }
.about-pillar h3 { font-family: var(--font-title); font-weight: 600; font-size: 18.5px; color: var(--color-ink); margin: 0 0 6px; }
.about-pillar p { font-size: 15.5px; line-height: 1.5; color: #4A5072; margin: 0; }

/* Nos engagements : bande cosmique sombre */
.about-promises {
  background: linear-gradient(165deg, #141846 0%, #0A0E2A 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 34px 28px;
}
.about-promises__head { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.about-promises__head h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw,30px);
  color: #fff;
  margin: 0 0 8px;
}
.about-promises__intro { font-size: 18px; color: var(--color-cream); margin: 0; }
.about-promises__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .about-promises__grid { grid-template-columns: repeat(2, 1fr); } }
.about-promise {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(112, 134, 255, .22);
  border-radius: 16px;
  padding: 16px 18px;
}
.about-promise img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.about-promise h3 { font-family: var(--font-title); font-weight: 600; font-size: 18px; color: #fff; margin: 0 0 4px; }
.about-promise p { font-size: 15px; line-height: 1.55; color: var(--color-cream); margin: 0; }
.about-promise--gold {
  margin-top: 14px;
  background: linear-gradient(180deg, rgba(252, 201, 32, .14), rgba(248, 160, 0, .07));
  border-color: rgba(252, 201, 32, .42);
}
.about-promise--gold h3 { color: var(--color-gold); }

/* Appel final */
.about-cta {
  text-align: left;
}
.about-cta h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw,30px);
  color: var(--color-ink);
  margin: 0 0 8px;
  text-align: center;
}
.about-cta p { font-size: 19px; line-height: 1.7; color: #3A4066; margin: 0 0 20px; max-width: none; text-align: justify; }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.about-cta__link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  color: #0FA3D4;
  text-decoration: underline;
}
.about-cta__link:hover { color: var(--color-ink); }

/* Frise — le livre s'est toujours réinventé */
.about-hist__head { text-align: center; max-width: 700px; margin: 4px auto 22px; }
.about-hist__head h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw,30px);
  color: var(--color-ink);
  margin: 0 0 8px;
}
.about-hist__intro { font-size: 19px; line-height: 1.6; color: #4A5072; margin: 0; }
.about-hist__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) { .about-hist__track { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.about-hist__step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  border-top: 4px solid transparent;
}
.about-hist__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 12px;
}
.about-hist__step h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--color-ink);
  margin: 0 0 6px;
}
.about-hist__step p { font-size: 15.5px; line-height: 1.55; color: #4A5072; margin: 0; }
.about-hist__step--now { border-top-color: var(--color-gold); }
.about-hist__step--now .about-hist__num {
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-deep));
}

/* Conviction — faut-il choisir entre le livre et l'écran (le cœur du message) */
.about-conv__head { text-align: center; max-width: 700px; margin: 4px auto 20px; }
.about-conv__head h2 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw,30px);
  color: var(--color-ink);
  margin: 0;
}
.about-conv__duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0 0 22px;
}
@media (min-width: 640px) { .about-conv__duo { grid-template-columns: 1fr 1fr; } }
.about-conv__col {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  border-top: 4px solid transparent;
}
.about-conv__col--paper { border-top-color: var(--color-gold); }
.about-conv__col--screen { border-top-color: #0FA3D4; }
.about-conv__col h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20.5px;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.about-conv__col p { font-size: 18px; line-height: 1.6; color: #3A4066; margin: 0; }
.about-conv__punch {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(21.5px, 2.6vw,29px);
  line-height: 1.35;
  color: var(--color-ink);
  max-width: 760px;
  margin: 6px auto 22px;
}
.about-conv__punch em { font-style: normal; }
.about-conv__punch .cv-against { color: #9197AE; }
.about-conv__punch .cv-with { color: var(--color-gold-deep); }
.about-conv__note {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #FFF7E0;
  border: 1px solid rgba(248, 165, 0, .28);
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: #5A4A1C;
  text-align: center;
}

/* Conviction — variante récit : paragraphes centrés + tagline dorée */
.about-conv__p {
  max-width: none;
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.7;
  color: #3A4066;
  text-align: justify;
}
.about-conv__tag {
  max-width: 720px;
  margin: 10px auto 0;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(19.5px, 2.2vw,26px);
  line-height: 1.4;
  color: var(--color-gold-deep);
}
/* EN : la tagline « augmented book… » est un poil plus longue qu'en FR/ES/IT
   → on élargit (EN uniquement) pour qu'elle tienne sur UNE ligne sur desktop. */
html[lang="en"] .about-conv__tag { max-width: 800px; }

/* Liens inline dans le récit À propos */
.about-card__note a,
.about-conv__p a,
.about-split__text a { color: var(--color-gold-deep); text-decoration: underline; }
.about-card__note a:hover,
.about-conv__p a:hover,
.about-split__text a:hover { color: var(--color-ink); }

/* Accroche italique sous le titre de la section Présentation (zone vidéo masquée) */
/* Accroche sous « Le livre que… » : italique + pleine largeur de la colonne
   centrale (on retire le max-width 620px hérité de .band__lede). */
.band__lede--hook { font-style: italic; max-width: none; }

/* ============================================================
   Page détail d'un tome (/tome?slug=…) — habillage clair vitrine
   ============================================================ */
/* min(1080px, 100% - 40px) : plafond 1080px desktop + gouttière de 20px/côté
   sur mobile (sinon le contenu touchait les bords de l'écran). */
.page--tome .container { width: min(1080px, 100% - 40px); }
.tome-loading { text-align: center; color: #6A7194; padding: 48px 0; font-size: 16px; }

.tome-detail { display: grid; gap: 36px; margin-top: 20px; }
.tome-detail--empty { text-align: center; gap: 22px; }

.tome-head { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 760px) { .tome-head { grid-template-columns: 290px 1fr; gap: 44px; } }
.tome-cover img {
  display: block; width: 100%; max-width: 290px; margin: 0 auto; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.tome-num {
  margin: 0 0 6px; font-family: var(--font-title); font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--color-gold-deep);
}
.page--tome .tome-title {
  margin: 0 0 12px; font-family: var(--font-title); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; color: var(--color-ink);
  text-align: left;     /* sinon centré par la règle générique .page h1 */
}
.tome-badge { display: inline-block; margin: 0 0 16px; position: static; }
/* Sur la page tome (fond clair), texte foncé lisible — les couleurs .cat-badge-*
   d'origine sont pensées pour les couvertures sombres des cartes catalogue. */
.tome-badge.cat-badge-live    { background: rgba(31, 164, 94, .12);  border-color: #6BD49A; color: #1B8E51; }
.tome-badge.cat-badge-soon    { background: rgba(233, 196, 106, .16); border-color: #E9C46A; color: #957517; }
.tome-badge.cat-badge-project { background: rgba(120, 130, 170, .10); border-color: #C8CFE4; color: #6B739A; }
.tome-desc { margin: 0 0 22px; font-size: 18px; line-height: 1.65; color: #3A4066; max-width: 560px; }
.tome-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tome-ship {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-weight: 600; font-size: 15px;
  color: var(--color-gold-deep);
}
.tome-ship svg { width: 22px; height: 22px; flex: none; }
.tome-cta-soon {
  display: inline-block; padding: 13px 26px; border-radius: var(--radius-full);
  background: #E7EAF3; color: #8A90AE; font-family: var(--font-title); font-weight: 600; font-size: 16px;
}

.tome-h2 {
  margin: 0 0 20px; text-align: center; font-family: var(--font-title); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px); color: var(--color-ink);
}
.tome-chaps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tome-chap {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  background: var(--color-white); border-radius: 16px; box-shadow: var(--shadow-card);
  border-left: 5px solid var(--chap, var(--color-neon));
}
.tome-chap-emoji { font-size: 22px; line-height: 1; flex: none; }
.tome-chap-titre { font-family: var(--font-title); font-weight: 600; font-size: 15.5px; color: var(--color-ink); }

.tome-fiches { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.tome-fiche { text-align: center; }
.tome-fiche-img img {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 16px; box-shadow: var(--shadow-card);
}
.tome-fiche-titre { display: block; margin-top: 9px; font-family: var(--font-title); font-weight: 600; font-size: 14.5px; color: var(--color-ink); }

.tome-back-wrap { text-align: center; margin-top: 6px; }
.tome-back { font-family: var(--font-title); font-weight: 600; font-size: 15px; color: #0FA3D4; text-decoration: none; }
.tome-back:hover { text-decoration: underline; }

/* Popup « Me prévenir de la sortie » */
.tome-notify {
  position: fixed; inset: 0; z-index: 200; padding: 20px;
  background: rgba(6, 10, 35, .55); display: grid; place-items: center;
}
.tome-notify__box {
  position: relative; width: 100%; max-width: 420px; text-align: center;
  background: var(--color-white); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32); padding: 30px 26px;
}
.tome-notify__close {
  position: absolute; top: 10px; right: 12px; border: none; background: none;
  font-size: 22px; line-height: 1; color: #8A90AE; cursor: pointer;
}
.tome-notify__title { margin: 0 0 8px; font-family: var(--font-title); font-weight: 600; font-size: 21px; color: var(--color-ink); }
.tome-notify__lede { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: #4A5072; }
.tome-notify__form { display: grid; gap: 12px; }
.tome-notify__email {
  padding: 13px 16px; border: 1.5px solid #D5DAEA; border-radius: 12px;
  font-size: 16px; font-family: var(--font-body); color: var(--color-ink);
}
.tome-notify__email:focus { outline: none; border-color: var(--color-neon); }
.tome-notify__msg { margin: 14px 0 0; font-weight: 700; font-size: 14.5px; }
.tome-notify__msg.is-ok { color: #1E9E5A; }
.tome-notify__msg.is-err { color: #E04D4D; }


/* ===================================================================
   HARMONISATION TYPOGRAPHIQUE — surtitre / titre / sous-titre (tout le site)
   Surtitre : orange, centré, majuscules · Titre : centré + picto étincelle
   des deux côtés (taille principale OU secondaire) · Sous-titre : italique centré.
   =================================================================== */

/* --- Surtitre --- */
.band__kicker, .help-kicker, .page__kicker, .about-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  text-align: center;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin: 0 0 12px;
}
.about-eyebrow--light { color: var(--color-gold); } /* meilleure lisibilité sur fond sombre */

/* --- Titre : centré + picto des deux côtés --- */
.band__title, .help-h2, .coll-end-title, .about-conv__punch, .page__kicker + h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  text-align: center;
}
.band__title::before, .band__title::after,
.help-h2::before, .help-h2::after,
.coll-end-title::before, .coll-end-title::after,
.about-conv__punch::before, .about-conv__punch::after,
.page__kicker + h1::before, .page__kicker + h1::after {
  content: "";
  flex: none;
  width: .6em;
  height: .6em;
  background: var(--color-gold-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202c.6%204.8%202.3%206.7%207%207.4-4.7.8-6.4%202.7-7%207.6-.6-4.9-2.3-6.8-7-7.6%204.7-.7%206.4-2.6%207-7.4Z'/%3E%3Ccircle%20cx='19.5'%20cy='17.5'%20r='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%202c.6%204.8%202.3%206.7%207%207.4-4.7.8-6.4%202.7-7%207.6-.6-4.9-2.3-6.8-7-7.6%204.7-.7%206.4-2.6%207-7.4Z'/%3E%3Ccircle%20cx='19.5'%20cy='17.5'%20r='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.band__title::after, .help-h2::after, .coll-end-title::after, .about-conv__punch::after, .page__kicker + h1::after { transform: scaleX(-1); }

/* Tailles : principal très grand, secondaire relatif */
.page__kicker + h1 { font-size: clamp(36px, 5vw, 60px); }
.band__title, .help-h2, .coll-end-title, .about-conv__punch { font-size: clamp(28px, 3.6vw, 42px); }

/* --- Sous-titre (court) : centré, italique --- */
.band__lede, .page__lede, .about-promises__intro, .coll-end-intro {
  text-align: center;
  font-style: italic;
  margin-left: auto;
  margin-right: auto;
}
/* --- Texte d'introduction (paragraphe) : justifié, normal — PAS un sous-titre --- */
.help-intro, #demo .band__lede, .coll-overview .page__lede {
  text-align: justify;
  font-style: normal;
  margin-left: auto;
  margin-right: auto;
}
/* Intros courtes traitées comme un sous-titre : centrées et en italique */
.help-intro.tresor-intro,
.help-intro.is-subtitle {
  text-align: center;
  font-style: italic;
}

/* Accueil — section « fonctionnalités » : un peu d'air entre l'intro et les cartes */
#features .help-intro { margin-bottom: 40px; }

/* Accueil — section « Club » : l'intro pleine largeur, centrée et en italique */
#accueil-club .help-intro { max-width: none; text-align: center; font-style: italic; }

/* Accueil — section démo « La 3D pour tout comprendre » : texte centré (pas justifié) */
#demo .band__lede { text-align: center; }

/* Comment ça marche — mockup sous le sous-titre des étapes (centré, responsive) */
.help-mockup {
  width: min(820px, 100%);
  margin: 18px auto 28px;
}
.help-mockup img {
  display: block;
  width: 100%;
  height: auto;
}

/* Comment ça marche — lien « Club des Explorateurs » dans le bloc parents : orange souligné */
.help-parents-body a {
  color: var(--color-gold-deep);
  text-decoration: underline;
}
.help-parents-body a:hover { color: var(--color-gold); }

/* Club — lede « Huit bonnes raisons… » : centré, italique, pleine largeur */
.help-intro.club-adv-lede {
  max-width: none;
  text-align: center;
  font-style: italic;
}
