/* ═══════════════════════════════════════════════════════════════════
   site.css — institucional, DIREÇÃO B (editorial).
   Tipografia grande, base clara, hexágono só como textura a 3%,
   Georgia nos títulos e números. Paleta preto/amarelo/branco —
   amarelo NUNCA é texto sobre claro (usa --am escurecido p/ acento).
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --pg: #FBFAF8;      /* página, off-white quente */
    --ink: #16181D;     /* toda a tipografia */
    --t2: #5A6070;      /* secundário */
    --t3: #8E94A3;      /* rótulos, eixos */
    --rule: #E4E2DD;    /* linhas */
    --am: #C77D14;      /* mesmo âmbar; alias semântico p/ uso em texto GRANDE */
    --yel: #C77D14;     /* âmbar da marca — 3,02:1 no claro, 6,01:1 no preto */
    --pop: #FFD100;     /* amarelo puro — SÓ superfície com texto tinta (12,9:1) */
    --paper: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--pg); color: var(--ink);
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.serif { font-family: Georgia, 'Times New Roman', serif; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 32px; }

/* ── nav ── */
.site-nav { border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: color-mix(in srgb, var(--pg) 92%, transparent); backdrop-filter: blur(8px); z-index: 30; }
.site-nav .wrap { display: flex; align-items: center; height: 68px; gap: 30px; }
.brand { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.brand i { color: var(--am); font-style: normal; }
.site-nav a.n { font-size: 14px; color: var(--t2); }
.site-nav a.n:hover { color: var(--ink); }
.site-nav .push { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.nav-links { display: flex; gap: 26px; }
@media (max-width: 680px) { .nav-links { display: none; } }

.btn { display: inline-block; padding: 11px 22px; border-radius: 2px; font-size: 14px; font-weight: 600;
    transition: all .18s; cursor: pointer; border: 1px solid transparent; }
.btn-p { background: var(--ink); color: var(--pg); }
.btn-p:hover { background: var(--am); }
.btn-o { border-color: var(--ink); color: var(--ink); }
.btn-o:hover { background: var(--ink); color: var(--pg); }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ── hero ── */
.hero { padding: 110px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hexbg { position: absolute; inset: 0; opacity: .035; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z' fill='none' stroke='%2316181D' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 56px 64px; }
.kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); margin-bottom: 26px; font-weight: 600; }
.hero h1 { font-size: clamp(42px, 7.5vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 400; position: relative; }
.hero h1 .l2 { display: block; font-style: italic; color: var(--am); }
.lead { font-size: 19px; color: var(--t2); margin: 30px auto 0; max-width: 50ch; line-height: 1.65; }
.hero .cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.under { font-size: 13px; color: var(--t3); margin-top: 20px; }

.rule { height: 1px; background: var(--rule); }
section { padding: 84px 0; }
.lbl { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); font-weight: 600; margin-bottom: 20px; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.035em; font-weight: 400; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two p { color: var(--t2); font-size: 16.5px; }
.two p + p { margin-top: 16px; }
@media (max-width: 720px) { .two { grid-template-columns: 1fr; gap: 24px; } }

.feats { margin-top: 52px; border-top: 1px solid var(--rule); }
.ft { display: grid; grid-template-columns: 56px 1fr 1.1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ft .num { font-family: Georgia, serif; font-size: 26px; color: var(--am); font-style: italic; }
.ft h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.ft p { font-size: 15px; color: var(--t2); }
@media (max-width: 640px) { .ft { grid-template-columns: 40px 1fr; } .ft p { grid-column: 2; } }

.quote { padding: 96px 0; text-align: center; }
.quote blockquote { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.3; letter-spacing: -.025em; max-width: 20ch; margin: 0 auto; }
.quote cite { display: block; margin-top: 24px; font-size: 13px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--t3); }

/* ── preços (4 períodos) ── */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border: 1px solid var(--rule); background: var(--pg); }
.pr { padding: 34px 22px 30px; border-right: 1px solid var(--rule); text-align: center; position: relative; display: flex; flex-direction: column; }
.pr:last-child { border-right: none; }
.pr.best { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.pr .tag { position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--yel); color: var(--ink); font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; white-space: nowrap; }
.pr .per { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--t3); font-weight: 600; }
.pr .val { font-family: Georgia, serif; font-size: 42px; letter-spacing: -.04em; margin: 12px 0 6px;
    font-variant-numeric: tabular-nums; line-height: 1; }
.pr .eq { font-size: 13px; color: var(--t2); min-height: 2.6em; line-height: 1.35; }
.pr .eq strong { color: var(--ink); font-weight: 700; }
/* selo de desconto: amarelo puro. É superfície com texto tinta, o único uso em que
   o amarelo tem contraste — e aqui ele deve gritar mais que o âmbar da marca. */
.pr .save { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--ink);
    background: var(--pop); padding: 3px 10px; border-radius: 20px; }
.pr .save-none { background: none; color: var(--t3); font-weight: 500; padding: 3px 0; }
.pr .btn { margin-top: auto; width: 100%; }
.pr .btn:not(.btn-p) { margin-top: 22px; }
.allin { text-align: center; margin-top: 30px; font-size: 15px; color: var(--t2); }
@media (max-width: 900px) {
    .prices { grid-template-columns: repeat(2, 1fr); }
    .pr:nth-child(2n) { border-right: none; }
    .pr:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
    .prices { grid-template-columns: 1fr; }
    .pr { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 20px; }
    .pr:last-child { border-bottom: none; }
    .pr .eq { min-height: 0; }
}

/* ── formulário de contato / páginas de texto ── */
.page-head { padding: 80px 0 40px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 400; letter-spacing: -.04em; }
.prose { max-width: 680px; padding-bottom: 80px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--t2); font-size: 16px; margin: 10px 0; }
.prose ul { padding-left: 22px; }
/* tabelas legais (finalidade x base legal x retenção): rolam sozinhas no mobile */
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th { text-align: left; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--rule); padding: 9px 12px 9px 0; white-space: nowrap; }
.prose td { color: var(--t2); border-bottom: 1px solid var(--rule); padding: 9px 12px 9px 0; vertical-align: top; }
.prose tr:last-child td { border-bottom: none; }
.prose code { background: #F0EEE9; padding: 1px 5px; border-radius: 4px; font-size: .92em; }
.prose a { color: var(--am); }

.form { max-width: 520px; padding-bottom: 80px; }
.form label { display: block; margin: 18px 0 6px; font-size: 14px; color: var(--t2); }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 2px; font: inherit; background: var(--paper); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--am); border-color: transparent; }
.form .btn { margin-top: 24px; }
.flash-ok { background: #eef6ee; border: 1px solid #cfe6cf; color: #2f6b34; padding: 14px 16px; border-radius: 2px; margin-bottom: 20px; }
.form-error { color: #b23b3b; font-size: 13px; margin-top: 4px; }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--rule); padding: 46px 0; font-size: 13.5px; color: var(--t3); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--t2); }
.site-footer a:hover { color: var(--ink); }

/* ═══ logo: símbolo HUB + palavra ═══
   Raios/nós usam currentColor (cor do contexto); o núcleo é sempre amarelo.
   A palavra é corrida ("enxame"); o ponto é um disco AMARELO atrás das letras,
   centrado no vão de tinta a|m (right:-.014em) e com o centro a 0.34em da linha
   de base. Fora do fluxo, então não desloca nada.
   `isolation` prende o z-index negativo do ponto dentro da logo. */
.lg { display: inline-flex; align-items: center; gap: .42em; line-height: 1;
      text-decoration: none; color: inherit; white-space: nowrap; }
.lg-sym { height: 1.5em; width: 1.5em; flex-shrink: 0; }
.lg-txt { font-weight: 700; letter-spacing: -.03em; position: relative; isolation: isolate; }
.lg-p1 { position: relative; }
.lg-dot { position: absolute; right: -.014em; top: 50%; z-index: -1;
          width: .34em; height: .34em; border-radius: 50%;
          background: var(--yel, #C77D14); transform: translate(50%, calc(-50% + .087em)); }
.lg-short { gap: 0; }
.site-nav .lg { font-size: 19px; color: var(--ink); }
.site-footer .lg { font-size: 15px; color: var(--ink); }
