:root {
  --blue-900: #002d87;
  --blue-700: #003bc8;
  --green-700: #0a7731;
  --green-800: #096026;
  --yellow-500: #ffb92e;
  --yellow-400: #e8a83a;
  --yellow-200: #ffd878;
  --ink: #082157;
  --paper: #ffffff;
  --soft: #fff8e7;
  --radius-lg: 32px;
  --shadow: 0 24px 70px rgba(0,45,135,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,185,46,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,45,135,.12);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 270px; height: 74px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 25px; font-weight: 850; color: var(--blue-900); }
.nav a { transition: .2s ease; }
.nav a:hover { color: var(--green-800); }
.nav-number {
  color: var(--yellow-500) !important;
  background: var(--blue-900);
  padding: 10px 18px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.hero {
  min-height: 735px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,.26) 0 3px, transparent 4px) 0 0 / 34px 34px,
    linear-gradient(128deg, #ffc33e 0%, var(--yellow-500) 58%, #f4aa18 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  border: 105px solid rgba(0,45,135,.08);
  right: -150px;
  top: 45px;
}
.hero-ribbon {
  position: absolute;
  width: 760px;
  height: 170px;
  background: var(--blue-900);
  left: -160px;
  bottom: -85px;
  transform: rotate(7deg);
  opacity: .98;
}
.hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13px;
  background: var(--green-700);
}
.hero-grid {
  min-height: 735px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}
.hero-copy { padding: 65px 0 70px; }
.eyebrow, .section-kicker {
  display: inline-block;
  color: var(--green-800);
  font-size: .88rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(4.7rem, 9vw, 8.6rem);
  line-height: .75;
  letter-spacing: -.075em;
  font-weight: 1000;
  text-transform: uppercase;
}
.hero h1 span { color: var(--green-700); }
.hero-lead {
  margin: 25px 0 24px;
  color: var(--blue-900);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 900;
  font-style: italic;
}
.vote-card {
  width: fit-content;
  min-width: 390px;
  background: var(--blue-900);
  border-radius: 24px 24px 10px 24px;
  border-bottom: 11px solid var(--green-700);
  box-shadow: 0 18px 42px rgba(0,45,135,.26);
  padding: 12px 24px 7px;
  margin: 0 0 27px;
  transform: rotate(-1deg);
}
.vote-label {
  display: block;
  color: white;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .74rem;
  font-weight: 850;
  opacity: .9;
}
.vote-card strong {
  display: block;
  margin-top: -5px;
  color: var(--yellow-500);
  font-size: clamp(4.4rem, 7vw, 6.7rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 1000;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  padding: 14px 22px;
  border-radius: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-700); color: #fff; box-shadow: 0 12px 28px rgba(10,119,49,.22); }
.button-primary:hover { background: var(--green-800); }
.button-secondary { background: rgba(255,255,255,.56); color: var(--blue-900); border: 2px solid rgba(0,45,135,.18); }
.button-secondary:hover { background: #fff; }

.hero-photo-wrap {
  align-self: end;
  height: 670px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 62%;
  height: 38px;
  background: rgba(11,27,58,.2);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 0;
}
.hero-number-bg {
  position: absolute;
  top: 80px;
  right: -20px;
  color: rgba(255,255,255,.26);
  font-size: clamp(12rem, 23vw, 23rem);
  line-height: .7;
  font-weight: 1000;
  letter-spacing: -.1em;
  transform: rotate(-5deg);
}
.sunburst {
  position: absolute;
  width: 525px;
  height: 525px;
  border-radius: 50%;
  bottom: 38px;
  background: repeating-conic-gradient(from 8deg, rgba(0,45,135,.9) 0 8deg, transparent 8deg 22deg);
  opacity: .24;
  -webkit-mask-image: radial-gradient(circle, black 0 57%, transparent 58%);
  mask-image: radial-gradient(circle, black 0 57%, transparent 58%);
}
.hero-photo { position: relative; z-index: 2; height: 660px; width: auto; object-fit: contain; filter: drop-shadow(0 23px 28px rgba(0,45,135,.22)); }

.story-section {
  position: relative;
  padding: 105px 0;
  background: var(--soft);
  overflow: hidden;
}
.story-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue-900) 0 50%, var(--green-700) 50% 100%);
}
.story-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 72px; align-items: center; }
.story-copy h2, .section-heading h2, .numbers-heading h2, .closing-section h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(2.3rem, 4.7vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.story-copy p { color: #4f5c72; font-size: 1.12rem; }
.video-note { font-size: .92rem !important; font-weight: 700; color: var(--green-800) !important; }
.video-stage { display: flex; justify-content: center; position: relative; }
.video-stage::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow-500); opacity: .22; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.video-card { position: relative; z-index: 2; width: min(100%, 410px); border-radius: 30px; overflow: hidden; background: var(--blue-900); box-shadow: var(--shadow); transform: rotate(.4deg); }
.video-shell { position: relative; aspect-ratio: 9/16; background: #061f5f; overflow: hidden; }
.video-shell video { width: 100%; height: 100%; object-fit: contain; background: #061f5f; }
.video-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(0,45,135,.52), rgba(0,45,135,.75)),
    url('../img/simao-bandeira-ceara.png') center 18% / cover no-repeat;
}
.video-fallback.visible { display: flex; }
.play-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow-500);
  color: var(--blue-900);
  font-size: 1.7rem;
  padding-left: 5px;
  margin-bottom: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,.22);
}
.video-fallback strong { font-size: 1.5rem; }
.video-fallback small { color: var(--yellow-200); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.video-caption { display: flex; align-items: center; gap: 15px; padding: 18px 22px 21px; color: #fff; }
.video-caption span { flex: 0 0 auto; color: var(--blue-900); background: var(--yellow-500); padding: 6px 10px; border-radius: 8px; font-size: .74rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.video-caption strong { line-height: 1.3; }

.bio-section { padding: 105px 0 112px; background: #fff; }
.bio-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 92px; align-items: start; }
.section-heading { position: sticky; top: 118px; }
.mini-number { margin-top: 28px; color: var(--yellow-500); font-size: clamp(4.8rem, 9vw, 8rem); line-height: .85; font-weight: 1000; letter-spacing: -.07em; text-shadow: 4px 4px 0 rgba(0,45,135,.08); }
.bio-text { font-size: 1.12rem; color: #39475d; }
.bio-text p { margin: 0 0 24px; }
.bio-text strong { color: var(--blue-900); }

.numbers-section {
  padding: 100px 0 112px;
  background: var(--blue-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.numbers-section::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -240px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 95px solid rgba(255,185,46,.09);
}
.numbers-watermark {
  position: absolute;
  right: -2%;
  bottom: -8%;
  font-weight: 1000;
  font-size: clamp(9rem, 23vw, 22rem);
  line-height: .75;
  color: rgba(255,255,255,.035);
  letter-spacing: -.08em;
  pointer-events: none;
}
.section-kicker.light { color: var(--yellow-500); }
.numbers-heading { max-width: 760px; margin-bottom: 46px; position: relative; z-index: 2; }
.numbers-heading h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 2; }
.stat-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.stat-card:nth-child(2), .stat-card:nth-child(4) { transform: translateY(12px); }
.stat-card strong { color: var(--yellow-500); font-size: clamp(2rem, 3vw, 3.45rem); line-height: 1; letter-spacing: -.04em; }
.stat-card span { font-weight: 750; color: rgba(255,255,255,.87); line-height: 1.4; }

.closing-section { padding: 92px 0 82px; background: linear-gradient(135deg, #ffd059 0%, var(--yellow-500) 70%, #f4aa18 100%); position: relative; overflow: hidden; }
.closing-section::after { content: "55333"; position: absolute; left: -3%; bottom: -17%; color: rgba(0,45,135,.06); font-size: 18rem; font-weight: 1000; line-height: .8; letter-spacing: -.08em; }
.closing-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.closing-section p { max-width: 680px; color: var(--blue-900); font-size: 1.15rem; font-weight: 700; }
.closing-logo { padding: 12px 20px; }
.closing-logo img { max-height: 390px; width: 100%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0,45,135,.16)); }

.site-footer { background: #061f5f; color: rgba(255,255,255,.84); border-top: 8px solid var(--green-700); }
.footer-inner { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .95rem; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: #fff; }
.legal-notice { max-width: 820px; color: #fff; font-weight: 850; line-height: 1.5; text-align: right; }

@media (max-width: 980px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 210px; height: 62px; }
  .nav a:not(.nav-number) { display: none; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-copy { padding: 40px 0 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .vote-card { margin-left: auto; margin-right: auto; min-width: 330px; }
  .hero-photo-wrap { height: 565px; }
  .hero-photo { height: 555px; }
  .sunburst { width: 430px; height: 430px; }
  .hero-number-bg { right: 8%; top: 50px; }
  .story-grid, .bio-grid, .closing-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-copy { max-width: 760px; }
  .video-card { width: min(100%, 390px); }
  .section-heading { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .closing-logo { order: -1; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: relative; }
  .brand img { width: 178px; }
  .nav-number { padding: 8px 13px; }
  .hero-copy { padding-top: 26px; }
  .hero h1 { font-size: clamp(4rem, 22vw, 5.8rem); }
  .hero-lead { margin-top: 16px; }
  .vote-card { min-width: 0; width: 100%; max-width: 350px; }
  .vote-card strong { font-size: clamp(4.2rem, 22vw, 5.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 350px; margin: 0 auto; }
  .hero-photo-wrap { height: 465px; }
  .hero-photo { height: 460px; max-width: 115%; }
  .sunburst { width: 340px; height: 340px; bottom: 32px; }
  .hero-number-bg { font-size: 12rem; right: 0; top: 45px; }
  .story-section, .bio-section, .numbers-section { padding: 76px 0; }
  .story-grid { gap: 34px; }
  .video-card { width: min(100%, 360px); border-radius: 20px; }
  .video-caption { align-items: flex-start; flex-direction: column; gap: 9px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card:nth-child(2), .stat-card:nth-child(4) { transform: none; }
  .stat-card { min-height: 175px; }
  .closing-section { padding: 70px 0; }
  .footer-inner { padding: 28px 0; flex-direction: column; align-items: flex-start; }
  .legal-notice { text-align: left; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
