/* MARYMTEC, folha única, sem framework. Mantém a paleta escura do site anterior. */
:root {
  --bg: #080c14;
  --bg-2: #0d1320;
  --card: #0f172a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --dim: #64748b;
  --cyan: #22d3ee;
  --cyan-2: #06b6d4;
  --blue: #2563eb;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 16px;
  --max: 1160px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: rgba(6, 182, 212, 0.3); }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 88px 0; }
.alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 12px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; border: 1px solid transparent; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(90deg, var(--cyan-2), var(--blue)); color: #fff; box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-2); }
.btn-ghost .icon { color: var(--green); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 999px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(8, 12, 20, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; font-size: 26px; cursor: pointer; }
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--card); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 12px; font-size: 15px; }
}

/* Hero */
.hero { position: relative; padding: 148px 0 72px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; left: 50%; top: 40px; transform: translateX(-60%); background: radial-gradient(circle, rgba(6, 182, 212, 0.16), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: #a5f3fc; margin-bottom: 26px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.hero h1 { font-size: clamp(38px, 7vw, 72px); font-weight: 800; max-width: 900px; margin: 0 auto; }
.hero h1 span { background: linear-gradient(90deg, #67e8f9, #60a5fa 55%, #6ee7b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 680px; margin: 24px auto 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.answer { max-width: 820px; margin: 56px auto 0; text-align: left; background: rgba(15, 23, 42, 0.7); border: 1px solid var(--line-2); border-left: 4px solid var(--cyan); border-radius: var(--radius); padding: 22px 26px; }
.answer strong { display: block; font-family: var(--head); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.answer p { margin: 0; color: #cbd5e1; }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 820px; margin: 28px auto 0; }
.proof div { font-size: 13px; color: var(--dim); }
.proof b { display: block; color: #fff; font-size: 15px; }
@media (max-width: 640px) { .proof { grid-template-columns: 1fr; } }

/* Grades e cartões */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: rgba(15, 23, 42, 0.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .3s, transform .3s; }
.card:hover { border-color: rgba(34, 211, 238, 0.35); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(6, 182, 212, 0.12); color: var(--cyan); font-size: 22px; margin-bottom: 16px; }
.card .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--cyan); background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.25); padding: 3px 10px; border-radius: 6px; }

/* Tabela comparativa */
.compare { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; background: rgba(15, 23, 42, 0.5); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--head); font-size: 14px; color: #fff; background: rgba(255, 255, 255, 0.04); }
.compare td:first-child { font-weight: 600; color: #e2e8f0; width: 24%; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:nth-child(3) { color: #a7f3d0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare tr { display: block; border-bottom: 1px solid var(--line-2); padding: 8px 0; }
  .compare td { display: block; border: 0; padding: 6px 16px; width: auto !important; }
  .compare td[data-l]::before { content: attr(data-l) " "; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }
}

/* Calculadora */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-box { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; }
.calc-box label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: #e2e8f0; }
.calc-box input, .calc-box select { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.calc-out { border-top: 1px solid var(--line); padding-top: 18px; }
.calc-out p { color: var(--muted); margin: 0 0 8px; font-size: 15px; }
.calc-out .big { font-family: var(--head); font-size: 34px; font-weight: 800; color: var(--green); line-height: 1.1; }
.note { font-size: 13px; color: var(--dim); }
.math li { margin-bottom: 10px; color: #cbd5e1; }

/* Passos */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 0; }
.steps li .card::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-2), var(--blue)); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* Planos */
.tabs { display: inline-flex; gap: 4px; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.tabs button { font: 700 14px var(--body); color: var(--muted); background: none; border: 0; padding: 11px 18px; border-radius: 10px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--cyan-2); color: #fff; }
.tabs-wrap { text-align: center; margin-bottom: 36px; }
.plan { display: flex; flex-direction: column; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.plan.featured { border: 2px solid rgba(34, 211, 238, 0.55); background: linear-gradient(180deg, var(--card), rgba(8, 51, 68, 0.45)); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: linear-gradient(90deg, var(--cyan-2), var(--blue)); color: #fff; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan .kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }
.plan h3 { font-size: 22px; margin: 10px 0 6px; }
.plan .desc { color: var(--muted); font-size: 14px; }
.price { padding: 16px 0; margin: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); font-weight: 600; }
.price .setup { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.price .month { font-family: var(--head); font-size: 34px; font-weight: 800; color: var(--cyan); }
.price .month span { font-size: 14px; color: var(--dim); font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #cbd5e1; margin-bottom: 10px; }
.checks .icon { color: var(--cyan); margin-top: 3px; }
.plan .btn { width: 100%; }

/* FAQ */
.faq details { background: rgba(15, 23, 42, 0.5); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--cyan); }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font: inherit; display: inline; }
.faq .a { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq .a p:last-child { margin: 0; }

/* Faixa final */
.cta-band { text-align: center; background: radial-gradient(circle at 50% 0, rgba(6, 182, 212, 0.18), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; display: flex; gap: 8px; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--dim); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: linear-gradient(135deg, #10b981, #16a34a); color: #fff; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35); }
.wa-float .icon { width: 28px; height: 28px; }
@media (max-width: 1080px) { .wa-float { display: grid; } }

/* Artigo (guias) */
.article { padding-top: 130px; }
.article .crumbs { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.article .crumbs a { color: var(--muted); text-decoration: none; }
.article h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.article .meta { color: var(--dim); font-size: 14px; margin: 16px 0 32px; }
.article h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 52px 0 16px; }
.article h3 { font-size: 19px; margin: 28px 0 10px; }
.article p, .article li { color: #cbd5e1; font-size: 17px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article figure { margin: 32px 0; }
.article figure img { border-radius: var(--radius); }
.article figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 28px 0; }
.toc p { font-weight: 700; color: #fff; margin-bottom: 8px; }
.toc ol { margin: 0; }
.toc li { font-size: 15px; margin-bottom: 4px; }
.formula { font-family: ui-monospace, Menlo, monospace; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 18px; color: #a5f3fc; overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
.checks li.addon { color: var(--amber); }
.checks li.addon .icon { color: var(--amber); }
.plan-note { grid-column: 1 / -1; text-align: center; margin: 8px 0 0; }

/* Calculadora no hero */
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; text-align: left; }
.hero-grid h1 { font-size: clamp(36px, 5.4vw, 64px); margin: 0; }
.hero-grid .lead { margin: 22px 0 0; }
.hero-grid .ctas { justify-content: flex-start; }
.hero-calc { position: relative; box-shadow: 0 20px 60px rgba(6, 182, 212, 0.18); border-color: rgba(34, 211, 238, 0.45); }
.hero-calc h2 { font-size: 21px; font-weight: 800; margin: 4px 0 18px; }
.calc-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-calc .calc-out { margin-bottom: 16px; }
.hero-calc .btn { width: 100%; }
.calc-solo { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-grid .lead { margin: 22px auto 0; }
  .hero-grid .ctas { justify-content: center; }
  .hero-calc { text-align: left; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .hero { padding-top: 104px; }
  .hero .pill { margin-bottom: 18px; }
  .hero-text .btn-ghost { display: none; }
  .hero-grid .ctas { margin-top: 24px; }
}

/* Projetos */
.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.project-img img { border-radius: 12px; border: 1px solid var(--line-2); }
.project .kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }
.project h3 { font-size: 24px; margin: 10px 0 12px; }
.project p { color: var(--muted); }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; padding: 20px; } }
