/* Nunes & Santos Advogados — protótipo de prospecção (Ryan Schmidt).
   Identidade travada no claro: o Instagram do escritório é creme + verde-oliva,
   quente. Sem @media (prefers-color-scheme: dark) de propósito. */

:root{
  --paper:      #FBF8F1;
  --cream:      #F3EEE1;
  --cream-deep: #EAE3D1;
  --sage:       #7C8A61;
  --sage-deep:  #566345;
  --sage-ink:   #3C4731;
  --bronze:     #A57C3C;
  --bronze-deep:#856129;
  --ink:        #2B2A24;
  --muted:      #635C4B;
  --line:       #DCD4C0;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Figtree", -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{ font-family: var(--display); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1{ font-size: clamp(2.15rem, 1.45rem + 3.2vw, 3.55rem); }
h2{ font-size: clamp(1.65rem, 1.2rem + 2vw, 2.5rem); }
h3{ font-size: 1.16rem; letter-spacing: 0; }
h1 em, h2 em{ font-style: italic; font-weight: 500; color: var(--sage-deep); }
p{ margin: 0 0 1rem; text-wrap: pretty; }
a{ color: inherit; }
img{ max-width: 100%; display: block; }

.wrap{ width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem); }
.estreito{ max-width: 720px; }

.skip{
  position: absolute; left: -9999px; top: 0;
  background: var(--sage-ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 200;
}
.skip:focus{ left: 0; }

/* ---------- barra de protótipo ---------- */
.demo-bar{
  background: var(--sage-ink); color: #E7E1CF;
  font-size: .76rem; line-height: 1.4; text-align: center;
  padding: 9px 1.5rem;
}
.demo-bar strong{ color: #F0E4C8; font-weight: 600; }

/* ---------- botões ---------- */
.btn, .btn-ghost{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.7rem; border-radius: 999px; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn{ background: var(--sage-deep); color: #FBF8F1; box-shadow: 0 10px 24px -14px rgba(60,71,49,.7); }
.btn:hover{ background: var(--sage-ink); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(60,71,49,.75); }
.btn-sm{ padding: .62rem 1.15rem; font-size: .9rem; }
.btn-lg{ padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn-ghost{ background: transparent; color: var(--sage-ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--sage); background: var(--paper); transform: translateY(-2px); }

/* ---------- eyebrow (só no hero, como etiqueta de localidade) ---------- */
.eyebrow{
  font-family: var(--body); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-deep);
  margin: 0 0 1rem;
}

/* ---------- nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: padding .22s var(--ease), background-color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  padding-block: .85rem;
}
.nav.is-scrolled{
  padding-block: .45rem;
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  border-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(43,42,36,.5);
}
.nav-in{ display: flex; align-items: center; gap: 1.4rem; }
.nav-logo{ display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.nav-mono{
  width: 2.6rem; height: 2.6rem; object-fit: contain; flex-shrink: 0;
}
.nav-wm{ display: flex; flex-direction: column; line-height: 1.16; }
.nav-wm-name{ font-family: var(--display); font-weight: 600; font-size: 1.06rem; }
.nav-wm-sub{ font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.nav-links{ display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a{ text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s var(--ease); }
.nav-links a:hover{ color: var(--sage-ink); }
.nav .btn-sm{ flex-shrink: 0; }

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

/* ---------- hero ---------- */
.hero{ padding: clamp(3.5rem, 2rem + 8vw, 6.5rem) 0 clamp(2.5rem, 1.5rem + 5vw, 4rem); }
.hero-in{ max-width: 820px; }
.hero h1{ margin-bottom: 1.3rem; }
.hero .lead{ font-size: clamp(1.05rem, .98rem + .5vw, 1.24rem); color: var(--muted); max-width: 62ch; }
.hero-acoes{ display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.3rem; }
.hero-nota{ font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- credenciais ---------- */
.credenciais{ background: var(--sage-ink); color: #E9E3D1; }
.cred-in{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cred{ padding: 2rem clamp(1rem, .4rem + 1.6vw, 2rem); border-left: 1px solid rgba(233,227,209,.16); }
.cred:first-child{ border-left: 0; padding-left: 0; }
.cred-t{ display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: #F2E7CC; margin-bottom: .35rem; }
.cred-d{ display: block; font-size: .92rem; line-height: 1.5; color: #CFC8B4; }
@media (max-width: 780px){
  .cred-in{ grid-template-columns: 1fr; }
  .cred{ border-left: 0; border-top: 1px solid rgba(233,227,209,.16); padding: 1.4rem 0; }
  .cred:first-child{ border-top: 0; }
}

/* ---------- seções ---------- */
.secao{ padding: clamp(3.2rem, 2rem + 6vw, 5.5rem) 0; }
.secao.identificacao{ background: var(--paper); }
.secao.areas{ background: var(--cream-deep); }
.secao.sobre{ background: var(--paper); }
.secao.duvidas{ background: var(--cream-deep); }
.sec-cab{ max-width: 46ch; margin-bottom: 2.6rem; }
.sec-cab .lead{ color: var(--muted); margin-top: .7rem; }

/* identificação */
.identificacao .grande{ font-size: 1.2rem; color: var(--ink); margin-bottom: 1.1rem; }
.identificacao .destaque{
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.7rem); line-height: 1.32;
  color: var(--sage-ink); margin: 2rem 0 0; max-width: 24ch;
}

/* como trabalhamos */
.passos{ list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.passo{
  display: flex; gap: 1.3rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.8rem;
}
.passo-n{
  flex-shrink: 0; font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: var(--paper); background: var(--sage); width: 2.6rem; height: 2.6rem;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.passo h3{ margin-bottom: .35rem; }
.passo p{ margin: 0; color: var(--muted); }

/* áreas — lista editorial, sem cartão */
.areas-grid{
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(1.5rem, 0.5rem + 4vw, 4rem); row-gap: 0;
  border-top: 1px solid var(--line);
}
.area{ padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.area h3{ color: var(--sage-ink); margin-bottom: .4rem; font-size: 1.22rem; }
.area p{ margin: 0; font-size: .95rem; color: var(--muted); max-width: 42ch; }
.area-wide{ grid-column: 1 / -1; }
@media (max-width: 720px){ .areas-grid{ grid-template-columns: 1fr; } .area-wide{ grid-column: auto; } }

/* equipe */
.equipe-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pessoa{ margin: 0; }
.pessoa-foto{
  border-radius: var(--radius); overflow: hidden; background: var(--cream-deep);
  aspect-ratio: 4 / 5; margin-bottom: .9rem;
}
.pessoa-foto img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pessoa figcaption strong{ display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.pessoa-area{ display: block; font-size: .82rem; font-weight: 600; color: var(--bronze-deep); margin: .25rem 0 .4rem; letter-spacing: .01em; }
.pessoa-nota{ display: block; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.equipe-rodape{ margin: 2rem 0 0; font-size: .95rem; color: var(--muted); max-width: 60ch; }
.equipe-rodape strong{ color: var(--ink); }
@media (max-width: 900px){ .equipe-grid{ grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.1rem; } }
@media (max-width: 460px){ .equipe-grid{ grid-template-columns: 1fr; max-width: 340px; } }

/* sobre */
.sobre-link{ margin-top: 1.2rem; }
.sobre-link a{ color: var(--bronze-deep); font-weight: 600; text-underline-offset: 3px; }

/* FAQ */
.faq{ border-top: 1px solid var(--line); }
.faq__item{ border-bottom: 1px solid var(--line); }
.faq__toggle{
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  padding: 1.25rem 2.4rem 1.25rem 0; position: relative;
}
.faq__toggle::after{
  content: ""; position: absolute; right: .3rem; top: 50%; width: .8rem; height: .8rem;
  margin-top: -.4rem;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566345' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__toggle::after{ transform: rotate(180deg); }
.faq__panel{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__item.is-open .faq__panel{ grid-template-rows: 1fr; }
.faq__panel-inner{ overflow: hidden; }
.faq__panel-inner p{ margin: 0 0 1.25rem; color: var(--muted); }

/* onde fica */
.onde-in{ display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.onde-dados{ margin: 1.6rem 0 1.8rem; display: grid; gap: 1.1rem; }
.onde-dados dt{ font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-deep); font-weight: 600; margin-bottom: .2rem; }
.onde-dados dd{ margin: 0; color: var(--ink); }
.onde-acoes{ display: flex; flex-wrap: wrap; gap: .8rem; }
.mapa{
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: var(--cream-deep);
}
.mapa iframe{ border: 0; width: 100%; height: 100%; display: block; filter: grayscale(.2) sepia(.08); }
@media (max-width: 820px){ .onde-in{ grid-template-columns: 1fr; gap: 1.8rem; } .mapa{ aspect-ratio: 3 / 2; } }

/* CTA final */
.fechamento{ padding-bottom: clamp(3.5rem, 2rem + 6vw, 6rem); }
.fecho-card{
  background: var(--sage-ink); color: #EDE7D6;
  border-radius: 16px; padding: clamp(2.4rem, 1.5rem + 4vw, 4rem);
  text-align: center; margin-bottom: 1rem;
}
.fecho-card h2{ color: #F4EAD1; }
.fecho-card h2 em{ color: #C9B98B; }
.fecho-card p{ color: #CFC8B4; max-width: 52ch; margin: 1rem auto 1.9rem; }
.fecho-card .btn{ background: var(--bronze); color: #2B2113; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.fecho-card .btn:hover{ background: #B98D4B; }

/* ---------- rodapé ---------- */
.rodape{ background: var(--cream); border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; }
.rod-in{ display: grid; gap: 2rem; }
.rod-marca{ display: flex; align-items: center; gap: .8rem; }
.rod-nome{ font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.rod-nome span{ font-family: var(--body); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.rod-cols{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rod-lbl{ font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--bronze-deep); font-weight: 600; margin: 0 0 .5rem; }
.rod-cols p{ margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.7; }
.rod-cols a{ color: var(--muted); text-decoration: none; }
.rod-cols a:hover{ color: var(--sage-ink); }
.rod-end{ font-size: .92rem; color: var(--muted); text-decoration: none; }
.rod-end:hover{ color: var(--sage-ink); }
.rod-legal{ font-size: .74rem; line-height: 1.6; color: #8B8470; max-width: 68ch; margin: .5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
@media (max-width: 620px){ .rod-cols{ grid-template-columns: 1fr 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.zap{
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--sage-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(60,71,49,.6);
  transition: transform .2s var(--ease);
  animation: zap-pulse 2.6s var(--ease) infinite;
}
.zap svg{ width: 42px; height: 42px; fill: currentColor; }
.zap:hover{ transform: scale(1.06); }
@keyframes zap-pulse{
  0%{ box-shadow: 0 14px 30px -10px rgba(60,71,49,.6), 0 0 0 0 rgba(124,138,97,.45); }
  70%{ box-shadow: 0 14px 30px -10px rgba(60,71,49,.6), 0 0 0 16px rgba(124,138,97,0); }
  100%{ box-shadow: 0 14px 30px -10px rgba(60,71,49,.6), 0 0 0 0 rgba(124,138,97,0); }
}
@media (max-width: 600px){
  .zap{ width: 68px; height: 68px; right: 16px; bottom: 16px; }
  .zap svg{ width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce){
  .zap{ animation: none; }
}

/* Conteúdo nunca depende de JS para aparecer: o reveal do app.js usa gsap.from,
   que anima a partir de um estado deslocado sem esconder nada de antemão. */
