/* Site de Kira : fond clair, sa lune, et des sections qui se lèvent l'une sur l'autre comme des horizons. */
@font-face { font-family: Unbounded; src: url(../fonts/unbounded.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/plus-jakarta-sans.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }

:root {
  --bg: #f8f7fe;
  --tint: #ece9fb;
  --pale: #f8f7fe;
  --white: #fff;
  --ink: #1c1240;
  --muted: #565079;
  --violet: #4a3bc4;
  --violet-2: #5668d8;
  --night: #1a0f3f;
  --night-2: #2c1d67;
  --sky: #79baf0;
  --handle: #7f9bff;
  --moon: #eef0ff;
  --lilac: #c9c5f7;
  --pink: #ff5d8f;
  --line: #e0dcf5;
  --cut: clamp(16px, 1.4vw, 26px);
  --arc: clamp(26px, 4vw, 80px);
  --shadow: 0 18px 44px -24px rgb(44 29 103 / .4);
  --display: Unbounded, "Arial Black", sans-serif;
  --text: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' fill='none' stroke='%234a3bc4' stroke-opacity='.24' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M62 34a15 15 0 1 0 8 22 12 12 0 0 1-8-22Z'/%3E%3Cpath d='M188 28l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Ccircle cx='244' cy='96' r='7'/%3E%3Cpath d='M28 158l3 9 9 3-9 3-3 9-3-9-9-3 9-3z'/%3E%3Cpath d='M208 186a13 13 0 1 0 7 19 10 10 0 0 1-7-19Z'/%3E%3Ccircle cx='150' cy='206' r='3'/%3E%3C/svg%3E");
  --grain: url(../img/grain.png);
}

* { box-sizing: border-box; }
/* Le site grandit avec les très grands écrans : moins de vide sur les côtés */
html { font-size: clamp(15px, 10.5px + .3vw, 18px); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; color: var(--ink); font: 400 1rem/1.6 var(--text); background: var(--bg); overflow-x: clip; display: flex; flex-direction: column; min-height: 100svh; }
/* Motif du fond qui dérive très lentement */
body::before { content: ""; position: fixed; inset: -280px; z-index: -1; pointer-events: none; background: var(--pattern); will-change: transform; animation: drift-bg 110s linear infinite; }
@keyframes drift-bg { to { transform: translate(280px, 280px); } }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--handle); outline-offset: 3px; }

.wrap { width: min(94rem, 100%); margin-inline: auto; padding-inline: clamp(16px, 2vw, 28px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.arrow { width: 1.1em; height: 1.1em; transition: translate .2s; }
a:hover > .arrow, button:hover > .arrow { translate: 3px 0; }

.btn {
  --n: 11px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: .8em 1.5em; border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .2s, translate .2s;
  clip-path: polygon(var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%, 0 var(--n));
}
.btn:hover { translate: 0 -2px; filter: brightness(1.08); }
.btn-main { background: linear-gradient(100deg, var(--violet), var(--violet-2)); color: #fff; }
.btn-moon { background: var(--moon); color: var(--night); }
.btn-ghost { background: rgb(255 255 255 / .14); color: #fff; }
.btn-soft { background: var(--white); color: var(--violet); margin-top: 24px; }
.btn-small { padding: .55em 1em; font-size: .875rem; --n: 8px; }

/* Cadre de sélection de sa bannière */
.sel { position: relative; display: inline-block; border: 1px solid var(--handle); background: rgb(99 125 209 / .3); }
.sel::before {
  content: ""; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(var(--handle), var(--handle)) left top / 9px 9px no-repeat,
    linear-gradient(var(--handle), var(--handle)) right top / 9px 9px no-repeat,
    linear-gradient(var(--handle), var(--handle)) left bottom / 9px 9px no-repeat,
    linear-gradient(var(--handle), var(--handle)) right bottom / 9px 9px no-repeat;
}

/* En-tête */
.top { position: sticky; top: 0; z-index: 30; background: #f8f7fe; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo strong { display: block; font: 500 1.125rem/1.1 var(--display); letter-spacing: -.02em; }
.logo small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.logo-light small { color: var(--lilac); }
.menu { display: flex; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; font-weight: 500; font-size: .9375rem; }
.menu a { position: relative; padding: 6px 0; text-decoration: none; color: var(--muted); }
.menu a:hover, .menu a.on { color: var(--ink); }
.menu a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--violet); }
.burger { display: none; width: 44px; height: 44px; padding: 13px 10px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); transition: rotate .2s, translate .2s; }
.burger span + span { margin-top: 8px; }
.burger[aria-expanded=true] span:first-child { rotate: 45deg; translate: 0 5px; }
.burger[aria-expanded=true] span:last-child { rotate: -45deg; translate: 0 -5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 50% { opacity: .35; } }

/* Ouverture */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center;
  margin-top: clamp(10px, 1.2vw, 20px); padding: clamp(22px, 3.4vw, 56px); min-height: min(calc(100svh - 230px), 32rem); overflow: hidden; color: #fff; isolation: isolate;
  background:
    var(--grain),
    radial-gradient(70% 95% at 0% 100%, var(--sky) 0%, rgb(99 125 209 / .85) 28%, rgb(66 63 144 / .5) 55%, transparent 78%),
    linear-gradient(115deg, var(--night-2) 0%, #23143f 60%, var(--night) 100%);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.pill { display: inline-flex; align-items: center; gap: 9px; padding: .35em 1em; background: rgb(255 255 255 / .14); font-weight: 600; font-size: .875rem; }
.hero-name {
  margin: .14em 0 0 -.05em; font: 300 clamp(4.5rem, 11.5vw, 11rem)/1 var(--display); letter-spacing: -.045em;
  text-shadow: 0 0 .28em rgb(205 214 255 / .7), 0 0 .04em rgb(255 255 255 / .5); width: fit-content; transition: text-shadow .7s ease;
}
.hero-link { margin-top: .3em; padding: .3em 1.4em; font: italic 400 clamp(1.25rem, 1.8vw, 1.75rem) var(--serif); text-decoration: none; }
.hero-link:hover { background: rgb(99 125 209 / .55); }
.hero-lead { margin-top: 1.3em; font-size: 1.0625rem; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }
.hero-moon { position: relative; justify-self: center; width: min(100%, calc(100svh - 270px), 27rem); min-width: min(100%, 280px); aspect-ratio: 1; display: grid; place-items: center; }
.moon { width: 80%; height: 80%; border-radius: 50%; box-shadow: 0 0 60px rgb(160 170 255 / .28); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform-origin: center; will-change: transform; animation: spin 46s linear infinite; }
.ring text { fill: var(--moon); font: 600 22px var(--text); letter-spacing: .02em; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-moon { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.moon-count {
  position: absolute; left: 50%; bottom: 8%; translate: -50% 0; padding: .45em 1.1em; text-align: center; white-space: nowrap; color: var(--ink); background: var(--white);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.count { font: 500 1.625rem/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.count-of { color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.3; }

.shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sh { position: absolute; color: var(--moon); fill: currentColor; opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.sh.line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sh1 { width: 2.6rem; left: 47%; top: 9%; }
.sh2 { width: 1.25rem; left: 4%; top: 7%; animation-delay: -3s; }
.sh3 { width: 1.1rem; height: 1.1rem; left: 44%; bottom: 13%; border: 2px solid currentColor; border-radius: 50%; animation-delay: -6s; }
.sh4 { width: 1.1rem; left: 94%; top: 8%; animation-delay: -8s; }
.sh5 { width: .8rem; left: 54%; bottom: 8%; animation-delay: -2s; }
.sh6 { width: 1rem; height: 1rem; left: 95%; bottom: 14%; border: 2px solid currentColor; rotate: 14deg; animation-delay: -10s; }
.sh7 { width: 1.9rem; left: 30%; top: 7%; animation-delay: -5s; }
@keyframes drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(14px, -22px) rotate(35deg); } }

.phase { display: block; flex: none; }
.phase-dark { fill: var(--night); stroke: var(--night-2); stroke-width: 1; }
.phase-lit { fill: var(--moon); }
.bar { display: block; height: 5px; background: rgb(127 155 255 / .22); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--sky)); }

/* Sous l'ouverture : les trois infos du moment */
.now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; padding-bottom: calc(var(--arc) + 26px); }
.now-card { position: relative; display: flex; flex-direction: column; gap: .3em; min-height: 9.5rem; padding: 1.1em 1.3em; text-decoration: none; background: var(--white); box-shadow: var(--shadow); overflow: hidden; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: translate .2s; }
.now-card:hover { translate: 0 -3px; }
.now-label { color: var(--violet); font-size: .8125rem; font-weight: 700; }
.now-card strong { font: 400 clamp(1.25rem, 1.9vw, 1.75rem)/1.15 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.now-card strong small { font: 600 .875rem var(--text); letter-spacing: 0; color: var(--muted); }
.now-text { color: var(--muted); font-size: .875rem; line-height: 1.3; }
.now-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: .4em; font-size: .875rem; font-weight: 700; }
.now-card .bar { margin-block: .25em; }
.now-dark { color: #fff; background: var(--grain), linear-gradient(120deg, var(--night-2), var(--night)); }
.now-dark .now-label { color: var(--sky); }
.now-dark strong small, .now-dark .now-text { color: var(--lilac); }
.now-video { padding: 0; color: #fff; background: var(--night); }
.now-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.now-video:hover img { scale: 1.04; }
.now-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 12%, rgb(26 15 63 / .82) 58%, rgb(26 15 63 / .96)); }
.now-video-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding: 1.1em 1.3em; }
.now-video .now-label { color: var(--sky); }
.now-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; line-height: 1.25; }
.now-video > .now-label, .now-video > strong { position: relative; z-index: 1; margin: 1.1em 1.3em 0; }

/* Haut des pages intérieures */
.page-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5em; margin-top: clamp(10px, 1.2vw, 18px); padding: clamp(22px, 3vw, 44px) clamp(22px, 3.4vw, 56px); color: #fff; isolation: isolate; overflow: hidden; background: var(--grain), radial-gradient(60% 150% at 0% 100%, rgb(121 186 240 / .75) 0%, rgb(99 125 209 / .5) 35%, transparent 72%), linear-gradient(115deg, var(--night-2), #23143f 60%, var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.page-top h1 { font: 300 clamp(1.875rem, 4vw, 3.5rem)/1.08 var(--display); letter-spacing: -.04em; text-shadow: 0 0 .3em rgb(205 214 255 / .45); }
.page-top p { margin-top: .4em; color: var(--moon); max-width: 56ch; }
.page-top .phase { width: 5.5rem; height: 5.5rem; filter: drop-shadow(0 0 22px rgb(160 170 255 / .4)); }
.page-top .phase-dark { fill: rgb(26 15 63 / .6); stroke: var(--lilac); }
.page-top .sh3 { left: 62%; bottom: 18%; }
.inner { padding-block: clamp(20px, 2.6vw, 38px) calc(var(--arc) + clamp(28px, 3vw, 48px)); }
.next-line { margin-bottom: 1em; font-size: 1.0625rem; }
.config-panel { padding: clamp(18px, 2.2vw, 34px); color: #fff; background: var(--grain), radial-gradient(50% 70% at 100% 100%, rgb(121 186 240 / .3), transparent 70%), linear-gradient(120deg, var(--night-2), var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
/* Partenaires qui défilent, sur toute la largeur */
.logos { position: relative; margin-top: 4px; overflow: hidden; padding-block: 6px 22px; }
.logos::before, .logos::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 7vw, 120px); z-index: 1; pointer-events: none; }
.logos::before { left: 0; background: linear-gradient(90deg, var(--pale), transparent); }
.logos::after { right: 0; background: linear-gradient(270deg, var(--pale), transparent); }
.logos-track { display: flex; width: max-content; will-change: transform; animation: slide-quarter 46s linear infinite; }
.logos:hover .logos-track, .logos:focus-within .logos-track { animation-play-state: paused; }
.logos-group { display: flex; gap: 12px; padding-right: 12px; }
.brand { display: flex; align-items: center; gap: 12px; width: 15.5rem; padding: .8em 1em; text-decoration: none; background: var(--white); box-shadow: 0 10px 24px -18px rgb(44 29 103 / .5); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); transition: background .2s; }
.brand:hover { background: var(--tint); }
.brand .ticket-logo { width: 3rem; height: 3rem; padding: .4rem; background: var(--tint); }
.brand .ticket-logo.on-dark { background: var(--night); }
.brand .ticket-mono { font-size: 1.125rem; }
.brand-name { display: block; font-weight: 700; line-height: 1.2; }
.brand-off { display: block; color: var(--violet); font: 500 1.0625rem/1.25 var(--display); letter-spacing: -.03em; white-space: nowrap; }
@keyframes slide-quarter { to { transform: translateX(-25%); } }

/* Étoiles qui scintillent sur les blocs de nuit */
.hero::after, .page-top::after, .config-panel::after, .foot::after, .send-intro::after, .clip-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; will-change: opacity; animation: stars 5s ease-in-out infinite alternate;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 24%, #fff, transparent), radial-gradient(1px 1px at 17% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 29% 12%, #fff, transparent), radial-gradient(1px 1px at 38% 58%, #fff, transparent),
    radial-gradient(1px 1px at 46% 86%, #fff, transparent), radial-gradient(1.5px 1.5px at 57% 18%, #fff, transparent),
    radial-gradient(1px 1px at 66% 66%, #fff, transparent), radial-gradient(1.5px 1.5px at 74% 34%, #fff, transparent),
    radial-gradient(1px 1px at 83% 82%, #fff, transparent), radial-gradient(1.5px 1.5px at 92% 16%, #fff, transparent);
}
@keyframes stars { from { opacity: .25; } to { opacity: .85; } }
.config-panel, .send-intro, .clip-cta, .foot { position: relative; isolation: isolate; }

/* Apparition en douceur */
html.js [data-reveal] { transition: opacity .6s ease var(--d, 0ms), transform .75s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), translate .2s, box-shadow .2s; }
html.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px); }

/* Page des objectifs */
.goal-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 44px) clamp(22px, 4vw, 64px); color: #fff; background: var(--grain), radial-gradient(60% 120% at 0% 50%, rgb(121 186 240 / .32), transparent 70%), linear-gradient(115deg, var(--night-2), var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.goal-moon { width: min(100%, 20rem); justify-self: center; }
.goal-moon .moon { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.goal-now { display: flex; flex-direction: column; align-items: flex-start; gap: .75em; min-width: 0; }
.goal-kicker { color: var(--sky); font-weight: 700; font-size: .875rem; }
.goal-big { font: 300 clamp(3rem, 7vw, 6rem)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.goal-big small { font: 600 1rem var(--text); letter-spacing: 0; color: var(--lilac); }
.bar-big { width: 100%; max-width: 38rem; height: 10px; border-radius: 99px; background: rgb(255 255 255 / .14); }
.bar-big > span { border-radius: 99px; }
.goal-facts { display: flex; flex-wrap: wrap; gap: .3em 2em; color: var(--lilac); }
.goal-facts strong { color: #fff; font: 500 1.125rem var(--display); letter-spacing: -.03em; }
.goal-reward { font: italic 400 1.5rem/1.2 var(--serif); color: var(--moon); }
.goal-now .btn { margin-top: .2em; }
.road { margin-top: clamp(24px, 3vw, 44px); }
.road h2 { margin-bottom: 1em; font: 300 clamp(1.375rem, 2.2vw, 2rem)/1.15 var(--display); letter-spacing: -.035em; }
.road-list { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
/* Le chemin qui relie les lunes, rempli jusqu'au palier en cours */
.road-list::before, .road-list::after { content: ""; position: absolute; left: 0; top: calc(1.1em + 1.625rem - 2px); height: 4px; border-radius: 4px; z-index: 1; pointer-events: none; }
.road-list::before { right: 0; background: var(--line); }
.road-list::after { width: var(--road, 0%); background: linear-gradient(90deg, var(--violet), var(--sky)); }
.stop { position: relative; z-index: 2; display: flex; flex-direction: column; gap: .15em; padding: 1.1em 1.2em 1.2em; background: transparent; }
.stop .phase { position: relative; z-index: 2; width: 3.25rem; height: 3.25rem; margin-bottom: .55em; }
.stop-state { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.stop-title { font: 400 clamp(1.125rem, 1.5vw, 1.5rem)/1.2 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stop-text { color: var(--muted); font-size: .9375rem; line-height: 1.35; }
.stop-done .phase { filter: drop-shadow(0 0 7px rgb(127 155 255 / .9)); }
.stop-open .stop-state { color: var(--violet); }
.stop-open .stop-title { color: var(--violet); }
.stop-later { opacity: .6; }
.stop-later .phase-dark { fill: var(--tint); stroke: #b9b4e8; }
.stop-later .phase-lit { fill: var(--tint); }

/* Page du planning */
.next-live { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1.2em clamp(20px, 3vw, 48px); align-items: center; padding: clamp(18px, 2.4vw, 32px) clamp(22px, 3.4vw, 48px); color: #fff; background: var(--grain), radial-gradient(50% 150% at 100% 50%, rgb(121 186 240 / .3), transparent 70%), linear-gradient(115deg, var(--night-2), var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.next-label { display: flex; align-items: center; gap: 8px; color: var(--sky); font-weight: 700; font-size: .875rem; }
.next-big { margin-top: .15em; font: 300 clamp(1.75rem, 3.6vw, 3rem)/1.1 var(--display); letter-spacing: -.04em; }
.next-sub { margin-top: .25em; color: var(--lilac); }
.countdown { display: flex; gap: .5em; }
.countdown span { display: flex; flex-direction: column; align-items: center; min-width: 4.4rem; padding: .55em .4em .5em; background: rgb(255 255 255 / .09); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.countdown b { font: 400 2.125rem/1.05 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.countdown small { color: var(--lilac); font-size: .75rem; font-weight: 600; }
.agenda { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 6px; margin-top: clamp(16px, 2vw, 28px); }
.agenda-hours { position: relative; margin-top: 3.05rem; height: 25rem; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.agenda-hours span { position: absolute; right: 6px; translate: 0 -50%; }
.agenda-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.agenda-day { min-width: 0; }
.agenda-name { height: 3.05rem; display: flex; flex-direction: column; justify-content: center; font-weight: 700; line-height: 1.15; }
.agenda-name small { color: var(--violet); font-size: .75rem; font-weight: 700; }
.agenda-col { position: relative; height: 25rem; background: repeating-linear-gradient(to bottom, rgb(74 59 196 / .1) 0 1px, transparent 1px calc(100% / var(--lines, 6))), rgb(255 255 255 / .75); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.agenda-day.today .agenda-col { background: repeating-linear-gradient(to bottom, rgb(255 255 255 / .08) 0 1px, transparent 1px calc(100% / var(--lines, 6))), var(--grain), linear-gradient(180deg, var(--night-2), var(--night)); }
.agenda-slot { position: absolute; left: 6px; right: 6px; padding: .55em .65em .65em; color: #fff; background: linear-gradient(120deg, var(--violet), #5f74dd); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: translate .2s; }
.agenda-slot:hover { translate: 0 -2px; }
.agenda-slot strong { display: block; font: 400 1.125rem/1.1 var(--display); letter-spacing: -.03em; }
.agenda-slot span { display: block; margin-top: .15em; font-size: .8125rem; line-height: 1.25; color: var(--moon); }
.agenda-day.today .agenda-slot { color: var(--night); background: var(--moon); }
.agenda-day.today .agenda-slot span { color: var(--muted); }
.agenda-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--pink); z-index: 2; }
.agenda-now::before { content: ""; position: absolute; left: 3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.agenda-rest { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: var(--muted); font-size: .875rem; font-weight: 600; }

/* Sections : chacune se lève sur la précédente en arc, comme un horizon de lune */
.sec { position: relative; padding: clamp(36px, 3.6vw, 64px) 0 calc(var(--arc) + clamp(36px, 4vw, 72px)); background: var(--sec); }
.sec::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--arc) * -1); height: calc(var(--arc) * 2 + 2px); background: var(--sec); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.sec > .wrap { position: relative; }
.sec-tint { --sec: var(--tint); }
.sec-pale { --sec: var(--pale); }
.sec-night { --sec: var(--night); color: #fff; }
/* Titre : la petite lune se remplit de section en section */
.sec-head { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); margin-bottom: clamp(22px, 2.6vw, 40px); }
.sec-head .phase { width: 2.6rem; height: 2.6rem; }
.sec-head-link .more { margin-left: auto; }
.more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--violet); text-decoration: none; white-space: nowrap; }
.sec-head h2 { font: 300 clamp(1.5rem, 2.5vw, 2.375rem)/1.1 var(--display); letter-spacing: -.035em; }
.sec-lead { margin-top: .25em; color: var(--muted); max-width: 60ch; }
.sec-night .phase-dark { fill: #2c1d67; stroke: var(--lilac); }
.sec-night .sec-lead, .night-muted { color: var(--lilac); }
.sub-title { margin: 2em 0 .8em; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }

/* Planning */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { padding: .9em 1em 1.1em; min-height: 8.5em; background: var(--white); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.day-name { font-weight: 700; font-size: .875rem; margin-bottom: .4em; }
.day-name span { display: block; font-weight: 500; font-size: .75rem; color: var(--lilac); }
.slot { font-size: .875rem; line-height: 1.3; margin-top: .5em; }
.slot strong { display: block; font: 400 1.375rem/1.15 var(--display); letter-spacing: -.03em; }
.slot span { display: block; color: var(--muted); }
.day.off { background: rgb(255 255 255 / .45); }
.day.today { color: #fff; background: var(--night); }
.day.today .slot span { color: var(--lilac); }

/* Vidéos */
.player { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--night); cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease; }
.player:hover img { scale: 1.03; }
.player-empty { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--night-2), var(--night)); }
.play { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--night); background: var(--moon); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.play svg { width: 20px; height: 20px; }
.player-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
/* Page Vidéos */
.feature-player { min-width: 0; overflow: hidden; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.video-main { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 44px); align-items: center; padding: clamp(14px, 1.8vw, 26px); color: #fff; background: var(--grain), radial-gradient(60% 130% at 100% 100%, rgb(121 186 240 / .38), transparent 70%), linear-gradient(120deg, var(--night-2), var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.feature-text { display: flex; flex-direction: column; align-items: flex-start; gap: .6em; padding-right: clamp(4px, 1.4vw, 22px); min-width: 0; }
.feature-label { color: var(--sky); font-size: .875rem; font-weight: 700; }
.feature-text h2 { font: 300 clamp(1.25rem, 2.1vw, 2.125rem)/1.18 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.feature-meta { color: var(--lilac); font-size: .9375rem; }
.feature-text .btn { margin-top: .4em; }
.feature-channels { display: flex; flex-wrap: wrap; gap: .3em 1.3em; margin-top: .3em; font-size: .9375rem; font-weight: 600; }
.feature-channels a { display: inline-flex; align-items: center; gap: 6px; color: var(--lilac); text-decoration: none; }
.feature-channels a:hover { color: #fff; }
.video-main .play { width: 3.75rem; height: 3.75rem; left: 18px; bottom: 18px; }
.video-sec { margin-top: clamp(28px, 3.4vw, 52px); }
.video-sec > h2, .rail-head h2 { font: 300 clamp(1.375rem, 2.2vw, 2.125rem)/1.15 var(--display); letter-spacing: -.035em; }
.video-sec > h2 { margin-bottom: .8em; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: minmax(0, 1fr); } }
.video-card { min-width: 0; }
.video-thumb { position: relative; overflow: hidden; clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.video-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s; background: linear-gradient(transparent 45%, rgb(26 15 63 / .7)); }
.video-thumb:hover::after { opacity: 1; }
.video-thumb .play { z-index: 1; width: 2.75rem; height: 2.75rem; left: 10px; bottom: 10px; opacity: 0; translate: 0 6px; transition: opacity .2s, translate .2s; }
.video-thumb:hover .play, .video-thumb .player:focus-visible .play { opacity: 1; translate: 0 0; }
.video-thumb .play svg { width: 16px; height: 16px; }
.video-card h3 { margin-top: .6em; font-size: 1rem; font-weight: 700; line-height: 1.28; }
.video-card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.video-card h3 a:hover { color: var(--violet); }
.video-card .small { margin-top: .15em; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: .9em; }
.rail-btns { display: flex; gap: 6px; }
.rail-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: .7rem; color: var(--violet); background: var(--tint); border: 0; cursor: pointer; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .2s, color .2s, opacity .2s; }
.rail-btn:hover { color: #fff; background: var(--violet); }
.rail-btn:disabled { opacity: .35; cursor: default; color: var(--violet); background: var(--tint); }
.shorts { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; }
.shorts::-webkit-scrollbar { display: none; }
.short { position: relative; flex: 0 0 clamp(150px, 13vw, 12.5rem); aspect-ratio: 9 / 15; overflow: hidden; color: #fff; text-decoration: none; background: var(--night); scroll-snap-align: start; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.short img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .45s cubic-bezier(.16, 1, .3, 1); }
.short:hover img { scale: 1.05; }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgb(26 15 63 / .92)); }
.short-play { position: absolute; right: 10px; top: 10px; z-index: 1; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: .55rem; color: var(--night); background: var(--moon); opacity: 0; translate: 0 -5px; transition: opacity .2s, translate .2s; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.short:hover .short-play, .short:focus-visible .short-play { opacity: 1; translate: 0 0; }
.short-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: .8em; }
.short-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; font-weight: 700; line-height: 1.25; }
.short-views { display: block; margin-top: .15em; color: var(--lilac); font-size: .75rem; font-weight: 600; }
.shorts-sec .more { margin-top: .5em; }

.tile { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; background: rgb(127 155 255 / .2); color: var(--moon); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 10px; }
.gear-cell { padding: 1.1em 1.1em 1.2em; background: rgb(255 255 255 / .07); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.gear-cell:hover { background: rgb(255 255 255 / .12); }
.gear-img { width: 3.5rem; height: 2.75rem; object-fit: contain; }
.gear-cat { margin-top: .8em; color: var(--sky); font-size: .8125rem; font-weight: 700; }
.gear-name { margin-top: 2px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.gear-detail { margin-top: 2px; color: var(--lilac); font-size: .875rem; line-height: 1.35; }
.config-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .85fr); gap: 10px; margin-top: 10px; align-items: end; }
.glass { align-self: stretch; padding: 1.3em; background: rgb(255 255 255 / .07); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.glass h2 { font-size: 1.125rem; font-weight: 800; margin-bottom: .5em; }
.lines > div { display: grid; grid-template-columns: minmax(84px, 36%) minmax(0, 1fr); gap: 12px; padding: .55em 0; border-top: 1px solid rgb(195 191 245 / .18); font-size: .9375rem; }
.lines dt { color: var(--lilac); }
.lines dd { font-weight: 600; overflow-wrap: anywhere; }
.copy-line { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-weight: 600; }
.copy-value { word-break: break-all; }
.copy-tag { color: var(--sky); font-weight: 700; font-size: .8125rem; }
.valo { width: 100%; max-width: 24rem; height: auto; margin: -2rem auto calc(var(--arc) * -1); pointer-events: none; position: relative; z-index: 1; }

/* Partenaires : de vrais tickets de réduction, avec leur talon détachable */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(27rem, 100%), 1fr)); gap: 14px; }
.ticket {
  --stub: 9.5rem;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); color: #fff; overflow: hidden; border-radius: 18px;
  background: var(--grain), radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 70%), linear-gradient(120deg, var(--night-2), var(--night));
  transition: translate .2s, box-shadow .2s;
}
.ticket:hover { translate: 0 -4px; box-shadow: 0 16px 34px -18px color-mix(in srgb, var(--brand) 70%, var(--night)); }
/* Les deux encoches du talon, de la couleur du fond de la section */
.ticket::before, .ticket::after { content: ""; position: absolute; right: calc(var(--stub) - 11px); width: 22px; height: 22px; border-radius: 50%; background: var(--sec); z-index: 1; }
.ticket::before { top: -11px; }
.ticket::after { bottom: -11px; }
.ticket-main { display: flex; flex-direction: column; gap: .8em; padding: 1.3em 1.6em 1.2em 1.3em; min-width: 0; }
.ticket-brand { display: flex; align-items: center; gap: 13px; }
.ticket-logo { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; flex: none; padding: .55rem; background: var(--white); border-radius: 14px; }
.ticket-logo.on-dark { background: rgb(255 255 255 / .1); }
.ticket-logo img { width: 100%; height: 100%; object-fit: contain; }
.ticket-mono { font: 500 1.375rem var(--display); letter-spacing: -.04em; color: var(--night); }
.ticket h2 { font: 400 clamp(1.125rem, 1.4vw, 1.375rem)/1.15 var(--display); letter-spacing: -.03em; }
.ticket-offer { flex: 1; color: var(--moon); font-size: .9375rem; line-height: 1.4; }
.ticket-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--brand); }
.ticket-go:hover { color: var(--moon); }
.ticket-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15em; padding: 1em .8em; text-align: center; color: var(--night); background: var(--moon); border-left: 2px dashed rgb(26 15 63 / .35); }
.ticket-discount { font: 500 clamp(1.75rem, 2.4vw, 2.5rem)/1 var(--display); letter-spacing: -.05em; white-space: nowrap; }
.ticket-with { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.ticket-code { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: .5em; padding: .4em .3em; color: #fff; background: var(--night); border: 0; cursor: pointer; font: 500 .9375rem/1.2 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .2s; }
.ticket-code:hover { background: var(--violet); }
.ticket-code .copy-tag { color: var(--lilac); font: 700 .75rem var(--text); letter-spacing: 0; }
.badge-18 { padding: 0 .45em; color: #fff; background: var(--pink); font: 700 .6875rem var(--text); letter-spacing: 0; vertical-align: 3px; }
.partners-note { margin-top: 1em; color: var(--muted); font-size: .8125rem; }

/* Clips */
.clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.clip-top { grid-column: span 2; grid-row: span 2; }
.clip-frame { position: relative; }
.clip-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .15s; border: 2px solid var(--handle); }
.clip-frame:hover::after, .clip-frame:focus-within::after { opacity: 1; }
.clip-tag { position: absolute; left: 8px; top: 8px; padding: 2px 10px; background: var(--white); color: var(--ink); font-size: .8125rem; font-weight: 700; z-index: 1; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.clip figcaption { margin-top: .4em; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.clip-top figcaption { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }

.clip-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1em 1.5em; margin-top: clamp(24px, 2.6vw, 40px); padding: clamp(18px, 2vw, 30px) clamp(20px, 2.6vw, 40px); color: #fff; scroll-margin-top: 90px; background: var(--grain), radial-gradient(60% 140% at 0% 100%, rgb(121 186 240 / .6), transparent 70%), linear-gradient(120deg, var(--night-2), var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.clip-cta h2 { font: 300 clamp(1.375rem, 2vw, 2rem)/1.15 var(--display); letter-spacing: -.03em; }
.clip-cta .phase-dark { fill: rgb(26 15 63 / .7); stroke: var(--lilac); }
.clip-cta .btn { margin-left: auto; }
.send { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); background: var(--white); scroll-margin-top: 90px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.send-intro { display: flex; flex-direction: column; gap: .7em; padding: clamp(22px, 2.6vw, 40px); color: #fff; background: var(--grain), radial-gradient(90% 80% at 0% 100%, rgb(121 186 240 / .7), transparent 70%), linear-gradient(120deg, var(--night-2), var(--night)); }
.send-intro h3 { font: 300 clamp(1.375rem, 2.2vw, 2.25rem)/1.15 var(--display); letter-spacing: -.03em; }
.send-intro .phase { margin-top: auto; }
.send-intro .phase-dark { fill: rgb(26 15 63 / .7); stroke: var(--lilac); }
.send-form { display: grid; gap: .8em; padding: clamp(22px, 2.6vw, 40px); }
.send-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .8em; }
.send label { display: block; font-size: .9375rem; font-weight: 600; }
.send input:not([type=checkbox]) { display: block; width: 100%; margin-top: 4px; padding: .65em .9em; background: var(--bg); border: 1px solid var(--line); font-weight: 400; }
.send input:focus { outline: 2px solid var(--handle); border-color: var(--handle); }
.send input::placeholder { color: var(--muted); }
.send .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.check input { margin-top: .2em; width: 18px; height: 18px; flex: none; accent-color: var(--violet); }
.send .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; }
.notice { padding: .6em .9em; border-left: 3px solid var(--violet); background: var(--tint); font-weight: 600; }
.notice-error { border-color: #d42c63; background: #fdeef3; color: #8c1239; }

/* Réseaux */
.reseaux { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.reseaux-photos { position: relative; padding-right: 22%; padding-bottom: 10%; }
.reseaux-photos .p1 { width: 100%; height: auto; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.reseaux-photos .p2 { position: absolute; right: 0; bottom: 0; width: 38%; height: auto; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.social { display: flex; align-items: center; gap: 12px; padding: .75em .9em; background: var(--white); text-decoration: none; box-shadow: var(--shadow); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); transition: translate .2s; }
.social:hover { translate: 0 -2px; }
.social strong { display: block; line-height: 1.25; }
.social small { display: block; color: var(--muted); font-size: .8125rem; overflow-wrap: anywhere; line-height: 1.3; }
.social .tile { background: var(--tint); color: var(--violet); }
.social .arrow { margin-left: auto; color: var(--violet); }

/* Le chat flemmard sur son croissant de lune */
.buddy { position: fixed; right: 12px; bottom: 6px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 0; pointer-events: none; }
.buddy > * { pointer-events: auto; }
.buddy-man { width: 7rem; padding: 0; background: none; border: 0; cursor: pointer; transition: scale .2s; }
.buddy-man:hover { scale: 1.06; }
.buddy-man svg, .b-all { animation: floaty 4.6s ease-in-out infinite; }
.b-tail { transform-box: view-box; transform-origin: 134px 92px; animation: swing 3.2s ease-in-out infinite alternate; }
.b-paw { transform-box: view-box; transform-origin: 82px 108px; animation: swing 2.6s ease-in-out infinite alternate; }
.b-ear { transform-box: view-box; transform-origin: 26px 62px; animation: ear-flick 7s ease-in-out infinite; }
.b-awake { display: none; }
.b-look { transition: transform .08s linear; }
.b-z { animation: snooze 3s ease-in-out infinite; }
.b-z2 { animation-delay: -1.5s; }
.is-awake .b-asleep, .is-awake .b-zz, .buddy-man:hover .b-asleep, .buddy-man:hover .b-zz { display: none; }
.is-awake .b-awake, .buddy-man:hover .b-awake { display: block; }
@keyframes floaty { 50% { transform: translateY(-5px); } }
@keyframes swing { from { transform: rotate(-6deg); } to { transform: rotate(9deg); } }
@keyframes ear-flick { 0%, 91%, 100% { transform: rotate(0); } 94% { transform: rotate(-10deg); } }
@keyframes snooze { 0%, 100% { opacity: .25; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-3px); } }
.buddy-bubble { position: relative; width: 14.5rem; padding: .8em 1em; background: var(--white); box-shadow: var(--shadow); border: 2px solid var(--night); border-radius: 14px; }
.buddy-bubble::after { content: ""; position: absolute; right: 4.6rem; bottom: -9px; width: 14px; height: 14px; background: var(--white); border-right: 2px solid var(--night); border-bottom: 2px solid var(--night); rotate: 45deg; }
.buddy-bubble p { min-height: 2.6em; padding-right: 18px; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.buddy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: .3em; color: var(--violet); font-size: .875rem; font-weight: 700; text-decoration: none; }
.buddy-close { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; padding: 5px; background: none; border: 0; cursor: pointer; color: var(--muted); }
.buddy.closed .buddy-bubble { display: none; }

/* Transition entre les pages */
html.intro-on { background: var(--night); }
/* Même fond que les bandes fermées : le changement de page ne se voit pas */
html.pt-on { background: radial-gradient(38% 30% at 50% 50%, rgb(205 214 255 / .13), transparent 72%) fixed, #22134f; }
html.intro-play .hero-name, html.intro-play .moon { visibility: hidden; text-shadow: none; }
html.pt-on body, html.intro-on body { visibility: hidden; }
.pt { position: fixed; inset: 0; z-index: 90; overflow: hidden; visibility: visible; color: #fff; }
.pt-band { position: absolute; left: 0; right: 0; height: 50.2%; will-change: transform; background: #22134f; }
.pt-top { top: 0; }
.pt-bottom { bottom: 0; }
.pt-stage { position: absolute; inset: 0; text-align: center; background: radial-gradient(38% 30% at 50% 50%, rgb(205 214 255 / .13), transparent 72%); }
.pt-title, html.pt-on::after { font: 300 clamp(2.25rem, 8vw, 6.5rem)/1.05 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.pt-title { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; }
html.pt-on::after { content: attr(data-pt); position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; color: #fff; visibility: visible; }
.pt-l { display: inline-block; overflow: hidden; vertical-align: bottom; }
.pt-l > span { display: inline-block; will-change: transform; }
.pt-words { position: absolute; left: 16px; right: 16px; top: calc(50% + clamp(2.25rem, 8vw, 6.5rem) * .78); margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .2em 1.6em; color: var(--lilac); font-weight: 600; font-size: clamp(.9375rem, 1.5vw, 1.25rem); }

/* Le décor de chaque page pendant la transition */
.pt-motif { position: absolute; inset: 0; overflow: hidden; color: var(--moon); pointer-events: none; }
.pt-motif * { will-change: transform, opacity; }
.m-disc { position: absolute; left: 50%; top: 50%; width: 62vmin; height: 62vmin; margin: -31vmin; border-radius: 50%; background: radial-gradient(circle at 62% 38%, rgb(238 240 255 / .34), rgb(238 240 255 / .08) 58%, transparent 70%); animation: m-in .7s cubic-bezier(.16, 1, .3, 1) .2s both; }
.m-orbit { position: absolute; left: 50%; top: 50%; width: 82vmin; height: 82vmin; margin: -41vmin; opacity: .4; animation: m-spin 18s linear infinite; }
.m-fill { position: absolute; left: 50%; top: 50%; width: 74vmin; height: 74vmin; margin: -37vmin; overflow: hidden; border-radius: 50%; background: rgb(238 240 255 / .26); box-shadow: 0 0 0 1px rgb(238 240 255 / .45); }
.m-fill span { position: absolute; inset: -1px; border-radius: 50%; background: #2a1b62; animation: m-wax 1.5s cubic-bezier(.3, 0, .2, 1) .15s both; }
.m-week { position: absolute; left: 50%; bottom: 14%; top: 14%; translate: -50% 0; width: min(78vw, 64rem); display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.6%; }
.m-week span { position: relative; display: flex; align-items: flex-end; border-bottom: 1px solid rgb(238 240 255 / .3); }
.m-week i { display: block; width: 100%; height: var(--h); background: rgb(238 240 255 / .13); transform-origin: bottom; animation: m-grow .6s cubic-bezier(.16, 1, .3, 1) calc(.16s + var(--i) * 55ms) both; }
.m-week span:nth-child(5) i { background: rgb(121 186 240 / .42); }
.m-week b { position: absolute; left: 50%; bottom: -2em; translate: -50% 0; font: 500 1rem var(--text); color: var(--lilac); }
.m-strip { position: absolute; left: 0; top: 11%; display: flex; gap: 1.1vw; width: max-content; opacity: .24; animation: m-slide 7s linear infinite; }
.m-strip span { width: 15vw; min-width: 110px; aspect-ratio: 16 / 9; background: var(--moon); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.m-strip2 { top: auto; bottom: 11%; animation-direction: reverse; }
.m-play { position: absolute; left: 50%; top: 50%; width: 46vmin; height: 46vmin; margin: -23vmin; opacity: .1; animation: m-in .6s cubic-bezier(.16, 1, .3, 1) .15s both; }
.m-cross { position: absolute; left: 50%; top: 50%; width: 78vmin; height: 78vmin; margin: -39vmin; opacity: .34; animation: m-lock .85s cubic-bezier(.16, 1, .3, 1) .12s both; }
.m-tickets { position: absolute; left: 0; top: 12%; display: flex; gap: 1vw; width: max-content; animation: m-roll 1.25s cubic-bezier(.12, .8, .2, 1) .1s both; }
.m-tickets span { display: grid; place-items: center; width: 16vh; height: 16vh; color: var(--night); background: var(--moon); font: 500 clamp(.875rem, 2.4vh, 1.375rem) var(--display); letter-spacing: -.03em; opacity: .85; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.m-tickets span:nth-child(even) { color: var(--moon); background: var(--violet); }
.m-frame { position: absolute; left: 50%; top: 50%; width: 76vw; height: 62vh; translate: -50% -50%; border: 1px solid var(--handle); animation: m-frame .65s cubic-bezier(.16, 1, .3, 1) .1s both; }
.m-frame i { position: absolute; width: 11px; height: 11px; background: var(--handle); }
.m-frame i:nth-child(1) { left: -6px; top: -6px; }
.m-frame i:nth-child(2) { right: -6px; top: -6px; }
.m-frame i:nth-child(3) { left: -6px; bottom: -6px; }
.m-frame i:nth-child(4) { right: -6px; bottom: -6px; }
.m-rec { position: absolute; left: calc(12vw + 18px); top: calc(19vh + 16px); display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 1rem; letter-spacing: .08em; }
.m-rec span { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); animation: pulse 1s infinite; }
.m-wave { position: absolute; left: calc(12vw + 18px); right: calc(12vw + 18px); bottom: calc(19vh + 18px); height: 9vh; display: flex; align-items: center; gap: .4vw; opacity: .5; }
.m-wave span { flex: 1; height: var(--h); background: var(--moon); transform-origin: center; animation: m-beat .55s ease-in-out calc(var(--i) * -37ms) infinite alternate; }
.m-ring { position: absolute; left: 50%; top: 50%; width: 30vmin; height: 30vmin; margin: -15vmin; border-radius: 50%; border: 1px solid var(--moon); animation: m-pulse 1.5s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * .24s) infinite; }
.m-shield { position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; margin: -40vmin; opacity: .32; }
.m-shield path { stroke-dasharray: 1; animation: m-draw .9s ease-out .15s both; }
.m-cookie { position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; margin: -40vmin; opacity: .15; animation: m-cookie .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
@keyframes m-cookie { from { opacity: 0; transform: rotate(-40deg) scale(.8); } }
@keyframes m-in { from { opacity: 0; transform: scale(.82); } }
@keyframes m-spin { to { transform: rotate(360deg); } }
@keyframes m-wax { from { transform: translateX(0); } to { transform: translateX(-62%); } }
@keyframes m-grow { from { transform: scaleY(0); } }
@keyframes m-slide { to { transform: translateX(-16vw); } }
@keyframes m-lock { from { opacity: 0; transform: scale(1.5) rotate(40deg); } }
@keyframes m-roll { from { transform: translateX(-70%); } to { transform: translateX(-12%); } }
@keyframes m-frame { from { opacity: 0; transform: scale(.82); } }
@keyframes m-beat { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes m-pulse { from { opacity: .6; transform: scale(.5); } to { opacity: 0; transform: scale(3); } }
@keyframes m-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Intro du site */
.intro { position: fixed; inset: 0; z-index: 95; overflow: hidden; visibility: visible; color: #fff; }
.intro-bg { position: absolute; inset: 0; will-change: opacity; background: var(--grain), radial-gradient(60% 70% at 15% 100%, rgb(121 186 240 / .45), transparent 70%), linear-gradient(115deg, var(--night-2), var(--night)); }
.intro-line { position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: var(--moon); transform: scaleX(0); }
.intro-words { position: absolute; inset: 0; display: grid; place-items: center; }
.intro-words span { grid-area: 1 / 1; opacity: 0; font: 300 clamp(2.5rem, 8vw, 6.5rem)/1 var(--display); letter-spacing: -.045em; }
.intro-moon { position: absolute; left: 50%; top: 50%; width: min(62vmin, 30rem); height: min(62vmin, 30rem); margin: calc(min(62vmin, 30rem) / -2) 0 0 calc(min(62vmin, 30rem) / -2); opacity: 0; border-radius: 50%; box-shadow: 0 0 60px rgb(160 170 255 / .28); will-change: transform, opacity; }
.intro-name { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; font: 300 clamp(4.5rem, 16vw, 12rem)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; will-change: transform; }
.intro-skip { position: absolute; left: 20px; bottom: 18px; padding: 6px 2px; background: none; border: 0; color: var(--lilac); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; opacity: 0; }
.intro-skip:hover { color: #fff; }

/* Pied de page : discret, sur deux lignes */
.foot { position: relative; margin-top: auto; color: #fff; background: var(--night); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--arc) * -.6); height: calc(var(--arc) * 1.2 + 2px); background: var(--night); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.foot > * { position: relative; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(20px, 3vw, 48px); padding-block: 10px 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px clamp(12px, 1.4vw, 22px); margin-inline: auto; font-size: .9375rem; }
.foot-links a { color: var(--lilac); text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-social { display: flex; gap: 2px; }
.foot-social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: var(--lilac); }
.foot-social a:hover { color: #fff; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 10px 14px; border-top: 1px solid rgb(195 191 245 / .18); color: var(--lilac); font-size: .8125rem; }

/* Espace membre */
.top-member { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.top-member:hover { color: var(--violet); }
.top-member img, .top-member > span { width: 2rem; height: 2rem; border-radius: 50%; }
.top-member > span { display: grid; place-items: center; color: #fff; background: var(--night-2); font-size: .875rem; }
.me { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2em 2em; padding: clamp(20px, 2.8vw, 40px) clamp(22px, 3.4vw, 52px); color: #fff; background: var(--grain), radial-gradient(60% 150% at 0% 100%, rgb(121 186 240 / .75) 0%, rgb(99 125 209 / .5) 35%, transparent 72%), linear-gradient(115deg, var(--night-2), #23143f 60%, var(--night)); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.me::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; will-change: opacity; animation: stars 5s ease-in-out infinite alternate; background-image: radial-gradient(1.5px 1.5px at 12% 24%, #fff, transparent), radial-gradient(1px 1px at 33% 68%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 18%, #fff, transparent), radial-gradient(1px 1px at 68% 74%, #fff, transparent), radial-gradient(1.5px 1.5px at 88% 30%, #fff, transparent); }
.me-who { display: flex; align-items: center; gap: 1.1em; min-width: 0; }
.me-avatar { width: 5rem; height: 5rem; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--moon), 0 0 34px rgb(205 214 255 / .5); }
.me-mono { display: grid; place-items: center; color: var(--night); background: var(--moon); font: 400 2rem var(--display); }
.me h1 { font: 300 clamp(1.625rem, 3.2vw, 2.75rem)/1.1 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.me-who p { display: flex; align-items: center; gap: 7px; margin-top: .3em; color: var(--moon); font-size: .9375rem; }
.me-stats { display: flex; gap: 8px; margin: 0; }
.me-stats > div { display: flex; flex-direction: column-reverse; align-items: center; min-width: 5.2rem; padding: .6em .5em; background: rgb(255 255 255 / .1); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.me-stats dd { font: 400 1.75rem/1.1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.me-stats dt { color: var(--lilac); font-size: .75rem; font-weight: 600; }
.space .notice { margin-top: 12px; }
.space-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; align-items: stretch; }
.space-card { padding: clamp(18px, 2.2vw, 32px); background: var(--white); box-shadow: var(--shadow); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.space-card h2 { margin-bottom: .8em; font: 300 clamp(1.25rem, 2vw, 1.75rem)/1.15 var(--display); letter-spacing: -.035em; }
.send.space-form { display: flex; flex-direction: column; gap: .8em; background: none; clip-path: none; }
.space-form .btn { align-self: flex-start; }
.url-field { display: block; }
.url-hint { min-height: 1.3em; margin-top: -.5em; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.url-hint.good { color: #1f7a4d; }
.url-hint.bad { color: #b02050; }
.how { display: flex; flex-wrap: wrap; gap: .8em 1.4em; margin-top: 1.3em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.how li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.how .phase { width: 1.4rem; height: 1.4rem; }
.how .phase-dark { fill: var(--tint); stroke: #a9a4e0; }
.how .phase-lit { fill: var(--violet); }
.mine-empty { display: flex; flex-direction: column; align-items: center; gap: .8em; padding: 2em 1em; text-align: center; color: var(--muted); }
.mine-empty .phase-dark { fill: var(--tint); stroke: #a9a4e0; }
.mine { display: flex; flex-direction: column; gap: 8px; }
.my-clip { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: .9em; align-items: center; padding: .6em; background: var(--bg); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.my-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--night); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.my-icon { display: grid; place-items: center; color: var(--moon); background: linear-gradient(120deg, var(--night-2), var(--night)); }
.my-icon .icon { width: 1.5rem; height: 1.5rem; }
.strong { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.my-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; white-space: nowrap; color: var(--violet); }
.status .phase { width: 1rem; height: 1rem; }
.status .phase-dark { fill: var(--tint); stroke: var(--violet); }
.status .phase-lit { fill: var(--violet); }
.my-approved .status { color: #1f7a4d; }
.my-approved .status .phase-lit { fill: #1f7a4d; }
.my-refused { opacity: .62; }
.my-refused .status { color: var(--muted); }
.my-refused .status .phase-dark { stroke: var(--muted); }
.linkish { padding: 2px 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: .8125rem; text-decoration: underline; text-underline-offset: .2em; color: var(--muted); }
.linkish:hover { color: var(--violet); }
.linkish.danger { color: #b02050; }
.my-side form { margin: 0; }
.space-end { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; margin-top: 14px; }
.space-end form { margin: 0; }

/* Bandeau et page des cookies */
.cookie { position: fixed; left: 14px; bottom: 14px; z-index: 70; width: min(25rem, calc(100vw - 28px)); max-height: 85dvh; overflow-y: auto; padding: 1.1em 1.2em; background: var(--white); box-shadow: 0 20px 50px -18px rgb(26 15 63 / .6), 0 0 0 2px var(--night); clip-path: none; border-radius: 14px; animation: cookie-in .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } }
.cookie-title { font: 400 1.25rem/1.15 var(--display); letter-spacing: -.03em; }
.cookie-text { margin-top: .4em; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.cookie-text a { color: var(--ink); font-weight: 700; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .9em; }
.cookie .cookie-btns .btn { flex: 1; padding: .7em 1em; font-size: .875rem; }
.btn-dark { background: var(--night); color: #fff; }
.btn-soft2 { background: var(--tint); color: var(--violet); }
.cookie-more { display: block; margin: .5em auto 0; font-weight: 600; color: var(--ink); }
.cookie-boxes { margin-top: .6em; }
.cookie-box { display: flex; gap: 10px; align-items: flex-start; padding: .5em 0; cursor: pointer; }
.cookie-box input { margin-top: .2em; width: 18px; height: 18px; flex: none; accent-color: var(--violet); }
.cookie-box strong { display: block; line-height: 1.25; }
.cookie-box small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.cookies-page { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.cookie-rows li { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: .3em 1.4em; padding: .9em 0; border-top: 1px solid var(--line); }
.cookie-need { font-size: .8125rem; font-weight: 700; text-align: right; color: var(--violet); max-width: 8rem; }
.cookie-policies { margin-top: .6em; padding-top: .9em; border-top: 1px solid var(--line); }
.notice-line { min-height: 1.4em; margin-top: .7em; font-size: .875rem; font-weight: 700; color: #1f7a4d; }
.gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8em; width: 100%; aspect-ratio: 16 / 9; padding: 1em; text-align: center; color: #fff; background: var(--grain), linear-gradient(120deg, var(--night-2), var(--night)); font-size: .9375rem; line-height: 1.35; }
.gate p { max-width: 30ch; }

/* Popup d'annonce */
body.ann-open { overflow: hidden; }
.ann { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 28px); background: rgb(14 7 38 / .74); animation: ann-back .3s ease both; }
.ann[hidden] { display: none; }
@keyframes ann-back { from { opacity: 0; } }
.ann-box { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; width: min(56rem, 100%); max-height: 100%; overflow-y: auto; color: #fff; clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); animation: ann-pop .55s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes ann-pop { from { opacity: 0; transform: translateY(26px) scale(.96); } }
.ann-offer { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 48px); background: var(--grain), radial-gradient(90% 80% at 0% 100%, rgb(121 186 240 / .7), transparent 72%), linear-gradient(120deg, var(--night-2), var(--night)); }
.ann-title { font: 300 clamp(3.25rem, 8.5vw, 6.5rem)/.98 var(--display); letter-spacing: -.055em; overflow-wrap: anywhere; animation: ann-rise .7s cubic-bezier(.16, 1, .3, 1) .12s both; text-shadow: 0 0 .28em rgb(205 214 255 / .55); }
.ann-text { margin-top: .5em; font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.2; animation: ann-rise .7s cubic-bezier(.16, 1, .3, 1) .2s both; }
.ann-detail { margin-top: .5em; color: var(--lilac); font-size: .9375rem; line-height: 1.35; animation: ann-rise .7s cubic-bezier(.16, 1, .3, 1) .26s both; }
.ann-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7em 1.2em; margin-top: 1.5em; animation: ann-rise .7s cubic-bezier(.16, 1, .3, 1) .32s both; }
@keyframes ann-rise { from { opacity: 0; transform: translateY(14px); } }
.ann-later { color: var(--lilac); font-weight: 600; font-size: .875rem; }
.ann-later:hover { color: #fff; }
.ann-visual { position: relative; min-height: 24rem; overflow: hidden; background: var(--moon); }
.ann-visual > img:not(.ann-moon) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ann-visual::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .9; }
.ann-moon { position: absolute; right: -24%; top: -18%; width: 92%; max-width: none; border-radius: 50%; box-shadow: 0 0 70px rgb(99 125 209 / .5); animation: ann-moon .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
@keyframes ann-moon { from { opacity: 0; transform: translate(30px, -30px) scale(.92); } }
.ann-man { position: absolute; left: 10%; bottom: 3%; width: 58%; animation: ann-rise .8s cubic-bezier(.16, 1, .3, 1) .25s both; }
.ann-man svg { display: block; width: 100%; height: auto; overflow: visible; }
.ann-x { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: .55rem; color: #fff; background: var(--night); border: 0; cursor: pointer; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.ann-x:hover { background: var(--violet); }

/* La commu */
.commu > .clip-cta { margin: 0 0 12px; }
.commu > .notice { margin-bottom: 12px; }
.commu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.commu-card { min-width: 0; padding: clamp(18px, 2.2vw, 32px); background: var(--white); box-shadow: var(--shadow); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.commu-wide { grid-column: 1 / -1; }
.commu-card h2 { font: 300 clamp(1.25rem, 2vw, 1.75rem)/1.15 var(--display); letter-spacing: -.035em; }
.commu-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4em 1.4em; margin-bottom: 1em; }
.commu-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7em; min-height: 11rem; padding: 1em; text-align: center; color: var(--muted); background: var(--bg); }
.commu-empty .phase-dark { fill: var(--tint); stroke: #a9a4e0; }
.commu-empty .phase-lit { fill: var(--violet); }
.commu-empty.on-dark { margin-top: 1em; color: var(--lilac); background: rgb(255 255 255 / .07); }
.commu-empty.on-dark .phase-dark { fill: rgb(255 255 255 / .1); stroke: var(--lilac); }
.commu-empty.on-dark .phase-lit { fill: var(--moon); }
.week-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.week-label { margin-bottom: .5em; color: var(--violet); font-size: .875rem; font-weight: 700; }
.week-title { margin-top: .5em; font-weight: 700; line-height: 1.3; }
.giveaway { position: relative; isolation: isolate; color: #fff; background: var(--grain), radial-gradient(70% 90% at 0% 100%, rgb(121 186 240 / .55), transparent 70%), linear-gradient(120deg, var(--night-2), var(--night)); }
.give-body { display: flex; flex-direction: column; align-items: flex-start; gap: .65em; margin-top: .8em; }
.give-img { width: 100%; max-height: 13rem; object-fit: cover; clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.give-prize { font: 400 clamp(1.5rem, 2.8vw, 2.5rem)/1.1 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.give-detail { color: var(--lilac); }
.countdown-small span { min-width: 3.6rem; padding: .4em .3em; }
.countdown-small b { font-size: 1.5rem; }
.give-count { color: var(--moon); font-size: .9375rem; font-weight: 600; }
.give-in { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.give-in .phase { width: 1.25rem; height: 1.25rem; }
.give-in .phase-lit { fill: var(--sky); }
.give-in a { color: inherit; }
.give-rules { color: var(--lilac); font-size: .75rem; line-height: 1.4; }
.poll-q { margin-top: .6em; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.poll-list { display: flex; flex-direction: column; gap: 6px; margin: .8em 0 .6em; }
.poll-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1em; width: 100%; padding: .7em .9em; overflow: hidden; color: var(--ink); text-align: left; font-weight: 600; background: var(--bg); border: 0; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
button.poll-opt { cursor: pointer; }
button.poll-opt:hover { background: var(--tint); }
.poll-fill { position: absolute; left: 0; top: 0; bottom: 0; background: rgb(127 155 255 / .3); transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.poll-opt.is-mine .poll-fill { background: rgb(74 59 196 / .28); }
.poll-opt.is-mine { box-shadow: inset 3px 0 0 var(--violet); }
.poll-label, .poll-pct { position: relative; }
.poll-pct { flex: none; font-variant-numeric: tabular-nums; }
.board-reward { padding: .25em .9em; color: var(--night); background: #ffe7a6; font-weight: 700; font-size: .9375rem; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.board-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 6px 14px; }
.board-row { display: grid; grid-template-columns: 2rem 2.5rem minmax(0, 1fr) auto; gap: .7em; align-items: center; padding: .5em .7em; background: var(--bg); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.board-rank { font: 500 1.125rem var(--display); letter-spacing: -.03em; text-align: center; color: var(--muted); }
.top1 { background: linear-gradient(100deg, #fff1c7, var(--bg) 80%); }
.top1 .board-rank { color: #9a6b00; }
.top2 .board-rank, .top3 .board-rank { color: var(--violet); }
.board-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.board-mono { display: grid; place-items: center; color: #fff; background: var(--night-2); font-weight: 700; }
.board-name { min-width: 0; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.board-name a { text-decoration: none; }
.board-name a:hover { color: var(--violet); }
.board-score { font: 500 1.0625rem var(--display); letter-spacing: -.03em; white-space: nowrap; }
.board-score small { font: 600 .75rem var(--text); letter-spacing: 0; color: var(--muted); }
.board-rules { margin-top: 1em; }
.like-bar { display: flex; align-items: center; justify-content: space-between; gap: .7em; margin: .5em 0 0; }
.like-btn { display: inline-flex; align-items: center; gap: 7px; padding: .35em .8em; color: var(--violet); background: rgb(255 255 255 / .75); border: 0; cursor: pointer; font-weight: 700; font-size: .875rem; text-decoration: none; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); transition: background .2s, color .2s; }
.like-btn:hover, .like-btn.is-mine { color: #fff; background: var(--violet); }
.like-btn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.like-btn.is-mine svg { fill: currentColor; }
.like-count { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.clip { scroll-margin-top: 90px; }
.clips-even { grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-card { display: flex; align-items: center; gap: 10px; padding: .55em .9em .55em .6em; background: var(--white); box-shadow: 0 10px 22px -16px rgb(44 29 103 / .5); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.space-card .badge-card { background: var(--bg); box-shadow: none; }
.badge-card .phase { width: 2.25rem; height: 2.25rem; }
.badge-card .phase-dark { fill: var(--night); }
.badge-card .phase-lit { fill: #ffd976; }
.badge-card strong { display: block; line-height: 1.2; }
.badge-card small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.3; }
.space-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); margin-top: 12px; }
.me-settings h2 { margin-bottom: .6em; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .7em 0; border-top: 1px solid var(--line); }
.setting-row strong { display: block; line-height: 1.25; }
.setting-row small { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.btn-small { padding: .55em 1em; font-size: .875rem; --n: 8px; flex: none; }
.next-actions { display: flex; flex-direction: column; gap: 8px; }
.next-actions form { margin: 0; }
.next-actions .btn { width: 100%; }
.notice-gap { margin-top: 12px; }
.m-podium { position: absolute; left: 50%; top: 14%; bottom: 14%; translate: -50% 0; width: min(70vw, 42rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6%; align-items: end; }
.m-podium span { height: var(--h); background: rgb(238 240 255 / .14); transform-origin: bottom; animation: m-grow .7s cubic-bezier(.16, 1, .3, 1) calc(.16s + var(--i) * 90ms) both; }
.m-podium .first { background: rgb(255 217 118 / .32); }

.account { position: relative; }
.account-btn { display: flex; align-items: center; gap: 6px; padding: 3px; color: var(--ink); background: none; border: 0; border-radius: 99px; cursor: pointer; }
.account-btn img, .account-mono { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; }
.account-mono { display: grid; place-items: center; color: #fff; background: var(--night-2); font-size: .9375rem; font-weight: 700; }
.account-btn svg { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.account-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.account-btn:hover { color: var(--violet); }
.account-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: 14.5rem; filter: drop-shadow(0 14px 26px rgb(44 29 103 / .28)); animation: account-in .18s ease-out; }
.account-menu[hidden] { display: none; }
.account-box { display: flex; flex-direction: column; padding: 8px; background: var(--white); clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
.account-who { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.account-who strong { display: block; line-height: 1.25; overflow-wrap: anywhere; }
.account-who small { color: var(--violet); font-size: .8125rem; font-weight: 700; }
.account-box a, .account-box button { display: block; width: 100%; padding: 9px 10px; color: var(--ink); background: none; border: 0; font: inherit; font-size: .9375rem; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.account-box a:hover, .account-box button:hover { color: var(--violet); background: var(--bg); }
.account-box form { margin: 0; }
@keyframes account-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .account-menu { animation: none; } .account-btn svg { transition: none; } }

.demo-bar { padding: 5px 16px; color: #fff; font-size: .8125rem; text-align: center; background: var(--night); }
.demo-bar a { color: inherit; font-weight: 700; }

/* Pages simples */
.legal { max-width: 760px; padding-block: 40px 110px; }
.legal h1 { font: 300 clamp(1.75rem, 4vw, 2.75rem)/1.15 var(--display); letter-spacing: -.035em; }
.legal h2 { margin-top: 28px; font-size: 1.25rem; font-weight: 800; color: var(--violet); }
.legal p { margin-top: 8px; }
.lost { min-height: 62svh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 48px 20px 110px; text-align: center; }
.lost h1 { font: 300 clamp(1.375rem, 3.4vw, 2.5rem)/1.2 var(--display); letter-spacing: -.03em; max-width: 24ch; }

/* Incrustation OBS : fond transparent */
body.overlay { background: transparent; color: var(--moon); display: flex; flex-direction: row; align-items: center; gap: 20px; padding: 16px; overflow: hidden; min-height: 100vh; }
.overlay-moon { width: 150px; height: 150px; flex: none; }
.overlay-text { text-shadow: 0 2px 10px rgb(10 5 30 / .9); }
.overlay-count { font: 400 3rem/1 var(--display); letter-spacing: -.03em; }
.overlay-of { font-size: .42em; letter-spacing: 0; }
.overlay-label { margin-top: 8px; font: italic 400 1.5rem var(--serif); }

@media (max-width: 1100px) {
  .burger { display: block; order: 3; }
  .top-in { flex-wrap: wrap; gap: 4px 12px; min-height: 64px; }
  .top-cta { margin-left: auto; padding: .6em 1em; font-size: .875rem; }
  .menu { display: none; order: 4; width: 100%; margin: 0; flex-direction: column; gap: 0; padding-bottom: 10px; }
  .menu.open { display: flex; }
  .menu a { padding: 10px 2px; border-top: 1px solid var(--line); }
  .menu a.on::after { display: none; }
  .agenda { grid-template-columns: minmax(0, 1fr); }
  .agenda-hours { display: none; }
  .agenda-days { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .agenda-day { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: center; padding: .6em .9em; }
  .agenda-name { padding: 0; border: 0; }
  .agenda-col { height: auto; display: flex; flex-wrap: wrap; gap: 6px; background: none; border: 0; padding: 0; }
  .agenda-slot { position: static; width: auto; flex: 1 1 8rem; }
  .agenda-now { display: none; }
  .agenda-rest { position: static; translate: none; }
  .config-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valo { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .now, .goal-hero { grid-template-columns: minmax(0, 1fr); }
  .goal-moon { justify-self: center; }
  .next-live { grid-template-columns: minmax(0, 1fr); }
  .road-list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road-list::before, .road-list::after { display: none; }
  .hero-moon { width: min(100%, 400px); }
  .video-main, .reseaux, .send, .space-grid, .cookies-page, .commu-grid, .space-more, .board-list { grid-template-columns: minmax(0, 1fr); }
  .board-list { grid-auto-flow: row; grid-template-rows: none; }
  .feature-text { padding: 2px 6px 8px; }
  .rail-btns { display: none; }
  .ann-box { grid-template-columns: minmax(0, 1fr); }
  .ann-visual { order: -1; min-height: 11rem; }
  .ann-man { width: 8.5rem; left: 8%; bottom: -8%; }
  .ann-moon { width: 55%; top: -40%; right: -8%; }
  .me-stats { width: 100%; }
  .me-stats > div { flex: 1; min-width: 0; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reseaux-photos { max-width: 340px; margin-inline: auto; }
  .send-intro .phase { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .logo small, .sh1, .sh7 { display: none; }
  .account-menu { right: auto; left: 50%; translate: -50% 0; }
  .top-member { font-size: 0; gap: 0; }
  .top-member .icon { width: 1.5rem; height: 1.5rem; }
  .top-member > span { font-size: .875rem; }
  .top-in { flex-wrap: wrap; justify-content: space-between; }
  .top-cta { margin-left: 0; }
  .ring text { font-size: 24px; }
  .page-top .phase { width: 3.4rem; height: 3.4rem; }
  .road-list { grid-template-columns: minmax(0, 1fr); }
  .countdown b { font-size: 1.75rem; }
  .config-row, .social-grid, .send-two { grid-template-columns: minmax(0, 1fr); }
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-clip { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .week-cols { grid-template-columns: minmax(0, 1fr); }
  .cookie-rows li { grid-template-columns: minmax(0, 1fr); }
  .cookie-need { text-align: left; max-width: none; }
  .my-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ticket { --stub: 8.4rem; }
  .ticket-main { padding: 1em 1.2em 1em 1em; }
  .ticket-logo { width: 3.25rem; height: 3.25rem; padding: .4rem; }
  .ticket-brand { gap: 9px; }
  .ticket h2 { font-size: 1.0625rem; }
  .clip-cta .btn { margin-left: 0; white-space: normal; }
  .foot-links { margin-inline: 0; }
  .clips { grid-template-columns: minmax(0, 1fr); }
  .clip-top { grid-column: auto; grid-row: auto; }
  .buddy-bubble { width: min(15rem, calc(100vw - 36px)); }
  .buddy-man { width: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, .logos-track { animation: none !important; }
  .logos { overflow-x: auto; }
  .ann, .ann-box, .ann-title, .ann-text, .ann-detail, .ann-actions, .ann-moon, .ann-man, .cookie { animation: none !important; }
  .dot, .ring, .sh, .b-all, .b-tail, .b-paw, .b-ear, .b-z, .pt-motif * { animation: none !important; }
  .shorts { scroll-behavior: auto; }
  .btn, .player img, .short img, .social, .now-card, .brand { transition: none; }
}

/* Le chat ne cache pas les liens du pied de page */
@media (max-width: 1750px) { .foot-row, .foot-end { padding-right: 8.5rem; } }
@media (max-width: 560px) { .foot-row, .foot-end { padding-right: 16px; padding-bottom: 5rem; } .foot-row { padding-bottom: 10px; } }
