:root {
transition: transform 0.3s;
}

:root {
  --primary: #12D9A6;
  --primary-dark: #004D40;

  --bg-main: #F7F9F8;      /* Fundo geral */
  --bg-card: #FFFFFF;     /* Cards */
  --bg-soft: #EEF2F1;     /* Seções alternadas */

  --text-main: #1F2D2B;
  --text-soft: #5F6F6C;

  --border: rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}




body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Botões com a nova identidade */
.btn-primary, .btn-nav {
  background: var(--primary);
  color: var(--primary-dark); /* Texto escuro sobre o fundo vibrante para contraste */
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover,
.btn-nav:hover {
  transform: scale(1.05);
  background: var(--off-white); /* Inversão elegante no hover */
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(18, 217, 166, 0.3);
}

.hero.light-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #F7F9F8 0%,
    #EEF2F1 100%
  );
}

.hero.light-hero .btn-primary {
  background: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 15px 30px rgba(18,217,166,0.35);
}

.hero.light-hero .btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.hero.light-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;              /* MAIS VISÍVEL */
  filter: grayscale(40%);
  z-index: 0;
}



.hero.light-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,249,248,0.35),
    rgba(247,249,248,0.75)
  );
  z-index: 1;
}

.light-hero h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  line-height: 1.1; 
  margin-bottom: 25px;
  color: var(--text-main);
  font-weight: 700;
 }
.hero.light-hero p {
  color: var(--text-soft);
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 650px;
}

.hero.light-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
}

.section {
  padding: 120px 0;
  background: var(--bg-main);
}


.section.dark {
  background: var(--bg-soft);
}


#sobre .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* texto maior que imagem */
  gap: 60px;
  align-items: center;
}


.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
gap: 30px;
}


/* Cards e Seções */
.card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: var(--transition);
}

.card p {
  color: var(--text-soft);
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}


.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25d366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


.footer {
    background: var(--bg-soft);
    color: var(--text-soft);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo { height: 50px; margin-bottom: 20px; }
.footer h4 { color: var(--primary-dark); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px; }
.footer-links a, .footer-contact p {
    display: block;
    color: var(--text-soft);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.socials a {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--gray);
}

.section,
.card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section.visible,
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.section,
.card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section.visible,
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(247, 249, 248, 0.85); /* bg-main com transparência */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

/* LOGO */
.logo img {
  height: 56px;
  width: auto;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  position: relative;
  margin-left: 28px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: var(--transition);
}

/* Linha animada */
.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* Botão no menu */
.nav .btn-nav {
  margin-left: 40px;
  padding: 12px 28px;
}

/* Ajuste de Títulos e Detalhes */
h1, h2, h3 {
  color: var(--text-main);
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary); /* Linha detalhe em Verde Água */
  margin-top: 10px;
}

h1 {
  font-size: 3.2rem;
  max-width: 700px;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 700px;
}

form {
  display: grid;
  gap: 15px;
  max-width: 500px;
}

/* Formulários */
input, textarea {
  background: var(--dark-soft);
  color: var(--light);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 10px;
  outline: none;
  transition: var(--transition);
}

input:focus, textarea:focus {
  border-color: var(--primary);
}



.img-fluid {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Texto */
#sobre .text {
  max-width: 600px;
}

/* Container da imagem */
#sobre .image {
  width: 100%;
  max-width: 520px; /* LIMITE REAL */
  margin-left: auto; /* empurra levemente para a direita */
}

#sobre .image {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s ease;
}

#sobre .image.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Imagem em si */
#sobre .about-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1200;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-main);
  margin: 5px 0;
  transition: var(--transition);
}

.solution-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 20px rgba(18,217,166,0.25));
  transition: transform 0.4s ease;
}

.card:hover .solution-icon {
  transform: translateY(-6px) scale(1.05);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.manifesto-image {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s ease;
}

.manifesto-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.manifesto-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* MEDIA QUERIES (RESPONSIVIDADE) */
@media (max-width: 992px) {
    .grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
}
/* RESPONSIVIDADE CELULAR */
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .light-hero { height: auto; padding: 150px 0 80px; }
  .light-hero h1 { font-size: 2.2rem; }
}

/* IMAGENS E RESPONSIVIDADE */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.image-container { width: 100%; }
.img-fluid {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3; /* Mantém proporção */
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
}

@media (max-width: 992px) {
  #sobre .grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  #sobre .text {
    max-width: 100%;
  }

  #sobre .image {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #sobre {
    padding: 80px 0;
  }

  #sobre h2 {
    font-size: 2rem;
  }

  #sobre .about-image {
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .light-hero {
    min-height: auto;
  }

  .light-hero-content {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .light-hero h1 {
    font-size: 2.2rem;
  }

  .light-hero p {
    font-size: 1.05rem;
  }
}

/* MOBILE */
@media (max-width: 992px) {

  .menu-toggle {
    display: flex;
    z-index: 2001;
  }

  .nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--bg-main);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 32px 20px;
    gap: 18px;

    text-align: center;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: all 0.3s ease;
    z-index: 2000;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    margin: 0;
    font-size: 1.15rem;
    width: auto;          /* 🔥 ESSENCIAL */
  }

  .nav .btn-nav {
    margin-left: 0;        /* REMOVE herança do desktop */
    align-self: center;    /* 🔥 CENTRALIZA COMO ITEM */
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .logo img {
    height: 60px;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    align-items: center;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .manifesto-image {
    order: -1; /* imagem sobe */
    transform: none;
  }

  .manifesto-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .manifesto-image img {
    max-width: 90%;
    margin: 0 auto;
  }
}
