/* ════════════════════════════════════════════════════════════
   CONSTÂNCIA — LANDING PAGE
   Estilo isolado da landing comercial (não afeta o app.html).
   Tema escuro + dourado. Layout em blocos grandes alternados.
   ════════════════════════════════════════════════════════════ */

:root {
  --bg: #080b12;
  --surface: #0f1219;
  --surface2: #161d2b;
  --border: #1e2738;
  --line-art: #3d4763;
  --accent: #f5c400;
  --accent-2: #ffd700;
  --text: #e8eaf0;
  --muted: #8a93ab;
  --radius: 14px;
  --maxw: 1140px;
  --shadow: 0 24px 70px rgba(0,0,0,.5);
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; line-height: 1; padding: 12px 20px;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ── Ilustrações monoline (SVG) ── */
.art { width: 100%; height: auto; }
.art .ln  { fill: none; stroke: var(--line-art); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art .ln-acc { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art .ln-fill { fill: var(--accent); stroke: none; }
.art .dash { stroke-dasharray: 3 7; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,11,18,.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(8,11,18,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.brand-logo { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Hero ── */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(245,196,0,.16), transparent 60%); filter: blur(30px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; font-weight: 900; letter-spacing: -2px; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--muted); }
.hero-visual { display: flex; justify-content: center; }
.art-hero { max-width: 520px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }

/* ── Trust ── */
.trust { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust p { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.trust-row span { color: var(--text); font-weight: 700; opacity: .5; font-size: 16px; letter-spacing: .5px; }

/* ── Título forte (how it works) ── */
.bigwrap { padding: 96px 0 8px; text-align: center; }
.bigtitle { font-size: clamp(30px, 5vw, 52px); font-weight: 900; letter-spacing: -1.6px; line-height: 1.08; margin: 14px 0 16px; }
.bigsub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }

/* ── Blocos de recurso alternados ── */
.blocks { padding: 40px 0 70px; }
.fblock {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: linear-gradient(180deg, var(--surface), #0b0e16);
  border: 1px solid var(--border); border-radius: 24px; padding: 48px 52px; margin-bottom: 22px;
}
.fblock.reverse .fblock-media { order: -1; }
.fblock h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.8px; margin: 12px 0 12px; }
.fblock-text > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; max-width: 440px; }
.pills { display: flex; flex-direction: column; gap: 10px; }
.pill {
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  font-size: 14px; font-weight: 600; background: rgba(255,255,255,.02);
  transition: border-color .2s, transform .2s;
}
.pill:hover { border-color: rgba(245,196,0,.5); transform: translateX(4px); }
.fblock-media { display: flex; justify-content: center; }
.fblock-media .art { max-width: 420px; }

/* ── Comece em minutos ── */
.starts { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin: 12px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.start-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; transition: border-color .2s, transform .2s; }
.start-card:hover { border-color: rgba(245,196,0,.4); transform: translateY(-4px); }
.start-num { font-size: 26px; font-weight: 900; color: var(--accent); letter-spacing: 1px; }
.start-card h3 { font-size: 20px; font-weight: 700; margin: 14px 0 8px; }
.start-card p { color: var(--muted); font-size: 15px; }

/* ── Seções genéricas / Preços ── */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(245,196,0,.1); transform: translateY(-8px); }
.plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #0a0a0a; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: 14px; min-height: 42px; margin-bottom: 18px; }
.plan ul { margin-bottom: 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { position: relative; padding-left: 26px; font-size: 14px; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ── CTA final ── */
.cta-final { padding: 40px 0 100px; }
.cta-box { text-align: center; background: linear-gradient(135deg, rgba(245,196,0,.12), rgba(245,196,0,.03)); border: 1px solid rgba(245,196,0,.3); border-radius: 24px; padding: 64px 32px; }
.cta-box h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.cta-box p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

/* ── Footer ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2.6fr; gap: 48px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col > a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col > a:hover { color: var(--accent); }
.footer-news p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.news-form { display: flex; flex-direction: column; gap: 8px; }
.news-form input { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 13px; }
.news-form input:focus { outline: none; border-color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVO
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .fblock { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .fblock.reverse .fblock-media { order: 0; }
  .fblock-media { order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 24px 24px;
    transform: translateY(-130%); transition: transform .3s ease; z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a:not(.btn) { padding: 10px 0; }
  .nav-links .btn { width: 100%; margin-top: 4px; }
  .hero { padding: 120px 0 70px; }
  .start-grid, .plans { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .footer-cols { grid-template-columns: 1fr; }
}
