/* Natal Iluminado 2026 — Sicoob Crediçucar · visual 2.0
   Identidade: verde-escuro Sicoob (#003641) e turquesa (#00AE9D) como base;
   vermelho natalino e dourado só para chamadas e brilhos. Texto com contraste ≥ 4,5:1. */
:root {
  --verde: #003641;
  --verde-2: #00505f;
  --noite: #00222a;
  --turquesa: #00ae9d;
  --turquesa-texto: #007a6e;
  --vermelho: #d4142d;
  --vermelho-2: #a90f24;
  --ouro: #f4b942;
  --fundo: #f2f6f6;
  --superficie: #ffffff;
  --superficie-2: #f7fafa;
  --linha: #dbe5e6;
  --linha-forte: #9fb3b6;
  --texto: #12262b;
  --suave: #4d6368;
  --erro: #b3001b;
  --erro-fundo: #fff0f2;
  --ok: #0b6b3a;
  --ok-fundo: #eaf7ef;
  --alerta-fundo: #fff6dc;
  --alerta-texto: #7a5200;
  --raio: 16px;
  --raio-p: 12px;
  --sombra-1: 0 1px 2px rgba(0, 34, 42, .06), 0 1px 1px rgba(0, 34, 42, .04);
  --sombra-2: 0 10px 30px -12px rgba(0, 34, 42, .25), 0 2px 6px rgba(0, 34, 42, .06);
  --foco: 0 0 0 4px rgba(0, 174, 157, .35);
  --fonte: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-titulo: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--fonte); font-size: 1rem; line-height: 1.6; color: var(--texto); background: var(--fundo); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--turquesa-texto); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--verde); }
:focus-visible { outline: none; box-shadow: var(--foco); border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); line-height: 1.15; color: var(--verde); letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; margin: 0 0 1.25rem; }
h3 { font-weight: 700; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 1rem; top: -100px; background: var(--verde); color: #fff; padding: .75rem 1rem; border-radius: 10px; z-index: 100; }
.pular:focus { top: 1rem; }
.envoltorio { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.envoltorio--estreito { max-width: 820px; }
.centro { text-align: center; }
.sobretitulo { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--turquesa-texto); }
.nota { font-size: .92rem; color: var(--suave); }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(0, 54, 65, .08); }
.topo__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; }
.topo__marca { display: flex; }
.topo__logo { width: 190px; height: auto; }
.topo nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.topo nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--verde); padding: .55rem .85rem; border-radius: 999px; }
.topo nav a:hover { background: rgba(0, 174, 157, .1); }
.topo nav a.topo__cta { background: var(--vermelho); color: #fff; box-shadow: 0 6px 16px -6px rgba(212, 20, 45, .6); }
.topo nav a.topo__cta:hover { background: var(--vermelho-2); }
@media (max-width: 640px) {
  .topo__logo { width: 160px; }
  .publico .topo nav a:not(.topo__cta) { display: none; }
}

/* ---------- Botões ---------- */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 700; letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.botao:active { transform: translateY(1px); }
.botao--primario { background: linear-gradient(180deg, #e3243c, var(--vermelho)); color: #fff; box-shadow: 0 10px 24px -10px rgba(212, 20, 45, .75); }
.botao--primario:hover { background: linear-gradient(180deg, var(--vermelho), var(--vermelho-2)); color: #fff; transform: translateY(-1px); }
.botao--primario:disabled { background: #9aa9ac; box-shadow: none; cursor: not-allowed; transform: none; }
.botao--secundario { background: var(--superficie); color: var(--verde); border-color: rgba(0, 54, 65, .25); }
.botao--secundario:hover { border-color: var(--verde); background: var(--superficie-2); color: var(--verde); }
.botao--vidro { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.botao--vidro:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.botao--grande { width: 100%; font-size: 1.1rem; min-height: 58px; }
.botao--grande-hero { min-height: 54px; padding: .85rem 1.8rem; font-size: 1.05rem; }
.botao--link { background: none; border: 0; color: var(--turquesa-texto); text-decoration: underline; min-height: 44px; padding: .5rem .75rem; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #e9f4f5; isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(0, 174, 157, .38), transparent 62%),
    radial-gradient(700px 480px at -5% 110%, rgba(212, 20, 45, .32), transparent 60%),
    radial-gradient(500px 300px at 55% 120%, rgba(244, 185, 66, .18), transparent 70%),
    linear-gradient(160deg, var(--noite), var(--verde) 55%, #012b34); }
.hero__luzes { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(circle, rgba(255, 214, 120, .95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, .8) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 120, 120, .85) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(140, 255, 235, .8) 0 1.5px, transparent 2.5px);
  background-size: 180px 140px, 230px 190px, 290px 210px, 150px 170px;
  background-position: 10px 20px, 80px 60px, 40px 110px, 120px 10px;
  animation: brilho 6s ease-in-out infinite alternate; }
@keyframes brilho { from { opacity: .55; } to { opacity: 1; } }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero__texto { min-width: 0; }
.hero__selo { display: inline-block; margin: 0 0 1rem; padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.hero h1 { margin: 0 0 1rem; }
.hero__marca { width: min(100%, 540px); filter: drop-shadow(0 6px 30px rgba(255, 90, 60, .35)); }
.hero__marca--menor { width: min(100%, 380px); }
.hero__chamada { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.5; margin: 0 0 1.6rem; color: #d7ebed; max-width: 34ch; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.agenda { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1.25rem; max-width: 560px; }
.agenda__item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--raio-p); padding: .8rem 1rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.agenda dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro); }
.agenda dd { margin: .2rem 0 0; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.hero .hero__prazo { color: #fff; }
.hero--compacto .hero__prazo { display: inline-block; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--raio-p); padding: .7rem 1rem; margin: 0; }
.selos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.selos li { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: #d7ebed; }
.selos li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 10px var(--ouro); }
.hero__imagem { position: relative; }
.hero__imagem::before { content: ""; position: absolute; inset: 15% 10% 10% 20%; background: radial-gradient(circle, rgba(255, 196, 90, .45), transparent 65%); filter: blur(20px); z-index: -1; }
.hero__imagem img { display: block; margin-left: auto; max-height: 500px; width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.hero--compacto .envoltorio { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.hero--compacto .hero__chamada { max-width: none; margin-bottom: 1rem; color: #fff; font-weight: 600; }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 2.25rem; padding-bottom: 2.5rem; }
  .hero__imagem { display: none; }
}
@media (max-width: 480px) { .agenda { grid-template-columns: 1fr; } .hero__acoes .botao { flex: 1 1 100%; } }

/* ---------- Seções ---------- */
.secao { padding: 4rem 0; }
.secao--form { background: linear-gradient(180deg, #e6f0f0 0, var(--fundo) 240px); }
.passos { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.passos li { display: flex; gap: .85rem; align-items: flex-start; background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.1rem; box-shadow: var(--sombra-1); min-width: 0; }
.passos__n { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--turquesa), var(--verde-2)); font-variant-numeric: tabular-nums; }
.passos strong { display: block; color: var(--verde); font-size: 1.05rem; }
.passos p { margin: .2rem 0 0; color: var(--suave); font-size: .93rem; line-height: 1.5; }
@media (max-width: 960px) { .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .passos { grid-template-columns: 1fr; } }
.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.cartao { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.4rem; box-shadow: var(--sombra-1); min-width: 0; }
.cartao--destaque { background: linear-gradient(160deg, var(--verde), #00495a); color: #e3f2f3; border-color: transparent; }
.cartao--destaque h3, .cartao--destaque .nota { color: #fff; }
.cartao--destaque a { color: var(--ouro); }
.cartao__icone { width: 42px; height: 42px; padding: 9px; border-radius: 12px; fill: none; stroke: var(--turquesa-texto); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; background: rgba(0, 174, 157, .1); }
.cartao--destaque .cartao__icone { stroke: var(--ouro); background: rgba(255, 255, 255, .1); }
.cartao h3 { margin: .8rem 0 .5rem; font-size: 1.2rem; }
.cartao ul { padding-left: 1.1rem; margin: 0; display: grid; gap: .35rem; }

/* ---------- Formulário ---------- */
.intro { color: var(--suave); }
.obrig { color: var(--erro); font-weight: 700; }
.bloco { position: relative; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.5rem 1.25rem 1.25rem; margin: 0 0 1.25rem; background: var(--superficie); box-shadow: var(--sombra-1); min-width: 0; }
.bloco legend { font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.15rem; color: var(--verde); padding: 0 .5rem; letter-spacing: -.01em; }
.campo { margin-bottom: 1.1rem; }
.campo:last-child { margin-bottom: 0; }
.campo label, .rotulo { display: block; font-weight: 600; margin: 0 0 .4rem; color: var(--texto); }
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.grade--rua { grid-template-columns: 1fr 150px; }
@media (max-width: 620px) { .grade, .grade--rua { grid-template-columns: 1fr; } }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select {
  width: 100%; min-height: 52px; padding: .7rem .95rem; font: inherit; font-size: 1rem; color: var(--texto);
  background: var(--superficie-2); border: 1.5px solid var(--linha); border-radius: var(--raio-p);
  transition: border-color .15s, box-shadow .15s, background .15s; }
input:hover, select:hover { border-color: var(--linha-forte); }
input:focus-visible, select:focus-visible { border-color: var(--turquesa); background: #fff; box-shadow: var(--foco); border-radius: var(--raio-p); }
[aria-invalid="true"] { border-color: var(--erro) !important; background: var(--erro-fundo) !important; }
.dica { font-size: .88rem; color: var(--suave); margin: .35rem 0 0; }
.erro { color: var(--erro); font-weight: 600; font-size: .9rem; margin: .4rem 0 0; display: flex; gap: .4rem; }
.erro::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--erro); color: #fff; font-size: .75rem; line-height: 18px; text-align: center; margin-top: 2px; }
.opcoes { display: grid; gap: .6rem; }
.opcoes--linha { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.opcoes--cartao { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .opcoes--cartao { grid-template-columns: 1fr; } }
.opcao { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; background: var(--superficie-2); border: 1.5px solid var(--linha); border-radius: var(--raio-p); cursor: pointer; font-weight: 400 !important; transition: border-color .15s, background .15s, box-shadow .15s; }
.opcao:hover { border-color: var(--linha-forte); }
.opcao:has(input:checked) { border-color: var(--turquesa); background: #eefaf8; box-shadow: inset 0 0 0 1px var(--turquesa); }
.opcao:has(input:focus-visible) { box-shadow: var(--foco); }
.opcao input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--turquesa-texto); }
.opcao small { display: block; color: var(--suave); }
.opcoes--cartao .opcao { padding: 1.1rem; }
.opcoes--cartao .opcao strong { display: block; font-size: 1.05rem; color: var(--verde); }
.destaque { background: linear-gradient(180deg, #fffaf0, #fff); border: 1.5px dashed var(--ouro); border-radius: var(--raio-p); padding: 1rem; }
.check { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; padding: .4rem 0; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: var(--turquesa-texto); }
.privacidade { font-size: .88rem; color: var(--suave); border-top: 1px solid var(--linha); padding-top: .9rem; margin-bottom: 0; }
.armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fotos ---------- */
.orientacoes { background: var(--superficie-2); border: 1px solid var(--linha); border-radius: var(--raio-p); padding: .9rem 1.1rem; margin-bottom: 1rem; }
.orientacoes ul { margin: .35rem 0 .6rem; padding-left: 1.1rem; display: grid; gap: .2rem; }
.orientacoes p { margin: 0; }
.regras-fotos { font-weight: 600; color: var(--verde); background: #eefaf8; border-radius: 10px; padding: .6rem .8rem; }
.regras-fotos:empty { display: none; }
.seletor { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; text-align: center; margin-bottom: 1rem; padding: 1.25rem; border: 2px dashed var(--linha-forte); border-radius: var(--raio); background: var(--superficie-2); }
.seletor input:focus-visible + label { box-shadow: var(--foco); }
.seletor label.desativado { opacity: .5; pointer-events: none; }
.contador { font-weight: 600; color: var(--suave); font-variant-numeric: tabular-nums; }
.fotos { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.foto { display: grid; grid-template-columns: 120px 1fr auto; gap: .9rem; align-items: start; background: var(--superficie); border: 1.5px solid var(--linha); border-radius: var(--raio-p); padding: .65rem; box-shadow: var(--sombra-1); }
.foto.invalida { border-color: var(--erro); background: var(--erro-fundo); }
.foto__img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; background: var(--fundo); }
.foto__dados { min-width: 0; }
.foto__nome { margin: 0 0 .35rem; font-size: .85rem; color: var(--suave); word-break: break-all; }
.foto__rot { font-size: .9rem; }
.foto__galeria { display: flex; gap: .45rem; align-items: center; margin-top: .6rem; font-size: .9rem; font-weight: 600 !important; color: var(--vermelho-2); }
.foto__galeria input { width: 20px; height: 20px; accent-color: var(--vermelho); }
.foto__remover { background: none; border: 1.5px solid rgba(179, 0, 27, .4); color: var(--erro); border-radius: 999px; min-height: 40px; padding: .35rem .9rem; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.foto__remover:hover { background: var(--erro); color: #fff; border-color: var(--erro); }
.foto__aviso { grid-column: 1 / -1; margin: 0; color: var(--erro); font-weight: 600; font-size: .88rem; }
@media (max-width: 540px) {
  .foto { grid-template-columns: 92px 1fr; }
  .foto__img { width: 92px; height: 76px; }
  .foto__remover { grid-column: 1 / -1; }
}

/* ---------- Envio ---------- */
.envio { margin-top: 1.5rem; }
.progresso { margin-top: 1rem; text-align: center; background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1rem; }
.progresso progress { width: 100%; height: 12px; border-radius: 999px; overflow: hidden; -webkit-appearance: none; appearance: none; background: var(--fundo); border: 0; }
.progresso progress::-webkit-progress-bar { background: var(--fundo); border-radius: 999px; }
.progresso progress::-webkit-progress-value { background: linear-gradient(90deg, var(--turquesa), var(--verde-2)); border-radius: 999px; }
.progresso progress::-moz-progress-bar { background: linear-gradient(90deg, var(--turquesa), var(--verde-2)); border-radius: 999px; }
.progresso p { margin: .6rem 0 0; font-weight: 600; }

/* ---------- Avisos ---------- */
.aviso { border-radius: var(--raio-p); padding: 1rem 1.15rem; margin-bottom: 1.25rem; border: 1px solid transparent; }
.aviso--erro { background: var(--erro-fundo); border-color: rgba(179, 0, 27, .35); color: #5c0011; }
.aviso--erro ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.aviso--info { background: #eaf6f7; border-color: rgba(0, 122, 110, .3); color: #0f3b40; }
.aviso--ok { background: var(--ok-fundo); border-color: rgba(11, 107, 58, .35); color: #0a4027; }

/* ---------- Confirmação ---------- */
.confirmacao { background: var(--superficie); border: 1px solid var(--linha); border-top: 6px solid var(--turquesa); border-radius: var(--raio); padding: 1.75rem; box-shadow: var(--sombra-2); }
.confirmacao h3 { margin-top: 0; color: var(--ok); font-size: 1.6rem; }
.protocolo { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: clamp(1.3rem, 6vw, 1.9rem); font-weight: 700; letter-spacing: .08em; color: var(--verde); background: linear-gradient(180deg, #f2fbfa, #e6f6f4); display: inline-block; padding: .55rem 1.1rem; border-radius: var(--raio-p); border: 1px dashed var(--turquesa-texto); margin: 0 0 1rem; }
.resumo { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0 0 1rem; }
.resumo dt { font-weight: 700; color: var(--suave); }
.resumo dd { margin: 0; }

/* ---------- Rodapé ---------- */
.rodape { background: linear-gradient(180deg, var(--verde), var(--noite)); color: #cfe3e5; padding: 3rem 0 2.5rem; text-align: center; }
.rodape__logo { width: 210px; background: #fff; padding: .7rem 1rem; border-radius: 12px; box-sizing: content-box; }
.rodape__apoio { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; margin: 1.5rem 0 .7rem; color: #9fc4c8; }
.apoios { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.apoios li { background: #fff; border-radius: 12px; padding: .55rem .9rem; display: flex; align-items: center; min-height: 64px; }
.apoios img { width: auto; max-height: 52px; }
.rodape__txt { font-size: .88rem; margin-top: 1.75rem; color: #a9c7ca; }

/* ---------- Votação ---------- */
.regras-voto { padding-left: 1.2rem; display: grid; gap: .4rem; margin: 0 0 1rem; }
.galeria { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.galeria__item { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--sombra-1); transition: transform .2s ease, box-shadow .2s ease; }
.galeria__item:hover { transform: translateY(-3px); box-shadow: var(--sombra-2); }
.galeria__item figure { margin: 0; position: relative; }
.galeria__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--fundo); }
.galeria__item figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .75rem; border-radius: 999px; font-size: .9rem; color: #fff; background: rgba(0, 34, 42, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.galeria__item figcaption strong { color: #fff; letter-spacing: .04em; }
.galeria__acao { padding: .9rem; display: grid; gap: .5rem; align-content: end; }
.galeria__acao .botao { width: 100%; }
.confirmar { display: grid; gap: .5rem; background: #fff8f8; border: 1.5px solid rgba(212, 20, 45, .5); border-radius: var(--raio-p); padding: .8rem; }
.confirmar p { margin: 0; }

/* ---------- Área restrita ---------- */
.admin { max-width: 1240px; margin: 0 auto; padding: 1.75rem max(16px, env(safe-area-inset-right, 0px)) 4rem max(16px, env(safe-area-inset-left, 0px)); }
.admin h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; margin: 0 0 1rem; }
.admin h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.admin .cartoes .cartao h2 { margin-top: 0; font-size: 1.1rem; }
.admin .tabela { overflow-x: auto; background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1); }
.admin table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin th, .admin td { border-bottom: 1px solid var(--linha); padding: .7rem .85rem; text-align: left; vertical-align: top; }
.admin th { background: var(--superficie-2); color: var(--suave); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin tr:last-child td { border-bottom: 0; }
.admin tr:hover td { background: #f6fbfb; }
.admin .galeria-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.admin figure { margin: 0; background: var(--superficie); padding: .6rem; border-radius: var(--raio); border: 1px solid var(--linha); box-shadow: var(--sombra-1); }
.admin figure img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.admin figcaption { padding: .5rem .2rem 0; font-size: .9rem; }
.etiqueta { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: #e9f0f0; color: var(--verde); white-space: nowrap; }
.etiqueta--alerta { background: var(--alerta-fundo); color: var(--alerta-texto); }
.etiqueta--interna { background: #ece9ff; color: #3d2f9e; }
.etiqueta--ok { background: var(--ok-fundo); color: var(--ok); }
.etiqueta--erro { background: var(--erro-fundo); color: var(--erro); }
.filtros { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin-bottom: 1rem; }
.filtros > div { display: grid; gap: .25rem; }
.filtros label { font-size: .8rem; font-weight: 700; color: var(--suave); }
.filtros select, .filtros input { width: auto; min-height: 44px; }
.filtros .botao { min-height: 44px; padding: .55rem 1.1rem; }
.admin .resumo-voto { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; margin-bottom: 1.25rem; }
.admin .resumo-voto div { background: var(--superficie); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1rem 1.15rem; box-shadow: var(--sombra-1); color: var(--suave); font-size: .9rem; }
.admin .resumo-voto strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--verde); font-variant-numeric: tabular-nums; }
.admin .ranking td.num, .admin .ranking th.num { text-align: right; font-variant-numeric: tabular-nums; }
.admin form.linha { display: inline; }
.admin .acoes { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin .acoes .botao { min-height: 36px; padding: .3rem .8rem; font-size: .85rem; }
.admin .passos { display: grid; grid-template-columns: 1fr; gap: .4rem; padding-left: 1.2rem; list-style: decimal; margin-bottom: 1rem; }
.admin .passos li { display: list-item; background: none; border: 0; box-shadow: none; padding: 0; }
.qr { background: #fff; display: inline-block; padding: .75rem; border-radius: var(--raio); border: 1px solid var(--linha); box-shadow: var(--sombra-1); margin: .5rem 0 1rem; min-height: 120px; }
.qr img { display: block; image-rendering: pixelated; }
.chave code, .codigos code, code.chave { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.1rem; letter-spacing: .08em; background: var(--superficie-2); padding: .25rem .6rem; border-radius: 8px; border: 1px solid var(--linha); }
.codigos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; list-style: none; padding: 0; }
details.bloco summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--verde); }

/* ---------- Telas de acesso (login, 2FA, instalação) ---------- */
body.acesso { min-height: 100vh; background:
    radial-gradient(800px 480px at 90% -10%, rgba(0, 174, 157, .35), transparent 62%),
    radial-gradient(600px 420px at -10% 110%, rgba(212, 20, 45, .28), transparent 60%),
    linear-gradient(160deg, var(--noite), var(--verde) 60%, #012b34) fixed; }
.acesso .admin > .envoltorio--estreito { max-width: 520px; padding: 0; }
.acesso .admin h1 { color: #fff; }
.acesso .admin h2 { color: #fff; }
.acesso .admin > .envoltorio--estreito > p, .acesso .admin > .envoltorio--estreito > .nota, .acesso .admin > .envoltorio--estreito > ol { color: #d7ebed; }
.acesso .admin .passos li { color: #d7ebed; }
.acesso .admin .bloco { box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); border: 0; }
.acesso .admin .tabela { color: var(--texto); }
.acesso .admin > .envoltorio--estreito.instalacao { max-width: 900px; }
.admin-pagina { background: var(--fundo); }
.admin td:first-child a { white-space: nowrap; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; letter-spacing: .02em; }

/* ---------- Prêmios ---------- */
.secao--premios { background: var(--superficie); border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.premios { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 960px) { .premios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .premios { grid-template-columns: 1fr; } }
.premio { border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.25rem; background: var(--superficie-2); display: grid; align-content: start; gap: .35rem; min-width: 0; }
.premio h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.premio__item { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--verde); letter-spacing: -.01em; }
.premio__oferta { margin: .25rem 0 0; font-size: .85rem; color: var(--suave); }
.premio--principal { background: linear-gradient(160deg, var(--verde), #00495a); border-color: transparent; color: #e3f2f3; }
.premio--principal h3 { color: #fff; }
.premio--principal .premio__oferta { color: #bfe0e3; }
.podio { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.podio li { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: #fff; font-size: 1.05rem; }
.podio span { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--ouro); font-weight: 800; }
.podio li:first-child span { background: var(--ouro); color: var(--noite); }
.bloco--topo { margin-top: 1rem; }
