.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.site-header__brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.site-header__brand:hover { text-decoration: none; opacity: 0.8; }
.site-header__nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.92rem; font-weight: 500; }
.site-header__session { font-size: 0.8rem; color: var(--text-muted); padding: 0.2rem 0.6rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-full); }

.site-main { padding: 0; max-width: 100%; margin: 0; }

/* text-muted (não text-faint) - o Lighthouse confirmou que text-faint (2.45:1)
   falha WCAG AA contra o fundo do footer; text-muted passa (4.55:1). */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; margin-top: 3rem; }
.site-footer__inner {
    max-width: 1080px; margin: 0 auto; padding: 3rem 2rem 2rem;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem;
}
.site-footer__brand .site-footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--text); }
.site-footer__brand p { margin: 0.6rem 0 0; max-width: 320px; line-height: 1.55; }
.site-footer__heading { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); margin-bottom: 0.85rem; }
.site-footer__col { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer__col a { color: var(--text-muted); }
.site-footer__col a:hover { color: var(--primary); text-decoration: none; }
.site-footer__bottom { max-width: 1080px; margin: 0 auto; padding: 1.25rem 2rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text-faint); }

@media (max-width: 720px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; padding: 2.5rem 1.5rem 1.5rem; }
    .site-footer__brand { grid-column: 1 / -1; margin-bottom: 0.5rem; }
}

/* Aviso de cookies - barra fixa no fundo, só informativa (cookies estritamente
   necessários não exigem opt-in), desaparece ao clicar e fica lembrado em
   localStorage (ver themes/weo/js/cookie-banner.js). bottom usa env()
   safe-area para não ficar tapado pela barra de ferramentas do Safari/Chrome
   móvel; max() garante 1rem mesmo em browsers sem notch/inset. z-index alto
   e pointer-events explícito para não ficar por baixo de nada por engano. */
.weo-notice-bar {
    position: fixed; left: 1rem; right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    z-index: 9999; pointer-events: auto;
    max-width: 640px; margin: 0 auto;
    background: var(--navy); color: rgba(255, 255, 255, .92);
    border-radius: var(--radius); box-shadow: var(--shadow-md);
    padding: 1rem 1.25rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
/* [hidden] e .weo-notice-bar têm a mesma especificidade (0,0,1,0) - sem isto,
   o display:flex acima (que vem depois da folha de estilos do browser na
   cascata) ganhava ao display:none do atributo hidden, e o JS nunca
   conseguia esconder a barra visualmente mesmo definindo bar.hidden = true. */
.weo-notice-bar[hidden] { display: none; }
.weo-notice-bar p { margin: 0; font-size: 0.85rem; line-height: 1.5; flex: 1; min-width: 220px; }
.weo-notice-bar a { color: #fff; text-decoration: underline; }
.weo-notice-bar .btn { flex-shrink: 0; position: relative; z-index: 1; }

.hero {
    text-align: center;
    padding: 5rem 1.5rem 4.5rem;
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}
.hero h1 { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero__subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; margin: 0 auto; line-height: 1.55; }

.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 880px; margin: -2.5rem auto 4rem; padding: 0 1.5rem; position: relative; }
.cta-card {
    display: block;
    background: var(--surface);
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: inherit;
    transition: transform .15s, border-color .15s, box-shadow .15s;
}
.cta-card:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); }
.cta-card h2 { margin: 0 0 0.5rem; font-size: 1.15rem; color: var(--primary); }
.cta-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

@media (max-width: 640px) {
    .cta-grid { grid-template-columns: 1fr; margin-top: 1.5rem; }
    .hero { padding: 3rem 1.25rem 2rem; }
    .hero h1 { font-size: 2rem; }
}

/* Páginas legais (privacidade/termos/eliminação de dados) - artigo simples,
   sem o hero/CTA da home. */
.legal-page { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 5rem; line-height: 1.6; }
.legal-page h1 { font-size: 2rem; margin-bottom: 0.3rem; }
.legal-page__updated { color: var(--text-faint); font-size: 0.85rem; margin: 0 0 2rem; }
.legal-page h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal-page p, .legal-page li { color: var(--text-muted); }
.legal-page ul, .legal-page ol { color: var(--text-muted); padding-left: 1.3rem; }
.legal-page li + li { margin-top: 0.5rem; }
.legal-page code { font-size: 0.85em; }
.legal-page__notice {
    background: var(--warning-soft); color: var(--warning-soft-text);
    border: 1px solid var(--warning); border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem; font-size: 0.88rem; margin-bottom: 2rem; line-height: 1.5;
}
.legal-page__table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.85rem; }
.legal-page__table th, .legal-page__table td { text-align: left; padding: 0.6rem 0.75rem; border: 1px solid var(--border); vertical-align: top; }
.legal-page__table th { background: var(--bg); color: var(--text-muted); font-weight: 600; }
.legal-page__table td:first-child { white-space: nowrap; font-weight: 600; }
