/* Ludus & Lore — página inicial (landing page). Sem dependências: fontes e imagens locais. */

@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --surface-soft: #faf9fd;
  --border: #e6e4ef;
  --border-strong: #d4d1e2;
  --text: #17161f;
  --text-2: #5d5a73;
  --text-3: #6f6c85;
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-ink: #6d28d9;
  --night: #1b1337;
  --night-2: #24184d;
  --on-night: #ffffff;
  --on-night-2: #d6cff5;
  --on-night-3: #b8aee6;
  --shadow-card: 0 24px 60px rgba(42, 27, 99, .12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
/* O atributo hidden sempre vence o display dos componentes (blocos de visitante/logado) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.5; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
a { color: var(--primary-ink); }
a:hover { color: #5b21b6; }
:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-light { background: #fff; color: #2a1b63; }
.btn-light:hover { background: #f1eafe; color: #2a1b63; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Menu fixo */
:root { --bar-h: 90px; }
.site-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--on-night); background: transparent; transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.site-bar .topbar { transition: padding .25s ease; }
.site-bar.is-scrolled { background: rgba(27, 19, 55, .88); -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px rgba(8, 4, 30, .35); }
.site-bar.is-scrolled .topbar { padding-top: 12px; padding-bottom: 12px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-bar.is-scrolled { background: var(--night); } }

/* Voltar ao topo */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--brand, #7c3aed); box-shadow: 0 10px 24px rgba(76, 29, 149, .35); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .2s ease; }
.to-top:hover { color: #fff; background: #6d28d9; }
.to-top:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .site-bar, .site-bar .topbar, .to-top { transition: none; } }

/* Topo */
.hero { padding-top: var(--bar-h);  background: radial-gradient(1200px 600px at 85% 20%, #4a2a9a 0%, rgba(74, 42, 154, 0) 60%), linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); color: var(--on-night); overflow: hidden; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: #e4defa; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.top-actions { display: flex; gap: 10px; align-items: center; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero-copy { display: grid; gap: 26px; position: relative; z-index: 1; }
.eyebrow-pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 500; color: #e9e3ff; }
.hero h1 { font-size: 64px; line-height: 1.02; font-weight: 800; }
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--on-night-2); max-width: 520px; }
.hero-note { font-size: 14px; color: var(--on-night-3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; z-index: 1; padding-bottom: 40px; }
.hero-wheel { position: absolute; width: 620px; height: 620px; right: -260px; top: -120px; border-radius: 50%; background: conic-gradient(#7c3aed 0 60deg, #db2777 60deg 120deg, #f59e0b 120deg 180deg, #0d9488 180deg 240deg, #2563eb 240deg 300deg, #ea580c 300deg 360deg); opacity: .22; filter: blur(2px); }
.browser { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(8, 4, 30, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { height: 34px; background: #ece9f5; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-bar i:nth-child(1) { background: #f87171; } .browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-url { margin-left: 14px; flex: 1; max-width: 320px; height: 20px; border-radius: 6px; background: #fff; font-size: 11px; color: #6f6c85; display: flex; align-items: center; padding: 0 10px; }
.browser img, .shot img { display: block; width: 100%; height: auto; }
.hero-phone { margin: 0; position: absolute; width: 168px; right: -18px; bottom: -6px; border-radius: 26px; padding: 7px; background: #0f0b20; box-shadow: 0 30px 60px rgba(8, 4, 30, .6); }
.hero-phone img { display: block; width: 100%; height: auto; border-radius: 20px; }

/* Faixa de tipos */
.kinds { background: #fff; border-bottom: 1px solid var(--border); }
.kinds-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; padding-top: 26px; padding-bottom: 26px; font-weight: 600; color: var(--text-2); font-size: 15px; list-style: none; margin: 0; }
.kinds-row li { display: inline-flex; align-items: center; gap: 8px; }
.kinds-row svg { width: 20px; height: 20px; }

/* Seções */
.section { padding: 104px 0; }
.section-white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: grid; gap: 14px; text-align: center; justify-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; }
.section-title { font-size: 44px; line-height: 1.1; font-weight: 800; max-width: 760px; }
.section-lede { font-size: 18px; color: var(--text-2); max-width: 620px; line-height: 1.55; }
.stack-xl { display: grid; gap: 52px; }
.stack-2xl { display: grid; gap: 96px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.step-n { width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.step h3 { font-size: 19px; }
.step p { color: var(--text-2); line-height: 1.55; }

.shot { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(42, 27, 99, .14); background: #fff; }
.shot-sm { border-radius: 18px; box-shadow: var(--shadow-card); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 64px; align-items: center; }
.feature.rev { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.feature.rev .feature-text { order: 2; }
.feature-text { display: grid; gap: 16px; }
.tag { justify-self: start; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag-purple { background: #f1eafe; color: #6d28d9; }
.tag-pink { background: #fce7f3; color: #be185d; }
.tag-teal { background: #ccfbf1; color: #0f766e; }
.tag-amber { background: #fef3c7; color: #92400e; }
.feature h3 { font-size: 32px; line-height: 1.15; font-weight: 800; }
.feature-text > p { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 500; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 2px; }

.turmas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.turma { background: var(--surface, #fff); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.turma h3 { font-size: 20px; }
.turma p { color: var(--text-2); line-height: 1.55; margin: 0; }
.turma-kind { justify-self: start; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.more-title { font-size: 24px; font-weight: 800; text-align: center; }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.more li { border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--surface-soft); }
.more strong { font-size: 16px; }
.more span { color: var(--text-2); font-size: 15px; line-height: 1.5; }

.section-telas { background: linear-gradient(180deg, var(--bg) 0%, #efeaff 100%); }
.shot-dark { background: #12101c; box-shadow: 0 30px 70px rgba(42, 27, 99, .22); border: 0; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; list-style: none; margin: 0; padding: 0; }
.phones figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.phone { border-radius: 30px; padding: 8px; background: #17122e; box-shadow: 0 24px 50px rgba(42, 27, 99, .25); width: 100%; max-width: 250px; }
.phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
.phones figcaption { font-weight: 600; color: var(--text-2); }

.faq-section { padding: 96px 0; background: #fff; border-top: 1px solid var(--border); }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.faq-item h3 { font-size: 18px; }
.faq-item p { color: var(--text-2); line-height: 1.6; }

.cta-band-wrap { padding: 0 0 96px; background: #fff; }
.cta-band { border-radius: 28px; padding: 64px 48px; background: radial-gradient(700px 300px at 90% 0%, #6d3fd6 0%, rgba(109, 63, 214, 0) 70%), linear-gradient(135deg, #2a1b63 0%, var(--night) 100%); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band > div:first-child { display: grid; gap: 12px; max-width: 620px; }
.cta-band h2 { font-size: 40px; line-height: 1.1; font-weight: 800; }
.cta-band p { font-size: 18px; color: var(--on-night-2); line-height: 1.55; }

/* Contato */
.section-contact { border-top: 1px solid var(--border); }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.contact-copy { display: grid; gap: 18px; }
.contact-copy .section-title { font-size: 40px; }
.contact-copy > p { font-size: 17px; color: var(--text-2); line-height: 1.6; }
.contact-list { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.contact-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.form { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 20px 50px rgba(42, 27, 99, .08); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { font: 400 15px var(--font); color: var(--text); background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; padding: 12px 14px; min-height: 46px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .2); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--text-3); }
.form-status { font-size: 15px; font-weight: 500; padding: 12px 14px; border-radius: 10px; }
.form-status.ok { background: #e6f6ec; color: #15803d; }
.form-status.error { background: #fdecec; color: #b91c1c; }
.form-sent { display: grid; gap: 10px; justify-items: start; padding: 12px 0; }
.form-sent h3 { font-size: 24px; }
.form-sent p { color: var(--text-2); }

/* Rodapé */
.footer { background: #fff; border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; padding-bottom: 30px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--primary-ink); }
.footer-copy { color: var(--text-3); }

/* Celular e tablet */
@media (max-width: 960px) {
  .hero-grid, .feature, .feature.rev, .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.rev .feature-text { order: 0; }
  .steps, .more, .turmas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .hero-grid { padding-top: 32px; padding-bottom: 72px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .steps, .more, .faq, .form-row, .turmas { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 42px; }
  .hero-lede { font-size: 18px; }
  .section-title, .contact-copy .section-title, .cta-band h2 { font-size: 32px; }
  .feature h3 { font-size: 26px; }
  .topbar { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  :root { --bar-h: 74px; }
  .site-bar.is-scrolled .topbar { padding-top: 10px; padding-bottom: 10px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .top-actions { gap: 8px; }
  .top-actions .btn { min-height: 42px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
  .hero-phone { display: none; }
  .hero-wheel { width: 420px; height: 420px; right: -220px; top: -60px; }
  .cta-band { padding: 40px 24px; border-radius: 22px; }
  .form { padding: 22px; }
  .section { padding: 64px 0; }
  .stack-2xl { gap: 64px; }
}
@media (max-width: 420px) {
  /* telas bem estreitas: só o símbolo, para caber "Entrar" e "Criar conta" */
  .topbar .brand-word { display: none; }
}


/* Páginas de privacidade e termos */
.legal-top { background: var(--night, #1b1337); }
.legal-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.legal-back { color: #e4defa; font-weight: 600; text-decoration: none; font-size: 15px; }
.legal-back:hover { color: #fff; }
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-family: var(--display); font-size: 40px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 6px; }
.legal h2 { font-family: var(--display); font-size: 21px; margin: 34px 0 8px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }
.legal a { color: #6d28d9; }
.legal-updated { font-size: 14px !important; color: var(--text-3) !important; margin: 0 0 22px; }
@media (max-width: 600px) { .legal { padding-top: 32px; } .legal h1 { font-size: 30px; } .legal-back { font-size: 14px; } }
.section-turmas { padding-bottom: 0; }
