/*
 * Habitaria — site institucional (página inicial, privacidade, termos e páginas de erro).
 * Carregado depois de tokens.css: todas as cores vêm de var(--hb-*); misturas usam color-mix sobre tokens.
 */

/* ---------- Variáveis locais (derivadas dos tokens) ---------- */
:root {
    --site-header-h: 64px;
    --site-gutter: var(--hb-gutter);
    --site-on-night: var(--hb-paper);
    --site-on-night-muted: color-mix(in srgb, var(--hb-paper) 72%, var(--hb-night));
    --site-shadow-alpha: .09;
    --site-section-y: clamp(40px, 3vw + 28px, 72px);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --site-on-night: var(--hb-ink);
        --site-on-night-muted: var(--hb-muted);
        --site-shadow-alpha: .42;
    }
}
:root[data-theme="dark"] {
    --site-on-night: var(--hb-ink);
    --site-on-night-muted: var(--hb-muted);
    --site-shadow-alpha: .42;
}
@media (min-width: 640px) { :root { --site-gutter: 24px; } }
@media (min-width: 1100px) { :root { --site-header-h: 72px; --site-gutter: 32px; } }

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--site-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
body.site { overflow-x: hidden; }
main:focus { outline: none; }

h1, h2, h3, h4 {
    font-family: var(--hb-font-display);
    color: var(--hb-ink);
    margin: 0;
    text-wrap: balance;
}
p { margin: 0; }
p + p { margin-top: .85em; }
a { color: var(--hb-primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
ul, ol { margin: 0; padding: 0; }

.hb-icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
    width: min(100% - 2 * var(--site-gutter), var(--hb-max));
    margin-inline: auto;
}
/* Grades de uma coluna não podem crescer com o conteúdo (tabelas, URLs longas): a coluna fica no container. */
.hero__grid, .pain-grid, .origin, .steps, .views-grid, .report-block, .benefits, .method, .method__list,
.demo, .faq, .contact, .lead-form, .lead-form__row, .legal, .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
}

.skip-link {
    position: absolute;
    left: var(--site-gutter);
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--hb-radius-pill);
    background: var(--hb-ink);
    color: var(--hb-paper);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--hb-radius-pill);
    font-family: var(--hb-font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--hb-ease), color .2s var(--hb-ease), border-color .2s var(--hb-ease), transform .2s var(--hb-ease), box-shadow .2s var(--hb-ease);
}
.btn .hb-icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--hb-ease); }
.btn:hover .hb-icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--hb-primary); color: var(--hb-on-primary); box-shadow: var(--hb-shadow-sm); }
.btn--primary:hover { background: var(--hb-primary-strong); }
.btn--ghost { background: transparent; color: var(--hb-ink); border-color: var(--hb-line); }
.btn--ghost:hover { background: var(--hb-surface); border-color: color-mix(in srgb, var(--hb-ink) 30%, var(--hb-line)); }
.btn--sun { background: var(--hb-sun); color: var(--hb-night); }
.btn--sun:hover { background: color-mix(in srgb, var(--hb-sun) 86%, var(--hb-paper)); }
.btn--lg { min-height: 54px; padding: 15px 26px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }

/* ---------- Rótulos de seção ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--hb-font-mono);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hb-primary);
}
.eyebrow__num {
    display: inline-grid;
    place-items: center;
    min-width: 2.4em;
    padding: 3px 7px;
    border: 1px solid currentColor;
    border-radius: var(--hb-radius-pill);
    font-size: .72rem;
    letter-spacing: .04em;
}
.eyebrow--on-dark { color: var(--hb-sun); }

.section { padding-block: var(--site-section-y); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__title {
    font-size: clamp(1.95rem, 1.25rem + 2.6vw, 3.25rem);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.03em;
}
.section__lead {
    margin-top: 18px;
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
    line-height: 1.6;
    color: var(--hb-muted);
    max-width: 62ch;
}
@media (min-width: 960px) {
    .section__head--split {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 48px;
        align-items: end;
        max-width: none;
    }
    .section__head--split .section__lead { margin-top: 0; }
}

.card {
    background: var(--hb-surface);
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-lg);
    padding: clamp(20px, 2.2vw, 28px);
    box-shadow: var(--hb-shadow-sm);
}
.card__title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { color: var(--hb-muted); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 16px; }
.tag {
    padding: 4px 10px;
    border-radius: var(--hb-radius-pill);
    background: var(--hb-soft);
    font-size: .8125rem;
    font-weight: 500;
    color: var(--hb-ink);
}
.pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--hb-radius-pill);
    font-family: var(--hb-font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
    vertical-align: middle;
}
.pill--roadmap { background: var(--hb-sun-soft); color: var(--hb-ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--hb-paper) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--hb-ease), box-shadow .2s var(--hb-ease);
}
.site-header.is-scrolled { border-bottom-color: var(--hb-line); box-shadow: var(--hb-shadow-sm); }
.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--site-header-h);
}
.site-header__brand { display: inline-flex; color: var(--hb-ink); border-radius: var(--hb-radius-sm); margin-right: auto; }
.site-header__logo { height: 30px; width: auto; }
@media (min-width: 1100px) { .site-header__logo { height: 34px; } }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 2px; list-style: none; }
.site-nav__link {
    display: inline-block;
    padding: 8px 12px;
    border-radius: var(--hb-radius-pill);
    color: var(--hb-muted);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav__link:hover { color: var(--hb-ink); background: var(--hb-soft); }

.site-header__actions { display: none; align-items: center; gap: 8px; }
.site-header__login {
    padding: 8px 12px;
    border-radius: var(--hb-radius-pill);
    color: var(--hb-ink);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
}
.site-header__login:hover { background: var(--hb-soft); }

.site-menu { position: static; }
.site-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px 8px 12px;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-pill);
    background: var(--hb-surface);
    color: var(--hb-ink);
    font-weight: 600;
    font-size: .9375rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.site-menu__toggle::-webkit-details-marker { display: none; }
.site-menu__icon { width: 20px; height: 20px; }
.site-menu__icon--close { display: none; }
.site-menu[open] .site-menu__icon--open { display: none; }
.site-menu[open] .site-menu__icon--close { display: block; }
.site-menu__panel {
    position: absolute;
    top: calc(100% + 1px);
    left: calc(-1 * var(--site-gutter));
    right: calc(-1 * var(--site-gutter));
    padding: 8px var(--site-gutter) 24px;
    background: var(--hb-surface);
    border-bottom: 1px solid var(--hb-line);
    box-shadow: var(--hb-shadow);
    max-height: calc(100vh - var(--site-header-h));
    max-height: calc(100dvh - var(--site-header-h));
    overflow-y: auto;
}
.site-menu__list { list-style: none; }
.site-menu__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--hb-line);
    color: var(--hb-ink);
    font-family: var(--hb-font-display);
    font-size: 1.25rem;
    font-weight: 650;
    text-decoration: none;
}
.site-menu__actions { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 720px) {
    .site-header__actions { display: flex; }
    .site-menu__actions { display: none; }
}
@media (min-width: 1100px) {
    .site-nav { display: block; }
    .site-menu { display: none; }
}

/* ---------- Herói ---------- */
.hero {
    position: relative;
    padding-top: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(40px, 5vw, 72px);
    isolation: isolate;
}
.hero::before {
    /* grade de prancheta que some nas bordas */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--hb-line) 70%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--hb-line) 70%, transparent) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, var(--hb-ink) 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, var(--hb-ink) 20%, transparent 75%);
}
.hero__grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero__title {
    font-size: clamp(2.55rem, 1.6rem + 4vw, 4.6rem);
    text-wrap: wrap;
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.04em;
}
.hero__title-accent { color: var(--hb-primary); }
.hero__lead {
    margin-top: 22px;
    max-width: 36em;
    font-size: clamp(1.0625rem, 1rem + .45vw, 1.3rem);
    line-height: 1.6;
    color: var(--hb-muted);
}
.hero__lead strong { color: var(--hb-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 22px;
    max-width: 34em;
    font-size: .9375rem;
    color: var(--hb-muted);
}
.hero__note .hb-icon { margin-top: 2px; color: var(--hb-breeze); }
@media (max-width: 559px) {
    .hero__actions .btn { width: 100%; }
}
@media (min-width: 960px) {
    .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); }
}

/* Ilustração isométrica */
.hero__art {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    aspect-ratio: 640 / 580;
}
.hero-art__svg { width: 100%; height: 100%; overflow: visible; }
.a-slab { fill: var(--hb-soft); }
.a-slab-side { fill: var(--hb-line); }
.a-slab-side--r { fill: color-mix(in srgb, var(--hb-line) 78%, var(--hb-ink)); }
.a-lawn { fill: var(--hb-leaf-soft); }
.a-shadow, .a-tree-shadow { fill: var(--hb-night); opacity: var(--site-shadow-alpha); }
.a-deck { fill: var(--hb-surface); }
.a-water { fill: var(--hb-water); opacity: .6; }
.a-paving { fill: color-mix(in srgb, var(--hb-line) 55%, var(--hb-soft)); }
.a-spot { fill: none; stroke: var(--hb-surface); stroke-width: 1.1; }
.a-spot-home { fill: var(--hb-park); }
.a-tower polygon { stroke: color-mix(in srgb, var(--hb-ink) 16%, transparent); stroke-width: .7; stroke-linejoin: round; }
.a-face-l { fill: var(--hb-primary-soft); }
.a-face-r, .a-top { fill: var(--hb-surface); }
.a-roof { fill: var(--hb-soft); }
.a-lobby { fill: var(--hb-primary); opacity: .5; }
.a-lobby--r { opacity: .35; }
.a-win { fill: var(--hb-primary); opacity: .3; }
.a-win--r { opacity: .18; }
.a-win-home { fill: var(--hb-home); }
.a-home-ring {
    fill: none;
    stroke: var(--hb-home);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center;
    animation: hb-ring 2.6s var(--hb-ease) infinite;
}
.a-trunk { stroke: color-mix(in srgb, var(--hb-leaf) 55%, var(--hb-ink)); stroke-width: 2; }
.a-crown { fill: var(--hb-leaf); }
.a-crown-hi { fill: color-mix(in srgb, var(--hb-leaf) 55%, var(--hb-surface)); }
.a-sunpath { fill: none; stroke: var(--hb-sun); stroke-width: 1.6; stroke-dasharray: 1 8; stroke-linecap: round; }
.a-sunpath-tick { fill: var(--hb-sun); opacity: .55; }
.a-sun-glow {
    fill: var(--hb-sun);
    opacity: .2;
    transform-box: fill-box;
    transform-origin: center;
    animation: hb-glow 5s ease-in-out infinite;
}
.a-sun-disc { fill: var(--hb-sun); }
.a-breeze {
    fill: none;
    stroke: var(--hb-breeze);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 30 16;
    animation: hb-flow 3.4s linear infinite;
}

.hero-art__pin,
.hero-art__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-radius: var(--hb-radius-pill);
    font-size: clamp(.6875rem, .55rem + .45vw, .875rem);
    font-weight: 600;
    line-height: 1.2;
    box-shadow: var(--hb-shadow);
}
.hero-art__pin {
    left: var(--x);
    top: var(--y);
    transform: translate(-72%, calc(-100% - 16px));
    padding: 7px 12px;
    background: var(--hb-ink);
    color: var(--hb-paper);
}
.hero-art__pin::after {
    content: "";
    position: absolute;
    left: 72%;
    top: 100%;
    width: 2px;
    height: 14px;
    background: var(--hb-ink);
    transform: translateX(-1px);
}
.hero-art__pin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hb-home); }
.hero-art__chip {
    padding: 6px 11px 6px 8px;
    background: var(--hb-surface);
    color: var(--hb-ink);
    border: 1px solid var(--hb-line);
    animation: hb-float 7s ease-in-out infinite;
}
.hero-art__chip .hb-icon { width: 1.2em; height: 1.2em; }
.hero-art__chip--sun { right: 29%; top: 5%; }
.hero-art__chip--sun .hb-icon { color: var(--hb-sun); }
.hero-art__chip--wind { left: 0; top: 57%; animation-delay: -2s; }
.hero-art__chip--wind .hb-icon { color: var(--hb-breeze); }
.hero-art__chip--spot { left: 47%; top: 92%; animation-delay: -4s; }
.hero-art__chip--spot .hb-icon { color: var(--hb-park); }

@keyframes hb-ring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes hb-glow { 50% { transform: scale(1.12); opacity: .3; } }
@keyframes hb-flow { to { stroke-dashoffset: -92; } }
@keyframes hb-float { 50% { transform: translateY(-4px); } }

/* Números */
.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(32px, 4vw, 56px);
    list-style: none;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-line);
    overflow: hidden;
}
.facts__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    background: var(--hb-surface);
    font-size: .9375rem;
    color: var(--hb-muted);
    line-height: 1.35;
}
.facts__value {
    font-family: var(--hb-font-display);
    font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--hb-primary);
}
@media (min-width: 860px) {
    .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .facts__item { padding: 22px 24px; }
}

/* ---------- 01 · Problema ---------- */
.pain-grid { display: grid; gap: 16px; }
.pain__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--hb-soft);
    color: var(--hb-ink);
}
.pain__icon .hb-icon { width: 24px; height: 24px; }
@media (min-width: 860px) { .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.origin {
    display: grid;
    gap: 20px;
    margin-top: clamp(24px, 3vw, 40px);
    padding: clamp(24px, 3.4vw, 44px);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-primary-soft);
    color: var(--hb-ink);
}
.origin__mark { display: flex; flex-direction: column; }
.origin__number {
    font-family: var(--hb-font-display);
    font-size: clamp(3.6rem, 2.6rem + 4vw, 6rem);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.05em;
    color: var(--hb-primary);
}
.origin__unit { margin-top: 6px; font-family: var(--hb-font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-primary); }
.origin__title { font-size: 1.375rem; font-weight: 750; letter-spacing: -.015em; margin-bottom: 10px; }
.origin__text p { max-width: 64ch; font-size: 1.0625rem; }
@media (min-width: 860px) {
    .origin { grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
}

/* ---------- 02 · Como funciona ---------- */
.section--how { background: var(--hb-surface); border-block: 1px solid var(--hb-line); }
.steps { display: grid; gap: 32px; list-style: none; counter-reset: step; }
.step { position: relative; }
.step__marker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step__num {
    font-family: var(--hb-font-display);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--hb-primary);
}
.step__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hb-primary-soft);
    color: var(--hb-primary);
}
.step__icon .hb-icon { width: 22px; height: 22px; }
.step__title { font-size: 1.375rem; font-weight: 750; letter-spacing: -.015em; margin-bottom: 10px; }
.step p { color: var(--hb-muted); }
.address-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 9px 14px;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-sm);
    background: var(--hb-paper);
    font-family: var(--hb-font-mono);
    font-size: .8125rem;
}
.address-bar .hb-icon { width: 15px; height: 15px; color: var(--hb-good); }
.address-bar__url { min-width: 0; color: var(--hb-muted); }
.address-bar__part { white-space: nowrap; }
.address-bar__part:last-child { color: var(--hb-ink); font-weight: 600; }
.step .address-bar { color: var(--hb-ink); }
@media (min-width: 860px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
    .step__marker::after {
        content: "";
        flex: 1;
        height: 0;
        border-top: 2px dashed var(--hb-line);
        margin-left: 4px;
    }
    .step:last-child .step__marker::after { border-top-color: transparent; }
}

/* ---------- 03 · O que o comprador vê ---------- */
.views-grid { display: grid; gap: 12px; list-style: none; }
.view-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px 20px;
    background: var(--hb-surface);
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius);
    transition: border-color .2s var(--hb-ease), box-shadow .2s var(--hb-ease), transform .2s var(--hb-ease);
}
.view-card:hover { border-color: color-mix(in srgb, var(--hb-primary) 40%, var(--hb-line)); box-shadow: var(--hb-shadow); }
.view-card__num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-family: var(--hb-font-mono);
    font-size: .75rem;
    color: var(--hb-muted);
}
.view-card__icon {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hb-primary-soft);
    color: var(--hb-primary);
}
.view-card__icon .hb-icon { width: 24px; height: 24px; }
.view-card__title { font-size: 1.125rem; font-weight: 720; letter-spacing: -.01em; padding-right: 24px; margin-bottom: 4px; }
.view-card p { font-size: .9375rem; color: var(--hb-muted); line-height: 1.5; }
.view-card:first-child .view-card__icon { background: var(--hb-home-soft); color: var(--hb-home); }
@media (min-width: 600px) {
    .views-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1060px) {
    .views-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .view-card { display: block; padding: 22px; }
    .view-card__icon { margin-bottom: 16px; }
}

.report-block {
    display: grid;
    gap: 40px;
    margin-top: clamp(48px, 6vw, 88px);
    align-items: center;
}
.report-block__title {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.025em;
    max-width: 18ch;
}
.extras { list-style: none; display: grid; gap: 22px; margin-top: 28px; }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
.extra__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--hb-line);
    background: var(--hb-surface);
    color: var(--hb-primary);
}
.extra__icon .hb-icon { width: 22px; height: 22px; }
.extra__title { font-size: 1.125rem; font-weight: 720; margin-bottom: 4px; }
.extra p { color: var(--hb-muted); }
@media (min-width: 960px) {
    .report-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}

.sample-report { margin: 0; }
.sample-report__card {
    max-width: 460px;
    margin-inline: auto;
    padding: clamp(20px, 2.6vw, 28px);
    background: var(--hb-surface);
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-lg);
    box-shadow: var(--hb-shadow-lg);
}
@media (min-width: 960px) {
    .sample-report__card { transform: rotate(-1.2deg); }
}
.sample-report__kicker { font-family: var(--hb-font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hb-muted); }
.sample-report__unit { margin-top: 6px; font-family: var(--hb-font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.sample-report__meta { margin-top: 4px; font-size: .875rem; color: var(--hb-muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: 16px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 8px;
    border-radius: var(--hb-radius-pill);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--hb-ink);
}
.badge .hb-icon { width: 16px; height: 16px; }
.badge--sun { background: var(--hb-sun-soft); }
.badge--sun .hb-icon { color: var(--hb-sun); }
.badge--wind { background: var(--hb-breeze-soft); }
.badge--wind .hb-icon { color: var(--hb-breeze); }
.badge--view { background: var(--hb-primary-soft); }
.badge--view .hb-icon { color: var(--hb-primary); }

.sun-chart { margin-top: 20px; padding: 14px 14px 10px; border-radius: var(--hb-radius); background: var(--hb-paper); }
.sun-chart__title { font-size: .8125rem; font-weight: 600; color: var(--hb-muted); margin-bottom: 10px; }
.sun-chart__bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; list-style: none; }
.sun-chart__bar {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 18px;
}
.sun-chart__bar::before {
    content: "";
    width: 100%;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: var(--hb-sun);
}
.sun-chart__month {
    position: absolute;
    bottom: 0;
    font-family: var(--hb-font-mono);
    font-size: .6875rem;
    color: var(--hb-muted);
    text-transform: uppercase;
}
.sample-report__lists { display: grid; gap: 14px; margin-top: 18px; }
.sample-report__list-title { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--hb-ink); }
.sample-report__list-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hb-good); }
.sample-report__list-title--warn::before { background: var(--hb-mid); }
.sample-report__list { margin-top: 6px; padding-left: 18px; font-size: .875rem; color: var(--hb-muted); }
.sample-report__list li + li { margin-top: 4px; }
.sample-report__source {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--hb-line);
    font-family: var(--hb-font-mono);
    font-size: .72rem;
    color: var(--hb-muted);
}
.sample-report__caption {
    max-width: 460px;
    margin: 18px auto 0;
    font-size: .875rem;
    font-style: italic;
    color: var(--hb-muted);
    text-align: center;
}

/* ---------- 04 · Incorporadoras ---------- */
.section--business { background: var(--hb-surface); border-block: 1px solid var(--hb-line); }
.benefits { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--hb-line); }
.benefit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--hb-line);
}
.benefit__icon {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--hb-primary);
    color: var(--hb-on-primary);
}
.benefit__icon .hb-icon { width: 24px; height: 24px; }
.benefit__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 1.1875rem;
    font-weight: 720;
    letter-spacing: -.01em;
    margin-bottom: 6px;
}
.benefit p { color: var(--hb-muted); }
.benefit--roadmap .benefit__icon { background: transparent; color: var(--hb-primary); border: 1.5px dashed var(--hb-primary); }
@media (min-width: 720px) {
    .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1060px) {
    .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
    .benefit { display: block; padding: 32px 0; }
    .benefit__icon { margin-bottom: 18px; }
}

/* ---------- 05 · Metodologia ---------- */
.method { display: grid; gap: 32px; }
.method__list { display: grid; gap: 12px; margin: 0; }
.method__item {
    --tone: var(--hb-primary);
    --tone-soft: var(--hb-primary-soft);
    padding: 20px;
    border-radius: var(--hb-radius);
    background: var(--hb-surface);
    border: 1px solid var(--hb-line);
}
.method__item--sun { --tone: var(--hb-sun); --tone-soft: var(--hb-sun-soft); }
.method__item--breeze { --tone: var(--hb-breeze); --tone-soft: var(--hb-breeze-soft); }
.method__item--leaf { --tone: var(--hb-leaf); --tone-soft: var(--hb-leaf-soft); }
.method__item--water { --tone: var(--hb-water); --tone-soft: color-mix(in srgb, var(--hb-water) 16%, var(--hb-surface)); }
.method__item--home { --tone: var(--hb-home); --tone-soft: var(--hb-home-soft); }
.method__term {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--hb-font-display);
    font-size: 1.1875rem;
    font-weight: 750;
    color: var(--hb-ink);
}
.method__icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--tone-soft);
    color: var(--tone);
}
.method__icon .hb-icon { width: 22px; height: 22px; }
.method__desc { margin: 10px 0 0; color: var(--hb-muted); font-size: .9688rem; }

.limits {
    align-self: start;
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: var(--hb-radius-lg);
    background: var(--hb-sun-soft);
    border: 1px solid color-mix(in srgb, var(--hb-sun) 35%, transparent);
}
.limits__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 750; }
.limits__title .hb-icon { color: var(--hb-mid); width: 24px; height: 24px; }
.limits__list { margin-top: 16px; padding-left: 20px; display: grid; gap: 10px; }
.limits__list li::marker { color: var(--hb-mid); }
.limits__sources {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--hb-sun) 35%, transparent);
    font-family: var(--hb-font-mono);
    font-size: .78rem;
    color: var(--hb-ink);
}
.limits__sources span { display: block; color: var(--hb-muted); margin-bottom: 4px; }
@media (min-width: 720px) {
    .method__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1060px) {
    .method { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 40px; }
    .limits { position: sticky; top: calc(var(--site-header-h) + 24px); }
}

/* ---------- 06 · Demonstração ---------- */
.section--demo { background: var(--hb-night); color: var(--site-on-night); }
.demo { display: grid; gap: 40px; align-items: center; }
.demo__title {
    color: var(--site-on-night);
    font-size: clamp(1.95rem, 1.25rem + 2.6vw, 3.25rem);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.03em;
}
.demo__lead { margin-top: 18px; max-width: 54ch; font-size: 1.125rem; color: var(--site-on-night-muted); }
.demo__card {
    margin-top: 32px;
    padding: clamp(22px, 2.8vw, 32px);
    border-radius: var(--hb-radius-lg);
    background: color-mix(in srgb, var(--site-on-night) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--site-on-night) 16%, transparent);
}
.demo__kicker { font-family: var(--hb-font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hb-sun); }
.demo__name { margin-top: 8px; font-family: var(--hb-font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.demo__place { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--site-on-night-muted); }
.demo__place .hb-icon { width: 18px; height: 18px; color: var(--hb-home); }
.demo__stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; list-style: none; color: var(--site-on-night-muted); }
.demo__stats strong {
    display: block;
    font-family: var(--hb-font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--hb-sun);
}
.demo__tagline { margin-top: 18px; color: var(--site-on-night); }
.demo__card .btn { margin-top: 24px; }
.demo__disclaimer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    max-width: 70ch;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--site-on-night-muted);
}
.demo__disclaimer .hb-icon { width: 18px; height: 18px; margin-top: 1px; }
.demo__art { display: none; max-width: 420px; width: 100%; margin-inline: auto; }
@media (min-width: 720px) { .demo__art { display: block; } }
.demo__art svg { width: 100%; height: auto; overflow: visible; }
.demo-art__arc { fill: none; stroke: var(--hb-sun); stroke-width: 1.5; stroke-dasharray: 1 7; stroke-linecap: round; }
.demo-art__sun { fill: var(--hb-sun); }
.demo-art__towers rect { fill: color-mix(in srgb, var(--site-on-night) 9%, var(--hb-night)); stroke: color-mix(in srgb, var(--site-on-night) 22%, transparent); }
.demo-art__windows { fill: color-mix(in srgb, var(--site-on-night) 24%, transparent); }
.demo-art__home { fill: var(--hb-home); }
.demo-art__ring {
    fill: none;
    stroke: var(--hb-home);
    stroke-width: 1.5;
    transform-box: fill-box;
    transform-origin: center;
    animation: hb-ring 2.6s var(--hb-ease) infinite;
}
.demo-art__ground { stroke: color-mix(in srgb, var(--site-on-night) 30%, transparent); stroke-width: 1.5; }
@media (min-width: 960px) {
    .demo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; }
}

/* ---------- 07 · Perguntas ---------- */
.faq { display: grid; gap: 8px; }
.faq__head { margin-bottom: 16px; }
.faq__list { border-top: 1px solid var(--hb-line); }
.faq__item { border-bottom: 1px solid var(--hb-line); }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 2px;
    font-family: var(--hb-font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--hb-primary); }
.faq__chevron { width: 22px; height: 22px; color: var(--hb-muted); transition: transform .2s var(--hb-ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 2px 22px; max-width: 68ch; color: var(--hb-muted); }
@media (min-width: 960px) {
    .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
    .faq__head { position: sticky; top: calc(var(--site-header-h) + 24px); }
}

/* ---------- 08 · Contato ---------- */
.section--contact { background: var(--hb-soft); border-top: 1px solid var(--hb-line); }
.contact { display: grid; gap: 40px; }
.next-steps { list-style: none; counter-reset: next; display: grid; gap: 14px; margin-top: 28px; }
.next-steps li {
    counter-increment: next;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    color: var(--hb-muted);
}
.next-steps li::before {
    content: counter(next);
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--hb-primary);
    color: var(--hb-on-primary);
    font-family: var(--hb-font-display);
    font-weight: 700;
    font-size: .9375rem;
}
.next-steps strong { color: var(--hb-ink); }
.next-steps p { padding-top: 3px; }
.contact__privacy { display: flex; gap: 10px; margin-top: 28px; font-size: .875rem; color: var(--hb-muted); }
.contact__privacy .hb-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--hb-good); }
.contact__panel {
    padding: clamp(20px, 3vw, 36px);
    background: var(--hb-surface);
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-lg);
    box-shadow: var(--hb-shadow);
}
@media (min-width: 960px) {
    .contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
    .contact__intro { position: sticky; top: calc(var(--site-header-h) + 24px); }
}

.notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: var(--hb-radius);
    border: 1px solid;
}
.notice:focus-visible { outline: none; box-shadow: var(--hb-focus); }
.notice > .hb-icon { width: 22px; height: 22px; margin-top: 1px; }
.notice__title { font-weight: 700; color: var(--hb-ink); }
.notice p + p { margin-top: 2px; }
.notice--success { background: var(--hb-leaf-soft); border-color: color-mix(in srgb, var(--hb-good) 45%, transparent); }
.notice--success > .hb-icon { color: var(--hb-good); }
.notice--error { background: var(--hb-home-soft); border-color: color-mix(in srgb, var(--hb-low) 45%, transparent); }
.notice--error > .hb-icon { color: var(--hb-low); }
.notice__list { margin-top: 6px; padding-left: 18px; }
.notice__list a { color: var(--hb-ink); }

.lead-form { display: grid; gap: 18px; }
.lead-form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .lead-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-size: .9375rem; font-weight: 600; color: var(--hb-ink); }
.field__optional { font-weight: 400; color: var(--hb-muted); }
.field__hint { font-size: .8125rem; color: var(--hb-muted); margin-top: -2px; }
.field__control {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius-sm);
    background: var(--hb-paper);
    color: var(--hb-ink);
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .15s var(--hb-ease), box-shadow .15s var(--hb-ease), background-color .15s var(--hb-ease);
}
.field__control::placeholder { color: color-mix(in srgb, var(--hb-muted) 75%, transparent); }
.field__control:hover { border-color: color-mix(in srgb, var(--hb-ink) 28%, var(--hb-line)); }
.field__control:focus { outline: none; border-color: var(--hb-primary); box-shadow: var(--hb-focus); background: var(--hb-surface); }
textarea.field__control { min-height: 120px; resize: vertical; }
.field__select { position: relative; display: block; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__select::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--hb-muted);
    border-bottom: 2px solid var(--hb-muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.field--invalid .field__control { border-color: var(--hb-low); }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--hb-low); }
.field__error .hb-icon { width: 16px; height: 16px; margin-top: 2px; }
.field--check {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: var(--hb-radius-sm);
    background: var(--hb-paper);
}
.field--check .field__error { grid-column: 1 / -1; }
.check__input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--hb-primary); cursor: pointer; }
.check__label { font-size: .9375rem; color: var(--hb-ink); line-height: 1.5; cursor: pointer; }
.lead-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__submit { width: 100%; }
@media (min-width: 640px) { .lead-form__submit { width: auto; justify-self: start; } }

/* ---------- Rodapé ---------- */
.site-footer {
    padding-block: 56px 28px;
    background: var(--hb-night);
    color: var(--site-on-night);
    font-size: .9375rem;
}
.site-footer a { color: var(--site-on-night); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__brand a { display: inline-flex; color: var(--site-on-night); border-radius: var(--hb-radius-sm); }
.site-footer__logo { height: 34px; width: auto; }
.site-footer__tagline { margin-top: 14px; color: var(--site-on-night-muted); }
.site-footer__product { color: var(--site-on-night); }
.site-footer__members { margin-top: 4px; color: var(--site-on-night-muted); }
.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__nav a { text-decoration: none; font-weight: 600; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__legal p + p { margin-top: 0; }
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--site-on-night) 14%, transparent);
    font-size: .8125rem;
    color: var(--site-on-night-muted);
}
@media (min-width: 860px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: start; }
}

/* ---------- Páginas legais (privacidade, termos) ---------- */
.legal-hero { padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--hb-line); }
.legal-hero__title {
    font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.75rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.legal-hero__lead { margin-top: 18px; max-width: 64ch; font-size: 1.125rem; color: var(--hb-muted); }
.legal-hero__meta { margin-top: 16px; font-family: var(--hb-font-mono); font-size: .8125rem; color: var(--hb-muted); }
.legal { display: grid; gap: 32px; padding-block: clamp(32px, 5vw, 64px) var(--site-section-y); }
.legal__body { min-width: 0; }
.legal__toc {
    padding: 18px 20px;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius);
    background: var(--hb-surface);
    font-size: .9375rem;
}
.legal__toc-title { font-family: var(--hb-font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hb-muted); margin-bottom: 10px; }
.legal__toc ol { padding-left: 20px; display: grid; gap: 6px; }
.legal__toc a { color: var(--hb-ink); text-decoration: none; }
.legal__toc a:hover { color: var(--hb-primary); text-decoration: underline; }
.legal__body { max-width: 72ch; font-size: 1.0313rem; }
.legal__body section + section { margin-top: 44px; }
.legal__body h2 {
    font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.legal__body h3 { font-size: 1.125rem; font-weight: 700; margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--hb-ink); }
.legal__body ul, .legal__body ol { padding-left: 22px; margin-top: 12px; display: grid; gap: 8px; }
.legal__body p + ul, .legal__body ul + p, .legal__body .table-wrap + p { margin-top: 12px; }
.legal__body .note {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 3px solid var(--hb-primary);
    border-radius: 0 var(--hb-radius-sm) var(--hb-radius-sm) 0;
    background: var(--hb-primary-soft);
}
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--hb-line); border-radius: var(--hb-radius); }
.legal__body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; background: var(--hb-surface); }
.legal__body th, .legal__body td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hb-line); }
.legal__body th { font-weight: 650; background: var(--hb-soft); }
.legal__body tr:last-child td { border-bottom: 0; }
@media (max-width: 639px) {
    /* Tabelas viram fichas empilhadas no celular */
    .table-wrap { overflow: visible; border: 0; }
    .legal__body table { min-width: 0; background: transparent; }
    .legal__body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .legal__body table, .legal__body tbody, .legal__body tr, .legal__body td { display: block; }
    .legal__body tr {
        margin-bottom: 12px;
        border: 1px solid var(--hb-line);
        border-radius: var(--hb-radius);
        background: var(--hb-surface);
        overflow: hidden;
    }
    .legal__body td { padding: 10px 14px; }
    .legal__body tr:last-child td { border-bottom: 1px solid var(--hb-line); }
    .legal__body td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-family: var(--hb-font-mono);
        font-size: .72rem;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--hb-muted);
    }
    .legal__body tr td:last-child { border-bottom: 0; }
}
.legal__body code { font-family: var(--hb-font-mono); font-size: .875em; padding: 1px 5px; border-radius: 5px; background: var(--hb-soft); }
@media (min-width: 1060px) {
    .legal { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
    .legal__toc { position: sticky; top: calc(var(--site-header-h) + 24px); }
}

/* ---------- Páginas de erro ---------- */
.error-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--hb-paper);
}
.error-page__top { padding: 20px var(--site-gutter); }
.error-page__top img { height: 30px; width: auto; }
.error-page__main { display: grid; place-items: center; padding: 24px var(--site-gutter) 48px; }
.error-card { width: min(100%, 560px); text-align: left; }
.error-card__code {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--hb-font-mono);
    font-size: .8125rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hb-primary);
}
.error-card__code::after { content: ""; flex: 1; height: 1px; background: var(--hb-line); }
.error-card__title {
    margin-top: 18px;
    font-size: clamp(2.1rem, 1.5rem + 3vw, 3.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.error-card__text { margin-top: 16px; font-size: 1.125rem; color: var(--hb-muted); }
.error-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.error-card__art { width: 132px; height: auto; margin-bottom: 24px; overflow: visible; }
.error-art__arc { fill: none; stroke: var(--hb-sun); stroke-width: 1.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.error-art__sun { fill: var(--hb-sun); }
.error-art__tower { fill: var(--hb-surface); stroke: var(--hb-primary); stroke-width: 1.5; stroke-dasharray: 5 4; }
.error-art__floors { fill: none; stroke: var(--hb-line); stroke-width: 1; }
.error-art__home { fill: var(--hb-home); }
.error-art__ground { fill: none; stroke: var(--hb-muted); stroke-width: 1.5; }
.error-page__foot { padding: 20px var(--site-gutter) 28px; font-size: .8125rem; color: var(--hb-muted); text-align: center; }
@media (max-width: 559px) { .error-card__actions .btn { width: 100%; } }


/* ---- Ajuste editorial (20/11): home enxuta, tipografia mais contida, conteúdo detalhado em páginas ---- */
body { font-size: .9375rem; }
.eyebrow__num { display: none; }
.hero__title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); }
.hero__lead { font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); max-width: 46ch; }
.section__title { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); }
.section__lead { font-size: 1rem; max-width: 60ch; }
.card__title, .step__title, .origin__title { font-size: 1.0625rem; }
.origin__text p { font-size: .9375rem; }
.legal-hero__title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.section--compact { padding-block: clamp(32px, 5vw, 56px); }
.views-compact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.views-compact li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--hb-line); border-radius: var(--hb-radius); background: var(--hb-surface); font-weight: 600; font-size: .875rem; }
.views-compact .view-card__icon { flex: none; }
.page-cta__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--hb-radius-lg); background: var(--hb-primary-soft); }
.page-cta__text { margin: 0; font-family: var(--hb-font-display); font-weight: 700; font-size: 1.2rem; }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.views-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .views-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
