/* Cores tiradas do app: a superfície lilás do Material 3 e as quatro cores de
   célula das pranchas (amarelo, verde, rosa, azul). */
:root {
  --bg: #FEF7FF;
  --surface: #FFFFFF;
  --alt: #F5EDF7;
  --text: #1D1B20;
  --muted: #4A4458;
  --line: #E6DDEA;
  --primary: #6750A4;
  --primary-hover: #56428F;
  --on-primary: #FFFFFF;
  --primary-soft: #EADDFF;
  --on-primary-soft: #21005D;
  --yellow: #FFF6B0;
  --green: #DDF7C4;
  --pink: #FBD5E6;
  --blue: #CFE2FC;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(29, 27, 32, .06), 0 8px 24px rgba(29, 27, 32, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ─── Barra do topo ─────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(254, 247, 255, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand-small { font-size: 1rem; }

.topbar nav { display: flex; gap: 22px; margin-left: auto; }
.topbar nav a { color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; }
.topbar nav a:hover { color: var(--text); }

@media (max-width: 720px) {
  .topbar nav { display: none; }
  .topbar .btn-small { margin-left: auto; }
}

/* ─── Botões ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--primary-soft); }
.btn-secondary:hover { border-color: var(--primary); }

.btn-small { min-height: 40px; padding: 0 18px; font-size: .95rem; background: var(--primary-soft); color: var(--on-primary-soft); }

/* ─── Tipografia ────────────────────────────────────────────────────────── */

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 18px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 8px; }
.h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--on-primary-soft);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.tag-yellow { background: var(--yellow); color: #4A3F00; }
.tag-green { background: var(--green); color: #1E4A00; }
.tag-pink { background: var(--pink); color: #5C1033; }
.tag-blue { background: var(--blue); color: #0B3A73; }

.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.section-lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 40px; max-width: 40em; }
.note { color: var(--muted); font-size: .95rem; margin: 16px 0 0; }
.center { text-align: center; }

/* ─── Seções ────────────────────────────────────────────────────────────── */

.hero { padding-block: 56px 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-figure { margin: 0; }
.hero-figure img { filter: drop-shadow(0 24px 40px rgba(60, 40, 90, .18)); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding-block: 80px; }
.section.alt { background: var(--alt); }

.split { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 64px; align-items: center; }
.split .section-lead { margin-bottom: 0; }

.phone {
  margin: 0;
  overflow: hidden;
  border: 10px solid var(--text);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231E4A00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 20px 20px 24px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.shot { aspect-ratio: 590 / 760; overflow: hidden; margin-bottom: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-bottom img { object-position: bottom; }

.modules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.modules li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-weight: 700; }
.modules .comp { color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.modules .free { color: #1E4A00; font-size: .85rem; font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan-pro { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.price { margin: 4px 0 0; font-size: 2rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: 1rem; font-weight: 600; }
.price-note { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel p { margin: 0 0 12px; color: var(--muted); }

.final { background: linear-gradient(135deg, var(--primary-soft) 0%, var(--pink) 55%, var(--blue) 100%); }
.final-inner { text-align: center; }
.final .section-lead { margin: 0 auto; }
.final .cta { justify-content: center; margin-top: 28px; }

.footer { padding-block: 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { color: var(--muted); }
.fine { width: 100%; margin: 0; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards3, .plans { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 800px) {
  .section { padding-block: 60px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .phone { order: 2; max-width: 280px; margin-inline: auto; }
  .two { grid-template-columns: 1fr; }
}

/* ─── Documentos (política de privacidade, 404) ─────────────────────────── */

.doc { max-width: 760px; margin: 0 auto; padding-block: 48px 80px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.5rem; margin-top: 48px; scroll-margin-top: 84px; }
.doc h3 { margin-top: 28px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.doc .table { overflow-x: auto; margin: 16px 0; }
.doc table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .95rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--alt); }
.doc code { background: var(--alt); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
