/* ==========================================================================
   NAO — marketing site
   Two surfaces, same as the app: black sky + cream.
   Motion language: slow ambient loops, scroll reveals, one marquee.
   ========================================================================== */

:root {
  /* NAO — le noir du logo, la crème du mot-symbole, l'or et le violet. */
  --night: #000000;
  --night-2: #0C0C12;
  --night-3: #14131C;
  --parchment: #F5F2EA;
  --cream: #F4F1E8;
  --ink: #0B0B10;
  --ink-soft: #3A3A44;
  --muted: #7C7C88;
  --muted-light: #9A9AA6;
  --gold: #E9B44C;
  --gold-deep: #C08F2E;
  --peri: #A88BFF;
  --violet: #7C5CFF;
  --violet-soft: #A88BFF;
  --indigo: #7C5CFF;
  --indigo-deep: #4A2FD0;
  --violet-deep: #4A2FD0;
  --serif: 'Frank Ruhl Libre', Georgia, serif;
  --mono: 'Space Mono', monospace;
  --sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--night);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  /* clip (not hidden) so position:sticky keeps working for the sliding hero */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- shared ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.ink { color: var(--gold-deep); }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.5px; }

/* Real astrological glyphs — same Noto families the app embeds. The \FE0E
   variation selector in the markup keeps iOS from swapping in emoji. */
.sign-btn i, .tr-sign i, .cc-glyph, .dls-orb, .marquee-track span {
  font-family: 'Noto Sans Symbols', 'Noto Sans Symbols 2', 'Space Mono', serif;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin-top: 14px; }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), filter .9s; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }
.reveal.on { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .spin-slow, .spin-rev, .spin-sweep, .spark, .dot, .marquee-track,
  .orb-glow, .scroll-hint span, .tilt { animation: none !important; }
}

/* starfields (deterministic pattern via gradients) */
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 64%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 58% 12%, rgba(255,255,255,.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 42%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 86% 74%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 86%, rgba(255,255,255,.75) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 33%, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 18%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 66% 88%, #fff 50%, transparent 51%);
}

/* App Store badge — the official black-badge look, drawn in HTML/CSS so it
   stays crisp at any size. This is THE conversion action, used everywhere. */
.as-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; padding: 9px 20px 9px 14px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s;
  box-shadow: 0 12px 30px rgba(90,107,224,.35);
}
.as-badge:hover { transform: translateY(-2px) scale(1.02); border-color: rgba(255,255,255,.5);
  box-shadow: 0 16px 40px rgba(90,107,224,.5); }
.as-apple { width: 20px; height: 24px; flex-shrink: 0; }
.as-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.as-badge small { font-size: 10.5px; font-weight: 500; letter-spacing: .2px; opacity: .85; }
.as-badge b { font-size: 18px; font-weight: 600; letter-spacing: .1px; }
.as-badge.big { padding: 12px 26px 12px 18px; border-radius: 14px; }
.as-badge.big .as-apple { width: 24px; height: 29px; }
.as-badge.big b { font-size: 21px; }
.as-badge.mini { padding: 7px 14px 7px 11px; box-shadow: none; border-radius: 10px; }
.as-badge.mini .as-apple { width: 16px; height: 19px; }
.as-badge.mini b { font-size: 14px; }
.as-badge.mini small { font-size: 9px; }
.nav-apple { width: 12px; height: 15px; margin-right: 6px; vertical-align: -2px; }

/* buttons */
.btn-solid {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--night);
  font-size: 15px; font-weight: 700;
  padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(90,107,224,.4);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s;
}
.btn-solid:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 38px rgba(90,107,224,.55); }
.btn-solid.dark { background: var(--night); color: #fff; box-shadow: 0 12px 30px rgba(20,19,42,.3); }
.btn-ghost {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--peri);
  padding: 15px 10px; transition: color .2s, transform .25s;
}
.btn-ghost:hover { color: #B8C4FF; transform: translateX(3px); }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(20,19,42,.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-mark { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 3px; }
.nav-mark span { color: var(--gold); }
.nav-mark.small { font-size: 13px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700;
  background: #fff; color: var(--night);
  padding: 10px 20px; border-radius: 999px;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.nav-cta:hover { transform: scale(1.05); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s; }
.nav-burger span + span { margin-top: 6px; }
.nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: 64px; left: 14px; right: 14px;
    flex-direction: column; gap: 4px;
    background: rgba(20,19,42,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
    padding: 10px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .3s, transform .3s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
  }
  .nav-links a { padding: 13px 16px; border-radius: 12px; font-size: 16px; opacity: .9; }
  .nav-links a:active { background: rgba(255,255,255,.07); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-cta { padding: 9px 16px; }
}

/* ---------- hero ---------- */

.hero {
  position: sticky; top: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(178deg, var(--night-2) 0%, var(--night) 55%, #171528 100%);
  overflow: hidden;
  padding: 120px clamp(20px, 5vw, 64px) 80px;
}
.hero-bloom {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(circle, rgba(90,107,224,.32) 0%, rgba(184,150,62,.1) 46%, transparent 68%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: translateX(-50%) scale(1); opacity:.55; } 50% { transform: translateX(-50%) scale(1.07); opacity:.85; } }

.hero-inner {
  position: relative; max-width: 1180px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(46px, 7vw, 84px); line-height: 1.02; margin: 18px 0 0; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 17px; line-height: 1.65; color: rgba(233,230,220,.68); margin-top: 22px; max-width: 460px; }
.hero-ctas { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero-blessing { font-family: var(--serif); font-size: 19px; color: var(--gold); margin-top: 26px; }

/* the orb + phone composition */
.hero-orb { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.orb { position: absolute; width: min(430px, 90%); aspect-ratio: 1; }
.orb-svg { width: 100%; height: 100%; overflow: visible; }
.orb-glow {
  position: absolute; inset: 12%;
  background: radial-gradient(circle, rgba(90,107,224,.35), transparent 65%);
  border-radius: 50%;
  animation: breathe2 6s ease-in-out infinite;
}
@keyframes breathe2 { 0%,100% { transform: scale(.95); opacity:.5; } 50% { transform: scale(1.06); opacity:.85; } }

.spin-slow { transform-origin: 150px 150px; animation: spin 100s linear infinite; }
.spin-rev  { transform-origin: 150px 150px; animation: spin 70s linear infinite reverse; }
.spin-sweep{ transform-origin: 150px 150px; animation: spin 7s linear infinite; }
.spark.s1 { transform-origin: 150px 150px; animation: spin 26s linear infinite; }
.spark.s2 { transform-origin: 150px 150px; animation: spin 38s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.constellation .dot { filter: drop-shadow(0 0 6px currentColor); animation: pulse 2.6s ease-in-out infinite; }
.constellation .dot.d1 { animation-delay: .4s; } .constellation .dot.d2 { animation-delay: .8s; }
.constellation .dot.d3 { animation-delay: 1.2s; } .constellation .dot.d4 { animation-delay: 1.6s; }
@keyframes pulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

.draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.4s cubic-bezier(.5,0,.2,1) .3s forwards; }
.draw.d1 { animation-delay: .7s; } .draw.d2 { animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-phone {
  position: relative; width: min(230px, 52%);
  border-radius: 36px; overflow: hidden;
  border: 6px solid #0d0c1c;
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(4deg);
}
.tilt { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.tilt:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold); border-radius: 2px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-orb { min-height: 420px; order: 2; }
}
@media (max-width: 480px) {
  .hero { padding-top: 104px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero-orb { min-height: 350px; }
  .orb { width: 96%; }
  .hero-phone { width: 56%; }
  .marquee-track span { font-size: 13px; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- sliding sheet over the pinned hero ---------- */

.page-sheet {
  position: relative; z-index: 5;
  border-radius: 34px 34px 0 0;
  overflow: hidden;
  box-shadow: 0 -30px 80px rgba(0,0,0,.5);
  background: var(--night);
}

/* ---------- scroll progress ---------- */

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--peri), var(--gold));
  transition: width .15s linear; }

/* ---------- try-it quiz ---------- */

.tryit { position: relative; background: linear-gradient(178deg, #171528, var(--night-2)); padding: 110px clamp(20px,5vw,64px); overflow: hidden; }
.tryit-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.tryit h2 { font-size: clamp(32px, 5vw, 52px); margin-top: 14px; }
.tryit h2 em { font-style: italic; color: var(--gold); }
.tryit-sub { color: rgba(233,230,220,.6); font-size: 15.5px; margin-top: 14px; }

.try-tabs { display: inline-flex; gap: 6px; margin-top: 28px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: 5px; }
.try-tab { font-family: var(--sans); font-size: 14px; font-weight: 600; color: rgba(233,230,220,.65);
  background: none; border: 0; cursor: pointer; border-radius: 999px; padding: 10px 20px;
  transition: background .3s, color .3s; }
.try-tab.active { background: #fff; color: var(--night); }

.sign-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 26px; }
.sign-btn { display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: var(--sans); color: rgba(233,230,220,.75); cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 13px 4px 10px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s, border-color .3s, color .3s; }
.sign-btn i { font-style: normal; font-size: 22px; color: var(--gold); }
.sign-btn b { font-size: 10.5px; font-weight: 600; }
.sign-btn:hover { transform: translateY(-3px); background: rgba(143,160,255,.12); border-color: rgba(143,160,255,.4); color: #fff; }
.sign-btn.active { background: rgba(143,160,255,.16); border-color: var(--peri); color: #fff; transform: translateY(-3px); }

.try-result { display: flex; align-items: center; gap: 26px; text-align: left;
  margin-top: 30px; padding: 26px 28px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  animation: resultIn .7s cubic-bezier(.16,1,.3,1); }
@keyframes resultIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.tr-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.tr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tr-track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 7; }
.tr-fill { fill: none; stroke: url(#markGrad); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 188.5; stroke-dashoffset: 188.5;
  transition: stroke-dashoffset 1.2s cubic-bezier(.16,1,.3,1); }
.tr-ring b { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; }
.tr-sign { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.tr-sign i { font-style: normal; font-size: 20px; color: var(--gold); }
.tr-sign em { font-family: var(--serif); font-style: normal; font-size: 22px; }
.tr-sign u { text-decoration: none; font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--peri);
  border: 1px solid rgba(143,160,255,.4); border-radius: 999px; padding: 3px 9px; }
.try-result p { font-size: 15.5px; line-height: 1.6; color: rgba(233,230,220,.85); margin-bottom: 16px; }
.try-result .btn-solid { font-size: 14px; padding: 12px 20px; }
.tr-note { display: block; font-size: 11.5px; color: rgba(233,230,220,.45); margin-top: 10px; }
.tr-push { font-size: 14px !important; margin-bottom: 12px !important; }
.tr-push b { color: var(--gold); }

/* --- calculating state: content blurred under a small orbit spinner --- */
.try-result { position: relative; }
.tr-ring, .tr-body { transition: filter .7s cubic-bezier(.16,1,.3,1), opacity .7s; }
.try-result.calculating .tr-ring,
.try-result.calculating .tr-body { filter: blur(9px); opacity: .45; pointer-events: none; }

.tr-calc { position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  opacity: 0; pointer-events: none; transition: opacity .4s; }
.try-result.calculating .tr-calc { opacity: 1; }
.tr-orbits { position: relative; width: 64px; height: 64px; display: block; }
.tr-orbits i { position: absolute; border-radius: 50%; border: 1.4px dashed rgba(143,160,255,.55); }
.tr-orbits i:first-child { inset: 0; animation: spin 3.2s linear infinite; }
.tr-orbits i:last-child { inset: 10px; border-color: rgba(224,184,94,.6);
  animation: spin 2.1s linear infinite reverse; }
.tr-orbits b { position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 20px; color: var(--gold); font-weight: 400;
  animation: floaty 2.6s ease-in-out infinite; }
.tr-calc-label { font-family: var(--serif); font-style: italic; font-size: 15px;
  color: rgba(233,230,220,.85); }

/* --- the full verdict stays blurred: the tease that sells the app --- */
.tr-teaser { position: relative; margin: 2px 0 14px; border-radius: 12px; overflow: hidden; }
.tr-teaser-text { font-size: 13.5px !important; line-height: 1.55 !important;
  color: rgba(233,230,220,.9) !important; margin: 0 !important;
  filter: blur(5px); user-select: none; }
.tr-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, transparent, rgba(20,19,42,.55) 25%, rgba(20,19,42,.55) 75%, transparent);
  letter-spacing: .3px; }
@media (max-width: 640px) {
  .sign-grid { grid-template-columns: repeat(4, 1fr); }
  .try-result { flex-direction: column; text-align: center; }
  .tr-sign { justify-content: center; }
}

/* ---------- live moon widget ---------- */

.moon-now { display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 10px 22px 10px 12px; margin-bottom: 26px;
  text-align: left; }
.moon-disc { position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: var(--peri); overflow: hidden; flex-shrink: 0; }
.moon-disc i { position: absolute; inset: 0; border-radius: 50%; background: var(--night); }
.moon-copy b { display: block; font-size: 13.5px; }
.moon-copy em { font-style: normal; font-size: 11.5px; color: rgba(233,230,220,.55); }

/* ---------- marquee ---------- */

.marquee {
  background: var(--gold);
  color: var(--night);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-block: 3px solid var(--night);
}
.marquee-track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--mono); font-weight: 700; font-size: 16px; letter-spacing: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- features (parchment) ---------- */

.features {
  background: var(--parchment); color: var(--ink);
  padding: 110px clamp(20px, 5vw, 64px) 100px;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.feature-card {
  background: #fff; border-radius: 26px; padding: 34px 30px;
  border: 0.5px solid rgba(26,25,21,.07);
  box-shadow: 0 2px 4px rgba(26,25,21,.04);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(61,78,199,.13); }
.fc-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 24px; margin-bottom: 20px;
}
.fc-icon.gold { background: rgba(184,150,62,.13); color: var(--gold-deep); }
.fc-icon.peri { background: rgba(90,107,224,.11); color: var(--indigo-deep); }
.fc-icon.indigo { background: rgba(61,78,199,.1); color: var(--indigo-deep); }
.feature-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ---------- screens ---------- */

.screens { background: var(--parchment); color: var(--ink); padding: 20px clamp(20px,5vw,64px) 120px; }
.phone-row { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 36px); max-width: 1080px; margin: 0 auto; }
.phone {
  width: min(250px, 28vw); border-radius: 34px; overflow: hidden;
  border: 5px solid var(--night);
  box-shadow: 0 30px 70px rgba(20,19,42,.28);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.phone:hover { transform: translateY(-10px); }
.phone.big { width: min(290px, 32vw); z-index: 2; }
@media (max-width: 720px) {
  .phone-row { flex-direction: column; }
  .phone, .phone.big { width: min(280px, 78vw); }
}

/* ---------- method (night) ---------- */

.method { position: relative; background: linear-gradient(178deg, var(--night-2), var(--night)); padding: 120px clamp(20px,5vw,64px); overflow: hidden; }
.method-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.method h2 { font-size: clamp(34px, 5vw, 54px); margin-top: 14px; }
.method-sub { font-size: 16px; line-height: 1.7; color: rgba(233,230,220,.65); max-width: 560px; margin: 20px auto 0; }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 48px; }
.months span {
  font-family: var(--serif); font-size: 20px; color: var(--gold);
  background: rgba(255,255,255,.05); border: 0.5px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 16px 10px 13px;
  display: flex; flex-direction: column; gap: 5px; align-items: center;
  transition: transform .4s cubic-bezier(.16,1,.3,1), background .4s, border-color .4s;
}
.months span:hover { transform: translateY(-4px); background: rgba(143,160,255,.1); border-color: rgba(143,160,255,.35); }
.months b { font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: .3px; color: rgba(233,230,220,.65); }

/* ---------- course teaser ---------- */

.course-teaser { background: var(--parchment); padding: 110px clamp(20px,5vw,64px); }
.ct-card {
  max-width: 1020px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, #232057 0%, var(--indigo-deep) 70%, #7C5CFF 120%);
  border-radius: 32px; padding: clamp(34px, 5vw, 60px);
  color: #fff;
  box-shadow: 0 30px 70px rgba(61,78,199,.3);
  position: relative; overflow: hidden;
}
.ct-card::after { content: ''; position: absolute; top: -60px; right: -40px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(224,184,94,.35), transparent 65%); pointer-events: none; }
.ct-copy h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.ct-copy p { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 400px; }
.ct-copy .btn-solid.dark { background: #fff; color: var(--indigo-deep); }

.ct-mini {
  background: rgba(13,12,28,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 18px; position: relative; z-index: 2;
  transform: rotate(2deg);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.ct-card:hover .ct-mini { transform: rotate(0) scale(1.02); }
.ct-mini-bar { display: flex; gap: 5px; margin-bottom: 16px; }
.ct-mini-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.ct-mini-row { display: flex; align-items: center; gap: 13px; padding: 10px 6px; }
.ct-thumb { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.ct-thumb.g1 { background: linear-gradient(135deg, #A88BFF, #7C5CFF); }
.ct-thumb.g2 { background: linear-gradient(135deg, #E9B44C, #C08F2E); color: var(--night); }
.ct-thumb.g3 { background: linear-gradient(135deg, #E0857F, #C25A34); }
.ct-mini-row b { display: block; font-size: 13.5px; margin-bottom: 7px; }
.ct-mini-row u {
  display: block; height: 4px; width: 150px; max-width: 34vw;
  background: linear-gradient(90deg, var(--peri), var(--gold));
  border-radius: 4px; text-decoration: none; position: relative;
}
.ct-mini-row u::after { content:''; position: absolute; left: 0; top: 0; bottom: 0; right: -150px;
  background: rgba(255,255,255,.14); border-radius: 4px; z-index: -1; width: 150px; }
@media (max-width: 880px) { .ct-card { grid-template-columns: 1fr; } .ct-preview { display: flex; justify-content: center; } }

/* ---------- download ---------- */

.download { position: relative; background: linear-gradient(178deg, var(--night), #171528); padding: 130px clamp(20px,5vw,64px); overflow: hidden; }
.dl-inner { position: relative; max-width: 560px; margin: 0 auto; text-align: center; }
.dl-mark { font-size: 46px; color: var(--gold); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.download h2 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 14px; }
.download p { color: rgba(233,230,220,.65); font-size: 16px; margin-bottom: 34px; }
.dl-badges { display: flex; justify-content: center; margin-bottom: 24px; }
.dl-or { font-size: 13px !important; color: rgba(233,230,220,.5) !important; margin-bottom: 16px !important; }
.dl-form { display: flex; gap: 10px; max-width: 430px; margin: 0 auto; }
.dl-form input {
  flex: 1; font-size: 16px; font-family: var(--sans); color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 15px 22px; outline: none;
  transition: border-color .25s, background .25s;
}
.dl-form input:focus { border-color: var(--peri); background: rgba(143,160,255,.08); }
.dl-form button {
  font-size: 14px; font-weight: 700; font-family: var(--sans);
  background: #fff; color: var(--night); border: 0; cursor: pointer;
  border-radius: 999px; padding: 15px 26px;
  box-shadow: 0 12px 30px rgba(90,107,224,.4);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.dl-form button:hover { transform: scale(1.04); }
@media (max-width: 520px) { .dl-form { flex-direction: column; } }

/* ---------- footer ---------- */

/* sticky download bar — appears once the reader is engaged */
.dl-sticky {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 90px);
  z-index: 55;
  display: flex; align-items: center; gap: 14px;
  background: rgba(20,19,42,.92);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 9px 10px 9px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .5s;
  pointer-events: none;
}
.dl-sticky.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.dls-orb { font-size: 20px; color: var(--gold); animation: floaty 4s ease-in-out infinite; }
.dls-copy { display: flex; flex-direction: column; line-height: 1.2; }
.dls-copy b { font-size: 13.5px; }
.dls-copy em { font-style: normal; font-size: 11px; color: rgba(233,230,220,.55); }
@media (max-width: 480px) { .dls-copy em { display: none; } .dl-sticky { gap: 10px; } }

.footer {
  background: #0F0E20; padding: 34px clamp(20px,5vw,64px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; font-size: 13.5px; }
.footer-links a { opacity: .6; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-note { font-size: 12px; color: rgba(233,230,220,.4); }

/* ---------- legal pages ---------- */

.legal { background: var(--parchment); color: var(--ink); min-height: 100vh; padding: 130px clamp(20px,5vw,64px) 90px; }
.legal-inner { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.legal .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; display: block; }
.legal h2 { font-size: 22px; font-weight: 500; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--indigo-deep); font-weight: 600; }
.legal .notice { background: rgba(184,150,62,.1); border: 1px solid rgba(184,150,62,.3);
  border-radius: 16px; padding: 18px 20px; margin: 24px 0; }
.legal .notice p { margin: 0; font-size: 14px; }


/* ---------- le mot-symbole NAO ----------
   Le SVG hérite de `currentColor` pour les lettres, donc il suit le thème
   sans variante de fichier ; seul l'éclat d'or reste fixe, c'est le seul
   élément du logo qui porte un sens et non une couleur. */
.nao { height: 22px; width: auto; display: block; }
.nav-mark.small .nao, .mark.small .nao { height: 15px; }
