/* Polecom — page d'attente. Fond sombre continu, halos entiers, Inter (coupe Display aux grandes tailles). */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0B0A10;
  --ink: #F4F2F8;
  --ink-2: #C9C3D6;
  --ink-3: #A39DB3;
  --line: rgba(244, 242, 248, 0.10);
  --violet: #6129F0;
  --lavande: #8F2DF8;
  --orchidee: #C440F9;
  --magenta: #E72CE5;
  --rose: #EE1FCE;
  --grad: linear-gradient(90deg, #865BF4 0%, #9F4BF9 30%, #C440F9 55%, #E72CE5 78%, #EE1FCE 100%);
  /* Texte en dégradé : mêmes teintes, éclaircies pour rester ≥ 4,5:1 devant les halos du fond */
  --grad-text: linear-gradient(90deg, #9B7BF7 0%, #A77BFA 30%, #C86BFA 55%, #EC5FE8 78%, #F25AD8 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orchidee); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Halos : calque fixe plein écran, dégradés qui s'éteignent bien avant les bords (jamais coupés) */
.halos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.halos::before, .halos::after {
  content: ""; position: absolute; border-radius: 50%;
  width: 90vmax; height: 90vmax;
  will-change: transform;
}
.halos::before { background: radial-gradient(closest-side, rgba(97, 41, 240, .30) 0%, rgba(97, 41, 240, .15) 38%, rgba(97, 41, 240, .05) 70%, rgba(97, 41, 240, 0) 100%); left: -30vmax; top: -38vmax; animation: drift-a 26s ease-in-out infinite alternate; }
.halos::after  { background: radial-gradient(closest-side, rgba(238, 31, 206, .20) 0%, rgba(238, 31, 206, .10) 38%, rgba(238, 31, 206, .03) 70%, rgba(238, 31, 206, 0) 100%); right: -34vmax; top: 6vmax; animation: drift-b 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(8vmax, 6vmax, 0); } }
@keyframes drift-b { to { transform: translate3d(-7vmax, -5vmax, 0); } }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- Héros ---------- */
.hero {
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(56px, 10vh, 112px); padding-bottom: clamp(48px, 7vh, 80px);
}
.logo { position: relative; width: clamp(200px, 24vw, 340px); height: auto; overflow: visible; }
.hero { position: relative; isolation: isolate; }
.brand { position: relative; display: block; width: max-content; margin: 0 auto; }
.hero h1 {
  margin: clamp(36px, 6vh, 64px) 0 0;
  font-size: clamp(38px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 640;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero .lead {
  margin: clamp(18px, 2.4vh, 26px) auto 0; max-width: 36em;
  font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: balance;
}
.soon {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(28px, 4vh, 40px); padding: 11px 20px 11px 16px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(244, 242, 248, 0.04);
  font-size: 15px; font-weight: 560; letter-spacing: -0.005em; color: var(--ink);
}
.soon i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--lavande), var(--rose)); }
.soon i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(231, 44, 229, .55); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Bande de publications ---------- */
.reel { position: relative; padding: clamp(8px, 2vh, 24px) 0 clamp(56px, 9vh, 96px); }
.reel-view {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.reel-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: reel 131s linear infinite; }
.reel-view:hover .reel-track, .reel-view:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translate3d(-50%, 0, 0); } }
.reel { --tile-h: clamp(280px, 24vw, 340px); }
.reel-item { flex: none; width: calc(var(--tile-h) * var(--r, 4 / 5)); margin-right: clamp(14px, 1.6vw, 22px); }
.reel-item figure { margin: 0; }
.reel-media {
  position: relative; height: var(--tile-h); overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line); background: #15131C;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9);
}
.reel-media img, .reel-media video { width: 100%; height: 100%; object-fit: cover; }
.reel-item figcaption { margin-top: 10px; line-height: 1.35; font-size: 12px; letter-spacing: .01em; color: var(--ink-3); }

/* ---------- Pied ---------- */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 22px; padding-bottom: 26px; font-size: 14px; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(244, 242, 248, .3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.foot a:hover { color: var(--ink); text-decoration-color: var(--magenta); }

/* ---------- Animation du logo : symbole (arcs autour de la sphère), puis logotype ---------- */
.lg-arc, .lg-sph, .lg-sym { transform-box: view-box; }
.lg-arc, .lg-sph { transform-origin: 624.29px 641.18px; }
.lg-sph { animation: sph .7s var(--ease) .1s both; }
.lg-arc { animation: arc .85s var(--ease) both; animation-delay: calc(.25s + var(--i) * 70ms); }
.lg-sym { animation: sym-move .8s cubic-bezier(.65, 0, .25, 1) 1.1s both; }
.lg-word { animation: word .8s var(--ease) 1.82s both; }
@keyframes sph { from { transform: scale(0); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes arc { from { transform: scale(.55) rotate(-28deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sym-move { from { transform: translateX(1540px); } to { transform: none; } }
@keyframes word { from { opacity: 0; transform: translateX(-40px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.reveal { animation: up .9s var(--ease) both; }
.reveal-1 { animation-delay: 2.1s; } .reveal-2 { animation-delay: 2.25s; } .reveal-3 { animation-delay: 2.4s; } .reveal-4 { animation-delay: 2.55s; } .reveal-5 { animation-delay: 2.75s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Mentions légales ---------- */
.legal-top { padding: 28px 0 0; }
.legal-top a { display: inline-block; }
.legal-top img { width: 150px; height: auto; }
.legal { flex: 1 0 auto; max-width: 760px; padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(56px, 9vh, 96px); }
.legal h1 { margin: 0 0 12px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 640; }
.legal .note { margin: 0 0 40px; font-size: 17px; color: var(--ink-2); }
.legal h2 { margin: 36px 0 8px; font-size: 19px; letter-spacing: -0.01em; font-weight: 600; }
.legal p { margin: 0; color: var(--ink-2); }
.legal a { color: var(--ink); text-decoration-color: rgba(231, 44, 229, .6); text-underline-offset: 3px; }

/* ---------- Petits écrans ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 48px; }
  .logo { width: min(230px, 64vw); }
  .reel { --tile-h: min(78vw, 300px); }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mouvement réduit : tout est affiché, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .soon i::after { display: none; }
  .reel-view { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(20px, 4vw, 40px); scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .reel-view::-webkit-scrollbar { display: none; }
  .reel-track { padding: 0 clamp(20px, 4vw, 40px); }
  .reel-item { scroll-snap-align: start; }
  .reel-item[aria-hidden="true"] { display: none; }
}

/* ---------- Liste d'attente ---------- */
.wait { width: 100%; max-width: 520px; margin: clamp(26px, 3.6vh, 36px) auto 0; text-align: left; }
.wait-form { position: relative; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wait-label { display: block; margin: 0 0 8px 4px; font-size: 14px; font-weight: 560; color: var(--ink-2); }
.wait-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "input btn" "check check"; gap: 8px; }
.wait-input {
  grid-area: input; min-width: 0; height: 50px; padding: 0 20px;
  border: 1px solid rgba(244, 242, 248, .16); border-radius: 999px;
  background: rgba(244, 242, 248, .05); color: var(--ink);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.wait-input:focus { outline: none; border-color: rgba(196, 64, 249, .8); box-shadow: 0 0 0 4px rgba(143, 45, 248, .25); }
.wait-input::placeholder { color: #8C869C; }
.wait-btn {
  grid-area: btn; height: 50px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, #6129F0, #D610B8); color: #FFFFFF;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  box-shadow: 0 10px 30px -12px rgba(214, 16, 184, .7);
  transition: filter .2s, transform .2s;
}
.wait-btn:hover { filter: brightness(1.08); }
.wait-btn:active { transform: translateY(1px); }
.wait-btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.wait-btn[disabled] { cursor: progress; filter: saturate(.7) brightness(.9); }
.wait-check { grid-area: check; display: flex; align-items: flex-start; gap: 12px; margin: 8px 4px 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.wait-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--lavande); cursor: pointer; }
.wait-check input:focus-visible { outline: 2px solid var(--orchidee); outline-offset: 3px; }
.wait-status { margin: 12px 4px 0; font-size: 14.5px; line-height: 1.45; }
.wait-status:empty { display: none; }
.wait-status.is-error { color: #FF9AD9; }
.wait-done {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px 22px;
  border: 1px solid rgba(196, 64, 249, .45); border-radius: 20px; background: rgba(143, 45, 248, .10);
  font-size: 17px; font-weight: 560; color: var(--ink);
}
.wait-done[hidden] { display: none; }
.wait-done:focus { outline: none; }
.wait-done i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--lavande), var(--rose)) center / 100% no-repeat; position: relative; }
.wait-done i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #FFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wait-note { margin: 14px 4px 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.wait-note a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(244, 242, 248, .35); text-underline-offset: 3px; }
.wait-note a:hover { color: var(--ink); text-decoration-color: var(--magenta); }
@media (max-width: 480px) {
  .wait-fields { grid-template-columns: 1fr; grid-template-areas: "input" "check" "btn"; }
  .wait-btn { width: 100%; margin-top: 6px; }
}

/* Page merci et liste des mentions */
.thanks { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.thanks .logo-static { width: clamp(180px, 22vw, 260px); height: auto; }
.thanks h1 { margin: 40px 0 0; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 640; text-wrap: balance; }
.thanks h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thanks p { margin: 18px 0 0; color: var(--ink-2); }
.thanks .back { margin-top: 32px; display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(244, 242, 248, .04); color: var(--ink); text-decoration: none; font-weight: 560; }
.thanks .back:hover { border-color: rgba(196, 64, 249, .6); }
.legal-list { margin: 0; padding: 0 0 0 1.1em; color: var(--ink-2); }
.legal-list li { margin: 0 0 8px; }
.legal-list li::marker { color: var(--orchidee); }
.legal-list b { color: var(--ink); font-weight: 600; }
.legal-list + p { margin-top: 14px; }
