:root {
  --ink: #2a2a2d;
  --ink-soft: #747277;      /* cinza da marca */
  --paper: #ffffff;
  --cream: #f4f5f5;
  --accent: #007979;        /* verde petróleo (primária) */
  --accent-dark: #005f5f;
  --accent-vivo: #00d3c8;   /* verde vivo — só sobre fundo escuro */
  --accent-2: #004746;      /* verde-escuro (degradê) */
  --dark: #002d2d;          /* fundo escuro da marca */
  --line: #e4e6e6;
  --max: 1240px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* compensa o cabeçalho fixo ao navegar por âncoras (#secao) */
[id] { scroll-margin-top: 96px; }

/* ---------- FAIXA DE CORES (detalhe da marca) ---------- */
/* tirinha com as 6 cores das áreas, na ordem. Uso: <span class="faixa-cores"></span> */
.faixa-cores {
  display: block;
  width: 88px;              /* ajuste conforme o local */
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #002d2d 0 16.666%,
    #004746 16.666% 33.333%,
    #006b6b 33.333% 50%,
    #007979 50% 66.666%,
    #00908c 66.666% 83.333%,
    #747277 83.333% 100%
  );
}
.faixa-cores--full { width: 100%; }      /* largura total (ex.: topo de card, rodapé) */
.faixa-cores--lg   { width: 140px; height: 6px; }

/* variação com 4 cores, segmentos mais largos */
.faixa-cores--4 {
  width: 168px;
  height: 6px;
  background: linear-gradient(
    to right,
    #002d2d 0 25%,
    #004746 25% 50%,
    #007979 50% 75%,
    #00908c 75% 100%
  );
}

/* variação com 3 cores — estilo editorial (Pinheiro Neto): retangular, seco,
   blocos de larguras levemente desiguais */
.faixa-cores--3 {
  width: 128px;
  height: 7px;
  border-radius: 0;
  background: linear-gradient(
    to right,
    #007979 0 40%,
    #00908c 40% 72%,
    #747277 72% 100%
  );
}

/* ---------- LOGO (imagem) ---------- */
.logo-img { height: 64px; width: auto; display: block; }
.logo-color { display: none; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-color { display: block; }
@media (max-width: 720px) { .logo-img { height: 50px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.7; font-weight: 300; -webkit-font-smoothing: antialiased; }
.container { width: 88%; max-width: var(--max); margin: 0 auto; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
a { color: inherit; text-decoration: none; }

/* ---------- LABELS / TÍTULOS ---------- */
.section-eyebrow { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.7rem; font-weight: 500; color: var(--accent); margin-bottom: 1.3rem; display: inline-block; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; margin-bottom: 1.3rem; }
.section-title.light { color: #fff; }
.section-title em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.2rem; line-height: 1.75; color: var(--ink-soft); font-weight: 300; }
.lead.light { color: #c3c9cf; }
.section { padding: 7rem 0; }
.section-head { margin-bottom: 3.5rem; }

/* ---------- BOTÕES ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1.05rem 2.4rem; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; transition: all 0.3s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

/* ---------- NAV LATERAL (pontinhos) ---------- */
.side-nav { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 14px; }
.side-nav a { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(120,120,120,0.5); background: transparent; transition: 0.3s; position: relative; }
.side-nav a.active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.side-nav a::after { content: attr(data-label); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.side-nav a:hover::after { opacity: 1; }
.side-nav.on-dark a { border-color: rgba(255,255,255,0.55); }
.side-nav.on-dark a.active { background: #fff; border-color: #fff; }
.side-nav.on-dark a::after { color: rgba(255,255,255,0.85); }

/* ---------- HEADER ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background 0.4s, box-shadow 0.4s; }
.site-header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: #fff; }
.logo-text { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.03em; color: #fff; line-height: 1; display: flex; flex-direction: column; }
.logo-text strong { font-weight: 600; }
.logo-text em { font-family: var(--sans); font-style: normal; font-size: 0.52rem; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 3px; opacity: 0.8; }
.site-header.scrolled .logo-mark { color: var(--accent); }
.site-header.scrolled .logo-text { color: var(--ink); }
.nav-list { display: flex; gap: 2.1rem; list-style: none; }
.nav-list a { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); position: relative; padding: 0.4rem 0; transition: color 0.25s; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width 0.3s; }
.nav-list a:hover::after { width: 100%; }
.site-header.scrolled .nav-list a { color: var(--ink-soft); }
.site-header.scrolled .nav-list a:hover { color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: 0.3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; color: #fff; }
.hero-track { position: absolute; inset: 0; }
/* cada tela do carrossel ocupa tudo e faz crossfade */
.hero-slide { position: absolute; inset: 0; isolation: isolate; display: flex; align-items: center; justify-content: flex-end; text-align: left; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
/* vinheta p/ o texto ficar sempre legível */
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, rgba(0,18,18,0.1) 42%, rgba(0,16,16,0.5) 100%); }
.hero-inner { position: relative; z-index: 3; max-width: 520px; margin-right: 9vw; padding-left: 1.5rem; }
.hero-bg {
  position: absolute; inset: -4% 0;
  background-color: #1a2422; background-position: center; background-size: cover; background-repeat: no-repeat;
  transform: scale(1.04); will-change: transform;
  filter: brightness(0.98);
  transition: filter 1.8s ease;           /* transição suave da iluminação */
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(0,71,70,0.9), rgba(0,45,45,0.96));
  mix-blend-mode: multiply;               /* tinge a imagem por baixo (duotone) */
  opacity: 1;
  transition: opacity 1.8s ease;          /* a "iluminação" acontece aqui */
}
/* ESTADO ILUMINADO (por JS, aplicado à tela ativa quando a frase termina) */
.hero-slide.lit .hero-overlay { opacity: 0.32; }               /* o filtro verde se abre */
.hero-slide.lit .hero-bg { filter: brightness(1.14) contrast(1.05) saturate(1.06); }  /* a imagem ganha luz */

/* TELA CLARA (slide 3) — destoa das demais: filtro mais suave + vinheta reforçada p/ o texto */
.hero-slide--bright .hero-overlay { opacity: 0.68; }
.hero-slide--bright.lit .hero-overlay { opacity: 0.12; }        /* abre quase totalmente: sol/azul aparecem */
.hero-slide--bright.lit .hero-bg { filter: brightness(1.06) contrast(1.04) saturate(1.05); }
.hero-slide--bright::after { background: linear-gradient(105deg, rgba(0,16,16,0.12) 34%, rgba(0,12,12,0.66) 100%); }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.4em; font-size: 0.74rem; color: rgba(255,255,255,0.85); margin-bottom: 1.8rem; font-weight: 400; }
.hero-title { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; line-height: 1.08; max-width: 16ch; margin: 0 auto; }
.hero-title em { font-style: italic; color: var(--accent-vivo); }
/* Frase que surge palavra por palavra no scroll */
.hero-phrase { position: relative; z-index: 3; margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: 1.12; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero-phrase .word { display: inline-block; }   /* evita quebrar a palavra no meio */
.hero-phrase .l { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.hero-phrase .l.on { opacity: 1; transform: none; }
.hero-phrase .word.accent .l { color: var(--accent-vivo); font-style: italic; }

.hero-scroll { position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.85); font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero-arrow { animation: bob 1.8s ease-in-out infinite; font-size: 1rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* indicadores de tela do carrossel */
.hero-dots { position: absolute; bottom: 2.6rem; left: 9vw; z-index: 4; display: flex; gap: 0.7rem; }
.hero-dots button { width: 34px; height: 3px; border: none; padding: 0; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.3s; }
.hero-dots button.active { background: var(--accent-vivo); }
/* texto acessível oculto (SEO/leitores de tela) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- QUEM SOMOS ---------- */
.quem-somos { background: var(--paper); }
.quem-somos .container.narrow { max-width: 1040px; }   /* usa mais o espaço lateral */
.brand-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: 0.04em; }
.brand-sub { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.8rem; }
.badges { display: flex; gap: 1.2rem; justify-content: center; align-items: center; margin: 2.5rem 0; }
.badge-seal { width: 118px; height: 118px; object-fit: contain; display: block; }
.badge-seal--lg { width: auto; height: 104px; border-radius: 8px; }   /* banners horizontais (12 anos + Google) */
.badge { width: 108px; height: 108px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-content: center; font-family: var(--serif); font-size: 2rem; color: var(--accent); line-height: 1; }
.badge span { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.badge-alt { border-color: var(--ink); color: var(--ink); font-size: 0.82rem; text-align: center; padding: 0 12px; }
.badge-alt span { color: var(--ink-soft); }
.quem-somos .lead { font-size: 1.05rem; line-height: 1.75; max-width: 880px; margin: 0 auto; }

/* ---------- EQUIPE ---------- */
.equipe { background: var(--cream); padding-bottom: 0; }
.team-strip-wrap { position: relative; }
.team-strip { display: flex; margin-top: 1rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.team-strip::-webkit-scrollbar { display: none; }
/* setas de navegação manual da equipe */
.team-nav { position: absolute; top: 42%; transform: translateY(-50%); z-index: 6; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); cursor: pointer; background: rgba(0,45,45,0.55); color: #fff; font-family: var(--sans); font-size: 1.9rem; line-height: 1; display: grid; place-items: center; padding-bottom: 4px; backdrop-filter: blur(6px); transition: background 0.25s, opacity 0.3s, box-shadow 0.25s; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.team-nav:hover { background: var(--accent); }
.team-nav--prev { left: 1.4rem; }
.team-nav--next { right: 1.4rem; }
.team-nav.is-hidden { opacity: 0; pointer-events: none; }
.team-card { position: relative; flex: 1 0 auto; width: 16.66%; min-width: 190px; overflow: hidden; }
.team-photo { aspect-ratio: 5/7; background: linear-gradient(160deg, #cfc9bd, #9a9384); filter: none; transition: filter 0.5s; }
/* efeito P&B desativado por ora — reativar depois com: .team-photo{filter:grayscale(1)} + hover */
.team-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; transition: opacity 0.35s; }
.team-cap h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; white-space: nowrap; }
.team-cap p { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 3px; white-space: nowrap; }

/* mini-currículo: película bege que surge ao passar o mouse */
.team-bio { position: absolute; inset: 0; background: rgba(244, 245, 245, 0.97); color: #33332f;
  display: flex; align-items: center; padding: 1.6rem 1.4rem; opacity: 0; transition: opacity 0.35s;
  overflow-y: auto; }
.team-bio-in { width: 100%; }
.team-bio h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--accent-dark);
  margin-bottom: 0.2rem; }
.team-bio h4::after { content: ""; display: block; width: 34px; height: 2px; background: var(--accent); margin: 0.55rem 0 0.85rem; }
.team-bio-txt { font-size: 0.86rem; line-height: 1.55; }
.team-card:hover .team-bio { opacity: 1; }
.team-card:hover .team-cap { opacity: 0; }

/* ---------- ÁREAS (blocos coloridos) ---------- */
.atuacao { }
.area-blocks { display: flex; }
.area-block { flex: 1; min-height: 158px; background: var(--c); display: grid; place-items: center; text-align: center; padding: 1.4rem 1.2rem; transition: flex 0.4s ease; position: relative; }
/* larguras desiguais p/ NÃO alinhar com as colunas das fotos (quebra a falsa correspondência) */
.area-block:nth-child(1) { flex: 1.2; }
.area-block:nth-child(2) { flex: 0.9; }
.area-block:nth-child(3) { flex: 1.4; }   /* Família & Sucessões — mais largo */
.area-block:nth-child(4) { flex: 1.0; }
.area-block:nth-child(5) { flex: 1.1; }
.area-block:nth-child(6) { flex: 0.85; }
.area-block span { color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; z-index: 2; }
.area-block::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.16); opacity: 0; transition: opacity 0.4s; }
.area-block:hover { flex: 1.4; }
.area-block:hover::after { opacity: 1; }

/* ---------- DEPOIMENTOS ---------- */
.depoimentos { background: #002d2d url('assets/fundo-verde.jpg') center/cover no-repeat; position: relative; padding: 4.5rem 0; }
.depoimentos::before { content: "\201C"; font-family: var(--serif); font-size: 6rem; line-height: 1; color: rgba(255,255,255,0.14); position: absolute; top: 1.6rem; left: 50%; transform: translateX(-50%); }
.depoimentos .section-title { margin-bottom: 1.8rem; }
.quote-slides { position: relative; min-height: 150px; }
.quote-slide { display: none; }
.quote-slide.is-active { display: block; animation: heroIn 0.7s ease; }
.quote-slide p { font-family: var(--serif); font-size: 1.7rem; font-style: italic; line-height: 1.5; color: #eef1f3; font-weight: 400; max-width: 62ch; margin: 0 auto 1.6rem; }
.quote-slide cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-vivo); font-weight: 500; }
.quote-dots, .post-dots { display: flex; gap: 0.7rem; justify-content: center; margin-top: 2.4rem; }
.quote-dots button, .post-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(120,120,120,0.6); background: transparent; cursor: pointer; padding: 0; transition: 0.25s; }
.quote-dots button { border-color: rgba(255,255,255,0.5); }
.quote-dots button.active { background: var(--accent-vivo); border-color: var(--accent-vivo); }
.post-dots button.active { background: var(--accent); border-color: var(--accent); }

/* ---------- DIFERENCIAIS (acordeão) ---------- */
.diferenciais { background: var(--paper); }
.accordion { margin-top: 1rem; }
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.6rem 0.5rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); text-align: left; transition: color 0.25s; }
.acc-head:hover { color: var(--accent); }
.acc-icon { font-family: var(--sans); font-size: 1.4rem; font-weight: 300; color: var(--accent); transition: transform 0.3s; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-panel p { padding: 0 0.5rem 1.6rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 62ch; }

/* ---------- INSIGHTS ---------- */
.insights { background: var(--cream); }
.post-slides { position: relative; min-height: 130px; margin-top: 1rem; }
.post-slide { display: none; }
.post-slide.is-active { display: block; animation: heroIn 0.7s ease; }
.post-tag { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--accent); font-weight: 500; margin-bottom: 1rem; }
.post-slide h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1.25; margin-bottom: 1.3rem; max-width: 24ch; margin-left: auto; margin-right: auto; }
.post-link { color: var(--ink); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 3px; transition: 0.25s; }
.post-link:hover { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { background: #002d2d url('assets/fundo-verde.jpg') center/cover no-repeat; }
.cta .btn-primary { background: #fff; color: var(--accent); }
.cta .btn-primary:hover { background: #f0e6e9; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.cta-actions .btn { margin-top: 0; }
.btn-wa { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.btn-wa:hover { background: #fff; color: var(--accent); border-color: #fff; }

/* ---------- FOOTER ---------- */
.site-footer { background: #14181c; color: #8c959d; padding: 3.5rem 0; text-align: center; }
.footer-social { display: flex; gap: 0.8rem; justify-content: center; margin-bottom: 1.8rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,0.85); transition: 0.25s; }
.footer-social a svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.footer-social a:hover { border-color: var(--accent); color: #fff; background: var(--accent); }
.footer-contact { font-size: 0.82rem; letter-spacing: 0.06em; }
.footer-contact strong { color: #c3ccd3; font-weight: 500; }
.footer-addr { font-size: 0.82rem; margin-top: 0.4rem; }
.footer-legal { font-size: 0.72rem; color: #565e66; margin-top: 1.4rem; letter-spacing: 0.04em; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
  .side-nav { display: none; }
  .area-blocks { flex-wrap: wrap; }
  .area-block { flex: 1 0 50%; min-height: 150px; }
  .area-block:hover { flex: 1 0 50%; }
  .section { padding: 5rem 0; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: block; position: absolute; top: 96px; left: 0; right: 0; background: rgba(20,24,28,0.98); backdrop-filter: blur(12px); padding: 2rem 6%; }
  .nav.open .nav-list { flex-direction: column; gap: 1.5rem; }
  .nav.open .nav-list a { color: #fff; }
  .area-block { flex: 1 0 100%; }
  .team-card { min-width: 62%; }
}
