/* ================================================================
   Natália Nara Advocacia e Consultoria · estilos da página
   ================================================================ */

/* ================================================================
   FONTES
   ================================================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-300-normal-latin.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-300-normal-latin-ext.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20CF, U+2113,
                 U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-300-italic-latin.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/cormorant-garamond-300-italic-latin-ext.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20CF, U+2113,
                 U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-variable-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-variable-latin-ext.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20CF, U+2113,
                 U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================
   TOKENS
   ================================================================ */
:root {
  /* As cores da página são fixas: impede o modo escuro automático do navegador
     do celular de inverter o creme e o texto escuro.
     "light dark" e nao "only light": o navegador embutido de apps (WhatsApp) ignora o
     "only light" e so deixa de escurecer pagina que se declara compativel com o escuro.
     As cores sao todas explicitas, entao nada muda no tema escuro. */
  color-scheme: light dark;

  /* Paleta (amostrada do monograma e das fotos) */
  --grafite:          #141414;    /* fundo escuro principal */
  --grafite-medio:    #1c1c1c;    /* fundo seções cinza (áreas, processo) */
  --creme:            #f4efe6;    /* fundo claro (sobre, faq) */
  --acento:           #c8b96a;    /* dourado contido: só decorativo, não para texto pequeno */
  --acento-forte:     #c4b050;
  --texto-claro:      #f0ede8;    /* texto em fundo escuro */
  --texto-mudo:       rgba(240,237,232,0.55);
  --texto-escuro:     #1a1a1a;    /* texto em fundo creme */
  --texto-mudo-esc:   rgba(26,26,26,0.55);
  --divisor-esc:      rgba(240,237,232,0.09);
  --divisor-cre:      rgba(26,26,26,0.12);

  /* Tipografia */
  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Manrope', system-ui, sans-serif;

  /* Escala tipográfica (mobile-first, clamp ajusta em desktop) */
  --fs-hero:   clamp(4.5rem, 13vw, 11rem);
  --fs-h2:     clamp(2.5rem, 6vw, 5rem);
  --fs-h3:     clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-corpo:  clamp(1rem, 1.4vw, 1.125rem);
  --fs-label:  0.6875rem;
  --fs-micro:  0.625rem;

  /* Espaçamento */
  --pg:        clamp(1.5rem, 5vw, 4rem);    /* padding horizontal de página */
  --sec-v:     clamp(5rem, 9vw, 8rem);       /* padding vertical de seção */
  --header-h:  60px;

  /* Raio: 0, editorial rigoroso sem arredondamento nas estruturas principais */
  --raio:      0;
}

/* ================================================================
   RESET E BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ff-sans);
  background: var(--grafite);
  color: var(--texto-claro);
  overflow-x: hidden;
  line-height: 1.6;
}
img, picture {
  display: block;
  max-width: 100%;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* Utilitários */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Container: largura contida com padding horizontal */
.container {
  width: min(100% - var(--pg) * 2, 1200px);
  margin-inline: auto;
}

/* Rotulo / eyebrow de seção */
.rotulo {
  display: block;
  font-family: var(--ff-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.rotulo--claro { color: var(--acento); }
.rotulo--escuro { color: var(--texto-mudo-esc); }

/* Marcador de pendência: visível, nunca some */
.pendencia {
  display: inline;
  background: rgba(255,180,0,0.11);
  color: #d4a830;
  padding: 0.1em 0.4em;
  font-size: 0.65rem;
  font-family: var(--ff-sans);
  font-weight: 500;
  border: 1px solid rgba(212,168,48,0.3);
  border-radius: 2px;
  font-style: normal;
}
/* Em fundo creme, pendência mais visível */
.sobre .pendencia,
.faq .pendencia {
  background: rgba(200,100,0,0.08);
  color: #a05c00;
  border-color: rgba(160,92,0,0.3);
}

/* ================================================================
   CABEÇALHO
   ================================================================ */
.cabecalho {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--grafite);
  border-bottom: 1px solid var(--divisor-esc);
  display: flex;
  align-items: center;
}
.cabecalho-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cabecalho-marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.cabecalho-monograma {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.cabecalho-nome {
  display: none; /* oculto em celular, aparece em tablet */
}
.cabecalho-nome img {
  height: 20px;
  width: auto;
  object-fit: contain;
}
.cabecalho-oab {
  font-size: 0.75rem;
  font-family: var(--ff-sans);
  color: var(--texto-mudo);
  letter-spacing: 0.08em;
  display: none;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  /* Linguagem da logo: moldura fina dourada, fundo transparente/grafite, texto dourado.
     Contraste #c8b96a sobre grafite escuro ≥ 8.9:1 (WCAG AA + AAA para texto normal). */
  color: var(--acento);
  background: transparent;
  border: 1px solid var(--acento);
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  min-height: 44px;
  white-space: nowrap;
  border-radius: 6px; /* raio combinando com a moldura arredondada do monograma */
}
.btn-wa:hover  { background: rgba(200,185,106,0.08); }
.btn-wa:active { transform: scale(0.98); }
.btn-wa:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}
.btn-wa--header {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.65rem 1.25rem;
}

/* ================================================================
   HERÓI
   Sangria total. Foto com fundo natural (1278) como camada de fundo.
   Gradiente escurece APENAS da base, sem oblíqua lateral.
   Mobile usa retrato (1278-mobile-1200/1600) para resolver blur em DPR 3.
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background-color: #1a1510; /* Tom amostrado da foto 1278: fundo bege escuro */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Foto como camada de fundo */
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

/* Gradiente: base escurece para texto; sem oblíqua lateral */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      var(--grafite) 0%,
      rgba(14,12,10,0.80) 22%,
      rgba(14,12,10,0.40) 45%,
      transparent 68%);
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo sobre a foto */
.hero-conteudo {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 2rem) var(--pg) 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Saudação pequena */
.hero-saudacao {
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-mudo);
  margin-bottom: 0.25rem;
  align-self: flex-start;
  /* entra antes do nome */
  opacity: 0;
  animation: linha-surge 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* Nome: Cormorant, peso 300, escala editorial */
.hero-titulo {
  font-family: var(--ff-serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--texto-claro);
  margin-bottom: 1.25rem;
}
.hero-titulo-linha {
  display: block;
  /* animação: cada linha surge do baixo */
  opacity: 0;
  animation: linha-surge 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-titulo-linha:nth-child(1) { animation-delay: 0.3s; }
.hero-titulo-linha:nth-child(2) { animation-delay: 0.55s; }

/* Sub da headline */
.hero-sub {
  font-family: var(--ff-sans);
  font-size: 0.75rem; /* OAB um pouco maior que o micro */
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-mudo);
  margin-bottom: 2rem;
  line-height: 1.8;
  /* entra depois das duas linhas do nome */
  opacity: 0;
  animation: linha-surge 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

/* Dois botões de contorno fino, largura total */
.hero-botoes {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 480px;
  animation: linha-surge 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}
.hero-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  min-height: 52px;
  border-radius: 6px;
}
.hero-btn-primary {
  border: 1px solid var(--acento);
  color: var(--acento);
}
.hero-btn-primary:hover {
  background: rgba(200,185,106,0.08);
  border-color: var(--acento);
}
.hero-btn-secondary {
  border: 1px solid rgba(240,237,232,0.2);
  color: rgba(240,237,232,0.6);
}
.hero-btn-secondary:hover {
  background: rgba(240,237,232,0.05);
  border-color: rgba(240,237,232,0.4);
  color: var(--texto-claro);
}
.hero-btn:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}
.hero-btn-seta {
  font-size: 1rem;
  line-height: 1;
}

/* Animações de entrada do herói */
@keyframes linha-surge {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes foto-surge {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.hero-foto {
  animation: foto-surge 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-saudacao,
  .hero-titulo-linha,
  .hero-sub,
  .hero-botoes,
  .hero-foto {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================
   CREDENCIAIS (tira fina)
   ================================================================ */
.credenciais {
  background: var(--grafite-medio);
  border-top: 1px solid var(--divisor-esc);
  border-bottom: 1px solid var(--divisor-esc);
  padding: 1rem var(--pg);
}
.credenciais-lista {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.credencial-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--texto-mudo);
}
.credencial-sinal {
  color: var(--acento);
  font-size: 0.7rem;
}

/* ================================================================
   SOBRE
   Fundo: creme. Texto esquerda, foto 1224 direita (desktop).
   Foto com fundo natural, não recorte. Sem moldura.
   Position relative ancora o pseudo-elemento da marca d'água.
   ================================================================ */
.sobre {
  position: relative;      /* ancora o pseudo-elemento da marca d'água */
  background-color: var(--creme);
  padding: var(--sec-v) 0;
  overflow: hidden;
}

/* Marca d'água discreta do monograma: Sobre */
.sobre::before {
  content: '';
  position: absolute;
  right: -6%;
  top: 10%;
  width: clamp(220px, 42vw, 400px);
  aspect-ratio: 1;
  /* Só as letras do NN (PNG transparente recortado do monograma), pintadas com o dourado:
     a foto do monograma tem fundo grafite e virava um retângulo sobre o creme. */
  background: var(--acento);
  -webkit-mask: url('img/monograma-mascara.png') center / contain no-repeat;
  mask: url('img/monograma-mascara.png') center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

/* Container acima da marca d'água */
.sobre .container {
  position: relative;
  z-index: 1;
}

.sobre-grid {
  display: grid;
  gap: 3rem;
}
.sobre-texto {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sobre-titulo {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.9;
  color: var(--texto-escuro);
  margin-bottom: 2rem;
}
.sobre-titulo span { display: block; }
.sobre-titulo em    {
  display: block;
  font-style: italic;
  /* itálico no sobrenome: voz editorial */
}
.sobre-lead {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 300; /* só o peso 300 da Cormorant está hospedado: outro peso vira negrito falso */
  color: var(--texto-escuro);
  line-height: 1.3;
  margin-bottom: 2rem;
}
.sobre-lead strong {
  font-weight: 300;
  font-style: italic;
  color: #000;
  border-bottom: 1px solid var(--acento-forte);
}

/* Ficha de formação: três linhas com fio fino, rótulo pequeno e valor */
.sobre-ficha {
  margin: 0 0 2rem;
  border-top: 1px solid var(--divisor-cre);
}
.sobre-ficha-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--divisor-cre);
}
.sobre-ficha dt {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--ff-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.62);
}
.sobre-ficha dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.6rem;
  height: 1px;
  background: var(--acento-forte);
}
.sobre-ficha dd {
  /* mesma letra, peso e cor dos parágrafos do Sobre */
  font-family: var(--ff-sans);
  font-size: var(--fs-corpo);
  font-weight: 400;
  color: var(--texto-mudo-esc);
  line-height: 1.45;
}
@media (max-width: 479px) {
  .sobre-ficha-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.sobre-corpo {
  font-size: var(--fs-corpo);
  color: var(--texto-mudo-esc);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.sobre-corpo:last-of-type { margin-bottom: 2rem; }
.sobre-foto-wrap {
  position: relative;
  overflow: hidden;
  /* Gradiente na base inferior, não pela esquerda.
     O rosto da foto 1224 fica no terço superior-central.
     Vinheta suave na base se integra ao creme da seção,
     borda esquerda limpa, rosto visível por inteiro. */
}
.sobre-foto-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--creme) 0%, transparent 22%);
  z-index: 1;
  pointer-events: none;
}
.sobre-foto {
  width: 100%;
  height: 60vw;
  max-height: 540px;
  object-fit: cover;
  object-position: 60% top;
  display: block;
  /* 60% horizontal: puxa o enquadramento para a direita da imagem 1224,
     centralizando o rosto afastado da borda esquerda. */
}

/* ================================================================
   SOBRE, MOBILE: foto largura total, bordas dissolvidas
   Aplica-se somente abaixo de 1024px onde a coluna lateral não existe.
   ================================================================ */
@media (max-width: 1023px) {
  /* Remove o padding-bottom para a seção terminar na base da foto */
  .sobre {
    padding-bottom: 0;
  }

  /* Reduz gap entre texto e foto */
  .sobre-grid {
    gap: 2rem;
  }

  /* Breakout: estende a largura até as bordas do viewport.
     100% = largura do container = 100vw - 2 × --pg
     width + 2 × --pg = 100vw, margin-left anula o recuo do container. */
  .sobre-foto-wrap {
    width: calc(100% + 2 * var(--pg));
    margin-left: calc(-1 * var(--pg));
  }

  /* ::before agora funde o TOPO da foto com o creme da seção acima.
     Sobrescreve a regra base (que fundia a base com o creme). */
  .sobre-foto-wrap::before {
    background: linear-gradient(to bottom, var(--creme) 0%, transparent 22%);
  }

  /* ::after funde a BASE da foto com o grafite-medio da próxima seção.
     55% de altura de gradiente evita a aparência "barrenta" na faixa média. */
  .sobre-foto-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--grafite-medio) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
  }

  /* Altura da foto: proporcional à largura do celular, limitada a 480px.
     Imagem retrato (2:3) com object-position: center top preserva rosto. */
  .sobre-foto {
    /* Foto 1224 (mão no queixo): o rosto fica perto do meio da imagem, então
       a caixa é mais alta e o recorte desce para tirar a parede de cima. */
    height: min(125vw, 540px);
    max-height: none;
    object-position: center 42%;
  }
}

/* ================================================================
   TABLET (768px-1023px): correção do corte da foto do Sobre
   Em ~970px com box 480px: foto portrait (1200×1800) em cover escala à
   largura (970px → escala ≈0,808×); altura visível = 480/0,808 ≈ 594px
   do total 1800px (33%). O rosto fica em y≈200–600px do original, mas
   o gradiente ::after cobria 55% de baixo (a partir de y=216px display).

   Solução: aumentar o box para min(90vw, 860px) → 860px visível = 1065px
   do original (59%); mãos a ~y≈727px display. Gradiente reduzido para
   15% a partir da base (~129px): mãos ficam fora da região coberta.
   ================================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .sobre-foto {
    height: min(90vw, 860px);
    /* Desce o enquadramento para incluir mãos e xícara, sem cortar o topo da cabeça.
       center top (herdado do mobile) prendia o recorte no topo da foto portrait:
       mostrava muita parede acima da cabeça e cortava mãos/xícara na borda inferior.
       center 30%: a @768 px (box=691, escala=0.64) desloca ~138 px para baixo,
       trazendo mãos/xícara (~y≈960 px do original) para dentro do quadro visível. */
    object-position: center 30%;
  }
  .sobre-foto-wrap::after {
    background: linear-gradient(to top, var(--grafite-medio) 0%, transparent 10%);
  }
}

/* Botão em seção creme (Sobre): fundo grafite + moldura dourada + texto dourado,
   espelha a logo em miniatura. Contraste #c8b96a / #141414 = 9.5:1 (AA + AAA). */
.btn-outline-escuro {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acento);
  background: var(--grafite);
  border: 1px solid var(--acento);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  min-height: 48px;
  align-self: flex-start;
  border-radius: 6px;
}
.btn-outline-escuro:hover {
  background: rgba(20,20,20,0.9);
  border-color: var(--acento);
}
.btn-outline-escuro:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}

/* ================================================================
   FAIXA DE FOTO
   Foto em largura total, sem moldura, sem legenda.
   Separador entre seção creme e seção cinza.
   Oculta no celular: a foto do "Sobre" (mesma série, mesma pose)
   já representa a advogada; duplicar confundia e alargava a rolagem.
   No desktop as duas coexistem com função visual distinta:
   a do "Sobre" é retrato de apresentação; a faixa é separador de ritmo.
   loading="lazy" (elemento oculto no mobile, não é LCP).
   ================================================================ */
.foto-banda {
  overflow: hidden;
  line-height: 0;
  display: none; /* oculto até 1023px */
}
.foto-banda img {
  width: 100%;
  height: clamp(240px, 44vw, 520px);
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* ================================================================
   ÁREAS DE ATUAÇÃO
   Fundo: grafite-medio (o "cinza" do ritmo).
   01/02/03 em Cormorant, alternando número esquerda/direita.
   Listas simples em coluna única. Sem planilha.
   ================================================================ */
.areas {
  background: var(--grafite-medio);
  padding: var(--sec-v) 0;
}
.areas-intro {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.areas-titulo {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.0;
  color: var(--texto-claro);
}

/* Um bloco por área */
.area-bloco {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--divisor-esc);
}
.area-bloco:last-child {
  border-bottom: 1px solid var(--divisor-esc);
}
.area-numero {
  font-family: var(--ff-serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 0.85;
  color: var(--acento);
  display: block;
}
.area-conteudo {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.area-titulo {
  font-family: var(--ff-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-claro);
  margin-bottom: 0.75rem;
}
.area-lead {
  font-size: var(--fs-corpo);
  color: var(--texto-mudo);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}
.area-lista {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.area-item {
  font-size: 0.9375rem;
  color: var(--texto-mudo);
  padding-left: 1.25rem;
  border-left: 1px solid var(--acento);
  line-height: 1.4;
}
/* Link de área: texto com seta */
.btn-area {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acento);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,185,106,0.4);
  padding-bottom: 0.1rem;
  transition: gap 0.2s, color 0.2s;
  align-self: flex-start;
  min-height: 44px;
}
.btn-area:hover  { gap: 0.9rem; color: var(--texto-claro); }
.btn-area:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}

/* ================================================================
   COMO FUNCIONA O ATENDIMENTO
   Sub-seção dentro do bloco cinza. Separada por borda.
   ================================================================ */
.processo {
  background: var(--grafite-medio);
  padding-top: 0;
  padding-bottom: var(--sec-v);
  border-top: 1px solid var(--divisor-esc);
  margin-top: calc(var(--sec-v) * 0.5);
}
.processo-wrapper {
  padding-top: var(--sec-v);
}

/* Timbrado bem leve do monograma nas áreas (direita, no alto) e no
   "Como funciona" (esquerda, embaixo): só detalhe de marca, não compete com o texto. */
.areas,
.processo {
  position: relative;
  overflow: hidden;
}
.areas::before,
.processo::before {
  content: '';
  position: absolute;
  width: clamp(220px, 40vw, 440px);
  aspect-ratio: 1;
  background: var(--acento);
  -webkit-mask: url('img/monograma-mascara.png') center / contain no-repeat;
  mask: url('img/monograma-mascara.png') center / contain no-repeat;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
.areas::before {
  top: 3%;
  right: -8%;
}
/* No computador, o vão à direita do bloco 02 (o 01 fica no alto à direita) */
@media (min-width: 1024px) {
  .areas::before {
    top: 36%;
    right: -4%;
  }
}
.processo::before {
  bottom: 4%;
  left: -8%;
}
.areas .container,
.processo .container {
  position: relative;
  z-index: 1;
}
.processo-titulo {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.0;
  color: var(--texto-claro);
  margin-bottom: 0.75rem;
}
.processo-lead {
  font-size: var(--fs-corpo);
  color: var(--texto-mudo);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 56ch;
  line-height: 1.65;
}
.processo-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.processo-passo {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--divisor-esc);
  align-items: start;
}
.processo-passo:last-child {
  border-bottom: 1px solid var(--divisor-esc);
}
.processo-num {
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 0.85;
  color: var(--acento);
  display: block;
}
.processo-passo-titulo {
  display: block;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--texto-claro);
  margin-bottom: 0.5rem;
}
.processo-passo-texto {
  font-size: 0.9375rem;
  color: var(--texto-mudo);
  line-height: 1.65;
}

/* ================================================================
   FAQ
   Fundo: creme.
   Acordeão com caixas de contorno fino e "+" animado.
   Botão escuro em largura total no final.
   ================================================================ */
.faq {
  background: var(--creme);
  padding: var(--sec-v) 0;
}
.faq-titulo {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.0;
  color: var(--texto-escuro);
  margin-bottom: 0.75rem;
}
.faq-subtitulo {
  font-size: var(--fs-corpo);
  color: var(--texto-mudo-esc);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 52ch;
  line-height: 1.65;
}
.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.faq-item {
  border: 1px solid var(--divisor-cre);
  background: transparent;
  transition: background 0.2s;
}
.faq-item[open] {
  background: rgba(255,255,255,0.5);
}
.faq-pergunta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto-escuro);
  line-height: 1.4;
}
.faq-sinal {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--divisor-cre);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--texto-escuro);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--ff-sans);
  font-weight: 300;
}
.faq-item[open] .faq-sinal {
  transform: rotate(45deg);
}
/* Ao fechar, o sinal volta já no clique (o [open] só sai no fim da animação) */
.faq-item.faq-fechando .faq-sinal {
  transform: none;
}
/* Abrir com animação: a altura é animada pelo app.js e a resposta entra suave */
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-resposta {
    animation: faq-resposta-entra 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .faq-item.faq-fechando .faq-resposta {
    opacity: 0;
    transition: opacity 0.2s;
  }
}
@keyframes faq-resposta-entra {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq-resposta {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--texto-mudo-esc);
  line-height: 1.65;
}
.faq-pergunta:focus-visible {
  outline: 2px solid var(--texto-escuro);
  outline-offset: 2px;
}

/* Botão CTA no FAQ (seção creme): grafite + moldura dourada + texto dourado.
   Consistência com .btn-outline-escuro (Sobre). */
.btn-wa--faq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-height: 60px;
  color: var(--acento);
  background: var(--grafite);
  transition: background 0.2s;
  border-radius: 6px;
}
.btn-wa--faq:hover {
  background: rgba(20,20,20,0.9);
}
.btn-wa--faq:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}

/* ================================================================
   CTA FINAL
   Fundo: grafite (escuro). Tipografia centralizada. Sem foto.
   Position relative ancora o pseudo-elemento da marca d'água.
   ================================================================ */
.cta-final {
  position: relative;      /* ancora o pseudo-elemento da marca d'água */
  background: var(--grafite);
  padding: var(--sec-v) 0;
  border-top: 1px solid var(--divisor-esc);
  text-align: center;
}

/* Marca d'água discreta do monograma: CTA final */
.cta-final::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 36vw, 360px);
  aspect-ratio: 1;
  background: var(--acento);
  -webkit-mask: url('img/monograma-mascara.png') center / contain no-repeat;
  mask: url('img/monograma-mascara.png') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Container acima da marca d'água */
.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final-titulo {
  font-family: var(--ff-serif);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.0;
  color: var(--texto-claro);
  margin-bottom: 1.5rem;
}
.cta-final-corpo {
  font-size: var(--fs-corpo);
  color: var(--texto-mudo);
  line-height: 1.65;
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.btn-wa--final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.25rem 1.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-height: 60px;
  /* color e background herdados de .btn-wa: transparente, moldura e texto dourados */
  transition: background 0.2s, transform 0.1s;
  border-radius: 6px;
}
.btn-wa--final:hover { background: rgba(200,185,106,0.08); }
.btn-wa--final:active { transform: scale(0.98); }
.btn-wa--final:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 3px;
}
.cta-final-micro {
  margin-top: 1.25rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-mudo);
}

/* ================================================================
   RODAPÉ
   ================================================================ */
.rodape {
  background: #0d0d0d;
  border-top: 1px solid var(--divisor-esc);
  padding: 3rem 0;
}
.rodape-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rodape-marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.rodape-monograma {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.85;
}
.rodape-nome img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
/* Celular e tela média: marca do escritório centralizada no rodapé */
@media (max-width: 1023px) {
  .rodape-marca {
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0 1rem;
  }
}
.rodape-linha {
  font-size: var(--fs-label);
  color: var(--texto-mudo);
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.rodape-linha a:hover { color: var(--texto-claro); }
.rodape-separador {
  border: none;
  border-top: 1px solid var(--divisor-esc);
}
.rodape-legal {
  font-size: var(--fs-micro);
  color: rgba(240,237,232,0.25);
  letter-spacing: 0.06em;
}

/* Crédito do desenvolvedor: sem link.
   --texto-mudo em #0d0d0d resulta em ~5.7:1 de contraste (passa AA). */
.rodape-credito {
  font-size: var(--fs-micro);
  color: var(--texto-mudo);
  letter-spacing: 0.06em;
  text-align: right;
}

/* ================================================================
   SCROLL REVEAL (progressive enhancement via IntersectionObserver)
   - html.js-anima adicionado por app.js: sem JS = tudo visível (graceful degradation)
   - .is-visivel adicionado pelo observer quando o elemento entra na viewport
   - Stagger via --reveal-delay (custom property definida por JS em grupos de irmãos)
   - prefers-reduced-motion: reduce => nada oculto, sem movimento
   ================================================================ */

@media (prefers-reduced-motion: no-preference) {
  html.js-anima .reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  html.js-anima .reveal.is-visivel {
    opacity: 1;
    transform: none;
  }
  /* Fotos: só esmaecem, mais devagar, sem deslizar */
  html.js-anima .reveal--foto {
    transform: none;
    transition: opacity 1.1s ease-out;
    transition-delay: var(--reveal-delay, 0s);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ================================================================
   DESKTOP (1024px+)
   ================================================================ */
@media (min-width: 1024px) {

  /* Cabeçalho */
  .cabecalho-nome { display: flex; align-items: center; }
  .cabecalho-oab  { display: block; }

  /* Herói: botões em até 60% da largura */
  .hero-conteudo {
    padding-top: 2rem;
    padding-bottom: 5rem;
  }
  .hero-botoes { max-width: 540px; }

  /* Credenciais: horizontal */
  .credenciais-lista {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  /* Sobre: 2 colunas */
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
  }
  .sobre-texto {
    padding-right: 5rem;
    justify-content: center;
  }
  /* Wrapper precisa de altura explícita para que height:100% na img funcione */
  .sobre-foto-wrap {
    height: 100%;
    min-height: 520px;
  }
  /* picture dentro do wrapper também precisa herdar altura */
  .sobre-foto-wrap picture {
    display: block;
    height: 100%;
  }
  .sobre-foto {
    height: 100%;
    max-height: none;
    min-height: 500px;
    object-position: 60% top; /* mantém face afastada do gradiente de base */
  }

  /* Herói: rosto acima do nome */
  .hero { background-color: #dad7e1; } /* fundo do estúdio amostrado da foto 1278 */
  .hero-foto {
    left: auto;
    right: 0;
    width: 70%;
    object-position: 72% top;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
    mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  }
  .hero::after {
    background: linear-gradient(to top,
      var(--grafite) 0%,
      rgba(14,12,10,0.85) 25%,
      rgba(14,12,10,0.55) 50%,
      rgba(14,12,10,0.15) 72%,
      transparent 88%);
  }

  /* Faixa de foto: visível e maior em desktop */
  .foto-banda {
    display: block; /* restaura no desktop, as duas fotos convivem */
  }
  .foto-banda img {
    height: clamp(360px, 36vw, 560px);
  }

  /* Áreas: número + conteúdo lado a lado */
  .area-bloco {
    grid-template-columns: 11rem 1fr;
    gap: 5rem;
    padding: 4rem 0;
    align-items: start;
  }
  /* Área par: número à direita */
  .area-bloco:nth-child(2n) {
    grid-template-columns: 1fr 11rem;
  }
  .area-bloco:nth-child(2n) .area-numero {
    order: 2;
    text-align: right;
  }
  .area-bloco:nth-child(2n) .area-conteudo {
    order: 1;
  }

  /* Processo: 3 colunas no desktop */
  .processo-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .processo-passo {
    grid-template-columns: 1fr;
    padding: 2rem 2.5rem;
    border-top: none;
    border-left: 1px solid var(--divisor-esc);
  }
  .processo-passo:first-child {
    border-left: none;
    padding-left: 0;
  }
  .processo-passo:last-child {
    border-bottom: none;
  }
  .processo-num {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  /* FAQ: 2 colunas (descrição esquerda, acordeão direita) */
  .faq-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 6rem;
    align-items: start;
  }
  .faq-coluna-esq {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
  .faq-titulo { margin-bottom: 1rem; }
  .faq-subtitulo { margin-bottom: 2rem; }

  /* CTA final: botão menor em desktop */
  .btn-wa--final { max-width: 440px; }

  /* Crédito do desenvolvedor: alinhado à direita em desktop */
  .rodape-credito {
    text-align: right;
  }
}

/* ================================================================
   MOBILE PEQUENO (< 400px)
   ================================================================ */
@media (max-width: 399px) {
  :root {
    --pg: 1.25rem;
  }
  .hero-titulo {
    font-size: 4rem;
  }

  /* Crédito: centralizado em tela muito pequena */
  .rodape-credito {
    text-align: center;
  }
}

/* ================================================================
   PÁGINA NÃO ENCONTRADA
   ================================================================ */
.not-found {
  min-height: 100dvh;
  background: var(--grafite);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--pg);
}

.not-found-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  max-width: 480px;
}

.not-found-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.not-found-monogram {
  opacity: 0.9;
}

.not-found-wordmark {
  opacity: 0.75;
}

.not-found-title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  color: var(--texto-claro);
  margin: 0;
}

.not-found-msg {
  font-family: var(--ff-sans);
  font-size: var(--fs-corpo);
  color: var(--texto-mudo);
  margin: 0;
}

.not-found-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.not-found-link {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--acento);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.not-found-link:hover,
.not-found-link:focus-visible {
  border-color: var(--acento);
}

.not-found-wa {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--acento);
  border-radius: 2px;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--texto-claro);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.not-found-wa:hover,
.not-found-wa:focus-visible {
  background: var(--acento);
  color: var(--grafite);
}

.not-found-oab {
  font-family: var(--ff-sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-mudo);
  margin: 0;
}

/* Herói: profissão e OAB, um pouco mais claras que o resto. */
.hero-sub-oab { color: var(--texto-claro); }
