/* =============================================
   NÚCLEO SEU LUGAR — Design v3 Minimal Clean
   Digital Bloom
   ============================================= */

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

:root {
  --g1:    #008e39;
  --g2:    #006b2d;
  --g3:    #e8f5ed;
  --off:   #F8F8F6;
  --ink:   #111111;
  --mid:   #6B7280;
  --line:  #E4E8E2;
  --white: #FFFFFF;
  --font:  'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease:  cubic-bezier(.4, 0, .2, 1);
  --max:   1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* `clip` e não `hidden`: hidden faz do body um contêiner de rolagem e quebra
     todo position:sticky descendente (mapa do Sobre, cabeçalho dos Serviços). */
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g1);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--g1);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

section { padding: 120px 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all .22s var(--ease);
  white-space: nowrap;
}

.btn-green {
  background: var(--g1);
  color: var(--white);
}
.btn-green:hover { background: var(--g2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,142,57,.25); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-white {
  background: var(--white);
  color: var(--g1);
  font-weight: 700;
}
.btn-white:hover { background: var(--g3); }

.btn-white-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-white-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 20px 0;
  transition: all .3s var(--ease);
}

#header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}

#header:not(.scrolled) {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.h-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

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

.logo-img-footer {
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: .83rem;
  font-weight: 500;
  color: var(--mid);
  transition: color .2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--g1);
  transition: right .25s var(--ease);
}
.nav a:hover::after, .nav a.on::after { right: 0; }
.nav a:hover, .nav a.on { color: var(--ink); }

/* Nav CTA */
.nav-cta {
  padding: 9px 22px;
  background: var(--g1);
  color: var(--white);
  border-radius: 4px;
  font-size: .83rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .22s var(--ease);
}
.nav-cta:hover { background: var(--g2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,142,57,.25); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--ink);
  transition: all .3s var(--ease);
}
.burger.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.mob-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 850;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 48px;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mob-nav.on { opacity: 1; pointer-events: all; display: flex; }

.mob-nav a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
  letter-spacing: -.02em;
}
.mob-nav a:hover { color: var(--g1); }
.mob-cta { color: var(--g1) !important; font-size: 1.1rem !important; font-weight: 600 !important; margin-top: 12px; }

.mob-close {
  position: absolute; top: 24px; right: 28px;
  color: var(--mid);
  font-size: 1.8rem;
  padding: 8px;
  transition: color .2s;
}
.mob-close:hover { color: var(--ink); }

/* =============================================
   HERO
   ============================================= */
#hero {
  background: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Foto de fundo da hero */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay: sem ele o texto --ink e o grafo verde perdem legibilidade sobre a foto */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.80) 45%, rgba(255,255,255,.62) 100%),
    linear-gradient(180deg, rgba(232,245,237,.28) 0%, rgba(232,245,237,.12) 100%);
}

/* Decoração de fundo */
.hero-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0,142,57,.12);
}
.hero-c1 { width: 560px; height: 560px; top: -140px; right: -80px; }
.hero-c2 { width: 360px; height: 360px; top: 20px; right: 80px; }
.hero-c3 { width: 200px; height: 200px; bottom: 60px; left: -60px; border-color: rgba(0,142,57,.07); }

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,142,57,.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 70% at 85% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 85% 50%, black 20%, transparent 80%);
}

/* Grid 2 colunas */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-text { display: flex; flex-direction: column; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 40px;
}
.hero-dot {
  width: 6px; height: 6px;
  background: var(--g1);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero-h1 {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 28px;
}
.hero-accent {
  color: var(--g1);
  display: block;
}

.hero-desc {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 420px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* O botão fantasma é transparente por padrão: sobre a foto, precisa de base sólida */
#hero .btn-ghost {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
}
#hero .btn-ghost:hover { background: var(--white); }

/* Hero: grafo de conexão (logo ao centro, 9 núcleos ligados a ela) */
.hero-hub {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-hub-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  overflow: visible;
}

.hub-ring {
  fill: none;
  stroke: var(--g1);
  transform-origin: 260px 260px;
}
.hub-ring-out {
  stroke-width: 1.5;
  stroke-opacity: .22;
  stroke-dasharray: 5 9;
  animation: hub-spin 60s linear infinite;
}
.hub-ring-mid {
  stroke-width: 1.5;
  stroke-opacity: .1;
}

.hub-links line {
  stroke: var(--g1);
  stroke-width: 1.5;
  stroke-opacity: .18;
}

.hub-nodes circle {
  fill: var(--g1);
  transform-origin: center;
  animation: hub-pulse 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * .4s);
}

.hub-core {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
  filter: drop-shadow(0 12px 32px rgba(0,142,57,.14));
}

@keyframes hub-spin {
  to { transform: rotate(360deg); }
}
@keyframes hub-pulse {
  0%, 100% { opacity: .35; r: 7; }
  50%      { opacity: 1;   r: 10; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-ring-out, .hub-nodes circle, .hero-dot { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* =============================================
   SOBRE
   ============================================= */
#sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 80px;
}

.sobre-left {
  grid-column: 2;
  grid-row: 1;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.sobre-left h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--ink);
  line-height: 1.25;
  max-width: 480px;
}

/* O mapa acompanha o texto enquanto a coluna da direita rola (só no desktop) */
.sobre-right {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  position: sticky;
  top: 110px;
}

/* Mapa do território: asset desenhado, exibido inteiro (nunca recortado) */
.sobre-map-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--off);
}

.sobre-map {
  width: 100%;
  height: auto;
  display: block;
}

.sobre-copy {
  grid-column: 2;
  grid-row: 2;
  padding-top: 48px;
}

.sobre-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -.01em;
  margin-bottom: 28px;
}

.sobre-copy p {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* =============================================
   GESTORA
   ============================================= */
#gestora { background: var(--white); padding-top: 0; }

.gestora-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 64px;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.gestora-foto {
  border-radius: 4px;
  overflow: hidden;
  background: var(--g3);
}

.gestora-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.gestora-txt h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ink);
  margin-bottom: 6px;
}

.gestora-role {
  font-size: .95rem;
  font-weight: 600;
  color: var(--g1);
  margin-bottom: 28px;
}

.gestora-txt p:not(.gestora-role) {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.gestora-txt .btn { margin-top: 12px; }

/* =============================================
   PILARES
   ============================================= */
#pilares { background: var(--off); }

.pilares-header {
  margin-bottom: 64px;
}
.pilares-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.pilar {
  padding: 52px 44px;
  background: var(--white);
  border-right: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.pilar:last-child { border-right: none; }
.pilar:hover { background: var(--g3); }

.pilar-num {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--g1);
  letter-spacing: .14em;
  margin-bottom: 28px;
}

.pilar h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.pilar p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.8;
}

/* =============================================
   NÚCLEOS — 3 colunas
   ============================================= */
#nucleos { background: var(--white); }

.nucleos-header {
  max-width: 640px;
  margin-bottom: 64px;
}
.nucleos-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}
.nucleos-desc {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.75;
}

.nucleos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nucleo-card {
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: var(--off);
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.nucleo-card:hover {
  background: var(--white);
  border-color: var(--g1);
  box-shadow: 0 8px 32px rgba(0,142,57,.1);
  transform: translateY(-2px);
}

.nucleo-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  transition: all .25s;
}
.nucleo-card:hover .nucleo-icon { background: var(--g1); border-color: var(--g1); }
.nucleo-icon svg { width: 20px; height: 20px; fill: var(--mid); transition: fill .25s; }
.nucleo-card:hover .nucleo-icon svg { fill: white; }

.nucleo-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.nucleo-card p {
  font-size: .83rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Programas e projetos do núcleo */
.nucleo-progs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.nucleo-progs li {
  position: relative;
  padding-left: 16px;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--mid);
  font-weight: 500;
}
.nucleo-progs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 1.5px;
  background: var(--g1);
}

/* =============================================
   SERVIÇOS — layout invertido com sticky
   ============================================= */
#servicos { background: var(--off); }

/* Wrapper 2 colunas: lista esquerda, header direita */
.servicos-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Lista — coluna esquerda */
.servicos-list { display: flex; flex-direction: column; }

.servico-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .22s var(--ease);
  cursor: default;
}
.servico-item:first-child { border-top: 1px solid var(--line); }
.servico-item:hover { padding-left: 16px; }

.servico-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.servico-num {
  font-size: .72rem;
  font-weight: 700;
  color: var(--line);
  width: 28px;
  flex-shrink: 0;
}
.servico-item:hover .servico-num { color: var(--g1); }

.servico-item h3 {
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  transition: color .22s;
}
.servico-item:hover h3 { color: var(--g1); }

.servico-item p {
  font-size: .83rem;
  color: var(--mid);
  max-width: 280px;
  text-align: right;
  flex-shrink: 0;
}

.servico-arrow {
  font-size: 1rem;
  color: var(--line);
  flex-shrink: 0;
  transition: all .22s var(--ease);
}
.servico-item:hover .servico-arrow { color: var(--g1); transform: translateX(4px); }

/* Header sticky — coluna direita */
.servicos-sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}

.servicos-sticky h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 20px;
}

.servicos-sticky-desc {
  color: var(--mid);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* =============================================
   LOCAÇÃO DE ESPAÇOS
   ============================================= */
#locacao { background: var(--white); }

.loc-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.loc-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}
.loc-desc {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.75;
}

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Galeria do espaço — duas imagens em par simétrico.
   As imagens têm orientações diferentes (uma paisagem, uma retrato); o slot 3/4
   com object-fit cover mantém o prédio centralizado nas duas, sem distorcer. */
.loc-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.loc-tile {
  border-radius: 4px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--off);
}

.loc-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}
.loc-tile:hover img { transform: scale(1.03); }

/* Conteúdo da locação */
.loc-feats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.loc-feats li {
  position: relative;
  padding-left: 20px;
}
.loc-feats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 1.5px;
  background: var(--g1);
}
.loc-feats li strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.loc-feats li span {
  font-size: .85rem;
  color: var(--mid);
  line-height: 1.75;
}

.loc-who { padding: 32px 0; }
.loc-who h3 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--mid);
  margin-bottom: 16px;
}

.prof-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prof-items li {
  font-size: .85rem;
  color: var(--mid);
  padding-left: 16px;
  position: relative;
}
.prof-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--g1);
  font-size: .8rem;
}

.loc-btn { margin-top: 8px; }

/* =============================================
   CTA BAND
   ============================================= */
#cta-band { background: var(--ink); padding: 100px 0; }

.cta-band-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-band-inner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band-inner p {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 44px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =============================================
   FAQ
   ============================================= */
#faq { background: var(--off); }

.faq-header { margin-bottom: 56px; }
.faq-header h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

.faq-list { max-width: 760px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--g1); }

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--mid);
  flex-shrink: 0;
  transition: transform .3s var(--ease), color .2s;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--g1); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease), padding .3s;
}
/* max-height é definido pelo script a partir da altura real da resposta */
.faq-item.open .faq-a { padding-bottom: 22px; }

.faq-a p { color: var(--mid); line-height: 1.8; font-size: .9rem; }

/* =============================================
   CONTATO
   ============================================= */
#contato { background: var(--white); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.contato-info h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: 16px;
}
.contato-info > p {
  color: var(--mid);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 44px;
}

.c-list { display: flex; flex-direction: column; gap: 24px; }

.c-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.c-list li svg {
  width: 18px; height: 18px;
  fill: var(--g1);
  flex-shrink: 0;
  margin-top: 3px;
}
.c-list li div strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
  margin-bottom: 3px;
}
.c-list li div a,
.c-list li div span {
  font-size: .9rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
  transition: color .2s;
}
.c-list li div a:hover { color: var(--g1); }

/* Formulário */
.form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-wrap h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.form-wrap > form > p {
  color: var(--mid);
  font-size: .85rem;
  margin-bottom: 32px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.f-group { margin-bottom: 16px; }

.f-group label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
  margin-bottom: 7px;
}

.f-group input,
.f-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--off);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--ink);
  transition: all .2s var(--ease);
  outline: none;
}
.f-group input:focus,
.f-group textarea:focus {
  border-color: var(--g1);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,142,57,.08);
}
.f-group input.err,
.f-group textarea.err { border-color: #e53935; }
.f-group textarea { resize: vertical; min-height: 120px; }

.f-err {
  display: none;
  font-size: .73rem;
  color: #e53935;
  margin-top: 4px;
}
.f-group.has-err .f-err { display: block; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--g1);
  color: var(--white);
  border-radius: 4px;
  font-size: .92rem;
  font-weight: 700;
  font-family: var(--font);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .22s var(--ease);
  margin-top: 8px;
  cursor: pointer;
}
.btn-submit:hover { background: var(--g2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,142,57,.25); }
.btn-submit svg { width: 20px; height: 20px; fill: white; }
.btn-submit.loading { opacity: .6; pointer-events: none; }

.f-disc {
  text-align: center;
  font-size: .73rem;
  color: var(--mid);
  margin-top: 12px;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.8;
  max-width: 260px;
  margin: 20px 0;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: var(--g1); }
.footer-social a svg { width: 16px; height: 16px; fill: rgba(255,255,255,.7); }

.footer-col h4 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: white; }

.footer-contact-line {
  font-size: .85rem;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-contact-line a { transition: color .2s; }
.footer-contact-line a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .78rem;
}

.footer-bottom > p a { color: rgba(255,255,255,.75); text-decoration: underline; }
.footer-bottom > p a:hover { color: var(--white); }

.footer-bloom { color: rgba(255,255,255,.3); }
.footer-bloom a { color: var(--g1); font-weight: 600; text-decoration: none; }
.footer-bloom a:hover { text-decoration: underline; }

/* =============================================
   PÁGINAS LEGAIS
   ============================================= */
.legal { padding: 180px 0 100px; background: var(--white); }

.legal-head {
  max-width: 760px;
  padding-bottom: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.legal-head h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
  margin-bottom: 14px;
}
.legal-updated {
  font-size: .85rem;
  color: var(--mid);
}

.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 40px 0 12px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.85;
}
.legal-body a {
  color: var(--g1);
  font-weight: 600;
  text-decoration: underline;
}
.legal-body a:hover { color: var(--g2); }

.legal-back { margin-top: 56px; }

/* =============================================
   BLOG — chamada na home
   ============================================= */
#blog { background: var(--off); }

.blog-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.blog-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}
.blog-desc {
  color: var(--mid);
  font-size: .95rem;
  line-height: 1.75;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  padding: 20px 20px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all .25s var(--ease);
}
.blog-card:hover {
  border-color: var(--g1);
  box-shadow: 0 8px 32px rgba(0,142,57,.1);
  transform: translateY(-2px);
}

/* Capa gerada por paleta (sem binário) */
.blog-cover {
  position: relative;
  height: 168px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 22px;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(0,142,57,.16), transparent 60%),
    radial-gradient(90% 80% at 90% 90%, rgba(0,107,45,.14), transparent 65%),
    var(--g3);
}
.blog-cover-mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 86px; height: 86px;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--g1);
  border-radius: 50%;
  opacity: .28;
}
.blog-cover-mark::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1.5px solid var(--g2);
  border-radius: 50%;
  opacity: .55;
}

.blog-selo {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--g3);
  color: var(--g2);
  border-radius: 40px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.blog-card-line {
  margin-top: 14px;
  font-size: .83rem;
  color: var(--mid);
  line-height: 1.75;
}

.blog-cta { margin-top: 48px; }

/* O bloco BLOG-CHAMADA é regenerado pela plataforma e traz um <style> inline com
   auto-fit, que faz um artigo único ocupar a largura toda. Sobrescrevemos por
   especificidade (#blog) para que a correção sobreviva à próxima sincronização. */
#blog .dbb-chamada {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* =============================================
   REDES SOCIAIS
   ============================================= */
#redes { background: var(--white); padding: 96px 0; }

.redes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 64px;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.redes-txt h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 14px;
}
.redes-txt p {
  color: var(--mid);
  font-size: .92rem;
  line-height: 1.8;
  max-width: 420px;
}

.redes-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rede-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all .25s var(--ease);
}
.rede-card:hover {
  border-color: var(--g1);
  box-shadow: 0 8px 32px rgba(0,142,57,.1);
  transform: translateY(-2px);
}

.rede-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--g3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.rede-icon svg { width: 20px; height: 20px; fill: var(--g1); transition: fill .25s; }
.rede-card:hover .rede-icon { background: var(--g1); }
.rede-card:hover .rede-icon svg { fill: var(--white); }

.rede-info { display: flex; flex-direction: column; margin-right: auto; }
.rede-info strong {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.rede-info span {
  font-size: .85rem;
  color: var(--mid);
}

.rede-arrow {
  color: var(--line);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all .22s var(--ease);
}
.rede-card:hover .rede-arrow { color: var(--g1); transform: translateX(4px); }

/* =============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================= */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(37,211,102,.45);
}

/* =============================================
   ANIMAÇÕES SCROLL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 1080px) {
  .wrap { padding: 0 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nucleos-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .servico-item p { display: none; }
  .h-inner { gap: 24px; }
  .nav { gap: 22px; }
  .loc-grid { gap: 40px; }
  .redes-inner { gap: 40px; padding: 44px 40px; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .wrap { padding: 0 24px; }

  .nav, .nav-cta { display: none; }
  .burger { display: flex; }

  /* Hero: coluna única no mobile */
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 56px;
    gap: 40px;
  }
  .hero-hub { order: -1; }
  .hero-hub-svg { max-width: 360px; }
  .hero-c1, .hero-c2, .hero-c3 { display: none; }

  /* Serviços: coluna única sem sticky */
  .servicos-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .servicos-sticky {
    position: static;
    order: -1;
  }

  .sobre-grid { grid-template-columns: 1fr; gap: 32px 0; }
  /* Sem sticky no mobile: o mapa vira só o bloco de topo da seção */
  .sobre-right { grid-column: auto; grid-row: auto; order: -1; position: static; top: auto; }
  .sobre-left  { grid-column: auto; grid-row: auto; border-bottom: none; padding-bottom: 0; }
  .sobre-copy  { grid-column: auto; grid-row: auto; padding-top: 0; }

  .gestora-inner { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
  .gestora-foto { max-width: 320px; }
  .gestora-txt .btn { width: 100%; justify-content: center; }

  .pilares-grid { grid-template-columns: 1fr; }
  .pilar { border-right: none; border-bottom: 1px solid var(--line); }
  .pilar:last-child { border-bottom: none; }

  .nucleos-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Locação: coluna única, galeria acima do conteúdo */
  .loc-grid { grid-template-columns: 1fr; gap: 40px; }
  .loc-btn { width: 100%; justify-content: center; }

  /* Redes: coluna única */
  .redes-inner { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
  #redes { padding: 80px 0; }

  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }

  .contato-grid { grid-template-columns: 1fr; gap: 56px; }
  .f-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}
