/* ========================= */
/* FONTES GOTHAM */
/* ========================= */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamLight.ttf');
  font-weight: 300;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamBook.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamMedium.ttf');
  font-weight: 500;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamBold.ttf');
  font-weight: 700;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Black.ttf');
  font-weight: 900;
}

/* ========================= */
/* RESET */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* ========================= */
/* BASE */
/* ========================= */
body {
  font-family: 'Gotham', Arial, sans-serif;
  font-weight: 400;
  color: #333;
}

/* ========================= */
/* CONTAINER */
/* ========================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
  background: #f3f3f3;
  padding: 60px 0 30px; /* mantém seu ajuste */
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero__text {
  max-width: 620px;
  color: #0a0a0a;
}

.hero__text h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 400;
}

.hero__text .highlight {
  font-weight: 700;
  color: #007938;
}

.hero__text p {
  font-size: 18px;
  line-height: 1.4;
  margin: 14px 0 20px;
  max-width: 500px;
  color: #0a0a0a;
}

.btn {
  font-weight: 400;
  padding: 14px 24px;
  border-radius: 8px;
  background: #ffe04a;
  color: #000;
  text-decoration: none;
  display: inline-block;
  transition: 0.25s;
  font-size: 16px;
}

.btn:hover {
  filter: brightness(0.92);
}

.btn:active {
  transform: scale(0.98);
}

.hero__logo img {
  height: 500px;
  width: auto;
  margin-top: -60px;
}

/* ========================= */
/* AJUSTE HERO TABLET (RESOLVE 853px / 901px) */
/* ========================= */
@media (max-width: 1024px) {

  .hero__text {
    max-width: 500px;
  }

  .hero__text h1 {
    font-size: 38px;
    line-height: 1.15;
  }

  .hero__text p {
    font-size: 16px;
    max-width: 420px;
  }

  .hero__logo img {
    height: 420px;
  }
}


/* ========================= */
/* AJUSTE FINO HERO (769px → 861px) */
/* ========================= */
@media (max-width: 861px) and (min-width: 769px) {

  .hero__text {
    max-width: 460px;
  }

  .hero__text h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero__text p {
    font-size: 15px;
    max-width: 380px;
  }

  .hero__logo img {
    height: 390px;
  }
}


/* ========================= */
/* AJUSTE ULTRA FINO (799px → 769px) */
/* ========================= */
@media (max-width: 799px) and (min-width: 769px) {

  .hero__text {
    max-width: 440px;
  }

  .hero__text h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero__text p {
    font-size: 14.5px;
    max-width: 360px;
  }

  .hero__logo img {
    height: 370px;
  }
}

/* ========================= */
/* ORDEM HERO MOBILE */
/* ========================= */
@media (max-width: 768px) {

  .hero__content {
    flex-direction: column;
    text-align: center;
  }

  .hero__text p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero__logo {
    order: -1;
  }

  .hero__text {
    order: 1;
    margin-top: -40px;
  }

  .hero__logo img {
    height: 360px;
  }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {
  .hero__logo img {
    height: 240px;
  }
}

/* ========================= */
/* BENEFITS */
/* ========================= */
.benefits {
  padding: 70px 0;
  text-align: center;
}

.section-title {
  max-width: 1200px;
  margin: -86px auto 25px;
  padding: 24px;
  background: #167a3f;
  color: #fff;
  border-radius: 10px;
  font-size: 38px;
  font-weight: 300;
}

.section-title .highlight {
  font-weight: 700;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: #eee;
  padding: 36px 20px;
  border-radius: 28px;
  transition: 0.25s;
  cursor: pointer;
}

.card img {
  width: 80px;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  font-weight: 400;
  font-size: 24px;
  color: #0a0a0a;
}

.card h3 .highlight {
  font-weight: 700;
  color: #007938;
}

.card--highlight {
  background: #ffe04a;
}

/* ========================= */
/* BRANDS (MANTIDO) */
/* ========================= */
.brands {
  padding: 60px 0 90px;
  text-align: center;
}

.brands .container h2 {
  font-size: 38px;
}

.brands .container h2 .highlight {
  font-weight: 700;
  color: #007938;
}

.brands__logos {
  max-width: 1000px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  justify-items: center;
}

.brands__logos img {
  max-width: 100%;
  height: 100px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .brands__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .brands__logos {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brands__logos img {
    height: 90px;
  }
}

/* ========================= */
/* CTA */
/* ========================= */
.cta {
  background: #167a3f;
  padding: 60px 0;
  color: #fff;
}

.cta__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.cta__image img {
  width: 100%;
  max-width: 620px;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

.cta__form {
  max-width: 420px;
  width: 100%;
  background: #176c3a;
  padding: 28px;
  border-radius: 12px;
  

  position: relative;
  z-index: 1; /* suficiente */
}

.cta__form form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta__form input,
.cta__form select,
.cta__form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #e9e9e9;
  font-family: 'Gotham';
}

.cta__form button {
  font-weight: 400;
  padding: 14px 22px;
  border-radius: 6px;
  border: none;
  background: #ffe04a;
  color: #000;
}

.footer {
  background: #167a3f;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
}

.footer p {
  z-index: 999;
}

.footer p:nth-of-type(2) {
  padding: 25px 0;
}

/* ========================= */
/* WHATSAPP */
/* ========================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
  z-index: 990;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}


/* ========================= */
/* OUTROS RESPONSIVOS */
/* ========================= */
@media (max-width: 900px) {

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .cta__content {
    flex-direction: column;
    gap: 30px;
  }

  .cta__image img {
    height: 260px;
  }
}

/* ========================= */
/* SCROLL REVEAL */
/* ========================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/**/
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 30px;
}

/* garante que o conteúdo fique acima */
.hero .container {
  position: relative;
  z-index: 2;
}

/* ELEMENTO DECORATIVO */
.hero::after {
  content: "";
  position: absolute;

  top: -120px;
  right: -80px;

  width: clamp(180px, 28vw, 400px);
  height: clamp(180px, 28vw, 400px);

  background: url('../img/icon-gray.png') no-repeat center;
  background-size: contain;

  opacity: 0.25;

  pointer-events: none;
}

/**/

.footer p {
  position: relative;
  z-index: 5;
}


@media (max-width: 768px) {
  .footer::after {
    width: 220px;
    height: 220px;
    
  }
}

@media (max-width: 480px) {
  .footer::after {
    width: 160px;
    height: 160px;
  }
}


html, body {
  overflow-x: hidden;
}

.footer p {
  position: relative;
  z-index: 3; /* acima do detalhe */
}


/* CTA mais atrás */
.cta {
  position: relative;
  z-index: 0;
}

/* FOOTER acima da CTA */
/* CTA mais atrás */
.cta {
  position: relative;
  z-index: 0;
}

/* FOOTER */
.footer {
  position: relative;
  z-index: 1;
  background: #167a3f;
  overflow: hidden;

  isolation: isolate; /* 🔥 ESSA LINHA RESOLVE O PROBLEMA */
}

/* DETALHE */
.footer::after {
  content: "";
  position: absolute;

  bottom: -120px; /* 🔥 empurra pra baixo */
  right: -100px;

  width: clamp(220px, 28vw, 420px);
  height: clamp(220px, 28vw, 420px);

  background: url('../img/icon-white.png') no-repeat center;
  background-size: contain;

  pointer-events: none;
  z-index: 0;
}

/* TEXTO */
.footer p {
  position: relative;
  z-index: 2;
}

