/* ========================================
   ECOLAB - ESPAÇO GAIA
   CSS COMPLETO + RESPONSIVO
======================================== */
/* =========================================================
   01. FONTES
========================================================= */

@font-face {
  font-family: "TanBuste";
  src: url("fonts/TANBUSTER-fonts.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "AristotelicaPro";
  src: url("fonts/Zetafonts - Aristotelica Pro Text Extralight.otf")
    format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "TanParadiso";
  src: url("fonts/TAN-PARADISO.ttf") format("truetype");
  font-display: swap;
}

:root {
  --eco-verde: #365c40;
  --eco-verde-escuro: #203c2b;
  --eco-verde-medio: #5e815d;
  --eco-verde-claro: #eaf1e6;
  --eco-creme: #faf8f0;
  --eco-texto: #354539;
  --eco-cinza: #667468;
  --eco-branco: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "AristotelicaPro", Arial, sans-serif;
  color: var(--eco-texto);
  background: #fff;
}

.ecolab-page *,
.ecolab-page *::before,
.ecolab-page *::after,
.ecolab-header *,
.ecolab-footer * {
  box-sizing: border-box;
}

.ecolab-page {
  overflow: clip;
}

.ecolab-container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.ecolab-page h1,
.ecolab-page h2,
.ecolab-page h3 {
  margin-top: 0;
}

.ecolab-page p {
  line-height: 1.8;
}

.ecolab-page a,
.ecolab-header a,
.ecolab-footer a {
  text-decoration: none;
}

.ecolab-page button,
.ecolab-header button {
  font-family: inherit;
}

.ecolab-page :focus-visible,
.ecolab-header :focus-visible {
  outline: 3px solid #b5d58e;
  outline-offset: 4px;
}

.ecolab-skip {
  position: absolute;
  z-index: 999;
  top: -100px;
  left: 15px;
  padding: 12px 18px;
  background: white;
  color: #203c2b;
}

.ecolab-skip:focus {
  top: 10px;
}

.ecolab-subtitulo {
  display: inline-block;
  color: #6d8e61;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   HERO
============================================ */

.ecolab-hero {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(125deg, #203c2b 0%, #365b40 60%, #658568 100%);
  color: white;
  overflow: hidden;
}

.ecolab-hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -200px;
  top: -250px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.ecolab-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ecolab-etiqueta {
  display: inline-block;
  padding: 10px 17px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #e2edce;
  font-weight: 700;
}

.ecolab-hero h1 {
  font-family: "TanBuste", Georgia, serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.6;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}

.ecolab-hero h1 span {
  display: block;
  color: #d2e7a9;
}

.ecolab-hero h2 {
  font-family: "TamParadiso", "AristotelicaPro", sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 22px;
  color: #eff3e1;
}

.ecolab-hero p {
  font-size: 16px;
  max-width: 550px;
  color: #edf1e9;
  margin: 0 0 32px;
}

/* BOTÕES GERAIS */

.ecolab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 50px;
  padding: 14px 27px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.ecolab-btn:hover {
  transform: translateY(-3px);
}

.ecolab-btn-claro {
  background: #f0f2dc;
  color: #26472f;
}

.ecolab-btn-claro:hover {
  background: #d7e9af;
}

/* ============================================
   MOSAICO DE FOTOGRAFIAS DA HERO
============================================ */

.ecolab-hero-fotos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ecolab-foto-hero {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 195px;
  border-radius: 20px;
  overflow: hidden;
  background: #43634a;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ecolab-foto-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform 0.5s ease;
}

.ecolab-foto-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02) 25%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.ecolab-foto-hero figcaption {
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  z-index: 2;
  color: white;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.ecolab-foto-hero:hover img {
  transform: scale(1.09);
}

/* ============================================
   SOBRE O PROGRAMA
============================================ */

.ecolab-sobre {
  padding: 105px 0;
  background: var(--eco-creme);
}

.ecolab-sobre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 85px;
  align-items: center;
}

.ecolab-sobre-esquerda h2 {
  font-family: "TanBuste", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.3;
  color: #294b33;
  margin: 20px 0;
}

.ecolab-sobre-esquerda h2 span {
  display: block;
  color: #779966;
}

.ecolab-linha {
  width: 90px;
  height: 4px;
  border-radius: 5px;
  margin: 25px 0;
  background: #91ad78;
}

.ecolab-frase {
  font-family: "TamParadiso", "AristotelicaPro", sans-serif;
  color: #647765;
  font-size: 21px;
}

.ecolab-sobre-direita h3 {
  font-family: "TanBuste", Georgia, serif;
  font-size: 28px;
  color: #2d5139;
  line-height: 1.4;
  margin: 20px 0;
}

.ecolab-sobre-direita p {
  color: #677469;
  font-size: 15px;
  margin: 0 0 18px;
}

/* ============================================
   PROJETOS DO ECOLAB
============================================ */

.ecolab-projetos {
  padding: 100px 0 110px;
  background: #fff;
  scroll-margin-top: 40px;
}

.ecolab-titulo-secao {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}

.ecolab-titulo-secao h2 {
  font-family: "TanBuste", Georgia, serif;
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.3;
  color: #2c5036;
  margin: 18px 0;
}

.ecolab-titulo-secao p {
  font-size: 16px;
  color: #6b776e;
  margin: 0;
}

/* FILTROS */

.ecolab-filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.ecolab-filtro {
  border: 1px solid #d5e1d1;
  background: #f5f8f2;
  color: #4a674e;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.ecolab-filtro:hover,
.ecolab-filtro.ativo {
  background: #365c40;
  border-color: #365c40;
  color: white;
}

.ecolab-contador {
  text-align: center;
  font-size: 13px;
  color: #788579;
  margin: 0 0 35px;
}

/* GRID */

.ecolab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* CARD */

.ecolab-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid #e2e9df;
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(30, 65, 36, 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.ecolab-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 42px rgba(30, 65, 36, 0.14);
}

.ecolab-card[hidden] {
  display: none !important;
}

/* FOTOS DOS CARDS */

.ecolab-card-imagem {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 265px;
  padding: 23px;
  overflow: hidden;
  background: #496d4e;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.ecolab-card-imagem img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.ecolab-card-imagem::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.04) 45%,
    rgba(0, 0, 0, 0.72)
  );
  pointer-events: none;
}

.ecolab-card:hover .ecolab-card-imagem img {
  transform: scale(1.07);
}

.ecolab-card-numero {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
}

.ecolab-card-categoria {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* CONTEÚDO DOS CARDS */

.ecolab-card-conteudo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 32px;
}

.ecolab-card-conteudo h3 {
  font-family: "TanBuste", Georgia, serif;
  font-size: 27px;
  line-height: 1.3;
  color: #2f5138;
  margin-bottom: 14px;
}

.ecolab-card-conteudo p {
  font-size: 15px;
  line-height: 1.8;
  color: #69766b;
  margin: 0 0 18px;
}

.ecolab-card-conteudo .ecolab-card-destaque {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #668c5e;
}

/* ODS NOS CARDS */

.ecolab-ods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 5px 0 28px;
}

.ecolab-ods span {
  background: #eaf2e6;
  color: #4c714b;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

/* BOTÕES DOS CARDS */

.ecolab-card-botao {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 48px;
  padding: 13px 23px;
  border-radius: 30px;
  background: #365d40;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.ecolab-card-botao:hover {
  background: #22472e;
  transform: translateY(-2px);
}

.ecolab-card-botao span {
  font-size: 18px;
}

/* ============================================
   NOSSO COMPROMISSO
============================================ */

.ecolab-compromisso {
  padding: 100px 0;
  background: #edf2e9;
}

.ecolab-compromisso-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.ecolab-compromisso-item {
  padding: 35px 28px;
  background: white;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #e2e9dd;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.04);
}

.ecolab-compromisso-numero {
  display: block;
  font-family: "TanBuste", Georgia, serif;
  font-size: 43px;
  color: #9cba8b;
  margin-bottom: 18px;
}

.ecolab-compromisso-item h3 {
  font-family: "TanBuste", Georgia, serif;
  font-size: 22px;
  line-height: 1.35;
  color: #30523b;
  margin-bottom: 15px;
}

.ecolab-compromisso-item p {
  font-size: 14px;
  color: #69786c;
  margin: 0;
}

/* ============================================
   CTA FINAL
============================================ */

.ecolab-cta {
  padding: 100px 20px;
  text-align: center;
  color: white;
  background: linear-gradient(130deg, #203c2b, #47734b);
}

.ecolab-cta-conteudo {
  max-width: 790px;
}

.ecolab-cta .ecolab-subtitulo {
  color: #d9e9b9;
}

.ecolab-cta h2 {
  font-family: "TanBuste", Georgia, serif;
  font-size: clamp(29px, 3.7vw, 46px);
  line-height: 1.3;
  color: white;
  margin: 22px 0;
}

.ecolab-cta p {
  color: #e7efe5;
  font-size: 16px;
  margin: 0 auto 32px;
}

.ecolab-cta-botoes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.ecolab-btn-borda {
  border: 1px solid #e8f0df;
  background: transparent;
  color: white;
}

.ecolab-btn-borda:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ============================================
   ANIMAÇÕES AO ROLAR
============================================ */

.ecolab-motion .ecolab-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.ecolab-motion .ecolab-reveal.ecolab-visivel {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVO ATÉ 1050PX
============================================ */

@media (max-width: 1050px) {
  .ecolab-header-conteudo {
    gap: 18px;
  }

  .ecolab-nav {
    gap: 12px;
  }

  .ecolab-nav a {
    font-size: 12px;
  }

  .ecolab-hero-grid {
    gap: 35px;
  }

  .ecolab-sobre-grid {
    gap: 45px;
  }

  .ecolab-card-conteudo {
    padding: 27px;
  }
}

/* ============================================
   RESPONSIVO TABLET ATÉ 850PX
============================================ */

@media (max-width: 850px) {
  .ecolab-hero {
    padding: 80px 0;
  }

  .ecolab-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .ecolab-hero-texto {
    text-align: center;
  }

  .ecolab-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .ecolab-hero-fotos {
    width: 100%;
    max-width: 570px;
    margin: 0 auto;
  }

  .ecolab-foto-hero {
    min-height: 190px;
  }

  .ecolab-sobre-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ecolab-sobre {
    padding: 80px 0;
  }

  .ecolab-compromisso-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

  /* MENU MOBILE */

  .ecolab-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
  }

  .ecolab-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: #31533c;
    border-radius: 4px;
    transition:
      transform 0.3s,
      opacity 0.3s;
  }

  .ecolab-menu-btn.aberto span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .ecolab-menu-btn.aberto span:nth-child(2) {
    opacity: 0;
  }

  .ecolab-menu-btn.aberto span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .ecolab-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 15px 5% 25px;
    background: white;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);

    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ecolab-nav.aberto {
    display: flex;
  }

  .ecolab-nav a {
    padding: 14px 5px;
    font-size: 15px;
    border-bottom: 1px solid #edf1eb;
  }

  .ecolab-nav .ecolab-nav-doar {
    margin-top: 15px;
    padding: 14px 20px;
    text-align: center;
  }
}

/* ============================================
   RESPONSIVO CELULAR ATÉ 700PX
============================================ */

@media (max-width: 700px) {
  .ecolab-container {
    width: 90%;
  }

  .ecolab-header-conteudo {
    min-height: 75px;
  }

  .ecolab-hero {
    padding: 70px 0;
  }

  .ecolab-hero h1 {
    font-size: clamp(35px, 8vw, 49px);
  }

  .ecolab-hero h2 {
    font-size: 22px;
  }

  .ecolab-hero p {
    font-size: 15px;
  }

  .ecolab-etiqueta {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 9px 13px;
  }

  /* FOTOS DA HERO */

  .ecolab-hero-fotos {
    gap: 10px;
  }

  .ecolab-foto-hero {
    min-height: 155px;
    border-radius: 15px;
  }

  .ecolab-foto-hero figcaption {
    bottom: 13px;
    left: 8px;
    right: 8px;
    font-size: 13px;
  }

  /* SEÇÕES */

  .ecolab-sobre,
  .ecolab-projetos,
  .ecolab-compromisso,
  .ecolab-cta {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .ecolab-sobre-esquerda h2 {
    font-size: 30px;
  }

  .ecolab-frase {
    font-size: 18px;
  }

  .ecolab-sobre-direita h3 {
    font-size: 25px;
  }

  .ecolab-titulo-secao h2 {
    font-size: 30px;
  }

  .ecolab-titulo-secao p {
    font-size: 15px;
  }

  /* FILTROS */

  .ecolab-filtros {
    gap: 8px;
  }

  .ecolab-filtro {
    padding: 10px 13px;
    font-size: 12px;
  }

  /* CARDS */

  .ecolab-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ecolab-card-imagem {
    height: 235px;
    padding: 20px;
  }

  .ecolab-card-conteudo {
    padding: 27px;
  }

  .ecolab-card-conteudo h3 {
    font-size: 25px;
  }

  .ecolab-compromisso-item {
    padding: 30px 22px;
  }

  .ecolab-cta h2 {
    font-size: 30px;
  }

  .ecolab-cta p {
    font-size: 15px;
  }

  .ecolab-footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .ecolab-footer-links {
    justify-content: center;
  }
}

/* ============================================
   RESPONSIVO CELULAR ATÉ 400PX
============================================ */

@media (max-width: 400px) {
  .ecolab-logo {
    font-size: 20px;
  }

  .ecolab-hero h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .ecolab-hero h2 {
    font-size: 19px;
  }

  .ecolab-hero p {
    font-size: 14px;
  }

  .ecolab-btn {
    padding: 13px 19px;
    font-size: 13px;
  }

  .ecolab-hero-fotos {
    gap: 8px;
  }

  .ecolab-foto-hero {
    min-height: 125px;
    border-radius: 12px;
  }

  .ecolab-foto-hero figcaption {
    bottom: 10px;
    font-size: 11px;
  }

  .ecolab-sobre-esquerda h2,
  .ecolab-titulo-secao h2,
  .ecolab-cta h2 {
    font-size: 27px;
  }

  .ecolab-sobre-direita h3 {
    font-size: 23px;
  }

  .ecolab-card-imagem {
    height: 205px;
    padding: 18px;
  }

  .ecolab-card-conteudo {
    padding: 23px 20px;
  }

  .ecolab-card-conteudo h3 {
    font-size: 23px;
  }

  .ecolab-card-conteudo p {
    font-size: 14px;
  }

  .ecolab-card-conteudo .ecolab-card-destaque {
    font-size: 15px;
  }

  .ecolab-card-categoria {
    font-size: 10px;
  }

  .ecolab-cta-botoes {
    flex-direction: column;
  }

  .ecolab-cta-botoes .ecolab-btn {
    width: 100%;
  }

  .ecolab-footer-links {
    gap: 13px;
  }
}

/* ============================================
   ACESSIBILIDADE
============================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ecolab-page *,
  .ecolab-page *::before,
  .ecolab-page *::after,
  .ecolab-header * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .ecolab-motion .ecolab-reveal {
    opacity: 1;
    transform: none;
  }
}
