/* Ready. Set. 2027 ! · Shakti Circles · le tunnel */
:root {
  --night: #0d0322;
  --deep: #1c0748;
  --violet: #4b0fb3;
  --lilac: #c4b0ff;
  --gold: #f9c843;
  --gold-hi: #fff0b3;
  --ink: #fbf7ff;
  --ink-2: rgba(251, 247, 255, .8);
  --ink-3: rgba(251, 247, 255, .56);
  --glass: rgba(255, 255, 255, .06);
  --gold-grad: linear-gradient(180deg, #fff3c4 0%, #ffd65c 42%, #f2aa2a 100%);
  --display: "Amatic SC", "Arial Narrow", sans-serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --dawn: 0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-snap-type: y mandatory; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  background-image: radial-gradient(90% 75% at 50% 50%, #3d0e9c 0%, #22075c 42%, var(--night) 85%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 700; }

.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Fond : tunnel + aube ---------- */
.tunnel { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.dawn {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--dawn);
  background:
    radial-gradient(55% 50% at 50% 50%, rgba(255, 240, 200, .7) 0%, rgba(255, 196, 130, .45) 25%, rgba(255, 130, 170, .28) 50%, transparent 78%),
    linear-gradient(180deg, rgba(110, 40, 200, .25), rgba(255, 120, 150, .22));
}

/* ---------- Écrans flottants ---------- */
.screen__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 22px 24px; border-radius: 22px; overflow: hidden; text-align: left;
  border: 1.5px solid rgba(249, 200, 67, .55);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .04), 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 60px -10px rgba(249, 200, 67, .35);
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), box-shadow .45s, border-color .45s;
}
.screen__face::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 38%),
              repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px);
}
.scr--card:hover .screen__face, .scr--card:focus-visible .screen__face {
  transform: scale(1.06); border-color: #ffe59a;
  box-shadow: 0 0 0 8px rgba(249, 200, 67, .12), 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 90px rgba(249, 200, 67, .6);
}
.tone-violet { background: radial-gradient(120% 90% at 20% 10%, #8a4cf5 0%, #4b12b8 45%, #1d0750 100%); }
.tone-gold { background: radial-gradient(120% 90% at 80% 10%, #ffd98a 0%, #e98a3c 40%, #6d1f7a 100%); }
.tone-rose { background: radial-gradient(120% 90% at 30% 0%, #ffb3c7 0%, #c64fb0 45%, #3b0a7c 100%); }
.tone-lilac { background: radial-gradient(120% 90% at 70% 0%, #d9c8ff 0%, #8b63f0 45%, #2c0a74 100%); }
.tone-stage { background: radial-gradient(70% 90% at 50% -10%, #ffe7a6 0%, #c9579e 30%, #3a0b7f 62%, #12042b 100%); align-items: center; justify-content: center; text-align: center; }
.screen__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.screen__logo { position: absolute; top: 18px; right: 18px; width: 96px; height: 96px; opacity: .95; filter: drop-shadow(0 0 20px rgba(196, 176, 255, .6)); }
.screen__ico { position: absolute; top: 20px; right: 22px; width: 74px; height: 74px; }
.screen__ico svg, .screen__mic svg { width: 100%; height: 100%; fill: none; stroke: #fff6d8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255, 230, 160, .7)); }
.screen__k { position: relative; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.screen__t { position: relative; z-index: 1; font-family: var(--display); font-size: 54px; line-height: .95; color: #fff; text-shadow: 0 2px 20px rgba(30, 0, 60, .5); margin: 4px 0 12px; }
.screen__cap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; font-size: 14px; }
.screen__cap b { font-weight: 600; }
.screen__cap i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.screen__poster + .screen__cap { padding: 10px 12px; margin: -6px -8px; width: calc(100% + 16px); border-radius: 14px; background: rgba(18, 4, 43, .72); backdrop-filter: blur(8px); }
.screen__live { position: absolute; top: 16px; left: 18px; z-index: 3; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .25); }
.screen__live i, .kicker--live i, .star-pill__live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5b6e; box-shadow: 0 0 10px #ff5b6e; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.screen__spot { position: absolute; left: 50%; top: -30%; width: 70%; height: 120%; transform: translateX(-50%); background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(255, 240, 200, .35) 20deg, transparent 40deg); filter: blur(6px); animation: sway 6s ease-in-out infinite; }
@keyframes sway { 50% { transform: translateX(-50%) rotate(6deg); } }
.screen__mic { position: relative; width: 60px; height: 60px; margin-bottom: 6px; }
.screen__name { position: relative; font-family: var(--display); font-size: 70px; line-height: .9; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(249, 200, 67, .55)); }
.screen__voice { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-top: 6px; }

/* ---------- Égaliseur ---------- */
.eq { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 80px; margin: 26px auto; }
.eq i { width: 7px; border-radius: 6px; background: var(--gold-grad); height: 20%; animation: eq 1.2s ease-in-out infinite; }
.eq i:nth-child(3n) { animation-duration: .9s; }
.eq i:nth-child(4n) { animation-duration: 1.5s; }
.eq i:nth-child(5n+1) { animation-duration: 1.1s; animation-delay: -.4s; }
.eq i:nth-child(2n) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.eq--mini { position: relative; height: 34px; gap: 4px; margin: 14px auto 0; }
.eq--mini i { width: 5px; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 30px; padding: 24px;
  background: radial-gradient(80% 60% at 50% 45%, #4b0fb3 0%, #1c0748 70%, #0d0320 100%);
  transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1);
  clip-path: circle(150% at 50% 50%);
}
.intro.is-done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.intro.is-gone { display: none; }
.intro__words { position: relative; height: 1.1em; font-family: var(--display); font-size: clamp(90px, 22vw, 230px); line-height: 1; width: 100%; text-align: center; }
.intro__w { position: absolute; inset: 0; opacity: 0; transform: scale(.7); filter: blur(12px); transition: opacity .45s, transform .6s cubic-bezier(.2, .9, .3, 1.2), filter .45s; }
.intro__w.is-in { opacity: 1; transform: scale(1); filter: blur(0); }
.intro__w.is-out { opacity: 0; transform: scale(1.25); filter: blur(10px); }
.intro__w.is-stay { opacity: 1; transform: scale(1); filter: blur(0); }
.intro__w--gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__choice { text-align: center; opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; pointer-events: none; }
.intro__choice.is-on { opacity: 1; transform: none; pointer-events: auto; }
.intro__choice p { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink-2); margin: 0 0 22px; }
.intro__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.intro__choice small { display: block; margin-top: 16px; color: var(--ink-3); font-size: 13px; }

/* Icône son */
.sndico { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sndico i { width: 3px; height: 30%; border-radius: 2px; background: currentColor; }
.is-playing .sndico i, .btn .sndico i { animation: eq 1s ease-in-out infinite; }
.sndico i:nth-child(2) { animation-delay: -.3s; }
.sndico i:nth-child(3) { animation-delay: -.6s; }
.sndico i:nth-child(4) { animation-delay: -.15s; }

/* ---------- Barre du haut ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); pointer-events: none; }
.top > * { pointer-events: auto; }
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 28px; line-height: 1; white-space: nowrap; }
.top__brand img { width: 40px; height: 40px; }
.top__brand i { font-style: normal; color: var(--gold); }
.top__brand b { color: var(--gold); }
.top__right { display: flex; align-items: center; gap: 10px; }
.sound { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(18, 4, 43, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); transition: border-color .3s, color .3s; }
.sound.is-playing { color: var(--gold); border-color: rgba(249, 200, 67, .6); }
.sound:not(.is-playing) .sndico i { height: 30% !important; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 99px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1), box-shadow .35s, background .3s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-grad); color: #2a0866; box-shadow: 0 10px 34px -8px rgba(249, 200, 67, .65), inset 0 1px 0 rgba(255, 255, 255, .6); position: relative; overflow: hidden; }
.btn--gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn--gold:hover { box-shadow: 0 16px 44px -8px rgba(249, 200, 67, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--ghost { background: rgba(18, 4, 43, .4); color: var(--ink); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(249, 200, 67, .6); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--lg { min-height: 62px; padding: 18px 38px; font-size: 18px; }
.btn__price { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(42, 8, 102, .14); }

/* ---------- Panneau d'écran ---------- */
.sheet, .modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(8, 1, 22, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: fadeIn .35s; }
.sheet[hidden], .modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet__box, .modal__box {
  position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: 34px clamp(22px, 4vw, 40px) 28px; border-radius: 28px; text-align: center;
  background: radial-gradient(120% 60% at 50% 0%, #5216c4 0%, #2a0a6e 45%, #160540 100%);
  border: 1.5px solid rgba(249, 200, 67, .5);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .04), 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 90px -20px rgba(249, 200, 67, .45);
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  animation: zoomIn .6s cubic-bezier(.2, .9, .25, 1.1);
}
.modal__box { width: min(520px, 100%); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.35); filter: blur(8px); } }
.sheet__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); font-size: 26px; line-height: 1; cursor: pointer; }
.sheet__close:hover { border-color: var(--gold); }
.sheet__body h3, .modal__box h3 { font-family: var(--display); font-size: clamp(44px, 7vw, 64px); line-height: 1; margin-bottom: 14px; }
.sheet__lead, .modal__lead { color: var(--ink-2); margin: 0 auto 20px; max-width: 520px; }
.sheet__note, .modal__note { font-size: 14px; color: var(--ink-3); margin: 18px 0 0; }
.sheet__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.sheet__poster { width: min(380px, 100%); margin: 0 auto; border-radius: 14px; box-shadow: 0 20px 60px -16px rgba(0, 0, 0, .7); }
.sheet__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.sheet__list li { padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink-2); }
.sheet__list b { color: var(--ink); }
.sheet__stage { position: relative; margin: -34px calc(-1 * clamp(22px, 4vw, 40px)) 24px; padding: 40px 20px 6px; background: radial-gradient(70% 100% at 50% 0%, rgba(255, 220, 160, .35), rgba(201, 87, 158, .25) 40%, transparent 75%); }
.sheet__aicha { font-size: clamp(64px, 12vw, 100px) !important; line-height: .9 !important; }
.sheet__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; text-align: left; }
.sheet__steps li { display: flex; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.sheet__steps span { font-family: var(--display); font-size: 36px; line-height: 1; color: var(--gold); min-width: 36px; }
.sheet__steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.sheet__steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.sheet__team { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet__team div { display: grid; justify-items: center; gap: 4px; padding: 18px 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.sheet__team .mono { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 30px; color: #2a0866; background: var(--gold-grad); margin-bottom: 6px; }
.sheet__team small { color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.sheet__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.sheet__facts div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.sheet__facts span { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.sheet__facts small { color: var(--ink-3); font-size: 13px; }
.faq { display: grid; gap: 10px; text-align: left; }
.faq details { border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }
.faq a { color: var(--gold); }

/* Carte d'inspiration */
.deck { position: relative; width: 240px; height: 330px; margin: 6px auto 10px; perspective: 1200px; }
.deck__shadow { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(160deg, #5b1bd0, #2a0a6b); border: 1px solid rgba(249, 200, 67, .35); transform: rotate(-5deg) translate(-8px, 6px); }
.deck__shadow--2 { transform: rotate(4deg) translate(8px, 4px); opacity: .7; }
.card { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.card.is-shuffling { animation: shuffle .6s cubic-bezier(.4, 0, .2, 1); }
@keyframes shuffle { 30% { transform: translateX(-60px) rotate(-10deg); } 60% { transform: translateX(50px) rotate(8deg); } }
.card__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, 1.1, .4, 1); }
.card.is-flipped .card__inner { transform: rotateY(180deg); }
.card__back, .card__front { transition: opacity 0s .3s; }
.card__front { opacity: 0; }
.card.is-flipped .card__back { opacity: 0; }
.card.is-flipped .card__front { opacity: 1; }
.card__face { position: absolute; inset: 0; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px 22px; overflow: hidden; }
.card__back { background: radial-gradient(circle at 50% 40%, #7a3cf0 0%, #3d0d9e 60%, #22075a 100%); border: 2px solid var(--gold); }
.card__back::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(249, 200, 67, .45); border-radius: 12px; background-image: radial-gradient(circle, rgba(249, 200, 67, .35) 1.4px, transparent 2px); background-size: 18px 18px; }
.card__logo { position: relative; font-family: var(--display); font-size: 60px; line-height: 1; color: var(--gold-hi); }
.card__logo i { font-style: normal; color: var(--gold); }
.card__hint { position: relative; margin-top: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card__front { transform: rotateY(180deg); background: linear-gradient(170deg, #fff8df, #ffe7a3); color: #2a0866; border: 2px solid #f3b733; }
.card__num { font-family: var(--display); font-size: 38px; color: #b77708; line-height: 1; }
.card__q { font-family: var(--display); font-size: 32px; line-height: 1.08; margin: 16px 0; }
.card__foot { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8b5cf6; }

.modal__preview { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .6); }
.modal__preview canvas { display: block; width: 100%; height: auto; }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 20px); z-index: 95; padding: 12px 20px; border-radius: 99px; background: var(--gold-grad); color: #2a0866; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sticky-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Photos des écrans ---------- */
.screen__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen__face--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 4, 43, 0) 30%, rgba(18, 4, 43, .55) 60%, rgba(18, 4, 43, .9) 100%); }
.screen__face--photo .screen__t, .screen__face--photo .screen__cap { z-index: 3; }
.sheet__hero { display: block; width: calc(100% + 2 * clamp(22px, 4vw, 40px)); max-width: none; margin: -34px calc(-1 * clamp(22px, 4vw, 40px)) 22px; aspect-ratio: 880 / 663; height: auto; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }

/* ---------- Mascotte soleil ---------- */
.sun-mascot { width: clamp(150px, 20vw, 230px); height: auto; margin: 0 auto 8px; filter: drop-shadow(0 0 40px rgba(255, 200, 90, .65)); animation: sunFloat 6s ease-in-out infinite; }
@keyframes sunFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.03); } }
.sun-mascot--intro { width: clamp(110px, 16vw, 170px); margin: 0; }
@media (max-width: 640px) { .sheet__hero { margin-top: -30px; } }

/* =========================================================
   v3 · TOUT DANS LE TUNNEL
   ========================================================= */
.stops { position: relative; z-index: 0; }
/* pas de scroll-snap-stop : un défilement doux s'arrête à l'étape suivante, un geste rapide en file plusieurs (et fait des tours) */
.stop { height: 100vh; height: 100svh; scroll-snap-align: start; }

.world { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; contain: strict; }
.scr {
  position: absolute; left: 0; top: 0; width: 400px; margin: 0; padding: 0; border: 0; background: none; color: var(--ink);
  font: inherit; text-align: center; container-type: inline-size;
  opacity: 0; visibility: hidden; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.scr.is-live { visibility: visible; pointer-events: auto; }
.scr.is-seen { visibility: visible; }
button.scr { cursor: pointer; }

/* cartes photo / couleur : format 4:3 */
.scr--card { aspect-ratio: 4 / 3; }
.scr--card .screen__face { padding: 6cqw 6.5cqw; border-radius: 6cqw; }
.scr--card .screen__t { font-size: 13cqw; margin: 0 0 3cqw; }
.scr--card .screen__cap { font-size: max(11px, 3.6cqw); }
.scr--card .screen__cap i { font-size: max(9px, 2.9cqw); padding: 1.6cqw 3cqw; }
.scr--card .screen__name { font-size: 15cqw; }
.scr--card .screen__voice { font-size: max(9px, 3.2cqw); }
.scr--card .screen__ico { width: 18cqw; height: 18cqw; top: 6cqw; right: 6cqw; }

/* panneau de verre */
.scr--glass {
  display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6cqw 6cqw 6.5cqw; border-radius: 28px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(98, 34, 214, .62), rgba(28, 7, 72, .78) 60%);
  border: 1.5px solid rgba(249, 200, 67, .45);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .035), 0 30px 90px -20px rgba(0, 0, 0, .7), 0 0 70px -16px rgba(249, 200, 67, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .4s, border-color .4s;
}
button.scr--glass:hover { border-color: #ffe59a; box-shadow: 0 0 0 8px rgba(249, 200, 67, .1), 0 30px 90px -20px rgba(0, 0, 0, .7), 0 0 90px -10px rgba(249, 200, 67, .55); }
.scr--bare { display: flex; flex-direction: column; align-items: center; }
.scr--final { display: flex; flex-direction: column; align-items: center; padding: 0 2cqw; }

.scr .k { display: inline-flex; align-items: center; gap: 8px; font-size: max(10px, 2.3cqw); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 3cqw; }
.scr .k--live { padding: 1.4cqw 3.4cqw; border-radius: 99px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 143, 177, .5); color: #ffd4e1; }
.k--live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5b6e; box-shadow: 0 0 10px #ff5b6e; animation: pulse 1.4s infinite; }
.scr .t { display: block; font-family: var(--display); font-weight: 700; font-size: 13cqw; line-height: .92; margin: 0; text-shadow: 0 4px 30px rgba(13, 3, 34, .7); }
.scr .p { display: block; font-size: max(14px, 3.4cqw); line-height: 1.5; color: var(--ink-2); margin: 3.5cqw 0 0; max-width: 92%; }
.scr .more { display: inline-block; margin-top: 4cqw; font-size: max(12px, 2.8cqw); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 1.8cqw 4cqw; border-radius: 99px; border: 1px solid rgba(249, 200, 67, .55); color: var(--gold-hi); }
.scr .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4cqw; }
.scr .btn { min-height: 46px; padding: 12px 24px; font-size: max(14px, 3cqw); }

/* départ */
.scr--bare .k { color: var(--gold); }
.hero-t { font-family: var(--display); line-height: .8; display: flex; flex-direction: column; align-items: center; margin: 0; }
.hero-t span { display: block; font-size: 19cqw; color: #fff; text-shadow: 0 0 30px rgba(196, 176, 255, .5), 0 6px 40px rgba(13, 3, 34, .9); }
.hero-t i { font-style: normal; color: var(--gold); }
.hero-t .y { font-size: 27cqw; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 30px rgba(249, 200, 67, .55)); }
.hero-l { font-size: max(16px, 3.9cqw); font-weight: 300; margin: 3.5cqw 0 1cqw; text-shadow: 0 2px 20px rgba(13, 3, 34, .95); }
.hero-l em { font-style: normal; color: var(--gold-hi); }
.hero-m { font-size: max(13px, 2.8cqw); color: var(--ink-2); margin: 0 0 4.5cqw; text-shadow: 0 2px 16px rgba(13, 3, 34, .95); }
.hero-m b { color: var(--ink); }
.countdown { display: flex; justify-content: center; gap: 5cqw; margin: 5cqw 0 0; }
.countdown div { display: flex; flex-direction: column; align-items: center; }
.countdown b { font-family: var(--display); font-size: max(30px, 8cqw); line-height: 1; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.countdown span { font-size: max(9px, 2cqw); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* Aïcha */
.scr--stage { background: radial-gradient(70% 70% at 50% -10%, rgba(255, 220, 160, .45), rgba(201, 87, 158, .35) 35%, rgba(42, 9, 110, .85) 70%); border-color: rgba(255, 190, 210, .6); box-shadow: 0 0 0 6px rgba(255, 255, 255, .04), 0 30px 90px -20px rgba(0, 0, 0, .7), 0 0 120px -20px rgba(255, 143, 177, .7); }
.aicha-t { font-family: var(--display); font-size: 19cqw; line-height: .85; margin: 2cqw 0 0; }
.aicha-t span:first-child { color: #fff; text-shadow: 0 0 34px rgba(255, 143, 177, .8); }
.aicha-v { font-size: max(14px, 3.4cqw); margin: 3cqw 0 0; color: var(--ink-2); }
.aicha-v strong { color: #fff; }
.scr .eq { height: 15cqw; margin: 4cqw auto 0; gap: 1.1cqw; }
.scr .eq i { width: 1.4cqw; }

/* programme */
.mini-list { list-style: none; padding: 0; margin: 4cqw 0 0; display: grid; gap: 2cqw; width: 100%; }
.mini-list button { display: flex; align-items: center; gap: 4cqw; width: 100%; text-align: left; padding: 2.8cqw 4cqw; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 2, 30, .35); cursor: pointer; font-size: max(14px, 3.6cqw); transition: border-color .3s, background .3s; }
.mini-list button:hover { border-color: var(--gold); background: rgba(75, 15, 179, .5); }
.mini-list b { font-family: var(--display); font-size: max(22px, 6cqw); line-height: 1; color: var(--gold); min-width: 8cqw; }

/* respiration */
.scr .orb { width: 56cqw; height: 56cqw; margin: 6cqw auto 13cqw; }
.scr .orb__core { inset: 11cqw; }
.scr .orb__label { font-size: max(26px, 9cqw); }

/* mot */
.scr .chips { justify-content: center; margin: 4cqw 0 4.5cqw; }
.chips--c { justify-content: center; }
.chips button { font-size: max(14px, 3.2cqw); }

/* guides */
.logo-sc { width: 15cqw; height: 15cqw; margin: 0 auto 3cqw; filter: drop-shadow(0 0 16px rgba(196, 176, 255, .6)); }
.scr .hosts { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5cqw 5cqw; margin-top: 5cqw; width: 100%; }
.scr .hosts > span { display: grid; }
.scr .hosts b { font-family: var(--display); font-size: max(26px, 7.4cqw); line-height: 1; }
.scr .hosts small { font-size: max(10px, 2.3cqw); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* fin */
.scr--final .sun-mascot { width: 34cqw; margin-bottom: 2cqw; }
.scr--final .t { color: #2a0866; text-shadow: 0 0 30px rgba(255, 250, 230, .9); }
.scr--final .t .gold { background: linear-gradient(180deg, #7a2ad8, #3b0a8f); -webkit-background-clip: text; background-clip: text; }
.scr--final .facts { margin: 3.5cqw 0 4cqw; font-size: max(14px, 3.4cqw); line-height: 1.5; color: #fff; padding: 2.6cqw 5cqw; border-radius: 18px; background: rgba(28, 7, 72, .82); border: 1px solid rgba(249, 200, 67, .35); }
.scr--final .btn--ghost { background: rgba(28, 7, 72, .8); }

/* ---------- HUD ---------- */
.hud { position: fixed; left: 50%; bottom: calc(16px + var(--safe-b)); transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 99px; background: rgba(18, 4, 43, .62); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hud__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s, opacity .3s; }
.hud__arrow:hover { border-color: var(--gold); background: rgba(249, 200, 67, .15); }
.hud__arrow:disabled { opacity: .3; cursor: default; }
.hud__arrow--next { background: var(--gold-grad); color: #2a0866; border-color: transparent; font-weight: 700; }
.hud__arrow--next:hover { background: var(--gold-grad); border-color: transparent; filter: brightness(1.08); }
.hud__mid { display: grid; justify-items: center; min-width: 170px; padding: 0 6px; }
.hud__n { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--gold); }
.hud__name { font-family: var(--display); font-size: 24px; line-height: 1.05; white-space: nowrap; }
.hud__bar { width: 100%; height: 2px; margin-top: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.hud__bar i { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }
.hint { position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); transform: translateX(-50%); z-index: 39; margin: 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; transition: opacity .6s; pointer-events: none; }
.hint.is-off { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); }
  .top__brand span { display: none; }
  .hide-xs { display: none; }
  .sound .sound__txt { display: none; }
  .sound { padding: 8px 14px; }
  .sheet__team, .sheet__facts { grid-template-columns: 1fr; }
  .sheet, .modal { padding: 10px; align-items: end; }
  .sheet__box, .modal__box { max-height: calc(100svh - 20px); border-radius: 24px; padding-top: 30px; }
  .scr--glass { border-radius: 22px; }
  .hud { bottom: calc(10px + var(--safe-b)); gap: 6px; }
  .hud__mid { min-width: 150px; }
  .hud__name { font-size: 21px; }
  .hint { bottom: calc(72px + var(--safe-b)); font-size: 10px; letter-spacing: .12em; }
}

/* ---------- Repris de la v2 : titres de panneaux, respiration, puces, formulaire ---------- */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.kicker--live { padding: 7px 16px; border-radius: 99px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 143, 177, .5); color: #ffd4e1; }
.orb { --s: 1; position: relative; width: 260px; height: 260px; display: grid; place-items: center; margin: 34px auto 60px; }
.orb__core { position: absolute; inset: 50px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff4c9 0%, #ffd65c 30%, #f0a22a 62%, #a8530f 100%); box-shadow: 0 0 80px rgba(249, 200, 67, .55), 0 0 200px rgba(249, 200, 67, .25), inset -12px -18px 40px rgba(110, 40, 0, .35); transform: scale(var(--s)); transition: transform var(--dur, 1s) cubic-bezier(.45, 0, .25, 1); animation: idle 5s ease-in-out infinite; }
.orb.is-running .orb__core { animation: none; }
@keyframes idle { 50% { transform: scale(1.06); } }
.orb__ring { position: absolute; inset: 16px; border-radius: 50%; border: 1px solid rgba(249, 200, 67, .4); transform: scale(calc(var(--s) * 1.02)); transition: transform var(--dur, 1s) cubic-bezier(.45, 0, .25, 1); }
.orb__ring--2 { inset: -12px; border-color: rgba(196, 176, 255, .22); transform: scale(calc(.9 + var(--s) * .12)); }
.orb__label { position: relative; font-family: var(--display); font-size: 42px; color: #3a0d7a; line-height: 1; text-align: center; }
.orb__count { position: absolute; bottom: -48px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 18px; }
.chips button { border: 1px solid rgba(255, 255, 255, .2); background: rgba(18, 4, 43, .5); border-radius: 99px; padding: 8px 16px; font-size: 15px; cursor: pointer; transition: all .25s; min-height: 40px; }
.chips button:hover { border-color: var(--gold); }
.chips button.is-on { background: var(--gold-grad); color: #2a0866; border-color: transparent; font-weight: 600; transform: scale(1.05); }
.wform { display: grid; gap: 12px; width: min(460px, 100%); text-align: left; padding: 22px; border-radius: 22px; background: rgba(18, 4, 43, .55); border: 1px solid rgba(249, 200, 67, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wform label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.wform label em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.wform input { width: 100%; min-height: 48px; padding: 11px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(10, 2, 30, .55); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.wform input::placeholder { color: var(--ink-3); }
.wform input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(249, 200, 67, .15); }
.wform .btn { margin-top: 6px; white-space: normal; }
.sheet .wform { margin: 0 auto; }
@container (max-width: 210px) { .scr--card .screen__live { top: 4cqw; left: 5cqw; font-size: 8px; letter-spacing: .14em; padding: 2px 7px; gap: 5px; } .scr--card .tone-stage { padding-top: 15cqw; } .screen__cap b { display: none; } .screen__cap { justify-content: flex-end; } .scr--card .screen__t { font-size: 15cqw; } }

/* =========================================================
   LE GUIDE : mascotte + bulle (emplacement remplaçable)
   ========================================================= */
.guide {
  --lean: 0deg; --gs: 104px;
  position: fixed; z-index: 38; left: max(16px, env(safe-area-inset-left)); bottom: calc(14px + var(--safe-b));
  display: flex; align-items: flex-end; gap: 4px; pointer-events: none;
  opacity: 0; transform: translateY(30px) scale(.7); transform-origin: 20% 100%;
  transition: opacity .7s, transform .9s cubic-bezier(.3, 1.4, .5, 1);
}
.guide.is-on { opacity: 1; transform: none; }
.guide.is-on.is-home { opacity: 0; transform: translate(30vw, -30vh) scale(.3); transition: opacity .9s, transform 1.2s cubic-bezier(.5, 0, .3, 1); }
.guide__body { display: block; width: var(--gs); flex: none; animation: guideFloat 5.5s ease-in-out infinite; }
.guide__img {
  width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(255, 200, 90, .6));
  transform: rotate(var(--lean)); transform-origin: 50% 80%;
  transition: transform .9s cubic-bezier(.3, 1.5, .5, 1);
}
.guide.is-moving .guide__img { transform: rotate(calc(var(--lean) * .3)) translateY(-6px) scale(.94); }
.guide.is-talking .guide__img { animation: guideHop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes guideFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes guideHop { 40% { translate: 0 -10px; } }
.guide__bubble {
  position: relative; margin: 0 0 calc(var(--gs) * .5); max-width: 250px; padding: 10px 16px;
  border-radius: 18px 18px 18px 5px; background: rgba(255, 251, 238, .96); color: #2a0866;
  font-size: 15px; font-weight: 600; line-height: 1.3; text-wrap: balance;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6), 0 0 34px rgba(249, 200, 67, .35);
  opacity: 0; transform: translate(-6px, 8px) scale(.85); transform-origin: 0 100%;
  transition: opacity .3s, transform .45s cubic-bezier(.3, 1.5, .5, 1);
}
.guide__bubble::before { content: ""; position: absolute; left: -7px; bottom: 6px; border: 8px solid transparent; border-right-color: rgba(255, 251, 238, .96); border-left: 0; }
.guide.is-talking .guide__bubble { opacity: 1; transform: none; transition-delay: .12s; }

/* portrait (téléphone, tablette debout) : soleil à gauche de la barre d'étapes, bulle juste au-dessus */
@media (orientation: portrait) and (max-width: 1100px) {
  .guide { --gs: 74px; left: max(6px, env(safe-area-inset-left)); bottom: calc(8px + var(--safe-b)); }
  .guide__bubble { position: absolute; left: calc(var(--gs) * .55); bottom: calc(var(--gs) + 2px); margin: 0; width: max-content; max-width: min(300px, calc(100vw - var(--gs) * .55 - 24px)); font-size: 14px; padding: 8px 14px; border-radius: 16px 16px 16px 4px; }
  .guide__bubble::before { left: 6px; bottom: -7px; border: 8px solid transparent; border-top-color: rgba(255, 251, 238, .96); border-bottom: 0; }
}
@media (orientation: portrait) and (max-width: 640px) { .guide { --gs: 56px; } }
@media (prefers-reduced-motion: reduce) { .guide__body, .guide.is-talking .guide__img { animation: none; } }

/* écran final en portrait : soleil plus petit, pour que les cartes ne couvrent pas « Inviter quelqu'un » */
@media (orientation: portrait) { .scr--final .sun-mascot { width: 22cqw; margin-bottom: 0; } .scr--final .facts { margin: 2.5cqw 0 3cqw; } .scr--final .row { margin-top: 2.5cqw; } }
/* petit téléphone : pas de place pour le compte à rebours sous le titre (il passait sous les cartes) */
@media (orientation: portrait) and (max-height: 700px) and (max-width: 640px) { .scr .countdown { display: none; } }

/* =========================================================
   Le soleil vole (28/11/2026) : sa place est calculée dans main.js (pickSpot / guideFly),
   la bulle s'ouvre du côté libre (data-b : r = à droite, l = à gauche, tr / tl = au-dessus).
   ========================================================= */
.guide { left: 0; top: 0; bottom: auto; display: block; width: var(--gs); translate: max(16px, 2vw) calc(100vh - var(--gs) - 16px); will-change: translate, rotate; }
@media (orientation: portrait) and (max-width: 1100px) { .guide { left: 0; bottom: auto; } }
.guide .guide__bubble { position: absolute; margin: 0; width: max-content; max-width: min(250px, 42vw); bottom: calc(var(--gs) * .55); left: calc(var(--gs) * .9); right: auto; border-radius: 18px 18px 18px 5px; transform-origin: 0 100%; }
.guide .guide__bubble::before { left: -7px; right: auto; bottom: 6px; top: auto; border: 8px solid transparent; border-right-color: rgba(255, 251, 238, .96); border-left: 0; }
.guide[data-b="l"] .guide__bubble { left: auto; right: calc(var(--gs) * .9); border-radius: 18px 18px 5px 18px; transform-origin: 100% 100%; }
.guide[data-b="l"] .guide__bubble::before { left: auto; right: -7px; border: 8px solid transparent; border-left-color: rgba(255, 251, 238, .96); border-right: 0; }
.guide[data-b="tr"] .guide__bubble, .guide[data-b="tl"] .guide__bubble { bottom: calc(var(--gs) + 4px); max-width: min(300px, calc(100vw - 24px - var(--gs) * .5)); }
.guide[data-b="tr"] .guide__bubble { left: calc(var(--gs) * .5); border-radius: 16px 16px 16px 4px; }
.guide[data-b="tl"] .guide__bubble { left: auto; right: calc(var(--gs) * .5); border-radius: 16px 16px 4px 16px; transform-origin: 100% 100%; }
.guide[data-b="tr"] .guide__bubble::before { left: 6px; right: auto; bottom: -7px; border: 8px solid transparent; border-top-color: rgba(255, 251, 238, .96); border-bottom: 0; }
.guide[data-b="tl"] .guide__bubble::before { left: auto; right: 6px; bottom: -7px; border: 8px solid transparent; border-top-color: rgba(255, 251, 238, .96); border-bottom: 0; }
@media (orientation: portrait) and (max-width: 1100px) { .guide .guide__bubble { font-size: 14px; padding: 8px 14px; } }
/* traîne de lumière pendant le vol */
.guide__body { position: relative; }
.guide__body::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 120, .55), transparent 70%); filter: blur(10px); opacity: 0; transition: opacity .5s; z-index: -1; }
.guide.is-moving .guide__body::after { opacity: 1; }
.guide[data-b="br"] .guide__bubble, .guide[data-b="bl"] .guide__bubble { bottom: auto; top: calc(var(--gs) * .45); }
.guide[data-b="br"] .guide__bubble { border-radius: 5px 18px 18px 18px; transform-origin: 0 0; }
.guide[data-b="bl"] .guide__bubble { left: auto; right: calc(var(--gs) * .9); border-radius: 18px 5px 18px 18px; transform-origin: 100% 0; }
.guide[data-b="br"] .guide__bubble::before { bottom: auto; top: 6px; }
.guide[data-b="bl"] .guide__bubble::before { left: auto; right: -7px; bottom: auto; top: 6px; border: 8px solid transparent; border-left-color: rgba(255, 251, 238, .96); border-right: 0; }
@media (orientation: portrait) and (max-width: 640px) and (max-height: 700px) { .guide { --gs: 48px; } }
