/* RESET & VARIÁVEIS Globais */
:root {
  --primary-color: #087f5b;
  --primary-hover: #066548;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-main: #212529;
  --text-muted: #6c757d;
  --text-light: #f1f3f5;
  --border-color: #e9ecef;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
}
[id]{
     scroll-margin-top: 100px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TIPOGRAFIA & ELEMENTOS REUTILIZÁVEIS */
h1, h2, h3 {
  color: #111827;
  line-height: 1.25;
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.85rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.eyebrow-green { color: var(--primary-color); }

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-light { background-color: var(--bg-light); padding: 5rem 0; }
.section-green { background-color: var(--primary-color); color: white; padding: 5rem 0; }
.section-green h2, .section-green h3 { color: white; }

/* HEADER & NAVEGAÇÃO */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  tex-decoration: none;
}

.brand-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand-text strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

.main-nav a:hover { color: var(--primary-color); }

.main-nav .nav-cta {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.main-nav .nav-cta:hover { background-color: var(--primary-hover); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
}

/* HERO SECTION */
.hero { padding: 5rem 0; }

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* CREDENCIAIS */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.credential-item {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.credential-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* PÚBLICO ATENDIDO */
.audience { padding: 5rem 0; }
.audience-heading { max-width: 800px; margin-bottom: 3rem; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.audience-card {
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.audience-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

/* SERVIÇOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.service-card:hover { transform: translateY(-5px); }

.service-icon img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* DIFERENCIAIS */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.difference-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.differentials-icon img { width: 36px; height: 36px; margin-bottom: 0.5rem; filter: brightness(0) invert(1); }

/* CTA SECTION */
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.cta-actions { display: flex; gap: 1rem; }

/* RODAPÉ */
.site-footer {
  background-color: #111827;
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info p { color: var(--text-muted); margin-top: 0.5rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-light); text-decoration: none; }
.footer-links a:hover { color: var(--primary-color); }

.footer-meta { font-style: normal; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ANIMAÇÃO DE REVELAÇÃO */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .hero-container, .credentials-grid, .cta-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .credentials-list { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .main-nav.open { display: flex; }
}

/* RESPONSIVIDADE */

/* ── TABLET (até 960px) ── */
@media (max-width: 960px) {

  /* Tipografia */
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }

  [id] {
    scroll-margin-top: 110px;
  }

  /* Seções */
  .section-light,
  .section-green { padding: 3.5rem 0; }
  .hero,
  .audience     { padding: 3.5rem 0; }

  /* Header */
  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .main-nav.open { display: flex; }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image   { order: -1; }         
  .hero-actions { justify-content: center; }

  /* Credenciais */
  .credentials-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  .cta-actions { justify-content: center; }

  /* Rodapé*/
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ── MOBILE (até 500px) ── */
@media (max-width: 500px) {

  /* Tipografia */
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem;  }

  /* Espaçamentos gerais */
  .container { padding: 0 1rem; }

  .section-light,
  .section-green { padding: 2.5rem 0; }
  .hero,
  .audience     { padding: 2.5rem 0; }

  /* Header  */
  .brand-logo        { height: 80px; }
  .brand-text strong { font-size: 1.3rem; }
  .brand-text small  { font-size: 0.8rem; }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn { width: 100%; }

  /* Credenciais */
  .credentials-list { grid-template-columns: 1fr; }

  /* Diferenciais*/
  .differentials-grid { grid-template-columns: 1fr; }

  /* CTA  */
  .cta-panel { padding: 1.5rem; }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cta-actions .btn { width: 100%; }

  /* Rodapé — 1 coluna */
  .footer-grid { grid-template-columns: 1fr; }
}