:root {
  --ink: #0e1726;
  --ink-soft: #46536a;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e2ded4;
  --accent: #1f4fff;
  --accent-ink: #ffffff;
  --accent-soft: #e6ecff;
  --night: #0b1220;
  --night-soft: #9aa6bd;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Cabeçalho */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink) !important;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(31, 79, 255, .28); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn.ghost:hover { box-shadow: none; background: var(--ink); color: var(--paper) !important; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 34em; }
.hero .cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.panel {
  background: var(--night); color: #dfe6f5; border-radius: 20px; padding: 26px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.75;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .55);
}
.panel .dots { display: flex; gap: 6px; margin-bottom: 18px; }
.panel .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3550; }
.panel .c { color: #6f7d99; }
.panel .k { color: #8fb0ff; }
.panel .s { color: #9be3c0; }

/* Seções */
section { padding: 76px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 40em; margin-bottom: 44px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.head p { margin-top: 14px; color: var(--ink-soft); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
section.alt .card { background: var(--paper); }
.card .n { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.card h3 { font-size: 20px; margin: 10px 0 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan.top-plan { background: var(--night); color: #fff; border-color: var(--night); }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan .price { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 36px; letter-spacing: -0.02em; margin-top: 12px; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.plan.top-plan .price small, .plan.top-plan .for { color: var(--night-soft); }
.plan .for { color: var(--ink-soft); font-size: 15.5px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15.5px; flex: 1; align-content: start; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan.top-plan li::before { color: #8fb0ff; }
.plan .btn { text-align: center; }
.note { margin-top: 22px; font-size: 14.5px; color: var(--ink-soft); max-width: 52em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--ink-soft); font-size: 15.5px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--accent); }
.steps h3 { font-size: 19px; margin: 8px 0 6px; }
.steps p { color: var(--ink-soft); font-size: 15.5px; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); margin: 0; }
.facts div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.facts dd { margin: 4px 0 0; font-weight: 600; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--ink-soft); max-width: 46em; }

.contact { background: var(--night); color: #fff; }
.contact .head p { color: var(--night-soft); }
.contact .box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact .box div { border: 1px solid #222d45; border-radius: var(--radius); padding: 24px; }
.contact .box small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--night-soft); margin-bottom: 8px; }
.contact .box a { color: #fff; font-weight: 600; word-break: break-word; }
.contact address { font-style: normal; }

/* Rodapé */
footer { background: var(--night); color: var(--night-soft); border-top: 1px solid #222d45; padding: 36px 0 44px; font-size: 14.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer strong { color: #fff; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: #dfe6f5; }

/* Páginas legais */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 8px; }
.legal .upd { color: var(--ink-soft); font-size: 15px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2b3648; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--accent); }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid, .contact .box, .plans { grid-template-columns: 1fr; }
  .plans { gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .steps, .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { border-right: 0; }
  .panel { font-size: 12px; padding: 20px; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
