/*
 * Motif — estilos globais provisórios (para testes), baseados na identidade
 * da newsletter: Montserrat, preto sobre branco, laranja #f23809 e a borda
 * lateral. Toda a parte visual será refeita.
 */

:root {
    --ink: #000;
    --paper: #fff;
    --accent: #f23809;
    --muted: #6b6b6b;
    --line: #e6e6e6;
    --font: 'Montserrat', Arial, sans-serif;
    --measure: 680px;
    --wide: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 var(--font);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.frame {
    min-height: 100vh;
    border-left: 5px solid var(--accent);
    display: flex;
    flex-direction: column;
}

/* Cabeçalho */
.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 32px;
    width: 100%;
    max-width: var(--wide);
    margin: 0 auto;
    padding: 40px 24px 32px;
}

.wordmark {
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -3px;
    text-decoration: none;
}
.wordmark img { max-height: 44px; width: auto; }
.wordmark--small { font-size: 28px; letter-spacing: -2px; margin: 0; }

.site-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-nav a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Estrutura */
main { flex: 1; }

.shell {
    width: 100%;
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 24px 64px;
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; color: var(--accent); }

.empty { color: var(--muted); }

/* Páginas (Pages) e 404 */
.cms-content-shell { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 16px 24px 64px; }
.content-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.content-page h1, .error-page h1 { font-size: 40px; line-height: 1.1; letter-spacing: -1.5px; margin: 0 0 24px; }
.content-page-image { margin: 0 0 32px; }
.content-page-body > :first-child { margin-top: 0; }

/* Rodapé */
.site-footer {
    width: 100%;
    max-width: var(--wide);
    margin: 0 auto;
    padding: 40px 24px 48px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
}
.footer-callout p { margin: 4px 0; }
.footer-note { color: var(--muted); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; color: var(--muted); }
.footer-meta a { text-decoration: none; }

/* Consentimento de cookies */
.cookie-consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
    max-width: 560px; padding: 20px; background: var(--paper); border: 1px solid var(--ink);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent p { margin: 4px 0 12px; font-size: 14px; }
.cookie-consent-actions { display: flex; gap: 8px; }
.cookie-consent button, .privacy-settings-trigger {
    font: 700 12px/1 var(--font); letter-spacing: 1px; text-transform: uppercase;
    padding: 10px 14px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer;
}
.cookie-consent .cookie-consent-accept { background: var(--ink); color: var(--paper); }
.privacy-settings-trigger { position: fixed; right: 16px; bottom: 16px; z-index: 900; }

@media (min-width: 768px) {
    .frame { border-left-width: 8px; }
    .site-header { padding: 64px 48px 48px; }
    .shell, .site-footer { padding-left: 48px; padding-right: 48px; }
    .wordmark { font-size: 48px; }
}
