/* Page /v2/ (et /de/v2/). style.css et v2.css sont chargés AVANT : polices,
   pied de page, carte de Suisse, démo Flash, types de questions. Tout ce qui
   est propre à la page vit sous `.mm`. Règles de la page :
   1. le VERT n'existe que sur les boutons d'inscription ;
   2. une seule animation au-dessus du pli, qui mène au bouton ;
   3. la preuve (chiffres, fondateurs, labels) est visible sans défiler.
   Ordre du fichier : jetons, base, composants, sections dans l'ordre de la
   page (chacune suivie de ses media queries), politique de mouvement. */

/* ═══ Base ═══ */
body.mm { background: #fff; color: var(--m-dark); font-size: 17px; }
.mm main { display: block; }
.mm main img { display: block; max-width: 100%; height: auto; }
/* Remises à zéro en :where() : elles ne doivent battre aucune règle de section. */
.mm :where(h1, h2) { font-family: var(--f-head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.mm :where(p) { margin: 0; }
/* Ligatures (fi, fl) : le raccourci `font:` les remet à « normal » ; !important
   pour qu'aucun ordre de règles ne les rallume. */
.mm *, .mm *::before, .mm *::after {
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "clig" 0 !important;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ═══ Composant : lien texte de fin de section ═══ */
.sec-more { display: inline-block; margin-top: 18px; font: 700 15px var(--f-sec); color: var(--m-accent-deep); text-decoration: none; }
html:not(.kwz-touch) .sec-more:hover { text-decoration: underline; }

/* ═══ Composant : onglets (rail gris, onglet actif en pastille blanche) ═══
   Un contrôle compact prend l'anneau violet au survol et s'enfonce au clic. */
.modes-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: #F3F4F8; margin-bottom: 16px; }
.mtab { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--m-muted); cursor: pointer; font: 700 15px var(--f-sec); transition: box-shadow .14s ease, transform .05s ease, color .15s ease, background .15s ease; }
html:not(.kwz-touch) .mtab:hover { color: var(--m-dark); box-shadow: 0 0 0 2.5px rgba(91,108,249,.5); }
.mtab.is-active { background: #fff; color: var(--m-dark); box-shadow: 0 2px 8px rgba(45,45,58,.12); }
.mtab:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 2px; }
.mtab:active { transform: scale(.97); }
@media (max-width: 720px) { .mtab { padding: 9px 12px; font-size: 14px; } }


/* ═══ Composant : ce qui ouvre une preuve dans la visionneuse ═══ */
.price-proof { cursor: pointer; border-radius: 10px; padding: 5px 8px; margin: -5px -8px; transition: background .15s ease; }
html:not(.kwz-touch) .price-proof:hover { background: rgba(91,108,249,.07); }
.price-proof:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 2px; }
.price-proof-t { flex: 1; min-width: 0; }

/* ═══ Composant : la visionneuse des preuves (fond sombre, captures isolées ;
   un clic à côté des médias ferme) ═══ */
.proof-box { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 72px 4vw 40px; border: 0; background: transparent; overflow: auto; }
.proof-box[open] { display: flex; align-items: center; justify-content: center; }
.proof-box::backdrop { background: rgba(21,23,43,.86); backdrop-filter: blur(6px); }
.proof-close { position: fixed; top: 18px; right: 18px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.proof-close svg { width: 22px; height: 22px; }
html:not(.kwz-touch) .proof-close:hover { background: rgba(255,255,255,.26); }
.proof-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.proof-media { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.proof-media video { display: block; width: min(1100px, 100%); max-height: calc(100vh - 140px); border-radius: 14px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
/* UNE capture à la fois, en grand, qu'on fait défiler (02.10.2026). */
.proof-strip { display: flex; align-items: center; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.proof-strip::-webkit-scrollbar { display: none; }
.proof-strip figure { flex: 0 0 100%; margin: 0; padding: 0 64px; box-sizing: border-box; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.proof-strip img { display: block; max-width: min(1400px, 100%); max-height: calc(100vh - 220px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.proof-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s ease, opacity .15s ease; z-index: 1; }
.proof-nav svg { width: 24px; height: 24px; }
.proof-prev { left: 18px; }
.proof-next { right: 18px; }
html:not(.kwz-touch) .proof-nav:hover:not(:disabled) { background: rgba(255,255,255,.26); }
.proof-nav:disabled { opacity: .3; cursor: default; }
.proof-nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.proof-count { margin: 0; font: 600 15px var(--f-sec); color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.proof-strip figcaption { margin-top: 16px; max-width: 520px; font-size: 17px; line-height: 1.45; color: #fff; text-align: center; }
.proof-strip figcaption b { display: block; font: 700 20px var(--f-sec); color: #fff; margin-bottom: 4px; }
.proof-media video.is-portrait { width: auto; max-width: 100%; }
/* Vidéo du Guide (YouTube) : cadre 16:9 borné par la hauteur de l'écran. */
.proof-yt { width: min(1100px, 100%, calc((100vh - 200px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; font: 600 16px var(--f-sec); }
.proof-yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.proof-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.proof-tabs button { border: 0; border-radius: 999px; padding: 9px 16px; font: 600 15px var(--f-sec); color: #fff; background: rgba(255,255,255,.14); cursor: pointer; transition: background .15s ease, color .15s ease; }
html:not(.kwz-touch) .proof-tabs button:hover { background: rgba(255,255,255,.26); }
.proof-tabs button[aria-pressed="true"] { background: #fff; color: #2D2D3A; }
.proof-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.proof-pdf { font: 700 16px var(--f-sec); color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.5); }
html:not(.kwz-touch) .proof-pdf:hover { text-decoration-color: #fff; }
@media (max-width: 860px) {
  .proof-strip figure { padding: 0 8px; }
  .proof-nav { display: none; }   /* au doigt on glisse ; le compteur reste */
}
/* Le visualiseur des types de questions (v2-qtypes.js) parle comme la
   visionneuse : même voile, légende en titre gras + description. */
.mm .kv2-zoom { background: rgba(21,23,43,.86); z-index: 2147483000; padding: 72px 4vw 40px; }
.mm .kv2-zoom-inner { width: min(900px, 100%); }
.mm .kv2-zoom-cap { margin: 16px auto 0; text-align: center; max-width: 520px; font-size: 17px; line-height: 1.45; color: #fff; }
.mm .kv2-zoom-cap b { display: block; font: 700 20px var(--f-sec); color: #fff; margin-bottom: 4px; }

/* ═══ Hero : la preuve, la promesse, le bouton et ses trois doutes levés ;
   à droite (dessous au téléphone) le parcours d'un élève dans Kwiiz Quest,
   sur un ciel étoilé qui se lève en dégradé. ═══ */
.hero { position: relative; padding: 40px 20px 0; text-align: center; overflow: hidden; }
/* La lueur violette du hero de la home, sous le texte. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 12%, rgba(91, 108, 249, .20), transparent 70%),
    radial-gradient(45% 45% at 30% 95%, rgba(124, 58, 237, .10), transparent 70%);
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-proof { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--f-sec); color: var(--m-muted); margin-bottom: 18px; }
.hero-proof b { color: var(--m-dark); }
/* Les Kwiix des enseignants, ronds et qui se chevauchent, chacun devant le suivant. */
.hero-faces { display: inline-flex; }
.hero-faces img { position: relative; width: 38px; height: 38px; margin-left: -12px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--m-accent-soft); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(45,45,58,.15); object-fit: contain; }
.hero-faces img:first-child { margin-left: 0; }
.hero-faces img:nth-child(1) { z-index: 4; } .hero-faces img:nth-child(2) { z-index: 3; } .hero-faces img:nth-child(3) { z-index: 2; } .hero-faces img:nth-child(4) { z-index: 1; }
.hero h1 { font-size: 54px; }
.hero h1 em { font-style: normal; color: var(--m-accent); display: block; }
.hero-sub { font-size: 20px; color: var(--m-muted); max-width: 580px; margin: 18px auto 28px; }
.hero-sub b { color: var(--m-dark); font-family: var(--f-sec); }
/* Le bouton et le Kwiix qui le montre : la figure flotte, son ombre au sol se resserre. */
.hero-cta { display: inline-flex; align-items: center; gap: 4px; }
.cue { display: inline-flex; align-items: center; color: var(--m-accent); margin-left: -150px; }
.cue-kwiix { position: relative; width: 70px; height: 70px; }
.cue-kwiix img { width: 70px; height: 70px; animation: kv2-coach-float 3.4s ease-in-out infinite; }
.cue-shadow { position: absolute; left: 21%; bottom: -8px; width: 58%; height: 8px; border-radius: 50%; background: rgba(45,45,58,.30); filter: blur(4px); animation: kv2-coach-shadow 3.4s ease-in-out infinite; }
.cue-arrow { width: 72px; height: 44px; margin-top: -14px; animation: kwz-nudge 1.8s ease-in-out infinite; }
@keyframes kwz-nudge { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(6px) } }
.doubts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font: 600 14px var(--f-sec); color: var(--m-muted); }
.doubts li { display: inline-flex; align-items: center; gap: 6px; }
.doubts svg { width: 16px; height: 16px; color: var(--m-accent); }
.hero-browse { display: inline-block; margin-top: 16px; font: 600 15px var(--f-sec); color: var(--m-accent-deep); text-decoration: none; }
html:not(.kwz-touch) .hero-browse:hover { text-decoration: underline; }

.qhero { position: relative; display: flex; flex-direction: column; align-items: center; }
.qhero-sky { position: absolute; z-index: 0; pointer-events: none; overflow: hidden; background: var(--m-night); }
.qhero-phone { position: relative; z-index: 2; margin: 0; width: 270px; border-radius: 38px; padding: 8px; background: #0B0C1A; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.45), 0 0 80px rgba(91,108,249,.35); }
.qhero-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.qhero-planet { position: absolute; z-index: 1; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
/* La planète du bas pointe vers le Kwiiz qu'elle contient. */
.qhero-quiz { position: absolute; z-index: 3; margin: 0; width: 168px; }
.qhero-quiz img { display: block; width: 100%; height: auto; border-radius: 20px; border: 5px solid #0B0C1A; box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); }
.qhero-arrow { position: absolute; z-index: 3; width: 110px; height: auto; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
/* Saturne et son Kwiix flottent au-dessus du Kwiiz (ornement). */
.qhero-saturn { position: absolute; z-index: 4; pointer-events: none; }
.qhero-saturn img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); animation: kv2-coach-float 4.2s ease-in-out infinite; }
.qhero-cap { position: relative; z-index: 2; margin: 18px 0 0; max-width: 320px; text-align: center; font: 600 14px/1.45 var(--f-sec); color: rgba(255,255,255,.82); }
.qhero-cap b { color: #fff; }

@media (max-width: 1000px) {
  .hero h1 { font-size: 44px; }
}
/* Téléphone et tablette : la nuit se lève lentement sous le texte (fondu long). */
@media (max-width: 1023px) {
  .qhero-sky { top: auto; left: 0; right: 0; bottom: 0; height: 830px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.2) 45px, rgba(0,0,0,.6) 90px, rgba(0,0,0,.9) 125px, #000 150px);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0,0,0,.2) 45px, rgba(0,0,0,.6) 90px, rgba(0,0,0,.9) 125px, #000 150px); }
  .qhero { margin-top: 190px; padding: 40px 0 44px; }
  .qhero-phone { width: 230px; }
  .qhero-p1 { width: 60px; left: 0; top: 265px; }
  .qhero-p2 { width: 42px; right: 6px; top: 40px; }
  .qhero-quiz { right: 4px; bottom: 120px; width: 116px; transform: rotate(4deg); }
  .qhero-quiz img { border-width: 4px; border-radius: 14px; }
  .qhero-arrow { display: none; }
  .qhero-saturn { width: 120px; right: 4px; top: auto; bottom: 385px; }
}
/* Tablette : téléphone, planètes, Saturne et Kwiiz resserrés au centre, avec la flèche. */
@media (min-width: 721px) and (max-width: 1023px) {
  .qhero { width: 640px; margin-left: auto; margin-right: auto; }
  .qhero-phone { width: 250px; }
  .qhero-p1 { width: 80px; left: 30px; top: 280px; }
  .qhero-p2 { width: 54px; left: 90px; top: 20px; right: auto; }
  .qhero-saturn { width: 150px; right: auto; left: calc(50% + 140px); top: 70px; bottom: auto; }
  .qhero-quiz { right: auto; bottom: auto; left: calc(50% + 150px); top: 240px; width: 150px; }
  .qhero-arrow { display: block; left: calc(50% + 50px); top: 390px; width: 100px; }
}
@media (max-width: 720px) {
  .hero { padding-top: 26px; }
  .hero-proof { font-size: 13px; margin-bottom: 14px; gap: 8px; }
  .hero-faces img { width: 30px; height: 30px; margin-left: -9px; padding: 3px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 17px; margin: 14px auto 22px; }
  .cue { display: none; }
  .hero-cta { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
  .hero-cta .mb { display: flex; width: 100%; }
  .doubts { gap: 6px 14px; font-size: 13px; }
  /* Sous le pli, la tablette JOUABLE de la page A (bascule classique / Flash, coach)
     remplace la scène Kwiiz Quest (26.09.2026) : minimal.js y déplace #kv2Visual depuis
     l'onglet Flash. 36 px d'air avant « Créé à Bienne ». */
  .qhero-sky, .qhero { display: none; }
  .hero-demo { display: block; margin: 30px auto 0; padding: 0 16px 36px; --kv2-gutter: 16px; }
  .hero-demo .kv2-hero-visual { display: flex; flex-direction: column; align-items: center; }
  .hero-demo .kv2-coach-desk { display: none; }
  .hero-demo .kv2-coach-mob { margin-bottom: 0; }
}
/* Au-delà du téléphone, le hero garde sa scène. En media query et non en règle nue :
   une règle nue écrite après le bloc téléphone l'emportait et masquait la tablette
   sur téléphone (en ligne le 26.09 de 11:35 à ~12:30, sans erreur nulle part). */
@media (min-width: 721px) { .hero-demo { display: none; } }
/* Ordinateur : deux colonnes, le texte sur fond clair à gauche, la nuit en
   dégradé à droite (jamais une ligne nette). Le ciel monte sous la barre. */
@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 40px; margin: calc(-1 * var(--header-h)) auto 0; padding: calc(36px + var(--header-h)) max(24px, calc((100vw - 1120px) / 2)) 48px; text-align: left; }
  .hero-copy { max-width: 600px; margin: 0; }
  .hero-proof { margin-bottom: 28px; }
  .hero h1 { font-size: clamp(36px, 3vw, 42px); }
  .hero h1 em { white-space: nowrap; }
  .hero-sub { margin: 24px 0 38px; }
  .hero-cta { display: block; }
  .cue { display: none; }
  .doubts { justify-content: flex-start; margin-top: 24px; }
  .hero-browse { margin-top: 20px; }
  .qhero-sky { top: 0; bottom: 0; right: 0; width: 60%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 32%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 32%, #000 58%); }
  /* Le téléphone et son Kwiiz forment UN groupe, recentré pour ne pas sortir de l'écran. */
  .qhero { z-index: 1; transform: translateX(-70px); }
  .qhero-p1 { width: 92px; left: -30px; top: 40px; }
  .qhero-p2 { width: 58px; right: 10px; top: 0; }
  .qhero-quiz { left: calc(50% + 190px); top: 300px; transform: rotate(4deg); }
  .qhero-arrow { left: calc(50% + 80px); top: 430px; }
}
/* Petits portables : le groupe est réduit, sans flèche ni petite planète. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .qhero { transform: translateX(-10px) scale(.8); transform-origin: 50% 0; }
  .qhero-p2, .qhero-arrow { display: none; }
  .qhero-quiz { left: calc(50% + 60px); top: 220px; }
  .qhero-saturn { width: 150px; left: calc(50% + 90px); top: 40px; }
}
@media (min-width: 1280px) { .qhero-saturn { width: 190px; left: calc(50% + 180px); top: 110px; } }
/* Ordinateur : la scène PRODUIT remplace la scène Kwiiz Quest (27.09.2026) — deux
   portables (28.09.2026), un Kwiiz classique en haut et une révision Flash de
   vocabulaire en bas, la flèche descend de l'un à l'autre. Captures prises dans une
   fenêtre de 1000 px pour rester lisibles à cette taille. Tablette et téléphone
   gardent leur scène (et leur démo). */
.qscene { display: none; }
@media (min-width: 1024px) {
  .qhero { display: none; }
  .qscene { display: block; position: relative; z-index: 1; height: 614px; }
  .qs-dev { position: absolute; z-index: 2; margin: 0; width: 72%; }
  .qs-lid { padding: 8px 8px 12px; border-radius: 12px 12px 4px 4px; background: #0B0C1A; box-shadow: 0 0 0 1px rgba(255,255,255,.09), inset 0 0 0 2px #1A1C2E; }
  .qs-lid > img { display: block; width: 100%; height: auto; border-radius: 3px; }
  .qs-base { position: relative; height: 11px; margin: 0 -7%; border-radius: 2px 2px 12px 12px; background: linear-gradient(180deg, #3B3E55 0%, #20223A 60%, #14152A 100%); box-shadow: 0 18px 30px rgba(0,0,0,.5); }
  .qs-base::before { content: ''; position: absolute; left: 42%; top: 0; width: 16%; height: 5px; border-radius: 0 0 6px 6px; background: #0E0F1F; }
  .qs-classic { left: 9%; top: 56px; filter: drop-shadow(0 0 50px rgba(91,108,249,.30)); }
  .qs-flash { right: -2%; top: 250px; z-index: 3; filter: drop-shadow(0 0 50px rgba(245,158,11,.30)); }
  .qs-tag { position: absolute; z-index: 5; left: 50%; top: -40px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; white-space: nowrap; font: 800 13px var(--f-sec); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
  .qs-tag svg { width: 16px; height: 16px; }
  .qs-tag-classic { background: var(--m-accent); }
  .qs-tag-flash { top: auto; bottom: -46px; background: linear-gradient(135deg, #F59E0B, #EA580C); }
  .qs-link { position: absolute; z-index: 4; left: 82%; top: 146px; width: 18%; max-width: 118px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
  .qs-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .qscene { height: 586px; }
  .qs-flash { top: 238px; }
  .qs-link { top: 132px; }
}

/* ═══ Accueil, ordinateur : le hero ET le bandeau des preuves tiennent dans le
   premier écran (demande Quentin, 07.10.2026). `.fold` (index.html seulement, la
   page parents n'est pas concernée) fait au moins la hauteur de l'écran sous la
   barre : le bandeau se pose au bas de l'écran, le hero prend le reste. La scène
   des portables se règle sur la HAUTEUR de l'écran (--qs-h) : sa boîte garde ses
   proportions (aspect-ratio), et tout y est placé en pourcentages, donc elle se
   réduit d'un bloc. Sous 860 px de haut, les marges du texte se resserrent. ═══ */
@media (min-width: 1024px) {
  .fold { display: flex; flex-direction: column; min-height: min(calc(100svh - var(--header-h)), 900px); }
  .fold > .hero { flex: 1 0 auto; padding-top: calc(20px + var(--header-h)); padding-bottom: 28px; }
  /* « Voir d'abord la bibliothèque » à droite du bouton ; les trois garanties dessous. */
  .fold .hero-copy { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 26px; }
  .fold .hero-copy > * { grid-column: 1 / -1; }
  .fold .hero-proof { justify-self: start; }
  .fold .hero-cta { grid-column: 1; grid-row: 4; }
  .fold .hero-browse { grid-column: 2; grid-row: 4; justify-self: start; margin: 0; }
  .fold .doubts { grid-row: 5; }
  .fold .qscene { --qs-h: clamp(380px, calc(100svh - 250px), 614px); height: auto; aspect-ratio: 482 / 614; width: min(100%, calc(var(--qs-h) * 482 / 614)); justify-self: center; align-self: center; }
  .fold .qs-classic { top: 9.1%; }
  .fold .qs-flash { top: 40.7%; }
  .fold .qs-link { top: 23.8%; }
  /* Étiquettes et légende suivent la scène (unités de sa largeur, cqw), sinon la
     scène réduite garde des étiquettes pleine taille et « Flash Kwiiz » mord la légende.
     Valeurs = celles de la scène pleine (482 px) divisées par 4,82. */
  .fold .qscene { container-type: inline-size; }
  .fold .qs-tag { top: -8.3cqw; gap: 1.45cqw; padding: 1.45cqw 2.7cqw; font-size: max(11px, 2.7cqw); }
  .fold .qs-tag svg { width: 3.3cqw; height: 3.3cqw; }
  .fold .qs-tag-flash { top: auto; bottom: -9.5cqw; }
  .fold .qs-cap { max-width: 84cqw; font-size: max(12px, 2.9cqw); }
}
/* Test A/B n°4 (26.10.2026, docs/ab-test-accueil.md ; même géométrie que le bras B du test n°3, arrêté) :
   nginx pose data-qcm="b" sur <html> pour la moitié des visiteurs et remplace l'image du portable classique par
   le QCM ; ici, ce portable passe DEVANT, à la place du Flash, et les étiquettes suivent leur portable.
   Sans l'attribut (ou « a »), rien ne change : la scène reste celle du Flash devant. */
@media (min-width: 1024px) {
  html[data-qcm="b"] .qs-classic { left: auto; right: -2%; top: 250px; z-index: 3; }
  html[data-qcm="b"] .qs-flash { right: auto; left: 9%; top: 56px; z-index: 2; }
  html[data-qcm="b"] .qs-tag-classic { top: auto; bottom: -46px; }
  html[data-qcm="b"] .qs-tag-flash { top: -40px; bottom: auto; }
  html[data-qcm="b"] .fold .qs-classic { top: 40.7%; }
  html[data-qcm="b"] .fold .qs-flash { top: 9.1%; }
  html[data-qcm="b"] .fold .qs-tag-classic { top: auto; bottom: -9.5cqw; }
  html[data-qcm="b"] .fold .qs-tag-flash { top: -8.3cqw; bottom: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  html[data-qcm="b"] .qs-classic { top: 238px; }
  html[data-qcm="b"] .qs-flash { top: 56px; }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .fold .hero-proof { margin-bottom: 16px; }
  .fold .hero-sub { margin: 16px 0 26px; }
  .fold .doubts { margin-top: 18px; }
  .fold .trust-in { padding-top: 16px; padding-bottom: 16px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .fold .hero h1 { font-size: 34px; }
  .fold .hero-sub { font-size: 18px; margin: 12px 0 20px; }
}

/* ═══ Preuves officielles, juste sous le pli (accueil et parents, 29.09.2026).
   Deux blocs jumeaux, une marque à gauche de trois lignes (affirmation,
   source, lien). « PER » / « LP 21 » sont de simples lettres : aucun logo de
   la CIIP ni de la BKZ sans accord écrit. ═══ */
/* padding: 0 : la règle « section » du téléphone (style.css, 64 px) ajoutait un grand vide au bandeau ; ses marges sont dans .trust-in. */
.trust { padding: 0; border-top: 1px solid var(--m-line); border-bottom: 1px solid var(--m-line); background: #FAFBFF; position: relative; z-index: 2; }
.trust-in { max-width: 1120px; margin: 0 auto; padding: 26px 20px; display: grid; grid-template-columns: 1fr 1fr; }
.tp { display: flex; align-items: center; justify-content: center; gap: 20px; min-width: 0; padding: 0 28px; }
.tp + .tp { border-left: 1px solid var(--m-line); }
.tp-mark { flex: none; display: grid; place-items: center; }
a.tp-mark { border-radius: 8px; padding: 4px; margin: -4px; transition: box-shadow .14s ease, transform .05s ease; }
html:not(.kwz-touch) a.tp-mark:hover { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5); }
a.tp-mark:active { transform: scale(.97); }
a.tp-mark:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 4px; }
.tp-mark img { display: block; height: auto; }
/* Page parents : les deux fondateurs à la place du label (deux visages qui se chevauchent). */
.tp-faces { display: flex; }
.tp-faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(45,45,58,.15); }
.tp-faces img + img { margin-left: -18px; }
.tp-plan-mark { gap: 8px; }
.tp-flag { display: block; width: 26px; height: 26px; }
.tp-letters { font: 600 34px/1 var(--f-head); letter-spacing: .01em; color: var(--m-dark); white-space: nowrap; }
.tp-copy { min-width: 0; }
.tp-claim { margin: 0; font: 700 18px/1.3 var(--f-sec); color: var(--m-dark); }
.tp-note { margin: 2px 0 0; font: 500 14px/1.4 var(--f-sec); color: var(--m-muted); }
/* Citation d'un tiers (fiche swiss made software) : guillemets et source signée sous la phrase, à droite,
   pour qu'on ne lise pas une phrase de nous. Le bloc prend la largeur de la citation, la source s'aligne sur sa fin. */
figure.tp-copy { margin: 0; width: fit-content; max-width: 100%; }
blockquote.tp-claim { padding: 0; }
.tp-claim q { quotes: "«\00a0" "\00a0»"; }
.tp-claim q:lang(de) { quotes: "«" "»"; }
.tp-claim q::before, .tp-claim q::after { color: var(--m-accent); }
.tp-source { margin: 4px 0 0; text-align: right; font: 500 14px/1.4 var(--f-sec); color: var(--m-muted); }
.tp-source .tp-link { margin-top: 0; }
.tp-source cite { font-style: normal; }
/* Accueil : la citation seule occupe tout son bloc, en grand (pas de logo à côté), TOUJOURS sur une ligne.
   La taille suit la largeur de sa colonne : phrase mesurée à 14,5 em (FR) et 17,5 em (DE), diviseurs avec marge.
   Deux colonnes : (largeur de la bande − gouttières et paddings) / 2. Une colonne (≤ 820 px) : écran − 2 × 20 px. */
.tp-quote .tp-claim { font: 600 32px/1.15 var(--f-head); letter-spacing: -.005em; white-space: nowrap;
  font-size: min(32px, calc((min(100vw, 1120px) - 176px) / 31)); }
.tp-quote .tp-claim:lang(de) { font-size: min(32px, calc((min(100vw, 1120px) - 176px) / 37)); }
.tp-quote .tp-source { margin-top: 6px; font-size: 15px; }
.tp-link { display: inline-block; margin-top: 6px; font: 700 14px var(--f-sec); color: var(--m-accent-deep); text-decoration: none; border-radius: 6px; }
html:not(.kwz-touch) .tp-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tp-link:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 3px; }
/* Téléphone et petite tablette : les deux blocs l'un sous l'autre, séparés par un filet. */
@media (max-width: 820px) {
  .trust-in { grid-template-columns: 1fr; padding: 2px 20px; }
  .tp { justify-content: flex-start; padding: 14px 0; gap: 16px; }
  .tp + .tp { border-left: 0; border-top: 1px solid var(--m-line); }
  .tp-mark { width: 92px; margin: 0; }
  .tp-letters { font-size: 28px; }
  .tp-quote { justify-content: center; }
  .tp-quote .tp-claim { font-size: min(26px, calc((100vw - 56px) / 15.5)); }
  .tp-quote .tp-claim:lang(de) { font-size: min(26px, calc((100vw - 56px) / 18.5)); }
  .tp-flag { width: 22px; height: 22px; }
}

/* ═══ Modes de jeu : un onglet par mode, chacun habille la section à sa DA
   (ciel étoilé, orage doré, île de la chasse, nuit aux couleurs des cartes). ═══ */
/* overflow: clip, jamais hidden — hidden ferait de la section le conteneur de la barre
   collante des modes (.gm-tabs), qui ne collerait alors jamais à l'écran (26.09.2026). */
.gm { position: relative; background: #15172B; color: #fff; padding: 88px 20px; text-align: center; overflow: clip; }
.gm > :not(.gm-bg) { position: relative; z-index: 1; }
.gm h2 { font-size: 38px; color: #fff; margin-bottom: 26px; }
.gm-bg, .gm-bg > span { position: absolute; inset: 0; pointer-events: none; }
.gm-bg { z-index: 0; overflow: hidden; }
.gm-bg > span { opacity: 0; transition: opacity .6s ease; }
.gm[data-mode="quest"] .gm-bg-quest, .gm[data-mode="flash"] .gm-bg-flash, .gm[data-mode="tresor"] .gm-bg-tresor, .gm[data-mode="classic"] .gm-bg-classic { opacity: 1; }
/* Étoiles posées par minimal.js (ciel du hero, de Kwiiz Quest et des tarifs). */
.gm-bg-quest { background: var(--m-night); overflow: hidden; }
.mm-star { position: absolute; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: calc((var(--min-opacity) + var(--max-opacity)) / 2); }
/* Flash : la nuit réchauffée d'une lueur d'orage ; les éclairs viennent de v2-flash.css. */
.gm-bg-flash {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(245,158,11,.22) 0%, rgba(245,158,11,0) 100%),
    radial-gradient(ellipse 50% 35% at 85% 70%, rgba(217,119,6,.14) 0%, rgba(217,119,6,0) 100%),
    linear-gradient(170deg, hsl(222 47% 11%) 0%, hsl(230 40% 14%) 50%, hsl(222 47% 10%) 100%);
}
.gm .kv2-storm { z-index: 0; }
/* Chasse : l'île du lobby qui plonge dans la mer, sous un voile bleu marine. */
.gm-bg-tresor {
  background:
    linear-gradient(180deg, rgba(6,28,58,.72) 0%, rgba(6,28,58,.6) 35%, rgba(6,28,58,.84) 62%, #06213F 82%),
    url("media/tresor-ile.webp") center top / max(100%, 1100px) auto no-repeat,
    #06213F;
}
/* Classique : les quatre couleurs des cartes-réponses du jeu. */
.gm-bg-classic {
  background:
    radial-gradient(ellipse 38% 32% at 8% 18%, rgba(225,29,72,.30) 0%, rgba(225,29,72,0) 100%),
    radial-gradient(ellipse 36% 30% at 92% 14%, rgba(37,99,235,.34) 0%, rgba(37,99,235,0) 100%),
    radial-gradient(ellipse 40% 30% at 6% 78%, rgba(217,119,6,.24) 0%, rgba(217,119,6,0) 100%),
    radial-gradient(ellipse 40% 32% at 94% 82%, rgba(5,150,105,.26) 0%, rgba(5,150,105,0) 100%),
    linear-gradient(170deg, #1E2150 0%, #181A3F 55%, #141633 100%);
}
/* Onglets sur la nuit : rail translucide, anneau blanc ; l'icône du mode devant son nom. */
.gm-tabs { background: rgba(255,255,255,.08); margin-bottom: 40px; }
.gm-tabs .mtab { display: inline-flex; align-items: center; gap: 8px; }
.gm .mtab { position: relative; color: rgba(255,255,255,.72); }
html:not(.kwz-touch) .gm .mtab:not(.is-active):hover { color: #fff; }
html:not(.kwz-touch) .gm .mtab:hover { box-shadow: 0 0 0 2.5px rgba(255,255,255,.55); }
.gm .mtab.is-active { background: #fff; color: var(--m-dark); }
/* La barre des modes suit le défilement sous le header, à toutes les tailles : on change
   de mode sans remonter (26.09.2026). `.gm > .gm-tabs` bat `.gm > :not(.gm-bg)` pour le
   z-index — sans ça, les images du panneau passent devant la barre et avalent les clics.
   `.is-stuck` (minimal.js) = fond de verre dès qu'elle est décrochée. */
.gm > .gm-tabs { position: sticky; top: calc(var(--header-h) + 10px); z-index: 6; transition: background .25s ease, box-shadow .25s ease; }
.gm-tabs.is-stuck { background: rgba(21,23,43,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1); }
@media (min-width: 1024px) { .gm > .gm-tabs { display: flex; width: max-content; margin-left: auto; margin-right: auto; } }
.mtab-ic { width: 18px; height: 18px; flex: none; }
/* Étiquette « Nouveau » posée en biais sur le coin de l'onglet. */
.mtab-new { position: absolute; top: -11px; right: -8px; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: var(--m-dark); font: 800 10.5px/1.4 var(--f-sec); letter-spacing: .02em; transform: rotate(6deg); box-shadow: 0 3px 10px rgba(255,209,102,.45); pointer-events: none; }
.gm-panels { max-width: 1120px; margin: 0 auto; text-align: left; }
.gm-panel { position: relative; }

/* Panneau d'un mode : le texte, son illustration, puis la vue enseignant. */
.quest-in { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: center; }
.eyebrow { display: inline-block; font: 700 12px var(--f-sec); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow-pro { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,209,102,.16); color: var(--gold); letter-spacing: .02em; text-transform: none; font-weight: 700; }
.gm[data-mode="flash"] .eyebrow-pro { background: rgba(245,158,11,.18); color: #FBBF24; }
.gm[data-mode="tresor"] .eyebrow-pro { background: rgba(255,209,102,.2); color: var(--gold); }
.quest-title { font: 600 44px/1.15 var(--f-head); color: #fff; margin: 0 0 16px; letter-spacing: -0.01em; }
.quest-copy > p { font-size: 19px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
/* Le CTA d'un mode est centré sous son paragraphe, téléphone et bureau (26.09.2026). */
.quest-copy > a.mb { display: flex; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
/* Téléphone : le parcours de l'élève, entier, à la place de la scène de planètes du bureau. */
.quest-mob { display: none; }
/* Kwiiz Quest : le parcours d'un élève dans son téléphone, relié à l'écran d'une
   planète (ex-scène du hero bureau, déplacée ici le 28.09.2026). */
.quest-scene { position: relative; height: 560px; }
.qq-phone { position: absolute; z-index: 2; left: 50%; top: 0; margin: 0 0 0 -175px; width: 250px; border-radius: 36px; padding: 8px; background: #0B0C1A; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.45), 0 0 80px rgba(91,108,249,.35); }
.qq-phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.qq-quiz { position: absolute; z-index: 3; margin: 0; left: calc(50% + 70px); top: 250px; width: 140px; transform: rotate(4deg); }
.qq-quiz img { display: block; width: 100%; height: auto; border-radius: 18px; border: 5px solid #0B0C1A; box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); }
.qq-arrow { position: absolute; z-index: 3; left: calc(50% + 10px); top: 380px; width: 90px; height: auto; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.qq-planet { position: absolute; z-index: 1; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.qq-p1 { width: 84px; left: calc(50% - 250px); top: 70px; }
.qq-p2 { width: 52px; left: calc(50% + 150px); top: 10px; }
.qq-saturn { position: absolute; z-index: 4; left: calc(50% + 80px); top: 80px; width: 150px; pointer-events: none; }
.qq-saturn img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); animation: kv2-coach-float 4.2s ease-in-out infinite; }
/* Chasse et Flash : trois écrans de téléphone en éventail. */
.fan { position: relative; height: 500px; }
.fan img { position: absolute; top: 50%; left: 50%; width: 190px; height: auto; border-radius: 22px; border: 5px solid #0B0C1A; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.fan .fan-0 { transform: translate(-150%, -46%) rotate(-9deg); }
.fan .fan-1 { transform: translate(-50%, -54%); z-index: 2; width: 210px; }
.fan .fan-2 { transform: translate(50%, -46%) rotate(9deg); }
/* Classique : une cascade d'écrans réels. */
.cl-stack { position: relative; height: 440px; }
.cl-screen { position: absolute; left: 50%; top: 50%; width: 420px; margin: 0; border-radius: 14px; overflow: hidden; background: #0B0C1A; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 26px 70px rgba(0,0,0,.55); }
.cl-screen img { display: block; width: 100%; height: auto; }
.cl-screen-0 { transform: translate(-72%, -94%) rotate(-7deg); }
.cl-screen-1 { transform: translate(-28%, -50%) rotate(4deg); z-index: 2; }
.cl-screen-2 { transform: translate(-58%, -2%) rotate(-3deg); z-index: 3; }
/* Flash : la démo jouable de la home, en mode Flash seul (son sélecteur et son
   Kwiix-coach restent dans le DOM, le script les attend). */
.gm-demo { --kv2-gutter: 32px; display: flex; justify-content: center; }
.gm-demo .kv2-hero-visual { justify-content: center; }
.gm-demo .kv2-modeswitch, .gm-demo .kv2-coach-desk, .gm-demo .kv2-coach-mob { display: none !important; }
/* La vue enseignant : capture du suivi, et en surimpression un second écran. */
.quest-prof { grid-column: 1 / -1; margin-top: 30px; text-align: center; }
.quest-prof-lead { max-width: 640px; margin: 0 auto 30px; font-size: 19px; color: rgba(255,255,255,.8); }
.quest-prof-lead b { color: #fff; }
.quest-shots { position: relative; max-width: 960px; margin: 0 auto; padding-right: 120px; }
.quest-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.quest-shot img { display: block; width: 100%; height: auto; }
.quest-shot-diff { position: absolute; right: 0; bottom: -40px; width: 250px; margin: 0; transform: rotate(3deg); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.quest-shot-diff img { display: block; width: 100%; height: auto; }
.quest-shot-phone { width: 170px; bottom: -50px; }
/* Flash, côté prof : l'éventail de l'élève à gauche, le suivi recadré à droite. */
.fl-duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; max-width: 1120px; margin: 0 auto; }
.fl-fan { height: 440px; }
.fl-fan img { width: 170px; }
.fl-fan .fan-0 { transform: translate(-118%, -46%) rotate(-8deg); }
.fl-fan .fan-1 { width: 186px; }
.fl-fan .fan-2 { transform: translate(18%, -46%) rotate(8deg); }
.fl-shot img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
/* Classique : la grille des types de la home (v2-qtypes.js), sans son fond. */
.gm-qt.kv2-qt { background: none; padding: 0; overflow: visible; text-align: left; max-width: 1000px; margin: 0 auto; }
.gm-qt.kv2-qt::before { display: none; }
/* Trois cartes d'arguments. */
.quest-cards { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.quest-cards li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 22px; text-align: left; }
.gm[data-mode="flash"] .quest-cards li { border-color: rgba(251,191,36,.22); }
.quest-cards b { display: block; font: 700 18px var(--f-sec); margin-bottom: 8px; }
.quest-cards span { font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.78); }

@media (max-width: 900px) {
  .fl-duo { grid-template-columns: 1fr; gap: 24px; }
  .fl-fan { height: 360px; }
  .fl-fan img { width: 128px; }
  .fl-fan .fan-1 { width: 142px; }
}
/* Téléphone : onglets en icônes seules sur une ligne (le nom du mode est le
   titre du panneau), illustrations décoratives effacées, trios de cartes en
   rangée qui glisse (la carte suivante dépasse). */
@media (max-width: 720px) {
  .gm { padding: 64px 20px; }
  .gm h2 { font-size: 30px; }
  .gm-tabs { display: flex; flex-wrap: nowrap; justify-content: space-between; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .gm-tabs .mtab { flex: 1 1 0; justify-content: center; padding: 10px 0; font-size: 13.5px; white-space: nowrap; }
  .gm-tabs .mtab-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gm-tabs .mtab-ic { width: 22px; height: 22px; }
  .gm-tabs .mtab-new { top: -12px; right: -2px; font-size: 9.5px; padding: 1px 6px; }
  .gm[data-mode="tresor"] .quest-copy { text-shadow: 0 1px 12px rgba(6,28,58,.9); }
  /* Une rangée qui glisse ne doit pas élargir la grille qui la contient. */
  .quest-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .quest-in > *, .quest-prof { min-width: 0; }
  .eyebrow-pro { margin: 6px 0 0; }
  .quest-title { font-size: 32px; }
  .quest-scene { display: none; }
  .fan { height: 360px; }
  .fan img { width: 128px; border-width: 4px; border-radius: 16px; }
  .fan .fan-1 { width: 142px; }
  .fl-fan { height: 360px; }
  .fl-fan img { width: 128px; }
  .fl-fan .fan-1 { width: 142px; }
  .cl-stack { height: 330px; }
  .cl-screen { width: 250px; }
  .cl-screen-0 { transform: translate(-64%, -98%) rotate(-6deg); }
  .cl-screen-1 { transform: translate(-36%, -50%) rotate(4deg); }
  .quest-prof-lead { font-size: 17px; }
  .quest-shots { padding-right: 0; }
  .quest-shot-diff { position: relative; right: auto; bottom: auto; width: 70%; margin: -40px 0 0 auto; }
  .quest-shot-phone { width: 30%; bottom: -50px; }
  .quest-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 30px -20px 0; padding: 4px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .quest-cards::-webkit-scrollbar { display: none; }
  .quest-cards > li { flex: 0 0 84%; scroll-snap-align: start; padding: 18px; }
}
/* ═══ TÉLÉPHONE, VERSION DU 26.09.2026 (retour de Bastien : « sur mobile, B ne montre
   pas le produit, les planètes ne sont pas claires » ; décisions Quentin) — un mode =
   le texte, UN visuel, rien d'autre : les captures côté prof, les cartes d'arguments et
   la démo de l'onglet Flash (partie sous le hero) disparaissent. 1,1 à 1,3 écran par
   mode au lieu de 1,9 à 2,7. Bureau et tablette inchangés. ═══ */
@media (max-width: 720px) {
  .gm { padding: 56px 20px 60px; }
  .gm h2 { margin-bottom: 20px; }
  .quest-copy > p { font-size: 17px; margin-bottom: 22px; }
  .quest-in { gap: 22px; }
  .cl-stack, .quest-shots, .fl-shot, .gm-demo, .quest-cards { display: none; }
  .fl-duo { display: block; }
  .fan, .fl-fan { height: 290px; }
  .fan img, .fl-fan img { width: 116px; }
  .fan .fan-1, .fl-fan .fan-1 { width: 130px; }
  .quest-mob { display: block; margin: 0 auto; width: 176px; padding: 6px; border-radius: 28px; background: #0B0C1A; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.5), 0 0 70px rgba(91,108,249,.3); }
  .quest-mob img { display: block; width: 100%; height: auto; border-radius: 22px; }
  .quest-prof { margin-top: 6px; }
  .quest-prof-lead { font-size: 16px; margin-bottom: 0; }
  /* Les sections suivantes, allégées : ce qui répète un bandeau (.imp-lead-first), les
     explications sous les puces papier, la note de méthode des avis, l'accroche des tarifs. */
  .imp-lead-first, .pap-desc, .tq-score-src, .price-lead { display: none; }
  .pap-list { gap: 12px; }
  .pap-list b { margin-bottom: 0; }
  .price h2 { margin-bottom: 26px; }
  /* L'ordre des cartes de tarifs (Gratuit d'abord) vit plus bas, avec les règles du rail
     qu'il annule — écrit ici, il perdait contre elles (même spécificité, plus tôt). */
}
@media (min-width: 721px) { .cl-screen-1 { transform: translate(-34%, -50%) rotate(4deg); } }

/* ═══ Du nouveau chaque semaine : Kwiiz et articles dans UN rail, par date.
   Un Kwiiz se JOUE, un article se LIT ; « Nouveau » sur ce qui a moins de
   trois jours ; bords estompés et flèches (celles des témoignages). ═══ */
.mm-fresh-c { padding: 88px 0 72px; background: #fff; }
.mm-fresh .kv2-fresh-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.mm-fresh .kv2-fresh-head h2 { font-size: 38px; }
.mm-fresh .kv2-fresh-head p { font-size: 19px; margin-top: 10px; }
.mm-fresh-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: var(--m-accent-soft); color: var(--m-accent-deep); font: 700 13px var(--f-sec); }
.mm-fresh-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--m-accent-deep); animation: mmFreshPulse 2s ease-out infinite; }
@keyframes mmFreshPulse { 0% { box-shadow: 0 0 0 0 rgba(91,108,249,.45); } 70% { box-shadow: 0 0 0 8px rgba(91,108,249,0); } 100% { box-shadow: 0 0 0 0 rgba(91,108,249,0); } }
.mm-fresh-c .mm-fresh-wrap { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.mm-fresh-c .kv2-fresh-rail { padding: 10px 28px 22px; margin: 0; scroll-padding-inline: 28px; scrollbar-width: none; }
.mm-fresh-c .kv2-fresh-rail::-webkit-scrollbar { display: none; }
/* Le zoom au doigt posé sur une image est traité dans v2.css (.kv2-fresh-rail),
   commun aux deux pages d'accueil. */
.mm-fresh-c .kv2-fresh-card { flex-basis: 268px; }
.mm-fresh-c .kv2-fresh-link { border-radius: 18px; border-color: var(--m-line); box-shadow: 0 10px 24px rgba(45,45,58,.07); }
.mm-fresh-c .kv2-fresh-link:hover, .mm-fresh-c .kv2-fresh-link:focus-visible { transform: none; border-color: var(--m-line); box-shadow: 0 10px 24px rgba(45,45,58,.07); }
html:not(.kwz-touch) .mm-fresh-c .kv2-fresh-link:hover, .mm-fresh-c .kv2-fresh-link:focus-visible { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 12px 28px rgba(45,45,58,.10); }
.mm-fresh-c .kv2-fresh-body { padding: 14px 16px 16px; gap: 8px; }
.mm-fresh-c .kv2-fresh-title { font-size: 15.5px; }
.mm-fresh-new { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--m-dark); font: 800 11.5px var(--f-sec); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.mm-fresh-c .tq-ctrl { margin-top: 6px; }
.mm-fresh-links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin: 16px 0 0; }
.mm-fresh-links .sec-more { margin-top: 0; }
/* Les deux onglets de « Du nouveau » (28.10.2026) : « En ce moment en classe » porte
   le point VERT « en direct » (le violet dit « nouveau », le vert dit « ça joue »). */
.mm-fresh-pills { margin: -6px auto 18px; }
.mm-fresh-pills .gv-pill { display: inline-flex; align-items: center; gap: 8px; }
.mm-fresh-pills .mm-fresh-dot { background: #00B37D; }
.mm-fresh-pills .gv-pill[aria-pressed="true"] .mm-fresh-dot { background: #fff; animation: none; }
/* `hidden` doit GAGNER sur les display de classe (.gv-pills est flex, .kv2-fresh-rail aussi) :
   sans ces règles, un rail « masqué » resterait affiché sous l'autre. */
.mm-fresh-pills[hidden], .mm-fresh-pills .gv-pill[hidden], .mm-fresh .kv2-fresh-rail[hidden] { display: none; }
/* ═══ La pédagogie au centre (07.10.2026, demande Quentin) : ce qui distingue Kwiiz
   d'un simple jeu de quiz, MONTRÉ par un vrai écran d'explication (capture d'origine
   docs/pubs-meta/assets/screens/explication-eleve.png ; la version allemande prend
   v2/media/de/ du même nom). Fond violet pâle entre les avis (blancs) et le rail des
   vidéos (blanc) : la page alterne. ═══ */
.ped { background: var(--m-accent-soft); padding: 80px 20px; }
.ped-in { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.ped-copy h2 { font-size: 38px; }
.ped-copy p { margin: 14px 0 0; font-size: 19px; color: var(--m-muted); }
/* « Pensé pour l'école suisse » : le drapeau du bandeau des preuves, et la phrase qui
   introduit le ruban des degrés juste dessous. */
.ped-copy .ped-swiss { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; font-size: 17px; line-height: 1.5; color: var(--m-dark); }
.ped-flag { flex: none; width: 30px; height: 30px; }
.ped-swiss strong { font-family: var(--f-sec); }
.ped-shot { margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.ped-shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(91,108,249,.18); box-shadow: 0 24px 50px rgba(45,45,58,.14); background: #FFF7E6; }
/* Les plans d'études, sous la section : le nom du plan en bandeau au-dessus de ses
   degrés, groupés par cycle sous les accolades du filtre de la bibliothèque (styles
   partagés kwz-bracket-line / kwz-bracket-label de style.css). Chaque plan prend une
   largeur proportionnelle à son nombre de degrés (--n, posé par minimal.js). */
.ped-levels { max-width: 1120px; margin: 52px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 14px; opacity: 0; transition: opacity .3s ease; }
.ped-levels.is-ready { opacity: 1; }
.ped-plan { flex: var(--n, 1) 1 0; min-width: max-content; display: flex; flex-direction: column; gap: 10px; }
.ped-plan-name { margin: 0; padding: 9px 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(91,108,249,.18); box-shadow: 0 4px 12px rgba(45,45,58,.05); text-align: center; white-space: nowrap; font: 700 13.5px var(--f-sec); color: var(--m-accent-deep); }
.ped-plan-row { display: flex; gap: 10px; }
.ped-cycle { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; color: #9EA3BF; text-decoration: none; border-radius: 10px; transition: color .15s ease; }
.ped-degs { display: flex; gap: 6px; }
.ped-deg { flex: 1 1 0; min-width: max-content; padding: 9px 10px; border: 1.5px solid #E2E4EE; border-radius: 8px; background: #fff; color: var(--m-muted); font: 600 15px var(--f-body, 'Inter', sans-serif); text-align: center; white-space: nowrap; transition: border-color .15s ease, color .15s ease; }
.ped-bracket { display: flex; flex-direction: column; align-items: center; gap: 2px; }
html:not(.kwz-touch) .ped-cycle:hover { color: var(--m-accent); }
html:not(.kwz-touch) .ped-cycle:hover .ped-deg { border-color: var(--m-accent); color: var(--m-accent-deep); }
.ped-cycle:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 4px; }
.ped-cycle:active { transform: scale(.98); }
@media (max-width: 900px) {
  .ped { padding: 56px 16px; }
  /* Téléphone et tablette : la rangée défile, comme le filtre de la bibliothèque. */
  .ped-levels { flex-wrap: nowrap; justify-content: flex-start; margin: 32px -16px 0; padding: 0 16px 6px; overflow-x: auto; scrollbar-width: none; text-align: left; }
  .ped-levels::-webkit-scrollbar { display: none; }
  .ped-plan { flex: 0 0 auto; }
  .ped-deg { min-width: 40px; padding: 8px 9px; font-size: 14px; }
  .ped-in { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .ped-copy .ped-swiss { justify-content: center; text-align: left; font-size: 15px; }
  .ped-shot { max-width: 400px; }
  .ped-copy h2 { font-size: 30px; }
  .ped-copy p { font-size: 17px; }
}

/* ═══ Les usages en classe (07.10.2026) : le rail des vidéos du Guide, sous les
   avis. Coquille de la section « Du nouveau » (mm-fresh-c : titre, rail à bords
   fondus, flèches), cartes reprises de la page /utilisation (miniature 16:9, bouton
   lecture, durée, titre, situation). La dernière carte « Voir 6 de plus » fait
   apparaître les suivantes, qui poppent l'une après l'autre (gv-in). ═══ */
/* Fond violet pâle : le rail suit les avis (blancs). La section pédagogie, plus bas,
   porte la même teinte, mais elles ne se touchent pas : la page alterne. */
.gv { background: var(--m-accent-soft); padding-top: 72px; }
.gv .kv2-fresh-rail { align-items: stretch; }
/* Pastilles de catégorie (celles de /utilisation), « Tout » d'abord. Au téléphone,
   une seule rangée qui défile plutôt que trois rangées empilées. */
.gv-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 10px; padding: 0 20px; }
.gv-pill { padding: 9px 18px; border: 1px solid var(--m-line); border-radius: 999px; background: #fff; color: var(--m-dark); font: 700 15px var(--f-sec); cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .05s ease; }
html:not(.kwz-touch) .gv-pill:hover { box-shadow: 0 0 0 3px rgba(91,108,249,.18); }
.gv-pill:active { transform: scale(.97); }
.gv-pill:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 2px; }
.gv-pill[aria-pressed="true"] { background: var(--m-accent); border-color: var(--m-accent); color: #fff; }
@media (max-width: 720px) {
  .gv-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 6px; margin-bottom: 4px; }
  .gv-pills::-webkit-scrollbar { display: none; }
  .gv-pill { flex: none; padding: 8px 15px; font-size: 14px; }
}
.gv-card, .gv-more { flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--m-line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 24px rgba(45,45,58,.07); transition: box-shadow .15s ease, transform .05s ease; }
html:not(.kwz-touch) .gv-card:hover, html:not(.kwz-touch) .gv-more:hover { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 12px 28px rgba(45,45,58,.10); }
.gv-card:active, .gv-more:active { transform: scale(.98); }
.gv-card:focus-visible, .gv-more:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 2px; }
.gv-thumb { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E9EBFF, #D9DDFF); }
.gv-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gv-chip { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--m-dark); font: 800 11px var(--f-sec); letter-spacing: .04em; text-transform: uppercase; }
.gv-play { position: relative; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.94); color: var(--m-accent); box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .15s ease; }
.gv-play svg { width: 20px; height: 20px; margin-left: 3px; }
html:not(.kwz-touch) .gv-card:hover .gv-play { transform: scale(1.08); }
.gv-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(20,20,35,.72); color: #fff; font: 700 12px var(--f-sec); }
.gv-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.gv-text strong { font: 700 15.5px/1.3 var(--f-sec); color: var(--m-dark); }
.gv-text span { font-size: 14px; line-height: 1.5; color: var(--m-muted); }
.gv-more { flex-basis: 200px; align-items: center; justify-content: center; gap: 6px; text-align: center; background: #fff; border-style: dashed; border-color: #C9CEF5; box-shadow: none; }
.gv-more-ic { width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--m-accent-soft); color: var(--m-accent-deep); }
.gv-more-ic svg { width: 22px; height: 22px; }
.gv-more strong { font: 800 16px var(--f-sec); color: var(--m-accent-deep); }
.gv-more span { font: 600 13px var(--f-sec); color: var(--m-muted); }
.gv-in { animation: gvIn .38s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes gvIn { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .gv-card { flex-basis: min(78vw, 300px); }
  .gv-more { flex-basis: 170px; }
}
/* Carte d'un Kwiiz : le bouton « Jouer » au centre de la couverture. */
.mf-kwiiz { position: relative; }
.mf-play { position: absolute; left: 50%; top: 0; margin-top: calc(28.125% - 21px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 8px; border-radius: 999px; background: #fff; color: var(--m-dark); font: 700 15px var(--f-sec); text-decoration: none; box-shadow: 0 8px 22px rgba(20,22,50,.28); transition: opacity .18s ease, box-shadow .14s ease; }
.mf-play-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--m-accent); color: #fff; }
.mf-play-ic svg { width: 12px; height: 12px; margin-left: 2px; }
html:not(.kwz-touch) .mf-play:hover { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 8px 22px rgba(20,22,50,.28); }
.mf-play:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 3px; }
@media (any-hover: hover) {
  .mf-kwiiz .mf-play { opacity: 0; }
  .mf-kwiiz:hover .mf-play, .mf-kwiiz:focus-within .mf-play { opacity: 1; }
}
/* Carte d'une expédition : le ciel de la Kwiiz Quest, Saturne et son Kwiix. */
.mf-exp-link { display: flex; flex-direction: column; height: 100%; border-radius: 18px; overflow: hidden; border: 1px solid #DCDFFB; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 10px 24px rgba(45,45,58,.07); transition: box-shadow .14s ease; }
html:not(.kwz-touch) .mf-exp-link:hover, .mf-exp-link:focus-visible { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 12px 28px rgba(45,45,58,.10); outline: none; }
.mf-exp-cover { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: radial-gradient(120% 140% at 0% 0%, #2a3576 0%, #141A3C 62%); }
.mf-exp-cover::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 18% 28%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 18%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 84% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 32% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 56% 42%, rgba(255,255,255,.7) 50%, transparent 51%); opacity: .8; }
.mf-exp-cover img { position: relative; width: 44%; height: auto; }
.mf-exp-tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255,209,102,.95); color: #3A2A00; font: 800 12px var(--f-sec); letter-spacing: .02em; }
.mf-exp .mf-new-slot { position: absolute; right: 10px; top: 10px; }
.mf-exp .mm-fresh-new { position: static; }
/* Carte d'un article : éditoriale, la couverture en bandeau étroit. */
.mf-article .mf-a-link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 12px 18px 16px; border-radius: 18px; border: 1px solid #DCDFFB; background: linear-gradient(180deg, #F1F2FF 0%, #fff 100%); color: inherit; text-decoration: none; box-shadow: 0 10px 24px rgba(45,45,58,.07); transition: box-shadow .14s ease; }
html:not(.kwz-touch) .mf-article .mf-a-link:hover, .mf-article .mf-a-link:focus-visible { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 12px 28px rgba(45,45,58,.10); outline: none; }
.mf-a-top { display: flex; align-items: center; gap: 8px; font: 700 12.5px var(--f-sec); color: var(--m-accent-deep); white-space: nowrap; }
.mf-a-ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: var(--m-accent); box-shadow: 0 2px 6px rgba(91,108,249,.15); }
.mf-a-ic svg { width: 17px; height: 17px; }
.mf-a-title { font: 700 18px/1.3 var(--f-sec); color: var(--m-dark); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mf-a-ex { font-size: 14px; line-height: 1.5; color: var(--m-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mf-article .mf-a-ex { -webkit-line-clamp: 2; }
.mf-a-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid #E4E6FA; font-size: 12.5px; color: var(--m-muted); }
.mf-a-read { font: 700 14px var(--f-sec); color: var(--m-accent-deep); }
.mf-article .mf-new-slot { margin-left: auto; }
.mf-article .mm-fresh-new { position: static; box-shadow: none; }
.mf-a-cover { display: block; height: 96px; margin: -6px -6px 2px; border-radius: 12px; overflow: hidden; background: var(--m-accent-soft); }
.mf-a-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Comme en tête de l'article : l'illustration sur fond blanc, sa teinte en halo. */
.mf-a-cover.is-art { position: relative; display: flex; align-items: center; justify-content: center; padding: 10px; background: #fff; border: 1.5px solid #EEEDF8; }
.mf-a-cover.is-art::before { content: ''; position: absolute; inset: 0; background: var(--cover-tint, #E8D5FF); opacity: .5;
  -webkit-mask: radial-gradient(closest-side, #000 60%, transparent 100%); mask: radial-gradient(closest-side, #000 60%, transparent 100%); }
.mf-a-cover.is-art img { position: relative; width: auto; max-width: 100%; height: 100%; object-fit: contain; }
/* Écran tactile : pas de masque de fondu (sur iPhone, un mask-image sur une
   zone qui défile redessinait la carte touchée floue et démesurée). */
@media (max-width: 1023px), (hover: none) {
  .mm-fresh-c .mm-fresh-wrap { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 720px) {
  .mm-fresh-c { padding: 64px 0 56px; }
  .mm-fresh .kv2-fresh-head h2 { font-size: 30px; }
  .mm-fresh .kv2-fresh-head p { font-size: 17px; }
  .mm-fresh-c .kv2-fresh-card { flex-basis: 240px; }
}

/* ═══ Une session en trois temps : trois cartes qui se RETOURNENT (comme une
   carte Flash) entre la vue enseignant et la vue élève ; la légende change à
   mi-course, un clic agrandit la capture. ═══ */
.flow { padding: 88px 20px 84px; text-align: center; background:
  radial-gradient(circle at 1px 1px, rgba(91,108,249,.14) 1px, transparent 0) 0 0 / 22px 22px,
  radial-gradient(ellipse 60% 55% at 50% 0%, rgba(91,108,249,.12) 0%, rgba(91,108,249,0) 100%),
  linear-gradient(180deg, #F5F6FF 0%, #EEF0FF 100%); }
.flow h2 { font-size: 38px; margin-bottom: 20px; }
.flow-views { background: #fff; box-shadow: 0 2px 10px rgba(45,45,58,.08); }
.flow .flow-views .mtab.is-active { background: var(--m-accent); color: #fff; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1120px; margin: 0 auto; }
.flow-step { margin: 0; text-align: left; }
.flip { perspective: 1400px; cursor: zoom-in; border-radius: 16px; }
.flip:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 3px; }
.flip-in { position: relative; aspect-ratio: 16 / 9; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.45,.05,.2,1); transition-delay: calc(var(--i) * 90ms); }
.flow[data-view="eleve"] .flip-in { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 16px; border: 1px solid var(--m-line); box-shadow: 0 16px 40px rgba(45,45,58,.10); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; }
html:not(.kwz-touch) .flip:hover .flip-face { box-shadow: 0 0 0 3px rgba(91,108,249,.35), 0 16px 40px rgba(45,45,58,.12); }
.flip-eleve { transform: rotateY(180deg); }
.flow-caps { display: grid; margin-top: 16px; }
/* Sous chaque carte le titre seul ; la description passe dans la légende agrandie. */
.flow-cap { grid-area: 1 / 1; display: flex; gap: 12px; align-items: center; transition: opacity .25s ease; transition-delay: calc(var(--i) * 90ms + .25s); }
.flow[data-view="prof"] .flow-cap-eleve, .flow[data-view="eleve"] .flow-cap-prof { opacity: 0; transition-delay: calc(var(--i) * 90ms); pointer-events: none; }
.flow-cap b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--m-accent); color: #fff; font: 700 16px var(--f-sec); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(91,108,249,.35); }
.flow-cap span { font-size: 15.5px; line-height: 1.45; color: var(--m-muted); }
.flow-cap strong { display: block; font: 700 19px var(--f-sec); color: var(--m-dark); margin-bottom: 2px; }
.flow-cap .flow-desc { display: none; }
.flow .sec-more { margin-top: 28px; }
/* 4e temps : l'appui. Vidéo muette qui ne charge et ne joue qu'à l'écran (initFlowLoop). */
.flow-loop { max-width: 900px; margin: 56px auto 0; text-align: left; }
.flow-loop-cap { max-width: 760px; margin: 0 auto 22px; align-items: flex-start; }
.flow-loop-vid { display: block; width: 100%; height: auto; border-radius: 24px; background: #F2F3FF; box-shadow: 0 10px 30px rgba(91,108,249,.12); }
.flow-loop-vid.is-square { display: none; }
@media (max-width: 720px) {
  .flow-loop { margin-top: 40px; }
  .flow-loop-vid.is-wide { display: none; }
  .flow-loop-vid.is-square { display: block; }
}
@media (max-width: 720px) {
  .flow h2 { font-size: 30px; }
  .flow-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .flow-grid::-webkit-scrollbar { display: none; }
  .flow-grid > .flow-step { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ═══ Ressources papier : la fiche élève devant, le corrigé derrière, et les
   deux formats ; le visuel ouvre la vidéo (même boîte de preuve que l'import). ═══ */
.pap { background: var(--m-accent-soft); padding: 96px 20px; }
.pap-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.pap-visual { position: relative; cursor: zoom-in; border-radius: 24px; padding: 36px 26px 22px; background: #fff; box-shadow: 0 24px 60px rgba(67,83,232,.14); display: flex; flex-direction: column; align-items: center; gap: 26px; transition: box-shadow .14s ease; }
html:not(.kwz-touch) .pap-visual:hover { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 24px 60px rgba(67,83,232,.14); }
.pap-visual:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 3px; }
.pap-stack { position: relative; width: min(100%, 380px); aspect-ratio: 779 / 1100; margin-right: 70px; }
.pap-sheet { position: absolute; top: 0; left: 0; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--m-line); box-shadow: 0 18px 40px rgba(45,45,58,.16); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pap-sheet-back { transform: translate(70px, 18px) rotate(5deg); }
.pap-sheet-front { transform: rotate(-3deg); }
.pap-formats { position: absolute; left: 0; right: -70px; bottom: -14px; display: flex; gap: 8px; justify-content: center; }
.pap-formats em { font: 800 13px var(--f-sec); font-style: normal; padding: 6px 12px; border-radius: 999px; color: #fff; box-shadow: 0 4px 10px rgba(45,45,58,.2); }
.pap-formats .f-word { background: #2B6CE5; } .pap-formats .f-pdf { background: #E5484D; }
.pap-see { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--f-sec); color: var(--m-accent-deep); }
.pap-see-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
html:not(.kwz-touch) .pap-visual:hover .pap-see { text-decoration: underline; text-underline-offset: 4px; }
/* Au survol, les deux feuilles s'écartent : on voit qu'il y a la fiche ET son corrigé. */
html:not(.kwz-touch) .pap-visual:hover .pap-sheet-front { transform: translateX(-18px) rotate(-6deg); }
html:not(.kwz-touch) .pap-visual:hover .pap-sheet-back { transform: translate(96px, 10px) rotate(8deg); }
.pap-see-ic svg { width: 14px; height: 14px; }
.pap-tag { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: #FFF3CC; color: #8A5A00; font: 800 13px var(--f-sec); }
.pap h2 { font-size: 34px; margin-bottom: 14px; }
.pap-copy > p { font-size: 18px; line-height: 1.5; color: var(--m-muted); }
.pap-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.pap-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--m-muted); }
.pap-list b { display: block; margin-bottom: 2px; font: 700 17px var(--f-sec); color: var(--m-dark); }
.pap-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--m-accent-soft); color: var(--m-accent); }
.pap-ic svg { width: 21px; height: 21px; }
@media (max-width: 900px) {
  .pap-in { grid-template-columns: 1fr; gap: 32px; }
  .pap-copy { order: -1; }
}
@media (max-width: 720px) {
  .pap { padding: 64px 20px; }
  .pap h2 { font-size: 27px; }
  .pap-visual { padding: 26px 16px 18px; }
  .pap-stack { width: 62%; margin-right: 22%; }
  .pap-sheet-back { transform: translate(38%, 12px) rotate(5deg); }
  .pap-formats { right: -30%; }
}

/* ═══ Import : ton matériel devient des Kwiiz. Les étapes vivent DANS le
   visuel (le document, la flèche, le Kwiiz) ; un clic ouvre la vidéo. ═══ */
.imp { padding: 80px 20px; }
.imp-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
/* La fonctionnalité préférée des enseignants, dite en tête de section. */
.imp-fav { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #FFF3CC; color: #8A5A00; font: 800 14px var(--f-sec); box-shadow: 0 4px 12px rgba(201,154,31,.18); }
.imp-fav svg { width: 18px; height: 18px; color: #E0A100; }
.imp h2 { font-size: 34px; margin-bottom: 14px; }
.imp-copy > p { font-size: 18px; line-height: 1.5; color: var(--m-muted); }
.gm-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,209,102,.16); color: var(--gold); font: 700 13px var(--f-sec); margin-bottom: 14px; }
.imp .gm-tag { background: var(--m-accent-soft); color: var(--m-accent-deep); padding: 6px 14px; }
.imp .imp-offer { margin: 18px 0 0; }
.imp-visual { position: relative; cursor: zoom-in; border-radius: 24px; padding: 30px 26px 22px; background: #fff; box-shadow: 0 24px 60px rgba(67,83,232,.14); display: flex; flex-direction: column; align-items: center; gap: 18px; transition: box-shadow .14s ease; }
html:not(.kwz-touch) .imp-visual:hover { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5), 0 24px 60px rgba(67,83,232,.16); }
.imp-visual:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 3px; }
.imp-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; justify-content: center; gap: 14px; width: 100%; }
.imp-step { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
/* Les pastilles PDF / Word / Kahoot débordent sous le document : la légende s'en écarte. */
.imp-step-doc { gap: 30px; }
.imp-doc { position: relative; flex: none; width: 100%; max-width: 220px; aspect-ratio: 3 / 4; padding: 22px 20px; border-radius: 10px; background: #fff; border: 1px solid var(--m-line); box-shadow: 0 14px 30px rgba(45,45,58,.12); transform: rotate(-4deg); display: flex; flex-direction: column; gap: 9px; }
.imp-doc-t { font: 700 14px/1.3 var(--f-sec); color: var(--m-dark); margin-bottom: 6px; }
.imp-doc i { display: block; height: 7px; border-radius: 4px; background: #E6E7F0; }
.imp-doc-img { display: block; height: 22%; margin: 4px 0; border-radius: 6px; background: linear-gradient(135deg, #DDE1FF, #EEF0FF); }
.imp-doc .l1 { width: 96%; } .imp-doc .l2 { width: 84%; } .imp-doc .l3 { width: 90%; } .imp-doc .l4 { width: 58%; }
.imp-badges { position: absolute; left: 14px; right: 14px; bottom: -14px; display: flex; gap: 6px; justify-content: center; }
.imp-badges em { font: 800 11.5px var(--f-sec); font-style: normal; padding: 4px 9px; border-radius: 999px; color: #fff; box-shadow: 0 4px 10px rgba(45,45,58,.18); }
.imp-badges .b-pdf { background: #E5484D; } .imp-badges .b-word { background: #2B6CE5; } .imp-badges .b-kahoot { background: #46178F; }
.imp-via { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 46px; }
.imp-via small { font: 700 12px/1.25 var(--f-sec); color: var(--m-accent-deep); text-align: center; max-width: 86px; }
.imp-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--m-accent); color: #fff; box-shadow: 0 8px 18px rgba(91,108,249,.35); }
.imp-arrow svg { width: 22px; height: 22px; }
.imp-kwiiz { flex: 0 0 auto; width: 140px; height: auto; border-radius: 20px; border: 5px solid #0B0C1A; box-shadow: 0 20px 44px rgba(45,45,58,.28); transform: rotate(3deg); }
.imp-cap { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 14.5px/1.3 var(--f-sec); color: var(--m-dark); text-align: left; }
.imp-cap b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--m-accent); color: #fff; font-size: 12.5px; }
.imp-see { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--f-sec); color: var(--m-accent-deep); }
.imp-see-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--m-accent-soft); }
.imp-see-ic svg { width: 12px; height: 12px; margin-left: 2px; }
html:not(.kwz-touch) .imp-visual:hover .imp-see { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) {
  .imp-copy { text-align: center; }
  .imp-copy .imp-fav { margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  .imp-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .imp { padding: 56px 20px; }
  .imp h2 { font-size: 27px; }
  .imp-visual { padding: 24px 16px 18px; }
  .imp-stage { gap: 8px; }
  .imp-step { gap: 14px; }
  .imp-step-doc { gap: 26px; }
  .imp-doc { padding: 14px 12px; gap: 6px; }
  .imp-doc-t { font-size: 12px; }
  .imp-doc i { height: 5px; }
  .imp-doc-img { margin: 2px 0; }
  .imp-via { margin-bottom: 52px; }
  .imp-via small { font-size: 10.5px; max-width: 60px; }
  .imp-arrow { width: 34px; height: 34px; }
  .imp-kwiiz { width: 96px; border-width: 4px; border-radius: 14px; }
  .imp-cap { flex-direction: column; gap: 6px; font-size: 12.5px; text-align: center; }
}

/* ═══ Témoignages : le titre reste ici ; la note, le ruban de cartes et les flèches
   d'un rail vivent dans testimonials-cards.css (partagée avec /etablissement, 25.09.2026). ═══ */
.mm-quotes { padding: 88px 20px 40px; }
.mm-center-title { font-size: 38px; text-align: center; margin-bottom: 28px; }
@media (max-width: 720px) { .mm-center-title { font-size: 30px; } .mm-quotes { padding: 56px 16px 24px; } }

/* ═══ Tarifs, sur la nuit étoilée : la carte Gratuit en verre, la carte Pro en
   « carte noire » (anthracite, or, grain fin, lumière dorée sur le prix).
   Chaque argument Pro ouvre sa preuve. ═══ */
.price { position: relative; padding: 96px max(20px, calc(50% - 560px)) 88px; text-align: center; scroll-margin-top: var(--header-h); overflow: hidden; background: var(--m-night); }
.price-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.price > :not(.price-sky) { position: relative; z-index: 1; }
.price h2 { font-size: 38px; color: #fff; }
.price-lead { font-size: 19px; color: rgba(255,255,255,.78); margin: 12px auto 40px; max-width: 560px; }
.price-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; text-align: left; }
.price-card { display: flex; flex-direction: column; align-items: center; padding: 30px 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); text-align: center; }
.price-name { font: 800 15px var(--f-sec); letter-spacing: .04em; text-transform: uppercase; color: var(--m-accent-deep); }
.price-amount { font: 600 40px var(--f-head); color: var(--m-dark); margin-top: 8px; }
.price-amount .price-sub { font: 600 15px var(--f-sec); color: var(--m-muted); }
.price-amount .price-per { font-size: 17px; }
.price-billing { font-size: 14px; color: var(--m-muted); margin-top: 2px; }
.price-list { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; font-size: 16px; color: var(--m-dark); }
.price-card .price-list { align-self: center; text-align: left; }
.price-list li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.35; }
.price-list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--m-accent); }
.price-card .mb, .price-free-cta { margin-top: auto; align-self: center; }
.price-free-cta { display: inline-block; padding: 14px 22px; border: 2px solid rgba(255,255,255,.55); border-radius: 16px; font: 700 16px var(--f-sec); color: #fff; text-decoration: none; transition: border-color .2s ease; }
html:not(.kwz-touch) .price-free-cta:hover { border-color: #fff; box-shadow: 0 0 0 2.5px rgba(255,255,255,.3); }
.price-free-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.price-fine { font-size: 13px; color: var(--m-muted); margin-top: 10px; }
.price-note { margin-top: 26px; font-size: 16px; color: rgba(255,255,255,.75); }
.price-note-sub { margin-top: 10px; font-size: 15px; }
.price-note a { color: #C9CEFF; font-weight: 700; text-decoration: none; }
html:not(.kwz-touch) .price-note a:hover { color: #fff; text-decoration: underline; }
/* La pastille « Voir » d'un argument qui ouvre sa preuve. */
.price-see { flex: none; align-self: center; padding: 3px 9px; border-radius: 999px; background: rgba(91,108,249,.1); color: var(--m-accent-deep); font: 700 11px var(--f-sec); transition: background .15s ease, color .15s ease; }
html:not(.kwz-touch) .price-proof:hover .price-see { background: var(--m-accent); color: #fff; }

/* Carte Pro : couronne « Le plus complet » (.lp-plan-badge de style.css) et le
   Kwiix au café (.lp-hero-plan-pitch), arguments en trois familles. */
.price-card-pro {
  position: relative; padding-top: 38px;
  border: 1.5px solid rgba(255,209,102,.35); border-top: 3px solid var(--gold);
  background:
    radial-gradient(ellipse 75% 42% at 50% 0%, rgba(255,209,102,.18) 0%, rgba(255,209,102,0) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    #2D2D3A;
  box-shadow: 0 0 0 1px rgba(255,209,102,.18), 0 28px 80px rgba(255,209,102,.20), 0 24px 60px rgba(0,0,0,.45);
}
.price-card-pro .price-name { color: var(--gold); }
.price-card-pro .price-amount { color: #fff; }
.price-card-pro .price-amount .price-sub { color: rgba(255,255,255,.55); }
.price-card-pro .price-billing { color: rgba(255,255,255,.6); }
.price-card-pro .price-fine { color: rgba(255,255,255,.55); }
/* Clause de non regret (06.10.2026) : sous le CTA de la carte Pro, le sourire du
   logo en or, le nom en blanc, la phrase en blanc atténué, le lien souligné. Un
   LIEN texte, jamais un bouton : le vert est réservé à l'inscription. */
.price-clause { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.72); text-align: left; }
.price-clause-smile { flex: 0 0 auto; width: 18px; margin-top: 1px; color: #FFD166; }
.price-clause-smile svg { display: block; width: 100%; height: auto; }
.price-clause strong { color: #fff; }
.price-clause a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.price-clause a:hover { color: #FFD166; }
.price-card-pro .price-list { color: #fff; }
.price-card-pro .lp-hero-plan-pitch { margin: 18px auto 0; max-width: 460px; justify-content: flex-start; font-size: 15px; }
.price-card-pro .lp-pitch-txt { margin: 0; background: rgba(255,209,102,.14); box-shadow: inset 0 0 0 1px rgba(255,209,102,.3); color: #FFE3A0; }
.price-card-pro .lp-coffee { filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.price-card-pro .lp-coffee svg { color: var(--gold); }
.price-cols { width: 100%; }
.price-group { align-self: center; width: 100%; margin: 20px 0 8px; font: 800 12px var(--f-sec); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); text-align: left; }
.price-list-pro { gap: 8px; }
.price-card-pro .price-list-pro { margin: 0; width: 100%; }
.price-card-pro .price-list-last { margin: 16px 0 0; }
.price-list-pro li { align-items: center; }
.price-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(255,209,102,.14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,209,102,.22); }
.price-list .price-ic svg { width: 19px; height: 19px; margin: 0; color: currentColor; }
.price-card-pro .price-see { background: rgba(255,255,255,.12); color: #fff; }
html:not(.kwz-touch) .price-card-pro .price-proof:hover { background: rgba(255,255,255,.06); }
html:not(.kwz-touch) .price-card-pro .price-proof:hover .price-see { background: var(--gold); color: var(--m-dark); }
.price-card-pro .price-proof:focus-visible { outline-color: var(--gold); }
.pf-toggle { display: none; }

/* Carte Gratuit : une surface de verre, discrète à côté de la carte Pro. */
.price-card:not(.price-card-pro) { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 50px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.price-card:not(.price-card-pro) .price-name { color: #C9CEFF; }
.price-card:not(.price-card-pro) .price-amount { color: #fff; }
.price-card:not(.price-card-pro) .price-amount .price-sub { color: rgba(255,255,255,.6); }
.price-card:not(.price-card-pro) .price-list { color: rgba(255,255,255,.88); }
.price-card:not(.price-card-pro) .price-list svg { color: #AEB6FF; }
.price-card:not(.price-card-pro) .price-fine { color: rgba(255,255,255,.55); }

/* Ordinateur : les deux cartes côte à côte, les arguments Pro sur deux colonnes. */
@media (min-width: 1024px) {
  .price-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; }
}
@media (min-width: 900px) {
  .price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .price-card-pro .mb { margin-top: 26px; }
}
/* Carte Pro repliée sur les trois arguments les plus forts, le reste se déplie. */
@media (max-width: 899px) {
  .price-card-pro:not(.pf-open) .pf-more { display: none; }
  .pf-toggle { display: inline-block; margin: 14px 0 24px; padding: 8px 16px; border: 1px solid rgba(255,209,102,.5); border-radius: 999px; background: transparent; color: var(--gold); font: 700 15px var(--f-sec); cursor: pointer; transition: box-shadow .14s ease, transform .05s ease; }
  html:not(.kwz-touch) .pf-toggle:hover { box-shadow: 0 0 0 2.5px rgba(91,108,249,.5); }
  .pf-toggle:active { transform: scale(.97); }
  .pf-toggle:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 3px; }
  .price-card-pro .mb { margin-top: 4px; }
}
/* Téléphone et tablette : les deux offres dans une rangée qui glisse, Pro en
   premier, la carte suivante qui dépasse au bord. */
@media (max-width: 1023px) {
  .price-grid { display: flex; flex-direction: row; align-items: stretch; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -20px; margin-right: -20px; padding: 18px 20px 12px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-grid > .price-card { flex: 0 0 72%; scroll-snap-align: start; }
  .price-grid > .price-card-pro { order: -1; }
  .price-note a { display: block; margin-top: 4px; white-space: nowrap; }
}
@media (max-width: 720px) {
  .price h2 { font-size: 30px; }
  .price-lead { font-size: 17px; margin-bottom: 28px; }
  .price-grid { gap: 12px; }
  .price-grid > .price-card { flex-basis: 86%; }
  .price-card { padding: 24px 20px; }
  /* Téléphone (26.09.2026) : la carte Gratuit — le seul CTA vert d'inscription de la
     section — d'abord, et à sa hauteur : étirée à celle de la carte Pro, 600 px de vide
     repoussaient le bouton hors de vue. La Pro dépasse à droite, comme avant. */
  .price-grid { align-items: flex-start; }
  .price-grid > .price-card-pro { order: 0; }
  .price-card-pro { padding-top: 38px; }
  .price-card .mb, .price-free-cta { align-self: stretch; text-align: center; }
}

/* ═══ Suisse, de bout en bout : la carte de la home (style.css .lp-swiss-*)
   recolorée pour un fond clair, le récit lisible à côté. Au téléphone, une
   grille 2×2 de fiches courtes à la place de la carte. ═══ */
.sw { padding: 110px 20px 40px; background: linear-gradient(180deg, #E4EEF9 0%, #F1F6FC 45%, #FFFFFF 100%); }
.sw-wrap { max-width: 1080px; margin: 0 auto; text-align: center; }
.sw h2 { font-size: 38px; }
.sw-sub { font-size: 19px; color: var(--m-muted); max-width: 560px; margin: 14px auto 30px; }
.sw-flag { display: none; }
.sw-labels { display: flex; justify-content: center; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin: 0 auto 52px; }
/* Trois logos verticaux ; largeurs réglées pour que les dossiers rouges aient
   la même taille. Survoler un lieu allume SON logo, les autres s'estompent. */
.sw-logo { display: block; border-radius: 8px; transition: opacity .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1); }
.sw-logo img { height: auto; display: block; }
.sw-logo-sms img { width: 114px; }
.sw-logo-sh img { width: 125px; }
.sw-logo-sh { margin-top: 4px; }
.sw-logo-ai img { width: 110px; }
.sw-labels.has-on .sw-logo { opacity: .3; }
.sw-labels.has-on .sw-logo.on { opacity: 1; transform: scale(1.08); }
.sw-logo:focus-visible { outline: 2px solid var(--m-accent); outline-offset: 6px; }
.sw-scene.lp-swiss-scene { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); max-width: none; margin: 0; gap: 48px; }
.sw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sw-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; transition: background .2s ease; outline: none; }
.sw-item.hot { background: var(--m-accent-soft); }
.sw-item:focus-visible { box-shadow: 0 0 0 2px var(--m-accent); }
.sw-item .n { width: 26px; height: 26px; border-radius: 50%; background: var(--m-accent-soft); color: var(--m-accent-deep); font: 800 13px var(--f-sec); display: flex; align-items: center; justify-content: center; align-self: start; margin-top: 2px; transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s ease, color .2s ease; }
.sw-item.hot .n { transform: scale(1.18); background: #10B981; color: #fff; }
.sw-ic { display: none; }
.sw-text h3 { font: 700 17px var(--f-sec); color: var(--m-dark); }
.sw-text .city { color: var(--m-muted); font-weight: 600; font-size: .86em; }
.sw-text p { font-size: 15px; line-height: 1.45; margin: 3px 0 0; color: var(--m-muted); }
.sw-text a { color: var(--m-accent-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }
html:not(.kwz-touch) .sw-text a:hover { text-decoration: underline; }
/* La carte en version claire (mêmes couches, autres teintes). */
.sw .lp-swiss-ch .ch-land { fill: #E3E6FE; }
.sw .lp-swiss-ch .ch-romand { fill: #D3D8FD; }
.sw .lp-swiss-ch .ch-romand.lit { fill: #A7F3D0; }
.sw .lp-swiss-ch .ch-inner { stroke: rgba(91,108,249,.22); }
.sw .lp-swiss-ch .ch-border { stroke: var(--m-accent); stroke-width: 3; }
.sw .lp-swiss-pin { box-shadow: 0 0 0 2px rgba(67,83,232,.35), 0 4px 10px rgba(45,45,58,.18); }
.sw .lp-swiss-pin::after { border-color: rgba(91,108,249,.45); }
.sw .lp-swiss-pin.hot { background: #10B981; color: #fff; }
.sw .lp-swiss-links line { stroke: var(--m-accent); }
.sw .lp-swiss-caption { font-size: 15px; color: var(--m-muted); margin-bottom: 0; }
.sw .lp-swiss-caption::before, .sw .lp-swiss-caption::after { content: none; }
/* Ordinateur : le lien sous la description, jamais à sa suite. */
@media (min-width: 1024px) { .sw-text p a { display: table; margin-top: 4px; } }
@media (max-width: 900px) {
  .sw-scene.lp-swiss-scene { grid-template-columns: 1fr; gap: 28px; }
  .sw-scene .lp-swiss-map { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .sw-list { max-width: 560px; margin: 0 auto; width: 100%; }
}
/* Téléphone : la carte, les labels (déjà sous le hero et dans le pied de page)
   et les numéros s'effacent ; le Kwiix suisse flotte au-dessus du titre. Chaque
   fiche : le lieu en haut, le fait centré, le lien en bas. */
@media (max-width: 720px) {
  .sw { padding: 72px 20px 24px; }
  .sw h2 { font-size: 32px; }
  .sw-sub { font-size: 17px; margin-bottom: 22px; }
  .sw-flag { display: block; position: relative; width: 76px; height: 76px; margin: 0 auto 18px; }
  .sw-flag img { display: block; width: 100%; height: 100%; animation: kv2-coach-float 3.4s ease-in-out infinite; }
  .sw-flag-shadow { position: absolute; left: 22%; bottom: -8px; width: 56%; height: 9px; border-radius: 50%; background: rgba(20,22,70,.28); filter: blur(4px); animation: kv2-coach-shadow 3.4s ease-in-out infinite; }
  .sw-labels, .sw-scene .lp-swiss-map { display: none; }
  .sw-list { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
  .sw-list .sw-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 13px; background: #fff; border: 1px solid var(--m-line); border-radius: 16px; text-align: center; }
  .sw-item .n, .sw-desc, .city-sep { display: none; }
  .sw-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #da291c; box-shadow: 0 0 0 1px rgba(218,41,28,.22), 0 4px 10px rgba(218,41,28,.10); }
  .sw-ic svg { width: 19px; height: 19px; }
  .sw-text { display: flex; flex-direction: column; align-items: center; flex: 1; }
  .sw-text h3 { display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; font-size: 15px; line-height: 1.25; }
  .sw-text h3::before { content: ''; order: -1; flex: 1 1 0; }
  .sw-text h3::after { content: ''; order: 1; flex: 1 1 0; }
  .sw-text h3 .city { order: -2; }
  .sw-text .city { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: -.01em; white-space: nowrap; }
  .sw-text p { display: flex; flex-direction: column; align-items: center; flex: none; font-size: 13px; line-height: 1.4; }
  .sw-text a { display: inline-block; white-space: normal; }
  .sw-text p a { order: 2; margin-top: 0; padding-top: 10px; }
}

/* ═══ Dernier appel ═══ */
.band { position: relative; margin: 40px 0 0; padding: 96px 20px 130px; text-align: center; background: var(--m-accent-deep); color: #fff; }
.band-title { font-size: 46px; color: #fff; }
.band p { font-size: 20px; max-width: 560px; margin: 20px auto 34px; opacity: .92; }
.band-link { display: block; margin-top: 22px; font: 600 15px var(--f-sec); color: #fff; opacity: .85; text-decoration: none; }
html:not(.kwz-touch) .band-link:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 720px) {
  .band { padding: 70px 20px 110px; }
  .band-title { font-size: 32px; }
  .band p { font-size: 17px; }
}

/* ═══ Pied de page (footer.js, partagé avec le site) ═══
   Ses montagnes se posent SUR la bande ; positionné, sinon la bande le
   recouvre. Ses labels (version B) sont posés par footer.js lui-même. */
.mm .footer { margin-top: -80px; position: relative; z-index: 1; }
/* Le reset .mm :where(p) retire la marge de la devise ; sans elle le bouton Instagram la touche. */
.mm .footer-tagline { margin-bottom: 14px; }

/* ═══ Politique de mouvement : sous prefers-reduced-motion, seuls les
   ornements s'arrêtent ; le contenu et les gestes demandés restent animés. ═══ */
@media (prefers-reduced-motion: reduce) {
  .cue-arrow, .cue-kwiix img, .cue-shadow, .qhero-saturn img, .qq-saturn img, .mm-fresh-dot, .sw-flag img, .sw-flag-shadow { animation: none; }
  .mtab:active, a.tp-mark:active { transform: none; }
}

/* ═══ Maillage de bas de page (26.10.2026, audit SEO) : les catégories de la bibliothèque,
   les expéditions et trois articles, en HTML statique — la home ne liait aucun contenu,
   les 1 800 fiches étaient à trois clics d'elle. Sous la vente, avant le dernier appel ;
   aucun vert (réservé à l'inscription), aucun bloc de texte. */
.lib-links { padding: 56px 20px 48px; text-align: center; background: #fff; }
.lib-links h2 { font-size: 30px; margin: 0; }
.lib-links-sub { max-width: 560px; margin: 10px auto 24px; color: var(--m-muted, #6B6B7E); font-size: 16px; }
.lib-links-list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lib-links-list a { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #E4E4EE; background: #fff; color: #1C1C2E; font: 600 14px var(--f-sec); text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.lib-links-list .lib-links-exp { border-color: var(--m-accent-deep); color: var(--m-accent-deep); }
html:not(.kwz-touch) .lib-links-list a:hover { border-color: var(--m-accent-deep); color: var(--m-accent-deep); background: #F4F5FF; }
.lib-links-list a:focus-visible { outline: 2px solid var(--m-accent-deep); outline-offset: 2px; }
.lib-links-read { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 22px; margin: 28px auto 0; max-width: 900px; font-size: 15px; }
.lib-links-read-label { font: 600 12px var(--f-sec); letter-spacing: .08em; text-transform: uppercase; color: var(--m-muted, #6B6B7E); }
.lib-links-read a { color: #1C1C2E; text-decoration: underline; text-decoration-color: #C9CBE3; text-underline-offset: 3px; }
html:not(.kwz-touch) .lib-links-read a:hover { color: var(--m-accent-deep); text-decoration-color: currentColor; }
.lib-links-read .sec-more { margin-top: 0; text-decoration: none; }
@media (max-width: 720px) {
  .lib-links { padding: 44px 16px 36px; }
  .lib-links h2 { font-size: 24px; }
  .lib-links-read { flex-direction: column; gap: 10px; }
}
