/* Variables and Reset moved to globals.css */

/* ═══════════════════════════════
   NAVBAR
═══════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 14px 0;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
#navbar.nav-green {
  background: transparent;
}
#navbar.nav-green.scrolled {
  background: var(--green);
}
#navbar.nav-navy {
  background: transparent;
}
#navbar.nav-navy.scrolled {
  background: rgba(12, 24, 112, 0.95);
}
#navbar.nav-teal {
  background: transparent;
}
#navbar.nav-teal.scrolled {
  background: rgba(13, 46, 46, 0.95);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.logo-text {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.04em;
}
.logo-text .plus {
  color: var(--amber);
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  padding-bottom: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 4px 14px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #fff;
}
.btn-header{
  background: white;
  border-radius: 100px;
  font-size: 18px;
  transition: transform 0.3s
}
.btn-header:hover{
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background-color: white;
  transform: translateY(-5px);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px; 
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--amber, #ffcc00);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: calc(100% - 1rem); 
}



/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  background: rgba(28, 74, 42, 0.97);
}
.mobile-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav a:last-child {
  border: none;
}
.nav-navy .mobile-nav,
.nav-navy.scrolled .mobile-nav {
  background: rgba(12, 24, 112, 0.97);
}
.nav-teal .mobile-nav,
.nav-teal.scrolled .mobile-nav {
  background: rgba(13, 46, 46, 0.97);
}

/* ═══════════════════════════════
   HOME — HERO
═══════════════════════════════ */
.hero-home {
background-image: linear-gradient(180deg, rgba(2, 60, 26, 0.85) 0%, transparent 30%), linear-gradient(0deg, #023C1A 0%, transparent 70%), url("/assets/br-bg-sobre.webp");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-home .bg-crowd {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
/* Silhouette removed from here, moved to purpose section */
/* Silhouette removed from here, moved to purpose section */
.hero-home .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-home .row {
  align-items: center;
}

.hero-home h2 {
  font-size: 2.55rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.hero-home .subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  padding: clamp(30px, 5vw, 42px) 0;
}
/* Hero right visual */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 460px;
}
.hero-plus {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.hero-map {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-20%);
  width: 190px;
  opacity: 0.9;
}
.hero-person {
  position: absolute;
  bottom: 0;
  right: 10%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}
.hero-equals {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-equals span {
  display: block;
  width: 50px;
  height: 8px;
  background: var(--white);
  border-radius: 4px;
}

/* ═══════════════════════════════
   HOME — PURPOSE
═══════════════════════════════ */
.section-purpose {
  background-image: 
    linear-gradient(0deg, #023C1A 0%, transparent 20%),
    url("/assets/br-bg-proposito-silhueta.webp"),
    linear-gradient(180deg, transparent 0%, #023C1A 200px, #023C1A 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-top: -271px;
  padding: 330px 24px;
  z-index: 10;
}

.section-purpose .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.purpose-logo {
  display: block;
  margin: 0 auto 1.5rem;
}
.purpose-logo img {
  margin: 0 auto;
  height: 80px;
}
.purpose-logo .pl-br {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.purpose-logo .pl-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  padding-bottom: 4px;
}
.purpose-tag {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.purpose-h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.purpose-p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

/* ═══════════════════════════════
   HOME — ECOSYSTEM
═══════════════════════════════ */
.section-eco {
  background: var(--cream);
  padding: 20px 24px 0;
  overflow: hidden;
}

.section-eco .container {

  max-width: 1200px;

  margin: 0 auto;

}
.eco-heading {

  text-align: center;

  font-size: 2rem;

  color: #060E7A;

  margin-bottom: 5rem;

  line-height: 1.3;

}

.eco-heading strong {

  font-weight: 700;

}


.eco-cards {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;

  padding-bottom: 60px;

}


.eco-card {

  border-radius: 16px;

  overflow: hidden;

  display: flex;

  align-items: stretch;

  min-height: 200px;

  position: relative;

}

.eco-card-veri {

  background-image: url(/assets/br-bg-vertiapp.webp);

  background-repeat: no-repeat;

  background-size: cover;

  background-position: center;

}

.eco-card-voto {

  background-image: url(/assets/br-bg-votocerto.webp);

  background-repeat: no-repeat;

  background-size: cover;

  background-position: center;

}


.eco-card-content {

  padding: 42px 0 42px 42px;

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  position: relative;

  z-index: 2;

}

.eco-card-logo {

  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 10px;

}

.eco-card-logo .icon-wrap {

  width: 28px;

  height: 28px;

  border-radius: 7px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 0.9rem;

  font-weight: 700;

}

.eco-card-veri .icon-wrap {

  background: var(--veri-g);

  color: #000;

}

.eco-card-voto .icon-wrap {

  background: #26d96b;

  color: #000;

}

.eco-card-logo span {

  font-size: 1.3rem;

  font-weight: 700;

  color: var(--white);

}

.eco-card-desc {

  font-size: 1.1rem;

  color: white;

  padding: 22px 0 32px 0;

  line-height: 1.5;

  max-width: 170px;

}

.eco-card-img {

  position: absolute;

  right: 0;

  bottom: 0;

  width: 160px;

  height: 200px;

  background: rgba(255, 255, 255, 0.07);

  border-radius: 0 16px 16px 0;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

}

.eco-card-img .img-ph {

  height: 100%;

  border-radius: 0 16px 16px 0;

  font-size: 0.6rem;

}
/* Wrapper externo com fundo verde escuro */
.eco-outer {
  background: #023C1A;
  /* verde escuro da imagem */
}

/* A seção fica cream, sem clip-path próprio */
.section-eco {
  background: var(--cream);
  padding: 20px 24px 0;
  overflow: hidden;
}

/* Triângulo cream apontando para cima — cria a ponta superior do hexágono */
.clip-top {
  background: var(--cream);
  height: 60px;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  margin-bottom: -1px;
  /* elimina gap de 1px */
}

/* Triângulo cream apontando para baixo — cria a ponta inferior */
.clip-bottom {
  background: var(--cream);
  height: 60px;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  margin-top: -1px;
}

/* ═══════════════════════════
   HOME — INEQUALITY
═══════════════════════════════ */

.section-inequality {
  background: #023C1A;
  padding: 100px 24px;
  overflow: hidden;
}
.section-inequality .container {
  max-width: 1200px;
  margin: 0 auto;
}

.ineq-top {
  text-align: center;
  margin-bottom: 50px;
}
.ineq-overline {
  font-size: 3rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}
.ineq-h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #FFAB00;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}
.ineq-h2::before,
.ineq-h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #FFAB00;
  opacity: 0.35;
}

@media (max-width: 768px) {
  .ineq-h2 {
    font-size: 1.8rem;
    gap: 15px;
  }
}


.ineq-left .big-text {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.ineq-left p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 42px 0;
}

.ineq-right {
  position: relative;
}
.ineq-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.ineq-img:hover {
  transform: translateY(-10px);
}


/* ═══════════════════════════════
   HOME — CROWD SILHOUETTE BAR
═══════════════════════════════ */
.crowd-bar {
  background: var(--cream);
  overflow: hidden;
  line-height: 0;
}
.crowd-bar svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer {
  background-color: #023C1A;
  padding: 460px 24px 80px;
  background-image: url(/assets/br-bg-footer.webp);
  background-size: cover;
  background-position: center;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.footer-br-logo {
  width: auto;
}

/* Right Side Content Styling */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #060e7a;
}
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #060e7a;
  transition: opacity 0.2s;
  text-decoration: none;
}
.footer-nav a:hover {
  opacity: 0.7;
}
.footer-nav .sep {
opacity: 1.55;
  font-weight: 900;
  margin: 0 12px;
  color: #060e7a;
}

/* Socials Circle Icons */
.footer-socials {
  display: flex;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #060e7a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.25s, background 0.25s;
  text-decoration: none;
}
.footer-socials a:hover {
  transform: translateY(-2px);
  background: var(--amber);
}

/* Copyright text */
.footer-copy {
  font-size: 0.78rem;
  font-weight: 500;
  color: #060e7a;
  opacity: 0.6;
  margin: 0;
}


/* ═══════════════════════════════
   DARK FOOTER (Veri / Voto pages)
═══════════════════════════════ */
.footer-dark {
  padding: 36px 24px 24px;
}
.footer-dark.ft-navy {
  background: var(--navy-dark);
}
.footer-dark.ft-teal {
  background: var(--teal);
}
.footer-dark .footer-nav a {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
}
.footer-dark .footer-nav a:hover {
  color: #fff;
}
.footer-dark .footer-socials a {
  background: rgba(255, 255, 255, 0.1);
}
.footer-dark .footer-socials a:hover {
  background: rgba(255, 255, 255, 0.25);
}
.footer-dark .footer-copy {
  color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}
.footer-dark .logo-text {
  color: var(--amber);
}
.footer-dark .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 991px) {
  .hero-home {
    padding-top: 140px !important;
    padding-bottom: 80px !important;
  }

  /* Ensuring hamburger is white in the header */
  header #hamburger .bar,
  #hamburger .bar {
    background-color: #ffffff !important;
  }

  .hero-home .row,
  .ineq-row,
  .section-inequality .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-home h2,
  .hero-home .subtitle,
  .ineq-left .big-text,
  .ineq-left p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-home .btn-outline-white,
  .ineq-left .btn-amber {
    display: inline-block;
    margin: 0 auto;
  }

  .hero-right,
  .ineq-right {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .eco-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-home h2 {
    font-size: 1.85rem;
  }
  .ineq-h2 {
    font-size: 1.7rem;
  }
  .purpose-h2 {
    font-size: 1.6rem;
  }
  .fn-collage {
    grid-template-columns: 1fr;
  }
  .fn-full {
    grid-column: 1;
  }
  
  .nav-links {
    display: none;
  }

  /* Centering Footer */
  footer {
    padding-top: 100px;
    text-align: center;
  }
  
  .footer .container .row {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    justify-content: center !important;
    margin-bottom: 2rem;
  }

  .footer-socials {
    justify-content: center !important;
    margin-bottom: 1.5rem;
  }

  .footer-copy {
    text-align: center !important;
  }
}
