/* A tela de voto compartilha os tokens e os painéis da página inicial. */
.vote-page {
    --primary: var(--festive);
    --primary-dark: var(--pine);
    --primary-light: var(--cream);
    --christmas-red: var(--festive);
    --christmas-red-dark: #941b14;
    --christmas-green: var(--pine);
    --institutional-green: var(--gold);
    --ink: var(--foreground);
    --muted: var(--muted-foreground);
    --line: #e7d9c1;
    --radius: 24px;
    line-height: 1.5;
}

.vote-header-spacer { height: 84px; flex-shrink: 0; }
.vote-page .container { width: calc(100% - 32px); max-width: 1120px; }
.vote-page .main-content { padding-block: 24px 0; }
.vote-page .vote {
    max-width: none;
    padding: 64px 48px 40px;
    border-radius: 32px;
    color: #fff;
}
.vote-page .back { color: var(--peach); }
.vote-page .back:hover { color: #fff; }
.vote-page .vote-heading .section-label { color: var(--gold); letter-spacing: .2em; }
.vote-page .vote-heading h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
    margin-block: 16px;
}
.vote-page .vote-heading p { color: #ffffffd9; }
.vote-page .vote-layout {
    padding: 32px;
    border-radius: 24px;
    background: var(--pine);
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.vote-page .vote-tree-card {
    padding: 12px;
    border: 0;
    background: #fff;
    box-shadow: 0 6px 0 var(--festive);
}
.vote-page .vote-photo-wrapper { aspect-ratio: 1; border-radius: 16px; }
.vote-page .tree-number {
    background: #fff;
    color: var(--festive);
    border-radius: 999px;
    top: 12px;
    left: 12px;
}
.vote-page .vote-tree-body { padding: 20px 8px 12px; text-align: center; }
.vote-page .card-category { color: var(--festive); }
.vote-page .vote-tree-body h2 { color: var(--foreground); font-size: 22px; }
.vote-page .vote-tree-body p { color: var(--muted); }
.vote-page .vote-form-card {
    padding: 28px;
    border: 0;
    background: #fff;
    color: var(--foreground);
    box-shadow: 0 6px 0 var(--festive);
}
.vote-page .vote-form-icon {
    background: var(--peach);
    color: var(--festive);
    border-radius: 50%;
}
.vote-page .vote-form-heading h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 28px;
}
.vote-page .vote-form input { border-radius: 999px; background: var(--cream); }
.vote-page .captcha-wrapper,
.vote-page .cf-turnstile { width: 100%; }
.vote-page .privacy-box { border: 0; border-radius: 16px; background: #eef4eb; }
.vote-page .confirm-vote-button { border-radius: 999px; }
.vote-page .confirm-vote-button:hover { background: var(--pine); }
.vote-page .notice { border-radius: 16px; }
.vote-page .instructions { padding-block: 80px; border: 0; }
.vote-page .instructions-heading > .section-label { display: none; }
.vote-page .instructions-heading h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: clamp(30px, 4vw, 48px);
}
.vote-page .instruction-item { background: transparent; border: 0; box-shadow: none; }
.vote-page .step-number {
    width: 96px;
    height: 96px;
    border: 6px solid var(--pine);
    background: var(--peach);
    box-shadow: 0 0 0 6px var(--festive);
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    margin-bottom: 24px;
}
.vote-page .footer-institutional {
    width: calc(100% - 32px);
    max-width: 1120px;
    margin: 0 auto 24px;
    padding: 56px 32px 0;
    border: 0;
    border-radius: 32px;
}
.vote-page .footer-institutional .container { width: 100%; }
.vote-page .footer-logo { display: none; }
.vote-page .footer-brand strong { font-family: 'Oswald', sans-serif; font-size: 24px; text-transform: uppercase; }
.vote-page .footer-brand p,
.vote-page .footer-bottom { color: #ffffffb3; }
.vote-page .footer-partners p,
.vote-page .footer-links a,
.vote-page .footer-links span { color: #ffffffd9; }

@media (max-width: 768px) {
    .vote-page .vote { padding: 56px 24px 32px; }
    .vote-page .vote-layout { grid-template-columns: 1fr; padding: 24px; }
    .vote-page .vote-form-card { padding: 24px; }
    .vote-page .instructions { padding-block: 60px; }
}

@media (max-width: 480px) {
    .vote-page .vote-layout { padding: 16px; }
    .vote-page .vote-form-card { padding: 20px 16px; }
    .vote-page .vote-form-heading h2 { font-size: 25px; }
    .vote-page .footer-institutional { padding-inline: 24px; }
}
