/* ============================================
   Verde Terra Planagem — Stylesheet Principal
   Paleta: Verde #006400 | Amarelo #F4A300 | Marrom #5C2E00 | Cinza #4B4B4B | Branco #FFFFFF
   Tipografia: Shedry (display) + Montserrat (corpo)
   ============================================ */

@font-face {
  font-family: 'Shedry';
  src: url('../fonts/Shedry-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Shedry';
  src: url('../fonts/Shedry-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Shedry';
  src: url('../fonts/Shedry-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Shedry';
  src: url('../fonts/Shedry-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Shedry';
  src: url('../fonts/Shedry-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --verde-escuro: #006400;
  --verde-medio: #1a7a1a;
  --verde-claro: #2d9e2d;
  --amarelo: #F4A300;
  --marrom: #5C2E00;
  --cinza: #4B4B4B;
  --cinza-claro: #f5f4f0;
  --branco: #ffffff;
  --preto-suave: #1a1a1a;
  --sombra: 0 4px 24px rgba(0,0,0,0.15);
  --raio: 6px;
  --transicao: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cinza);
  background: var(--branco);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Tipografia ---- */
h1, h2, h3, h4 {
  font-family: 'Shedry', 'Montserrat', sans-serif;
  line-height: 1.15;
  color: var(--preto-suave);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

.secao-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin-bottom: 12px;
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--raio);
  cursor: pointer;
  border: none;
  transition: var(--transicao);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--amarelo);
  color: var(--preto-suave);
}
.btn-primary:hover { background: #d98f00; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

.btn-verde {
  background: var(--verde-escuro);
  color: var(--branco);
}
.btn-verde:hover { background: var(--verde-medio); transform: translateY(-2px); }

.btn-outline-verde {
  background: transparent;
  color: var(--verde-escuro);
  border: 2px solid var(--verde-escuro);
}
.btn-outline-verde:hover { background: var(--verde-escuro); color: var(--branco); }

/* ============================================
   HEADER
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 40, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transicao), box-shadow var(--transicao);
}
#header.scrolled {
  background: rgba(0, 50, 0, 0.97);
  box-shadow: var(--sombra);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  transition: color var(--transicao);
}
.nav-links a:hover { color: var(--amarelo); }

.nav-cta {
  background: var(--amarelo) !important;
  color: var(--preto-suave) !important;
  padding: 8px 18px;
  border-radius: var(--raio);
  font-size: 0.82rem !important;
}
.nav-cta:hover { background: #d98f00 !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: var(--transicao);
}
.hamburger.ativo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.ativo span:nth-child(2) { opacity: 0; }
.hamburger.ativo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  background: rgba(0,50,0,0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile.aberto { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transicao), color var(--transicao);
}
.nav-mobile a:hover { background: rgba(255,255,255,0.06); color: var(--amarelo); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/24.jpeg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,30,0,0.85) 0%,
    rgba(0,30,0,0.4) 50%,
    rgba(0,20,0,0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-tag {
  display: inline-block;
  background: var(--amarelo);
  color: var(--preto-suave);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.hero-content h1 {
  color: var(--branco);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   IMPACTO (4 cards)
   ============================================ */
#impacto {
  background: var(--verde-escuro);
  padding: 0;
}
.impacto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.impacto-card {
  padding: 40px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.impacto-card:last-child { border-right: none; }
.impacto-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--amarelo);
}
.impacto-card h3 {
  color: var(--branco);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.impacto-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ============================================
   SOBRE
   ============================================ */
#sobre {
  padding: 100px 0;
  background: var(--branco);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sobre-img {
  position: relative;
}
.sobre-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.sobre-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--amarelo);
  border-radius: var(--raio);
  z-index: -1;
}
.sobre-texto h2 { margin-bottom: 20px; }
.sobre-texto p {
  color: var(--cinza);
  margin-bottom: 18px;
  font-size: 0.97rem;
}
.sobre-diferenciais {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sobre-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--preto-suave);
}
.sobre-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--verde-escuro);
}

/* ============================================
   SERVIÇOS
   ============================================ */
#servicos {
  padding: 100px 0;
  background: var(--cinza-claro);
}
.secao-header {
  text-align: center;
  margin-bottom: 56px;
}
.secao-header h2 { margin-bottom: 12px; }
.secao-header p {
  max-width: 580px;
  margin: 0 auto;
  color: #666;
  font-size: 0.95rem;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.servico-card {
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}
.servico-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.servico-corpo {
  padding: 22px 22px 24px;
}
.servico-corpo h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--verde-escuro);
}
.servico-corpo p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.55;
}

/* ============================================
   ANTES E DEPOIS
   ============================================ */
#antes-depois {
  padding: 100px 0;
  background: var(--preto-suave);
}
#antes-depois .secao-header h2 { color: var(--branco); }
#antes-depois .secao-header p { color: rgba(255,255,255,0.55); }

.ad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ad-card {
  border-radius: var(--raio);
  overflow: hidden;
}
.ad-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ad-lado {
  position: relative;
  overflow: hidden;
}
.ad-lado img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ad-lado:hover img { transform: scale(1.04); }
.ad-etiqueta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--branco);
}
.ad-etiqueta.antes { background: rgba(92,46,0,0.85); }
.ad-etiqueta.depois { background: rgba(0,100,0,0.85); }
.ad-titulo {
  background: rgba(255,255,255,0.05);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   GALERIA
   ============================================ */
#galeria {
  padding: 100px 0;
  background: var(--branco);
}
.galeria-grid {
  columns: 4;
  column-gap: 12px;
}
.galeria-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: var(--raio);
  cursor: pointer;
}
.galeria-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.galeria-item:hover img { transform: scale(1.05); }
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,100,0,0.0);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galeria-item:hover .galeria-overlay { background: rgba(0,100,0,0.45); }
.galeria-overlay svg {
  color: var(--branco);
  width: 36px;
  height: 36px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.3s;
}
.galeria-item:hover .galeria-overlay svg { opacity: 1; transform: scale(1); }

/* ============================================
   VIDEO
   ============================================ */
#video {
  padding: 100px 0;
  background: var(--verde-escuro);
}
#video .secao-header h2 { color: var(--branco); }
#video .secao-header p { color: rgba(255,255,255,0.65); }

.video-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  aspect-ratio: 9 / 16;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================
   LOCALIZACAO
   ============================================ */
#localizacao {
  padding: 100px 0;
  background: var(--cinza-claro);
}
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.loc-info h2 { margin-bottom: 20px; }
.loc-info p { margin-bottom: 16px; color: var(--cinza); font-size: 0.95rem; }
.loc-detalhe {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.loc-detalhe svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--verde-escuro);
}
.loc-detalhe span { font-size: 0.9rem; color: var(--cinza); }
.loc-mapa-wrap {
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
}
.loc-mapa-wrap iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ============================================
   CONTATO CTA
   ============================================ */
#contato {
  padding: 100px 0;
  background: var(--verde-escuro);
  text-align: center;
}
.contato-inner h2 { color: var(--branco); margin-bottom: 16px; }
.contato-inner p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 36px; font-size: 0.97rem; }
.contato-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.contato-info {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contato-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}
.contato-info-item svg { width: 18px; height: 18px; color: var(--amarelo); }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #001a00;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: var(--amarelo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color var(--transicao);
}
.footer-col a:hover { color: var(--amarelo); }
.footer-col p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.7; }
.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
}

/* ============================================
   LIGHTBOX
   ============================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lightbox.aberto { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--branco);
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--transicao);
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.wpp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: #25D366;
  color: var(--branco);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform var(--transicao);
}
.wpp-float:hover { transform: scale(1.12); }
.wpp-float svg { width: 30px; height: 30px; }

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
  .impacto-grid { grid-template-columns: repeat(2, 1fr); }
  .impacto-card:nth-child(2) { border-right: none; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { gap: 40px; }
  .galeria-grid { columns: 3; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-img img { height: 320px; }
  .sobre-img-accent { display: none; }

  .servicos-grid { grid-template-columns: 1fr; }

  .ad-grid { grid-template-columns: 1fr; }

  .galeria-grid { columns: 2; }

  .loc-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  #contato { padding: 72px 0; }
  .contato-info { gap: 20px; flex-direction: column; align-items: center; }

  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .impacto-grid { grid-template-columns: 1fr 1fr; }
  .impacto-card { padding: 28px 16px; }
  .galeria-grid { columns: 2; }
  h2 { font-size: 1.5rem; }
}
