/* ==========================================================================
   PASCINI & FERNANDES — Advocacia e Consultoria Jurídica
   HTML/CSS/JS puro — sem framework, sem build
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   Trocar tons ou virar o site para claro = mexer só aqui.
   -------------------------------------------------------------------------- */
:root {
  /* --- cores da marca --- */
  --dourado:        #C2A761;
  --dourado-claro:  #D9C489;
  --dourado-escuro: #9C8547;
  --dourado-suave:  rgba(194, 167, 97, .12);
  --dourado-borda:  rgba(194, 167, 97, .28);
  --grafite:        #322E2E;

  /* --- esquema escuro (ATIVO) --- */
  --bg:          #241F1F;
  --bg-alt:      #322E2E;
  --card-bg:     #3A3535;
  --card-bg-2:   #423C3C;
  --texto:       #F5F1EA;
  --texto-suave: #B8AFA6;
  --borda:       rgba(194, 167, 97, .18);
  --sombra:      0 18px 50px rgba(0, 0, 0, .38);
  --foto-filtro: grayscale(100%) sepia(18%) contrast(105%) brightness(95%);

  /* --- esquema claro (ALTERNATIVO) ---
     Para testar: comente o bloco escuro acima e descomente este.
  --bg:          #FAF7F2;
  --bg-alt:      #F2EDE4;
  --card-bg:     #FFFFFF;
  --card-bg-2:   #FBF8F3;
  --texto:       #322E2E;
  --texto-suave: #6B6260;
  --borda:       rgba(50, 46, 46, .12);
  --sombra:      0 18px 45px rgba(50, 46, 46, .10);
  --foto-filtro: grayscale(100%) sepia(12%) contrast(102%);
  */

  /* --- tipografia --- */
  --font-titulo: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-corpo:  "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- layout --- */
  --container: 1200px;
  --raio: 14px;
  --raio-sm: 8px;
  --header-h: 76px;

  /* --- transições --- */
  --t: .3s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 34px);
  -webkit-text-size-adjust: 100%;
  /* no html (e não no body) para não quebrar o position:sticky */
  overflow-x: hidden;
}

body {
  margin: 0;
  /* iOS pinta um retangulo cinza ao tocar em links: o site ja tem
     estados proprios de hover/focus */
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--font-corpo);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-titulo);
  font-weight: 400;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -.025em;
}

/* Títulos grandes: leves e com tracking fechado */
h1 { font-weight: 300; letter-spacing: -.035em; }
h3, h4 { font-weight: 500; letter-spacing: -.015em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--dourado); color: #241F1F; }

/* --------------------------------------------------------------------------
   3. UTILITÁRIOS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-left), env(safe-area-inset-right));
}

.secao { padding: 96px 0; position: relative; }
.secao--alt { background: var(--bg-alt); }

/* Faixa mais escura, para descer o tom logo depois do hero */
.secao--escura { background: #1C1818; }
.secao--escura .diferencial,
.secao--escura .advogada { background: #262121; }
.secao--escura .dor__card {
  background: linear-gradient(160deg, #262121 0%, #2E2828 100%);
}

.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;
}

/* Eyebrow — etiqueta com tracinho dourado antes do título */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-corpo);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--dourado);
  flex-shrink: 0;
}

.titulo-secao {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 20px;
  max-width: 22ch;
}
.titulo-secao em {
  font-style: normal;
  font-weight: 500;
  color: var(--dourado);
}

.texto-apoio {
  color: var(--texto-suave);
  font-size: 1.125rem;
  max-width: 62ch;
}

.cabecalho-secao { margin-bottom: 56px; }
.cabecalho-secao--centro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cabecalho-secao--centro .titulo-secao { max-width: 24ch; }

/* --------------------------------------------------------------------------
   4. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primario {
  background: var(--dourado);
  color: #241F1F;
  box-shadow: 0 8px 24px rgba(194, 167, 97, .22);
}
.btn--primario:hover {
  background: var(--dourado-claro);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(194, 167, 97, .3);
}

/* Contorno dourado, fundo transparente */
.btn--contorno {
  background: transparent;
  border: 1px solid var(--dourado);
  color: var(--dourado-claro);
}
.btn--contorno:hover {
  background: var(--dourado);
  border-color: var(--dourado);
  color: #241F1F;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 167, 97, .24);
}

.btn--secundario {
  border: 1px solid var(--dourado-borda);
  color: var(--texto);
}
.btn--secundario:hover {
  border-color: var(--dourado);
  background: var(--dourado-suave);
  transform: translateY(-2px);
}

.btn--pequeno { padding: 11px 22px; font-size: .86rem; }

/* Link com seta */
.link-seta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dourado);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--t);
}
.link-seta::after {
  content: "→";
  transition: transform var(--t);
}
.link-seta:hover { color: var(--dourado-claro); }
.link-seta:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
/* Barra flutuante em formato de pílula */
.header {
  position: fixed;
  /* env() recua do notch/Dynamic Island; vale 0 onde nao existe */
  inset: calc(18px + env(safe-area-inset-top)) 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--t);
  pointer-events: none;
}
.header .container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1140px;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: var(--t);
  /* o conteudo fica acima da camada de vidro */
  position: relative;
  isolation: isolate;
}
/* O vidro vive num pseudo-elemento, e nao no proprio .container:
   backdrop-filter num ANCESTRAL prende os filhos position:fixed
   (era o que quebrava o menu de tela cheia no mobile). */
.header .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(28, 24, 24, .52);
  backdrop-filter: blur(26px) saturate(135%) brightness(.62);
  -webkit-backdrop-filter: blur(26px) saturate(135%) brightness(.62);
  transition: background var(--t);
}

/* Ao rolar, o vidro escurece um pouco — sem perder a transparência */
.header.rolado .container::before { background: rgba(36, 31, 31, .58); }
.header.rolado .container {
  border-color: rgba(194, 167, 97, .22);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, .44),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.logo:hover { opacity: .82; }

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

.logo--rodape img { height: 62px; }

/* Ações do header: WhatsApp + botão do menu */
.header__acoes {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Navegação — painel suspenso em pílula, em todas as larguras */
/* Empurra a navegação e o botão para a direita */
.nav { display: flex; align-items: center; margin-left: auto; }

.nav__lista {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  position: relative;
  padding: 9px 14px;
  font-size: .88rem;
  color: var(--texto-suave);
  white-space: nowrap;
  transition: color var(--t);
}
/* Linha que cresce do centro no hover */
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--dourado);
  transform: scaleX(0);
  transition: transform var(--t);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--dourado); }
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }

/* Botão hambúrguer */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--raio-sm);
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  position: relative;
  width: 22px; height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: var(--t);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: var(--t);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top: 7px; }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 130px) 0 130px;
  overflow: hidden;
  background-image: url("../imagens/hero.jpg");
  background-size: cover;
  background-position: 68% center;   /* mantém as advogadas visíveis */
  background-repeat: no-repeat;
  background-color: var(--bg);
}

/* Véu que escurece a esquerda e garante a leitura do texto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(20, 17, 17, .96) 0%,
      rgba(20, 17, 17, .92) 26%,
      rgba(20, 17, 17, .74) 44%,
      rgba(20, 17, 17, .34) 62%,
      rgba(20, 17, 17, .12) 80%
    ),
    linear-gradient(to bottom, rgba(20, 17, 17, .35) 0%, transparent 22%);
  pointer-events: none;
  z-index: 0;
}

/* Emenda com a seção seguinte */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  background: linear-gradient(to bottom, transparent, #1C1818);
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

/* Coluna única, alinhada à esquerda */
.hero__grid {
  display: flex;
  flex-direction: column;
}
.hero__conteudo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}

.hero__titulo {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero__titulo em {
  font-style: normal;
  font-weight: 500;
  color: var(--dourado);
}

.hero__texto {
  color: var(--texto-suave);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 20px;
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 44px;
}

/* Faixa de credibilidade */
.hero__credibilidade {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  padding-top: 30px;
  border-top: 1px solid var(--borda);
  width: 100%;
}
.credibilidade__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  color: var(--texto-suave);
}
.credibilidade__item svg {
  width: 16px; height: 16px;
  color: var(--dourado);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. PLACEHOLDER DE IMAGEM
   -------------------------------------------------------------------------- */
.placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--card-bg),
      var(--card-bg) 12px,
      var(--card-bg-2) 12px,
      var(--card-bg-2) 24px
    );
  border: 1px dashed var(--dourado-borda);
  border-radius: var(--raio);
  color: var(--dourado);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.placeholder small {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--texto-suave);
  max-width: 24ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   8. SEÇÃO DOR / IDENTIFICAÇÃO
   -------------------------------------------------------------------------- */
.dor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.dor__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 28px;
  background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-2) 100%);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  transition: opacity .7s ease, transform .7s ease,
              border-color var(--t), box-shadow var(--t);
}

/* filete dourado à esquerda, que "cresce" no hover */
.dor__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--dourado-claro), var(--dourado-escuro));
  transform: scaleY(.55);
  transform-origin: top;
  transition: transform var(--t), width var(--t);
}

/* brilho difuso que aparece no canto superior direito */
.dor__card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 220px;
  height: 220px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 167, 97, .16) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
}

.dor__card.visivel:hover {
  transform: translateY(-6px);
  border-color: var(--dourado-borda);
  box-shadow: var(--sombra);
}
.dor__card.visivel:hover::before { transform: scaleY(1); width: 3px; }
.dor__card.visivel:hover::after  { opacity: 1; }

.dor__card h3 {
  position: relative;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 12px;
  padding-bottom: 12px;
  transition: color var(--t);
}
/* risco curto sob o título, que se estende no hover */
.dor__card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1px;
  background: var(--dourado);
  opacity: .5;
  transition: width var(--t), opacity var(--t);
}
.dor__card.visivel:hover h3 { color: var(--dourado-claro); }
.dor__card.visivel:hover h3::after { width: 52px; opacity: 1; }

.dor__card p {
  font-size: .93rem;
  line-height: 1.65;
  color: var(--texto-suave);
  transition: color var(--t);
}
.dor__card.visivel:hover p { color: var(--texto); }

@media (prefers-reduced-motion: reduce) {
  .dor__card,
  .dor__card::before,
  .dor__card::after,
  .dor__card h3,
  .dor__card h3::after,
  .dor__card p { transition: none; }
  .dor__card.visivel:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   9. ÁREAS DE ATUAÇÃO — grade de quatro cards
   -------------------------------------------------------------------------- */
.areas { background: #1C1818; }

.areas__grade {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #262121 0%, #2E2828 100%);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  transition: opacity .7s ease, transform .7s ease,
              border-color var(--t), box-shadow var(--t);
}
.area.visivel:hover {
  transform: translateY(-6px);
  border-color: var(--dourado-borda);
  box-shadow: var(--sombra);
}

/* --- foto --- */
.area__foto {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
.area__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--foto-filtro);
  transition: transform .6s cubic-bezier(.4, 0, .2, 1), filter var(--t);
}
.area.visivel:hover .area__foto img {
  transform: scale(1.06);
  filter: grayscale(55%) sepia(14%) contrast(104%) brightness(1);
}
/* véu leve, só para casar a base da foto com o corpo do card */
.area__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,24,24,0) 45%, rgba(38,33,33,.6) 100%);
}

.area__icone { display: none; }

/* --- conteúdo --- */
.area__conteudo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 30px 28px 32px;
}

.area__titulo {
  position: relative;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  padding-bottom: 14px;
  transition: color var(--t);
}
.area__titulo::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 1px;
  background: var(--dourado);
  opacity: .5;
  transition: width var(--t), opacity var(--t);
}
.area.visivel:hover .area__titulo { color: var(--dourado-claro); }
.area.visivel:hover .area__titulo::after { width: 52px; opacity: 1; }

.area__texto {
  color: var(--texto-suave);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 22px;
}

.area__lista {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  margin-bottom: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--borda);
}
.area__lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  font-weight: 300;
  color: var(--texto-suave);
  line-height: 1.6;
}
.area__lista li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--dourado);
  flex-shrink: 0;
  margin-top: .55em;
}

/* link ancorado no rodapé do card, alinhando os quatro */
.area .link-seta {
  font-size: 1rem;
  font-weight: 400;
  margin-top: auto;
}

@media (max-width: 860px) {
  .areas__grade { grid-template-columns: 1fr; gap: 22px; }
  .area__conteudo { padding: 26px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .area, .area__foto img, .area__titulo, .area__titulo::after { transition: none; }
  .area.visivel:hover { transform: none; }
  .area.visivel:hover .area__foto img { transform: none; }
}

/* --------------------------------------------------------------------------
   10. O ESCRITÓRIO
   -------------------------------------------------------------------------- */
.escritorio__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 68px;
  align-items: center;
}

.escritorio__foto {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
  aspect-ratio: 498 / 484;
}
.escritorio__foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--foto-filtro);
}

.escritorio__texto p {
  color: var(--texto-suave);
  margin-bottom: 18px;
}
.escritorio__texto p strong {
  color: var(--texto);
  font-weight: 500;
}

.escritorio__destaque {
  margin: 30px 0;
  padding-left: 24px;
  border-left: 2px solid var(--dourado);
  font-family: var(--font-titulo);
  font-size: 1.22rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -.02em;
  color: var(--texto) !important;
}

/* --------------------------------------------------------------------------
   11. ADVOGADAS
   -------------------------------------------------------------------------- */
/* Uma faixa por advogada, com a foto alternando de lado */
.advogadas__faixas {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.advogada {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 56px;
  transition: opacity .7s ease, transform .7s ease;
}
/* a foto ocupa sempre a coluna estreita, dos dois lados.
   O grid-row mantem os dois na MESMA linha: sem ele, o texto da faixa
   invertida (coluna 1, depois da foto no DOM) cai para a linha seguinte. */
.advogada__foto  { grid-column: 1; grid-row: 1; }
.advogada__corpo { grid-column: 2; grid-row: 1; }

/* a segunda inverte: texto à esquerda, foto à direita.
   Inverter tambem as colunas, senao a foto herdaria a coluna larga. */
.advogada--invertida { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.advogada--invertida .advogada__foto  { grid-column: 2; grid-row: 1; }
.advogada--invertida .advogada__corpo { grid-column: 1; grid-row: 1; }

.advogada__foto {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--raio);
  background: var(--card-bg-2);
}
/* moldura dourada deslocada, que se aproxima no hover */
.advogada__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--raio);
  border: 1px solid var(--dourado-borda);
  transform: translate(14px, 14px);
  transition: transform var(--t);
  pointer-events: none;
}
.advogada--invertida .advogada__foto::after { transform: translate(-14px, 14px); }
.advogada:hover .advogada__foto::after { transform: translate(7px, 7px); }
.advogada--invertida:hover .advogada__foto::after { transform: translate(-7px, 7px); }

/* retratos em cor: as fotos das duas nao levam o filtro sepia do site */
.advogada__foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.advogada:hover .advogada__foto img { transform: scale(1.03); }

/* abaixo de 860px as faixas empilham: foto em cima, texto embaixo */
@media (max-width: 860px) {
  .advogadas__faixas { gap: 56px; }
  .advogada {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* empilhado: uma coluna so, foto sempre antes do texto */
  .advogada--invertida { grid-template-columns: 1fr; }
  .advogada__foto, .advogada--invertida .advogada__foto   { grid-column: 1; grid-row: 1; }
  .advogada__corpo, .advogada--invertida .advogada__corpo { grid-column: 1; grid-row: 2; }
  .advogada__foto { max-width: 420px; }
  /* a moldura deslocada aperta o layout estreito: some com ela */
  .advogada__foto::after { display: none; }
}

.advogada__corpo { display: flex; flex-direction: column; align-items: flex-start; }

.advogada__nome {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.advogada__oab {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 22px;
}

.advogada__texto {
  color: var(--texto-suave);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 58ch;
}

.advogada__citacao {
  font-family: var(--font-titulo);
  font-size: 1.04rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: -.015em;
  color: var(--texto);
  padding-left: 18px;
  border-left: 2px solid var(--dourado);
  margin-top: 10px;
  margin-bottom: 26px;
  max-width: 54ch;
}

.advogada__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--borda);
}

.advogada__insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--texto-suave);
  transition: var(--t);
}
.advogada__insta svg { width: 17px; height: 17px; }
.advogada__insta:hover { color: var(--dourado); }

/* --------------------------------------------------------------------------
   12. COMO FUNCIONA
   -------------------------------------------------------------------------- */
.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  counter-reset: etapa;
}

.etapa {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--borda);
}
.etapa__num {
  font-family: var(--font-titulo);
  font-size: 2.4rem;
  font-weight: 200;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--dourado);
  opacity: .7;
  margin-bottom: 16px;
  display: block;
}
.etapa h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.etapa p {
  font-size: .91rem;
  color: var(--texto-suave);
}

/* --------------------------------------------------------------------------
   13. DIFERENCIAIS
   -------------------------------------------------------------------------- */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.diferencial {
  padding: 32px 28px;
  background: var(--card-bg);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  transition: var(--t);
}
.diferencial:hover {
  transform: translateY(-4px);
  border-color: var(--dourado-borda);
}
.diferencial__icone {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--raio-sm);
  background: var(--dourado-suave);
  margin-bottom: 20px;
}
.diferencial__icone svg {
  width: 21px; height: 21px;
  color: var(--dourado);
}
.diferencial h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.diferencial p {
  font-size: .91rem;
  color: var(--texto-suave);
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--borda);
}

.faq__pergunta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-titulo);
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--texto);
  transition: color var(--t);
}
.faq__pergunta:hover { color: var(--dourado); }

.faq__icone {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.faq__icone::before,
.faq__icone::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--dourado);
  transform: translate(-50%, -50%);
  transition: var(--t);
}
.faq__icone::before { width: 14px; height: 2px; }
.faq__icone::after  { width: 2px; height: 14px; }

.faq__pergunta[aria-expanded="true"] .faq__icone::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__resposta {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.faq__resposta > div {
  padding-bottom: 26px;
  color: var(--texto-suave);
  font-size: .96rem;
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   15. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.cta-final::before {
  content: "";
  position: absolute;
  bottom: -40%; left: 50%;
  transform: translateX(-50%);
  width: 780px; height: 600px;
  background: radial-gradient(circle, rgba(194, 167, 97, .12) 0%, transparent 68%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final__titulo {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin-bottom: 20px;
  max-width: 20ch;
}
.cta-final__titulo em { font-style: normal; font-weight: 500; color: var(--dourado); }

.cta-final__texto {
  color: var(--texto-suave);
  font-size: 1.06rem;
  max-width: 54ch;
  margin-bottom: 36px;
}

.cta-final__nota {
  margin-top: 24px;
  font-size: .84rem;
  color: var(--texto-suave);
}

/* --------------------------------------------------------------------------
   16. RODAPÉ
   -------------------------------------------------------------------------- */
.rodape {
  padding: 72px 0 32px;
  border-top: 1px solid var(--borda);
}

.rodape__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.rodape__sobre p {
  margin-top: 20px;
  color: var(--texto-suave);
  font-size: .89rem;
  max-width: 36ch;
}

.rodape__endereco {
  margin-top: 14px;
  font-style: normal;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--texto-suave);
}

.rodape__titulo {
  font-family: var(--font-corpo);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 20px;
}

.rodape__lista { display: flex; flex-direction: column; gap: 11px; }
.rodape__lista a,
.rodape__lista li {
  font-size: .89rem;
  color: var(--texto-suave);
  transition: var(--t);
}
.rodape__lista a:hover { color: var(--dourado); }

.rodape__contato-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.rodape__contato-item strong {
  font-size: .89rem;
  font-weight: 500;
  color: var(--texto);
}
.rodape__contato-item span,
.rodape__contato-item a {
  font-size: .84rem;
  color: var(--texto-suave);
}
.rodape__contato-item a:hover { color: var(--dourado); }

.rodape__base {
  padding-top: 28px;
  border-top: 1px solid var(--borda);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}
.rodape__aviso {
  font-size: .76rem;
  color: var(--texto-suave);
  max-width: 70ch;
  line-height: 1.6;
}
.rodape__credito {
  font-size: .76rem;
  color: var(--texto-suave);
}
.rodape__sep { opacity: .45; margin: 0 4px; }
.rodape__assinatura {
  color: var(--texto-suave);
  border-bottom: 1px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.rodape__assinatura:hover {
  color: var(--dourado);
  border-bottom-color: var(--dourado-borda);
}

/* --------------------------------------------------------------------------
   17. BOTÃO FLUTUANTE WHATSAPP
   -------------------------------------------------------------------------- */
.zap-flutuante {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--dourado);
  color: #241F1F;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: var(--t);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}
.zap-flutuante.visivel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.zap-flutuante:hover {
  background: var(--dourado-claro);
  transform: translateY(-3px);
}
.zap-flutuante svg { width: 21px; height: 21px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   18. ANIMAÇÃO DE ENTRADA
   -------------------------------------------------------------------------- */
.revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.revelar.visivel {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   19. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__titulo { max-width: 16ch; }
  .hero { background-position: 74% center; }
  .hero__conteudo { max-width: 540px; }

  .escritorio__grid { grid-template-columns: 1fr; gap: 44px; }
  .escritorio__foto {
    max-width: 440px;
    margin-inline: auto;
    aspect-ratio: 498 / 484;
  }

  .rodape__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .rodape__sobre { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .menu-toggle { display: flex; }

  /* No mobile a navegação ocupa a tela inteira */
  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:
      calc(var(--header-h) + 24px + env(safe-area-inset-top))
      24px
      calc(40px + env(safe-area-inset-bottom));
    background: rgba(28, 24, 24, .97);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .32s ease, visibility .32s ease;
  }
  .nav.aberto { opacity: 1; visibility: visible; }

  .nav__lista {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
  }
  .nav__lista li { width: 100%; }

  .nav__link {
    padding: 18px 16px;
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: -.02em;
    color: var(--texto);
    text-align: center;
    /* cada item entra um pouco depois do anterior */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease, color var(--t);
  }
  .nav.aberto .nav__link { opacity: 1; transform: none; }
  .nav.aberto li:nth-child(1) .nav__link { transition-delay: .06s; }
  .nav.aberto li:nth-child(2) .nav__link { transition-delay: .12s; }
  .nav.aberto li:nth-child(3) .nav__link { transition-delay: .18s; }
  .nav.aberto li:nth-child(4) .nav__link { transition-delay: .24s; }
  .nav.aberto li:nth-child(5) .nav__link { transition-delay: .30s; }

  .nav__link::after { display: none; }
  .nav__link:hover,
  .nav__link:focus-visible { color: var(--dourado); }

  /* o painel cobre a tela; o hamburguer (que vira X) fica acima dele */
  .menu-toggle { position: relative; z-index: 125; }
  /* a logo tambem, para continuar visivel com o menu aberto */
  .logo { position: relative; z-index: 125; }

  /* trava a rolagem do fundo enquanto o menu esta aberto */
  body.menu-aberto { overflow: hidden; }

  .header .container { position: relative; }
  .header__acoes { margin-left: auto; }
}

@media (max-width: 820px) {
  .secao { padding: 72px 0; }
  /* imagem propria para telas estreitas (vertical); a de desktop e larga
     demais e so mostraria um recorte central */
  .hero {
    padding: calc(var(--header-h) + 300px) 0 64px;
    background-image: url("../imagens/hero-mobile.jpg");
    background-position: center top;
  }
  .hero::before {
    background:
      linear-gradient(
        to bottom,
        rgba(20, 17, 17, .55) 0%,
        rgba(20, 17, 17, .30) 26%,
        rgba(20, 17, 17, .82) 46%,
        rgba(20, 17, 17, .96) 60%,
        rgba(20, 17, 17, .98) 100%
      );
  }
  .hero::after { height: 90px; }

  /* --- Hero centralizada no mobile --- */
  .hero__conteudo {
    align-items: center;
    text-align: center;
  }
  .hero__titulo,
  .hero__texto { text-align: center; }
  /* o texto tem max-width proprio: sem a margem automatica ele nao centraliza */
  .hero__texto { margin-inline: auto; }

  /* botoes ocupam a largura toda, um sobre o outro */
  .hero__acoes {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__acoes .btn {
    width: 100%;
    justify-content: center;
  }

  /* OAB e cidade centralizados */
  .hero__credibilidade {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .credibilidade__item { justify-content: center; }

  /* WhatsApp sai do cabecalho no mobile: o botao flutuante ja cobre o contato */
  .header__zap { display: none; }

  /* o zap flutuante e fixo e cobriria a ultima linha do rodape:
     reserva a altura dele (~46px) mais a folga da borda */
  .rodape { padding-bottom: 96px; }

  /* --- Titulos centralizados e textos justificados no mobile --- */

  /* cabecalho de secao: eyebrow + titulo + texto de apoio, todos centrados.
     O max-width em ch precisa de margem automatica para centralizar. */
  .cabecalho-secao {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .titulo-secao {
    text-align: center;
    max-width: none;
    margin-inline: auto;
  }
  .texto-apoio {
    max-width: none;
    margin-inline: auto;
  }

  /* titulos das demais secoes */
  .cta-final__titulo,
  .escritorio__texto .eyebrow,
  .advogada__nome,
  .advogada__oab { text-align: center; }
  .advogada__corpo { align-items: center; }

  /* corpo de texto justificado. hyphens quebra palavras longas e evita
     os vaos brancos que a justificacao abre em tela estreita. */
  .texto-apoio,
  .cta-final__texto,
  .dor__card p,
  .area__texto,
  .etapa p,
  .diferencial p,
  .escritorio__texto p,
  .advogada__texto,
  .faq__resposta > div {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  /* a citacao em italico fica melhor alinhada a esquerda, com a barra dourada */
  .advogada__citacao { text-align: left; }
}

@media (max-width: 560px) {
  .container { padding-inline: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .secao { padding: 60px 0; }

  .logo img { height: 26px; }
  .logo--rodape img { height: 54px; }

  .hero__acoes { flex-direction: column; align-items: stretch; }
  .hero__acoes .btn { width: 100%; }
  .hero__credibilidade { flex-direction: column; gap: 12px; }

  .cabecalho-secao { margin-bottom: 40px; }
  .titulo-secao { max-width: none; }

  .diferencial { padding: 26px 22px; }
  .dor__card { padding: 28px 24px; }
  .area__titulo { font-size: 1.35rem; }

  .rodape__grid { grid-template-columns: 1fr; gap: 34px; }
  .rodape__base { flex-direction: column; align-items: flex-start; }

  .zap-flutuante {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 13px 18px;
    font-size: .85rem;
  }
  .faq__pergunta { font-size: 1.08rem; padding: 22px 0; }
}

/* --------------------------------------------------------------------------
   20. ACESSIBILIDADE — movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .revelar { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. IMPRESSÃO
   -------------------------------------------------------------------------- */
@media print {
  .header, .zap-flutuante, .hero__acoes, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
