/* BeMagyar, la page de la liste d'attente (piste B, choisie par Eric le 28/10/2026) : couleurs chaudes, vrais écrans de
   l'appli, personnages animés (anim.js). Polices sous licence SIL OFL, servies par la page. */
/* latin : le français, l'espagnol, l'allemand ; latin-ext : le ő et le ű du hongrois (chargé seulement s'il sert) */
@font-face { font-family: 'Baloo 2'; src: url('/polices/baloo-2-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo 2'; src: url('/polices/baloo-2-latin-ext-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; src: url('/polices/baloo-2-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Baloo 2'; src: url('/polices/baloo-2-latin-ext-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; src: url('/polices/nunito-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; src: url('/polices/nunito-latin-ext-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; src: url('/polices/nunito-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; src: url('/polices/nunito-latin-ext-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; src: url('/polices/nunito-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; src: url('/polices/nunito-latin-ext-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --creme: #FBF4E6;
  --sable: #F7E9CF;
  --dune: #EBD6B2;
  --encre: #2A1E1A;
  --doux: #5C4A40;
  --rouge: #C33A3A;
  --rouge-ombre: #8E2226;
  --or: #F2B833;
  --nuit: #1E1838;
  --titre: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --corps: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gouttiere: clamp(16px, 5vw, 96px);
  --aura: #ff7a2f; /* la couleur de la classe du héros (heros.js) */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--creme); color: var(--encre); font: 500 18px/1.55 var(--corps); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.01em; }
a { color: var(--rouge-ombre); }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------------------ la barre */
.barre { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gouttiere);
  background: rgba(251, 244, 230, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marque { display: inline-flex; align-items: center; gap: 10px; font: 800 22px var(--titre); color: var(--encre); text-decoration: none; }
/* le logo choisi par Eric le 31/10/2026 : l'icône arrondie (img/logo.webp, à 2x) */
.logo { display: block; flex: none; width: 36px; height: 36px; filter: drop-shadow(0 2px 2px rgba(60,30,20,.2)); }
.bouton { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--rouge); color: #fff; text-decoration: none; font: 800 16px var(--corps); box-shadow: 0 4px 0 var(--rouge-ombre); }
.bouton.petit { height: 42px; padding: 0 18px; }
.actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* le choix de la langue : un petit menu discret dans la barre (outils/langues.py, langue.js) */
.langues { position: relative; }
.langues summary { list-style: none; display: grid; place-items: center; min-width: 44px; height: 42px; padding: 0 10px; border-radius: 12px; cursor: pointer;
  font: 800 14px var(--corps); letter-spacing: .04em; color: var(--doux); }
.langues summary::-webkit-details-marker { display: none; }
.langues summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); position: absolute; right: 6px; top: 50%; opacity: .55; }
.langues summary { padding-right: 20px; }
.langues summary:hover, .langues[open] summary { background: rgba(60,30,20,.06); color: var(--encre); }
.langues summary:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.langues ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 150px; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(60,30,20,.18); }
.langues a { display: block; padding: 9px 12px; border-radius: 9px; font: 700 15px var(--corps); color: var(--encre); text-decoration: none; }
.langues a:hover, .langues a:focus-visible { background: var(--sable); outline: none; }
.langues a[aria-current] { color: var(--rouge-ombre); font-weight: 800; }
.bouton:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--rouge-ombre); }

/* ------------------------------------------------------------------ l'ouverture */
.ouverture { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center;
  min-height: calc(100vh - 66px); padding: 24px var(--gouttiere) 64px; overflow: hidden;
  background: radial-gradient(90% 90% at 75% 40%, #FFF6E4 0%, var(--sable) 55%, var(--dune) 100%); }
.halo { position: absolute; right: -10%; top: 8%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(195,58,58,.16), rgba(195,58,58,0)); pointer-events: none; }
.texte { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.pastille { align-self: flex-start; margin: 0; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--rouge-ombre); font-weight: 800; font-size: 14px; box-shadow: 0 4px 14px rgba(60,30,20,.08); }
h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1; } /* 26/11 : accroche plus longue */
.chapo { margin: 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--doux); }

.liste { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; }
.champ { display: flex; gap: 10px; }
.champ input { flex: 1; min-width: 0; height: 58px; border-radius: 16px; border: 2px solid #E3CDA8; background: #fff; padding: 0 18px; font: 700 17px var(--corps); color: var(--encre); }
.champ input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 4px rgba(195,58,58,.15); }
.champ button { height: 58px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--rouge); color: #fff; font: 800 17px var(--corps); cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 0 var(--rouge-ombre), 0 14px 26px rgba(195,58,58,.3); transition: transform .08s; }
.champ button:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--rouge-ombre); }
.champ button:disabled { opacity: .7; cursor: wait; }
.aide { margin: 0; font-size: 14px; color: var(--doux); }
.aide.erreur { color: var(--rouge-ombre); font-weight: 800; }

.equipe { display: flex; align-items: center; gap: 14px; }
.tetes { display: flex; flex: none; }
.tetes img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--sable); background: #fff; }
.tetes img + img { margin-left: -14px; }
.equipe p { margin: 0; font-weight: 800; font-size: 16px; color: var(--doux); }

.scene { position: relative; z-index: 1; height: min(720px, 78vh); min-height: 520px; }
.tel { position: absolute; top: 50%; width: 32%; aspect-ratio: 780 / 1688; border-radius: 13% / 6%; background: #17171A; padding: 2.4%; box-shadow: 0 40px 70px rgba(60,30,20,.35); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tel img { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5.2%; }
.tel.milieu { left: 34%; width: 35%; transform: translate(0, -52%); box-shadow: 0 50px 90px rgba(60,30,20,.45); z-index: 2; }
.tel.gauche { left: 6%; transform: translate(0, -46%) rotate(-9deg); }
.tel.droite { left: 62%; transform: translate(0, -46%) rotate(8deg); }
.vif { position: absolute; z-index: 3; }
.vif > img { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(60,30,20,.25)); }
.vif.anime > img { visibility: hidden; }
.vif canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.scene .wisp { left: 2%; top: 12%; width: 24%; aspect-ratio: 1; }
.scene .nessie { right: -4%; bottom: -2%; width: 30%; aspect-ratio: 1; }
.scene .pip { left: 0; bottom: -4%; width: 32%; aspect-ratio: 1; }

/* ------------------------------------------------------------------ ce qui t'attend */
.moments { padding: 96px var(--gouttiere) 48px; display: flex; flex-direction: column; gap: 112px; }
/* la toile du grand dragon (stade 7, au bord droit) déborde un peu de la page : coupée, sans créer de zone qui défile */
.moments { overflow-x: clip; }
.moments > h2, .joueurs > h2 { font-size: clamp(36px, 4.4vw, 60px); text-align: center; }
.moment { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1240px; margin: 0 auto; width: 100%; }
.moment:nth-of-type(even) .art { order: 2; }
.mots { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.numero { margin: 0; font: 800 14px var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.mots h3 { font-size: clamp(32px, 3.6vw, 48px); }
.mots p { margin: 0; color: var(--doux); font-size: 19px; }
.revele { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.revele.vu { opacity: 1; transform: none; }

/* le combat : l'arène des leçons de l'appli (heros.js) ; le décor, le héros en tenue de sa classe, la créature, sa barre */
.arene { position: relative; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; background: #15101F; box-shadow: 0 40px 80px rgba(30,20,40,.35); }
.ar-scene { position: relative; aspect-ratio: 1 / .8; overflow: hidden;
  background: linear-gradient(180deg, rgba(18,14,30,.1), rgba(18,14,30,0) 40%, rgba(18,14,30,.3) 82%, #15101F), url('/img/arene/decor.webp') center 72% / cover, #15101F; }
.ar-heros { position: absolute; left: 1%; bottom: 3%; height: 84%; aspect-ratio: .84; z-index: 3; transform-origin: 50% 100%; }
.ar-heros img, .grand-heros img, .heros-final img { animation: hr-souffle 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.ar-heros img { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 0 5px var(--aura)); transition: filter .4s; }
.ar-aura, .grand-aura { position: absolute; left: 10%; right: 10%; top: 12%; bottom: 0; border-radius: 50%; background: radial-gradient(50% 50% at 50% 60%, var(--aura), transparent 70%); opacity: .4; filter: blur(8px); transition: inset .4s, opacity .4s; pointer-events: none; }
.ar-sol { position: absolute; left: 14%; width: 60%; bottom: -4px; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); }
.ar-heros[data-p="1"] .ar-aura { opacity: .75; left: 0; right: 0; }
.ar-heros[data-p="2"] .ar-aura { opacity: 1; left: -8%; right: -8%; top: 0; animation: hr-aura .55s ease-in-out infinite; }
.ar-heros[data-p="3"] .ar-aura { opacity: 1; left: -16%; right: -16%; top: -8%; background: radial-gradient(50% 50% at 50% 60%, #fff6d0, var(--aura) 35%, transparent 70%); animation: hr-aura .35s ease-in-out infinite; }
.ar-heros[data-p="2"] img, .ar-heros[data-p="3"] img { filter: drop-shadow(0 0 9px var(--aura)) drop-shadow(0 0 22px var(--aura)) brightness(1.08); }
@keyframes hr-souffle { 0%, 100% { transform: none; } 50% { transform: scale(1.012, .988); } }
@keyframes hr-aura { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.arene .boggart { position: absolute; left: auto; right: -4%; top: auto; bottom: -1%; width: 58%; aspect-ratio: 1; z-index: 2; }
.arene .boggart > img { filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.arene .ar-pip { left: 34%; bottom: 4%; width: 21%; aspect-ratio: 1; z-index: 4; }
.ar-cv, .ar-foudre { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.ar-foudre { opacity: 0; }
.ar-degat { z-index: 6; }
.ar-pv { display: flex; align-items: center; gap: 10px; padding: 2px 18px 10px; color: #fff; font: 800 16px var(--corps); }
.ar-barre { position: relative; flex: 1; height: 13px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden; }
.ar-barre i { position: absolute; inset: 0; border-radius: 99px; transform-origin: 0 50%; }
.ar-traine { background: #FFF3D0; transition: transform .55s ease-out; }
.ar-plein { background: linear-gradient(90deg, #D9363E, #F2626A); transition: transform .35s cubic-bezier(.3,.8,.4,1); }
.ar-nb { color: #C9C3E2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-son { position: absolute; top: 12px; right: 12px; z-index: 7; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(18,14,30,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ar-son[aria-pressed="true"] .s-off, .ar-son[aria-pressed="false"] .s-on { display: none; }
.ar-son:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.arene .question { margin: 0 14px 14px; }
.ar-redit { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; padding: 3px 12px 3px 8px; border: 0; border-radius: 99px; background: #E3F4EA; color: #1F7A4D; font: 800 16px var(--corps); cursor: pointer; vertical-align: middle; }
.question { position: relative; z-index: 4; margin: 0 6% 6%; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.96); display: flex; flex-direction: column; gap: 12px; }
.question .q { margin: 0; font: 800 18px var(--corps); }
.choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choix button { height: 52px; border-radius: 14px; border: 2px solid #E9DCC6; background: #fff; font: 800 18px var(--corps); color: var(--encre); cursor: pointer; transition: transform .1s, background .2s, border-color .2s; }
.choix button:hover { border-color: var(--rouge); }
.choix button.bon { background: #1F9A57; border-color: #1F9A57; color: #fff; }
.choix button.faux { animation: secoue .35s; border-color: var(--rouge); }
@keyframes secoue { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.retour { margin: 0; min-height: 22px; font-weight: 800; font-size: 15px; color: #1F7A4D; }

/* Pip à trois âges */
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; padding: 32px 24px 24px; border-radius: 28px;
  background: radial-gradient(80% 70% at 50% 85%, #FFE7C2, #FBF4E6 70%); box-shadow: inset 0 0 0 1px rgba(60,30,20,.06); }
.trois figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trois .vif { position: relative; width: 100%; }
.trois .p0 { width: 62%; aspect-ratio: 1; }
.trois .p1 { width: 86%; aspect-ratio: 1; }
.trois .p2 { width: 112%; aspect-ratio: 1; }
.trois figcaption { font-weight: 800; font-size: 15px; color: var(--doux); text-align: center; }

/* le dragon en 8 stades (11/11/2026) : une frise fixe sur une ligne du temps, chaque stade plus grand que le précédent
   (images détourées au plus près, outils/images.py --frise) ; sur téléphone, deux rangées de 4, rien ne défile */
.moment.pip-grandit { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.moment.pip-grandit .art { order: 2; width: 100%; }
.moment.pip-grandit .mots { align-items: center; }
.frise-fixe { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) minmax(0, 1.6fr); align-items: stretch; column-gap: 0; row-gap: 26px;
  padding: 56px 18px 24px; border-radius: 28px; background: radial-gradient(80% 70% at 50% 85%, #FFE7C2, #FBF4E6 70%); box-shadow: inset 0 0 0 1px rgba(60,30,20,.06); }
.st { position: relative; margin: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st .dr { position: relative; display: flex; justify-content: center; align-items: flex-end; width: calc(var(--k) * 100%); }
.st .dr img { width: 100%; height: auto; filter: drop-shadow(0 10px 10px rgba(60,30,20,.22)); }
.s0 { --k: .42; } .s1 { --k: .52; } .s2 { --k: .62; } .s3 { --k: .72; } .s4 { --k: .84; } .s5 { --k: .97; } .s6 { --k: 1.1; } .s7 { --k: 1.26; z-index: 1; }
.s7 .dr { left: -9%; } /* les ailes restent dans le cadre */ /* sa colonne est 1,6 fois plus large : le plus grand, ailes comprises */
/* la ligne du temps : un segment par stade, un point, le nombre de jours dessous */
.st figcaption { position: relative; align-self: stretch; margin-top: 10px; padding-top: 22px; font-weight: 800; font-size: 15px; color: var(--doux); text-align: center; white-space: nowrap; }
.st figcaption::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 4px; background: linear-gradient(90deg, #EBD6B2, #E8A23A); }
.st.s0 figcaption::before { left: 50%; border-radius: 4px 0 0 4px; }
.st.s7 figcaption::before { right: 8%; background: linear-gradient(90deg, #E8A23A, var(--rouge)); }
.st figcaption::after { content: ""; position: absolute; left: 50%; top: 1px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--or), 0 2px 6px rgba(60,30,20,.25); }
.st.s7 figcaption::after { width: 18px; height: 18px; margin-left: -9px; top: -1px; background: var(--or); box-shadow: 0 0 0 4px var(--rouge), 0 0 18px rgba(242,184,51,.9); }
.st.s7 figcaption { color: var(--rouge); }
/* l'arrivée, l'un après l'autre ; le saut d'un dragon touché ; une respiration douce */
.frise-fixe.arrive .st { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .55s cubic-bezier(.3,1.5,.5,1); }
.frise-fixe.arrive .st.la { opacity: 1; transform: none; }
.st .dr img { animation: fr-souffle 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
.st:nth-child(odd) .dr img { animation-delay: -1.8s; }
@keyframes fr-souffle { 0%, 100% { transform: none; } 50% { transform: scale(1.015, .985); } }
.st .dr.saute { animation: fr-saute .6s cubic-bezier(.3,.8,.4,1); }
@keyframes fr-saute { 0% { transform: none; } 35% { transform: translateY(-18%) scale(1.04); } 70% { transform: translateY(2%) scale(1.03, .96); } 100% { transform: none; } }
.vie-pause .st .dr img { animation-play-state: paused; }
@media (max-width: 700px) {
  .frise-fixe { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); padding: 34px 10px 18px; row-gap: 20px; }
  .s3 { --k: .45; } .s7 { --k: 1.3; } /* la 4e colonne est plus large : 7 jours reste entre 3 et 14 jours */
  .moment.pip-grandit .art { order: 2; }
  .st figcaption { font-size: 13px; }
  .st.s3 figcaption::before { right: 0; border-radius: 0 4px 4px 0; }
  .st.s4 figcaption::before { left: 0; }
}
@media (prefers-reduced-motion: reduce) { .st .dr img { animation: none; } .frise-fixe.arrive .st { transition: opacity .3s; transform: none; } }

/* le choix du héros */
.vitrine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: center; padding: 24px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px rgba(60,30,20,.12); }
.grand { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: radial-gradient(30% 3.2% at 50% 93%, rgba(10,6,14,.6), rgba(10,6,14,0)), linear-gradient(180deg, rgba(20,14,30,.05) 40%, rgba(20,14,30,.35)), url('/img/decor-rue.webp') center / cover, #3A2E3A; }
/* le héros debout sur les pavés, dans la tenue de sa classe : ses pieds à 93 % de la hauteur, sur l'ombre */
.grand-heros { position: absolute; left: 0; right: 0; bottom: 6.5%; height: 80%; z-index: 2; display: flex; justify-content: center; transform-origin: 50% 100%; }
.grand-heros img { position: relative; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 0 6px var(--aura)) drop-shadow(0 12px 18px rgba(0,0,0,.45)); }
.grand-heros .grand-aura { left: 18%; right: 18%; top: 10%; opacity: .35; }
.grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grille button { padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; aspect-ratio: 1; transition: transform .15s; }
.grille button img { width: 100%; height: 100%; border-radius: 50%; background: var(--sable); box-shadow: 0 0 0 3px transparent; transition: box-shadow .15s; }
.grille button[aria-checked="true"] img { box-shadow: 0 0 0 3px var(--rouge), 0 6px 14px rgba(195,58,58,.3); }
.grille button:hover { transform: translateY(-2px); }
.grille button:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

/* la ville à trois niveaux */
.niveaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 28px 16px 20px; border-radius: 28px; background: linear-gradient(180deg, #CFE8F5, #EEF6F3); }
.niveaux figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.niveaux img { width: 100%; filter: grayscale(.95) brightness(1.06) contrast(.9); transition: filter 1.2s; }
.niveaux.vu figure:nth-child(1) img { filter: none; transition-delay: .2s; }
.niveaux.vu figure:nth-child(2) img { filter: none; transition-delay: .8s; }
.niveaux.vu figure:nth-child(3) img { filter: none; transition-delay: 1.4s; }
.niveaux figcaption { font-weight: 800; font-size: 15px; color: var(--doux); }

/* le butin */
.objets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.objets li { --c: #3E9A5A; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px; border-radius: 20px; background: #1E1838; overflow: hidden;
  box-shadow: 0 0 0 2px var(--c), 0 14px 30px rgba(30,20,40,.25); }
.objets li::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--c) 35%, transparent), transparent); }
.objets li.r2 { --c: #3F78C9; }
.objets li.r3 { --c: #8A4FD6; }
.objets li.r4 { --c: #E0961F; }
.objets li.r4::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); animation: reflet 3.2s ease-in-out infinite; }
.objets li.r4:nth-child(6)::after { animation-delay: 1.4s; }
@keyframes reflet { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.objets img { position: relative; width: 78%; }
.objets span { position: relative; font-weight: 800; font-size: 14px; text-align: center; color: #EDE7F6; }

/* ------------------------------------------------------------------ pour qui */
.joueurs { padding: 64px var(--gouttiere) 96px; display: flex; flex-direction: column; gap: 36px; }
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1240px; margin: 0 auto; width: 100%; }
.cartes .carte { padding: 26px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px rgba(60,30,20,.08); }
.cartes .gros { margin: 0 0 8px; font: 800 28px/1.1 var(--titre); color: var(--rouge); }
.cartes p { margin: 0; color: var(--doux); }

/* ------------------------------------------------------------------ l'appel */
.appel { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin: 0 var(--gouttiere) 64px; padding: 330px 24px 56px; border-radius: 36px; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 0%, #3B3470, var(--nuit) 70%); color: #F6F1E6; }
.appel h2 { font-size: clamp(36px, 4.6vw, 64px); }
.appel > p { margin: 0; max-width: 560px; color: #D9D4E8; font-size: 19px; }
.appel .liste { align-items: stretch; }
.appel .aide { color: #B9B3D3; }
.pip-final { left: 50%; top: 6px; width: 360px; aspect-ratio: 1; transform: translateX(-50%); }
.pip-final > img { filter: drop-shadow(0 16px 30px rgba(242,184,51,.35)); }

.pied { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 0 var(--gouttiere) 40px; color: var(--doux); font-size: 14px; }
.pied p { margin: 0; }

/* ------------------------------------------------------------------ l'écran de butin après l'inscription */
.butin { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(20,16,36,.72); }
.butin[hidden] { display: none; }
.rayons { position: absolute; width: 900px; height: 900px; background: repeating-conic-gradient(rgba(242,184,51,.22) 0 10deg, transparent 10deg 20deg); border-radius: 50%; animation: tourne 18s linear infinite; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
@keyframes tourne { to { transform: rotate(360deg); } }
.butin .carte { position: relative; width: min(420px, 100%); padding: 28px; border-radius: 28px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 0 0 4px var(--or), 0 30px 80px rgba(0,0,0,.4); outline: none; }
.rarete { margin: 0; font: 800 13px var(--corps); letter-spacing: .16em; text-transform: uppercase; color: #C2861A; }
.butin .cape { width: 168px; height: 168px; border-radius: 24px; background: #1B1830; box-shadow: 0 0 0 3px var(--or), 0 0 34px rgba(242,184,51,.55); }
/* 15/11 (Eric) : la Cape du Fondateur, l'objet légendaire des inscrits d'avant la sortie, sous chaque formulaire */
.fondateur { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #1B1830; color: #F6F1E6; box-shadow: 0 0 0 2px var(--or), 0 10px 26px rgba(40,24,60,.25); text-align: left; max-width: 520px; }
.fondateur img { flex: none; width: 76px; height: 76px; border-radius: 14px; animation: luit 2.6s ease-in-out infinite; }
.fondateur p { margin: 0; font-size: 15px; line-height: 1.35; color: #E9E3F5; }
.fondateur b { display: block; color: var(--or); font-size: 16px; }
.appel .fondateur { margin: 4px auto 0; }
@keyframes luit { 50% { box-shadow: 0 0 22px rgba(242,184,51,.75); } }
@media (prefers-reduced-motion: reduce) { .fondateur img { animation: none; } }
.butin h2 { font-size: 32px; }
.butin p { margin: 0; color: var(--doux); }
.partager { height: 52px; width: 100%; border: 0; border-radius: 14px; background: var(--rouge); color: #fff; font: 800 17px var(--corps); cursor: pointer; box-shadow: 0 5px 0 var(--rouge-ombre); }
.fermer { height: 44px; border: 0; background: none; font: 800 16px var(--corps); color: var(--doux); cursor: pointer; }
.copie { font-weight: 800; color: #1F7A4D !important; }

@media (prefers-reduced-motion: reduce) {
  .revele { opacity: 1; transform: none; transition: none; }
  .objets li.r4::after, .rayons { animation: none; }
  .niveaux img { transition: none; }
}

/* ------------------------------------------------------------------ téléphone */
@media (max-width: 900px) {
  .ouverture { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 16px; }
  .scene { height: 560px; min-height: 0; margin: 8px -8px 0; }
  .moment { grid-template-columns: minmax(0, 1fr); }
  .moment:nth-of-type(even) .art { order: 0; }
  .moments { gap: 80px; padding-top: 64px; }
  .cartes { grid-template-columns: minmax(0, 1fr); }
  .appel { margin: 0 12px 48px; padding-top: 250px; }
  .pip-final { width: 210px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .barre .bouton { height: 38px; padding: 0 14px; font-size: 15px; }
  .barre { padding-top: 10px; padding-bottom: 10px; }
  .actions { gap: 4px; }
  .langues summary { height: 38px; min-width: 0; padding: 0 18px 0 8px; }
  .champ { flex-direction: column; }
  .champ input { flex: none; }
  .champ button { width: 100%; }
  .ar-scene { aspect-ratio: 1 / 1.02; }
  .ar-heros { left: -3%; height: 76%; }
  .arene .boggart { width: 64%; right: -9%; }
  .arene .ar-pip { left: 30%; width: 24%; bottom: 2%; }
  .ar-pv { padding: 2px 14px 10px; font-size: 15px; }
  .scene { height: 470px; }
  .tel.milieu { left: 30%; width: 42%; }
  .tel.gauche { left: 0; width: 36%; }
  .tel.droite { left: 62%; width: 36%; }
  .vitrine { grid-template-columns: minmax(0, 1fr); }
  .grand { width: 72%; margin: 0 auto; }
  .objets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choix button { font-size: 16px; padding: 0 4px; } /* « Köszönöm » tient dans son bouton à 390 px */
}

.pied .reseaux { display: flex; gap: 18px; width: 100%; justify-content: center; }
.pied .reseaux a { display: inline-flex; padding: 4px; }
.reseau-haut { display: inline-flex; }
.suivre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 0; font-weight: 700; }
.suivre a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; background: #fff; border-radius: 999px; padding: 6px 14px 6px 6px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
@media (max-width: 560px) { .reseau-haut { display: none; } }

/* ------------------------------------------------------------------ 11/11/2026 : les classes et les ateliers */
.pouvoirs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pouvoirs li { display: flex; min-width: 0; }
.pouvoirs button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px 10px 10px; border: 0; border-left: 5px solid var(--c, var(--rouge)); border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(60,30,20,.08); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.pouvoirs button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(60,30,20,.14); }
.pouvoirs button:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.pouvoirs button.choisie { box-shadow: 0 0 0 3px var(--c), 0 10px 24px rgba(60,30,20,.12); }
.pouvoirs img { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #2A2238; }
.p-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pouvoirs b { font: 800 19px/1.15 var(--titre); color: var(--c, var(--rouge)); }
.p-t span { font-size: 15px; color: var(--doux); line-height: 1.35; }
.p-voir { flex: none; width: 10px; height: 10px; border-top: 3px solid var(--c); border-right: 3px solid var(--c); transform: rotate(45deg); margin-right: 4px; }
.pouvoirs-aide { margin: 4px 0 0; font-weight: 800; font-size: 15px; color: var(--doux); }

/* le panneau d'une classe : tout l'écran du téléphone, une carte au milieu sur ordinateur */
html.clp-ouvert { overflow: hidden; }
.clp { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; --c: #FF8A3D; --aura: #ff7a2f; }
.clp[hidden] { display: none; } /* sinon le panneau caché couvrirait toute la page */
.clp-fond { position: absolute; inset: 0; background: rgba(10,8,18,.74); opacity: 0; transition: opacity .22s; }
.clp.ouvert .clp-fond { opacity: 1; }
.clp-boite { position: relative; display: flex; flex-direction: column; width: min(460px, 100%); height: min(880px, 100%); overflow: hidden; border-radius: 28px; color: #fff;
  background: radial-gradient(70% 42% at 50% 36%, var(--halo, rgba(255,138,61,.32)), transparent 72%), linear-gradient(180deg, #1C1530, #0E0B16);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(26px) scale(.97); opacity: 0; transition: transform .26s cubic-bezier(.2,.8,.3,1), opacity .2s; }
.clp.ouvert .clp-boite { transform: none; opacity: 1; }
@media (max-width: 700px) { .clp-boite { width: 100%; height: 100%; border-radius: 0; } }
.clp[data-classe="stonefist"] { --halo: rgba(255,138,61,.34); } .clp[data-classe="starcaller"] { --halo: rgba(169,139,255,.34); }
.clp[data-classe="ironward"] { --halo: rgba(232,198,106,.3); } .clp[data-classe="chante"] { --halo: rgba(79,211,255,.32); }
.clp-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 6; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.clp button:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
.clp-scene { position: relative; flex: 1 1 auto; min-height: 220px; cursor: pointer; }
.clp-halo { position: absolute; left: 14%; right: 14%; top: 8%; bottom: 3%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 60%, var(--aura), transparent 70%); opacity: .5; filter: blur(16px); }
.clp-sol { position: absolute; left: 26%; right: 26%; bottom: 4%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); }
.clp-heros { position: absolute; left: 0; right: 0; bottom: 5%; height: 90%; z-index: 2; display: flex; justify-content: center; transform-origin: 50% 100%; }
.clp-heros img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 0 10px var(--aura)) drop-shadow(0 0 26px var(--aura)); animation: hr-souffle 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.clp-cv, .clp-foudre { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.clp-foudre { opacity: 0; }
.clp-texte { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 24px 0; text-align: center; }
.clp-ta { min-height: 16px; margin: 0; font: 800 13px var(--corps); letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.clp-nom { margin: 0; font: 800 clamp(36px, 10vw, 46px)/1 var(--titre); color: var(--c); text-shadow: 0 0 26px var(--aura); }
.clp-k { margin: 12px 0 0; font: 800 12px var(--corps); letter-spacing: .16em; text-transform: uppercase; color: #ADA6CB; }
.clp-coup { margin: 0; max-width: 360px; font: 800 19px/1.3 var(--corps); color: #fff; text-wrap: balance; }
.clp-metier { margin: 12px 0 0; max-width: 380px; font-size: 15px; line-height: 1.4; color: #D9D4E8; }
.clp-metier b { color: var(--c); }
.clp-desc { margin: 0; font-size: 15px; color: #ADA6CB; font-style: italic; }
.clp-bas { display: flex; align-items: center; gap: 10px; padding: 18px 16px 6px; }
.clp-fl { flex: none; width: 50px; height: 54px; border-radius: 16px; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.clp-ok { flex: 1; min-width: 0; min-height: 54px; padding: 0 12px; border-radius: 16px; border: 0; background: var(--c); color: #1A1428; font: 800 17px/1.15 var(--corps); cursor: pointer; box-shadow: 0 5px 0 rgba(0,0,0,.3); }
.clp-ok:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.3); }
.clp-points { display: flex; justify-content: center; gap: 8px; padding: 8px 0 16px; }
.clp-points i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .2s, background .2s; }
.clp-points i.on { width: 24px; background: var(--c); }
@media (prefers-reduced-motion: reduce) { .ar-heros img, .grand-heros img, .heros-final img, .clp-heros img, .ar-aura { animation: none !important; } .clp-boite { transition: opacity .15s; transform: none; } }
.p-stonefist { --c: #C2410C; } .p-starcaller { --c: #7C3AED; } .p-ironward { --c: #2F6F8F; } .p-chante { --c: #0E9BB8; }
.ateliers { padding: 32px var(--gouttiere) 96px; display: flex; flex-direction: column; gap: 18px; overflow-x: clip; }
.ateliers > h2 { font-size: clamp(36px, 4.4vw, 60px); text-align: center; }
.chapo-section { margin: 0 auto; max-width: 640px; text-align: center; color: var(--doux); font-size: 19px; }
.ateliers-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; max-width: 1240px; margin: 28px auto 0; width: 100%; }
.atelier { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.tel-mini { width: min(220px, 70%); aspect-ratio: 780 / 1688; border-radius: 13% / 6%; background: #17171A; padding: 2.6%; box-shadow: 0 26px 50px rgba(60,30,20,.28); margin-bottom: 12px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.atelier:nth-child(odd) .tel-mini { transform: rotate(-2.5deg); } .atelier:nth-child(even) .tel-mini { transform: rotate(2.5deg); }
.atelier:hover .tel-mini { transform: rotate(0) translateY(-6px); }
.tel-mini img, .tel-mini video { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5.2%; display: block; background: #15101F; }
.at-type { margin: 0; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); }
.atelier h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); text-wrap: balance; }
.atelier p:last-child { margin: 0; color: var(--doux); font-size: 17px; max-width: 340px; }
@media (max-width: 900px) {
  .ateliers-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; }
}
@media (max-width: 520px) {
  .pouvoirs { grid-template-columns: minmax(0, 1fr); }
  .tel-mini { width: 86%; }
  .atelier h3 { font-size: 21px; }
  .atelier p:last-child { font-size: 15px; }
  .chapo-section { font-size: 17px; }
}

/* ------------------------------------------------------------------ 11/11/2026 : « Crée ton héros » (Eric : unifier le héros et
   la classe) : une section large, le texte puis la vitrine ; à gauche le héros en pied (le toucher le fait frapper), à droite
   1. son visage, 2. sa classe (le panneau en plein écran s'ouvre au toucher) */
.moment.choix-heros { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.moment.choix-heros .art { order: 2; width: 100%; max-width: 1120px; }
.moment.choix-heros .mots { align-items: center; max-width: 720px; }
.choix-heros .vitrine { grid-template-columns: minmax(0, .78fr) minmax(0, 1.6fr); gap: 32px; padding: 28px; align-items: start; text-align: left; }
.choix-heros .grand { cursor: pointer; }
.choisir { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.etape { margin: 0; display: flex; align-items: center; gap: 10px; font: 800 20px/1.2 var(--titre); color: var(--encre); }
.etape b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--rouge); color: #fff; display: grid; place-items: center; font-size: 17px; }
.etape + .pouvoirs { margin-top: 0; }
.choix-heros .grille { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.choix-heros .pouvoirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix-heros .pouvoirs-aide { margin: 0; }
.grand-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.grand-foudre { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; opacity: 0; }
@media (max-width: 900px) {
  .choix-heros .vitrine { grid-template-columns: minmax(0, 1fr); padding: 18px 14px; gap: 18px; }
  .choix-heros .grand { width: min(72%, 300px); margin: 0 auto; }
  .choix-heros .grille { gap: 6px; }
}
@media (max-width: 520px) {
  .choix-heros .pouvoirs { grid-template-columns: minmax(0, 1fr); }
  .etape { font-size: 18px; }
}

/* 14/11/2026 (Eric : « les nouveaux graphismes à la place des anciens ») : « Ta ville » montre la vraie carte peinte de
   Budapest, le quartier du Château en ruine, en chantier puis reconstruit (les trois états des bâtiments de la carte). */
.chantier.carte { aspect-ratio: 1000 / 840; background: none; box-shadow: none; overflow: visible; }
.chantier.carte .ch-parlement { left: 0; right: 0; bottom: 0; top: 0; aspect-ratio: auto; }
.chantier.carte .ch-parlement img { object-fit: cover; transition: opacity .7s ease; }
.vie-chantier.carte .ch-parlement img.n1 { opacity: 1; }
.chantier.carte .ch-echafaudage { display: none; }
.chantier.carte .ch-brume { border-radius: 0; -webkit-mask: url(/img/ville/chateau-n3.webp) center / cover no-repeat; mask: url(/img/ville/chateau-n3.webp) center / cover no-repeat; }
.chantier.carte .cult-hampe { left: 71%; top: 2.2%; width: 7%; height: 10.8%; }
.chantier.carte:not([data-niveau="3"]) .cult-hampe { opacity: 0; transition: none; }


/* 22/11/2026 : le parrainage dans la carte du butin (page.js, majParrain) */
.parrain { display: flex; gap: 12px; align-items: center; text-align: left; margin: 4px 0 14px; padding: 12px; border-radius: 14px; background: rgba(255, 215, 90, .12); border: 2px solid rgba(255, 205, 70, .55); }
.parrain img { width: 72px; height: 72px; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.parrain-titre { margin: 0 0 4px; font-weight: 800; font-size: 17px; color: #ffd75a; }
.parrain-texte { margin: 0 0 6px; font-size: 14px; line-height: 1.35; }
.parrain-compte { margin: 0; font-weight: 800; font-size: 15px; }

/* ------------------------------------------------------------------ la démo (23/11/2026) */
.demo { padding: 72px var(--gouttiere) 8px; text-align: center; }
.demo h2 { font-size: clamp(32px, 4vw, 52px); }
.demo-tel { position: relative; width: min(340px, 78vw); margin: 28px auto 0; aspect-ratio: 720 / 1558; /* 26/11 : démo v5, plus haute */ border-radius: 30px; background: #17171A; padding: 8px; box-shadow: 0 40px 70px rgba(60,30,20,.35); }
.demo-tel video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #120e22; }
.demo-son { position: absolute; right: 18px; bottom: 18px; font: 700 15px/1 var(--corps); color: #fff; background: rgba(20,14,34,.78); border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.demo-son:hover, .demo-son:focus-visible { background: var(--rouge); border-color: var(--rouge); }
.demo-legende { margin: 14px 0 0; color: var(--doux); font-size: 15px; }

/* 26/11 : les boutons Android et iPhone (bientôt) ; à la sortie, ils mèneront au Play Store et à l'App Store */
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-self: flex-start; }
.store { display: flex; align-items: center; gap: 9px; border: 0; border-radius: 12px; padding: 8px 14px 8px 12px; background: #1E1838; color: #FBF4E6; font: inherit; cursor: pointer; box-shadow: 0 4px 14px rgba(30,24,56,.18); }
.store svg { height: 18px; width: auto; display: block; }
.store span { display: flex; flex-direction: column; text-align: left; font-weight: 800; font-size: 16px; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 700; opacity: .75; }
.store:hover { transform: translateY(-1px); }
.store-msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--rouge-ombre); font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px rgba(60,30,20,.08); }
