/* NO SLEEP · V4 : fond bleu nuit des posts, cartes à collectionner, badges all access */
:root {
  --night-950: #020a2e;
  --night-900: #04104a;
  --night-800: #071a6b;
  --night-card: #08165a;
  --blue: #0b4dff;
  --blue-bright: #2a6bff;
  --cyan: #22e5ff;
  --cyan-soft: #8af3ff;
  --violet: #8b5cf6;
  --pink: #ff4fa3;
  --red: #ff3b4d;
  --white: #ffffff;
  --muted: #b3c3f2;
  --muted-2: #8fa2dd;
  --line: rgba(138, 243, 255, .16);
  --maxw: 1200px;
  --gutter: max(20px, calc((100vw - var(--maxw)) / 2));
  --radius: 28px;
  --shadow: 0 30px 70px -25px rgba(0, 0, 0, .75);
  --grad: linear-gradient(100deg, var(--cyan), #5aa2ff 55%, var(--violet));
  /* rythme d'animation : une durée par usage */
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 700ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-display: "Chewy", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--night-950); color: var(--white);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: .04em .16em; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--xl { width: 64px; height: 64px; margin: 0 auto 10px; color: var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan-soft); outline-offset: 3px; border-radius: 6px; }

/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad); pointer-events: none; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; display: flex; align-items: center; gap: 28px;
  padding: 12px clamp(16px, 3vw, 40px); border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease), border-color var(--t-base);
}
.nav.is-scrolled { background: rgba(2, 10, 46, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__logo img { height: 52px; width: auto; transition: transform var(--t-base) var(--ease); }
.nav__logo:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: 14px; letter-spacing: .04em; color: var(--muted); transition: color var(--t-fast); }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; }
.nav__burger span { display: block; width: 26px; height: 3px; border-radius: 2px; background: #fff; margin: 5px auto; transition: transform var(--t-base) var(--ease), opacity var(--t-fast); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Boutons : lift + reflet au survol, enfoncé au clic */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: .02em;
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-fast), border-color var(--t-fast);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); transform: translateX(-120%); transition: transform 700ms var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: 90ms; }
.btn--glow { color: var(--night-950); background: linear-gradient(100deg, var(--cyan), var(--cyan-soft)); box-shadow: 0 12px 34px -8px rgba(34, 229, 255, .65); font-weight: 700; }
.btn--glow:hover { transform: translateY(-3px); box-shadow: 0 0 0 5px rgba(34, 229, 255, .16), 0 18px 40px -8px rgba(34, 229, 255, .85); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--night-950); font-weight: 700; }
.btn--light:hover { transform: translateY(-3px); }
.btn--light .ic { transition: transform var(--t-base) var(--ease); }
.btn--light:hover .ic { transform: translateX(5px); }
.btn--sm { padding: 10px 22px; font-size: 14px; min-height: 44px; }
.btn--block { width: 100%; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .55); pointer-events: none; transform: translate(-50%, -50%) scale(0); animation: ripple 650ms var(--ease) forwards; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

.sticker {
  display: inline-block; font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--cyan); color: var(--night-950); padding: 6px 16px; border-radius: 10px; transform: rotate(-3deg);
  box-shadow: 4px 4px 0 var(--night-800);
}
.sticker--pink { background: var(--pink); color: #fff; box-shadow: 4px 4px 0 #7a1a4d; }
.sticker--float { position: absolute; left: 18px; bottom: 18px; transform: rotate(-4deg); font-size: 17px; }

/* Hero : une seule chorégraphie d'entrée, puis calme */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: -6% 0; z-index: -2; transform: translateY(var(--par, 0px)) scale(1.08); animation: zoomOut 16s var(--ease) forwards; will-change: transform;
  background:
    linear-gradient(180deg, rgba(2, 10, 46, .55), rgba(2, 10, 46, .1) 40%, var(--night-950) 100%),
    linear-gradient(120deg, rgba(11, 77, 255, .85), rgba(139, 92, 246, .45) 60%, rgba(34, 229, 255, .35)),
    url("img/soiree.jpg") center 30% / cover no-repeat;
  background-blend-mode: normal, multiply, normal;
}
@keyframes zoomOut { to { transform: translateY(var(--par, 0px)) scale(1); } }
.hero__spot { position: absolute; left: 0; top: 0; width: 680px; height: 680px; margin: -340px 0 0 -340px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity var(--t-slow);
  background: radial-gradient(circle, rgba(138, 243, 255, .26), transparent 68%); will-change: transform; }
.hero.is-hover .hero__spot { opacity: 1; }
.hero__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.clock { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(2, 10, 46, .6); border: 1px solid var(--line); }
.clock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 229, 255, .8); } 70%, 100% { box-shadow: 0 0 0 12px rgba(34, 229, 255, 0); } }
.hero__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(58px, 10.4vw, 140px); line-height: .98; margin: 22px 0 24px; text-shadow: 0 8px 50px rgba(2, 10, 46, .6); -webkit-text-stroke: 1.5px currentColor; paint-order: stroke fill; }
.hero__title .line { display: block; overflow: hidden; padding: .04em .06em .26em; margin: -.04em -.06em -.26em; }
.hero__title .line > span { display: inline-block; }
.hero__title .grad { filter: drop-shadow(0 4px 18px rgba(2, 10, 46, .75)); padding: .04em .06em .24em; margin: -.04em -.06em -.24em; }
.hero__lead { max-width: 540px; font-size: 19px; color: #dbe6ff; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero__crown { width: 62%; filter: drop-shadow(0 0 30px rgba(34, 229, 255, .7)); }
.spin { position: absolute; inset: 0; width: 100%; height: 100%; animation: rot 40s linear infinite; }
.spin text { fill: var(--cyan-soft); font-family: var(--font-display); font-size: 15px; letter-spacing: .06em; }
@keyframes rot { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; transition: background var(--t-fast), border-color var(--t-fast); }
.scroll-hint .ic { transform: rotate(90deg); }
.scroll-hint:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
/* entrée du hero (une seule fois) */
.js .hero__title .line > span { transform: translateY(105%); animation: lineUp 900ms var(--ease) forwards; }
.js .hero__title .line:nth-child(2) > span { animation-delay: 140ms; }
.js .clock, .js .hero__lead, .js .hero__cta, .js .hero__mark, .js .scroll-hint { opacity: 0; animation: fadeUp 800ms var(--ease) forwards; }
.js .clock { animation-delay: 60ms; }
.js .hero__lead { animation-delay: 420ms; }
.js .hero__cta { animation-delay: 560ms; }
.js .hero__mark { animation-delay: 700ms; animation-name: fadeIn; }
.js .scroll-hint { animation-delay: 1100ms; animation-name: fadeIn; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Bandeau */
.tape-wrap { overflow: hidden; padding: 22px 0; margin-top: -34px; position: relative; z-index: 2; }
.tape { overflow: hidden; background: var(--cyan); color: var(--night-950); transform: rotate(-1.6deg) scale(1.04); box-shadow: 0 10px 40px -10px rgba(34, 229, 255, .55); }
.tape__track { display: flex; align-items: center; width: max-content; padding: 13px 0; animation: tape 32s linear infinite; font-family: var(--font-display); text-transform: uppercase; font-size: 22px; }
.tape__track > * { margin-right: 28px; flex: none; }
.tape__track .ic { width: 22px; height: 22px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--night-900), var(--night-950)); border-block: 1px solid var(--line); }
.section--tight { padding: 40px 0 clamp(56px, 7vw, 90px); }
.section__head { margin-bottom: 40px; max-width: 760px; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 5.7vw, 70px); line-height: 1.04; margin: 20px 0 14px; -webkit-text-stroke: 1.2px currentColor; paint-order: stroke fill; }
.lead { color: var(--muted); font-size: 19px; max-width: 620px; }

/* Concept */
.concept { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.checks { margin: 26px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 38px; color: #dbe6ff; transition: transform var(--t-base) var(--ease), color var(--t-fast); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--cyan); color: var(--night-950); transition: transform var(--t-base) var(--ease); }
.checks li:hover { transform: translateX(6px); color: #fff; }
.checks li:hover::before { transform: rotate(-10deg) scale(1.1); }
.stats { display: flex; flex-wrap: wrap; gap: 18px 44px; padding-top: 26px; border-top: 1px dashed var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted-2); font-size: 13px; letter-spacing: .04em; line-height: 1.3; display: inline-block; }
.concept__visual { position: relative; margin: 0; max-width: 500px; justify-self: center; }

/* Formats */
.section--formats { overflow: hidden; }
.formats__glow i { position: absolute; inset: 0; opacity: 0; transition: opacity 800ms var(--ease); pointer-events: none; }
.g-boat { background: radial-gradient(520px 520px at 0% 20%, rgba(11, 77, 255, .5), transparent 70%), radial-gradient(460px 460px at 100% 90%, rgba(34, 229, 255, .35), transparent 70%); }
.g-pool { background: radial-gradient(520px 520px at 0% 20%, rgba(255, 154, 60, .38), transparent 70%), radial-gradient(460px 460px at 100% 90%, rgba(255, 79, 163, .35), transparent 70%); }
.g-club { background: radial-gradient(520px 520px at 0% 20%, rgba(139, 92, 246, .5), transparent 70%), radial-gradient(460px 460px at 100% 90%, rgba(255, 79, 163, .35), transparent 70%); }
[data-theme="boat"] .g-boat, [data-theme="pool"] .g-pool, [data-theme="club"] .g-club { opacity: 1; }
.section--formats .container { position: relative; }
.picker { position: relative; display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 6px; margin-bottom: 26px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.picker__pill { position: absolute; left: 0; top: 0; height: calc(100% - 12px); margin: 6px 0 0 0; border-radius: 999px; background: #fff; z-index: 0; transition: transform var(--t-slow) var(--ease), width var(--t-slow) var(--ease); }
.picker__tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-family: var(--font-display); font-size: 20px; text-transform: uppercase; letter-spacing: .02em;
  color: #fff; background: transparent; border: 0; padding: 0 24px; border-radius: 999px; cursor: pointer; transition: color var(--t-base) var(--ease);
}
.picker__tab .ic { transition: transform var(--t-base) var(--ease); }
.picker__tab:hover .ic { transform: rotate(-12deg) scale(1.15); }
.picker__tab.is-active { color: var(--night-950); }
.panel { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 420px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.panel__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 600ms var(--ease); }
.panel__bg--boat { background: linear-gradient(135deg, #0b4dff, #22e5ff); }
.panel__bg--pool { background: linear-gradient(135deg, #ff9a3c, #ff4fa3); }
.panel__bg--club { background: linear-gradient(135deg, #8b5cf6, #ff4fa3); }
[data-theme="boat"] .panel__bg--boat, [data-theme="pool"] .panel__bg--pool, [data-theme="club"] .panel__bg--club { opacity: 1; }
.panel__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.panel__kicker { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.panel__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(42px, 5.6vw, 72px); line-height: 1; text-transform: uppercase; -webkit-text-stroke: 1.5px currentColor; paint-order: stroke fill; }
.panel__text { font-size: 18px; max-width: 460px; color: rgba(255, 255, 255, .94); }
.panel__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.panel__list li { background: rgba(2, 10, 46, .38); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.panel__body .btn { align-self: flex-start; }
.panel__art { position: relative; display: grid; place-items: center; overflow: hidden; background: rgba(2, 10, 46, .18); }
.panel__art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 10, 46, .38), transparent 38%), linear-gradient(0deg, rgba(2, 10, 46, .55), transparent 45%); }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 700ms var(--ease), transform 1400ms var(--ease); }
.panel__img--boat { object-position: 52% 50%; }
.panel__img--pool { object-position: 38% 50%; }
.panel__img--club { object-position: 50% 40%; }
[data-theme="boat"] .panel__img--boat, [data-theme="pool"] .panel__img--pool, [data-theme="club"] .panel__img--club { opacity: 1; transform: scale(1); }
.panel__word { z-index: 2; position: absolute; right: -10px; bottom: -14px; font-family: var(--font-display); font-size: clamp(60px, 10vw, 140px); line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .32); white-space: nowrap; }

/* Galerie : mosaïque bento + visionneuse */
.section--gallery { overflow: hidden; }
.mosaic { --cols: 4; --gap: 14px; container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-flow: dense; gap: var(--gap);
  grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * 1.25); }
.shot { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--night-card); box-shadow: 0 18px 40px -22px rgba(2, 10, 46, .9);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.shot[hidden] { display: none; }
.shot:nth-child(18n + 1), .shot:nth-child(18n + 10) { grid-column: span 2; grid-row: span 2; border-radius: 30px; }
.shot:nth-child(18n + 10) { grid-column: 3 / span 2; }
.shot button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: #fff; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), filter 500ms var(--ease); -webkit-user-drag: none; user-select: none; }
.shot button::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-base);
  background: linear-gradient(180deg, rgba(34, 229, 255, .16) 0%, transparent 35%, rgba(2, 10, 46, .78) 100%); box-shadow: inset 0 0 0 3px var(--cyan); border-radius: inherit; }
.shot .ic { position: absolute; right: 14px; top: 14px; z-index: 1; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--cyan); color: var(--night-950); stroke-width: 2.4; opacity: 0; transform: scale(.6) rotate(-30deg); transition: opacity var(--t-base), transform 450ms var(--ease); }
.shot__n { position: absolute; left: 18px; bottom: 12px; z-index: 1; font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: .04em; opacity: 0; transform: translateY(14px); transition: opacity var(--t-base), transform 450ms var(--ease); text-shadow: 0 4px 18px rgba(2, 10, 46, .8); }
.shot:nth-child(18n + 1) .shot__n, .shot:nth-child(18n + 10) .shot__n { font-size: 52px; left: 26px; bottom: 20px; }
@media (hover: hover) {
  .js .mosaic .shot:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 60px -20px rgba(34, 229, 255, .55); z-index: 2; }
  .js .mosaic .shot:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
  .mosaic:hover .shot:not(:hover) img { filter: saturate(.6) brightness(.72); }
}
.shot button:hover img, .shot button:focus-visible img { transform: scale(1.07); }
.shot button:hover::after, .shot button:focus-visible::after { opacity: 1; }
.shot button:hover .ic, .shot button:focus-visible .ic, .shot button:hover .shot__n, .shot button:focus-visible .shot__n { opacity: 1; transform: none; }
/* Entrée en scène : les photos arrivent en cascade quand on atteint la galerie */
.shot::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 32%, rgba(138, 243, 255, .75) 50%, transparent 68%); mix-blend-mode: screen; }
.shot.pre { opacity: 0; filter: blur(12px); clip-path: inset(16% 16% 16% 16% round 44px);
  transform: translate3d(var(--x, 0), 90px, 0) rotate(var(--r, 4deg)) scale(.82); will-change: transform, opacity, filter, clip-path; }
.shot.pre img { transform: scale(1.45); }
.shot.pre.in { opacity: 1; filter: none; clip-path: inset(0% 0% 0% 0% round 0px); transform: none;
  transition: opacity 800ms var(--ease), filter 900ms var(--ease), clip-path 1100ms cubic-bezier(.16, 1, .3, 1), transform 1200ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0ms); }
.shot.pre.in img { transform: none; transition: transform 1600ms cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
.shot.pre.in::before { animation: tileSweep 1100ms cubic-bezier(.4, 0, .2, 1) both; animation-delay: calc(var(--d, 0ms) + 350ms); }
@keyframes tileSweep { 0% { opacity: 1; transform: translateX(-130%); } 100% { opacity: 1; transform: translateX(130%); } }
.section--gallery .section__head .sticker { display: inline-block; }
.mosaic__more.pre { opacity: 0; transform: translateY(24px); }
.mosaic__more.pre.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease) 300ms, transform 700ms var(--ease) 300ms; }
.mosaic__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.mosaic__count { margin: 0; font-family: var(--font-display); font-size: 20px; letter-spacing: .06em; color: var(--muted); }
.mosaic__more .btn .ic { width: 20px; height: 20px; }
.mosaic__more.is-done .btn { display: none; }

.lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(2, 10, 46, .94); color: #fff; }
.lb::backdrop { background: rgba(2, 10, 46, .7); }
.lb[open] { display: grid; place-items: center; animation: lbIn var(--t-base) var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__img { max-width: min(94vw, 1100px); max-height: 84dvh; width: auto; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.lb__img.swap { animation: lbSwap var(--t-base) var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: scale(.97); } }
.lb__close, .lb__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background var(--t-fast), transform var(--t-base) var(--ease); }
.lb__close { top: 18px; right: 18px; }
.lb__nav { top: 50%; margin-top: -26px; }
.lb__nav--prev { left: 18px; }
.lb__nav--next { right: 18px; }
.lb__close:hover, .lb__nav:hover { background: var(--cyan); color: var(--night-950); }
.lb__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-size: 20px; letter-spacing: .06em; color: var(--muted); }

/* Pourquoi */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__item { background: var(--night-card); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform var(--t-base) var(--ease), border-color var(--t-base), background var(--t-base); }
.why__item.in:hover { transform: translateY(-6px); border-color: var(--cyan); background: var(--night-800); }
.why__item b { display: grid; place-items: center; width: 60px; height: 60px; background: rgba(34, 229, 255, .12); color: var(--cyan); border-radius: 18px; margin-bottom: 16px; transition: transform var(--t-base) var(--ease), background var(--t-base), color var(--t-base); }
.why__item b .ic { width: 28px; height: 28px; }
.why__item:hover b { transform: rotate(-8deg) scale(1.08); background: var(--cyan); color: var(--night-950); }
.why__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-bottom: 8px; }
.why__item p { color: var(--muted); font-size: 15px; }

/* Programme */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 44px; font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-base) var(--ease); }
.chip:hover { color: #fff; border-color: var(--cyan); transform: translateY(-2px); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--cyan); border-color: var(--cyan); color: var(--night-950); }
.events { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; background: var(--night-card); border: 2px solid var(--line); border-radius: 24px; padding: 16px 24px 16px 16px; transition: transform var(--t-base) var(--ease), border-color var(--t-base), background var(--t-base); animation: fadeUp 500ms var(--ease) both; }
.event:hover { transform: translateX(6px); border-color: var(--cyan); background: var(--night-800); }
.event__date { text-align: center; background: var(--grad); color: var(--night-950); border-radius: 18px; padding: 12px 6px; }
.event__date b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; }
.event__date span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.event p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.event .kind { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: 4px; font-weight: 700; }
.events__empty { text-align: center; color: var(--muted); padding: 44px 16px; border: 2px dashed var(--line); border-radius: var(--radius); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--night-card); border: 2px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color var(--t-base), background var(--t-base); }
.faq details:hover { border-color: rgba(138, 243, 255, .4); }
.faq details[open] { border-color: var(--cyan); background: var(--night-800); }
.faq summary { min-height: 64px; display: flex; align-items: center; cursor: pointer; list-style: none; padding: 16px 64px 16px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--night-950); font-size: 22px; font-weight: 700; transition: transform var(--t-base) var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__a { overflow: hidden; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Newsletter */
.news { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 36px; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: var(--shadow); }
.news .h2 { font-size: clamp(32px, 4.2vw, 50px); }
.news .lead { color: #e2e9ff; }
.news .grad { background: none; color: var(--cyan-soft); }
.news__form { display: flex; gap: 10px; flex-wrap: wrap; }
.news__form input { flex: 1 1 200px; }

/* Réservation */
.section--book { background: radial-gradient(70% 60% at 100% 0%, rgba(11, 77, 255, .5), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(139, 92, 246, .35), transparent 60%), var(--night-950); }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.contact { margin-top: 30px; display: grid; gap: 14px; }
.contact li { display: grid; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.contact small { color: var(--cyan-soft); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.contact a { font-size: 22px; font-weight: 600; transition: color var(--t-fast); }
.contact a:hover { color: var(--cyan); }
.book__soon { text-align: center; padding: clamp(32px, 4vw, 56px); border-radius: 32px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); box-shadow: var(--shadow); }
.book__soon h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 46px); margin-bottom: 8px; }
.book__soon p { color: var(--muted); }
.book__form { background: #fff; color: var(--night-950); border-radius: 32px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; box-shadow: 12px 12px 0 var(--cyan), var(--shadow); }
label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #4a5a94; font-weight: 700; }
input, select {
  width: 100%; min-height: 52px; font: inherit; font-size: 17px; letter-spacing: 0; text-transform: none; font-weight: 500;
  color: var(--night-950); background: #eef3ff; border: 2px solid transparent; border-radius: 16px; padding: 12px 18px; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.news input { background: rgba(255, 255, 255, .95); }
input::placeholder { color: #8a98c9; }
input:focus, select:focus { border-color: var(--blue-bright); background: #fff; box-shadow: 0 0 0 4px rgba(42, 107, 255, .2); }
input.is-invalid { border-color: var(--red); }
.stepper { display: grid; grid-template-columns: 54px 1fr 54px; gap: 8px; }
.stepper input { text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper button { border: 0; background: var(--night-950); color: #fff; border-radius: 16px; font-size: 26px; cursor: pointer; transition: transform var(--t-base) var(--ease), background var(--t-fast); }
.stepper button:hover { background: var(--blue); }
.stepper button:active { transform: scale(.92); }
.hint { font-size: 13px; color: #6a79ad; text-align: center; }

/* Pied de page */
.footer { text-align: center; padding: 60px 20px 110px; border-top: 1px solid var(--line); color: var(--muted); }
.footer img { margin: 0 auto 10px; height: 84px; width: auto; }
.footer__tag { font-family: var(--font-display); font-size: 26px; color: #fff; }
.footer small { color: var(--muted-2); }
.flag-mini { width: 96px; height: 5px; border-radius: 3px; margin: 14px auto; background: linear-gradient(90deg, #1f5bff 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66% 100%); }

/* Bulle WhatsApp + toast */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .8); transition: transform var(--t-base) var(--ease); }
.wa-fab:hover { transform: scale(1.1) rotate(-6deg); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 130; background: #fff; color: var(--night-950); padding: 12px 24px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); transition: opacity var(--t-base), transform var(--t-base) var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Confettis (au clic sur les boutons principaux) */
.confetti { position: fixed; z-index: 300; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; }

/* Apparition au scroll : fondu + montée, une seule fois (contenu visible sans JavaScript) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), border-color var(--t-base), background var(--t-base); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .why { grid-template-columns: 1fr 1fr; }
  .concept, .book, .news { grid-template-columns: 1fr; }
  .concept__visual { max-width: 460px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mark { position: absolute; right: -40px; top: 90px; width: 200px; opacity: .5 !important; z-index: -1; }
  .panel { grid-template-columns: 1fr; }
  .panel__art { min-height: 220px; order: -1; }
  .lb__nav--prev { left: 8px; }
  .lb__nav--next { right: 8px; }
}
@media (max-width: 860px) {
  .mosaic { --cols: 2; --gap: 10px; }
  .shot:nth-child(18n + 10) { grid-column: 1 / -1; }
  .shot, .shot:nth-child(18n + 1), .shot:nth-child(18n + 10) { border-radius: 18px; }
  .shot__n { font-size: 26px !important; left: 14px !important; bottom: 10px !important; }
  .nav__burger { display: block; margin-left: 4px; }
  .nav .btn { margin-left: auto; }
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0; background: rgba(2, 10, 46, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform var(--t-base) var(--ease); z-index: -1; padding: 10px 24px 22px; }
  .nav__links.open { transform: none; }
  .nav__links a { min-height: 54px; padding: 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .why { grid-template-columns: 1fr; }
  .picker { display: flex; }
  .picker__tab { flex: 1; justify-content: center; font-size: 15px; padding: 0 8px; gap: 6px; }
  .event { grid-template-columns: 76px 1fr; }
  .event .btn { grid-column: 1 / -1; }
  .scroll-hint { display: none; }
  .tape__track { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .clock, .js .hero__lead, .js .hero__cta, .js .hero__mark, .js .scroll-hint { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  html { scroll-behavior: auto; }
}
.nowrap { white-space: nowrap; }
.concept__text { container-type: inline-size; }
.concept__text .h2 { font-size: min(70px, 9.6cqw); }

/* Polaroid : les photos s'impriment une à une, se développent, puis sont remplacées à tour de rôle */
.concept__visual { max-width: 520px; width: 100%; }
.polaroids { position: relative; isolation: isolate; aspect-ratio: 5 / 6.5; }
.concept__visual .sticker--float { z-index: 2; }
.polaroid { position: absolute; left: var(--x); top: var(--y); width: 45%; margin: 0; padding: 3.2% 3.2% 10.5%; background: #fbfaf6; border-radius: 6px; transform: rotate(var(--r)); z-index: var(--z, 1);
  box-shadow: 0 22px 34px -14px rgba(0, 0, 0, .7), 0 2px 0 rgba(255, 255, 255, .5) inset; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.polaroid::before { content: ""; position: absolute; top: -13px; left: 50%; width: 76px; height: 24px; margin-left: -38px; transform: rotate(var(--tape, -4deg)); background: rgba(34, 229, 255, .55); border-left: 2px dotted rgba(255, 255, 255, .55); border-right: 2px dotted rgba(255, 255, 255, .55); opacity: .9; }
.polaroid--b::before, .polaroid--e::before { background: rgba(255, 79, 163, .55); --tape: 5deg; }
.polaroid--c::before { display: none; }
.polaroid__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0b1a55; }
.polaroid__ph .polaroid__next { position: absolute; inset: 0; opacity: 0; }
.polaroid__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.polaroid--a { --x: 1%; --y: 0%; --r: -7deg; --z: 2; }
.polaroid--b { --x: 53%; --y: 2.5%; --r: 6deg; --z: 2; }
.polaroid--c { --x: 27%; --y: 26%; --r: -2deg; --z: 3; width: 48%; }
.polaroid--d { --x: 0%; --y: 55%; --r: 5deg; --z: 2; }
.polaroid--e { --x: 54%; --y: 54%; --r: -5deg; --z: 2; }
@media (hover: hover) { .polaroid:hover { transform: rotate(var(--r)) translateY(-8px) scale(1.03); box-shadow: 0 30px 44px -14px rgba(0, 0, 0, .75); z-index: 9 !important; } }
.js .polaroid.is-hidden { opacity: 0; }

/* Écran d'accueil : choix de la destination avant d'entrer sur le site */
html.gate-open, html.gate-open body { overflow: hidden; }
html.gate-open .hero, html.gate-open .hero * { animation-play-state: paused !important; }
.gate { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 1fr 1fr; background: var(--night-950); }
.gate[hidden] { display: none; }
html:not(.gate-open) .gate:not(.is-leaving) { display: none; }
.gate__half { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 0; border: 0; color: #fff; cursor: pointer; text-align: center; font: inherit;
  transition: transform 900ms cubic-bezier(.77, 0, .18, 1), filter 500ms var(--ease); }
.gate__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease); }
.gate__half--hurghada .gate__img { object-position: 50% 62%; transform: scale(1.3); transform-origin: 50% 54%; }
.gate__half--phuket .gate__img { object-position: 60% 45%; }
.gate__half::before { content: ""; position: absolute; inset: 0; z-index: -2; mix-blend-mode: multiply; opacity: .8; background: linear-gradient(155deg, rgba(34, 229, 255, .35), rgba(11, 77, 255, .7) 60%, rgba(4, 16, 74, .85)); }
.gate__half--phuket::before { background: linear-gradient(155deg, rgba(255, 79, 163, .4), rgba(139, 92, 246, .75) 60%, rgba(4, 16, 74, .85)); }
.gate__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 10, 46, .35), rgba(2, 10, 46, .1) 35%, rgba(2, 10, 46, .9) 92%); }
.gate__half:hover .gate__img, .gate__half:focus-visible .gate__img { transform: scale(1.08); }
.gate__half--hurghada:hover .gate__img, .gate__half--hurghada:focus-visible .gate__img { transform: scale(1.4); }
.gate:has(.gate__half:hover) .gate__half:not(:hover) { filter: saturate(.55) brightness(.75); }
.gate__pin { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--night-950); background: linear-gradient(100deg, var(--cyan), var(--cyan-soft)); }
.gate__half--phuket .gate__pin { color: #fff; background: linear-gradient(100deg, var(--violet), var(--pink)); }
.gate__pin .ic { width: 16px; height: 16px; }
.gate__body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 20px clamp(40px, 9vh, 96px); width: 100%; }
.gate__city { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 9.5vw, 148px); line-height: .95; text-transform: uppercase; padding: .04em .06em .16em; background: linear-gradient(100deg, var(--cyan), #5aa2ff 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 26px rgba(2, 10, 46, .75)); }
.gate__formats { font-size: clamp(14px, 1.4vw, 18px); color: rgba(255, 255, 255, .92); }
.gate__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 17px; color: var(--night-950); background: linear-gradient(100deg, var(--cyan), var(--cyan-soft)); box-shadow: 0 12px 34px -8px rgba(34, 229, 255, .65); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.gate__half--phuket .gate__go { color: #fff; background: linear-gradient(100deg, var(--violet), var(--pink)); box-shadow: 0 12px 34px -8px rgba(139, 92, 246, .65); }
.gate__go .ic { width: 20px; height: 20px; }
.gate__half:hover .gate__go, .gate__half:focus-visible .gate__go { transform: translateY(-3px) scale(1.04); }
.gate__top { position: absolute; left: 0; right: 0; top: clamp(20px, 5vh, 56px); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; transition: opacity 500ms var(--ease); }
.gate__top img { width: clamp(64px, 9vh, 96px); height: auto; filter: drop-shadow(0 0 22px rgba(34, 229, 255, .5)); }
.gate__title { font-family: var(--font-display); font-size: clamp(26px, 4vw, 46px); line-height: 1; text-shadow: 0 4px 24px rgba(2, 10, 46, .9); -webkit-text-stroke: 1px currentColor; paint-order: stroke fill; }
.gate::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #fff; opacity: .85; z-index: 4; pointer-events: none; transition: opacity 500ms var(--ease); }
.gate__close { position: absolute; top: 18px; right: 18px; z-index: 6; display: none; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: rgba(2, 10, 46, .6); color: #fff; cursor: pointer; }
html[data-dest] .gate__close { display: grid; }
.gate__close:hover { background: var(--cyan); color: var(--night-950); }
.gate:not(.is-leaving) .gate__half--hurghada { animation: gateFromLeft 800ms cubic-bezier(.22, .61, .36, 1) both; }
.gate:not(.is-leaving) .gate__half--phuket { animation: gateFromRight 800ms cubic-bezier(.22, .61, .36, 1) both; }
@keyframes gateFromLeft { from { transform: translateX(-30%); } }
@keyframes gateFromRight { from { transform: translateX(30%); } }
.gate.is-leaving { pointer-events: none; background: transparent; }
.gate.is-leaving .gate__half--hurghada { transform: translateX(-101%); }
.gate.is-leaving .gate__half--phuket { transform: translateX(101%); }
.gate.is-leaving .gate__top, .gate.is-leaving::after { opacity: 0; }
.dest-pill { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 2px solid var(--line); background: rgba(255, 255, 255, .06); color: #fff; font: 600 13px var(--font-body); letter-spacing: .02em; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.dest-pill .ic { width: 15px; height: 15px; color: var(--cyan); }
html[data-dest="phuket"] .dest-pill .ic { color: var(--pink); }
.dest-pill:hover { border-color: var(--cyan); }
@media (max-width: 760px) {
  .gate { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .gate::after { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 4px; margin: -2px 0 0; }
  .gate__pin { top: 42%; }
  .gate__city { font-size: clamp(48px, 15vw, 90px); }
  .gate__body { gap: 6px; padding-bottom: 24px; }
  .gate__formats { display: none; }
  .gate__go { padding: 11px 24px; font-size: 15px; margin-top: 4px; }
  .gate__top { top: 12px; }
  .gate__top img { width: 52px; }
  .gate__title { font-size: 24px; }
  .gate.is-leaving .gate__half--hurghada { transform: translateY(-101%); }
  .gate.is-leaving .gate__half--phuket { transform: translateY(101%); }
  @keyframes gateFromLeft { from { transform: translateY(-30%); } }
  @keyframes gateFromRight { from { transform: translateY(30%); } }
  .dest-pill { margin-right: 4px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) { .gate:not(.is-leaving) .gate__half { animation: none; } .gate__half, .gate__img { transition: none; } }

/* Écran de chargement : logo + barre de progression */
html.loading, html.loading body { overflow: hidden; }
html.loading .gate__half, html.loading .hero, html.loading .hero * { animation-play-state: paused !important; }
.loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: radial-gradient(700px 500px at 50% 45%, rgba(11, 77, 255, .35), transparent 70%), var(--night-950);
  transition: opacity 600ms var(--ease), visibility 0s linear 600ms; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px; }
.loader__logo { width: clamp(110px, 22vw, 170px); height: auto; filter: drop-shadow(0 0 26px rgba(34, 229, 255, .55)); animation: loaderPop 700ms cubic-bezier(.34, 1.56, .64, 1) both, loaderPulse 1.4s ease-in-out 700ms infinite; }
@keyframes loaderPop { from { opacity: 0; transform: scale(.4) rotate(-10deg); } }
.loader__bar { width: min(260px, 64vw); height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.loader__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 18px rgba(34, 229, 255, .7); }
.loader__pct { font-family: var(--font-display); font-size: 20px; letter-spacing: .08em; color: var(--muted); min-width: 4ch; text-align: center; }
.loader.is-done .loader__logo { animation: none; transform: scale(1.25); transition: transform 600ms var(--ease); }
@keyframes loaderPulse { 0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 22px rgba(34, 229, 255, .4)); } 50% { transform: translateY(-8px) scale(1.06); filter: drop-shadow(0 0 34px rgba(34, 229, 255, .8)); } }
@media (prefers-reduced-motion: reduce) { .loader__logo { animation: none; } .loader { transition-duration: 1ms; } }
@media (max-width: 640px) { .clock { border-radius: 22px; line-height: 1.35; } }


/* ===== V4 : fond bleu nuit unifié avec Instagram ===== */
body { background: radial-gradient(900px 900px at 100% 0%, rgba(11, 77, 255, .5), transparent 65%), radial-gradient(800px 800px at 0% 100%, rgba(139, 92, 246, .35), transparent 65%), var(--night-950); background-attachment: fixed; }
.section--alt { background: linear-gradient(180deg, rgba(4, 16, 74, .55), rgba(2, 10, 46, .35)); }

/* Formats : cartes à collectionner (le sélecteur d'origine reste dans le DOM pour le script) */
.section--formats .picker, .section--formats .panel { display: none; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.xcard { --h1: #22e5ff; --h2: #5aa2ff; --h3: #c9f7ff; --b1: #0a2a8a; --b2: #06104a; padding: 12px; border-radius: 34px; background: linear-gradient(135deg, var(--h1), var(--h2), var(--h3), var(--h1)); box-shadow: 0 30px 60px -22px rgba(0, 0, 40, .85), 0 0 50px -14px var(--h1); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.xcard--pool { --h1: #ffb14d; --h2: #ff4fa3; --h3: #ffe08a; --b1: #7a1f55; --b2: #2a0a3a; }
.xcard--club { --h1: #8b5cf6; --h2: #ff4fa3; --h3: #22e5ff; --b1: #2a1070; --b2: #0a0630; }
.xcard:hover { transform: translateY(-10px) rotate(-.6deg); }
.xcard__in { position: relative; border-radius: 24px; background: linear-gradient(180deg, var(--b1), var(--b2)); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.xcard header { display: flex; justify-content: space-between; align-items: center; }
.xcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; text-transform: uppercase; line-height: 1; }
.xcard__hp { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-size: 34px; color: var(--h1); line-height: 1; }
.xcard__hp small { font-family: var(--font-body); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.xcard__art { position: relative; aspect-ratio: 4 / 3; border: 5px solid #fff; border-radius: 6px; background-size: cover; background-position: center; box-shadow: 0 0 0 3px var(--h1); overflow: hidden; }
.xcard__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .32) 44%, rgba(255, 140, 220, .25) 50%, rgba(120, 230, 255, .28) 56%, transparent 70%); mix-blend-mode: overlay; transition: transform 900ms var(--ease); }
.xcard:hover .xcard__art::after { transform: translateX(30%); }
.xcard__type { align-self: center; padding: 4px 18px; border: 2px solid var(--h1); border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.xcard__ab { padding: 12px 16px; border-radius: 14px; background: rgba(2, 10, 46, .55); border: 1px solid rgba(255, 255, 255, .2); min-height: 108px; }
.xcard__ab small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--h1); }
.xcard__ab p { margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.xcard__st { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.xcard__st li { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.xcard__st span { width: 84px; color: #dbe6ff; }
.xcard__st i { flex: 1; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; display: block; }
.xcard__st b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--h1), var(--h2)); }
.xcard__st em { width: 32px; text-align: right; font-family: var(--font-display); font-style: normal; font-size: 20px; letter-spacing: 0; }
.xcard .btn { margin-top: auto; align-self: stretch; }
@media (max-width: 900px) { .cards3 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* All access : badges sur lanière */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; justify-items: center; padding-top: 12px; }
.bdg { position: relative; width: min(300px, 100%); padding-top: 70px; }
.bdg__strap { position: absolute; left: 50%; top: -30px; width: 34px; height: 120px; margin-left: -17px; background: linear-gradient(90deg, #0836b0, #0b4dff 40%, #0836b0); box-shadow: inset 0 0 0 2px rgba(34, 229, 255, .55); }
.bdg:nth-child(1) { transform: rotate(-2.5deg); } .bdg:nth-child(3) { transform: rotate(2.5deg); }
.bdg__card { position: relative; border-radius: 22px; padding: 12px; background: rgba(180, 200, 255, .16); border: 3px solid rgba(255, 255, 255, .4); box-shadow: var(--shadow), inset 0 0 0 2px rgba(34, 229, 255, .35); transition: transform var(--t-base) var(--ease); text-align: center; }
.bdg:hover .bdg__card { transform: translateY(-8px) rotate(1.2deg); }
.bdg__card > * { position: relative; }
.bdg__card::before { content: ""; position: absolute; inset: 12px; border-radius: 12px; background: linear-gradient(175deg, #0c1b70, #04104a 55%, #020a2e); box-shadow: inset 0 0 0 2px rgba(34, 229, 255, .55); }
.bdg__band { display: flex; align-items: center; justify-content: space-between; margin: 0 12px; padding: 8px 14px; border-radius: 8px 8px 0 0; background: linear-gradient(100deg, var(--cyan), var(--cyan-soft)); color: var(--night-950); }
.bdg__band img { height: 30px; width: auto; }
.bdg__band b { font-size: 14px; letter-spacing: .16em; }
.bdg__ic { display: grid; place-items: center; margin: 14px 24px 0; height: 130px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
.bdg__ic .ic { width: 70px; height: 70px; stroke-width: 1.6; }
.bdg__card h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: 44px; text-transform: uppercase; line-height: 1; }
.bdg__card p { margin-top: 6px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-soft); }
.bdg__card span { display: block; margin: 16px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .24em; color: var(--muted); }
@media (max-width: 900px) { .badges { grid-template-columns: 1fr; gap: 50px; } }

/* Mobile : cartes plus compactes */
@media (max-width: 480px) {
  .xcard { padding: 10px; border-radius: 28px; }
  .xcard__in { padding: 16px 14px 18px; }
  .xcard header { gap: 8px; }
  .xcard h3 { font-size: 28px; }
  .xcard__hp { font-size: 28px; }
  .xcard__hp small { font-size: 9px; letter-spacing: .1em; }
  .xcard__ab { min-height: 0; }
  .xcard__st span { width: 72px; font-size: 11px; }
}


/* Admin / base de données : consentement du formulaire */
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; color: #4c5c8f; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.check--news { grid-column: 1 / -1; color: rgba(255, 255, 255, .8); }
[data-db][hidden] { display: none !important; }
.check:not([hidden]) { display: flex; }
.book__form .check, .book__form .check span { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 13px; }
.news__form .check span { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* Écran de confirmation après l'envoi de la demande */
.book__done { background: #fff; color: var(--night-950); border-radius: 32px; padding: clamp(28px, 3vw, 44px); display: grid; gap: 14px; text-align: center; box-shadow: 12px 12px 0 var(--cyan), var(--shadow); }
.book__done[hidden] { display: none; }
.book__done-ic { font-size: 54px; line-height: 1; }
.book__done h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 46px); line-height: 1; }
.book__done p { color: #4c5c8f; }
.book__done ol { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 8px; counter-reset: st; text-align: left; }
.book__done li { counter-increment: st; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: #eef1ff; font-weight: 600; }
.book__done li::before { content: counter(st); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(100deg, var(--cyan), var(--violet)); color: #fff; font-size: 14px; font-weight: 700; }
.link-btn { background: none; border: 0; color: #4c5c8f; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 14px; }
.footer small a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer small a:hover { color: #fff; }
.check a { color: inherit; text-decoration: underline; }
.book__form[hidden] { display: none; }
