/* Neurolia — site institucional. Marca: índigo #161433, violeta #6D4AFF →
   coral #FF7A59, off-white #F7F4EE; Sora (títulos) + Inter (texto), servidas daqui.
   Os mesmos tokens estão no sistema (src/styles/_tokens.scss). */

@font-face { font-family: Sora; src: url(/assets/fonts/Sora-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sora; src: url(/assets/fonts/Sora-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Sora; src: url(/assets/fonts/Sora-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/Inter-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #161433;
  --ink-2: #1F1C47;
  --ink-3: #2A2660;
  --violet: #6D4AFF;
  --violet-2: #8F75FF;
  --violet-soft: #ECE7FF;
  --coral: #FF7A59;
  --sun: #FFC94D;
  --mint: #2FC6A5;
  --paper: #F7F4EE;
  --paper-2: #EFEAE0;
  --muted: #5E5B78;
  --line: #E4DDD0;
  --white: #FFFFFF;
  --grad: linear-gradient(100deg, var(--violet-2), var(--coral));
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(22, 20, 51, .35);
  --max: 1180px;
  --header: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: Sora, Inter, sans-serif; margin: 0; letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; }
p { margin: 0; }
svg { flex: none; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.overline {
  font-family: Sora, sans-serif; font-weight: 600; font-size: .78rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px;
}
.section--dark .overline, .hero .overline { color: var(--sun); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 Inter, sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: var(--white); box-shadow: 0 14px 30px -12px rgba(109, 74, 255, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(109, 74, 255, .8); }
.btn--ghost { color: var(--white); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-solid { background: rgba(22, 20, 51, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 700 1.3rem/1 Sora, sans-serif; letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--white); }
.nav__login { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__actions .btn { padding: 11px 18px; font-size: .9rem; }

.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease); }
.menu span + span { margin-top: 8px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: radial-gradient(1000px 600px at 75% 40%, #3A2A8F 0%, var(--ink) 60%); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 24px; min-height: min(100svh, 860px); padding-block: calc(var(--header) + 40px) 60px; }
.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__note { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.6); }
.hero__note svg { width: 18px; height: 18px; color: var(--mint); }
.hero__art { position: relative; }
.hero__art img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 70%, transparent 100%);
  animation: float 9s ease-in-out infinite alternate;
}
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--white);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.5);
}
.hero__chip b { display: block; font: 700 1.15rem/1.1 Sora, sans-serif; }
.hero__chip small { color: rgba(255,255,255,.7); font-weight: 500; }
.hero__chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; }
.hero__chip--a { left: 0; bottom: 14%; }
.hero__chip--a i { background: var(--mint); }
.hero__chip--b { right: 4%; top: 6%; }
.hero__chip--b i { background: var(--coral); }
.hero__chip svg { width: 18px; height: 18px; color: var(--ink); }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* Faixa */
.strip { background: var(--ink-2); color: var(--white); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 26px; }
.strip p { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .96rem; }
.strip svg { width: 26px; height: 26px; color: var(--sun); }

/* Seções */
.section { padding-block: clamp(80px, 10vw, 130px); }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { max-width: 740px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section__head h2 { margin-bottom: 18px; text-wrap: balance; }
.section__head p:not(.overline) { color: var(--muted); font-size: 1.1rem; }
.section--dark .section__head p:not(.overline) { color: rgba(255,255,255,.72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2, .trust h2 { margin-bottom: 18px; text-wrap: balance; }
.split__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.section--dark .split__lead { color: rgba(255,255,255,.72); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 26px; height: 26px; border-radius: 9px; margin-top: 1px;
  background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D4AFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.section--dark .checks li::before { background-color: rgba(47, 198, 165, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FC6A5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks strong { display: block; font-family: Sora, sans-serif; font-weight: 600; margin-bottom: 2px; }
.checks span { color: var(--muted); font-size: .98rem; }
.section--dark .checks span { color: rgba(255,255,255,.68); }

/* Público */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.audience div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.audience b { display: block; font-family: Sora, sans-serif; margin-bottom: 4px; }
.audience span { color: var(--muted); font-size: .9rem; line-height: 1.5; display: block; }

/* Jogos */
.games__banner { border-radius: 28px; overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow); }
.games__banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.game {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.game:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: var(--white); }
.game__icon svg { width: 24px; height: 24px; }
.game h3 { margin-bottom: 8px; }
.game p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.game__tag { display: inline-block; margin-top: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--violet); background: var(--violet-soft); padding: 5px 10px; border-radius: 999px; }
.game--cta { background: var(--ink); color: var(--white); border-color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.game--cta p { color: rgba(255,255,255,.72); }
.bg-violet { background: var(--violet); } .bg-coral { background: var(--coral); } .bg-sun { background: #F2A900; }
.bg-mint { background: var(--mint); } .bg-ink { background: var(--ink-3); } .bg-pink { background: #E2558B; } .bg-sky { background: #3D8BFF; }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 800 2.4rem/1 Sora, sans-serif; margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }

/* Privacidade */
.trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.trust__media img { width: 100%; max-width: 440px; margin-inline: auto; border-radius: 32px; }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.trust__item { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 20px; }
.trust__item svg { width: 24px; height: 24px; color: var(--mint); margin-bottom: 12px; }
.trust__item b { display: block; font-family: Sora, sans-serif; margin-bottom: 4px; }
.trust__item span { color: rgba(255,255,255,.66); font-size: .93rem; line-height: 1.5; display: block; }

/* FAQ */
/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1020px; margin: 0 auto; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price h3 { margin: 0; font: 700 1.3rem Sora, sans-serif; }
.price__for { margin: 0; color: var(--muted); }
.price__value { margin: 14px 0 0; }
.price__value b { font: 800 2.6rem/1 Sora, sans-serif; }
.price__value span { color: var(--muted); }
.price__seats { margin: 0 0 22px; font-weight: 600; color: var(--violet); }
.price .btn { margin-top: auto; justify-content: center; }
.price--featured { border: 2px solid var(--violet); box-shadow: var(--shadow); }
.price__tag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: var(--white); font-size: .78rem; font-weight: 700; }
.pricing__all { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 900px; margin: 36px auto 0; padding: 0; color: var(--muted); font-size: .98rem; }
.pricing__all li { display: flex; align-items: center; gap: 8px; }
.pricing__all li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
@media (max-width: 900px) {
  .pricing { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
}

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 18px; font: 600 1.05rem/1.4 Sora, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--violet); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(48px, 7vw, 84px) clamp(24px, 6vw, 72px); background: var(--grad); color: var(--white); text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.12); z-index: -1; }
.cta h2 { margin-bottom: 16px; text-wrap: balance; }
.cta p { font-size: 1.1rem; opacity: .92; max-width: 620px; margin: 0 auto 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.directory { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 26px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.directory b { font-family: Sora, sans-serif; font-size: 1.15rem; display: block; margin-bottom: 4px; }
.directory span { color: var(--muted); }

/* Rodapé */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 64px 36px; font-size: .94rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin-top: 16px; max-width: 360px; }
.footer__col h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.footer__col a { display: block; text-decoration: none; padding: 4px 0; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Páginas legais */
.doc-hero { background: var(--ink); color: var(--white); padding-block: calc(var(--header) + 56px) 56px; }
.doc-hero p { color: rgba(255,255,255,.65); margin-top: 12px; }
.doc { max-width: 780px; margin-inline: auto; padding-block: 56px 96px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.doc p, .doc li { color: #3D3A5C; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.doc a { color: var(--violet); }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .games { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .menu { display: block; margin-left: auto; }
  .header__actions { display: none; }
  .nav {
    position: fixed; inset: var(--header) 0 auto; flex-direction: column; gap: 0; padding: 12px 20px 24px;
    background: rgba(22, 20, 51, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav .nav__login { display: block; color: var(--sun); border-bottom: 0; }
  .header:has(.nav.is-open) { background: rgba(22, 20, 51, .97); }
  .hero__inner { grid-template-columns: 1fr; padding-block: calc(var(--header) + 36px) 48px; min-height: 0; }
  .hero__chip { display: none; }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .split, .trust { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .audience { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .directory { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .games, .steps, .trust__grid { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; gap: 14px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .games__banner img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
