/* ==========================================================================
   Estilos globais — Tatiana Perim | Deputada Federal 1001
   Página única (hero, bandeiras, vote, rodapé).
   Paleta: azul-marinho #112656 (principal) / rosa #EC3C7D (secundária).
   ========================================================================== */

:root {
  --color-primary: #112656;
  --color-primary-dark: #0a1838;
  --color-secondary: #ec3c7d;
  --color-secondary-dark: #c42462;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5rem;
}

body {
  font-family: var(--font-body);
}

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

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

/* Títulos — Poppins itálico pesado, ecoa o lettering da logo */
.hero__title,
.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero__title {
  font-size: clamp(3.5rem, 11vw, 7rem);
  line-height: 0.95;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  color: var(--color-primary);
}

/* Kicker — linha editorial acima dos títulos */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(17, 38, 86, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
}
.kicker__bar {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-secondary);
  flex-shrink: 0;
}
.kicker strong {
  color: var(--color-primary);
  font-weight: 700;
}
.kicker__year {
  color: var(--color-secondary);
  font-weight: 700;
}
.kicker--light {
  color: rgba(255, 255, 255, 0.75);
}
.kicker--light strong {
  color: #ffffff;
}

/* ==========================================================================
   Header — barra fixa branca, logo em destaque
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 5rem;
  padding: 0 1.5rem;
  background: #ffffff;
  border-bottom: 3px solid var(--color-secondary);
}
.site-header__brand {
  display: flex;
  align-items: center;
}
.site-header__logo {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
}
.site-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.site-header__nav a {
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-header__nav a:hover {
  color: var(--color-secondary);
}
.site-header__nav .site-header__cta {
  background: var(--color-secondary);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
}
.site-header__nav .site-header__cta:hover {
  background: var(--color-primary);
  color: #ffffff;
}
@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
  }
}

/* ==========================================================================
   Hero — fundo marinho com onda e linha rosa (ecoa a foto oficial)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 9rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(236, 60, 125, 0.28) 0%, transparent 45%),
    linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 22%;
  min-height: 90px;
}

/* Foto oficial em moldura com deslocamento rosa */
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 26rem;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 4px solid var(--color-secondary);
  border-radius: 2rem;
}
.hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

/* Selo "Vote 1001" */
.vote-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9);
}
.vote-stamp b {
  font-size: 1.35em;
  font-weight: 900;
}

/* ==========================================================================
   Bandeiras — cards
   ========================================================================== */
.priority-card {
  background: #ffffff;
  border: 1px solid rgba(17, 38, 86, 0.1);
  border-top: 4px solid var(--color-secondary);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px -18px rgba(17, 38, 86, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.priority-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--color-primary);
  box-shadow: 0 20px 40px -18px rgba(236, 60, 125, 0.4);
}
.priority-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgba(236, 60, 125, 0.1);
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}
.priority-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.priority-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.priority-card p {
  font-size: 0.95rem;
  color: rgba(17, 38, 86, 0.7);
  line-height: 1.5;
}

/* ==========================================================================
   Vote — teclas de urna
   ========================================================================== */
.vote {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(236, 60, 125, 0.25) 0%, transparent 40%),
    var(--color-primary);
  color: #ffffff;
}
.urna-digits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.urna-digits span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 14vw, 5rem);
  aspect-ratio: 4 / 5;
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 3rem);
  box-shadow: 0 6px 0 var(--color-secondary);
}
.vote-logo {
  width: 100%;
  max-width: 440px;
  height: auto;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5), 0 0 0 6px var(--color-secondary);
}

/* ==========================================================================
   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.3s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.42s; }

.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;
  }
}
