/* ==========================================================================
   Wendinho Vereador — Identidade Visual
   Verde Principal #0F733E | Laranja #E35226 | Verde Claro #BBD531
   Creme #F7F4EB | Grafite #1E2B24
   ========================================================================== */

:root{
  --verde: #0F733E;
  --verde-escuro: #0A4E2A;
  --laranja: #E35226;
  --verde-claro: #BBD531;
  --creme: #F7F4EB;
  --grafite: #1E2B24;
  --branco: #FFFFFF;

  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 18px;
  --shadow: 0 20px 45px rgba(15,115,62,0.12);
  --container: 1180px;
}

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

html{
  scroll-behavior: smooth;
  font-size: 120%;
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--grafite);
  background: var(--creme);
  overflow-x: hidden;
}

h1,h2,h3{
  font-family: var(--font-title);
  margin: 0 0 16px;
  line-height: 1.15;
}

p{ margin: 0 0 16px; line-height: 1.7; }

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

section[id]{ scroll-margin-top: 90px; }

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

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-title);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary{
  background: var(--laranja);
  color: var(--branco);
  box-shadow: 0 12px 28px rgba(227,82,38,0.35);
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(227,82,38,0.45);
}
.btn-outline{
  background: transparent;
  border-color: var(--creme);
  color: var(--creme);
}
.btn-outline:hover{
  background: var(--creme);
  color: var(--verde-escuro);
  transform: translateY(-3px);
}

.eyebrow{
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(15,115,62,0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.eyebrow-dark{ color: var(--laranja); background: rgba(227,82,38,0.12); }
.eyebrow-light{ color: var(--creme); background: rgba(247,244,235,0.15); }

.section-head{ text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head p{ color: var(--grafite); opacity: .8; }

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--verde);
  transition: box-shadow .3s ease, padding .3s ease;
}
.navbar.scrolled{ box-shadow: 0 6px 24px rgba(0,0,0,0.15); }

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo{
  display: inline-flex;
  align-items: center;
}
.logo-img{
  height: 30px;
  width: auto;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link{
  color: var(--creme);
  font-weight: 600;
  font-size: .78rem;
  white-space: nowrap;
  padding: 8px 2px;
  position: relative;
  transition: color .25s ease;
}
.nav-link::after{
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--verde-claro);
  transition: width .25s ease;
}
.nav-link:hover{ color: var(--verde-claro); }
.nav-link:hover::after{ width: 100%; }

.nav-cta{
  background: var(--laranja);
  color: var(--branco) !important;
  padding: 8px 16px;
  border-radius: 100px;
}
.nav-cta::after{ display: none; }
.nav-cta:hover{ background: #c9451c; color: var(--branco) !important; }

.hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span{
  display: block;
  width: 26px; height: 3px;
  background: var(--creme);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   SEÇÃO 1 · HERO
   ========================================================================== */
.hero{
  position: relative;
  background: var(--creme);
  padding: 110px 0 0;
  overflow: visible;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 40px;
  position: relative;
}

.hero-text{
  align-self: center;
}

.badge{
  display: inline-block;
  background: var(--laranja);
  color: var(--branco);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(227,82,38,0.3);
}

.hero-text h1{
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  color: var(--verde);
  font-weight: 800;
}
.hero-text h1 span{ color: var(--laranja); }

.typewriter{ display: inline-block; }
.typewriter-cursor{
  display: inline-block;
  width: 3px;
  margin-left: 2px;
  background: var(--laranja);
  vertical-align: -0.1em;
  height: 0.85em;
  animation: typewriter-blink 0.8s step-end infinite;
}
@keyframes typewriter-blink{
  0%, 100%{ opacity: 1; }
  50%{ opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .typewriter-cursor{ animation: none; }
}

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

.hero-sub{
  font-size: 1.15rem;
  color: var(--grafite);
  max-width: 480px;
  opacity: .85;
}

.hero-media{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-photo{
  width: 100%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(15,43,36,0.25));
}

.hero-award-card{
  position: absolute;
  left: -20px;
  bottom: 50px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--laranja);
  border-radius: 18px;
  padding: 18px 26px;
  box-shadow: var(--shadow);
  max-width: 330px;
  animation: floaty 4s ease-in-out infinite;
}
.hero-award-logo{
  width: 200px;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   SEÇÃO 2 · QUEM É O WENDINHO
   ========================================================================== */
.quem-e{
  position: relative;
  background: var(--verde-claro);
  padding: 90px 0;
}
.quem-e-box{
  background: var(--creme);
  border-radius: var(--radius);
  padding: 56px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.quem-e-box h2{
  color: var(--verde);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.quem-e-box p{ color: var(--grafite); font-size: 1.05rem; }
.quem-e-box p strong{ color: var(--verde); }

/* ==========================================================================
   SEÇÃO 3 · NOSSAS MAIORES LUTAS
   ========================================================================== */
.lutas{ background: var(--creme); padding: 100px 0; }
.lutas h2{ color: var(--grafite); font-size: clamp(1.8rem, 3vw, 2.4rem); }

.lutas-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.luta-card{
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.luta-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(15,43,36,0.18);
}
.luta-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}
.luta-title{
  background: var(--laranja);
  color: var(--branco);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 22px;
}
.luta-body{ padding: 20px 22px 26px; }
.luta-body p{
  display: flex;
  gap: 10px;
  font-size: .93rem;
  margin-bottom: 12px;
  color: var(--grafite);
}
.luta-body p:last-child{ margin-bottom: 0; }
.ico{
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  margin-top: 1px;
}
.ico-x{ background: rgba(227,82,38,0.15); color: var(--laranja); }
.ico-ok{ background: rgba(15,115,62,0.15); color: var(--verde); }

/* ==========================================================================
   SEÇÃO 4 · MANDATO EM NÚMEROS
   ========================================================================== */
.numeros{ background: var(--creme); padding: 80px 0; }
.numeros h2{ color: var(--verde); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.numeros .section-head{ margin-bottom: 32px; }

.numeros-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.numero-item{
  text-align: center;
  padding: 18px 16px;
  border-right: 2px solid rgba(187,213,49,0.5);
  border-bottom: 2px solid rgba(187,213,49,0.5);
}
.numero-item:nth-child(3n){ border-right: none; }
.numero-item:nth-last-child(-n+3){ border-bottom: none; }

.numero{
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--verde);
}
.numero-item p{
  color: var(--grafite);
  opacity: .8;
  font-size: .95rem;
  line-height: 1.35;
  max-width: 220px;
  margin: 6px auto 0;
}

/* ==========================================================================
   SEÇÃO 5 · VALE DESTACAR
   ========================================================================== */
.destacar{ background: var(--creme); padding: 100px 0; }
.tag-destacar{
  display: inline-block;
  background: var(--verde);
  color: var(--branco);
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .85rem;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.destacar h2{ color: var(--grafite); }

.destacar-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  display: grid;
  gap: 18px;
}
.destacar-list li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--branco);
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15,43,36,0.06);
  color: var(--grafite);
  font-size: .98rem;
}
.destaque-content{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  flex: 1;
}
.destacar-list strong{
  color: var(--laranja);
  font-family: var(--font-title);
  white-space: nowrap;
  flex-shrink: 0;
}
.destaque-desc{ color: var(--grafite); }
.bullet{
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--verde-claro);
  margin-top: 6px;
}

/* ==========================================================================
   SEÇÃO · FIQUE POR DENTRO (NOTÍCIAS)
   ========================================================================== */
.noticias{ background: var(--creme); padding: 100px 0; }
.noticias h2{ color: var(--grafite); font-size: clamp(1.8rem, 3vw, 2.4rem); }

.noticias-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.noticia-card{
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.noticia-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(15,43,36,0.18);
}
.noticia-link{
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.noticia-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}
.noticia-body{
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.noticia-date{
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 8px;
}
.noticia-body h3{
  font-family: var(--font-title);
  color: var(--grafite);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 10px;
}
.noticia-body p{
  color: var(--grafite);
  opacity: .8;
  font-size: .92rem;
  margin: 0 0 16px;
  flex: 1;
}
.noticia-saiba-mais{
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--verde);
  font-size: .92rem;
}
.noticia-card:hover .noticia-saiba-mais{ color: var(--laranja); }

.noticias-cta{ text-align: center; margin-top: 44px; }

.btn-outline-dark{
  background: transparent;
  border: 2px solid var(--verde);
  color: var(--verde);
}
.btn-outline-dark:hover{
  background: var(--verde);
  color: var(--branco);
}

/* ==========================================================================
   PÁGINA DE MATÉRIA (usado em /materias/*.html)
   ========================================================================== */
.materia-page{ background: var(--creme); padding: 130px 0 90px; }
.materia-container{ max-width: 820px; margin: 0 auto; }
.materia-foto{
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.materia-date{
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--laranja);
  margin-bottom: 14px;
}
.materia-page h1{
  color: var(--verde);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
}
.materia-subtitulo{
  color: var(--grafite);
  opacity: .75;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.materia-corpo{ margin-top: 28px; }
.materia-corpo p{
  color: var(--grafite);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.materia-voltar{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--verde);
}
.materia-voltar:hover{ color: var(--laranja); }

/* ==========================================================================
   SEÇÃO 6 · GABINETE PERTO DO POVO
   ========================================================================== */
.gabinete{
  position: relative;
  background: var(--verde-escuro);
  padding: 170px 0 100px;
  overflow: visible;
}

.gabinete-photo{
  position: absolute;
  bottom: 0;
  right: 4%;
  width: clamp(340px, 34vw, 620px);
  z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.35));
}

.gabinete-inner{ position: relative; z-index: 2; }
.gabinete-text{ max-width: 640px; }

.wendi-emoji{
  width: 90px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.gabinete h2{
  color: var(--creme);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.gabinete-text p{
  color: var(--creme);
  opacity: .9;
  font-size: 1.05rem;
}
.gabinete-text p strong{ color: var(--verde-claro); }

.contato-actions{
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer{
  background: #08321D;
  padding: 70px 0 0;
  font-size: 0.9em;
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand{ text-align: center; }
.footer-brand .logo{ display: inline-flex; justify-content: center; }
.footer-logo{ margin-bottom: 8px; }
.footer-logo .logo-img{ height: 26px; }
.footer-col p, .footer-col a{
  display: block;
  color: var(--creme);
  opacity: .7;
  font-size: .92em;
  margin-bottom: 6px;
  transition: opacity .2s ease;
}
.footer-col a:hover{ opacity: 1; }
.footer-col h4{
  color: var(--creme);
  font-family: var(--font-title);
  font-size: 1em;
  margin-bottom: 10px;
  opacity: .95;
}
.footer-social{ display: flex; flex-direction: column; }

.footer-bottom{
  text-align: center;
  padding: 22px 0;
  border-top: 1px solid rgba(247,244,235,0.12);
  color: var(--creme);
  opacity: .55;
  font-size: .82em;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px){
  .lutas-grid{ grid-template-columns: 1fr 1fr; }
  .noticias-grid{ grid-template-columns: 1fr 1fr; }
  .numeros-grid{ grid-template-columns: repeat(2, 1fr); }
  .numero-item:nth-child(3n){ border-right: 2px solid rgba(187,213,49,0.5); }
  .numero-item:nth-child(2n){ border-right: none; }
  .numero-item:nth-last-child(-n+3){ border-bottom: 2px solid rgba(187,213,49,0.5); }
  .numero-item:nth-last-child(-n+2){ border-bottom: none; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .hero{ padding-top: 100px; }
  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .hero-text h1{ max-width: 100%; }
  .hero-sub{ margin-left: auto; margin-right: auto; }
  .hero-media{ align-items: flex-end; }
  .hero-award-card{
    left: 0;
    transform: none;
    bottom: 20px;
    max-width: 250px;
    padding: 12px 18px;
  }
  .hero-award-card .hero-award-logo{ width: 150px; }

  .nav-links{
    position: fixed;
    top: 76px; right: 0;
    height: calc(100vh - 76px);
    width: 260px;
    background: var(--verde);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  }
  .nav-links.open{ transform: translateX(0); }
  .hamburger{ display: flex; }
  .nav-cta{ margin-top: 6px; }

  .quem-e-box{ padding: 36px 26px; }

  .gabinete-photo{ display: none; }
  .gabinete-inner{ text-align: center; }
  .gabinete-text{ margin: 0 auto; }
  .wendi-emoji{ margin-left: auto; margin-right: auto; }
  .contato-actions{ justify-content: center; }
}

@media (max-width: 640px){
  .lutas-grid{ grid-template-columns: 1fr; }
  .noticias-grid{ grid-template-columns: 1fr; }
  .numeros-grid{ grid-template-columns: 1fr; }
  .destaque-content{ flex-direction: column; align-items: flex-start; gap: 4px; }
  .destacar-list strong{ white-space: normal; }
  .numero-item{ border-right: none !important; border-bottom: 2px solid rgba(187,213,49,0.5) !important; }
  .numero-item:last-child{ border-bottom: none !important; }
  .footer-inner{ grid-template-columns: 1fr; text-align: center; }
  .footer-social{ align-items: center; }
  .btn{ width: 100%; justify-content: center; }
  .contato-actions{ flex-direction: column; }

  /* Transparência */
  .numeros{ padding: 48px 0; }
  .numeros .section-head{ margin-bottom: 20px; }
  .numero-item{ padding: 12px 10px; }
  .numero-item p{ margin-top: 4px; }

  /* Vale Destacar */
  .destacar{ padding: 48px 0; }
  .destacar .section-head{ margin-bottom: 20px; }
  .destacar-list{ gap: 10px; }
  .destacar-list li{ padding: 12px 16px; }

  /* Rodapé */
  .footer{ padding-top: 32px; }
  .footer-inner{ gap: 20px; padding-bottom: 24px; }
  .footer-logo{ margin-bottom: 4px; }
  .footer-col h4{ margin-bottom: 6px; }
  .footer-col p, .footer-col a{ margin-bottom: 4px; }
  .footer-bottom{ padding: 14px 0; }
}
