/* ═══════════════════════════════════════════════════════════════
   LANDING (public /) — refonte 2026-06 « solaire » (hero soleil WebGL)
   Charge après 70/75 → prime sur les anciennes règles landing.
   Garde .landing-sun*/.landing-chip*/.landing-up/dn (70) pour l'auth.
   ═══════════════════════════════════════════════════════════════ */

/* La scène défile désormais (multi-sections) + police Inter (était Segoe via le
   stack système-d'abord de 70-windows.css → moche sur Windows). */
.landing-scene { display: block; overflow: visible; min-height: 100vh; font-family: var(--font-sans); }

/* ── Nav slim (fixed — flotte par-dessus le hero, se givre au scroll) ──
   NB: position:fixed (et pas sticky) car .landing-scene a overflow:hidden,
   ce qui « casse » position:sticky (la barre défilait avec la page). fixed
   est immunisé contre l'overflow des ancêtres → barre réellement figée. */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;                /* maquette validée : plus d'air → plus épuré */
  background: transparent;           /* transparente par-dessus le hero en haut… */
  border-bottom: 1px solid transparent;
  transition: background .32s ease, -webkit-backdrop-filter .32s ease,
              backdrop-filter .32s ease, border-color .32s ease, box-shadow .32s ease;
}
/* …givrée dès qu'on scroll (.scrolled posé par assets/landing_header.js).
   Valeurs reprises À L'IDENTIQUE du visual companion validé par Benjamin
   (flou 14px / fond 0.60 / liseré + ombre / seuil 8px) — NE PAS dériver. */
.landing-nav.scrolled {
  background: rgba(8, 8, 10, 0.60);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 34px rgba(0, 0, 0, 0.38);
}
.landing-nav-brand { display: inline-flex; align-items: center; text-decoration: none !important; }
.landing-brand { height: 34px; }     /* logo plus contenu (était 42 → trop lourd) */
.landing-nav-right { display: inline-flex; align-items: center; gap: 24px; }
.landing-nav-link {
  color: #cfcfd3; font-size: 13.5px; font-weight: 400; letter-spacing: 0.01em;
  text-decoration: none !important; cursor: pointer; transition: color 0.15s;
}
.landing-nav-link:hover { color: var(--accent); }
.landing-nav-cta {
  display: inline-flex; align-items: center; height: 38px; padding: 0 20px;
  background: var(--accent); color: #08080A !important; border-radius: 8px;
  font-size: 13px; font-weight: 700; text-decoration: none !important;
  transition: filter 0.15s;
}
.landing-nav-cta:hover { filter: brightness(1.08); color: #08080A !important; }

/* ── Hero (plein écran, soleil WebGL en fond) ── */
.landing-hero {
  position: relative;
  min-height: 100vh; /* nav fixed (flotte par-dessus) → le hero remplit l'écran */
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  flex: none;
}
.hero-sun-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block; pointer-events: none;
}
.landing-hero-inner { position: relative; z-index: 4; padding: 0 24px; max-width: 900px; }
.landing-hero .landing-title { font-size: clamp(40px, 7vw, 82px); line-height: 1.0; margin: 0; letter-spacing: -0.03em; text-shadow: 0 6px 50px rgba(0, 0, 0, 0.6); }

/* Indicateur « Découvrir » (chevron animé, lisible sur soleil clair OU foncé) */
.landing-discover { position: relative; margin-top: 48px; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none !important; cursor: pointer; }
.landing-discover::before { content: ""; position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); width: 170px; height: 124px; background: radial-gradient(ellipse at center, rgba(8, 8, 10, 0.62), transparent 70%); filter: blur(6px); z-index: -1; pointer-events: none; }
.discover-lbl { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 26px rgba(0, 0, 0, 0.85); }
.discover-arr { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(245, 166, 35, 0.75); background: rgba(8, 8, 10, 0.45); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 166, 35, 0.18); display: grid; place-items: center; color: var(--accent); animation: discover-bob 1.9s ease-in-out infinite; transition: background 0.15s; }
.discover-arr .svic { width: 16px; height: 16px; }
.landing-discover:hover .discover-arr { background: rgba(245, 166, 35, 0.18); }
@keyframes discover-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .discover-arr { animation: none; } .landing-nav { transition: none; } }

/* Chips : positionnées + animées par landing_chips.js (transform/opacité inline).
   Cachées par défaut → révélées par le JS (évite le flash en haut-gauche au 1er paint). */
.landing-chip { left: 0; top: 0; opacity: 0; will-change: transform; transform-origin: center; font-family: var(--font-mono); }

/* Chips du hero = port fidèle de la maquette validée (arrondi 10px, fond ambré tiède,
   blur 10px). Scopé .landing-hero → l'auth (mêmes classes, autre contexte) reste intacte.
   borderColor / boxShadow / opacity sont posés inline par landing_chips.js. */
.landing-hero .landing-chip {
  padding: 9px 13px;
  background: rgba(18, 16, 14, 0.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 166, 35, 0.16);
  border-radius: 10px;
}
.landing-hero .landing-chip-k { color: #8a8a90; font-size: 8.5px; letter-spacing: 0.16em; margin-bottom: 3px; white-space: nowrap; }
.landing-hero .landing-chip-v { color: #f0f0f2; font-weight: 600; font-size: 12.5px; letter-spacing: normal; white-space: nowrap; }

/* ── Bandeau de preuve ── */
.landing-proof {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px; padding: 26px 36px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #0a0a0c;
  font-size: 13px; color: var(--muted); text-align: center;
}
.landing-proof-cats { color: #cfcfd3; font-weight: 500; }
.landing-proof-sep { color: var(--dim); }
.landing-proof-meta b { color: var(--accent); font-weight: 600; }

/* ── Sections (titres) ── */
.landing-section-eyebrow {
  color: var(--accent); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 600; text-align: center;
}
.landing-section-title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: #F2F2F2;
  letter-spacing: -0.02em; text-align: center; margin: 14px 0 48px;
}

/* ── Fonctionnalités (bento) ── */
.landing-features { padding: 110px 36px; max-width: 1180px; margin: 0 auto; }
.landing-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.landing-feature {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px; transition: border-color 0.2s, transform 0.2s;
}
.landing-feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.landing-feature-ic { color: var(--accent); width: 26px; height: 26px; margin-bottom: 16px; }
.landing-feature-title { color: #F2F2F2; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.landing-feature-desc { color: #9a9aa0; font-size: 13.5px; line-height: 1.55; }

/* ── Showcase produit (maquette terminal) ── */
.landing-showcase { padding: 0 36px 110px; max-width: 1060px; margin: 0 auto; text-align: center; }
.landing-showcase-frame {
  margin-top: 46px; background: #0c0c0e; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}
.sc-bar {
  height: 40px; background: #0d0d0f; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 7px; padding: 0 16px;
}
.sc-dot { width: 11px; height: 11px; border-radius: 50%; background: #2f2f34; }
.sc-bar-title { margin-left: 12px; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
/* cadre propre — placeholder en attendant la capture du dashboard */
.sc-stage {
  height: 360px; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(245, 166, 35, 0.06), transparent 60%), #0a0a0c;
}
.sc-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sc-empty-mark { height: 56px; opacity: 0.4; }
.sc-empty-cap { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ── Punchline = le moment fort (style réseau social, soleil à droite) ── */
.landing-punch { position: relative; padding: 150px 24px; text-align: center; overflow: hidden; }
.landing-punch-glow {
  position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
  width: 70%; height: 120%;
  background: radial-gradient(ellipse at 60% 50%, rgba(245, 166, 35, 0.16), transparent 62%);
  pointer-events: none;
}
.landing-punch-l1 {
  position: relative; max-width: 900px; margin: 0 auto;
  font-size: clamp(28px, 4.4vw, 52px); font-weight: 700; color: #fff;
  letter-spacing: -0.025em; line-height: 1.12;
}
.landing-punch-l2 {
  position: relative; margin-top: 18px;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  font-size: clamp(20px, 3vw, 34px); font-weight: 600;
}
.landing-punch-grey  { color: var(--muted); font-weight: 500; }
.landing-punch-first { color: #F2F2F2; }
.landing-punch-light { color: var(--accent); font-weight: 500; }
/* soleil recadré serré (firstlight-mark-tight.svg) → glyphe centré dans son cadre,
   donc align-items:center suffit, plus besoin de compenser */
.landing-punch-sun   { height: 1em; width: auto; }

/* CTA finale = port fidèle de la maquette validée (.b1) : pleine, arrondie 10px,
   MAJUSCULES, interlettrage serré .4px, et le petit glow ambré. Auto-suffisante
   (n'hérite plus du letter-spacing 2px de .landing-btn-primary). */
.landing-punch-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 46px; height: 52px; padding: 0 34px;
  background: var(--accent); color: #08080A !important;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700; font-size: 14px; letter-spacing: 0.4px;
  text-transform: uppercase; text-decoration: none !important; cursor: pointer;
  box-shadow: 0 12px 44px rgba(245, 166, 35, 0.30);
  transition: filter 0.15s, box-shadow 0.18s, transform 0.18s;
}
.landing-punch-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 54px rgba(245, 166, 35, 0.42);
  transform: translateY(-1px);
  color: #08080A !important;
}

.landing-btn-lg { font-size: 14px; padding: 16px 34px; }  /* legacy, autres usages */

/* ── Responsive ── */
@media (max-width: 900px) {
  .landing-bento { grid-template-columns: 1fr 1fr; }
  .landing-features, .landing-showcase { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 620px) {
  .landing-nav { padding: 13px 20px; }
  .landing-nav-right { gap: 14px; }
  .landing-nav-link[href="#features"] { display: none; }
  .landing-chip { display: none; } /* évite le recouvrement du slogan/CTA sur mobile */
  .landing-bento { grid-template-columns: 1fr; }
  .sc-stage { height: 220px; }
  .landing-features { padding: 64px 20px; }
  .landing-punch { padding: 80px 20px; }
}
