/* ==========================================================================
   Estilos globais — Vanderson Alonso Leite "Vandinho Leite" | Deputado Estadual
   Página única (hero da home). Paleta: branco + azul #1b3eb8 + verde #33df68.
   Estrutura replicada do site do Xambinho.
   ========================================================================== */

:root {
  --color-primary: #1b3eb8;
  --color-primary-dark: #142f8a;
  --color-primary-light: #33df68;
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}

::selection {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Rótulos — tratamento monoespaçado para reforçar o tom "dados/transparência" */
.font-data {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Recorte diagonal do bloco azul no hero */
.clip-hero {
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
}
@media (max-width: 1023px) {
  .clip-hero {
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
  }
}

/* ==========================================================================
   Componentes
   ========================================================================== */

/* Selo "Vote 15.000" — usado no lugar dos botões de CTA */
.vote-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
}

/* Kicker do herói — linha editorial acima do título */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(27, 62, 184, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-kicker-bar {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}
.hero-kicker strong {
  color: var(--color-primary);
  font-weight: 700;
}
.hero-kicker .kicker-number {
  color: #1a9b46;
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ==========================================================================
   Header — barra fixa na cor primária, logo em cartão branco
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  padding: 0 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(27, 62, 184, 0.12);
}
.site-header__brand {
  display: flex;
  align-items: center;
}
.site-header__logo {
  height: 3rem;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* ==========================================================================
   Entrada orquestrada do herói (page-load, CSS-only)
   ========================================================================== */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-stagger > * {
  opacity: 0;
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.18s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.32s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.46s; }

.hero-media {
  opacity: 0;
  animation: heroReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stagger > *,
  .hero-media {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
