/* ============================================================
   BIOLAW CONSULTORIA AMBIENTAL — Estilos globais
   Paleta: #218a84 (teal) · #0c3553 (petróleo) · #fffefa (off-white) · #40807d (teal médio)
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal:        #218a84;
  --teal-medio:  #40807d;
  --teal-claro:  #6db8b3;
  --petroleo:    #0c3553;
  --petroleo-med:#164a6e;
  --off-white:   #fffefa;
  --bege:        #f0eeea;
  --bege-medio:  #e2e0da;
  --texto:       #1a1a18;
  --texto-sec:   #5c5c58;
  --fonte-display: 'Open Sans', Helvetica, Arial, sans-serif;
  --fonte-body:    'Open Sans', Helvetica, Arial, sans-serif;
}

html {
  font-family: var(--fonte-body);
  color: var(--texto);
  background: var(--off-white);
  scroll-behavior: smooth;
}

/* ── NAVEGAÇÃO ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--off-white);

  border-bottom: 1px solid var(--bege-medio);
  padding: 0 56px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px;
  height: 72px;
  transition: box-shadow 0.2s;
}

.logo img { height: 44px; width: auto; display: block; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texto-sec); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-ativo { color: var(--teal) !important; }

.nav-cta {
  background: transparent !important;
  color: var(--teal) !important;
  border: 1px solid var(--teal);
  padding: 9px 26px; border-radius: 0;
  font-size: 11px !important; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600 !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--teal) !important; color: var(--off-white) !important; }

/* ── BOTÕES ─────────────────────────────────────────────── */
.btn-primario {
  display: inline-block;
  background: transparent; color: var(--teal);
  border: 1px solid var(--teal);
  padding: 14px 35px; border-radius: 0;
  font-family: var(--fonte-body); font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-primario:hover { background: var(--teal); color: var(--off-white); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,254,249,0.68); font-size: 13px; font-weight: 400;
  letter-spacing: 0.4px; text-decoration: none; transition: color 0.2s;
}
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover { color: var(--off-white); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  height: 100vh; min-height: 620px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('imagens/hero-passaro.jpg') center 30% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(12, 53, 83, 0.70) 0%,
    rgba(12, 53, 83, 0.50) 45%,
    rgba(12, 53, 83, 0.15) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px;
  max-width: 680px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal-claro);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 36px; height: 1px; background: var(--teal-claro);
}
.hero-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 300; line-height: 1.25;
  color: var(--off-white); letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-titulo em { font-style: normal; color: var(--teal-claro); }
.hero-desc {
  font-size: 16px; line-height: 1.8;
  color: rgba(255,254,249,0.68);
  font-weight: 300; max-width: 480px;
  margin-bottom: 48px;
}
.hero-acoes { display: flex; gap: 24px; align-items: center; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,254,249,0.35); font-size: 9px;
  letter-spacing: 2.5px; text-transform: uppercase;
}
.hero-scroll-linha {
  width: 1px; height: 48px;
  background: rgba(255,254,249,0.2);
}

/* ── SEÇÕES COMPARTILHADAS ──────────────────────────────── */
.section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px; display: block;
  position: relative; padding-bottom: 16px;
}
.section-label::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 1px; background: currentColor; opacity: 0.5;
}
.section-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500; letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--petroleo); line-height: 1.3;
}
.section-titulo em { font-style: normal; color: var(--teal); }

/* ── PROPOSTA ───────────────────────────────────────────── */
.section-proposta {
  padding: 120px 80px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px;
  align-items: start;
}
.proposta-desc {
  font-size: 16px; line-height: 1.85;
  color: var(--texto-sec); font-weight: 300;
  margin-bottom: 40px;
}
.pilares { display: flex; flex-direction: column; }
.pilar {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--bege-medio);
}
.pilar:first-child { border-top: 1px solid var(--bege-medio); }
.pilar-num {
  font-family: var(--fonte-display); font-size: 12px;
  color: var(--teal); font-weight: 400;
  min-width: 26px; padding-top: 2px;
}
.pilar-titulo {
  font-size: 14px; font-weight: 600;
  color: var(--petroleo); margin-bottom: 4px;
}
.pilar-desc {
  font-size: 13px; color: var(--texto-sec);
  line-height: 1.65; font-weight: 300;
}

/* ── SERVIÇOS ───────────────────────────────────────────── */
.section-servicos {
  background: var(--bege);
  padding: 100px 80px;
}
.servicos-header {
  display: flex; justify-content: center;
  gap: 48px;
  align-items: flex-end; margin-bottom: 56px;
}
.servicos-titulo {
  font-family: var(--fonte-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500; color: var(--petroleo);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.servicos-titulo em { font-style: normal; color: var(--teal); }
.servicos-sub {
  font-size: 13px; color: var(--texto-sec);
  max-width: 220px; text-align: right;
  line-height: 1.6; font-weight: 300;
}
.servicos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.servico-card {
  background: var(--off-white);
  border: 1px solid var(--bege-medio);
  padding: 36px 30px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.servico-card:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.servico-num {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; color: var(--teal);
  margin-bottom: 20px;
}
.servico-nome {
  font-family: var(--fonte-display); font-size: 15px;
  font-weight: 500; color: var(--petroleo);
  text-transform: uppercase; letter-spacing: 0.3px;
  line-height: 1.3; margin-bottom: 12px;
}
.servico-desc {
  font-size: 13px; color: var(--texto-sec);
  line-height: 1.7; font-weight: 300;
}

/* ── PROJETOS (home) ────────────────────────────────────── */
.section-projetos { padding: 120px 80px; }
.projetos-header {
  display: flex; justify-content: center;
  gap: 48px;
  align-items: flex-end; margin-bottom: 64px;
}
.ver-todos {
  font-size: 13px; color: var(--teal); font-weight: 500;
  text-decoration: none; letter-spacing: 0.3px;
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}
.ver-todos:hover { gap: 14px; }
.projetos-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3px;
}
.post-destaque {
  background: var(--bege); padding: 48px;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 48px; min-height: 460px;
  cursor: pointer; transition: background 0.2s;
}
.post-destaque:hover { background: var(--bege-medio); }
.post-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
}
.post-destaque-conteudo { margin-top: auto; padding-top: 40px; }
.post-data {
  font-size: 12px; color: var(--texto-sec);
  font-weight: 300; margin-bottom: 12px;
}
.post-titulo-destaque {
  font-family: var(--fonte-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400; color: var(--petroleo);
  line-height: 1.25; margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.post-excerpt {
  font-size: 14px; color: var(--texto-sec);
  line-height: 1.75; font-weight: 300; margin-bottom: 24px;
}
.post-ler {
  font-size: 12px; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.5px; text-decoration: none;
  transition: gap 0.2s;
}
.post-ler:hover { gap: 10px; }
.post-ler::after { content: '→'; }
.posts-lateral { display: flex; flex-direction: column; gap: 3px; }
.post-mini {
  background: var(--bege); padding: 32px;
  flex: 1; cursor: pointer; transition: background 0.2s;
  text-decoration: none; display: block;
}
.post-mini:hover { background: var(--bege-medio); }
.post-mini-data {
  font-size: 11px; color: var(--texto-sec);
  font-weight: 300; margin-bottom: 10px;
}
.post-mini-titulo {
  font-family: var(--fonte-display); font-size: 16px;
  font-weight: 400; color: var(--petroleo);
  line-height: 1.3; margin-bottom: 10px;
}
.post-mini-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal);
}
.post-cta-card {
  background: var(--petroleo); padding: 32px;
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  gap: 48px;
  text-decoration: none;
  transition: background 0.2s;
}
.post-cta-card:hover { background: var(--petroleo-med); }
.post-cta-texto {
  font-family: var(--fonte-display); font-size: 17px;
  font-weight: 400; color: var(--off-white); line-height: 1.35;
}
.post-cta-link {
  font-size: 12px; font-weight: 600; color: var(--teal-claro);
  letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px;
  margin-top: 20px;
}

/* ── SOBRE ──────────────────────────────────────────────── */
.section-sobre {
  background: var(--bege);
  padding: 100px 80px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px;
  align-items: center;
}
.sobre-texto {
  font-size: 15px; color: var(--texto-sec);
  line-height: 1.9; font-weight: 300; margin-bottom: 20px;
}
.sobre-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 44px;
}
.stat { border-top: 1px solid rgba(33,138,132,0.22); padding-top: 20px; }
.stat-num {
  font-family: var(--fonte-display); font-size: 36px;
  font-weight: 400; color: var(--petroleo);
  letter-spacing: -1px; margin-bottom: 4px;
}
.stat-label {
  font-size: 12px; color: var(--texto-sec);
  font-weight: 300; line-height: 1.4;
}
.sobre-premio {
  background: var(--petroleo); padding: 56px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px;
}
.premio-label {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal-claro); margin-bottom: 16px;
}
.premio-titulo {
  font-family: var(--fonte-display); font-size: 22px;
  font-weight: 400; color: var(--off-white);
  line-height: 1.4; margin-bottom: 10px;
}
.premio-desc {
  font-size: 13px; color: rgba(255,254,249,0.45);
  font-weight: 300; line-height: 1.65;
}

/* ── CONTATO ────────────────────────────────────────────── */
.section-contato {
  padding: 120px 80px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px;
  align-items: start;
}
.contato-desc {
  font-size: 15px; color: var(--texto-sec);
  line-height: 1.8; font-weight: 300; margin-bottom: 0;
}
.contato-info { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.info-label {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: 4px;
}
.info-valor {
  font-size: 14px; color: var(--texto-sec);
  font-weight: 300; line-height: 1.55;
}
.form-group { margin-bottom: 22px; }
.form-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--texto-sec);
  display: block; margin-bottom: 10px;
}
.form-input {
  width: 100%; padding: 13px 18px;
  background: var(--bege);
  border: 1px solid rgba(33,138,132,0.2); border-radius: 0;
  font-family: var(--fonte-body); font-size: 14px;
  color: var(--texto); font-weight: 300;
  transition: border-color 0.2s; outline: none;
  appearance: auto;
}
.form-input:focus { border-color: var(--teal); }
textarea.form-input { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%; margin-top: 8px;
  background: var(--petroleo); color: var(--off-white);
  padding: 16px; border: none; border-radius: 0;
  font-family: var(--fonte-body); font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: var(--petroleo-med); }
.form-sucesso {
  display: none; text-align: center; padding: 40px;
  background: var(--bege); border-radius: 0;
  border: 1px solid rgba(33,138,132,0.2);
}
.form-sucesso p:first-child {
  font-family: var(--fonte-display); font-size: 22px;
  color: var(--petroleo); margin-bottom: 8px;
}
.form-sucesso p:last-child {
  font-size: 14px; color: var(--texto-sec); font-weight: 300;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--petroleo);
  padding: 72px 80px 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo img { height: 36px; width: auto;  }
.footer-desc {
  font-size: 13px; color: rgba(255,254,249,0.38);
  line-height: 1.75; margin-top: 18px; font-weight: 300;
}
.footer-col-titulo {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,254,249,0.35);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,254,249,0.55);
  text-decoration: none; font-weight: 300; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,254,249,0.9); }
.footer-bottom {
  display: flex; justify-content: center;
  gap: 48px; align-items: center;
}
.footer-copy {
  font-size: 12px; color: rgba(255,254,249,0.22); font-weight: 300;
}
.footer-redes { display: flex; gap: 20px; }
.footer-redes a {
  font-size: 12px; color: rgba(255,254,249,0.3);
  text-decoration: none; letter-spacing: 0.3px;
  transition: color 0.2s;
}
.footer-redes a:hover { color: rgba(255,254,249,0.75); }

/* ── PÁGINA DE PROJETOS ─────────────────────────────────── */
.page-hero-pequeno {
  background: var(--petroleo);
  padding: 140px 80px 80px;
}
.page-hero-pequeno .section-titulo { color: var(--off-white); }
.page-hero-pequeno .section-titulo em { color: var(--teal-claro); }
.page-hero-pequeno .section-label { color: var(--teal-claro); }
.page-hero-desc {
  font-size: 16px; color: rgba(255,254,249,0.55);
  font-weight: 300; line-height: 1.75; max-width: 480px;
  margin-top: 16px;
}
.projetos-lista {
  padding: 80px 80px 120px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}
.projeto-card {
  background: var(--bege); padding: 40px 36px;
  display: flex; flex-direction: column;
  text-decoration: none; transition: background 0.2s;
  min-height: 320px;
}
.projeto-card:hover { background: var(--bege-medio); }
.projeto-card-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: auto;
}
.projeto-card-conteudo { margin-top: 40px; }
.projeto-card-data { font-size: 11px; color: var(--texto-sec); font-weight: 300; margin-bottom: 10px; }
.projeto-card-titulo {
  font-family: var(--fonte-display); font-size: 19px;
  font-weight: 400; color: var(--petroleo);
  line-height: 1.3; margin-bottom: 14px;
}
.projeto-card-excerpt {
  font-size: 13px; color: var(--texto-sec);
  line-height: 1.7; font-weight: 300; margin-bottom: 20px;
}
.projeto-card-ler {
  font-size: 12px; font-weight: 600; color: var(--teal);
  display: flex; align-items: center; gap: 6px;
  letter-spacing: 0.5px;
}
.projeto-card-ler::after { content: '→'; }

/* ── POST INDIVIDUAL ────────────────────────────────────── */
.post-header {
  background: var(--petroleo);
  padding: 140px 80px 64px;
  max-width: 900px;
}
.post-header .section-label { color: var(--teal-claro); }
.post-header .post-data { color: rgba(255,254,249,0.45); margin-top: 16px; font-size: 13px; }
.post-titulo-pagina {
  font-family: var(--fonte-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 400; color: var(--off-white);
  line-height: 1.12; letter-spacing: -0.8px; margin-top: 16px;
}
.post-corpo {
  max-width: 760px; margin: 0 auto;
  padding: 80px 80px 120px;
}
.post-corpo p {
  font-size: 16px; line-height: 1.9; color: var(--texto);
  font-weight: 300; margin-bottom: 28px;
}
.post-corpo h2 {
  font-family: var(--fonte-display); font-size: 26px;
  font-weight: 400; color: var(--petroleo);
  margin: 48px 0 20px; letter-spacing: -0.3px;
}
.post-corpo h3 {
  font-size: 16px; font-weight: 600; color: var(--petroleo);
  margin: 36px 0 14px; letter-spacing: 0.2px;
}
.post-corpo em { font-style: italic; color: var(--texto-sec); }
.post-imagem {
  width: 100%; margin: 40px 0 0;
  border-radius: 0; display: block;
}
.post-imagem-legenda {
  font-size: 12px; color: var(--texto-sec);
  font-weight: 300; font-style: italic;
  text-align: center; line-height: 1.5;
  margin: 10px 0 40px;
}
.post-imagem-dupla {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  margin: 40px 0;
}
.post-imagem-dupla figure { margin: 0; }
.post-imagem-dupla img { width: 100%; border-radius: 0; display: block; }
.post-imagem-dupla figcaption {
  font-size: 12px; color: var(--texto-sec);
  font-weight: 300; font-style: italic;
  text-align: center; line-height: 1.5;
  margin-top: 10px;
}
.post-nav {
  border-top: 1px solid var(--bege-medio);
  margin-top: 64px; padding-top: 40px;
  display: flex; justify-content: center;
  gap: 48px;
}
.post-nav a {
  font-size: 13px; color: var(--teal); font-weight: 500;
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}

/* ── GTM / GA placeholder comments ─────────────────────── */
/* <!-- GTM snippet vai aqui no <head> --> */
/* <!-- GA4 gtag vai aqui no <head> --> */

/* ── RESPONSIVO BÁSICO ──────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 32px; }
  .section-proposta,
  .section-sobre,
  .section-contato { grid-template-columns: 1fr; padding: 80px 32px; gap: 48px; }
  .section-servicos { padding: 80px 32px; }
  .servicos-grid { grid-template-columns: 1fr; }
  .servicos-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .servicos-sub { text-align: left; }
  .section-projetos { padding: 80px 32px; }
  .projetos-grid { grid-template-columns: 1fr; }
  .projetos-lista { grid-template-columns: 1fr; padding: 60px 32px 80px; }
  .post-corpo { padding: 60px 32px 80px; }
  .post-header { padding: 120px 32px 48px; }
  footer { padding: 60px 32px 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-pequeno { padding: 120px 32px 60px; }
}
