:root {
  --brand: #ff7a00;
  --brand-dark: #d96400;
  --brand-soft: #ffe8d1;
  --accent: #2a9d8f;
  --ink: #23303b;
  --muted: #5b6875;
  --surface: #fffaf4;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(35, 48, 59, 0.12);
  --font-display: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface); line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.eyebrow { display: inline-block; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 0.6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.85em 1.4em; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(255, 122, 0, 0.35); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; border-color: rgba(35, 48, 59, 0.12); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 244, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(35, 48, 59, 0.06); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; padding: 0.55em 1.1em; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero-points { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 8px; color: var(--muted); font-weight: 600; }
.hero-points li::before { content: '✓'; color: var(--accent); font-weight: 900; margin-right: 8px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* Mockup */
.mockup { position: relative; display: flex; justify-content: center; }
.blob { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffd3a6, #ffe8d1 60%, transparent 70%); top: 20px; z-index: 0; }
.phone { position: relative; z-index: 1; width: 290px; border-radius: 40px; background: #1f2a33; padding: 12px; box-shadow: var(--shadow); }
.screen { background: var(--surface); border-radius: 30px; overflow: hidden; min-height: 540px; padding: 14px; font-size: 0.82rem; }
.screen-top { display: flex; justify-content: space-between; font-weight: 800; font-family: var(--font-display); margin-bottom: 10px; }
.pcard { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.pcard-head { background: var(--brand); color: #fff; padding: 10px 12px 34px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.16em; }
.pcard-id { display: flex; gap: 10px; align-items: flex-end; padding: 0 12px; margin-top: -26px; }
.pcard-photo { width: 58px; height: 58px; border-radius: 14px; background: var(--brand-soft); border: 3px solid #fff; display: grid; place-items: center; }
.pcard-name { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; }
.pcard-sub { color: var(--muted); font-size: 0.72rem; }
.pcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 12px; font-size: 0.7rem; }
.pcard-grid b { display: block; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.pcard-vac { border-top: 1px dashed #e5e7eb; padding: 8px 12px 10px; font-size: 0.7rem; }
.pcard-vac div { display: flex; justify-content: space-between; padding: 3px 0; }
.care { margin-top: 10px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.care-item { border-radius: 12px; padding: 7px 9px; margin-top: 6px; font-size: 0.72rem; }
.care-item.late { background: #fef2f2; color: #991b1b; }
.care-item.today { background: #fffbeb; color: #92400e; }
.care-item.soon { background: #f3f4f6; }
.tabbar { display: flex; justify-content: space-around; margin-top: 12px; padding-top: 8px; border-top: 1px solid #eee; font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.tabbar span:first-child { color: var(--brand-dark); }

/* Cards de benefício e funcionalidades */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.tile { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 10px rgba(35, 48, 59, 0.06); border: 1px solid rgba(35, 48, 59, 0.05); }
.section-alt .tile { background: var(--surface); }
.tile-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 14px; }
.tile p { color: var(--muted); margin: 0; }
.feature { display: flex; gap: 16px; }
.feature .tile-icon { flex: none; margin: 0; }

/* Como funciona */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 26px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: -14px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; display: grid; place-items: center; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; margin-top: 36px; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border-radius: 28px; padding: 30px; border: 2px solid rgba(35, 48, 59, 0.08); }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.plan ul { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; gap: 8px; }
.plan li::before { content: '✓'; color: var(--accent); font-weight: 900; margin-right: 8px; }
.price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; }
.price small { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.fine { font-size: 0.85rem; color: var(--muted); }

/* Aviso */
.notice { background: #eef8f7; border: 1px solid #cdeae6; border-radius: 18px; padding: 18px 22px; color: #1f5c55; max-width: 760px; margin: 28px auto 0; }

/* FAQ */
.faq { max-width: 780px; margin: 36px auto 0; }
.faq details { background: #fff; border-radius: 18px; padding: 18px 22px; margin-bottom: 12px; border: 1px solid rgba(35, 48, 59, 0.06); }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA final */
.cta { background: var(--ink); color: #fff; border-radius: 32px; padding: 48px 32px; text-align: center; }
.cta .lead { color: #cfd8e0; margin-inline: auto; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* Rodapé simples (o rodapé institucional é injetado no build) */
.site-foot { padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
.site-foot .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-foot nav { display: flex; gap: 18px; }

/* Páginas legais */
.legal { max-width: 820px; padding: 48px 0 72px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { color: var(--muted); }
