/* =========================================================
   Thiago Negreiros — Fiscalização cidadã em Uberlândia
   Um único arquivo: base + seções + responsivo (no final)
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("archivo.woff2") format("woff2-variations"),
       url("archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --g-950: #001b38;
  --g-900: #002b55;
  --g-800: #003667;
  --g-700: #003d7a;
  --g-600: #00458D;
  --g-500: #3b6fa8;
  --y: #FFCB09;
  --y-soft: #ffda4d;
  --ink: #002e5e;
  --white: #ffffff;
  --wrap: 1160px;
  --gutter: 16px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .42 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-stretch: 100%;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  background: var(--g-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }

.wrap {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--y); color: var(--ink);
  padding: 10px 16px; font-weight: 800; border-radius: 4px;
}
.skip:focus { left: 16px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 4px;
  font: inherit; font-weight: 800; font-stretch: 112%;
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--yellow { background: var(--y); color: var(--ink); }
.btn--yellow:hover { background: var(--y-soft); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- caixa de destaque ---------- */
.boxed {
  display: inline-block;
  border: 3px solid var(--y);
  padding: .38em .6em .32em;
  font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: .03em;
  color: var(--white);
  box-shadow: 0 0 28px rgba(255,203,9,.28), inset 0 0 18px rgba(255,203,9,.12);
}

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,69,141,.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__in {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.badge {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--g-600);
  border: 2px solid rgba(255,255,255,.2);
  display: grid; place-content: center;
  font-weight: 900; font-size: 14px; line-height: .86; text-align: center;
  letter-spacing: -.02em;
}
.badge b:first-child { color: var(--y); }
.badge b { display: block; }
.brand__name {
  font-stretch: 125%; font-weight: 900; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .01em;
}
.nav { display: flex; gap: clamp(14px, 3vw, 30px); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 9px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 6px;
  background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; margin: 5px 0;
  background: currentColor; transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav a {
  text-decoration: none;
  font-weight: 800; font-stretch: 110%;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-color: var(--y); color: var(--y); }

/* =========================================================
   CAPA
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    var(--noise),
    radial-gradient(90% 80% at 78% 18%, rgba(255,203,9,.28) 0%, rgba(255,203,9,0) 60%),
    linear-gradient(165deg, #214d6b 0%, var(--g-600) 38%, #0d1b2a 100%);
}
.hero__in {
  position: relative;
  max-width: 1240px; margin: 0 auto;
  padding: 28px var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero__text { position: relative; z-index: 2; }

.hero__tag {
  margin: 0;
  color: var(--y);
  font-weight: 800; font-stretch: 112%;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
}

.hero__title { margin: 16px 0 0; font-weight: 900; line-height: 1; }
.hero__title .boxed { font-size: clamp(.95rem, 4.2vw, 1.35rem); }
.logo { display: block; margin-top: .5em; }
.logo__first {
  display: block;
  font-stretch: 125%; font-weight: 900;
  font-size: clamp(1.25rem, 6.6vw, 2.2rem);
  letter-spacing: .13em; text-transform: uppercase;
  line-height: 1;
}
.logo__name {
  display: block;
  font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.3rem, 13.4vw, 6rem);
  letter-spacing: -.012em; text-transform: uppercase;
  line-height: .92; white-space: nowrap;
}
.flag-o {
  display: inline-block;
  width: .78em; height: .78em;
  margin-left: .03em;
  vertical-align: -.035em;
  border-radius: 50%;
  box-shadow: 0 0 0 .025em rgba(255,255,255,.9);
}
.flag-o svg { width: 100%; height: 100%; }

.hero__role {
  margin: .7em 0 0;
  color: var(--y);
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(.78rem, 3.3vw, 1.1rem);
  letter-spacing: .52em; text-transform: uppercase;
}

.hero__number {
  margin: .1em 0 0 -.04em;
  font-weight: 900; font-stretch: 100%;
  font-size: clamp(7rem, 38vw, 17rem);
  line-height: .82; letter-spacing: -.05em;
  font-variant-numeric: lining-nums;
}
.n-y { color: var(--y); }
.n-w { color: var(--white); }

.hero__slogan {
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600; line-height: 1.45;
  max-width: 34ch;
}
.hero__slogan strong { color: var(--y); font-weight: 800; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero__photo {
  position: relative; z-index: 1;
  margin: 28px calc(var(--gutter) * -1) 0;
  align-self: end;
}
.hero__photo img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%),
                      linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%),
              linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}

.legal-vertical {
  display: none;
  position: absolute; right: 10px; top: 50%; z-index: 3;
  margin: 0;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
  white-space: nowrap;
}

/* =========================================================
   PROPOSTAS
   ========================================================= */
.propostas {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) 0;
  background:
    var(--noise),
    radial-gradient(70% 50% at 50% 0%, rgba(22,181,69,.35) 0%, rgba(22,181,69,0) 70%),
    linear-gradient(180deg, var(--g-700) 0%, var(--g-800) 100%);
}
/* 2028 gigante no fundo, como na arte */
.propostas::before {
  content: "2028";
  position: absolute; right: -.06em; bottom: -.16em;
  font-weight: 900; font-stretch: 100%;
  font-size: clamp(13rem, 46vw, 44rem);
  line-height: 1; letter-spacing: -.05em;
  color: rgba(0,0,0,.09);
  pointer-events: none;
}

.sec-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.boxed--xl {
  margin: 0;
  font-size: clamp(2.1rem, 9.6vw, 4.8rem);
  line-height: .98;
  padding: .22em .42em .18em;
  border-width: 4px;
}
.sec-head__sub {
  margin: 16px 0 0;
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(1rem, 3.6vw, 1.7rem);
  letter-spacing: .16em; text-transform: uppercase;
}
.sec-head__lead {
  margin: 18px auto 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255,255,255,.9);
}

.lista-propostas {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  column-gap: 64px;
}
.proposta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  scroll-margin-top: 84px;
}
.proposta__icon {
  width: clamp(62px, 7vw, 86px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--y); color: var(--g-800);
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,203,9,.13);
}
.proposta__icon svg { width: 54%; height: 54%; }
.proposta__icon--fill svg { width: 64%; height: 64%; }
.proposta h3 {
  margin: 2px 0 8px;
  color: var(--y);
  font-weight: 900; font-stretch: 86%;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.02; letter-spacing: .005em;
  text-transform: uppercase;
}
.proposta p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.42;
}
.proposta:target .proposta__icon { box-shadow: 0 0 0 8px rgba(255,203,9,.4); }

.share {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 24px;
  border: 2px solid rgba(255,203,9,.7);
  border-radius: 6px;
  background: rgba(0,0,0,.16);
}
.share__txt { margin: 0; font-size: 1.05rem; font-weight: 600; max-width: 46ch; }
.share__txt strong { color: var(--y); }
.share__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   HISTÓRIA
   ========================================================= */
.historia {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0;
  color: var(--ink);
  background: linear-gradient(160deg, #fff9df 0%, #f5e4a5 55%, #efd477 100%);
}
.historia__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }

.eyebrow {
  margin: 0 0 12px;
  font-weight: 800; font-stretch: 115%;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--g-700);
}
.eyebrow--light { color: var(--y); }

.historia h2 {
  margin: 0;
  color: var(--g-900);
  font-weight: 900; font-stretch: 112%;
  font-size: clamp(2rem, 7.4vw, 3.5rem);
  line-height: 1; text-transform: uppercase;
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; }
.stats div { background: var(--g-700); color: var(--white); padding: 16px 16px 18px; border-radius: 6px; }
.stats dt {
  font-weight: 900; font-stretch: 100%;
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  line-height: 1; letter-spacing: -.02em;
  color: var(--y);
}
.stats dd { margin: 8px 0 0; font-size: .92rem; font-weight: 600; line-height: 1.35; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 18px;
  padding-bottom: 30px;
}
.timeline li::before {
  content: "";
  position: absolute; left: 38px; top: 36px; bottom: 0;
  width: 3px; background: rgba(39,49,61,.22);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline__mark {
  position: relative; z-index: 1;
  height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--g-800); color: var(--y);
  font-weight: 900; font-stretch: 108%; font-size: .95rem;
}
.timeline p {
  margin: 5px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.62; font-weight: 500;
  color: #27313d;
}

/* =========================================================
   COMITÊS
   ========================================================= */
.comite {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0;
  background:
    var(--noise),
    radial-gradient(80% 70% at 85% 10%, rgba(255,203,9,.24) 0%, rgba(255,203,9,0) 60%),
    linear-gradient(170deg, var(--g-600) 0%, #214d6b 100%);
}
.sec-head--left { text-align: left; margin: 0 0 28px; max-width: 720px; }
.sec-head--left .sec-head__lead { margin-left: 0; }
.comite__title {
  margin: 0;
  font-weight: 900; font-stretch: 112%;
  font-size: clamp(2rem, 7.4vw, 3.5rem);
  line-height: 1; text-transform: uppercase;
}

.busca input {
  width: 100%; max-width: 560px; height: 58px;
  padding: 0 18px;
  border: 3px solid var(--y); border-radius: 6px;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 1.05rem; font-weight: 600;
}
.busca input::placeholder { color: #5b7564; }
.busca__status { margin: 12px 0 0; min-height: 1.5em; font-weight: 600; }

.comites {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.comite-card {
  background: var(--white); color: var(--ink);
  border-radius: 8px; border-top: 6px solid var(--y);
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.comite-card__tipo {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g-600);
}
.comite-card h3 { margin: 0; font-weight: 900; font-stretch: 105%; font-size: 1.3rem; line-height: 1.1; }
.comite-card p { margin: 0; font-size: .95rem; line-height: 1.45; }
.comite-card p b { font-weight: 800; }
.comite-card__acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.comite-card__acoes a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 4px; text-decoration: none;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--g-700); color: var(--white);
}
.comite-card__acoes a + a { background: transparent; color: var(--g-700); box-shadow: inset 0 0 0 2px var(--g-700); }
.comites__vazio {
  padding: 20px 22px;
  border: 2px dashed rgba(255,255,255,.45); border-radius: 8px;
  background: rgba(0,0,0,.14);
  font-weight: 600; line-height: 1.5;
}
.comites__vazio a { color: var(--y); font-weight: 800; }

.ajuda { margin-top: 40px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.ajuda__card {
  display: block;
  padding: 20px 22px;
  border-left: 6px solid var(--y); border-radius: 6px;
  background: var(--g-900);
  text-decoration: none;
  transition: transform .15s, background-color .15s;
}
.ajuda__card:hover { transform: translateY(-2px); background: var(--g-950); }
.ajuda__card strong {
  display: block; margin-bottom: 4px;
  color: var(--y);
  font-weight: 900; font-stretch: 108%; text-transform: uppercase; letter-spacing: .02em;
}
.ajuda__card span { font-size: .95rem; opacity: .92; overflow-wrap: anywhere; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.rodape {
  padding: 56px 0 44px;
  background: var(--g-950);
  color: rgba(255,255,255,.86);
  font-size: .93rem;
}
.rodape__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.rodape p { margin: 0; }
.rodape__logo {
  font-stretch: 125%; font-weight: 900; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .04em; color: var(--y);
}
.rodape__logo b { color: var(--white); font-weight: 900; }
.rodape__num {
  margin: 6px 0 12px !important;
  font-weight: 900; font-size: 4.6rem; line-height: .85; letter-spacing: -.05em;
}
.rodape__links { display: flex; flex-direction: column; gap: 10px; }
.rodape__links a { color: var(--white); font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere; }
.rodape__links a:hover { color: var(--y); }
.rodape__legal p { margin-bottom: 12px; overflow-wrap: anywhere; }
.rodape__legal span {
  display: block;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--y);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 719px) {
  .brand__name { display: block; font-size: .9rem; }
  .topbar__in { position: relative; }
  .nav-toggle { display: block; flex: none; }
  .nav {
    display: none; position: absolute; top: 62px; right: var(--gutter);
    flex-direction: column; gap: 0; min-width: 190px; padding: 8px 16px;
    background: var(--g-950); border: 1px solid rgba(255,255,255,.12);
    border-radius: 0 0 6px 6px; box-shadow: 0 12px 28px rgba(0,0,0,.25);
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: .74rem; letter-spacing: .08em; padding: 12px 0; }
  .hero__cta .btn { flex: 1 1 100%; }
  .share__btns .btn { flex: 1 1 100%; }
  .logo__name { font-size: clamp(2rem, 11.5vw, 6rem); letter-spacing: -.03em; }
}

@media (min-width: 720px) {
  .ajuda { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 880px) {
  .lista-propostas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proposta { padding: 30px 0; }
}

@media (min-width: 900px) {
  .historia__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
  .historia__head { position: sticky; top: 100px; }
  .rodape__grid { grid-template-columns: 1.1fr .8fr 1.5fr; }
}

@media (min-width: 960px) {
  .hero__in {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    column-gap: 24px;
    align-items: end;
    min-height: min(calc(100svh - 62px), 900px);
    padding-top: 48px;
  }
  .hero__text { align-self: center; padding-bottom: 56px; }
  .hero__tag { font-size: .8rem; }
  .hero__title .boxed { font-size: 1.3rem; }
  .logo__first { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
  .logo__name { font-size: clamp(3.6rem, 5.9vw, 5.9rem); }
  .hero__role { font-size: clamp(.9rem, 1.1vw, 1.1rem); }
  .hero__number { font-size: clamp(10rem, 16.4vw, 15rem); }
  .hero__photo { margin: 0 min(calc(var(--gutter) * -1), calc((1240px - 100vw) / 2 - var(--gutter))) 0 0; }
  .legal-vertical { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .ajuda__card { transition: none; }
  .btn:hover, .ajuda__card:hover { transform: none; }
}
