/* ═══════════════════════════════
   VOTOCERTO — HEADER & BUTTON OVERRIDES
═══════════════════════════════ */
#navbar.nav-teal,
#navbar.nav-teal.scrolled {
  background: #ffffffd9 !important;
}

#navbar.nav-teal .nav-link {
  color: #4B5563 !important;
}

#navbar.nav-teal .btn-header {
  background-color: #003809 !important;
  color: #fff !important;
}

#navbar.nav-teal .btn-header:hover {
  background-color: #002c07 !important;
}

#hamburger .bar {
  background-color: #4B5563 !important;
}

#mobile-nav {
  background: #ffffffd9 !important;
  color: #4B5563 !important;
}

#mobile-nav .nav-link {
  color: #4B5563 !important;
}

.btn-dark-pill,
.btn-teal-pill {
  background-color: #003809;
}

/* ═══════════════════════════════
   VOTOCERTO — HERO
═══════════════════════════════ */
.hero-voto {
  background-image: url(/assets/votocerto/voto-bg-em-breve.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-voto .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(181, 232, 194, 0.65);
}

/* Decorative shapes */
.voto-shape {
  position: absolute;
  background: #7de8a0;
  border-radius: 16px;
}

.voto-s1 {
  width: 120px;
  height: 120px;
  top: 30px;
  right: 8%;
  opacity: 0.7;
}

.voto-s2 {
  width: 80px;
  height: 80px;
  bottom: 30px;
  left: 4%;
  border-radius: 50%;
  opacity: 0.6;
}

.voto-s3 {
  width: 60px;
  height: 60px;
  top: 38%;
  left: 2%;
  border-radius: 10px;
  opacity: 0.5;
}

.voto-s4 {
  width: 160px;
  height: 160px;
  top: 10px;
  right: 2%;
  border-radius: 50%;
  opacity: 0.35;
  background: #a0e8b4;
}

.hero-voto .inner {
  position: relative;
  z-index: 2;
}

.hero-voto h2 {
  font-size: 5rem;
  font-weight: 700;
  color: #072D0B;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.voto-brand-wrap {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}

.voto-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.voto-brand .vc-icon {
  width: 38px;
  height: 38px;
  border: 2.5px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
}

.voto-brand span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}

/* ═══════════════════════════════
   VOTO — SECTION: QUEM TE REPRESENTA
═══════════════════════════════ */
.voto-s-rep {
  background: #A9E4AA;
  padding: 70px 0 0; /* Removing side padding to allow edge touch */
  position: relative;
  /* Removed overflow: hidden to allow top overlap */
}

.voto-s-rep .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0;
}

.voto-s-rep .row {
  align-items: flex-end;
}

/* Illustration area */
.rep-illus {
  position: relative;
  margin-top: -110px;
  margin-left: clamp(-400px, calc(600px - 50vw), 0px); /* Smart margin: touches edge without cutting */
  margin-bottom: -60px;
  z-index: 10;
}

.rep-illus figure {
  margin: 0;
}

.rep-illus img {
  max-width: 530px; /* Slightly smaller to fit the proportions */
  width: 100%;
  display: block;
  vertical-align: bottom;
}

.voto-martelo-illus {
  display: flex;
  align-items: flex-end;
  padding: 0;
  transition: all 0.3s ease;
}

/* No pai do banner: */
.voto-banner {
  container-type: size;
  /* habilita cqh */
}
.voto-martelo-illus figure {
  margin: 0;
}

/* dark curved shapes */
.rep-illus .shape-arc {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 140px;
  height: 140px;
  background: #071c1c;
  border-radius: 50%;
  transform: translate(-30px, 30px);
}

.rep-illus .shape-rect {
  position: absolute;
  right: 0;
  top: 20px;
  width: 60px;
  height: 90px;
  background: #071c1c;
  border-radius: 6px;
}

/* White card behind illustration */
.rep-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
  width: 160px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.rep-card .person-svg {
  width: 90px;
}

.rep-check-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  z-index: 3;
  width: 42px;
  height: 42px;
  background: #26d96b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.voto-s-rep .text-side {
  text-align: right;
  padding-left: 50px;
}

.voto-s-rep .small-label {
  font-size: 1.5rem;
  color: #072D0B;
  margin-bottom: 4px;
}

.voto-s-rep h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #072D0B;
  line-height: 1.1;
  margin-bottom: 1.6rem;
}

/* ═══════════════════════════════
   VOTO — ESQUERDA E DIREITA
═══════════════════════════════ */
.voto-s-esq {
  background: var(--teal);
  padding: 70px 24px;
}

.voto-s-esq .container {
  max-width: 1200px;
  margin: 0 auto;
}

.voto-s-esq .row {
  align-items: center;
}

.voto-s-esq .small-label {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.2rem;
}

.voto-s-esq h2 {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 2.625rem;
  color: #A9E4AA;
}

.voto-s-esq p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 2.625rem;
}

.voto-s-esq .bold-text {
  font-weight: 700;
  color: #A9E4AA;
  font-size: 1.125rem;
}

.voto-s-esq .img-side .img-ph {
  aspect-ratio: 4/3.8;
  border-radius: 16px;
}

/* ═══════════════════════════════
   VOTO — VEJA QUEM TE REPRESENTA
═══════════════════════════════ */
.voto-s-veja {
  background-color: #AAE5AA;
  background-image: url(/assets/votocerto/voto-bg-representa.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 700px;
  padding-top: 50px;
  display: flex;
  align-items: end;
 

}

.voto-s-veja .container {
  max-width: 1200px;
  margin: 0 auto;
}

.voto-s-veja .row {
  align-items: center;
}

.voto-s-veja h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.voto-s-veja p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 450px;
}

.voto-s-veja .bold-text {
  font-weight: 600;
  color: var(--teal);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Gavel visual area */
.gavel-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.gavel-dark-triangle {
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
  height: 260px;
  background: var(--teal);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 14px 14px 0;
}

.gavel-area .img-ph {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 260px;
  border-radius: 14px;
}

/* ═══════════════════════════════
   VOTO — DEMOCRACIA
═══════════════════════════════ */
.voto-s-demo {
  background-image: url(/assets/votocerto/voto-bg-democracia.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  overflow: hidden;
}

.voto-s-demo .container {
  max-width: 1200px;
  margin: 0 auto;
}

.voto-s-demo .row {
  align-items: center;
}

.voto-s-demo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2rem;
}

.voto-s-demo p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.voto-s-demo .sub-text {
  font-size: 1.1rem;
  color: #333;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

/* Megaphone + crowd illustration */
.mega-area {
  position: relative;
  text-align: center;
  padding-bottom: 0;
}

.mega-area .img-ph {
  width: 100%;
  height: 240px;
  border-radius: 14px 14px 0 0;
}

.mega-crowd-svg {
  display: block;
  width: 100%;
}

/* ═══════════════════════════════
   VOTOCERTO — RESPONSIVE
═══════════════════════════════ */
@media (max-width: 991px) {

  .voto-s-rep {
    padding: 60px 24px;
  }

  .voto-s-rep .row,
  .voto-s-esq .row,
  .voto-s-veja .row,
  .voto-s-demo .row {
    grid-template-columns: 1fr;
    align-items: center !important;
  }

  .voto-s-rep .text-side {
    text-align: center;
    max-width: 100%;
    transform: none;
    padding-left: 0;
    margin-bottom: 0;
  }

  .rep-illus,
  .voto-martelo-illus {
    margin: 0 auto 30px;
    text-align: center;
    top: 0;
    right: 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .hero-voto h2 {
    font-size: 2.2rem;
  }

  .rep-illus {
    margin-top: 0;
    margin-left: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .rep-illus img {
    max-width: 100%;
  }

  .voto-s-veja {
    background-image: none !important;
    min-height: auto;
    padding: 60px 0;
  }
}