/* ═══════════════════════════════════════════════════════════
   Você Pop de Smartphone Novo — Hotsite
   Paleta LavPop: azul primário + verde secundário, fundo branco/cinza
═══════════════════════════════════════════════════════════ */

:root {
  --primary: #04437d;
  --primary-dk: #032f5a;
  --secondary: #55b03b;
  --secondary-dk: #3f8a2b;
  --accent: #1a1a1a;
  --bg: #f5f7fa;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-mute: #555555;
  --border: #e5e5e5;
  --success: #2e7d32;
  --error: #cc0000;

  --font-body: "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(4, 67, 125, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Tipografia compartilhada ─────────────────────────── */
h2.section-title {
  font-size: 44px;
  line-height: 42px;
  font-weight: 800;
  margin-bottom: 32px;
}
h2.section-title.light {
  color: var(--white);
}
.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.label-tag.light {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Botões ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}
.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(4, 67, 125, 0.22);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-primary.btn-full {
  width: 100%;
  padding: 16px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-size: 13px;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-outline.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ── Animações elegantes (scroll reveal) ──────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal {
  transform: translateY(28px);
}
.reveal-left {
  transform: translateX(-32px);
}
.reveal-right {
  transform: translateX(32px);
}
.reveal-zoom {
  transform: scale(0.94);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger: aplica delay incremental nos filhos diretos */
.stagger > * {
  transition-delay: 0s;
}
.stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.15s;
}
.stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.25s;
}
.stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.35s;
}
.stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #banner img {
    animation: none !important;
  }
}

/* Banner: fade-in + leve zoom de entrada ao carregar */
@keyframes bannerFadeIn {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
#banner .banner-kv img {
  animation: bannerFadeIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hover lift em cards e botões — micro-interação elegante */
.number-card,
.step,
.sorteio-card,
.form-card,
.premio-img-tag {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.number-card:hover,
.step:hover,
.sorteio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(4, 67, 125, 0.14);
}
.premio-img-tag:hover {
  transform: scale(1.02);
}

/* ── Header ───────────────────────────────────────────── */
#header {
  background: #00172f;
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}
#header.scrolled {
  background: rgba(0, 23, 47, 0.72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo-img {
  height: 65px;
  width: auto;
}
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 8px 0;
  transition: color 0.25s ease;
}
/* Underline animado verde — cresce do centro */
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition:
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:hover {
  color: var(--secondary);
}
.nav a:hover::after {
  width: 100%;
  left: 0;
}

/* O botão "Minha Área" tem um look próprio (não usa underline) */
.nav .nav-btn {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.nav .nav-btn::after {
  display: none;
}
.nav .nav-btn:hover {
  background: var(--secondary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(85, 176, 59, 0.35);
  color: var(--white);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 4px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Banner ───────────────────────────────────────────── */
#banner {
  background: var(--primary);
}
.banner-kv img {
  width: 100%;
}
.banner-kv .banner-img-desktop {
  display: block;
}
.banner-kv .banner-img-mobile {
  display: none;
}

/* ── Promo text ───────────────────────────────────────── */
#promo-text {
  padding: 64px 0;
  background: var(--bg);
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.promo-copy h2 {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 40px;
}
.promo-copy h2 em {
  color: var(--secondary);
  font-style: normal;
}
.promo-copy p {
  color: var(--text-mute);
  margin-bottom: 16px;
}
.promo-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.number-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.number-card.accent {
  background: var(--secondary);
  color: var(--white);
}
.number-big {
  display: block;
  font-size: 28px;
  font-weight: 800;
}
.number-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

/* ── Cadastro / Consulta ──────────────────────────────── */
#cadastro {
  padding: 64px 0;
  background: var(--white);
}
.cadastro-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  border-radius: var(--radius);
}
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.form-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.form-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.form-sub {
  color: var(--text-mute);
  margin-bottom: 20px;
  font-size: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.checkbox-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 13px;
  color: var(--text-mute);
}
.checkbox-label input {
  margin-top: 3px;
}
.form-feedback {
  padding: 10px;
  border-radius: var(--radius);
  margin: 12px 0;
  font-size: 13px;
  display: none;
}
.form-feedback:not(:empty) {
  display: block;
}
.form-feedback.error {
  background: #ffe5e5;
  color: var(--error);
}
.form-feedback.success {
  background: #e0f5ec;
  color: var(--success);
}

.form-aviso {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 0 0 18px;
  font-size: 14px;
  background: #fff4e0;
  color: #6b4400;
  border-left: 4px solid #f0a500;
}
.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-mute);
}

/* Pergunta dinâmica — pesquisa do quiz */
.pergunta-card {
  background: var(--white);
  padding: 20px 22px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pergunta-card:focus-within {
  border-left-color: var(--primary);
  box-shadow: 0 4px 14px rgba(4, 67, 125, 0.10);
}
.pergunta-card .pergunta-texto {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1.4;
}
.pergunta-card .pergunta-opcoes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pergunta-card .pergunta-opcoes label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-size: 14px;
}
.pergunta-card .pergunta-opcoes label:hover {
  background: var(--bg);
}
.pergunta-card .pergunta-opcoes input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
}
.pergunta-card .pergunta-opcoes input[type="text"],
.pergunta-card .pergunta-opcoes input[type="number"],
.pergunta-card .pergunta-opcoes textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pergunta-card .pergunta-opcoes input[type="text"]:focus,
.pergunta-card .pergunta-opcoes input[type="number"]:focus,
.pergunta-card .pergunta-opcoes textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(85, 176, 59, 0.12);
}
.pergunta-card .pergunta-opcoes textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* ── Como participar ──────────────────────────────────── */
#como-participar {
  padding: 64px 0;
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--white);
  padding: 32px 24px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
/* Linha verde superior decorativa que cresce no hover */
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--secondary);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.step:hover::before {
  width: 100%;
}

/* Badge "01..04" pequeno no canto superior direito */
.step-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--secondary);
  opacity: 0.55;
}

/* Ícone em círculo verde-claro, ícone verde sólido */
.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(85, 176, 59, 0.12);
  color: var(--secondary);
  border-radius: 50%;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease;
}
.step-icon svg {
  width: 36px;
  height: 36px;
}
.step:hover .step-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--secondary);
  color: var(--white);
}

.step h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--accent);
}
.step p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}

/* ── Prêmio ───────────────────────────────────────────── */
#premio {
  padding: 64px 0;
  background: var(--accent);
  color: var(--white);
}
.premio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.premio-copy h2 em {
  font-style: normal;
  color: var(--secondary);
}
.premio-copy p {
  color: rgba(255, 255, 255, 0.85);
}
.premio-disclaimer {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  line-height: 1.55;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.premio-disclaimer a {
  color: var(--secondary);
  text-decoration: underline;
}
.premio-disclaimer a:hover { color: var(--white); }
.premio-disclaimer strong { color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.premio-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.premio-img-tag {
  max-height: 460px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

/* ── Sorteio ──────────────────────────────────────────── */
#sorteio {
  padding: 64px 0;
  background: var(--white);
}
.sorteio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sorteio-card {
  background: var(--white);
  padding: 32px 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Linha azul decorativa que cresce no hover (espelha o tratamento dos steps) */
.sorteio-card::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 0; height: 4px; background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sorteio-card:hover::before { width: 100%; }

/* Ícone em círculo azul-claro, ícone azul sólido */
.sorteio-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(4, 67, 125, 0.10);
  color: var(--primary);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease, color 0.3s ease;
}
.sorteio-icon svg { width: 36px; height: 36px; }
.sorteio-card:hover .sorteio-icon {
  transform: scale(1.08) rotate(4deg);
  background: var(--primary);
  color: var(--white);
}

.sorteio-card h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sorteio-card p {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 10px;
  line-height: 1.55;
}
.sorteio-card p.sorteio-destaque {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.sorteio-card p.sorteio-protocolo {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  color: var(--accent);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin: 4px auto 14px;
}
.sorteio-card .btn-outline { margin-top: 4px; }

/* ── Área logada ──────────────────────────────────────── */
#area-logada {
  padding: 64px 0;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.dash-card {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}
.dash-card-label {
  display: block;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
}
.dash-card-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
}
.dash-progress-box {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.dash-progress-msg {
  font-weight: 600;
  margin-bottom: 12px;
}
.progress-bar-wrap {
  width: 100%;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
}
.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.4s ease;
}
.dash-numeros,
.dash-tickets-list {
  margin-top: 16px;
}
.dash-numeros {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.dash-numero-pill {
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-family: monospace;
}
.dash-empty {
  color: var(--text-mute);
  font-size: 14px;
}

.dash-lgpd-section {
  margin-top: 32px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff4e0;
  border-left: 4px solid #f0a500;
}
.dash-lgpd-section h4 {
  margin: 0 0 8px;
  color: #6b4400;
}
.dash-lgpd-msg {
  font-size: 13px;
  color: #6b4400;
  margin-bottom: 12px;
}
.dash-ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

/* ── Footer ───────────────────────────────────────────── */
#footer {
  background: var(--accent);
  color: var(--white);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
/* ── Botão voltar ao topo ─────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  cursor: pointer;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(85, 176, 59, 0.35);

  /* Estado oculto por padrão */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              visibility 0s linear 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.3s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              visibility 0s linear 0s;
}
.back-to-top:hover {
  background: var(--secondary-dk);
  transform: translateY(-3px) scale(1);
  box-shadow: 0 12px 28px rgba(85, 176, 59, 0.45);
}
.back-to-top svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

.footer-cert {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-cert a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-cert a:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}
.footer-links h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-links a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 4px 0;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ── Responsivo ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #00172f 0%, #04102a 100%);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(85, 176, 59, 0.2);

    /* Estado fechado: invisível e fora do fluxo de interação */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.28s;
    pointer-events: none;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }
  .nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition:
      background 0.25s ease,
      padding-left 0.25s ease,
      color 0.25s ease;
    opacity: 0;
    transform: translateX(-12px);
  }
  .nav a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  .nav a:hover,
  .nav a:active {
    background: rgba(85, 176, 59, 0.08);
    padding-left: 32px;
    color: var(--secondary);
  }
  .nav a:hover::before,
  .nav a:active::before {
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(85, 176, 59, 0.6);
  }
  .nav a:last-child {
    border-bottom: none;
  }

  /* Botão "Minha Área" destacado dentro do menu mobile */
  .nav .nav-btn {
    margin: 12px 24px 4px;
    padding: 14px 24px;
    background: var(--secondary);
    border-radius: var(--radius);
    border: none;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
  }
  .nav .nav-btn::before {
    display: none;
  }
  .nav .nav-btn:hover {
    background: var(--secondary-dk);
    padding-left: 24px;
    color: var(--white);
  }

  /* Stagger de entrada dos itens do menu */
  .nav.open a {
    opacity: 1;
    transform: translateX(0);
    transition:
      opacity 0.4s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      background 0.25s ease,
      padding-left 0.25s ease,
      color 0.25s ease;
  }
  .nav.open a:nth-child(1) {
    transition-delay: 0.05s, 0.05s, 0s, 0s, 0s;
  }
  .nav.open a:nth-child(2) {
    transition-delay: 0.1s, 0.1s, 0s, 0s, 0s;
  }
  .nav.open a:nth-child(3) {
    transition-delay: 0.15s, 0.15s, 0s, 0s, 0s;
  }
  .nav.open a:nth-child(4) {
    transition-delay: 0.2s, 0.2s, 0s, 0s, 0s;
  }

  .hamburger {
    display: block;
  }
  .promo-grid,
  .premio-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .promo-numbers {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .sorteio-grid {
    grid-template-columns: 1fr;
  }
  .dash-cards {
    grid-template-columns: 1fr;
  }
  .banner-kv .banner-img-desktop {
    display: none;
  }
  .banner-kv .banner-img-mobile {
    display: block;
  }
  .dashboard-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ═══════════════ PÁGINA LEGAL (Política de Privacidade) ═══════════════ */
.page-legal {
  background: #f6f8fb;
}
.legal-main {
  padding: 100px 0 80px;
  min-height: calc(100vh - 200px);
}
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 56px 56px 48px;
  box-shadow: 0 8px 32px rgba(4, 67, 125, 0.08);
}
.legal-doc h1 {
  font-size: 2.2rem;
  color: #04437d;
  margin: 12px 0 8px;
  line-height: 1.2;
}
.legal-doc h2 {
  font-size: 1.25rem;
  color: #04437d;
  margin: 36px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(4, 67, 125, 0.1);
}
.legal-doc section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 32px;
}
.legal-doc p {
  color: #3a4a5e;
  line-height: 1.7;
  margin: 0 0 12px;
}
.legal-doc ul {
  margin: 8px 0 16px;
  padding-left: 22px;
  color: #3a4a5e;
  line-height: 1.7;
}
.legal-doc ul li {
  margin-bottom: 6px;
}
.legal-doc a {
  color: #04437d;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-doc a:hover {
  color: #55b03b;
}
.legal-meta {
  font-size: 0.9rem;
  color: #6b7a8e;
  margin-bottom: 8px;
}
.legal-callout {
  background: #fff8e6;
  border-left: 4px solid #e8a52a;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 16px 0;
  color: #5a4520;
  line-height: 1.6;
  font-size: 0.95rem;
}
.legal-back {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 720px) {
  .legal-main {
    padding: 80px 0 48px;
  }
  .legal-doc {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .legal-doc h1 {
    font-size: 1.7rem;
  }
  .legal-doc h2 {
    font-size: 1.1rem;
  }
}
