/* =========================================
   COPA TAIOBA 2026 — TEMA CSS
   Paleta: Azul #1A508C · Verde #2D7A50
           Dourado #D4920E · Creme #EDE3CC
   ========================================= */

:root {
  --azul:    #1A508C;
  --azul-dk: #0f3460;
  --verde:   #2D7A50;
  --verde-dk:#1f5538;
  --dourado: #D4920E;
  --dourado-lt:#f0a91a;
  --creme:   #EDE3CC;
  --creme-dk:#d8cdb4;
  --preto:   #1A1A1A;
  --branco:  #ffffff;

  --font-display: 'Bebas Neue', 'Barlow Condensed', Impact, sans-serif;
  --font-heading: 'Barlow Condensed', 'Barlow', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.2);
  --transition: 0.2s ease;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--creme);
  color: var(--preto);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
input, button, select, textarea { font-family: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-lg { padding: 18px 48px; font-size: 1.15rem; }
.btn-full { width: 100%; }

.btn-amarelo { background: var(--dourado); color: var(--branco); }
.btn-amarelo:hover:not(:disabled) { background: var(--dourado-lt); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-verde { background: var(--verde); color: var(--branco); }
.btn-verde:hover:not(:disabled) { background: var(--verde-dk); transform: translateY(-2px); }

.btn-azul { background: var(--azul); color: var(--branco); }
.btn-azul:hover:not(:disabled) { background: var(--azul-dk); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--azul);
  color: var(--azul);
}
.btn-outline:hover { background: var(--azul); color: var(--branco); }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--azul);
  border-bottom: 3px solid var(--dourado);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo img { height: 48px; transition: opacity 0.2s; }
.site-logo:hover img { opacity: 0.85; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  color: var(--creme);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--dourado); }

.btn-cta-nav {
  background: var(--dourado) !important;
  color: var(--branco) !important;
  padding: 10px 24px;
  border-radius: 6px;
}
.btn-cta-nav:hover { background: var(--dourado-lt) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--creme);
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  background: var(--azul-dk);
  line-height: 0;
}
.hero-banner-wrap {
  position: relative;
  display: block;
}
.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-banner-cta {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 600px) {
  .hero-banner-cta { bottom: 6%; }
  .hero-banner-cta .btn { padding: 12px 28px; font-size: 0.95rem; }
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  color: var(--azul);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.section-subtitle {
  color: #555;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-deco {
  height: 48px;
  margin: 0 auto 16px;
  opacity: 0.7;
}

.cta-center {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- COMO FUNCIONA ---- */
.section-como-funciona {
  background: var(--branco);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.step {
  background: var(--creme);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--dourado);
  transition: transform 0.2s;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  position: absolute;
  top: -16px;
  left: 28px;
  background: var(--dourado);
  color: var(--branco);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.step-icon { font-size: 2.4rem; margin-bottom: 12px; }
.step h3 { color: var(--azul); margin-bottom: 10px; }
.step p { color: #555; font-size: 0.95rem; }

/* ---- PRÊMIOS ---- */
.section-premios {
  background: var(--azul);
  position: relative;
  overflow: hidden;
}
.section-premios .section-title { color: var(--creme); }
.section-premios .section-subtitle { color: var(--creme-dk); }
.section-premios::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(212,146,14,0.08);
}

.premios-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 48px;
}
.premio {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--creme);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: transform 0.2s;
}
.premio:hover { transform: translateY(-4px); }
.premio-ouro {
  background: rgba(212,146,14,0.15);
  border-color: var(--dourado);
  transform: scale(1.04);
}
.premio-ouro:hover { transform: scale(1.04) translateY(-4px); }
.medal { font-size: 3rem; margin-bottom: 12px; }
.premio-lugar {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dourado);
  margin-bottom: 8px;
}
.premio h3 { font-size: 1.4rem; margin-bottom: 10px; }
.premio p { font-size: 0.9rem; opacity: 0.85; }
.premio-destaque {
  display: inline-block;
  background: var(--dourado);
  color: var(--branco);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 14px;
}

.mockups-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.mockup-img {
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

/* ---- DATAS ---- */
.section-datas {
  background: var(--verde);
}
.section-datas .section-title { color: var(--creme); }
.datas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.data-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--creme);
}
.data-icon { font-size: 2.4rem; flex-shrink: 0; }
.data-info { display: flex; flex-direction: column; gap: 4px; }
.data-label { font-size: 0.85rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.06em; }
.data-valor { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }

/* ---- SELEÇÕES DESTAQUE ---- */
.section-top-selecoes {
  background: var(--creme);
}
.selecoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.selecao-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  border: 2px solid transparent;
}
.selecao-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--dourado);
}
.selecao-card-header {
  background: var(--azul);
  padding: 24px;
  text-align: center;
  position: relative;
}
.selecao-escudo { height: 64px; margin: 0 auto; }
.medal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.6rem;
}
.selecao-card-body { padding: 20px; }
.selecao-card-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--azul);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.selecao-card-author { color: #777; font-size: 0.85rem; margin-bottom: 12px; }
.selecao-card-votes { display: flex; align-items: baseline; gap: 6px; }
.votes-count { font-family: var(--font-display); font-size: 2rem; color: var(--dourado); }
.votes-label { font-size: 0.85rem; color: #888; text-transform: uppercase; }

/* ---- FINAL CTA ---- */
.section-final-cta {
  background: var(--azul-dk);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}
.final-cta-text h2 { color: var(--creme); margin-bottom: 16px; }
.final-cta-text p { color: var(--creme-dk); margin-bottom: 32px; max-width: 480px; }
.cta-deco { height: 120px; opacity: 0.2; flex-shrink: 0; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 64px 0;
  text-align: center;
}
.page-hero-azul { background: var(--azul); }
.page-hero-verde { background: var(--verde); }
.page-hero img { margin: 0 auto 16px; height: 80px; width: auto; }
.page-hero h1 { color: var(--creme); margin-bottom: 10px; }
.page-hero p { color: var(--creme-dk); font-size: 1.05rem; }

/* ---- FORMS ---- */
.form-container {
  max-width: 560px;
  margin: 60px auto;
}
.ct-form {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 24px;
  position: relative;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--azul);
  margin-bottom: 8px;
}
.required { color: var(--dourado); }
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--creme-dk);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: var(--creme);
}
.form-group input:focus {
  outline: none;
  border-color: var(--azul);
  background: var(--branco);
}
.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.form-error { background: #fff0f0; color: #c0392b; border: 1px solid #f5c6cb; }
.form-success { background: var(--creme); color: var(--azul); border: 1px solid var(--dourado); font-weight: 600; }
.form-note { font-size: 0.8rem; color: #888; margin-top: 16px; text-align: center; }
.form-note a { color: var(--azul); text-decoration: underline; }
.btn-link { background: none; border: none; padding: 0; color: var(--azul); text-decoration: underline; cursor: pointer; font-size: inherit; }
.reg-sent-box {
  background: var(--branco); border-radius: var(--radius); padding: 48px 32px;
  text-align: center; max-width: 480px; margin: 0 auto;
}
.reg-sent-icon { font-size: 3rem; margin-bottom: 16px; }
.reg-sent-box h2 { color: var(--azul); margin-bottom: 12px; }
.reg-sent-box p { color: #555; line-height: 1.7; margin-bottom: 8px; }
.char-count { position: absolute; right: 12px; bottom: 14px; font-size: 0.75rem; color: #aaa; }

/* ---- FIELD BUILDER ---- */
.selecao-builder {
  padding: 40px 24px 60px;
  max-width: 860px;
}
.builder-top {
  max-width: 500px;
  margin-bottom: 32px;
}
.builder-top .form-group { margin-bottom: 0; }
.builder-top input {
  background: var(--branco);
  border: 2px solid var(--creme-dk);
  padding: 14px 100px 14px 16px;
}

.field-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 32px;
}
.field-bg {
  background: #2e8b3a;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 60px);
  padding: 24px 16px;
  position: relative;
}
.field-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.field-center-line {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%);
}
.field-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.field-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 18%;
  border: 2px solid rgba(255,255,255,0.2);
}
.field-area-top { top: 0; border-top: none; }
.field-area-bottom { bottom: 0; border-bottom: none; }

.formation { position: relative; z-index: 1; }
.field-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.field-row:last-child { margin-bottom: 0; }

.player-slot {
  flex: 0 0 auto;
  width: 88px;
  cursor: pointer;
  transition: transform 0.15s;
}
.player-slot:hover .slot-inner { background: rgba(212,146,14,0.9); transform: scale(1.05); }
.player-slot.selected .slot-inner {
  background: rgba(26,80,140,0.92);
  border-color: var(--dourado);
}
.slot-inner {
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.15s, transform 0.15s;
  padding: 6px;
  position: relative;
  overflow: hidden;
}
.slot-pos {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--dourado);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.slot-name {
  font-size: 0.6rem;
  color: var(--branco);
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
  word-break: break-word;
  max-width: 70px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}
.slot-inner.has-photo {
  border-color: var(--dourado);
  box-shadow: 0 0 0 2px var(--dourado);
}
.slot-inner.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.15) 100%);
}

/* Campo readonly (visualização) */
.field-readonly .player-slot { cursor: default; }
.field-readonly .player-slot:hover .slot-inner { background: rgba(0,0,0,0.55); transform: none; }
.player-slot-filled .slot-inner { background: rgba(26,80,140,0.85); border-color: var(--dourado); }

/* Slot modo visualização (single-selecao) */
.player-slot-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: default;
  width: 80px;
}
.slot-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(26,80,140,0.85);
  border: 2px solid var(--dourado);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.slot-circle.has-photo { border-color: var(--dourado); box-shadow: 0 0 0 2px rgba(212,146,14,0.4); }
.slot-photo-overlay {
  display: none;
}
.slot-pos-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--dourado);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.slot-artist-name {
  font-size: 0.58rem;
  color: var(--branco);
  text-align: center;
  line-height: 1.2;
  max-width: 76px;
  word-break: break-word;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

.builder-actions {
  text-align: center;
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: var(--branco);
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--azul);
  color: var(--creme);
}
.modal-header h3 { color: var(--creme); font-size: 1.2rem; }
.modal-close {
  background: none;
  border: none;
  color: var(--creme);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
}
.modal-body { padding: 20px 24px; flex: 1; overflow-y: auto; }
.modal-body input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--creme-dk);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.modal-body input:focus { outline: none; border-color: var(--azul); }
.artist-list { list-style: none; }
.artist-list li {
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s;
  border-bottom: 1px solid var(--creme);
  display: flex;
  align-items: center;
  gap: 12px;
}
.artist-list li:hover { background: var(--creme); color: var(--azul); font-weight: 600; }
.artist-list li.artist-used { opacity: 0.4; pointer-events: none; }
.artist-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--creme-dk);
}

/* ---- SINGLE SELEÇÃO ---- */
.selecao-hero {
  position: relative;
  background: var(--azul-dk);
  padding: 56px 0;
  overflow: hidden;
}
.selecao-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/bg1.jpg') center/cover;
  opacity: 0.15;
}
.selecao-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
}
.selecao-hero-imgs { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.selecao-icone-hero { height: 72px; width: auto; }
.selecao-estrelas-hero { height: 28px; width: auto; }
.selecao-hero-info { flex: 1; }
.selecao-team-name {
  color: var(--creme);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 4px;
}
.selecao-author { color: var(--creme-dk); font-size: 1rem; margin-bottom: 16px; }
.selecao-votes-display { display: flex; align-items: baseline; gap: 10px; }
.votes-big { font-family: var(--font-display); font-size: 3.5rem; color: var(--dourado); line-height: 1; }
.votes-text { color: var(--creme-dk); font-size: 1rem; text-transform: uppercase; }

.selecao-body { padding: 48px 24px 80px; }
.selecao-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* Vote panel */
.vote-panel, .share-panel {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.vote-panel h2 { color: var(--azul); font-size: 1.4rem; margin-bottom: 10px; }
.vote-panel p { color: #555; font-size: 0.9rem; margin-bottom: 20px; }
#vote-result-msg { margin-top: 16px; margin-bottom: 0; }
.vote-terms-note { font-size: 0.75rem; color: #aaa; text-align: center; margin-top: 10px; margin-bottom: 0; }
.vote-terms-note a { color: #aaa; text-decoration: underline; }
.vote-terms-note a:hover { color: #777; }
#vote-form-wrapper .form-group { margin-bottom: 12px; }
#vote-form-wrapper input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--creme-dk);
  border-radius: 8px;
}
#vote-form-wrapper input:focus { outline: none; border-color: var(--azul); }

.share-panel h3 { color: var(--azul); font-size: 1.1rem; margin-bottom: 14px; }
.share-url-box {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.share-url-box input {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid var(--creme-dk);
  border-radius: 8px;
  font-size: 0.85rem;
  background: var(--creme);
  min-width: 0;
}
.btn-copy {
  background: var(--azul);
  color: var(--branco);
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-copy:hover { background: var(--azul-dk); }
.share-buttons { display: flex; gap: 10px; }
.share-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-whatsapp { background: #25D366; color: var(--branco); }
.share-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: var(--branco); border: none; cursor: pointer; }

/* Players table */
.players-list-section { margin-top: 48px; }
.players-list-section h2 { color: var(--azul); margin-bottom: 24px; }
.players-table { display: flex; flex-direction: column; gap: 8px; }
.player-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--branco);
  padding: 14px 20px;
  border-radius: 8px;
  transition: background 0.15s;
}
.player-row:hover { background: var(--creme); }
.player-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dourado);
  width: 32px;
  flex-shrink: 0;
}
.player-pos-badge {
  background: var(--azul);
  color: var(--creme);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 36px;
  text-align: center;
}
.player-pos-name { color: #888; font-size: 0.85rem; width: 100px; flex-shrink: 0; }
.player-artist { font-weight: 600; font-size: 1rem; }
.player-row-photo {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--azul); border: 2px solid var(--dourado);
  background-size: cover; background-position: center top;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.player-row-initials { color: var(--creme); font-family: var(--font-display); font-size: 1.1rem; }

/* ---- SLIDER CAPTCHA ---- */
.captcha-wrapper { margin-bottom: 20px; }
.captcha-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}
.slider-captcha { position: relative; }
.slider-track {
  height: 48px;
  background: var(--creme);
  border: 2px solid var(--creme-dk);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--verde), var(--verde-dk));
  width: 48px;
  border-radius: 24px 0 0 24px;
  transition: width 0.05s;
}
.slider-handle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 44px;
  background: var(--azul);
  border-radius: 22px;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
  transition: background 0.15s;
}
.slider-handle:active { cursor: grabbing; background: var(--verde); }
.slider-handle.done { background: var(--verde); cursor: default; }
.slider-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  pointer-events: none;
  z-index: 1;
  padding-left: 56px;
}
.slider-text.done { color: var(--verde); font-weight: 600; }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease, toastOut 0.3s ease 4s forwards;
  white-space: nowrap;
}
.toast-success { background: var(--verde); color: var(--branco); }
.toast-error { background: #c0392b; color: var(--branco); }
@keyframes toastIn  { from { opacity:0; top:70px; } to { opacity:1; top:90px; } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; pointer-events:none; } }

/* ---- RANKING ---- */
.ranking-empty { text-align: center; padding: 80px 20px; }
.ranking-empty p { font-size: 1.1rem; color: #666; margin-bottom: 24px; }

.ranking-container { padding-top: 48px; padding-bottom: 48px; }

.ranking-table-wrap {
  background: var(--branco);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.ranking-season-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-season-table thead tr {
  background: var(--azul);
}

.ranking-season-table thead th {
  color: var(--creme);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}

.ranking-season-table thead th.col-pts,
.ranking-season-table thead th.col-pos { text-align: center; }

.ranking-tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.15s;
}
.ranking-tr:last-child { border-bottom: none; }
.ranking-tr:hover { background: #f7f3eb; }

.ranking-tr.row-1 { background: #fffbf0; }
.ranking-tr.row-2 { background: #fafafa; }
.ranking-tr.row-3 { background: #fdf8f5; }
.ranking-tr.row-1:hover { background: #fff5d6; }
.ranking-tr.row-2:hover { background: #f2f2f2; }
.ranking-tr.row-3:hover { background: #f7ede6; }

.ranking-season-table td {
  padding: 16px 20px;
  vertical-align: middle;
}

.col-pos { width: 64px; text-align: center; }
.col-pts { width: 100px; text-align: center; }
.col-coach { color: #777; font-size: 0.9rem; }

.medal { font-size: 1.6rem; line-height: 1; }
.pos-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #aaa;
}

.team-link {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--azul);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.team-link:hover { color: var(--dourado); }

.ranking-tr.row-1 .team-link { color: var(--dourado); }
.ranking-tr.row-1 .team-link:hover { color: var(--dourado-lt); }

.pts-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--azul);
  line-height: 1;
}
.ranking-tr.row-1 .pts-value { color: var(--dourado); }

@media (max-width: 600px) {
  .ranking-season-table thead th,
  .ranking-season-table td { padding: 12px 10px; }
  .col-pos { width: 44px; min-width: 44px; }
  .col-pts { width: 60px; min-width: 60px; }
  .col-coach { display: none; }
  thead .col-coach { display: none; }
  .medal { font-size: 1.3rem; }
  .pts-value { font-size: 1.2rem; }
  .team-link { font-size: 0.9rem; }
}

/* ---- TERMOS ---- */
.termos-body h2 {
  color: var(--azul);
  font-size: 1.15rem;
  margin: 40px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--dourado);
}
.termos-body h2:first-child { margin-top: 0; }
.termos-body p, .termos-body li { color: #333; line-height: 1.75; margin-bottom: 10px; }
.termos-body ol, .termos-body ul { padding-left: 24px; margin-bottom: 16px; }
.termos-body li { margin-bottom: 6px; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--verde);
  color: var(--creme);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 24px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 64px;
  width: auto;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--creme-dk);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--dourado); }
.footer-copy { font-size: 0.85rem; opacity: 0.55; margin: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--azul-dk); padding: 24px; gap: 20px; border-bottom: 3px solid var(--dourado); z-index: 999; }
  .nav-toggle { display: flex; }

  .premios-grid { grid-template-columns: 1fr; }
  .premio-ouro { transform: none; }
  .podium { flex-direction: column; align-items: center; }
  .podium-ouro, .podium-prata, .podium-bronze { order: unset; width: 100%; max-width: 260px; }
  .podium-block { min-height: 48px !important; }

  .selecao-layout { grid-template-columns: 1fr; }
  .selecao-hero-content { flex-direction: column; text-align: center; }
  .selecao-icone-hero { height: 52px; }
  .selecao-estrelas-hero { height: 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { text-align: left; }

  .final-cta-inner { flex-direction: column; }
  .cta-deco { display: none; }

  .player-slot { width: 68px; }
  .slot-inner { width: 64px; height: 64px; }
  .slot-name { font-size: 0.5rem; }

  .field-row { gap: 6px; }

  .ct-form { padding: 32px 24px; }
  .hero { min-height: unset; }
}
