/* === STYLE.CSS MODERNO E RESPONSIVO === */

/* ---------- VARIÁVEIS ---------- */
:root {
  --cor-principal: #398A92;
  --cor-secundaria: #025170;
  --cor-destaque: #821D2A;
  --cor-fundo: #f7f7f7;
  --cor-texto: #333;
  --radius: 12px;
  --shadow: 0 6px 16px rgba(0,0,0,0.08);
  --trans: 0.3s ease;
  --fonte-principal: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-principal);
  color: var(--cor-texto);
  background: var(--cor-fundo);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ---------- CONTAINERS ---------- */
.wrap {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
  transition: var(--trans);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header .logo {
  height: 48px;
}

.nav-desktop {
  display: flex;
  gap: 24px;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--cor-secundaria);
  font-weight: 500;
  transition: color var(--trans);
}

.nav-desktop a:hover {
  color: var(--cor-principal);
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search {
  position: relative;
}

.search input {
  padding: 8px 36px 8px 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  outline: none;
  transition: all var(--trans);
}

.search input:focus {
  border-color: var(--cor-principal);
  box-shadow: 0 0 0 3px rgba(57,138,146,0.2);
}

.search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
  transition: opacity var(--trans);
}

.search button:hover {
  opacity: 1;
}

.search-results {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  z-index: 50;
}

.search-results.active {
  display: block;
}

.search-results .item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background var(--trans);
}

.search-results .item:hover {
  background: rgba(57,138,146,0.1);
}

.auth a {
  text-decoration: none;
  font-weight: 600;
  color: var(--cor-destaque);
  transition: var(--trans);
}

.auth a:hover {
  color: var(--cor-principal);
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--cor-secundaria);
  cursor: pointer;
}

/* ---------- MOBILE MENU ---------- */
/* ---------- MENU MOBILE ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 340px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9); /* branco com 90% opacidade */
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px); /* efeito vidro fosco */
  transition: right 0.4s ease;
  z-index: 9999; /* garante que fica acima do conteúdo */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu.active {
  right: 0;
}

.mobile-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  overflow-y: auto; /* garante rolagem se conteúdo for maior que a tela */
}

.close-mobile {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  margin-bottom: 20px;
}

.mobile-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.mobile-links li {
  margin-bottom: 16px;
}

.mobile-links a {
  text-decoration: none;
  color: #111;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-links a:hover {
  color: #008000; /* verde do tema */
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.mobile-search input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.mobile-search button {
  background: #008000;
  border: none;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-auth {
  display: flex;
  flex-direction: column;
  color: #025170;
  gap: 10px;
  margin-top: auto; /* força o login/cadastro ficar no final do menu */
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.1); /* separador sutil opcional */
}

.mobile-auth a {
  text-decoration: none;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
}

.mobile-auth .link-login {
  background: transparent;
  border: 1px solid #008000;
  color: #008000;
}

.mobile-auth .link-signup {
  background: #000000;
  color: #fff;
}

/* Esconde menu desktop em telas pequenas */
@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

/* Desktop */
@media (min-width: 993px) {
  .mobile-menu {
    display: none;
  }
}


/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 5;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* imagem cobre toda a área */
  object-position: center;
}

/* Overlay e conteúdo sobre o slide */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.hero-content {
  max-width: 720px;
  animation: fadeUp 1s ease forwards;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: #f0f0f0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}


.btn.primary {
  background: var(--cor-principal);
  color: #fff;

}

.btn.primary:hover {
  background: var(--cor-secundaria);
}

.btn.ghost {
  border: 0px solid #fff;
  color: #fff;
}

.btn.ghost:hover {
  background: #fff;
  color: var(--cor-secundaria);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 80px 0;
  transition: all var(--trans);
}

.surface {
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--cor-principal);
  margin-bottom: 40px;
}

/* GRID BASE */
.grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.grid img {
  border-radius: var(--radius);
}

/* ======== QUEM SOMOS ======== */
.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.quem-somos-grid .about h2 {
  font-size: 2rem;
  color: var(--cor-principal);
  margin-bottom: 20px;
}

.quem-somos-grid .about p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 25px;
}

.quem-somos-grid .media img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.quem-somos-grid .media img:hover {
  transform: scale(1.03);
}

.btn.outline {
  border: 2px solid var(--cor-principal);
  color: var(--cor-principal);
  background: transparent;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.outline:hover {
  background: var(--cor-principal);
  color: #fff;
}

/* ABOUT / EIXOS / IMPACTO */
/* ============================================================
   Seção Eixos de Atuação — com animação e cards clicáveis
   ============================================================ */

.section {
  padding: 80px 0;
  background: #f9fafb;
}

.section-title {
  font-size: 2rem;
  color: #064e3b;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- CARD ---------- */
.card-reveal {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  transform: translateY(30px);
  opacity: 0;
}

.card-reveal.revealed {
  transform: translateY(0);
  opacity: 1;
}

.card-reveal:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-reveal img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid #16a34a;
  transition: transform 0.5s ease;
}

.card-reveal:hover img {
  transform: scale(1.05);
}

.card-reveal h3 {
  font-size: 1.3rem;
  margin: 15px;
  color: #064e3b;
}

.card-reveal p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 15px 25px;
}

/* ---------- Animação Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- IMPACT METRICS ---------- */
.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.metric {
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 2.5rem;
  color: var(--cor-principal);
}


/* ====== SEÇÃO PARCERIAS ESTRATÉGICAS ====== */
#parcerias {
  background: linear-gradient(135deg, #f5f9f7 0%, #e8f5e9 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#parcerias .section-title {
  font-size: 2.4rem;
  color: var(--cor-principal);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

#parcerias .section-title::after {
  content: '';
  display: block;
  width: 90px;
  height: 4px;
  background: var(--cor-destaque);
  margin: 15px auto 0;
  border-radius: 4px;
}

#parcerias .lead {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.4s ease;
}

.partners-img {
  width: 100%;
  max-width: 850px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  animation: float 6s ease-in-out infinite;
}

/* Efeito flutuante suave na imagem */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.partners-img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

/* ===== Efeito decorativo de fundo ===== */
#parcerias::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 150, 136, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 8s infinite ease-in-out;
}

#parcerias::after {
  content: '';
  position: absolute;
  bottom: -180px;
  right: -180px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulse 10s infinite ease-in-out reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.3; }
}


/* ---------- CTA FINAL ---------- */
/* ============================================================
   SEÇÃO CTA — Chamada para Ação Inspiradora
   ============================================================ */

.section.cta {
  position: relative;
  background: linear-gradient(135deg, #064e3b, #16a34a);
  color: #fff;
  padding: 100px 20px;
  overflow: hidden;
}

.section.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  animation: moveLight 6s linear infinite;
  pointer-events: none;
}

@keyframes moveLight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.cta-inner p.muted {
  font-size: 1.1rem;
  opacity: 0.9;
  color: #f0fdf4;
}

/* ---------- BOTÕES ---------- */
.cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
}

.btn.primary {
  background-color: #facc15;
  color: #064e3b;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.btn.primary:hover {
  background-color: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.btn.outline {
  border: 2px solid #facc15;
  color: #facc15;
  background: transparent;
}

.btn.outline:hover {
  background-color: rgba(250, 204, 21, 0.15);
  transform: translateY(-2px);
}


/* ---------- FOOTER ---------- */
.footer {
  background: var(--cor-secundaria);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal, .card-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible, .card-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 992px) {
  .nav-desktop, .auth {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .metrics {
    flex-direction: column;
  }

  .btn {
    width: 80%;
    max-width: 280px;
  }
}

  .section-title {
    font-size: 1.6rem;
  }
  .card-reveal img {
    height: 150px;
  }


  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .cta-inner h2 {
    font-size: 1.8rem;
  }

  .cta-inner p {
    font-size: 1rem;
  }

    #parcerias {
    padding: 80px 20px;
  }

  #parcerias .section-title {
    font-size: 2rem;
  }

  #parcerias .lead {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .partners-img {
    max-width: 100%;
  }