/* =====================================================================
   BATALHA DE VIZINHOS — estilo do site (mesmo visual do site 2025:
   faixas vinho #460000, destaques laranja, fonte Poppins)
   ===================================================================== */
:root {
  --vinho: #460000;
  --vinho-2: #660000;
  --laranja: #ff6600;
  --laranja-claro: #ffd8b8;
  --vermelho: #d62828;
  --vermelho-escuro: #9e1111;
  --azul: #1e5bd8;
  --azul-escuro: #12398f;
  --texto: #1e1e1e;
  --texto-suave: #6b6b6b;
  --fundo: #f6f2ef;
  --borda: #e9e1db;
  --ok: #157a3a;
  --gutter: 16px;
  --sombra: 0 12px 28px rgba(0, 0, 0, .10);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--texto);
  background: var(--fundo) radial-gradient(900px 400px at 50% -80px, #fde8d6 0%, rgba(253, 232, 214, 0) 70%) no-repeat; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { animation: aparecer .45s ease-out both; }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ico-bola { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(145deg, #fff1e4, #ffd8b8); color: var(--laranja); font-size: 32px; box-shadow: inset 0 0 0 3px #fff, 0 6px 16px rgba(255, 102, 0, .22); }
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }

/* ---------- topo (sub-header + header fixo) ---------- */
.sub-header { background: #fff; border-bottom: 1px solid #eee; padding: 8px 0; font-size: 14px; color: #7a7a7a; }
.sub-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sub-header .info { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.sub-header .info li { display: flex; align-items: center; gap: 8px; }
.sub-header .info .ico { color: #f35525; font-size: 18px; }
.sub-header .sociais { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sub-header .sociais a { width: 30px; height: 30px; border-radius: 50%; background: #cdcdcd; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background .3s; }
.sub-header .sociais a:hover { background: #f35525; }
@media (max-width: 992px) { .sub-header { display: none; } }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.topo { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 12px; }
.topo .logo img { height: 70px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 40px; border-radius: 20px; font-weight: 500; font-size: 15px; color: var(--texto); transition: color .3s, background .3s; white-space: nowrap; }
.menu a:hover, .menu a.ativo { color: #f35525; }
.menu a.destaque { background: #1e1e1e; color: #fff; padding-left: 0; }
.menu a.destaque .bola { width: 40px; height: 40px; border-radius: 50%; background: #f35525; display: flex; align-items: center; justify-content: center; }
.menu a.destaque:hover, .menu a.destaque.ativo { color: #fff; background: var(--vinho); }
.menu-botao { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px 7px; }
.menu-botao span, .menu-botao span::before, .menu-botao span::after { display: block; height: 2px; width: 30px; background: #1e1e1e; position: relative; transition: transform .3s, background .3s; content: ''; }
.menu-botao span::before { position: absolute; top: -9px; width: 22px; }
.menu-botao span::after { position: absolute; top: 9px; width: 22px; }
.menu-botao[aria-expanded="true"] span { background: transparent; }
.menu-botao[aria-expanded="true"] span::before { transform: translateY(9px) rotate(45deg); width: 30px; }
.menu-botao[aria-expanded="true"] span::after { transform: translateY(-9px) rotate(-45deg); width: 30px; }
@media (max-width: 860px) {
  /* celular: logo à esquerda e o botão do menu colado na margem direita (o <nav> não ocupa espaço na linha) */
  .topo .wrap { min-height: 68px; gap: 0; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(calc(var(--gutter) - 7px), env(safe-area-inset-right)); }
  .topo nav { display: contents; }
  .topo .logo { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
  .topo .logo img { height: 54px; max-width: 100%; object-fit: contain; }
  .menu-botao { display: flex; align-items: center; justify-content: center; margin-left: auto; flex: 0 0 44px; padding: 0; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
  .menu-botao:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
  .menu-botao span { width: 26px; }
  .menu-botao span::before, .menu-botao span::after { width: 26px; left: 0; }
  .menu-botao[aria-expanded="true"] span::before, .menu-botao[aria-expanded="true"] span::after { width: 26px; }
  .menu { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    box-shadow: 0 14px 24px rgba(0, 0, 0, .14); border-radius: 0 0 20px 20px; overflow: hidden; padding-bottom: 6px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .menu.aberto { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .2s, transform .2s; }
  .menu a { height: 54px; border-radius: 0; border-top: 1px solid #f0ece9; padding: 0 max(22px, env(safe-area-inset-left)); font-weight: 600; }
  .menu a.ativo { color: #f35525; box-shadow: inset 4px 0 0 #f35525; }
  .menu a.destaque { background: #fff; color: var(--texto); padding: 0 22px; }
  .menu a.destaque .bola { width: 32px; height: 32px; color: #fff; flex: 0 0 32px; }
  .menu a.destaque.ativo, .menu a.destaque:hover { background: #fff; color: #f35525; }
}
@media (max-width: 360px) { .topo .wrap { min-height: 62px; } .topo .logo img { height: 48px; } }

/* ---------- faixa título ---------- */
.faixa { position: relative; background: var(--vinho) linear-gradient(120deg, #3a0000 0%, var(--vinho) 45%, #5e0a00 100%); color: #fff; text-align: center; padding: 28px var(--gutter) 30px; overflow: hidden; }
.faixa::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px); pointer-events: none; }
.faixa::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--laranja), #ffb547, var(--laranja)); }
.faixa > * { position: relative; }
.faixa h1 { margin: 0 auto; max-width: 1100px; font-weight: 700; line-height: 1.1; letter-spacing: .6px; font-size: clamp(22px, 6vw, 40px); text-transform: uppercase; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.faixa h1 span { color: var(--laranja-claro); font-weight: 800; margin-left: 8px; font-size: .95em; }
.faixa p { margin: 6px 0 0; color: #f6d9c6; font-size: .95rem; }
@media (max-width: 480px) { .faixa { padding: 18px 12px 20px; } .faixa h1 { font-size: clamp(19px, 6.2vw, 30px); letter-spacing: .2px; text-wrap: balance; } .faixa h1 span { display: block; margin: 4px 0 0; } .faixa p { font-size: .88rem; } }

/* ---------- banners da home ---------- */
.banner { display: block; width: 100%; height: auto; }
.faixa-cta { background: var(--vinho); display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; padding: 22px var(--gutter); }
.faixa-cta a.img { background: var(--vinho-2); border-radius: 6px; padding: 10px 24px; transition: background .3s; }
.faixa-cta a.img:hover { background: var(--laranja); }
.faixa-cta a.img img { display: block; width: min(420px, 74vw); height: auto; transition: transform .5s; }
.faixa-cta a.img:hover img { transform: scale(1.04); }
.btn-faixa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 8px; background: var(--vinho-2); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .5px; text-transform: uppercase; border: 2px solid rgba(255, 255, 255, .25); transition: background .3s, transform .2s; }
.btn-faixa:hover { background: var(--laranja); transform: translateY(-2px); }

/* ---------- conteúdo ---------- */
.conteudo { max-width: 900px; margin: 0 auto; padding: 18px var(--gutter) 34px; }
.card { position: relative; background: #fff; border-radius: 16px; box-shadow: var(--sombra); padding: 20px; border: 1px solid #f1e8e2; border-top: 0; overflow: hidden; }
.card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--vinho), #8a1a1a 60%, var(--laranja)); }
.card h2 { display: flex; align-items: center; gap: 8px; }
.card h2 .ico { color: var(--laranja); font-size: 1.15em; }
.card + .card { margin-top: 18px; }
.card h2 { margin: 0 0 4px; font-size: clamp(.98rem, 4.4vw, 1.2rem); font-weight: 700; color: var(--vinho); text-transform: uppercase; letter-spacing: .3px; line-height: 1.25; text-wrap: balance; }
.card .sub { margin: 0 0 12px; font-size: .88rem; color: var(--texto-suave); }
@media (max-width: 480px) { .card { padding: 16px 14px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 1rem; transition: transform .15s, filter .2s, background .2s; text-align: center; line-height: 1.2; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn:focus-visible, .chef:focus-visible, .lado-botao:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.btn-vinho { background: linear-gradient(135deg, #5e0a00, var(--vinho)); color: #fff; box-shadow: 0 6px 16px rgba(70, 0, 0, .25); }
.btn-vinho:hover:not(:disabled) { background: var(--vinho-2); }
.btn-laranja { background: linear-gradient(135deg, #ff8a2a, var(--laranja)); color: #fff; box-shadow: 0 6px 16px rgba(255, 102, 0, .28); }
.btn-laranja:hover:not(:disabled) { filter: brightness(1.07); }
.btn-borda { background: #fff; color: var(--vinho); border: 2px solid var(--vinho); }
.btn-link { background: none; border: 0; color: var(--vinho); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px 2px; font-size: .88rem; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 140px; }

.aviso { display: none; border-radius: 10px; padding: 10px 14px; font-size: .9rem; font-weight: 500; text-align: center; margin-top: 12px; line-height: 1.5; }
.aviso.show { display: block; }
.aviso-erro { background: #fff0f0; border: 1.5px solid #ffb8b8; color: #a30d0d; }
.aviso-ok { background: #eafbf0; border: 1.5px solid #9fe0b5; color: var(--ok); }
.aviso-info { background: #fff6ee; border: 1.5px solid #ffd2ad; color: #8a3b00; }

.spinner { display: none; text-align: center; padding: 18px 0; }
.spinner.show { display: block; }
.spinner i { display: inline-block; width: 30px; height: 30px; border: 3px solid #f0e2da; border-top-color: var(--vinho); border-radius: 50%; animation: girar .7s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- barra do usuário ---------- */
.usuario { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 14px; }
.usuario strong { color: var(--vinho); }

/* ---------- modal ---------- */
body.modal-aberto { overflow: hidden; }
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); display: none; align-items: center; justify-content: center; padding: var(--gutter); z-index: 1000; }
.modal.show { display: flex; }
.modal-box { width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 24px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); text-align: center; }
.modal-icone { font-size: 2.4rem; line-height: 1; margin-bottom: 6px; }
.modal-titulo { font-weight: 800; font-size: 1.15rem; color: var(--vinho); margin: 0 0 6px; }
.modal-msg { font-size: .95rem; color: #444; margin: 0 0 18px; line-height: 1.5; }

/* formulário de entrada/cadastro */
.form { text-align: left; display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: #333; }
.form input[type=text], .form input[type=tel] { width: 100%; min-height: 48px; border: 2px solid var(--borda); border-radius: 10px; padding: 0 14px; font-size: 1.05rem; font-family: inherit; background: #fff; color: var(--texto); }
.form input:focus { outline: none; border-color: var(--laranja); }
.form .check { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-weight: 500; font-size: .85rem; line-height: 1.45; }
.form .check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--vinho); }
.form .ajuda { font-size: .78rem; color: var(--texto-suave); font-weight: 400; }
.form .grade2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .form .grade2 { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.rodape { background: #2e0000 linear-gradient(180deg, var(--vinho), #2a0000); color: #f3e4dc; font-size: .9rem; line-height: 1.7; border-top: 5px solid var(--laranja); }
.rodape-grade { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 28px; padding-top: 34px; padding-bottom: 26px; }
.rodape-marca img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; }
.rodape-marca p { margin: 12px 0 0; color: #d9bfb4; font-size: .86rem; max-width: 300px; }
.rodape strong { display: block; color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin-bottom: 8px; }
.rodape-nav a, .rodape-contato span { display: flex; align-items: center; gap: 8px; color: #f3e4dc; padding: 3px 0; }
.rodape-nav a:hover { color: var(--laranja-claro); text-decoration: underline; }
.rodape-contato .ico { color: var(--laranja); flex: none; }
.rodape-sociais { display: flex; gap: 8px; margin-top: 10px; }
.rodape-sociais a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .25s, transform .15s; }
.rodape-sociais a:hover { background: var(--laranja); transform: translateY(-2px); }
.rodape-base { text-align: center; padding: 14px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #c9aaa0; }
@media (max-width: 860px) { .rodape-grade { grid-template-columns: 1fr 1fr; } .rodape-marca { grid-column: 1 / -1; text-align: center; } .rodape-marca p { margin-inline: auto; } }
@media (max-width: 520px) { .rodape-grade { grid-template-columns: 1fr; text-align: center; gap: 20px; } .rodape-nav a, .rodape-contato span { justify-content: center; } .rodape-sociais { justify-content: center; } }

/* ---------- carregando a página ---------- */
.preloader { position: fixed; inset: 0; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 2000; transition: opacity .35s, visibility .35s; }
.preloader i { width: 44px; height: 44px; border: 4px solid #f0e2da; border-top-color: var(--laranja); border-radius: 50%; animation: girar .7s linear infinite; }
.preloader.saiu { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- tela de CPF (entrar/) ---------- */
.entrar-pagina { max-width: 480px; margin: 0 auto; padding: 22px var(--gutter) 40px; }
.entrar-card { background: #fff; border-radius: 16px; box-shadow: var(--sombra); padding: 24px 20px; border-top: 4px solid var(--laranja); text-align: center; }
.entrar-card .form { margin-top: 4px; }
.destino { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.destino a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; border: 2px solid var(--borda); font-weight: 700; font-size: .92rem; color: #555; background: #fff; transition: border-color .2s, background .2s; }
.destino a .ico { font-size: 1.25em; color: var(--laranja); }
.destino a.ativo { border-color: var(--vinho); background: linear-gradient(135deg, #5e0a00, var(--vinho)); color: #fff; box-shadow: 0 6px 16px rgba(70, 0, 0, .22); }
.destino a.ativo .ico { color: #ffd8b8; }
.passos { display: flex; justify-content: center; align-items: center; gap: 0; font-size: .72rem; color: var(--texto-suave); margin: 2px 0 16px; }
.passos span { display: flex; align-items: center; gap: 6px; }
.passos b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--borda); color: var(--texto-suave); font-size: .72rem; }
.passos span.atual b { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.passos span.atual { color: var(--vinho); font-weight: 700; }
.passos i { width: 22px; height: 2px; background: var(--borda); margin: 0 6px; }
@media (max-width: 380px) { .passos span:not(.atual) em { display: none; } }
.passos em { font-style: normal; }

/* ---------- chamada da home ---------- */
.home-cta { background: var(--vinho); padding: 26px var(--gutter) 30px; text-align: center; color: #fff; }
.home-cta h2 { margin: 0 0 4px; font-size: clamp(1.25rem, 5vw, 1.9rem); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.home-cta p { margin: 0 auto 18px; max-width: 560px; color: #f6d9c6; font-size: .95rem; line-height: 1.5; }
.home-cta .botoes { display: grid; gap: 26px; max-width: 520px; margin: 0 auto; padding: 4px 12px 14px 0; }
.home-cta .botoes .btn-tv { display: block; }
.faixa-cta .btn-tv { width: min(440px, 100%); }
.faixa-cta { gap: 26px 32px; padding: 26px var(--gutter) 34px; }
.home-cta .emoji { font-size: 1.8rem; line-height: 1; }
/* faixa "ao vivo": situação atual da votação */
.ao-vivo { display: none; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 auto 18px; max-width: 640px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 16px; font-size: .86rem; color: #fff; }
.ao-vivo.show { display: flex; }
.ao-vivo .ponto { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .25); animation: pulsar 1.4s ease-in-out infinite; flex: none; }
.ao-vivo .ponto.breve { background: #ffb547; box-shadow: 0 0 0 4px rgba(255, 181, 71, .25); animation: none; }
.ao-vivo b { color: #ffd8b8; }
.ao-vivo span:not(.ponto) { opacity: .9; }
@keyframes pulsar { 50% { opacity: .35; } }

/* ---------- vídeo obrigatório antes do voto ---------- */
.video-gate { background: rgba(10, 0, 0, .88); z-index: 1100; }
.vg-box { max-width: 560px; padding: 18px 16px 16px; }
.vg-topo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; font-size: .95rem; color: var(--vinho); line-height: 1.35; }
.vg-topo .ico { width: 20px; height: 20px; flex: 0 0 20px; color: var(--laranja); }
.vg-tela { position: relative; background: #000; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.vg-tela video { width: 100%; height: 100%; object-fit: contain; display: block; }
.vg-tela video::-webkit-media-controls { display: none !important; }
.vg-tela video::-webkit-media-controls-enclosure { display: none !important; }
.vg-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.vg-play .ico { width: 64px; height: 64px; padding: 14px 12px 14px 16px; border-radius: 50%; background: var(--laranja); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }
.vg-som { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); font-size: 1.1rem; cursor: pointer; }
.vg-barra { height: 8px; border-radius: 999px; background: #eee; margin: 12px 0 8px; overflow: hidden; }
.vg-barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--laranja), #ffb547); transition: width .3s linear; }
.vg-txt { margin: 0 0 12px; font-weight: 700; color: var(--vinho); min-height: 1.4em; }
.vg-sair { width: 100%; }

/* ---------- botão grande no estilo do BUTTON_VOTAR ----------
   moldura laranja, painel vermelho por dentro, borda 3D embaixo e sombra deslocada */
.btn-tv { --tv-borda: #ff4f00; --tv-meio: #c73100; --tv-fundo: #a5282c; --tv-txt: #fff;
  display: inline-block; position: relative; padding: 8px; border: 0; border-radius: 16px; background: var(--tv-borda);
  box-shadow: 0 7px 0 var(--tv-fundo), 10px 14px 0 rgba(0, 0, 0, .22); color: var(--tv-txt); font: inherit; cursor: pointer;
  text-decoration: none; transition: transform .12s, box-shadow .12s, filter .2s; -webkit-tap-highlight-color: transparent; }
.btn-tv-in { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2.4vw, 16px); min-height: 64px; padding: 8px clamp(12px, 3vw, 22px);
  border-radius: 10px; background: var(--tv-meio); box-shadow: inset 0 5px 0 var(--tv-fundo); }
.btn-tv-ico { width: clamp(40px, 10vw, 62px); height: auto; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-tv-seta { position: relative; width: 6px; align-self: stretch; margin: 4px 10px 4px 0; border-radius: 3px; background: currentColor; box-shadow: 3px 3px 0 var(--tv-fundo); flex: 0 0 6px; }
.btn-tv-seta::after { content: ''; position: absolute; left: 5px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.btn-tv-txt { display: flex; flex-direction: column; align-items: flex-start; font-weight: 900; font-size: clamp(1.25rem, 5.6vw, 2.2rem); line-height: 1; text-transform: uppercase; letter-spacing: -.5px; text-shadow: 2px 3px 0 var(--tv-fundo); white-space: nowrap; text-align: left; }
.btn-tv-txt small { margin-top: 4px; font-size: clamp(.68rem, 2.6vw, .82rem); font-weight: 700; letter-spacing: .2px; text-transform: none; text-shadow: none; opacity: .92; white-space: normal; }
.btn-tv:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
.btn-tv:active:not(:disabled) { transform: translateY(6px); box-shadow: 0 1px 0 var(--tv-fundo), 4px 6px 0 rgba(0, 0, 0, .22); }
.btn-tv:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.btn-tv:disabled { cursor: not-allowed; filter: grayscale(.75) brightness(.95); opacity: .8; transform: none; }
/* Dê seu palpite: mesma forma, cores de ouro com painel vinho */
.btn-tv.palpite { --tv-borda: #ffb400; --tv-meio: #7a1500; --tv-fundo: #4f0d00; }
/* versão compacta (dentro dos cards do duelo) */
.btn-tv.compacto { padding: 6px; border-radius: 13px; box-shadow: 0 5px 0 var(--tv-fundo), 6px 9px 0 rgba(0, 0, 0, .22); }
.btn-tv.compacto .btn-tv-in { min-height: 50px; padding: 6px 12px; gap: 8px; border-radius: 8px; box-shadow: inset 0 4px 0 var(--tv-fundo); }
.btn-tv.compacto .btn-tv-ico { width: 36px; }
.btn-tv.compacto .btn-tv-seta { margin-right: 8px; width: 5px; flex-basis: 5px; }
.btn-tv.compacto .btn-tv-seta::after { border-width: 7px; border-left-width: 8px; }
.btn-tv.compacto .btn-tv-txt { font-size: clamp(1rem, 4.4vw, 1.45rem); }
.btn-tv.compacto .btn-tv-txt small { max-width: 12em; white-space: normal; line-height: 1.15; overflow-wrap: break-word; }
@media (max-width: 420px) { .btn-tv.compacto .btn-tv-ico { display: none; } }

/* rodapé no celular: ícone junto do texto (endereço longo quebra sem deixar o ícone sozinho) */
@media (max-width: 520px) { .rodape-contato span { display: block; text-wrap: balance; } .rodape-contato span .ico { display: inline-block; vertical-align: -3px; margin-right: 6px; } }
.passos em { white-space: nowrap; }
.modal-msg, .modal-titulo { text-wrap: balance; }

/* nome numa linha só (o bdv.js diminui a letra até caber) */
[data-caber] { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-caber].quebra { white-space: normal; text-wrap: balance; overflow-wrap: break-word; }

/* ---------- vitrine dos chefs (home) ---------- */
.vitrine { --vitrine-fundo: none; position: relative; overflow: hidden; padding: 30px 0 26px; color: #fff; text-align: center;
  background: var(--vitrine-fundo) center / cover no-repeat, radial-gradient(120% 90% at 50% 0%, #ffb340 0%, #ff8a00 38%, #f26100 75%, #d94a00 100%); }
.vitrine:not(.com-fundo)::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background: repeating-linear-gradient(135deg, #fff 0 2px, transparent 2px 22px); }
.vitrine > * { position: relative; }
.vitrine-cab { padding: 0 var(--gutter); }
.vitrine-cab h2 { margin: 0; font-size: clamp(1.4rem, 6vw, 2.3rem); font-weight: 900; text-transform: uppercase; letter-spacing: .5px; text-shadow: 0 3px 0 rgba(120, 30, 0, .45); }
.vitrine-cab p { margin: 4px 0 0; font-size: .92rem; font-weight: 600; color: #fff7ec; }
.vitrine-palco { position: relative; max-width: 1240px; margin: 18px auto 0; }
.vitrine-trilho { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 8px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vitrine-trilho::-webkit-scrollbar { display: none; }
.vitrine-card { position: relative; flex: 0 0 clamp(128px, 42vw, 150px); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center;
  padding: 10px 8px 12px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--vinho); font: inherit; cursor: pointer;
  box-shadow: 0 8px 0 rgba(150, 40, 0, .35), 0 14px 24px rgba(90, 20, 0, .25); transition: transform .15s, box-shadow .15s; }
.vitrine-card:hover { transform: translateY(-4px); }
.vitrine-card:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(150, 40, 0, .35), 0 6px 12px rgba(90, 20, 0, .25); }
.vitrine-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.vitrine-foto { width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(145deg, #fff1d6, #ffd9a0); display: flex; align-items: center; justify-content: center; }
.vitrine-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vitrine-sem-foto .ico { width: 46px; height: 46px; color: #e07a1a; }
.vitrine-nome { width: 100%; margin-top: 8px; font-weight: 900; font-size: 1rem; line-height: 1.25; text-transform: uppercase; }
.vitrine-mercado { width: 100%; font-size: .74rem; line-height: 1.3; color: #7a3b16; font-weight: 600; }
.vitrine-selo { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 3px 10px; border-radius: 999px; background: #555; color: #fff; font-size: .68rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.vitrine-selo.ouro { background: linear-gradient(135deg, #ffe27a, #ffb300); color: #4a2a00; }
.vitrine-selo .ico { width: 13px; height: 13px; }
.vitrine-card.fora .vitrine-foto { filter: grayscale(1); opacity: .75; }
.vitrine-card.campeao { box-shadow: 0 0 0 3px #ffd34d, 0 8px 0 rgba(150, 40, 0, .35), 0 14px 24px rgba(90, 20, 0, .25); }
.vitrine-card.fantasma { height: 190px; background: rgba(255, 255, 255, .35); box-shadow: none; animation: pulsar 1.4s ease-in-out infinite; cursor: default; }
.vitrine-seta { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -26px; border: 0; border-radius: 50%; background: #fff; color: var(--laranja);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vitrine-seta .ico { width: 22px; height: 22px; }
.vitrine-seta.ant { left: 6px; } .vitrine-seta.ant .ico { transform: rotate(180deg); }
.vitrine-seta.prox { right: 6px; }
.vitrine-seta[hidden] { display: none; }
@media (min-width: 1100px) { .vitrine-card { flex-basis: 140px; } }

/* ficha do chef */
.vf .vf-box { position: relative; max-width: 520px; text-align: left; padding: 20px 18px 16px; }
.vf-fechar { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f4ece6; color: var(--vinho); font-size: 1rem; font-weight: 900; cursor: pointer; z-index: 1; }
.vf-topo { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.vf-foto { flex: 0 0 clamp(96px, 28vw, 130px); aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(145deg, #fff1d6, #ffd9a0); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(70, 0, 0, .18); }
.vf-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-quem { min-width: 0; flex: 1; }
.vf-quem .vitrine-selo { position: static; transform: none; margin-bottom: 4px; }
.vf-nome { margin: 0; font-size: 1.35rem; font-weight: 900; color: var(--vinho); text-transform: uppercase; line-height: 1.2; }
.vf-apelido { margin: 0; font-size: .9rem; color: var(--texto-suave); font-style: italic; }
.vf-mercado { margin: 4px 0 0; font-size: .9rem; font-weight: 700; color: #a34200; line-height: 1.35; }
.vf-mercado .ico { width: 14px; height: 14px; vertical-align: -2px; color: var(--laranja); }
.vf-mercado small { font-weight: 500; color: var(--texto-suave); font-size: .82rem; }
.vf-insta { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .85rem; font-weight: 700; color: #c13584; text-decoration: none; }
.vf-insta .ico { width: 16px; height: 16px; }
.vf-numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 6px; }
.vf-numeros div { background: #fff6ee; border-radius: 12px; padding: 8px 6px; text-align: center; }
.vf-numeros b { display: block; font-size: 1.35rem; font-weight: 900; color: var(--vinho); line-height: 1.1; }
.vf-numeros span { font-size: .7rem; color: var(--texto-suave); line-height: 1.2; display: block; }
.vf-bloco { margin-top: 14px; }
.vf-bloco h3 { margin: 0 0 4px; font-size: .78rem; font-weight: 800; color: var(--laranja); text-transform: uppercase; letter-spacing: .6px; }
.vf-bloco p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--texto); }
.vf-bio { white-space: pre-line; overflow-wrap: break-word; }
.vf-extras { margin: 14px 0 0; display: grid; gap: 6px; }
.vf-extras div { display: grid; grid-template-columns: minmax(90px, 38%) 1fr; gap: 10px; padding: 7px 10px; background: #faf6f2; border-radius: 10px; font-size: .88rem; }
.vf-extras dt { font-weight: 800; color: var(--vinho); overflow-wrap: break-word; }
.vf-extras dd { margin: 0; color: var(--texto); overflow-wrap: break-word; white-space: pre-line; }
.vf-vts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.vf-vt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 9px 11px; border-radius: 12px; background: #f6f2ef; border-left: 4px solid #cfc3ba; font-size: .86rem; }
.vf-ep { font-weight: 900; color: var(--vinho); white-space: nowrap; }
.vf-contra { font-weight: 700; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-res { grid-column: 1 / -1; color: var(--texto-suave); text-decoration: none; }
.vf-vt.venceu { border-left-color: #1f9d55; background: #eefaf2; } .vf-vt.venceu .vf-res b { color: #1f7a45; }
.vf-vt.perdeu { border-left-color: var(--vermelho); } .vf-vt.perdeu .vf-res b { color: var(--vermelho-escuro); }
.vf-vt.empate .vf-res b { color: #7a5200; }
.vf-vt.aberta { border-left-color: var(--laranja); background: #fff3e6; } .vf-vt.aberta .vf-res { color: #b34700; font-weight: 700; }
.vf-barra { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.vf-barra i { display: block; height: 100%; background: currentColor; border-radius: 999px; }
.vf-vt.venceu .vf-barra { color: #1f9d55; } .vf-vt.perdeu .vf-barra { color: var(--vermelho); } .vf-vt.empate .vf-barra { color: #c99a00; }
.vf-vazio { color: var(--texto-suave); font-size: .9rem; }
.vf-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.vf-nav .btn { min-height: 44px; font-size: .88rem; }
.vf-nav .vf-ant .ico { transform: rotate(180deg); }
@media (max-width: 380px) { .vf-topo { flex-direction: column; align-items: flex-start; padding-right: 0; } .vf-foto { flex-basis: auto; width: 110px; } }
.vitrine-trilho > :first-child { margin-left: auto; } .vitrine-trilho > :last-child { margin-right: auto; }
@media (max-width: 480px) { .form .grade2 { grid-template-columns: 1fr; } }

/* vitrine: chef recortado (PNG sem fundo) em pé, lado a lado, com a placa do nome embaixo (como no banner) */
.vitrine-placa { display: block; width: 100%; }
.vitrine-card.recorte { background: none; box-shadow: none; padding: 0 2px; border-radius: 0; justify-content: flex-end; }
.vitrine-card.recorte .vitrine-foto { aspect-ratio: 3 / 4; border-radius: 0; background: none; overflow: visible; align-items: flex-end; }
.vitrine-card.recorte .vitrine-foto img { object-fit: contain; object-position: bottom center; filter: drop-shadow(0 10px 14px rgba(90, 20, 0, .35)); transition: transform .2s; }
.vitrine-card.recorte:hover { transform: none; }
.vitrine-card.recorte:hover .vitrine-foto img { transform: translateY(-6px) scale(1.03); }
.vitrine-card.recorte:active { transform: none; box-shadow: none; }
.vitrine-card.recorte .vitrine-placa { position: relative; margin-top: -14px; padding: 6px 8px 7px; border-radius: 10px; background: linear-gradient(180deg, #e8331e, #b3170c);
  box-shadow: 0 4px 0 #7a0d05, 0 8px 16px rgba(90, 20, 0, .3); color: #fff; }
.vitrine-card.recorte .vitrine-nome { margin: 0; color: #fff; font-size: .95rem; }
.vitrine-card.recorte .vitrine-mercado { color: #ffe1c7; }
.vitrine-card.recorte.campeao { box-shadow: none; }
.vitrine-card.recorte.campeao .vitrine-placa { background: linear-gradient(180deg, #ffd34d, #e0a000); color: #4a2a00; box-shadow: 0 4px 0 #8a6100, 0 8px 16px rgba(90, 20, 0, .3); }
.vitrine-card.recorte.campeao .vitrine-nome { color: #4a2a00; } .vitrine-card.recorte.campeao .vitrine-mercado { color: #6b4500; }
.vitrine-card.recorte.fora .vitrine-foto { filter: grayscale(1); opacity: .7; }
.vitrine-card.recorte .vitrine-selo { top: 6px; }
.vitrine-trilho:has(.recorte) { gap: 6px; align-items: flex-end; }
/* fotos recortadas em círculos (votação, palpites, gráfico): mostra o rosto, não o meio do corpo */
.lado-foto img, .chef-foto img, .disputa-chef .mini img { object-position: top center; }
/* ficha: foto inteira, sem cortar */
.vf-foto { align-items: flex-end; }
.vf-foto img { object-fit: contain; object-position: bottom center; }
.vitrine-aviso{margin:0 auto;padding:18px 16px;max-width:560px;text-align:center;color:#fff;background:rgba(70,0,0,.35);border-radius:12px;font-weight:600}

/* textos corridos sem palavra sozinha na última linha */
.home-cta p, .vitrine-cab p, .faixa p { text-wrap: pretty; }

/* ---------- página "Como funcionam os palpites" ---------- */
.cf { max-width: 980px; margin: 0 auto; padding: 22px var(--gutter) 40px; display: grid; gap: 18px; }
.cf .card + .card { margin-top: 0; }
.cf-banner { margin: 0; border-radius: 16px; overflow: hidden; background: #5e0a00; box-shadow: var(--sombra); }
.cf-banner img { display: block; width: 100%; height: auto; }
.cf-passos { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: passo; display: grid; gap: 12px; }
.cf-passos li { position: relative; padding-left: 52px; min-height: 40px; line-height: 1.5; font-size: .97rem; }
.cf-passos li::before { counter-increment: passo; content: counter(passo); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--laranja), #ffb547); color: #fff; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(243, 85, 37, .35); }
.cf-destaque { margin: 4px 0 12px; font-size: clamp(1.1rem, 4.6vw, 1.45rem); font-weight: 700; color: var(--vinho); }
.cf-destaque strong { color: var(--laranja); }
.cf-lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cf-lista li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; font-size: .95rem; }
.cf-lista li > .ico { flex: 0 0 auto; margin-top: 3px; color: var(--laranja); font-size: 1.1em; }
.cf-obs { margin: 12px 0 0; font-size: .78rem; color: var(--texto-suave); }
.cf-faq { margin: 6px 0 0; display: grid; gap: 10px; }
.cf-faq dt { font-weight: 700; color: var(--vinho); }
.cf-faq dd { margin: 2px 0 0; line-height: 1.5; font-size: .95rem; }
.cf-cta { display: flex; justify-content: center; padding-top: 6px; }
/* menu com o item mais longo: aperta um pouco antes de virar menu de celular */
@media (min-width: 861px) and (max-width: 1140px) { .menu a { padding: 0 11px; font-size: 13.5px; } .menu { gap: 2px; } }

/* ---------- regulamento ---------- */
.reg .card h2 { font-size: clamp(1.02rem, 4vw, 1.2rem); }
.reg-lista { margin: 6px 0 0; padding-left: 0; list-style: none; counter-reset: item; display: grid; gap: 9px; }
.reg-lista li { position: relative; padding-left: 44px; line-height: 1.55; font-size: .95rem; }
.reg-lista li::before { counter-increment: item; content: counter(section) "." counter(item); position: absolute; left: 0; top: 2px; min-width: 34px; font-weight: 800; color: var(--vinho); font-size: .85rem; }
.reg .card { counter-increment: section; }
.reg { counter-reset: section; }
.reg-preencher { background: #fff3c4; color: #7a5200; border-radius: 6px; padding: 0 5px; font-weight: 600; }
@media print { .reg-preencher { background: none; } .topo, .faixa p, .cf-cta, .rodape { display: none; } }
