/* ═══════════════════════════════════════════════
   DESIGN SYSTEM & TOKENS — CÉSAR HALUM 55555
═══════════════════════════════════════════════ */
/* Paleta extraída das artes oficiais (Santinho.jpg / Santao.jpg).
   Amostragem por filtro de matiz sobre as regiões puras da arte:
     azul de fundo .... #003C84 / #004088
     azul do logo ..... #084494  (CÉSAR HALUM)
     dourado .......... #F4BC1C  (55555)
     verde ............ #1C9830  (bandeira do Tocantins)
   Os tons -night, -mid, -soft e -ice são derivados na mesma matiz (212°). */
:root {
  --blue-night:   #001126;
  --blue-deep:    #003c84;
  --blue-primary: #084494;
  --blue-mid:     #0f5fbe;
  --blue-soft:    #e8f0fb;
  --blue-ice:     #f4f8fe;

  --gold:         #f4bc1c;
  --gold-glow:    #ffd24a;
  --gold-dark:    #8c6100;

  --green-to:     #1c9830;
  --green-light:  #e7f6ea;

  --whatsapp:      #128c7e;
  --whatsapp-dark: #0e7a6e;

  --graphite:     #0f172a;
  --slate-dark:   #334155;
  --slate:        #64748b;
  --slate-light:  #6b7a90;
  --white:        #ffffff;
  --gray-bg:      #f8fafc;

  --font-head:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    24px;
  --radius-xl:    36px;
  --radius-full:  9999px;

  --shadow-sm:    0 2px 8px rgba(0, 60, 132, 0.06);
  --shadow-md:    0 8px 24px rgba(0, 60, 132, 0.08);
  --shadow-lg:    0 16px 40px rgba(0, 60, 132, 0.12);
  --shadow-glow:  0 0 35px rgba(244, 188, 28, 0.35);

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--graphite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ═══════════════════════════════════════════════
   UTILITY & LAYOUT
═══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.eyebrow.light {
  color: var(--gold-glow);
}

.eyebrow.light::before {
  background: var(--gold-glow);
}

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
/* A regra geral vem primeiro: qualquer filho aparece, tenha o container 3 ou
   30 itens. Antes só existiam nth-child(1..6) e o que passasse disso ficava
   invisível para sempre — era o caso da barra de números, que tem 9 filhos. */
.stagger.visible > * { opacity: 1; transform: none; transition-delay: 0.45s; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-spring);
  letter-spacing: 0.02em;
  white-space: nowrap;
  user-select: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-glow) 0%, var(--gold) 100%);
  color: var(--blue-night);
  box-shadow: 0 4px 20px rgba(244, 188, 28, 0.45);
}

.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(244, 188, 28, 0.65);
  filter: brightness(1.05);
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(8, 68, 148, 0.3);
}

.btn-primary:hover {
  background: var(--blue-mid);
  box-shadow: 0 8px 28px rgba(8, 68, 148, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(18, 140, 126, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 8px 28px rgba(18, 140, 126, 0.5);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue-deep);
  border: 2px solid var(--blue-deep);
}

.btn-outline-dark:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost-white:hover {
  background: var(--white);
  color: var(--blue-deep);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════
   HEADER & NAVIGATION
═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: all 0.35s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(0, 60, 132, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.7rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-psd-badge {
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.brand-psd-img {
  display: block;
  height: 28px;
  width: auto;
  border-radius: 4px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav ul {
  display: flex;
  gap: 1.75rem;
}

.primary-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  position: relative;
  padding: 0.2rem 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--gold);
  transition: right 0.3s var(--ease-out);
}

.primary-nav a:hover {
  color: var(--white);
}

.primary-nav a:hover::after {
  right: 0;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 40, 90, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.mobile-menu-close {
  color: var(--white);
  font-size: 1.8rem;
}

.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu nav a {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 2rem;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, #0f5fbe 0%, #003c84 60%, #001126 100%);
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, rgba(0, 150, 57, 0.15), transparent 50%),
              radial-gradient(ellipse at top right, rgba(244, 188, 28, 0.12), transparent 45%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: rgba(244, 188, 28, 0.15);
  top: -100px;
  right: 15%;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: rgba(0, 150, 57, 0.12);
  bottom: 0;
  left: -100px;
  animation-delay: -6s;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.08); }
}

.flag-ribbon-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1c9830 0%, #1c9830 30%, #f4bc1c 30%, #f4bc1c 70%, #ffffff 70%, #ffffff 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.4rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.hero-slogan-wrap {
  margin-bottom: 0.5rem;
}

.hero-slogan-top {
  font-family: var(--font-head);
  font-size: clamp(0.9rem, 2vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.hero-number-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.4rem;
}

.hero-number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--gold);
  text-shadow: 0 4px 30px rgba(244, 188, 28, 0.4);
}

.hero-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s var(--ease-spring);
}

.hero-copy-pill:hover {
  background: var(--gold);
  color: var(--blue-night);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.text-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #e8f0fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero Photo & Badges */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-photo-halo {
  position: absolute;
  inset: -15px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center, rgba(244, 188, 28, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.18);
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  bottom: 1.8rem;
  left: -1.2rem;
  z-index: 2;
  background: rgba(0, 17, 38, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-lg);
  animation: floatTag 5s ease-in-out infinite;
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.hero-tag-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.hero-tag-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tag-text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}

.hero-tag-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.verified-badge {
  background: #1c9830;
  color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

.hero-mini-badge {
  position: absolute;
  top: 1.8rem;
  right: -1rem;
  z-index: 2;
  background: rgba(244, 188, 28, 0.95);
  color: var(--blue-night);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: floatTag 5s ease-in-out infinite -2.5s;
}

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
.stats-bar {
  background: var(--blue-night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}

.stat-item.highlight .stat-num {
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════
   COLA ELEITORAL DIGITAL INTERATIVA
═══════════════════════════════════════════════ */
.cola-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--gray-bg);
}

.cola-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 60, 132, 0.08);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.cola-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.cola-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cola-desc {
  font-size: 1.05rem;
  color: var(--slate-dark);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.ballot-display {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  color: var(--white);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.ballot-role {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.ballot-digits {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.digit {
  width: 54px;
  height: 64px;
  background: var(--white);
  color: var(--blue-night);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--gold);
  animation: pulseDigit 2.5s infinite ease-in-out;
}

.digit:nth-child(2) { animation-delay: 0.15s; }
.digit:nth-child(3) { animation-delay: 0.3s; }
.digit:nth-child(4) { animation-delay: 0.45s; }
.digit:nth-child(5) { animation-delay: 0.6s; }

@keyframes pulseDigit {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.ballot-candidate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.85rem;
}

.ballot-candidate strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ballot-candidate span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.cola-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cola-visual {
  display: flex;
  justify-content: center;
}

.cola-ballot-mockup {
  position: relative;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 60, 132, 0.18);
  border: 3px solid var(--white);
}

.cola-img {
  width: 100%;
  height: auto;
  display: block;
}

.cola-stamp {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--green-to);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  transform: rotate(-10deg);
  box-shadow: 0 4px 16px rgba(0, 150, 57, 0.4);
}

/* ═══════════════════════════════════════════════
   SOBRE O CANDIDATO
═══════════════════════════════════════════════ */
.sobre-section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background: var(--white);
}

.sobre-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.sobre-visual {
  position: relative;
}

.sobre-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 60, 132, 0.08);
}

.sobre-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.sobre-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 60, 132, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sobre-psd-logo {
  height: 30px;
  width: auto;
}

.sobre-badge span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-dark);
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.role-tag {
  background: var(--blue-soft);
  color: var(--blue-primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.lead-paragraph {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.sobre-text p {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.creds-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--graphite);
  font-size: 0.92rem;
}

.cred-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-to);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   BANDEIRAS & PROPOSTAS
═══════════════════════════════════════════════ */
.section-ice {
  background: var(--blue-ice);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  line-height: 1.2;
  color: var(--blue-deep);
  margin-bottom: 0.85rem;
}

.section-title.light {
  color: var(--white);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
}

.bandeiras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.bandeira-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 60, 132, 0.06);
  transition: all 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.bandeira-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.bandeira-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.bandeira-card:hover::before {
  transform: scaleX(1);
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  color: var(--blue-primary);
  transition: all 0.3s var(--ease-spring);
}

.bandeira-card:hover .card-icon-wrap {
  background: var(--blue-primary);
  color: var(--white);
  transform: scale(1.08) rotate(-4deg);
}

.bandeira-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bandeira-card p {
  font-size: 0.94rem;
  color: var(--slate-dark);
  line-height: 1.65;
}

.section-action {
  text-align: center;
  margin-top: 3.5rem;
}

/* ═══════════════════════════════════════════════
   TRAJETÓRIA & TIMELINE
═══════════════════════════════════════════════ */
.section-dark {
  background: linear-gradient(135deg, var(--blue-night) 0%, var(--blue-deep) 100%);
  color: var(--white);
  position: relative;
  padding: clamp(5rem, 8vw, 7.5rem) 0;
}

.trajetoria-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.trajetoria-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.trajetoria-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.badge-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.badge-txt {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* Timeline Components */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.timeline-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  transition: all 0.3s var(--ease-spring);
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.timeline-item.current {
  background: rgba(244, 188, 28, 0.12);
  border-color: var(--gold);
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.6rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue-mid);
  border: 3px solid var(--blue-night);
}

.current-dot {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.timeline-year {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-desc {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.timeline-detail {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   COMPROMISSO TERRITORIAL
═══════════════════════════════════════════════ */
.compromisso-block {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 60, 132, 0.06);
  text-align: center;
}

.pillars-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.pillar-pill {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(8, 68, 148, 0.1);
  transition: all 0.25s var(--ease-spring);
}

.pillar-pill:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   PARTICIPE & CTA
═══════════════════════════════════════════════ */
.cta-section {
  background: radial-gradient(circle at top right, #084494 0%, #003c84 60%, #001126 100%);
  color: var(--white);
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-block;
  background: rgba(244, 188, 28, 0.2);
  color: var(--gold);
  border: 1px solid rgba(244, 188, 28, 0.4);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.cta-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

.cta-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: #001126;
  color: rgba(255, 255, 255, 0.65);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-brand-desc strong {
  color: var(--gold);
}

.footer-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  color: var(--white);
}

.footer-num-badge .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-info-text {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.slogan-footer {
  color: var(--gold);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: rgba(0, 60, 132, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-spring);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-night);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN (BREAKPOINTS)
═══════════════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-slogan-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-number-row {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-photo-wrap {
    max-width: 380px;
  }

  .sobre-layout {
    grid-template-columns: 1fr;
  }

  .cola-grid {
    grid-template-columns: 1fr;
  }

  .trajetoria-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  .hero-tag {
    left: 0;
    bottom: 1rem;
  }

  .hero-mini-badge {
    right: 0;
    top: 1rem;
  }

  .ballot-digits {
    justify-content: center;
  }

  .digit {
    width: 44px;
    height: 54px;
    font-size: 1.8rem;
  }

  .stats-inner {
    flex-direction: column;
    gap: 1.2rem;
  }

  .stat-divider {
    display: none;
  }

  .toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    text-align: center;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   BARRA DE NAVEGAÇÃO — AJUSTE DE CABIMENTO
   Com 7 itens o menu exigia ~1234px e quebrava os
   rótulos em duas linhas mesmo em telas de 1440px
   (o container útil tem 1120px). Correções:
     · rótulos nunca quebram no meio
     · espaçamento e corpo fluidos
     · o botão do header sai antes de espremer
     · hambúrguer assume em telas médias
═══════════════════════════════════════════════ */
.primary-nav {
  gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav ul {
  gap: clamp(0.85rem, 1.6vw, 1.75rem);
}

.primary-nav a {
  font-size: clamp(0.8rem, 0.95vw, 0.88rem);
  white-space: nowrap;
}

/* Item ativo: sublinhado dourado (antes só mudava de 85% para 100% branco) */
.primary-nav a.is-active {
  color: var(--white);
}

.primary-nav a.is-active::after {
  right: 0;
}

/* Foco visível para navegação por teclado */
.primary-nav a:focus-visible,
.nav-menu-btn:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Telas médias já vão para o menu lateral */
@media (max-width: 1024px) {
  .primary-nav {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }
}


/* ═══════════════════════════════════════════════
   AJUSTES PARA CELULAR
   Medido com a página dentro de iframes de 360, 390
   e 414px. O estouro real vinha da Cola Eleitoral: a
   fileira de dígitos tinha largura mínima de 268px e
   empurrava o card inteiro para 332px num viewport
   de 345px.
═══════════════════════════════════════════════ */

/* Barra de números: agrupada, centralizada e compacta o bastante
   para os 5 itens caberem numa linha só em telas largas. */
.stats-inner {
  justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.stat-item {
  padding: 0.5rem 0.6rem;
}

.stat-label {
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
}

/* Filhos de grid/flex podem encolher abaixo do conteúdo */
.cola-info,
.cola-visual,
.sobre-text,
.sobre-visual,
.trajetoria-content,
.timeline {
  min-width: 0;
}

/* Dígitos da urna: dividem a largura disponível em vez de
   ter tamanho fixo, então nunca estouram */
.ballot-digits {
  gap: clamp(0.3rem, 1.6vw, 0.75rem);
}

.digit {
  flex: 1 1 0;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 54px;
  aspect-ratio: 54 / 64;
  font-size: clamp(1.25rem, 5.4vw, 2.2rem);
}

@media (max-width: 560px) {
  .cola-card {
    padding: clamp(1.15rem, 4.5vw, 2rem);
  }

  .ballot-display {
    padding: 1.15rem 1rem;
  }

  .ballot-candidate {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  /* Botões de largura cheia: alvo de toque confortável */
  .cola-buttons .btn,
  .cta-card-actions .btn,
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding-block: clamp(2.5rem, 9vw, 4rem);
  }
}

/* Alvo mínimo de toque de 44px nos controles pequenos */
@media (pointer: coarse) {
  .btn-sm,
  .hero-copy-pill,
  .av-restart,
  .av-popup-later {
    min-height: 44px;
  }
}


/* ═══════════════════════════════════════════════
   TIPOGRAFIA DOS TÍTULOS
   A Plus Jakarta Sans aplica a ligadura "fi", que funde
   as duas letras e remove o ponto do i. Em peso 900 e
   corpo grande isso lê como erro de renderização —
   aparece em "Oficial", "Perfil", "confiança".
   Desligada só nos títulos; no texto corrido não incomoda.
═══════════════════════════════════════════════ */
h1, h2, h3, h4,
.hero-title,
.hero-number,
.section-title,
.cola-title,
.cta-title,
.brand-title,
.btn,
.stat-num,
.av-result h3,
.av-popup-top h3 {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
}


/* ═══════════════════════════════════════════════
   TRAVA DE ARRASTO LATERAL NO CELULAR
   Com overflow-x: hidden apenas no body, o body vira
   contêiner de rolagem mas o html continua panorâmico
   no toque — era isso que deixava a página "andar" de
   lado ao passar o dedo.

   Uso "clip" em vez de "hidden": clip não cria contêiner
   de rolagem, então não quebra o header fixo nem o
   scroll suave das âncoras. Fica dentro de @supports
   para o Safari antigo manter o comportamento atual.
═══════════════════════════════════════════════ */
html {
  overscroll-behavior-x: none;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}
