/* ===========================================================================
   FIVERTU — PAGE « COMING SOON » (coming-soon.css)
   Feuille de la page, chargée après le design system
   (fonts → socle → header → footer → composants → coming-soon).
   Thème sombre seul. Mise en page D1 (centrée) ; téléphone : version M4.
   Décor : A = lueur « Horizon » adoucie, en bas à droite ;
           C = apparition (.reveal, page.js).
   =========================================================================== */

body.cs {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
}

/* A — lueur « Horizon » : environ 60 % plus douce que sur la Home, décalée en bas à droite */
body.cs::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 28% at 72% 96%, rgb(var(--hz-hi-ch) / calc(var(--hz-hi-a) * .38)), transparent 72%),
    radial-gradient(110% 48% at 66% 100%, rgb(var(--hz-ch) / calc(var(--hz-a) * .42)), transparent 70%);
}

.cs-top, .cs-hero, .cs-legal { position: relative; z-index: 1; }

/* Logo seul, en haut */
.cs-top {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 28px var(--pad-x) 0;
  box-sizing: border-box;
}
.cs-brand { display: inline-flex; color: var(--logo); }

/* Le centre de la page */
.cs-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 7vh, 88px) var(--pad-x) clamp(48px, 10vh, 120px);
}
.cs-inner { width: 100%; max-width: var(--container); margin: 0 auto; }

.cs-soon {
  max-width: 920px;
  margin: 0 auto 28px;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 500;
  letter-spacing: var(--ls-display);
  line-height: 1.05;
  color: var(--fg);
  text-align: center;
}

/* La carte Lumière */
.cs-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
  box-sizing: border-box;
  text-align: center;
}
.cs-sub { margin: 0 0 20px; color: var(--fg-3); font-size: clamp(16px, 1.6vw, 21px); }
.cs-h1 {
  margin: 0 0 36px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  letter-spacing: var(--ls-display);
  line-height: 1.2;
}
.cs-h1 .l { display: block; }
.cs-h1 em { color: var(--em-hero); -webkit-text-fill-color: var(--em-hero); }

/* Les deux lignes légales (style .sf-legal du pied de page) */
.cs-legal.sf-legal {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x) 28px;
  box-sizing: border-box;
  text-align: center;
}

/* Téléphone (M4) : tout tient sur un écran ; chaque ligne du titre sur une seule ligne */
@media (max-width: 640px) {
  .cs-top { padding-top: 22px; }
  .cs-hero { justify-content: center; padding: 24px 16px 32px; }
  .cs-soon { font-size: 44px; margin-bottom: 32px; }
  .cs-card { padding: 28px 18px; border-radius: 20px; }
  .cs-sub { font-size: 15px; margin-bottom: 14px; }
  .cs-h1 { font-size: min(30px, calc((100vw - 68px) / 11.3)); line-height: 1.25; margin-bottom: 26px; }
  .cs-h1 .l { white-space: nowrap; }
  .cs-legal.sf-legal { padding: 0 20px 24px; }
}
