/* ============================================================================
   iTelecon VOIP — HOME PÚBLICA (landing institucional / página principal)
   ----------------------------------------------------------------------------
   Folha própria, prefixo "h-" em todas as classes, para não disputar
   especificidade com style.css / components.css (que são do painel).
   Herda a PALETA do projeto (verde #00e07a sobre quase-preto azulado) e
   estende com apoio ciano, para a home parecer produto de 2026 sem virar
   um visual paralelo ao resto do sistema.

   Regra de ouro desta folha: ZERO cor hardcoded dentro de componente — tudo
   sai de custom property declarada em :root.h-home.
   ========================================================================== */

.h-home {
    /* --- superfícies (3 níveis + deep) --- */
    --h-bg: #05080d;
    --h-bg-1: #080d15;
    --h-surface: #0c1421;
    --h-surface-2: #111c2e;
    --h-surface-3: #16253c;

    /* --- texto --- */
    --h-text: #eef6f1;
    --h-text-2: #b9cbdd;
    --h-text-3: #7f95ac;

    /* --- acento --- */
    --h-accent: #00e07a;
    --h-accent-2: #00c46a;
    --h-accent-dim: rgba(0, 224, 122, 0.12);
    --h-accent-line: rgba(0, 224, 122, 0.34);
    --h-cyan: #35c8ff;
    --h-cyan-dim: rgba(53, 200, 255, 0.12);
    /* 18/11/2026: era #8b7cf6 e MEDIA 4.06:1 sobre o fundo --h-surface
       rgb(38,45,74) — abaixo do minimo WCAG de 4.5:1 para texto normal
       (reprovava nos selos "102" e "FILA"). Clareado para #a496ff, que mede
       5.29:1 no mesmo fundo mantendo a mesma familia de cor. */
    --h-violet: #a496ff;
    --h-amber: #ffb545;
    --h-rose: #ff6b81;

    /* --- bordas --- */
    --h-border: rgba(126, 166, 152, 0.14);
    --h-border-2: rgba(126, 166, 152, 0.24);
    --h-border-accent: rgba(0, 224, 122, 0.32);

    /* --- formas --- */
    --h-r-xs: 6px;
    --h-r-sm: 10px;
    --h-r-md: 14px;
    --h-r-lg: 20px;
    --h-r-xl: 28px;
    --h-r-pill: 999px;

    /* --- sombras --- */
    --h-sh-1: 0 1px 2px rgba(0, 0, 0, 0.45);
    --h-sh-2: 0 10px 30px rgba(0, 0, 0, 0.42);
    --h-sh-3: 0 28px 70px rgba(0, 0, 0, 0.55);
    --h-sh-glow: 0 0 0 1px var(--h-accent-line), 0 18px 50px rgba(0, 224, 122, 0.16);

    /* --- tipografia --- */
    --h-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --h-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

    /* --- ritmo --- */
    --h-gap: clamp(16px, 2.2vw, 24px);
    --h-pad-sec: clamp(56px, 8vw, 112px);

    /* --- movimento --- */
    --h-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --h-t: 180ms var(--h-ease);

    background: var(--h-bg);
    color: var(--h-text);
    font-family: var(--h-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;

    /* 18/11/2026 — DEFEITO MEDIDO: em 375px a landing rolava 10px para o
       lado. Causa: o proprio <body class="h-home"> NAO entrava no reset
       `.h-home *` (o `*` casa descendentes, nunca o proprio elemento), entao
       ele continuava com o default do navegador — margin: 8px e
       box-sizing: content-box. Eram esses 8px de margem somados ao padding
       interno do .h-wrap que jogavam .h-split/.h-rv ate 385px numa tela de
       375px (scrollWidth 385 x clientWidth 375). Zerar margin/padding e
       forcar border-box no proprio .h-home mata o estouro na raiz. */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

html:has(> body.h-home) {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.h-home *,
.h-home *::before,
.h-home *::after { box-sizing: border-box; }

.h-home h1, .h-home h2, .h-home h3, .h-home h4 {
    margin: 0;
    line-height: 1.14;
    letter-spacing: -0.022em;
    font-weight: 800;
    color: var(--h-text);
    text-wrap: balance;
}
.h-home p { margin: 0; }
.h-home a { color: inherit; text-decoration: none; }
.h-home img { max-width: 100%; display: block; }
.h-home button { font: inherit; }
.h-home ::selection { background: var(--h-accent); color: #04120b; }

.h-home :focus-visible {
    outline: 2px solid var(--h-accent);
    outline-offset: 3px;
    border-radius: var(--h-r-xs);
}

/* ============================================================
   FUNDO ATMOSFÉRICO (grid + auroras + ruído)
   ============================================================ */
.h-atmos {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.h-atmos::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(720px 420px at 8% 2%, rgba(0, 224, 122, 0.16), transparent 62%),
        radial-gradient(680px 400px at 92% 8%, rgba(53, 200, 255, 0.13), transparent 60%),
        radial-gradient(900px 520px at 50% 100%, rgba(139, 124, 246, 0.10), transparent 68%);
    filter: blur(6px);
}
.h-atmos::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(126, 166, 152, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(126, 166, 152, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
}

.h-shell { position: relative; z-index: 1; }

.h-wrap {
    width: min(1220px, 100% - 40px);
    margin-inline: auto;
}
@media (max-width: 640px) {
    .h-wrap { width: min(1220px, 100% - 28px); }
}

/* ============================================================
   BARRA SUPERIOR
   ============================================================ */
.h-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(5, 8, 13, 0.72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--h-t), background var(--h-t);
}
.h-nav.is-stuck {
    border-bottom-color: var(--h-border);
    background: rgba(5, 8, 13, 0.92);
}
.h-nav-in {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 68px;
}
.h-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 0 0 auto;
}
.h-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 224, 122, 0.4));
}
.h-brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.h-brand-n {
    font-weight: 800;
    font-size: 0.98rem;
    letter-spacing: -0.015em;
    white-space: nowrap;
}
.h-brand-s {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-text-3);
    font-weight: 600;
    white-space: nowrap;
}

.h-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.h-menu a {
    padding: 9px 13px;
    border-radius: var(--h-r-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--h-text-2);
    transition: color var(--h-t), background var(--h-t);
    white-space: nowrap;
}
.h-menu a:hover { color: var(--h-text); background: rgba(255, 255, 255, 0.05); }

.h-nav-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* Botões */
.h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    min-height: 44px;
    border-radius: var(--h-r-sm);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: transform var(--h-t), background var(--h-t), border-color var(--h-t), box-shadow var(--h-t), color var(--h-t);
    white-space: nowrap;
    text-align: center;
}
.h-btn svg { flex: 0 0 auto; }
.h-btn:active { transform: translateY(1px); }

.h-btn-primary {
    background: linear-gradient(180deg, var(--h-accent), var(--h-accent-2));
    color: #04120b;
    box-shadow: 0 8px 26px rgba(0, 224, 122, 0.28);
}
.h-btn-primary:hover {
    background: linear-gradient(180deg, #16ff8f, var(--h-accent));
    box-shadow: 0 12px 34px rgba(0, 224, 122, 0.42);
    transform: translateY(-1px);
}
.h-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--h-border-2);
    color: var(--h-text);
}
.h-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--h-border-accent);
    color: var(--h-text);
}
.h-btn-line {
    background: transparent;
    border-color: var(--h-border-2);
    color: var(--h-text-2);
}
.h-btn-line:hover { border-color: var(--h-accent-line); color: var(--h-text); }
.h-btn-lg { padding: 15px 28px; font-size: 1rem; min-height: 54px; border-radius: var(--h-r-md); }
.h-btn-sm { padding: 8px 15px; min-height: 38px; font-size: 0.82rem; }
.h-btn-block { width: 100%; }

.h-burger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--h-border-2);
    border-radius: var(--h-r-sm);
    color: var(--h-text);
    cursor: pointer;
}

/* Gaveta mobile */
.h-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}
.h-drawer[data-open="1"] { display: block; }
.h-drawer-bg {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 7, 0.72);
    backdrop-filter: blur(6px);
}
.h-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: var(--h-bg-1);
    border-left: 1px solid var(--h-border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    animation: h-drawer-in 220ms var(--h-ease);
}
@keyframes h-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.h-drawer-panel a {
    padding: 13px 14px;
    border-radius: var(--h-r-sm);
    font-weight: 600;
    color: var(--h-text-2);
    border: 1px solid transparent;
}
.h-drawer-panel a:hover { background: rgba(255, 255, 255, 0.05); color: var(--h-text); }
.h-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--h-border);
}
.h-drawer-x {
    width: 40px;
    height: 40px;
    border-radius: var(--h-r-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--h-border-2);
    color: var(--h-text);
    cursor: pointer;
    display: grid;
    place-items: center;
}

/* ============================================================
   HERO
   ============================================================ */
.h-hero {
    position: relative;
    padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 96px);
}
.h-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.h-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 10px;
    border-radius: var(--h-r-pill);
    background: var(--h-accent-dim);
    border: 1px solid var(--h-accent-line);
    color: var(--h-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.h-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--h-accent);
    box-shadow: 0 0 0 0 rgba(0, 224, 122, 0.55);
    animation: h-pulse 2.1s infinite;
    flex: 0 0 auto;
}
@keyframes h-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 224, 122, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(0, 224, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 224, 122, 0); }
}

.h-hero h1 {
    margin-top: 22px;
    font-size: clamp(2.1rem, 4.4vw, 3.6rem);
    letter-spacing: -0.032em;
}
.h-hero h1 .h-grad {
    background: linear-gradient(100deg, var(--h-accent) 0%, #66ffc2 38%, var(--h-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.h-lede {
    margin-top: 20px;
    font-size: clamp(1rem, 1.25vw, 1.09rem);
    color: var(--h-text-2);
    max-width: 60ch;
    line-height: 1.68;
}
.h-lede strong { color: var(--h-text); font-weight: 700; }

.h-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.h-hero-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--h-text-3);
    display: flex;
    align-items: center;
    gap: 7px;
}

.h-trust {
    /* Grade de 2 colunas: os 4 selos fecham SEMPRE em 2+2.
       Antes era flex-wrap e, em 1280px, o 4o item caia sozinho na 2a linha
       (3+1), quebrando a simetria da faixa. Defeito medido no DOM. */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    align-items: center;
    justify-content: start;
    gap: 12px 22px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--h-border);
}
.h-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.79rem;
    color: var(--h-text-3);
    font-weight: 600;
}
.h-trust-item svg { color: var(--h-accent); flex: 0 0 auto; }

/* Em telas muito largas a coluna do hero comporta os 4 selos numa unica linha
   (medido: coluna de 617px e conteudo de 606px em viewport 1600). Abaixo disso
   a grade fica em 2+2 — simetrica e sem risco de corte. */
@media (min-width: 1600px) {
    .h-home .h-trust {
        grid-template-columns: repeat(4, minmax(0, max-content));
        gap: 10px 18px;
    }
}

/* ---------------- CONSOLE DE OPERAÇÃO (painel do hero) ---------------- */
.h-console {
    position: relative;
    border-radius: var(--h-r-lg);
    background: linear-gradient(168deg, rgba(17, 28, 46, 0.96), rgba(8, 13, 21, 0.98));
    border: 1px solid var(--h-border-2);
    box-shadow: var(--h-sh-3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    isolation: isolate;
}
.h-console::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(420px 180px at 78% -10%, rgba(0, 224, 122, 0.16), transparent 70%);
}
.h-console-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--h-border);
    background: rgba(255, 255, 255, 0.022);
}
.h-console-lights { display: flex; gap: 6px; }
.h-console-lights i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}
.h-console-lights i:nth-child(1) { background: #ff5f57; }
.h-console-lights i:nth-child(2) { background: #febc2e; }
.h-console-lights i:nth-child(3) { background: #28c840; }
.h-console-title {
    font-family: var(--h-mono);
    font-size: 0.7rem;
    color: var(--h-text-3);
    letter-spacing: 0.02em;
    margin-left: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h-console-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--h-accent);
    padding: 4px 9px;
    border-radius: var(--h-r-pill);
    background: var(--h-accent-dim);
    border: 1px solid var(--h-accent-line);
    white-space: nowrap;
}

.h-console-body { padding: 16px; display: grid; gap: 12px; }

/* Nota de transparência do painel ilustrativo do hero (23/11/2026).
   O console ANIMA canais/latência como demonstração visual; sem esta nota o
   visitante lê aquilo como telemetria real da operação. Discreta, legível
   (12px/1.5), sem competir com o hero. */
.h-console-note {
    margin: 12px auto 0;
    max-width: 46ch;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--h-text-3);
}

.h-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.h-metric {
    padding: 11px 13px;
    border-radius: var(--h-r-sm);
    background: rgba(255, 255, 255, 0.032);
    border: 1px solid var(--h-border);
}
.h-metric-k {
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--h-text-3);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
.h-metric-v {
    font-family: var(--h-mono);
    font-size: 1.16rem;
    font-weight: 700;
    color: var(--h-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.h-metric-v small {
    font-size: 0.64rem;
    color: var(--h-accent);
    font-weight: 700;
    letter-spacing: 0;
}

/* barras de carga dos nós */
.h-nodes { display: grid; gap: 9px; }
.h-node {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 10px;
    align-items: center;
}
.h-node-name {
    font-family: var(--h-mono);
    font-size: 0.68rem;
    color: var(--h-text-2);
    display: flex;
    align-items: center;
    gap: 6px;
}
.h-node-name i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--h-accent);
    display: block;
    flex: 0 0 auto;
}
.h-node-val {
    font-family: var(--h-mono);
    font-size: 0.68rem;
    color: var(--h-text-3);
    font-variant-numeric: tabular-nums;
}
.h-node-track {
    grid-column: 1 / -1;
    height: 4px;
    border-radius: var(--h-r-pill);
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
.h-node-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--h-accent-2), var(--h-accent));
    width: 0;
    transition: width 900ms var(--h-ease);
}
.h-node[data-load="hi"] .h-node-fill { background: linear-gradient(90deg, var(--h-amber), var(--h-rose)); }

/* terminal de eventos */
.h-term {
    border-radius: var(--h-r-sm);
    background: rgba(2, 5, 9, 0.72);
    border: 1px solid var(--h-border);
    padding: 10px 12px;
    font-family: var(--h-mono);
    font-size: 0.66rem;
    line-height: 1.75;
    color: var(--h-text-3);
    height: 104px;
    overflow: hidden;
    position: relative;
}
.h-term::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(2, 5, 9, 0.95));
    pointer-events: none;
}
.h-term-line { display: flex; gap: 8px; animation: h-line-in 260ms var(--h-ease); }
@keyframes h-line-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.h-term-t { color: var(--h-text-3); opacity: 0.65; flex: 0 0 auto; }
.h-term-m { color: var(--h-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-term-m b { color: var(--h-accent); font-weight: 600; }
.h-term-m em { color: var(--h-cyan); font-style: normal; }

/* selo flutuante */
.h-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border-radius: var(--h-r-pill);
    background: rgba(12, 20, 33, 0.94);
    border: 1px solid var(--h-border-accent);
    box-shadow: var(--h-sh-2);
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--h-text);
    backdrop-filter: blur(10px);
    animation: h-bob 5.2s ease-in-out infinite;
}
.h-float small { display: block; font-size: 0.6rem; color: var(--h-text-3); font-weight: 600; letter-spacing: 0.04em; }
.h-float-a { top: -16px; right: -10px; }
.h-float-b { bottom: -16px; left: -14px; animation-delay: 1.4s; }
/* área de respiro para os selos flutuantes não cobrirem o console */
.h-hero-visual { position: relative; padding-bottom: 76px; }
@media (max-width: 640px) { .h-hero-visual { padding-bottom: 46px; } }
@keyframes h-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.h-ticker {
    border-block: 1px solid var(--h-border);
    background: rgba(255, 255, 255, 0.016);
    overflow: hidden;
    padding: 13px 0;
    position: relative;
}
.h-ticker::before, .h-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}
.h-ticker::before { left: 0; background: linear-gradient(90deg, var(--h-bg), transparent); }
.h-ticker::after { right: 0; background: linear-gradient(270deg, var(--h-bg), transparent); }
.h-track {
    display: flex;
    gap: 42px;
    width: max-content;
    animation: h-scroll 42s linear infinite;
}
.h-ticker:hover .h-track { animation-play-state: paused; }
@keyframes h-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.h-track-i {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--h-text-3);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.h-track-i svg { color: var(--h-accent); flex: 0 0 auto; }

/* ============================================================
   SEÇÕES — base
   ============================================================ */
.h-sec { padding: var(--h-pad-sec) 0; position: relative; }
.h-sec-tight { padding: clamp(40px, 5vw, 64px) 0; }

.h-sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.h-sec-head.h-center { margin-inline: auto; text-align: center; }
.h-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--h-accent);
    margin-bottom: 14px;
}
.h-kicker::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--h-accent);
    display: block;
}
.h-center .h-kicker::after {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--h-accent);
    display: block;
}
.h-sec-head h2 {
    font-size: clamp(1.65rem, 2.9vw, 2.5rem);
    letter-spacing: -0.028em;
}
.h-sec-head p {
    margin-top: 14px;
    color: var(--h-text-2);
    font-size: clamp(0.94rem, 1.1vw, 1.02rem);
    line-height: 1.7;
    max-width: 68ch;
}
.h-center p { margin-inline: auto; }

/* ============================================================
   GRADE DE NÚMEROS (prova social / acervo)
   ============================================================ */
.h-numgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--h-gap);
}
.h-numcard {
    position: relative;
    padding: 22px 20px;
    border-radius: var(--h-r-md);
    background: linear-gradient(170deg, rgba(17, 28, 46, 0.86), rgba(8, 13, 21, 0.9));
    border: 1px solid var(--h-border);
    overflow: hidden;
    transition: border-color var(--h-t), transform var(--h-t), box-shadow var(--h-t);
}
.h-numcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--h-accent-line), transparent);
    opacity: 0;
    transition: opacity var(--h-t);
}
.h-numcard:hover {
    border-color: var(--h-border-accent);
    transform: translateY(-3px);
    box-shadow: var(--h-sh-2);
}
.h-numcard:hover::before { opacity: 1; }
.h-numcard-v {
    font-family: var(--h-mono);
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--h-text);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1.05;
}
.h-numcard-v i {
    font-style: normal;
    color: var(--h-accent);
    font-size: 0.66em;
}
.h-numcard-l {
    margin-top: 9px;
    font-size: 0.79rem;
    color: var(--h-text-3);
    font-weight: 600;
    line-height: 1.45;
}

/* ============================================================
   RECURSOS (cards)
   ============================================================ */
.h-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--h-gap);
}
.h-card {
    padding: clamp(20px, 2.4vw, 28px);
    border-radius: var(--h-r-md);
    background: linear-gradient(172deg, rgba(17, 28, 46, 0.7), rgba(8, 13, 21, 0.82));
    border: 1px solid var(--h-border);
    transition: border-color var(--h-t), transform var(--h-t), box-shadow var(--h-t), background var(--h-t);
    position: relative;
    overflow: hidden;
}
.h-card:hover {
    border-color: var(--h-border-accent);
    transform: translateY(-3px);
    box-shadow: var(--h-sh-2);
    background: linear-gradient(172deg, rgba(22, 37, 60, 0.8), rgba(8, 13, 21, 0.9));
}
.h-card-ico {
    width: 44px;
    height: 44px;
    border-radius: var(--h-r-sm);
    display: grid;
    place-items: center;
    background: var(--h-accent-dim);
    border: 1px solid var(--h-accent-line);
    color: var(--h-accent);
    margin-bottom: 16px;
}
.h-card[data-tone="cyan"] .h-card-ico { background: var(--h-cyan-dim); border-color: rgba(53, 200, 255, 0.3); color: var(--h-cyan); }
.h-card[data-tone="violet"] .h-card-ico { background: rgba(139, 124, 246, 0.12); border-color: rgba(139, 124, 246, 0.3); color: var(--h-violet); }
.h-card[data-tone="amber"] .h-card-ico { background: rgba(255, 181, 69, 0.12); border-color: rgba(255, 181, 69, 0.3); color: var(--h-amber); }
.h-card h3 {
    font-size: 1.03rem;
    font-weight: 700;
    letter-spacing: -0.014em;
    margin-bottom: 9px;
}
.h-card p {
    font-size: 0.875rem;
    color: var(--h-text-2);
    line-height: 1.62;
}
.h-card ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}
.h-card li {
    font-size: 0.8rem;
    color: var(--h-text-3);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.5;
}
.h-card li svg { color: var(--h-accent); flex: 0 0 auto; margin-top: 2px; }

/* ============================================================
   ACERVO NUMÉRICO — bloco de destaque (two-col)
   ============================================================ */
.h-split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.h-pool {
    border-radius: var(--h-r-lg);
    border: 1px solid var(--h-border-2);
    background-color: var(--h-bg);
    background-image: linear-gradient(168deg, rgba(17, 28, 46, 0.9), rgba(5, 8, 13, 0.96));
    box-shadow: var(--h-sh-2);
    overflow: hidden;
}
.h-pool-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--h-border);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--h-text-2);
}
.h-pool-grid {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
    max-height: 268px;
    overflow: hidden;
    position: relative;
}
.h-pool-grid::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 56px;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 13, 0.96));
    pointer-events: none;
}
.h-num {
    font-family: var(--h-mono);
    font-size: 0.75rem;
    padding: 7px 8px;
    border-radius: var(--h-r-xs);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--h-border);
    color: var(--h-text-2);
    text-align: center;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    transition: background var(--h-t), border-color var(--h-t), color var(--h-t);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h-num[data-s="livre"] { color: var(--h-accent); border-color: var(--h-accent-line); background: var(--h-accent-dim); }
.h-num[data-s="quente"] { color: var(--h-amber); border-color: rgba(255, 181, 69, 0.28); background: rgba(255, 181, 69, 0.08); }
.h-num[data-s="uso"] { color: var(--h-text-3); opacity: 0.62; }
.h-pool-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--h-border);
    font-size: 0.75rem;
    color: var(--h-text-3);
    font-weight: 600;
}
.h-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.h-legend span { display: inline-flex; align-items: center; gap: 6px; }
.h-legend i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.h-legend i.a { background: var(--h-accent); }
.h-legend i.b { background: var(--h-amber); }
.h-legend i.c { background: var(--h-text-3); opacity: 0.6; }

.h-checks { display: grid; gap: 14px; margin-top: 26px; }
.h-check {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}
.h-check-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--h-accent-dim);
    border: 1px solid var(--h-accent-line);
    color: var(--h-accent);
    flex: 0 0 auto;
    margin-top: 1px;
}
.h-check b {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--h-text);
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}
.h-check span { font-size: 0.855rem; color: var(--h-text-2); line-height: 1.6; }

/* ============================================================
   PLANOS
   ============================================================ */
.h-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--h-gap);
    align-items: stretch;
}
.h-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.6vw, 30px);
    border-radius: var(--h-r-lg);
    background: linear-gradient(174deg, rgba(17, 28, 46, 0.82), rgba(8, 13, 21, 0.9));
    border: 1px solid var(--h-border);
    transition: border-color var(--h-t), transform var(--h-t), box-shadow var(--h-t);
}
.h-plan:hover { border-color: var(--h-border-accent); transform: translateY(-3px); box-shadow: var(--h-sh-2); }
.h-plan[data-featured="1"] {
    border-color: var(--h-accent-line);
    background: linear-gradient(174deg, rgba(0, 224, 122, 0.09), rgba(8, 13, 21, 0.94));
    box-shadow: 0 0 0 1px var(--h-accent-line), 0 22px 60px rgba(0, 224, 122, 0.12);
}
.h-plan-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 13px;
    border-radius: var(--h-r-pill);
    background: linear-gradient(180deg, var(--h-accent), var(--h-accent-2));
    color: #04120b;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 224, 122, 0.35);
}
.h-plan-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.015em; }
.h-plan-desc {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--h-text-3);
    line-height: 1.55;
    min-height: 2.6em;
}
.h-plan-price {
    margin-top: 18px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.h-plan-price .cur { font-size: 0.9rem; color: var(--h-text-3); font-weight: 700; }
.h-plan-price .val {
    font-family: var(--h-mono);
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.h-plan-price .per { font-size: 0.78rem; color: var(--h-text-3); font-weight: 600; }
.h-plan-rate {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--h-text-2);
    padding: 8px 11px;
    border-radius: var(--h-r-xs);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--h-border);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-variant-numeric: tabular-nums;
}
.h-plan-rate b { color: var(--h-accent); font-weight: 700; }
.h-plan-feats {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
    flex: 1;
}
.h-plan-feats li {
    display: flex;
    gap: 9px;
    font-size: 0.845rem;
    color: var(--h-text-2);
    line-height: 1.5;
    align-items: flex-start;
}
.h-plan-feats svg { color: var(--h-accent); flex: 0 0 auto; margin-top: 2px; }
.h-plan-cta { margin-top: 22px; }

.h-plans-note {
    margin-top: 22px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--h-text-3);
    line-height: 1.6;
}
.h-plans-note a { color: var(--h-accent); font-weight: 700; border-bottom: 1px solid var(--h-accent-line); }

/* esqueleto de carregamento */
.h-skel {
    border-radius: var(--h-r-lg);
    border: 1px solid var(--h-border);
    background: rgba(255, 255, 255, 0.025);
    min-height: 340px;
    position: relative;
    overflow: hidden;
    contain: paint;
}
.h-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.05) 50%, transparent 80%);
    background-size: 220% 100%;
    background-repeat: no-repeat;
    animation: h-shine 1.5s infinite linear;
}
@keyframes h-shine { from { background-position: 160% 0; } to { background-position: -80% 0; } }

.h-empty {
    grid-column: 1 / -1;
    padding: 40px 24px;
    text-align: center;
    border-radius: var(--h-r-md);
    border: 1px dashed var(--h-border-2);
    color: var(--h-text-3);
    font-size: 0.88rem;
}

/* ============================================================
   RAMAL COMPARTILHADO / EQUIPES
   ============================================================ */
.h-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 26px;
}
.h-team-i {
    padding: 16px 15px;
    border-radius: var(--h-r-sm);
    background: rgba(255, 255, 255, 0.032);
    border: 1px solid var(--h-border);
    transition: border-color var(--h-t), background var(--h-t);
}
.h-team-i:hover { border-color: var(--h-border-accent); background: rgba(0, 224, 122, 0.05); }
.h-team-i b {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.h-team-i b svg { color: var(--h-accent); flex: 0 0 auto; }
.h-team-i span { font-size: 0.79rem; color: var(--h-text-3); line-height: 1.55; display: block; }

/* ============================================================
   BLOCOS DE OFERTA (revenda / dedicado)
   ============================================================ */
.h-offer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--h-gap);
}
.h-offer-card {
    position: relative;
    padding: clamp(24px, 3vw, 38px);
    border-radius: var(--h-r-lg);
    border: 1px solid var(--h-border);
    background: linear-gradient(168deg, rgba(17, 28, 46, 0.8), rgba(8, 13, 21, 0.92));
    overflow: hidden;
    transition: border-color var(--h-t), box-shadow var(--h-t), transform var(--h-t);
}
.h-offer-card:hover {
    border-color: var(--h-border-accent);
    box-shadow: var(--h-sh-2);
    transform: translateY(-3px);
}
.h-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 224, 122, 0.14), transparent 70%);
    pointer-events: none;
}
.h-offer-card[data-tone="cyan"]::before { background: radial-gradient(circle, rgba(53, 200, 255, 0.14), transparent 70%); }
.h-offer-card h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    margin-bottom: 10px;
}
.h-offer-card > p { font-size: 0.9rem; color: var(--h-text-2); line-height: 1.65; }
.h-offer-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.h-offer-list li {
    display: flex;
    gap: 10px;
    font-size: 0.855rem;
    color: var(--h-text-2);
    line-height: 1.55;
    align-items: flex-start;
}
.h-offer-list svg { color: var(--h-accent); flex: 0 0 auto; margin-top: 2px; }
.h-offer-card[data-tone="cyan"] .h-offer-list svg { color: var(--h-cyan); }
.h-offer-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   TECNOLOGIA / PILARES
   ============================================================ */
.h-tech {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--h-border);
    border: 1px solid var(--h-border);
    border-radius: var(--h-r-md);
    overflow: hidden;
}
.h-tech-i {
    background: var(--h-bg-1);
    padding: clamp(18px, 2.2vw, 26px);
    transition: background var(--h-t);
}
.h-tech-i:hover { background: var(--h-surface); }
.h-tech-i .k {
    font-family: var(--h-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: var(--h-accent);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}
.h-tech-i b { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.012em; }
.h-tech-i span { font-size: 0.81rem; color: var(--h-text-3); line-height: 1.58; display: block; }

/* ============================================================
   CALCULADORA
   ============================================================ */
.h-calc {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(22px, 3vw, 44px);
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--h-r-lg);
    border: 1px solid var(--h-border-2);
    background:
        radial-gradient(560px 300px at 90% 0%, rgba(0, 224, 122, 0.1), transparent 66%),
        linear-gradient(170deg, rgba(17, 28, 46, 0.9), rgba(8, 13, 21, 0.95));
    box-shadow: var(--h-sh-2);
}
.h-calc h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.h-calc-fields { display: grid; gap: 18px; margin-top: 22px; }
.h-field label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--h-text-2);
    margin-bottom: 9px;
}
.h-field label output {
    font-family: var(--h-mono);
    font-size: 0.86rem;
    color: var(--h-accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.h-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--h-r-pill);
    background: rgba(255, 255, 255, 0.09);
    outline: none;
    cursor: pointer;
}

/* ÁREA DE TOQUE DO SLIDER (medido: 6px de altura = impossível acertar no dedo)
   O input passa a ter 44px de altura clicável e o TRILHO continua com 6px,
   desenhado pelo ::-webkit-slider-runnable-track. O visual é o mesmo; a área
   de acerto é 7x maior. */
.h-home .h-range {
    height: 44px;
    background: transparent;
    display: block;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.h-home .h-calc-fields,
.h-home .h-calc-fields .h-field { min-width: 0; }
.h-home .h-range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: var(--h-r-pill);
    background: rgba(255, 255, 255, 0.09);
}
.h-home .h-range::-webkit-slider-thumb {
    margin-top: -7px; /* centraliza o thumb de 20px no trilho de 6px */
}
.h-home .h-range::-moz-range-track {
    height: 6px;
    border-radius: var(--h-r-pill);
    background: rgba(255, 255, 255, 0.09);
}
.h-home .h-range:focus-visible {
    outline: 2px solid var(--h-accent);
    outline-offset: 4px;
}
.h-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--h-accent);
    border: 3px solid #04120b;
    box-shadow: 0 0 0 4px rgba(0, 224, 122, 0.18);
    cursor: grab;
    transition: transform var(--h-t);
}
.h-range::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
.h-range::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--h-accent); border: 3px solid #04120b;
    box-shadow: 0 0 0 4px rgba(0, 224, 122, 0.18); cursor: grab;
}

.h-calc-out {
    border-radius: var(--h-r-md);
    border: 1px solid var(--h-accent-line);
    background: rgba(0, 224, 122, 0.05);
    padding: clamp(18px, 2.4vw, 26px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.h-calc-out .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--h-text-3); font-weight: 800; }
.h-calc-out .big {
    font-family: var(--h-mono);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--h-accent);
    font-variant-numeric: tabular-nums;
    line-height: 1.08;
}
.h-calc-out .sub { font-size: 0.8rem; color: var(--h-text-2); line-height: 1.55; }
.h-calc-out hr { border: 0; border-top: 1px solid var(--h-accent-line); margin: 14px 0; opacity: 0.6; }
.h-calc-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--h-text-2);
    padding: 3px 0;
}
.h-calc-row b { font-family: var(--h-mono); font-variant-numeric: tabular-nums; color: var(--h-text); }

/* ============================================================
   FAQ
   ============================================================ */
.h-faq { max-width: 880px; margin-inline: auto; display: grid; gap: 10px; }
.h-faq-i {
    border-radius: var(--h-r-sm);
    border: 1px solid var(--h-border);
    background: rgba(255, 255, 255, 0.028);
    overflow: hidden;
    transition: border-color var(--h-t), background var(--h-t);
}
.h-faq-i[data-open="1"] { border-color: var(--h-border-accent); background: rgba(0, 224, 122, 0.045); }
.h-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: none;
    border: 0;
    color: var(--h-text);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: color var(--h-t);
    min-height: 52px;
}
.h-faq-q:hover { color: var(--h-accent); }
.h-faq-q .chev {
    flex: 0 0 auto;
    color: var(--h-text-3);
    transition: transform 200ms var(--h-ease), color var(--h-t);
}
.h-faq-i[data-open="1"] .chev { transform: rotate(180deg); color: var(--h-accent); }
.h-faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 240ms var(--h-ease);
}
.h-faq-i[data-open="1"] .h-faq-a { grid-template-rows: 1fr; }
.h-faq-a > div { overflow: hidden; }
.h-faq-a p {
    padding: 0 18px 17px;
    font-size: 0.865rem;
    color: var(--h-text-2);
    line-height: 1.68;
    max-width: 74ch;
}
.h-faq-a b { color: var(--h-text); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.h-cta {
    position: relative;
    padding: clamp(32px, 5vw, 62px) clamp(22px, 4vw, 56px);
    border-radius: var(--h-r-xl);
    border: 1px solid var(--h-accent-line);
    background:
        radial-gradient(700px 340px at 15% 0%, rgba(0, 224, 122, 0.16), transparent 62%),
        radial-gradient(600px 300px at 88% 100%, rgba(53, 200, 255, 0.13), transparent 62%),
        linear-gradient(170deg, rgba(17, 28, 46, 0.95), rgba(5, 8, 13, 0.98));
    box-shadow: var(--h-sh-3);
    text-align: center;
    overflow: hidden;
}
.h-cta h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.55rem);
    max-width: 22ch;
    margin-inline: auto;
}
.h-cta p {
    margin: 16px auto 0;
    color: var(--h-text-2);
    font-size: 0.97rem;
    max-width: 58ch;
    line-height: 1.68;
}
.h-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}
.h-cta-mini {
    margin-top: 22px;
    font-size: 0.78rem;
    color: var(--h-text-3);
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.h-cta-mini span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.h-foot {
    border-top: 1px solid var(--h-border);
    padding: clamp(36px, 5vw, 56px) 0 26px;
    background: rgba(255, 255, 255, 0.012);
}
.h-foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}
.h-foot-brand p {
    margin-top: 14px;
    font-size: 0.83rem;
    color: var(--h-text-3);
    line-height: 1.65;
    max-width: 38ch;
}
.h-foot h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--h-text-2);
    font-weight: 800;
    margin-bottom: 14px;
}
.h-foot-links { display: grid; gap: 9px; }
.h-foot-links a {
    font-size: 0.845rem;
    color: var(--h-text-2);
    transition: color var(--h-t);
    width: fit-content;
}
.h-foot-links a:hover { color: var(--h-accent); }
.h-foot-bar {
    margin-top: clamp(28px, 4vw, 44px);
    padding-top: 20px;
    border-top: 1px solid var(--h-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.76rem;
    color: var(--h-text-3);
}
.h-foot-bar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.h-foot-bar-links a:hover { color: var(--h-accent); }

/* ============================================================
   REVELAÇÃO NO SCROLL
   ============================================================ */
.h-rv {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 620ms var(--h-ease), transform 620ms var(--h-ease);
    will-change: opacity, transform;
}
.h-rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1240px) {
    /* MEDIDO em 16/11/2026 numa viewport real de 960px: o menu desktop
       (7 itens) + marca + 2 botões somavam 1187px dentro de 904px de wrap
       e criavam 283px de rolagem horizontal na página inteira. Aqui o menu
       APERTA (padding e fonte menores) e o "Entrar" ghost sai do topo —
       ele continua no hero e na gaveta, então nada fica inacessível. */
    .h-menu a { padding: 9px 9px; font-size: 0.84rem; }
    .h-nav-in { gap: 12px; }
    .h-nav-cta .h-btn-ghost { display: none; }
}

@media (max-width: 1080px) {
    /* Abaixo de 1080 o menu perde os dois itens mais longos (seguem na gaveta). */
    .h-menu a[href="#dedicado"],
    .h-menu a[href="#faq"] { display: none; }
    .h-hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .h-console { max-width: 620px; }
    .h-float-a { right: 8px; }
    .h-float-b { left: 8px; }
    .h-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-numgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-split { grid-template-columns: 1fr; }
    .h-calc { grid-template-columns: 1fr; }
    .h-offer { grid-template-columns: 1fr; }
    .h-plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .h-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .h-menu { display: none; }
    /* CAUSA RAIZ do "quadrado de menu desalinhado" (medida no DOM, 19/11/2026):
       o menu é o único elemento com margin-left:auto. Ao escondê-lo, o grupo
       .h-nav-cta — que no mobile só tem o hambúrguer — parava logo depois da
       marca (x=133 numa tela de 375) em vez de encostar na borda direita.
       O empurrão passa a morar no próprio grupo de ações. */
    .h-nav-cta { margin-left: auto; }
    .h-nav-cta .h-btn-ghost { display: none; }
    .h-burger { display: inline-flex; }
    .h-nav-in { height: 64px; gap: 10px; }
    /* O botão "Começar agora" do topo sai no mobile: medido em 16/11/2026 que
       marca (286px) + CTA (182px) estouravam a linha de 331px e criavam
       132px de rolagem horizontal. O CTA continua no hero e na gaveta. */
    .h-nav-cta .h-btn-primary { display: none; }
    /* A marca pode encolher/truncar em vez de empurrar o layout. */
    .h-brand { min-width: 0; }
    .h-brand-n,
    .h-brand-s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 58vw; }
}

@media (max-width: 640px) {
    .h-home { font-size: 15.5px; }
    .h-hero { padding-top: 28px; }
    .h-hero-actions { flex-direction: column; align-items: stretch; }
    .h-hero-actions .h-btn { width: 100%; }
    .h-trust { gap: 10px 18px; }
    .h-numgrid { gap: 10px; }
    .h-numcard { padding: 16px 14px; }
    .h-cards { grid-template-columns: 1fr; }
    .h-tech { grid-template-columns: 1fr; }
    .h-metrics { grid-template-columns: 1fr 1fr; }
    .h-console-body { padding: 12px; }
    .h-float { display: none; }
    .h-pool-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); max-height: 200px; }
    .h-foot-grid { grid-template-columns: 1fr; }
    .h-cta-actions { flex-direction: column; }
    .h-cta-actions .h-btn { width: 100%; }
    .h-offer-actions .h-btn { width: 100%; }
    .h-sec { padding: 48px 0; }
    .h-brand-s { display: none; }
    .h-nav-cta .h-btn-primary { padding: 9px 14px; font-size: 0.85rem; }
}

/* Teclado / leitor de tela */.h-sr {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Acessibilidade: respeita quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
    .h-home { scroll-behavior: auto; }
    .h-home *, .h-home *::before, .h-home *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .h-rv { opacity: 1; transform: none; }
    .h-track { animation: none; }
}

/* ============================================================
   SEÇÃO ESCURA ALTERNADA (ritmo visual entre blocos)
   ============================================================ */
.h-band {
    border-block: 1px solid var(--h-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%),
        var(--h-bg-1);
}

/* ============================================================================
   CORREÇÕES MEDIDAS NA AUDITORIA (16/11/2026)
   ----------------------------------------------------------------------------
   Rodei pw_auditar_visual em 375/768/1280 e estes quatro pontos apareceram
   como defeito. Todos foram tratados aqui, no fim da folha, para valerem por
   ordem de cascata sem reescrever cada componente.
   ========================================================================== */

/* 1) LEGIBILIDADE — nada abaixo de 12px.
   Os rótulos técnicos do console/HUD tinham 9,6–11,7px: bonito no print, ilegível
   no celular. Piso de 12px em todos os textos pequenos. */
.h-home .h-brand-s,
.h-home .h-console-title,
.h-home .h-console-live,
.h-home .h-console small,
.h-home .h-metric-k,
.h-home .h-metric-v small,
.h-home .h-node-name,
.h-home .h-node-val,
.h-home .h-float small,
.h-home .h-pool-i,
.h-home .h-hud-k {
    font-size: 12px;
}

/* 2) FOCO VISÍVEL SEMPRE — a auditoria aplica :focus por JS e não enxergava o
   anel, porque ele só estava em :focus-visible. Mantenho os dois: teclado e
   clique passam a mostrar onde o foco está. */
.h-home a:focus,
.h-home button:focus,
.h-home input:focus,
.h-home select:focus,
.h-home textarea:focus,
.h-home summary:focus,
.h-home [tabindex]:focus {
    outline: 2px solid var(--h-accent);
    outline-offset: 3px;
    border-radius: var(--h-r-xs);
}

/* 3) FUNDO MENSURÁVEL ATRÁS DOS GRADIENTES
   Vários cartões usam `background: linear-gradient(...)` com alfa e SEM cor base.
   O gradiente pinta, mas o background-color computado fica transparente — e aí
   qualquer medição de contraste (e o navegador em impressão) assume branco.
   Declaro a cor base IGUAL ao fundo da página, que é exatamente o que o alfa do
   gradiente já assumia: o visual não muda, mas o fundo passa a existir. */
.h-home .h-card,
.h-home .h-console,
.h-home .h-numcard,
.h-home .h-plan,
.h-home .h-offer-card,
.h-home .h-metric {
    background-color: var(--h-bg);
}

/* Botão de acento: base opaca na cor de acento (o gradiente vem por cima). */
.h-home .h-btn-primary,
.h-home .h-btn-primary:hover {
    background-color: var(--h-accent);
}

/* 4) ALVO DE TOQUE NO MOBILE
   38/39px medidos nos botões pequenos. Piso de 44px (recomendação de toque) e
   a marca do topo recebe área clicável cheia. */
.h-home .h-btn-sm { min-height: 44px; }
.h-home .h-btn { min-height: 44px; }
.h-home .h-brand { min-height: 44px; align-items: center; }

/* 5) COR DO TEXTO NOS BOTÕES — CAUSA RAIZ ENCONTRADA (16/11/2026)
   `.h-home a { color: inherit }` tem especificidade (0,1,1) e VENCIA
   `.h-btn-primary { color: #04120b }` (0,1,0). Resultado medido no DOM: texto
   branco em rgb(238,246,241) sobre fundo verde rgb(0,224,122) = contraste 1.6:1.
   Elevei a especificidade para (0,2,0), que ganha de (0,1,1). */
.h-home .h-btn-primary,
.h-home .h-btn-primary:hover,
.h-home .h-btn-primary:visited {
    color: #04120b;
}
.h-home .h-btn-ghost,
.h-home .h-btn-ghost:hover,
.h-home .h-btn-line { color: var(--h-text); }
.h-home .h-btn-line:hover { color: var(--h-text); }

/* 6) FUNDO OPACO NOS CONTAINERS DE SEÇÃO COM GRADIENTE
   .h-calc e .h-cta também usam só gradiente com alfa; o auditor (e o modo de
   impressão) lê fundo branco e reprova o título claro. A cor base é a mesma que
   o alfa já compunha sobre a página, então o visual NÃO muda. */
.h-home .h-calc,
.h-home .h-cta,
.h-home .h-console-bar,
.h-home .h-calc-out,
.h-home .h-plan-rate,
.h-home .h-metric,
.h-home .h-faq-i,
.h-home .h-tech-i {
    background-color: var(--h-bg);
}
/* Cartões de oferta e planos têm variantes com tom: a base acompanha. */
.h-home .h-plan[data-featured="1"] { background-color: #071410; }
.h-home .h-calc-out { background-color: #06130f; }

/* 7) FONTE MÍNIMA REAL DE 12px
   Medi 10.6px no log do console, 11.5px nos kickers e 11.7px no rótulo do HUD.
   Todos sobem para o piso de legibilidade. */
.h-home .h-term-t,
.h-home .h-term-m,
.h-home .h-kicker,
.h-home .h-console-hud span,
.h-home .h-float,
.h-home .h-trust span,
.h-home .h-cta-mini,
.h-home .h-calc-out .lbl,
.h-home .h-plan-tag,
.h-home .h-numcard-l,
.h-home .h-tech-i span {
    font-size: 12px;
}

/* 8) TEXTO CORTADO DECLARADO COMO INTENCIONAL
   O marquee rola (corte é o efeito) e o .h-atmos é decorativo. Ambos recebem
   aria-hidden no HTML; aqui só garanto que não disputem leitura de tela.
   overflow: clip é o valor moderno para "recorta sem virar área rolável";
   o hidden anterior fica como fallback para navegador que não aceita clip. */
.h-home .h-ticker,
.h-home .h-atmos {
    contain: paint;
    overflow: hidden;
    overflow: clip;
}

/* 9) ALVO DE TOQUE EM LINKS DE TEXTO (mobile)
   Medido 22px de altura nos links do rodapé e da gaveta, e 34px nos links
   dentro de parágrafo. Nada disso é botão, mas precisa de área de dedo. */
/* 12) LINKS DA NOTA DE PLANOS — medidos 18px de altura (3 links).
    padding-block em vez de min-height para o link continuar fluindo no texto. */
.h-home .h-plans-note a {
    padding-block: 13px;
    font-weight: 700;
    color: var(--h-accent);
    text-decoration: underline;
    text-decoration-color: var(--h-accent-line);
    text-underline-offset: 3px;
}
.h-home .h-plans-note a:hover { text-decoration-color: var(--h-accent); }

/* 11) CONTADOR DO ACERVO — 10.9px medidos e acento sobre fundo escuro.
   Vira classe em vez de style inline (que era a menor fonte da página). */
.h-home .h-pool-count {
    font-family: var(--h-mono);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--h-accent);
    white-space: nowrap;
}

/* 10) LINKS DENTRO DO CTA E DO RODAPÉ — área de dedo de 44px
   Medi 34-38px nos links de texto ("Fale sobre revenda", "peça um servidor
   dedicado", "página de planos"). Continuam parecendo texto, mas com alvo cheio. */
.h-home .h-cta p a,
.h-home .h-cta-mini a,
.h-home .h-sec-head p a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 4px;
}
@media (max-width: 640px) {
    .h-home .h-foot a,
    .h-home .h-drawer a,
    .h-home .h-foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }

    /* 12) BOTÃO DENTRO DE CARD — medido em 375px: ".h-btn" de 204px num card
       de 202px (26px para fora). O texto quebra e o botão ocupa a largura do card. */
    .h-home .h-card .h-btn,
    .h-home .h-offer-card .h-btn,
    .h-home .h-camp-card .h-btn {
        white-space: normal;
        text-align: center;
        max-width: 100%;
        width: 100%;
        line-height: 1.35;
        padding-block: 12px;
    }
}
/* ============================================================================
   POLIMENTO TOTAL DA PÁGINA PRINCIPAL — 19/11/2026
   ----------------------------------------------------------------------------
   Método: nada aqui foi "achismo". Rodei pw_auditar_visual em 375/768/1280 e
   tirei print dos três tamanhos; o auditor já dava 100/A, então o que faltava
   era ACABAMENTO — e três defeitos eram visíveis a olho:
     (a) o hambúrguer parava a 1/3 da tela no celular (causa raiz corrigida no
         @media 860, onde o margin-left:auto vivia no menu escondido);
     (b) o hero tinha um parágrafo-muralha de 7 linhas no celular;
     (c) os cartões tinham alturas e hierarquias diferentes entre si.
   Regra mantida: NENHUMA grade de desktop foi reescrita. Só acabamento, ritmo
   e legibilidade — o layout que o dono aprovou continua igual.
   ========================================================================== */

/* --- tokens só deste polimento (nada de cor solta no meio do componente) --- */
.h-home {
    --h-border-soft: rgba(126, 166, 152, 0.06);
    --h-sh-nav: 0 12px 30px rgba(0, 0, 0, 0.34);
    --h-sh-accent-btn: 0 10px 28px rgba(0, 224, 122, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    --h-sh-accent-btn-h: 0 14px 36px rgba(0, 224, 122, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ---------------------------------------------------------------------------
   1) BARRA SUPERIOR — alinhamento, simetria e peso visual
   --------------------------------------------------------------------------- */
/* Fio permanente de 1px: a barra deixa de flutuar solta sobre o hero. O fio
   forte continua entrando quando a página rola (estado .is-stuck). */
.h-nav { border-bottom-color: var(--h-border-soft); }
.h-nav.is-stuck {
    border-bottom-color: var(--h-border);
    box-shadow: var(--h-sh-nav);
}
.h-nav-in { gap: 16px; }

/* Marca: ícone um pouco maior e nome com peso de logotipo. Escopo no .h-nav
   para o logo do rodapé continuar compacto. */
.h-nav .h-brand { gap: 10px; }
.h-nav .h-brand img { width: 36px; height: 36px; }
.h-brand-n { font-size: 1.03rem; font-weight: 800; }
.h-brand-s { letter-spacing: 0.15em; }

/* Hambúrguer: área de 44x44, raio coerente com os botões e estado de hover —
   antes era um quadrado apagado que "sumia" no fundo escuro. */
.h-burger {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--h-border-2);
    color: var(--h-text);
    -webkit-tap-highlight-color: transparent;
    transition: background var(--h-t), border-color var(--h-t), color var(--h-t), transform var(--h-t);
}
.h-burger svg { stroke-width: 2.2; }
.h-burger:hover {
    background: var(--h-accent-dim);
    border-color: var(--h-accent-line);
    color: var(--h-accent);
}
.h-burger:active { transform: scale(0.96); }

/* Gaveta: itens com altura de toque real e respiro de área segura (iPhone). */
.h-drawer-panel {
    padding: 18px 18px max(18px, env(safe-area-inset-bottom));
    gap: 4px;
}
.h-drawer-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 0.95rem;
}
.h-drawer-head { padding-bottom: 12px; margin-bottom: 10px; }
.h-drawer-x { width: 44px; height: 44px; border-radius: 12px; }

/* Âncora não pode esconder o título atrás da barra fixa (defeito real: ao
   clicar em "Planos" no menu, o h2 da seção ficava sob o topo). */
.h-home section[id],
.h-home [id="dedicado"],
.h-home [id="contato"] { scroll-margin-top: 86px; }

/* ---------------------------------------------------------------------------
   2) HERO — ritmo vertical, título e descritivo legível
   --------------------------------------------------------------------------- */
.h-hero {
    padding-top: clamp(34px, 4.6vw, 66px);
    padding-bottom: clamp(44px, 6vw, 88px);
}
.h-hero h1 {
    line-height: 1.1;
    letter-spacing: -0.032em;
    margin-top: 20px;
    max-width: 22ch;
}
.h-lede {
    margin-top: 18px;
    max-width: 54ch;
    line-height: 1.66;
}
.h-hero-actions { margin-top: 26px; gap: 14px; }

/* Linha de destaques do hero (substitui a cauda do parágrafo-muralha):
   informação curta, escaneável e sem repetir o que os cartões já dizem. */
.h-chips {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 58ch;
}
.h-chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px 7px 10px;
    border-radius: var(--h-r-pill);
    border: 1px solid var(--h-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--h-text-2);
    font-size: 0.79rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.h-chips svg { color: var(--h-accent); flex: 0 0 auto; }

.h-hero-note { margin-top: 18px; line-height: 1.45; }
.h-hero-note svg { color: var(--h-accent); }
.h-trust { margin-top: 28px; padding-top: 22px; }
.h-trust-item { font-size: 0.8rem; }

/* ---------------------------------------------------------------------------
   3) BOTÕES — mesma altura, mesmo peso, mesmo raio em toda a página
   --------------------------------------------------------------------------- */
.h-btn {
    letter-spacing: -0.008em;
    border-radius: 12px;
    -webkit-tap-highlight-color: transparent;
}
.h-btn-primary {
    box-shadow: var(--h-sh-accent-btn);
}
.h-btn-primary:hover {
    box-shadow: var(--h-sh-accent-btn-h);
}
.h-btn-ghost,
.h-btn-line {
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.h-btn-ghost:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09); }
.h-btn-lg { padding: 15px 26px; border-radius: 14px; }
.h-btn-line { background: transparent; }

/* ---------------------------------------------------------------------------
   4) CARTÕES — mesma altura, descrição e lista separadas, hover contido
   --------------------------------------------------------------------------- */
.h-cards { align-items: stretch; }
.h-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--h-r-md);
}
/* Fio de acento no topo do cartão ao passar o mouse (mesma linguagem do
   .h-numcard), para o hover ter uma pista além do deslocamento. */
.h-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--h-accent-line), transparent);
    opacity: 0;
    transition: opacity var(--h-t);
    pointer-events: none;
}
.h-card:hover::after { opacity: 1; }
.h-card-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.h-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.h-card p { font-size: 0.9rem; line-height: 1.62; }
/* A lista de detalhes passa a ser um bloco próprio: alinhada ao pé do cartão
   e separada por um fio, em vez de continuar o parágrafo. Assim cartões de
   alturas diferentes terminam alinhados. */
.h-card ul {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--h-border-soft);
    gap: 8px;
}
.h-card ul:first-of-type { margin-top: auto; }
.h-card li { font-size: 0.815rem; line-height: 1.5; }

/* ---------------------------------------------------------------------------
   5) NÚMEROS DE PROVA — número e rótulo alinhados entre cartões
   --------------------------------------------------------------------------- */
.h-numgrid { align-items: stretch; }
.h-numcard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 132px;
}
.h-numcard-v { letter-spacing: -0.04em; }
.h-numcard-l { margin-top: 10px; }

/* ---------------------------------------------------------------------------
   6) CABEÇALHOS DE SEÇÃO — hierarquia e respiro constantes
   --------------------------------------------------------------------------- */
.h-sec-head h2 { line-height: 1.16; }
.h-sec-head p { line-height: 1.68; }
.h-sec-head .h-eyebrow,
.h-sec-head .h-kicker { margin-bottom: 12px; }
.h-kicker { letter-spacing: 0.15em; }

/* ---------------------------------------------------------------------------
   7) PLANOS / FAQ / CTA / RODAPÉ — acabamento fino
   --------------------------------------------------------------------------- */
.h-plan { border-radius: var(--h-r-lg); }
.h-plan-feats { margin-top: 16px; }
.h-plan-cta .h-btn { width: 100%; }
.h-faq-i { border-radius: 12px; }
.h-faq-i:hover { border-color: var(--h-border-2); }
.h-faq-i[data-open="1"]:hover { border-color: var(--h-accent-line); }
.h-cta-actions { margin-top: 0; }
.h-offer-actions .h-btn { min-height: 46px; }
.h-foot h4 { letter-spacing: 0.14em; font-size: 0.76rem; }
.h-foot-links a { line-height: 1.4; }

/* ---------------------------------------------------------------------------
   8) MOBILE (até 640px) — o que o print do dono mostrou
   --------------------------------------------------------------------------- */
@media (max-width: 640px) {
    /* Respiro lateral de 16px (antes 14px): a marca e o hambúrguer passam a
       ter a mesma folga em relação às bordas da tela. */
    .h-wrap { width: min(1220px, 100% - 32px); }
    .h-hero { padding-top: 30px; padding-bottom: 44px; }
    .h-hero h1 {
        font-size: clamp(1.95rem, 8vw, 2.35rem);
        line-height: 1.12;
        margin-top: 16px;
        max-width: none;
    }
    .h-lede { margin-top: 14px; font-size: 1rem; line-height: 1.62; }
    .h-chips { margin-top: 16px; gap: 8px; }
    .h-chips li { font-size: 0.75rem; padding: 6px 11px 6px 9px; }
    .h-hero-actions { margin-top: 22px; gap: 16px; }
    .h-hero-note { font-size: 0.77rem; }
    .h-trust { margin-top: 24px; padding-top: 18px; gap: 10px 16px; }
    .h-trust-item { font-size: 0.77rem; }

    /* Seções: ritmo mais curto cabe melhor na tela pequena, sem virar blocão */
    .h-sec-head { margin-bottom: 24px; }
    .h-sec-head h2 { font-size: clamp(1.45rem, 6.4vw, 1.85rem); line-height: 1.18; }
    .h-sec-head p { font-size: 0.95rem; line-height: 1.62; }
    .h-card { padding: 20px 18px; }
    .h-card h3 { font-size: 1.02rem; }
    .h-numcard { min-height: 0; padding: 16px 15px; }
    .h-numcard-l { margin-top: 8px; }
    .h-plan { padding: 22px 18px; }
    .h-plan-tag { top: -10px; font-size: 0.6rem; }
    .h-faq-q { padding: 14px 15px; font-size: 0.9rem; }
    .h-faq-a p { padding: 0 15px 15px; }
    .h-calc { padding: 20px 16px; }
    .h-calc-out { padding: 18px 16px; }
    .h-foot { padding-top: 40px; }
}

/* Telas muito estreitas (iPhone SE / 360px): nada de aperto no topo */
@media (max-width: 380px) {
    .h-wrap { width: min(1220px, 100% - 24px); }
    .h-nav .h-brand img { width: 32px; height: 32px; }
    .h-brand-n { font-size: 0.98rem; }
    /* 0.78rem = 12.48px: abaixo disso o auditor reprova e, de fato, o chip
       fica ilegível na mão. O espaço é recuperado no gap/padding, não na fonte. */
    .h-chips li { font-size: 0.78rem; }
    .h-chips { gap: 6px; }
}

/* ============================================================================
   CONVERSÃO & SEO — seções novas da página principal (22/11/2026)
   Segmentação, voz de IA, três caminhos de renda, formulário de proposta,
   guias indexáveis e CTA fixa no celular.
   Escopado em .h-home e usando SÓ os tokens do tema: nenhuma cor solta.
   ============================================================================ */
.h-home .h-seg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}
.h-home .h-seg-i {
    display: block;
    padding: 18px 18px 17px;
    border: 1px solid var(--h-border);
    border-radius: var(--h-r-md);
    background: linear-gradient(180deg, var(--h-surface), var(--h-bg-1));
    text-decoration: none;
    transition: border-color var(--h-t), transform var(--h-t), box-shadow var(--h-t), background var(--h-t);
}
.h-home .h-seg-i b {
    display: block;
    color: var(--h-text);
    font-size: 0.93rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 7px;
}
.h-home .h-seg-i span {
    display: block;
    color: var(--h-text-2);
    font-size: 0.82rem;
    line-height: 1.55;
}
.h-home .h-seg-i:hover {
    border-color: var(--h-border-accent);
    transform: translateY(-2px);
    box-shadow: var(--h-sh-2);
}
.h-home .h-seg-i:active { transform: translateY(0); }

/* Onda de áudio do gerador de locução (console da seção de IA) */
.h-home .h-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 56px;
    padding: 0 12px;
    border-radius: var(--h-r-sm);
    background: #070c14;
    border: 1px solid var(--h-border-soft);
    overflow: hidden;
}
.h-home .h-wave i {
    flex: 1 1 0;
    height: var(--h, 40%);
    min-height: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--h-accent), var(--h-cyan));
    opacity: 0.78;
    animation: hWave 1.8s var(--h-ease) infinite alternate;
}
.h-home .h-wave i:nth-child(3n) { animation-duration: 1.4s; }
.h-home .h-wave i:nth-child(3n+1) { animation-duration: 2.2s; }
.h-home .h-wave i:nth-child(4n) { animation-delay: -0.6s; }
@keyframes hWave {
    from { transform: scaleY(0.55); opacity: 0.55; }
    to { transform: scaleY(1); opacity: 0.92; }
}

/* Três caminhos de renda */
.h-home .h-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--h-gap);
    margin-top: 38px;
}
.h-home .h-way {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px 22px;
    border: 1px solid var(--h-border);
    border-radius: var(--h-r-lg);
    background: linear-gradient(180deg, var(--h-surface), var(--h-bg-1));
    box-shadow: var(--h-sh-1);
    transition: border-color var(--h-t), transform var(--h-t), box-shadow var(--h-t);
}
.h-home .h-way::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    border-radius: var(--h-r-lg) var(--h-r-lg) 0 0;
    background: linear-gradient(90deg, var(--h-accent), transparent 70%);
    opacity: 0.85;
}
.h-home .h-way[data-tone="cyan"]::before { background: linear-gradient(90deg, var(--h-cyan), transparent 70%); }
.h-home .h-way[data-tone="violet"]::before { background: linear-gradient(90deg, var(--h-violet), transparent 70%); }
.h-home .h-way:hover { border-color: var(--h-border-2); transform: translateY(-3px); box-shadow: var(--h-sh-2); }
.h-home .h-way-n {
    font-family: var(--h-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--h-accent);
    font-weight: 700;
}
.h-home .h-way[data-tone="cyan"] .h-way-n { color: var(--h-cyan); }
.h-home .h-way[data-tone="violet"] .h-way-n { color: var(--h-violet); }
.h-home .h-way h3 {
    margin: 0;
    font-size: clamp(1.08rem, 1.6vw, 1.3rem);
    line-height: 1.25;
    color: var(--h-text);
    letter-spacing: -0.015em;
}
.h-home .h-way p {
    margin: 0;
    color: var(--h-text-2);
    font-size: 0.87rem;
    line-height: 1.65;
}
.h-home .h-way ul {
    margin: 2px 0 0;
    padding: 13px 0 0;
    list-style: none;
    display: grid;
    gap: 7px;
    border-top: 1px solid var(--h-border-soft);
    margin-top: auto;
}
.h-home .h-way ul li {
    position: relative;
    padding-left: 17px;
    color: var(--h-text-2);
    font-size: 0.82rem;
    line-height: 1.5;
}
.h-home .h-way ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--h-accent);
    box-shadow: 0 0 0 3px var(--h-accent-dim);
}
.h-home .h-way[data-tone="cyan"] ul li::before { background: var(--h-cyan); box-shadow: 0 0 0 3px var(--h-cyan-dim); }
.h-home .h-way[data-tone="violet"] ul li::before { background: var(--h-violet); box-shadow: 0 0 0 3px rgba(164, 150, 255, 0.14); }
.h-home .h-way-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 11px;
    border-radius: var(--h-r-pill);
    border: 1px solid var(--h-border-2);
    background: rgba(126, 166, 152, 0.07);
    color: var(--h-text-3);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.h-home .h-way .h-btn { margin-top: 2px; }

/* Formulário de proposta (bloco de contato) */
.h-home .h-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
    text-align: left;
}
.h-home .h-lead-side h2 { text-align: left; margin: 0 0 14px; }
.h-home .h-lead-side p { color: var(--h-text-2); font-size: 0.93rem; line-height: 1.7; margin: 0; max-width: 46ch; }
.h-home .h-lead-side .h-cta-actions { justify-content: flex-start; }
.h-home .h-lead-side .h-cta-mini { justify-content: flex-start; }

.h-home .h-lead {
    display: grid;
    gap: 13px;
    padding: clamp(20px, 2.6vw, 28px);
    border: 1px solid var(--h-border-2);
    border-radius: var(--h-r-lg);
    background: linear-gradient(180deg, var(--h-surface-2), var(--h-bg-1));
    box-shadow: var(--h-sh-2);
}
.h-home .h-lead-head { display: grid; gap: 5px; margin-bottom: 2px; }
.h-home .h-lead-head b { color: var(--h-text); font-size: 1.02rem; letter-spacing: -0.01em; }
.h-home .h-lead-head span { color: var(--h-text-3); font-size: 0.79rem; line-height: 1.5; }
.h-home .h-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.h-home .h-lead .h-field label { color: var(--h-text-2); font-size: 0.79rem; font-weight: 600; }
.h-home .h-lead .h-field label i { font-style: normal; color: var(--h-text-3); font-weight: 400; }
.h-home .h-lead input,
.h-home .h-lead select,
.h-home .h-lead textarea {
    width: 100%;
    padding: 12px 14px;
    min-height: 46px;
    border-radius: var(--h-r-sm);
    border: 1px solid var(--h-border-2);
    background: #080d16;
    color: var(--h-text);
    font: inherit;
    font-size: 0.9rem;
    transition: border-color var(--h-t), box-shadow var(--h-t), background var(--h-t);
}
.h-home .h-lead textarea { min-height: 84px; resize: vertical; line-height: 1.55; }
.h-home .h-lead input::placeholder,
.h-home .h-lead textarea::placeholder { color: var(--h-text-3); opacity: 0.85; }
.h-home .h-lead input:focus,
.h-home .h-lead select:focus,
.h-home .h-lead textarea:focus {
    outline: none;
    border-color: var(--h-border-accent);
    box-shadow: 0 0 0 3px var(--h-accent-dim);
    background: #0a1119;
}
.h-home .h-lead .h-err { display: none; color: var(--h-rose); font-size: 0.76rem; line-height: 1.4; margin-top: 4px; }
.h-home .h-lead .h-field[data-invalid] .h-err { display: block; }
.h-home .h-lead .h-field[data-invalid] input,
.h-home .h-lead .h-field[data-invalid] select { border-color: rgba(255, 107, 129, 0.6); }
.h-home .h-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.h-home .h-lead-msg { margin: 2px 0 0; font-size: 0.83rem; line-height: 1.5; min-height: 0; }
.h-home .h-lead-msg[data-kind="ok"] { color: var(--h-accent); }
.h-home .h-lead-msg[data-kind="erro"] { color: var(--h-rose); }
.h-home .h-lead-fine { margin: 0; color: var(--h-text-3); font-size: 0.76rem; line-height: 1.5; }
.h-home .h-lead .h-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.h-home .h-lead .h-btn.is-loading { pointer-events: none; }
.h-home .h-lead .h-btn.is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    display: inline-block;
    vertical-align: -2px;
    animation: hSpin 0.7s linear infinite;
}
@keyframes hSpin { to { transform: rotate(360deg); } }

/* Guias indexáveis */
.h-home .h-guides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 32px;
}
.h-home .h-guide-i {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--h-border);
    border-radius: var(--h-r-md);
    background: var(--h-bg-1);
    text-decoration: none;
    transition: border-color var(--h-t), transform var(--h-t), background var(--h-t);
}
.h-home .h-guide-i:hover { border-color: var(--h-border-accent); transform: translateY(-2px); background: var(--h-surface); }
.h-home .h-guide-i b { color: var(--h-text); font-size: 0.95rem; line-height: 1.35; }
.h-home .h-guide-i span { color: var(--h-text-2); font-size: 0.82rem; line-height: 1.55; }
.h-home .h-guide-i em {
    font-style: normal;
    margin-top: auto;
    color: var(--h-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.h-home .h-guides .h-empty { grid-column: 1 / -1; }

/* Link de texto que precisa de alvo de toque real no celular */
.h-home .h-inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 4px;
    color: var(--h-accent);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--h-r-xs);
}
.h-home .h-inline-link:hover { text-decoration: underline; }

/* CTA fixa no celular */
.h-home .h-sticky-cta { display: none; }
@media (max-width: 767px) {
    .h-home .h-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        gap: 10px;
        align-items: center;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(5, 8, 13, 0.94);
        border-top: 1px solid var(--h-border-2);
        backdrop-filter: blur(12px);
        transform: translateY(108%);
        transition: transform 240ms var(--h-ease);
    }
    .h-home .h-sticky-cta.is-on { transform: translateY(0); }
    .h-home .h-sticky-cta .h-btn { min-height: 46px; }
    .h-home .h-sticky-cta .h-btn-block { flex: 1 1 auto; }
    .h-home .h-sticky-cta .h-btn-line { flex: 0 0 auto; padding-inline: 18px; }
    .h-home .h-foot { padding-bottom: calc(var(--h-pad-sec) + 52px); }
}

/* Responsivo das seções novas */
@media (max-width: 1080px) {
    .h-home .h-seg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-home .h-ways { grid-template-columns: 1fr; }
    .h-home .h-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-home .h-lead-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .h-home .h-seg-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
    .h-home .h-seg-i { padding: 16px; }
    .h-home .h-guides { grid-template-columns: 1fr; }
    .h-home .h-lead-row { grid-template-columns: 1fr; }
    .h-home .h-way { padding: 22px 18px 18px; }
    .h-home .h-lead { padding: 18px 16px; }
    .h-home .h-lead-side .h-cta-actions .h-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .h-home .h-wave i { animation: none; opacity: 0.7; }
    .h-home .h-sticky-cta { transition: none; }
}

