/* ============================================================
   VAIDEO — Pages publiques (landing + auth)
   ============================================================ */

.lp { min-height: 100vh; background:
    radial-gradient(120% 80% at 80% -10%, color-mix(in oklch, var(--primary) 16%, var(--bg)) 0%, transparent 55%),
    var(--bg); }

/* ---- Nav ---- */
.lp-nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px);
  background: color-mix(in oklch, var(--bg) 72%, transparent); border-bottom: 1px solid var(--border); }
.lp-nav-in { max-width: 1180px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 18px; }
.lp-nav .brand { display: flex; align-items: center; gap: 11px; }
.lp-links { display: flex; gap: 26px; margin-left: 22px; }
.lp-links a { font-size: var(--t-sm); font-weight: var(--fw-semibold); color: var(--text-muted); cursor: pointer; transition: var(--dur); }
.lp-links a:hover { color: var(--text); }

/* ---- Hero ---- */
.lp-hero { max-width: 1180px; margin: 0 auto; padding: 70px 28px 60px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: var(--t-sm); font-weight: var(--fw-semibold); color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 22px; }
.dotlive { width: 8px; height: 8px; border-radius: 50%; background: var(--st-live-fg); box-shadow: 0 0 0 3px var(--st-live-bg); }
.lp-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: var(--fw-black); letter-spacing: -0.035em; line-height: 1.04; }
.lp-hero h1 .hl { color: var(--primary); }
.lp-lead { font-size: 1.18rem; color: var(--text-muted); line-height: 1.55; max-width: 36ch; margin-top: 20px; }
.lp-platstrip { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }

/* ---- Floating cards art ---- */
.lp-hero-art { position: relative; min-height: 440px; }
.fc-stage { position: relative; width: 100%; height: 460px; }
.fc-glow { position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklch, var(--primary) 40%, transparent), transparent 68%); filter: blur(36px); }
.fc-pos { position: absolute; }
.fc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; width: 178px; }
.fc-card.big { width: 210px; }
.fc-thumb { position: relative; }
.fc-pf { position: absolute; left: 8px; top: 8px; }
.fc-pf .glyph { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; font-family: var(--font-mono); box-shadow: var(--shadow-sm); }
.fc-meta { padding: 11px 12px 13px; }
.fc-1 { left: 4%; top: 30px; z-index: 3; transform: rotate(-4deg); animation: float1 7s var(--ease) infinite; }
.fc-2 { right: 2%; top: 0; z-index: 2; transform: rotate(5deg); animation: float2 8s var(--ease) infinite; }
.fc-3 { right: 8%; bottom: 6px; z-index: 1; transform: rotate(-3deg); animation: float1 9s var(--ease) infinite; }
@keyframes float1 { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes float2 { 0%,100% { translate: 0 0; } 50% { translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .fc-1, .fc-2, .fc-3 { animation: none; } }
.fc-stat { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 13px; box-shadow: var(--shadow-lg); z-index: 4; }
.fc-s1 { left: 0; bottom: 40px; }
.fc-s1 .bold { color: var(--st-live-fg); font-size: 1.15rem; }
.fc-s2 { right: 6%; top: 44%; }

/* ---- Sections ---- */
.lp-sec { max-width: 1180px; margin: 0 auto; padding: 64px 28px; }
.lp-sec-head { margin-bottom: 34px; }
.lp-kick { font-family: var(--font-mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary); font-weight: var(--fw-semibold); }
.lp-sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: var(--fw-black); letter-spacing: -0.025em; margin-top: 10px; }

.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: var(--dur) var(--ease); }
.lp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.lp-pill-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--primary-tint); color: var(--primary); }
.lp-card h3 { font-size: var(--t-h2); margin-bottom: 9px; }
.lp-card p { font-size: var(--t-base); line-height: 1.55; }

/* ---- Top créations ---- */
.lp-top-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lp-top-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: var(--dur) var(--ease); box-shadow: var(--shadow-sm); }
.lp-top-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.lp-top-thumb { position: relative; }
.lp-rank { position: absolute; right: 8px; top: 8px; font-family: var(--font-mono); font-weight: 800; font-size: var(--t-xs); background: oklch(0.15 0.01 265 / 0.8); color: #fff; padding: 3px 7px; border-radius: 6px; }
.lp-top-pf { position: absolute; left: 8px; top: 8px; }
.lp-top-pf .glyph { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; font-family: var(--font-mono); box-shadow: var(--shadow-sm); }
.lp-top-body { padding: 12px; }

/* ---- Flow ---- */
.lp-flow { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; box-shadow: var(--shadow-sm); }
.lp-flow h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: var(--fw-black); letter-spacing: -0.025em; margin: 10px 0 14px; }
.lp-steps { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.lp-steps li { display: flex; align-items: center; gap: 13px; font-size: var(--t-base); font-weight: var(--fw-medium); }
.lp-step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); font-weight: 800; font-size: var(--t-sm); display: grid; place-items: center; flex: none; }
.lp-flow-art { display: grid; place-items: center; }
.lp-mini-wizard { width: 100%; max-width: 380px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); }
.lp-wz-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: var(--t-sm); flex: none; }
.lp-wz-sel { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: var(--fw-semibold); background: var(--primary-tint); border: 1px solid var(--primary-tint-2); padding: 5px 9px; border-radius: var(--r-pill); }
.lp-wz-sel .glyph { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 800; font-family: var(--font-mono); }
.lp-wz-field { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.lp-wz-input { font-size: var(--t-sm); padding: 9px 11px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface); }
.lp-wz-input.prefilled { border-color: var(--primary-tint-2); background: color-mix(in oklch, var(--primary-tint) 35%, var(--surface)); }

/* ---- CTA ---- */
.lp-cta { max-width: 900px; margin: 30px auto 0; padding: 64px 28px 80px; text-align: center; }
.lp-cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: var(--fw-black); letter-spacing: -0.03em; margin-bottom: 12px; }
.lp-foot { max-width: 1180px; margin: 0 auto; padding: 26px 28px 40px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lp-foot .brand { display: flex; align-items: center; gap: 10px; }
.lp-foot a { cursor: pointer; } .lp-foot a:hover { color: var(--text); }

/* ---- Responsive landing ---- */
@media (max-width: 920px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 44px; }
  .lp-hero-art { min-height: 380px; order: 2; }
  .lp-links { display: none; }
  .lp-flow { grid-template-columns: 1fr; padding: 28px; }
  .lp-top-grid { grid-template-columns: repeat(3, 1fr); }
  .grid.g3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-top-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-nav .brand .logo-wm { font-size: 1.1rem; }
  .lp-sec, .lp-hero { padding-left: 18px; padding-right: 18px; }
}

/* ============================================================
   AUTH
   ============================================================ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brandside { position: relative; padding: 40px; display: flex; flex-direction: column; gap: 28px;
  background:
    radial-gradient(100% 70% at 20% 10%, color-mix(in oklch, var(--primary) 34%, var(--bg)), transparent 60%),
    linear-gradient(160deg, color-mix(in oklch, var(--primary) 22%, var(--bg)), var(--bg));
  border-right: 1px solid var(--border); }
.auth-brandside .brand { display: flex; align-items: center; gap: 11px; }
.auth-brand-mid { margin-top: auto; margin-bottom: auto; max-width: 420px; }
.auth-brand-mid h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: var(--fw-black); letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 14px; }
.auth-brand-mid > p { font-size: 1.1rem; line-height: 1.5; }
.auth-mini-cards { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.auth-mc { display: flex; align-items: center; gap: 10px; background: color-mix(in oklch, var(--surface) 80%, transparent); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 12px; backdrop-filter: blur(8px); }
.auth-mc .glyph { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; font-family: var(--font-mono); flex: none; }

.auth-formside { display: grid; place-items: center; padding: 40px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-back { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--text-muted); font-family: inherit; font-size: var(--t-sm); font-weight: var(--fw-semibold); cursor: pointer; margin-bottom: 26px; padding: 0; }
.auth-back:hover { color: var(--text); }
.auth-card h1 { font-size: var(--t-h1); letter-spacing: -0.02em; margin-bottom: 8px; }
.gbadge { width: 18px; height: 18px; border-radius: 4px; background: #fff; color: #4285F4; font-weight: 800; font-size: 12px; display: grid; place-items: center; font-family: var(--font-mono); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text-faint); font-size: var(--t-sm); }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brandside { display: none; }
}
