/* ================================================================
         VARIÁVEIS GLOBAIS
         ================================================================ */
:root {
  --verde-escuro: #1a3a1e;
  --verde-medio: #2a5230;
  --verde-claro: #3d7a47;
  --lima: #8dc63f;
  --lima-escuro: #6ea830;
  --branco: #ffffff;
  --cinza-suave: #f2f6f2;
  --texto-corpo: #4a5a46;
  --texto-escuro: #1a2e1c;

  --fonte-titulo: "Montserrat", sans-serif;
  --fonte-corpo: "Inter", sans-serif;

  --raio: 8px;
  --raio-md: 14px;
  --trans: 0.3s ease;
  --sombra: 0 8px 32px rgba(0, 0, 0, 0.12);
  --sombra-img:  0 1px 10px rgba(0, 0, 0, 0.3);
}

/* ================================================================
         RESET & BASE
         ================================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  color: var(--texto-corpo);
  background: var(--branco);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--lima);
  color: var(--verde-escuro);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--raio);
  z-index: 9999;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.skip-link:focus {
  top: 16px;
}

/* Foco visível */
a:focus-visible,
button:focus-visible,
.btn-premium:focus-visible,
.btn-servico:focus-visible {
  outline: 3px solid var(--lima);
  outline-offset: 3px;
  border-radius: var(--raio);
}

/* ================================================================
         TIPOGRAFIA
         ================================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color:  var(--verde-medio);
}

/* ================================================================
         UTILITÁRIOS
         ================================================================ */
.section-tag {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 12px;
}

/* ================================================================
         BOTÕES
         ================================================================ */
.btn-premium,
.btn-servico {
  display: inline-block;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition:
    background var(--trans),
    color var(--trans),
    border-color var(--trans);
}

.btn-premium {
  padding: 17px 42px;
  background: var(--lima);
  color: var(--verde-escuro);
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 800;
  border: 2px solid var(--lima);
}
.btn-premium:hover,
.btn-premium:focus-visible {
  background: transparent;
  color: var(--lima);
}

.btn-servico {
  padding: 13px 28px;
  font-size: 0.76rem;
  border-radius: var(--raio);
}
.btn-servico.lima {
  border: 2px solid var(--lima);
  color: var(--lima);
  background: transparent;
}
.btn-servico.lima:hover,
.btn-servico.lima:focus-visible {
  background: var(--lima);
  color: var(--verde-escuro);
}

.btn-servico.verde-escuro {
  border: 2px solid var(--verde-medio);
  color: var(--verde-medio);
  background: transparent;
}
.btn-servico.verde-escuro:hover,
.btn-servico.verde-escuro:focus-visible {
  background: var(--verde-medio);
  color: var(--branco);
}
/* ----------------------------------------------------------------
   5. BOTÃO WHATSAPP FLUTUANTE
   ---------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--branco);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waBounce 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  animation: none;
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1a1a1a;
  color: var(--branco);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a1a;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}


/* ================================================================
         HEADER
         ================================================================ */
header {
  background: var(--branco);
  padding: 15px 8%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition:
    background var(--trans-base),
    box-shadow var(--trans-base);
}
header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-container img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu a {
  color: var(--azul-petroleo);
  margin-left: 18px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--dourado-dark);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--verde-escuro);
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.hamburger i {
  font-size: 1.5rem;
}

.btn-md{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  height: 55px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition:
    transform var(--trans-base),
    box-shadow var(--trans-base),
    background var(--trans-base),
    filter var(--trans-base);
  position: relative;
  overflow: hidden;
}

.btn-md {
  padding: 12px 28px;
  height: 45px;
   background: linear-gradient(135deg, #d0c13b, #997b38);
  color: var(--branco) !important;
}
.btn-md::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--dourado);
  opacity: 0.7;
  z-index: -1;
  animation: pulse 2s infinite;
}

.btn-md:hover{
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-hero:hover::before {
  left: 140%;
}

.btn-md:active {
  transform: translateY(1px) scale(0.98);
}
/* Configurações para o Menu Mobile Centralizado */
@media (max-width: 768px) {
   .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--branco);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    margin: 10px 0;
    font-size: 0.95rem;
 
  }
}

/* ================================================================
         HERO
         ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 30px 8% 80px;
  background:
    linear-gradient(
      135deg,
      rgba(0, 44, 20, 0.95) 40%,
      rgba(1, 29, 10, 0.7) 100%
    ),
    url("../img/paginaambiental.png")
      center / cover;
  color: var(--branco);
  border-bottom: solid 2px var(--branco);
  margin-top: 60px;
}

.hero-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--branco);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}
.hero-content h1 span {
  color: var(--lima);
}

.hero-content > p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  opacity: 0.88;
  margin-bottom: 30px;
  border-left: 3px solid var(--lima);
  padding-left: 20px;
  max-width: 560px;
}

/* ================================================================
         INTRO
         ================================================================ */
.intro-section {
  padding: 70px 8%;
  background: var(--cinza-suave);
  border-left: 6px solid var(--lima);
}
.intro-inner {
  max-width: 900px;
  margin: 0 auto;
}
.intro-inner p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--texto-corpo);
  line-height: 1.85;
  text-align: center;
}
.intro-inner strong {
  color: var(--verde-medio);
  font-weight: 700;
}

/* ================================================================
         SETA DECORATIVA
         ================================================================ */
.scroll-arrow-container {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--lima-escuro);
  border-bottom: 3px solid var(--lima-escuro);
  transform: rotate(45deg);
  animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
  0% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translate(15px, 15px);
    opacity: 0;
  }
}

/* ================================================================
         SEÇÕES DE SERVIÇO
         ================================================================ */
         .serv-number {
    font-family: var(--fonte-titulo);
    font-size: 4rem;
    color: #2a523060;
    display: block;
    margin-bottom: 30px;
}

.modelo-gestao {
  background: var(--verde-escuro);
}

.header-central {
  padding: 90px 8% 50px;
  text-align: center;
  color: var(--branco);
}

.solu {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--branco);
  margin-bottom: 16px;
}

.section-description {
  font-size: clamp(0.97rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 780px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.75;
}
.section-description span {
  color: var(--lima);
}

/* Wrappers dos blocos de serviço */
.serv-wrapper {
  padding: 90px 8%;
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--branco);
  color: var(--texto-escuro);
}

.serv-row {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 72px;
}
.serv-row.row-reverse {
  flex-direction: row-reverse;
}

.serv-text,
.serv-image {
  flex: 1;
  min-width: 0;
}

.serv-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--raio-md);
  box-shadow: var(--sombra-img);
}

.serv-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--verde-medio);
  margin-bottom: 14px;
}
.serv-text > p {
  font-size: 0.97rem;
  color: var(--texto-corpo);
  margin-bottom: 22px;
  line-height: 1.75;
}

.serv-text ul {
  margin-bottom: 24px;
}
.serv-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  color: var(--texto-corpo);
  margin-bottom: 10px;
  line-height: 1.55;
}
.serv-text ul li i {
  color: var(--verde-claro);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.serv-quote {
  font-style: italic;
  font-size: 0.92rem;
  border-left: 3px solid var(--verde-claro);
  padding-left: 16px;
  margin-bottom: 30px;
  opacity: 0.78;
  line-height: 1.6;
  color: var(--texto-corpo);
}

/* ================================================================
         DIFERENCIAIS
         ================================================================ */
.section-integrated {
  padding: 100px 8%;
  background: var(--verde-medio);
  color: var(--branco);
  overflow: hidden;
  position: relative;
}
.section-integrated::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(61, 122, 71, 0.35) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.container-integrated {
  max-width: 1200px;
  margin: 0 auto;
}

.header-integrated {
  text-align: center;
  margin-bottom: 70px;
}

.title-main {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--branco);
  margin-bottom: 20px;
}
.title-main span {
  color: var(--lima);
}

.subtitle-main {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 300;
  opacity: 0.8;
  line-height: 1.78;
}

.grid-integrated {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.pilar-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
}
.pilar-card:last-child {
  margin-bottom: 0;
}

.pilar-icon {
  color: var(--lima);
  font-size: 1.8rem;
  min-width: 40px;
  flex-shrink: 0;
  margin-top: 4px;
}

.pilar-info h4 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--branco);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--fonte-corpo);
}
.pilar-info p {
  font-size: 0.91rem;
  opacity: 0.72;
  line-height: 1.7;
}
.pilar-info p strong {
  color: var(--lima);
  font-weight: 600;
}

.diferenciais-highlight {
  background: rgba(255, 255, 255, 0.05);
  padding: 46px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(141, 198, 63, 0.22);
}
.diferenciais-highlight h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--lima);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.diferenciais-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.diferenciais-list li i {
  color: var(--lima);
  margin-top: 2px;
  flex-shrink: 0;
}
.diferenciais-list li span {
  font-weight: 500;
  opacity: 0.9;
}

.quote-container {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.quote-container p {
  font-style: italic;
  font-size: 0.87rem;
  opacity: 0.55;
  line-height: 1.65;
}

/* ================================================================
         CTA
         ================================================================ */
.diagnostico {
  padding: 90px 8%;
  background: var(--cinza-suave);
}

.diag-banner {
  background: var(--branco);
  padding: 70px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-left: 8px solid var(--lima);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.diag-text .section-tag {
  color: var(--verde-claro);
}
.diag-text h2 {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--verde-medio);
  margin-bottom: 10px;
}
.diag-text p {
  font-size: 0.97rem;
  color: var(--texto-corpo);
  max-width: 560px;
  line-height: 1.7;
}
.diag-quote {
  text-align: center;
  margin-top: 28px;
  font-style: italic;
  font-size: 0.87rem;
  opacity: 0.52;
}

/* ================================================================
         FOOTER
         ================================================================ */
footer {
  background: var(--verde-escuro);
  color: var(--branco);
  padding: 80px 10% 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col{
   width: auto;
  margin: 0 auto 0 auto;
}
.footer-col h4 {
  white-space: nowrap !important;
  text-transform: none;
  color: var(--branco);
  margin-bottom: 22px;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
  font-weight: 300;
}
.footer-col ul li {
  margin-bottom: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li a {
  color:  #c0c0c0;
  font-size: 0.88rem;
  font-weight: 300;
   text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: var(--dourado);
  padding-left: 4px;
}

.footer-logo {
  margin-bottom: 24px;
  height: 46px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 14px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.footer-social a {
  color: #c0c0c0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(90, 87, 87, 0.1);
  transition:
    color 0.2s,
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.footer-social a i.ph {
  font-size: 1.2rem;
   list-style: none;
  padding: 0;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--dourado);
  background: rgba(221, 193, 59, 0.1);
  border-color: var(--dourado);
  transform: translateY(-3px);
}

.bottom-bar {
  border-top: 1px solid #646464;
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 300;
  color: #888;
}

/* ================================================================
         RESPONSIVIDADE
         ================================================================ */
@media (max-width: 1100px) {
  .serv-row {
    gap: 50px;
  }
  .grid-integrated {
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
   .serv-number{
     text-align: center;
     margin: auto;
     font-size: 3rem;
    
  }
   .rede{
  margin-top: 10px !important;
}
.rede p{
  text-align: center !important;
}
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    gap: 40px;
    padding: 70px 6% 60px;
    min-height: auto;
    text-align: center;
  }
  .hero-content > p {
    margin-inline: auto;
    border-left: none;
    border-top: 3px solid var(--lima);
    padding: 16px 0 0;
  }

  .intro-section {
    padding: 60px 6%;
    border-left-width: 4px;
    text-align: center;
  }
  .header-central {
    padding: 70px 6% 40px;
  }
  .serv-wrapper {
    padding: 70px 6%;
  }

  .serv-row,
  .serv-row.row-reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .serv-image {
    order: -1;
  }
  .serv-quote {
    text-align: center;
  }
  .serv-text ul li {
    text-align: left;
  }
  .btn-servico {
    display: block;
    width: 100%;
    text-align: center;
  }

  .section-integrated {
    padding: 80px 6%;
  }
  .grid-integrated {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .diferenciais-highlight {
    padding: 32px;
  }

  .pilar-card {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .diagnostico {
    padding: 80px 6%;
  }
  .diag-banner {
    flex-direction: column;
    text-align: center;
    padding: 50px 36px;
    gap: 30px;
  }
  .diag-text p {
    max-width: 100%;
  }

 .footer-col p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 5% 50px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .btn-premium {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
  }

  .intro-section {
    padding: 50px 5%;
  }
  .header-central {
    padding: 60px 5% 36px;
  }
  .serv-wrapper {
    padding: 60px 5%;
  }
  .solu {
    font-size: 1.5rem;
  }

  .section-integrated {
    padding: 70px 5%;
  }
  .diferenciais-highlight {
    padding: 26px 22px;
  }

  .diagnostico {
    padding: 70px 5%;
  }
  .diag-banner {
    padding: 40px 26px;
    border-left-width: 6px;
  }

  footer {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-logo {
    margin: 0 auto 24px;
  }
  .footer-col ul {
    text-align: center;
    display: inline-block;
  }

}

@media (max-width: 480px) {
  .hero {
    padding: 50px 5% 44px;
    min-height: 100svh;
  }
  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .solu {
    font-size: 1.35rem;
  }
  .title-main {
    font-size: 1.4rem;
  }
  .serv-text h2 {
    font-size: 1.3rem;
  }
  .diag-text h2 {
    font-size: 1.3rem;
  }

  .serv-wrapper {
    padding: 50px 5%;
  }
  .pilar-card {
    flex-direction: column;
    gap: 12px;
  }
  .pilar-icon {
    font-size: 1.4rem;
    min-width: unset;
  }

  .diag-banner {
    padding: 32px 18px;
  }

  footer {
    padding: 44px 5% 28px;
  }
  .footer-logo {
    width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
