/* Falafy site, design "v1 completa" (2026-11-08). Loaded after site.css on every page.
   Design system: docs/design/landing/design-system.md. Rules that keep SEO and AI answers safe:
   - only visual changes here; every text stays in the HTML and readable without JS;
   - animations start only when landing.js adds `nv-js` to <html> (no JS = everything visible, still);
   - prefers-reduced-motion turns every animation off. */

:root {
  --nv-bg: #0E0F13;
  --nv-glass: rgba(255, 255, 255, .045);
  --nv-glass-2: rgba(255, 255, 255, .07);
  --nv-line: rgba(255, 255, 255, .10);
  --nv-line-2: rgba(255, 255, 255, .16);
  --nv-lime-soft: rgba(200, 240, 90, .12);
  --nv-lime-line: rgba(200, 240, 90, .35);
  --nv-r-xl: 36px; --nv-r-lg: 28px; --nv-r-md: 20px;
  --nv-ease: cubic-bezier(.22, 1, .36, 1);
  --nv-shadow: 0 40px 120px -40px rgba(0, 0, 0, .7);
}

/* ---------- page background: deep night, a lime glow and a few stars (all pages) ---------- */
html, body { overflow-x: clip; }
body { background: var(--nv-bg); }
.nv-page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 40% at 85% 0%, rgba(200, 240, 90, .07), transparent 70%),
    radial-gradient(40% 35% at 0% 30%, rgba(111, 211, 245, .045), transparent 70%),
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(242, 242, 240, .35), transparent),
    radial-gradient(1px 1px at 38% 66%, rgba(242, 242, 240, .25), transparent),
    radial-gradient(1.5px 1.5px at 71% 24%, rgba(242, 242, 240, .3), transparent),
    radial-gradient(1px 1px at 88% 72%, rgba(242, 242, 240, .25), transparent),
    var(--nv-bg); }
.topbar { background: color-mix(in srgb, var(--nv-bg) 72%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: rgba(255,255,255,.06); }

/* ---------- typography: bigger, tighter display (v1) ---------- */
.section-title { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -0.035em; }
.home .hero h1 { font-size: clamp(54px, 7.4vw, 104px); line-height: .97; letter-spacing: -0.04em; }
.home .h1-kicker { display: inline-block; width: fit-content; padding: 5px 14px; border-radius: 999px; font-size: 14px; color: var(--lime);
  background: var(--nv-lime-soft); border: 1px solid var(--nv-lime-line); margin-bottom: 20px; }
.eyebrow { color: var(--lime); letter-spacing: .08em; }

/* ---------- glass cards everywhere (feature, platform, FAQ, landing and guide cards) ---------- */
.feat, .plat, .faq-item, .lp-card, .os-card, .apoie-card, .roadmap-item, .update-strip, .guide-callout, .guide-related, .lp-steps li, .cta-final-inner, .nv-plan {
  background: var(--nv-glass) !important; border: 1.5px solid var(--nv-line) !important; border-radius: var(--nv-r-lg) !important;
  transition: transform .45s var(--nv-ease), border-color .3s, background .3s, box-shadow .45s var(--nv-ease); }
.feat:hover, .plat:hover, .lp-card:hover, .os-card:hover, .nv-plan:hover { transform: translateY(-6px); border-color: var(--nv-line-2) !important; background: var(--nv-glass-2) !important; box-shadow: var(--nv-shadow); }
.faq-item[open] { border-color: var(--nv-lime-line) !important; }
.trust-strip { background: transparent; border-color: rgba(255,255,255,.06); }

/* ---------- home: hero ---------- */
.home .hero { position: relative; isolation: isolate; }
.nv-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(55% 70% at 74% 44%, rgba(200, 240, 90, .17), transparent 70%), radial-gradient(35% 45% at 8% 6%, rgba(111, 211, 245, .07), transparent 70%); }
.nv-hero-bg::after { content: ''; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--nv-bg)); }
.nv-waves { position: absolute; width: 1100px; height: 1100px; inset-inline-end: -14%; top: -12%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(200, 240, 90, .06) 58px 60px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); }
.nv-stars { position: absolute; inset: 0; background-image:
  radial-gradient(2px 2px at 64% 20%, rgba(200, 240, 90, .55), transparent), radial-gradient(1.5px 1.5px at 92% 34%, rgba(242,242,240,.45), transparent),
  radial-gradient(1px 1px at 52% 80%, rgba(242,242,240,.35), transparent), radial-gradient(1.5px 1.5px at 30% 10%, rgba(242,242,240,.3), transparent); }
/* the old flat SVG and the 3D canvas stay in the HTML (same aria-label); the new art sits on top */
.home .hero-stage { max-width: 600px; }
.home .hero-stage .fafa-poster, .home .hero-stage .fafa-canvas { opacity: 0; }
.nv-fafa { position: absolute; inset: 0; z-index: 1; }
.nv-fafa img, .nv-fafa video { position: absolute; inset: -14%; width: 128%; height: 128%; object-fit: contain; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); }
.nv-fafa video { opacity: 0; transition: opacity .6s; }
.nv-fafa.is-playing video { opacity: 1; }
.nv-fafa img { transition: opacity .6s; }
.nv-fafa.is-playing img { opacity: 0; }
.hero-chip { z-index: 3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* floating 3D objects (decorative) */
.nv-prop { position: absolute; z-index: 2; height: auto; pointer-events: none; will-change: transform; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.nv-prop--far { filter: blur(2.5px); opacity: .7; z-index: 0; }

/* ---------- live counters ---------- */
.nv-stats { padding: clamp(36px, 6vw, 72px) 0 0; }
.nv-stats-title { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 18px; }
.nv-stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nv-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 18px; border-radius: var(--nv-r-lg); background: var(--nv-glass); border: 1.5px solid var(--nv-line); text-align: center; position: relative; }
.nv-stat strong { font-family: var(--font-head); font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.nv-stat:first-child strong { color: var(--lime); }
.nv-stat span { color: var(--muted); font-size: 15px; }
.nv-stat small { display: block; font-size: 12px; color: var(--faint); }
.nv-live-dot { position: absolute; top: 18px; inset-inline-start: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,240,90,.6); }

/* ---------- tour video in a glass frame ---------- */
.tour-inner { position: relative; }
.tour-frame { position: relative; overflow: visible !important; padding: 14px; border-radius: var(--nv-r-xl) !important; background: var(--nv-glass) !important; border: 1.5px solid var(--nv-line-2) !important;
  box-shadow: 0 50px 140px -40px rgba(200, 240, 90, .22), var(--nv-shadow) !important; }
.tour-frame video { border-radius: 22px; }

/* ---------- app window as a screen recording ---------- */
.app-section-inner { position: relative; }
.nv-peek { position: relative; z-index: 3; width: clamp(130px, 16vw, 220px); height: auto; align-self: flex-end; margin: 0 12% -26px 0; pointer-events: none; }
.app-window.nv-rec { position: relative; border-radius: 28px; box-shadow: 0 0 0 14px var(--nv-glass), 0 0 0 15.5px var(--nv-line), 0 60px 160px -50px rgba(200, 240, 90, .25); }
.nv-rec-chip { position: absolute; top: 12px; inset-inline-end: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font: 700 11px/1 var(--font-body); letter-spacing: .08em; color: #fff; background: rgba(217, 58, 63, .85); }
.nv-rec-chip i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.nv-cursor { position: absolute; z-index: 6; width: 18px; height: 22px; top: 60%; left: 60%; opacity: 0; pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M1 1v17l4.5-4.2L8.8 21l3-1.3-3.3-7.1H15z' fill='%23fff' stroke='%230B0D10' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.nv-typing { display: inline-flex; gap: 4px; padding: 6px 0 0; }
.nv-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }

/* ---------- two crews: dark glass cards, each crew's Fafá on top (v1) ---------- */
.turma-card { position: relative; overflow: visible; color: var(--text) !important; background: var(--nv-glass) !important; border: 1.5px solid var(--nv-line) !important; border-radius: var(--nv-r-xl) !important; }
.turma-card h3, .turma-card a, .turma-card .turma-list { color: var(--text) !important; }
.turma-card--coral .turma-when { color: var(--coral) !important; }
.turma-card--ceu .turma-when { color: var(--ceu) !important; }
.turma-card h3 { max-width: 62%; }
.nv-turma-fafa { position: absolute; width: clamp(130px, 15vw, 210px); height: auto; inset-inline-end: 14px; top: -24px; pointer-events: none; }

/* privacy band: dark glass with the lime only in the details (v1) */
.privacidade-inner { position: relative; overflow: hidden; background: radial-gradient(60% 120% at 15% 50%, rgba(200, 240, 90, .14), transparent 70%), rgba(200, 240, 90, .05) !important;
  color: var(--text) !important; border: 1.5px solid var(--nv-lime-line); border-radius: var(--nv-r-xl) !important; }
.privacidade-inner h2 { color: var(--text) !important; }
.privacidade-inner li { color: var(--text) !important; position: relative; padding-inline-start: 26px; }
.privacidade-inner li::before { content: ''; position: absolute; inset-inline-start: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px var(--nv-lime-soft); }

/* ---------- plans and bots (new blocks) ---------- */
.nv-plans, .nv-bots { padding: clamp(56px, 8vw, 110px) 0; }
.nv-sub { max-width: 720px; font-size: 18px; margin-top: -10px; }
.nv-plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.nv-plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 128px 34px 34px; min-height: 420px; overflow: hidden; }
.nv-plan h3 { font-size: 30px; }
.nv-plan .btn { margin-top: auto; align-self: flex-start; }
.nv-plan-price { font-weight: 700; color: var(--text); }
.nv-plan--plus { border-color: var(--nv-lime-line) !important; background: linear-gradient(160deg, rgba(200, 240, 90, .10), var(--nv-glass) 55%) !important; }
.nv-plan--plus h3 { color: var(--lime); }
.nv-plan-img { position: absolute; width: auto; height: 104px; inset-inline-start: 30px; top: 18px; pointer-events: none; filter: drop-shadow(0 16px 20px rgba(0,0,0,.4)); }
.nv-bots-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--nv-r-xl); background: var(--nv-glass); border: 1.5px solid var(--nv-line); }
.nv-bots-copy p:not(.eyebrow) { font-size: 18px; margin-bottom: 24px; }
.nv-bots-art { position: relative; min-height: 280px; }
.nv-bots-laptop { position: absolute; width: 70%; height: auto; inset-inline-start: 4%; bottom: 0; }
.nv-bots-fafa { position: absolute; width: 50%; height: auto; inset-inline-end: 0; top: 0; }
.nv-bots-art img { }

/* final call with the friends */
.cta-final-inner { position: relative; overflow: hidden; background: radial-gradient(70% 120% at 80% 50%, rgba(200, 240, 90, .12), transparent 70%), var(--nv-glass) !important; }
.nv-friends { display: flex; align-items: flex-end; gap: 2px; margin-inline-start: auto; }
.nv-friends img { width: clamp(64px, 8vw, 120px); height: auto; }
.nv-friends img:nth-child(2) { width: clamp(76px, 9.5vw, 140px); }

/* ---------- inner pages: floating Fafá in every page header (pure decoration, no markup) ---------- */
.lp-hero { position: relative; isolation: isolate; }
.lp-hero::before { content: ''; position: absolute; inset: -40px 0 auto; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 82% 40%, rgba(200, 240, 90, .13), transparent 70%); }
.lp-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; width: clamp(120px, 18vw, 240px); aspect-ratio: 1; inset-inline-end: 0; top: 0;
  background: center/contain no-repeat url('/assets/img/3d/fafa-acenando.webp'); opacity: .9; }
@media (max-width: 900px) { .lp-hero::after { opacity: .25; } }

/* ---------- help chat ---------- */
.nv-chat-launch { position: fixed; z-index: 60; inset-inline-end: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px 6px 6px; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 var(--font-body); color: var(--on-lime); background: var(--lime); border: 0; box-shadow: 0 14px 40px -10px rgba(200, 240, 90, .55), 0 6px 18px rgba(0,0,0,.4); transition: transform .3s var(--nv-ease); }
.nv-chat-launch:hover { transform: translateY(-3px) scale(1.03); }
.nv-chat-launch img { width: 40px; height: 40px; border-radius: 50%; background: var(--nv-bg); object-fit: cover; }
.nv-chat { position: fixed; z-index: 61; inset-inline-end: 20px; bottom: 86px; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden; background: rgba(20, 22, 27, .96); border: 1.5px solid var(--nv-line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform-origin: bottom right; animation: nv-pop .35s var(--nv-ease); }
[dir=rtl] .nv-chat { transform-origin: bottom left; }
@keyframes nv-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.nv-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--nv-line); }
.nv-chat-head img { width: 34px; height: 34px; border-radius: 50%; }
.nv-chat-head strong { flex: 1; font-family: var(--font-head); font-size: 17px; }
.nv-chat-head button { background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.nv-chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.nv-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; color: var(--text); background: var(--nv-glass-2); animation: nv-pop .3s var(--nv-ease); }
.nv-msg a { display: inline-block; margin-top: 6px; font-weight: 600; }
.nv-msg--me { align-self: flex-end; background: var(--lime); color: var(--on-lime); }
.nv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--nv-lime-line); background: var(--nv-lime-soft); color: var(--lime); font: 600 13px/1.2 var(--font-body); cursor: pointer; }
.nv-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--nv-line); }
.nv-chat-form input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--nv-line-2); background: var(--nv-glass); color: var(--text); font: 14px var(--font-body); }
.nv-chat-form button { padding: 0 16px; border-radius: 12px; border: 0; background: var(--lime); color: var(--on-lime); font: 600 14px var(--font-body); cursor: pointer; }

/* scroll progress */
.nv-progress { position: fixed; z-index: 70; top: 0; inset-inline-start: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lime), var(--ceu)); pointer-events: none; }
[dir=rtl] .nv-progress { transform-origin: 100% 50%; }

/* ---------- motion (only with JS; landing.js adds .nv-js to <html>) ---------- */
.nv-js .nv-reveal { opacity: 0; transform: translateY(42px) scale(.98); transition: opacity .8s var(--nv-ease), transform .9s var(--nv-ease); transition-delay: var(--nv-delay, 0ms); }
.nv-js .nv-reveal.is-in { opacity: 1; transform: none; }
.nv-js .nv-tilt { transform: perspective(1400px) rotateX(12deg) translateY(70px) scale(.94); opacity: .4; transition: transform 1.1s var(--nv-ease), opacity 1s; }
.nv-js .nv-tilt.is-in { transform: none; opacity: 1; }
.nv-js .nv-prop { animation: nv-float var(--d, 7s) ease-in-out infinite alternate; }
@keyframes nv-float { from { translate: 0 -10px; rotate: -4deg; } to { translate: 0 12px; rotate: 4deg; } }
.nv-js .nv-live-dot { animation: nv-pulse 1.8s ease-out infinite; }
@keyframes nv-pulse { to { box-shadow: 0 0 0 12px rgba(200,240,90,0); } }
.nv-js .nv-waves { animation: nv-waves 9s linear infinite; }
@keyframes nv-waves { to { transform: scale(1.06); opacity: .6; } }
.nv-js .nv-rec-chip i { animation: nv-blink 1.2s steps(2) infinite; }
@keyframes nv-blink { 50% { opacity: 0; } }
.nv-js .nv-typing i { animation: nv-bounce 1s ease-in-out infinite; }
.nv-js .nv-typing i:nth-child(2) { animation-delay: .15s; } .nv-js .nv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes nv-bounce { 50% { transform: translateY(-4px); opacity: .5; } }
.nv-js .nv-friends img { opacity: 0; transform: translateY(40px) scale(.7); transition: opacity .5s, transform .7s cubic-bezier(.3, 1.6, .5, 1); }
.nv-js .nv-friends.is-in img { opacity: 1; transform: none; }
.nv-js .nv-friends.is-in img:nth-child(2) { transition-delay: .2s; } .nv-js .nv-friends.is-in img:nth-child(3) { transition-delay: .4s; }
.nv-js .win-msg.nv-hidden { display: none; }
.nv-js .win-msg.nv-show { animation: nv-pop .45s var(--nv-ease); }
.nv-js .win-channel--voice.nv-speaking { box-shadow: inset 3px 0 0 var(--lime); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nv-stats-list, .nv-plans-grid, .nv-bots-inner { grid-template-columns: 1fr; }
  .nv-bots-art { min-height: 220px; }
  .nv-prop--far { display: none; }
  .home .hero-stage .nv-prop { width: 20% !important; }
}
@media (max-width: 600px) {
  .home .hero-stage .nv-prop { display: none; }
  .nv-waves { width: 700px; height: 700px; inset-inline-end: -40%; }
  .nv-chat-launch span { display: none; } .nv-chat-launch { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-js .nv-reveal, .nv-js .nv-tilt, .nv-js .nv-friends img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nv-js .nv-prop, .nv-js .nv-waves, .nv-js .nv-live-dot, .nv-js .nv-rec-chip i, .nv-js .nv-typing i { animation: none !important; }
  .nv-chat, .nv-msg { animation: none; }
}

.nv-chat[hidden], .nv-stat[hidden], .nv-stats[hidden] { display: none !important; }
