/* ==========================================================================
   ELTON NASSER ADVOCACIA — FOLHA DE ESTILOS CSS
   Diretrizes: Design Editorial, Anti-AI Slop, Acabamentos Artesanais e Efeitos
   Paleta: Tons creme/linho, Bordô/Vinho nobre (#7b1113), Dourado champanhe (#a48b56)
   Tipografia: Fraunces (Display) + Poppins (Corpo institucional)
   ========================================================================== */

/* ─── 1. RESET E VARIÁVEIS DE DESIGN ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  /* Cores de Fundo e Superfície */
  --bg-principal:   #f9f8f5;
  --bg-card:        #ffffff;
  --bg-escuro:      #141110;

  /* Cores de Texto */
  --cor-texto:      #1f1b18;
  --cor-suave:      #686058;

  /* Identidade Visual / Acentos */
  --bordo:          #7b1113;
  --bordo-profundo: #5c0c0e;
  --bordo-hover:    #961518;
  --dourado-tom:    #a48b56;
  --dourado-claro:  #dcd2ba;
  --dourado-suave:  rgba(164, 139, 86, 0.15);

  /* Linhas e Bordas */
  --borda:          #e7e2d9;
  --borda-fina:     rgba(0, 0, 0, 0.06);
  --borda-suave:    rgba(123, 17, 19, 0.15);

  /* Sombras em Camadas (Soft Layered Shadows) */
  --sombra-card:    0 8px 24px -4px rgba(35, 31, 28, 0.05), 0 2px 6px -1px rgba(35, 31, 28, 0.03);
  --sombra-hover:   0 20px 40px -6px rgba(123, 17, 19, 0.1), 0 8px 16px -2px rgba(35, 31, 28, 0.04);

  /* Geometria e Arredondamentos */
  --raio-card:      14px;
  --raio-suave:     10px;
  --raio-botao:     8px;

  /* Layout */
  --max-largura:    1220px;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--cor-texto);
  background-color: var(--bg-principal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--bordo);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max-largura);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 3.8vw, 2.8rem);
}

/* ─── 2. BARRA DE PROGRESSO DE ROLAGEM ─────────────────────────────────── */
.barra-progresso {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--bordo), var(--dourado-tom));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ─── 3. CABEÇALHO / HEADER ───────────────────────────────────────────── */
.cabecalho {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(249, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cabecalho.rolado {
  background: rgba(249, 248, 245, 0.98);
  box-shadow: 0 10px 30px rgba(20, 17, 16, 0.05);
  border-bottom-color: rgba(231, 226, 217, 0.8);
}

.cabecalho__linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.cabecalho__logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform .2s ease;
}

.cabecalho__logo-link:hover {
  transform: translateY(-1px);
}

.cabecalho__logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(123, 17, 19, 0.15));
}

.cabecalho__logo-texto {
  display: flex;
  flex-direction: column;
}

.cabecalho__logo-nome {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bordo);
  letter-spacing: .02em;
  line-height: 1.15;
}

.cabecalho__logo-sub {
  font-size: .68rem;
  color: var(--cor-suave);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}

.cabecalho__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.cabecalho__menu a {
  font-size: .88rem;
  font-weight: 400;
  color: var(--cor-texto);
  transition: color .2s ease;
  position: relative;
  padding-block: .3rem;
}

.cabecalho__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--bordo);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cabecalho__menu a:hover {
  color: var(--bordo);
}

.cabecalho__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cabecalho__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--bordo);
  color: #fff !important;
  padding: .68rem 1.45rem;
  border-radius: var(--raio-botao);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(123, 17, 19, 0.2);
}

.cabecalho__btn:hover {
  background: var(--bordo-hover);
  box-shadow: 0 6px 18px rgba(123, 17, 19, 0.35);
  transform: translateY(-2px);
}

.cabecalho__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.cabecalho__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cor-texto);
  transition: all .2s ease;
}

/* ─── 4. HERO COM BACKGROUND, TEXTURA NOISE & DOUTOR EM CAMADA ────────── */
.hero {
  position: relative;
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background-image: url('hero-bg.webp'), url('hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--borda);
}

/* Overlay de textura grain / noise sutil para efeito editorial impresso */
.hero__textura-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.hero__pelicula {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 248, 245, 0.98) 0%,
    rgba(249, 248, 245, 0.95) 44%,
    rgba(249, 248, 245, 0.72) 62%,
    rgba(249, 248, 245, 0.15) 86%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__grade {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: flex-end;
  min-height: calc(100vh - 80px);
  padding-top: 2rem;
}

.hero__conteudo {
  align-self: center;
  padding-block: 4.5rem 5rem;
  max-width: 610px;
  animation: surgimentoTexto 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__etiqueta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem .95rem;
  border-radius: 50px;
  background: rgba(164, 139, 86, 0.12);
  border: 1px solid rgba(164, 139, 86, 0.25);
  color: var(--dourado-tom);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero__etiqueta-ponto {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dourado-tom);
}

.hero__titulo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 500;
  line-height: 1.14;
  color: var(--cor-texto);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.hero__descricao {
  font-size: clamp(.95rem, 1.25vw, 1.05rem);
  color: var(--cor-suave);
  line-height: 1.85;
  margin-bottom: 2.6rem;
}

.hero__botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Botões com Efeito Shimmer */
.btn-principal {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: var(--bordo);
  color: #fff;
  padding: .92rem 2.1rem;
  border-radius: var(--raio-botao);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(123, 17, 19, 0.28);
  overflow: hidden;
}

.btn-principal::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transition: left 0.6s ease;
}

.btn-principal:hover::before {
  left: 100%;
}

.btn-principal:hover {
  background: var(--bordo-hover);
  box-shadow: 0 10px 28px rgba(123, 17, 19, 0.38);
  transform: translateY(-2px);
}

.btn-principal svg {
  transition: transform .25s ease;
}

.btn-principal:hover svg {
  transform: translateX(4px);
}

.btn-secundario {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  color: var(--cor-texto);
  padding: .92rem 1.95rem;
  border-radius: var(--raio-botao);
  font-size: .88rem;
  font-weight: 500;
  border: 1px solid var(--borda);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secundario:hover {
  background: #ffffff;
  border-color: var(--bordo);
  color: var(--bordo);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Camada do Advogado */
.hero__camada-foto {
  position: relative;
  height: 100%;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: surgimentoFoto 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__foto-doutor {
  height: calc(100vh - 90px);
  max-height: 900px;
  min-height: 660px;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 45px rgba(20, 17, 16, 0.22)) drop-shadow(0 4px 15px rgba(123, 17, 19, 0.1));
  transform: translateY(4px);
  transition: transform 0.4s ease;
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* Cartão Flutuante (Glassmorphism + Levitação) */
.hero__credencial-flutuante {
  position: absolute;
  bottom: 3.5rem;
  left: -2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.1rem 1.6rem;
  border-radius: var(--raio-card);
  box-shadow: 0 16px 36px rgba(20, 17, 16, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--bordo);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: flutuacaoSuave 5s ease-in-out infinite;
  z-index: 10;
}

.hero__credencial-icone {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(123, 17, 19, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordo);
  flex-shrink: 0;
}

.hero__credencial-nome {
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cor-texto);
  line-height: 1.25;
}

.hero__credencial-detalhe {
  font-size: .76rem;
  color: var(--cor-suave);
  margin-top: .15rem;
}

@keyframes flutuacaoSuave {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes surgimentoTexto {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes surgimentoFoto {
  from { opacity: 0; transform: translateY(35px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── 5. DIVISOR DE SEÇÃO ORNAMENTAL COM MONOGRAMA "EN" ───────────────── */
.divisor-ornamental {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  position: relative;
  background: transparent;
}

.divisor-ornamental__linha {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(164, 139, 86, 0.4), transparent);
}

.divisor-ornamental__monograma {
  margin-inline: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dourado-tom);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bordo);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(164, 139, 86, 0.15);
  letter-spacing: 0.05em;
  user-select: none;
}

/* ─── 6. ÁREAS DE ATUAÇÃO COM MICRO-INTERAÇÕES REFORÇADAS ─────────────── */
.areas {
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  background: #ffffff;
  position: relative;
}

.bloco-topo {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.8rem;
}

.bloco-topo__subtitulo {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: .75rem;
  position: relative;
}

.bloco-topo__subtitulo::before,
.bloco-topo__subtitulo::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--dourado-tom);
  opacity: 0.5;
}

.bloco-topo__subtitulo::before { right: 100%; margin-right: 12px; }
.bloco-topo__subtitulo::after { left: 100%; margin-left: 12px; }

.bloco-topo__titulo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  font-weight: 500;
  color: var(--cor-texto);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.bloco-topo__texto {
  font-size: .95rem;
  color: var(--cor-suave);
  line-height: 1.85;
}

.areas__grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (min-width: 993px) {
  .areas__grade > .area-item:last-child:nth-child(3n + 1) {
    grid-column: 2 / 3;
  }
}

.area-item {
  background: var(--bg-principal);
  border: 1px solid var(--borda);
  border-radius: var(--raio-card);
  padding: 2.4rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.area-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bordo), var(--dourado-tom));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-item:hover::before {
  transform: scaleX(1);
}

.area-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
  border-color: var(--borda-suave);
  background: #ffffff;
}

/* Microinteração reforçada no ícone: escala e rotação sutil */
.area-item__icone {
  width: 52px;
  height: 52px;
  border-radius: var(--raio-suave);
  background: rgba(123, 17, 19, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--bordo);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-item:hover .area-item__icone {
  background: var(--bordo);
  color: #ffffff;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(123, 17, 19, 0.28);
}

.area-item__icone svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.6;
  transition: transform .35s ease;
}

.area-item__titulo {
  font-family: 'Fraunces', serif;
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--cor-texto);
  margin-bottom: .85rem;
  transition: color .2s ease;
}

.area-item:hover .area-item__titulo {
  color: var(--bordo);
}

.area-item__desc {
  font-size: .88rem;
  color: var(--cor-suave);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.area-item__link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--bordo);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  transition: gap .25s ease;
}

.area-item:hover .area-item__link {
  gap: .8rem;
}

/* ─── 6.1 MARCOS DA TRAJETÓRIA E CREDENCIAIS ───────────────────────── */
.trajetoria-secao {
  padding: clamp(4rem, 6.5vw, 6rem) 0;
  background: #ffffff;
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  position: relative;
}

.trajetoria-secao__grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

@media (max-width: 1024px) {
  .trajetoria-secao__grade {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .trajetoria-secao__grade {
    grid-template-columns: 1fr;
  }
}

/* ─── 7. O ESCRITÓRIO & ADVOGADO ───────────────────────────────────────── */
.sobre {
  padding: clamp(5.5rem, 9.5vw, 8rem) 0;
  background: var(--bg-principal);
  position: relative;
}

.sobre__grade {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 5.5vw, 5.5rem);
  align-items: center;
}

.sobre__coluna-foto {
  position: relative;
}

.sobre__moldura-fundo {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1.5px solid var(--dourado-tom);
  border-radius: var(--raio-card);
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
}

.sobre__moldura-foto {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: .85rem;
  border-radius: var(--raio-card);
  border: 1px solid var(--borda);
  box-shadow: 0 16px 40px rgba(20, 17, 16, 0.08);
}

.sobre__foto-advogado {
  width: 100%;
  border-radius: var(--raio-suave);
  display: block;
  object-fit: cover;
}

.sobre__selo {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  z-index: 3;
  background: linear-gradient(135deg, var(--bordo), var(--bordo-profundo));
  color: #fff;
  padding: .85rem 1.5rem;
  border-radius: var(--raio-suave);
  box-shadow: 0 8px 24px rgba(123, 17, 19, 0.35);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.sobre__subtitulo {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: .6rem;
}

.sobre__titulo {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 500;
  color: var(--cor-texto);
  line-height: 1.22;
  margin-bottom: 1.6rem;
}

.sobre__paragrafo {
  font-size: .92rem;
  color: var(--cor-suave);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.sobre__paragrafo strong {
  color: var(--cor-texto);
  font-weight: 500;
}

.sobre__marcos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--borda);
}

.marco-card {
  background: #ffffff;
  padding: 1.2rem 1.3rem;
  border-radius: var(--raio-suave);
  border: 1px solid var(--borda);
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: all .25s ease;
}

.marco-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  border-color: var(--dourado-tom);
}

.marco-card__icone {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(164, 139, 86, 0.12);
  color: var(--dourado-tom);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

.marco-card__titulo {
  font-size: .88rem;
  font-weight: 600;
  color: var(--cor-texto);
  line-height: 1.35;
}

.marco-card__detalhe {
  font-size: .78rem;
  color: var(--cor-suave);
  line-height: 1.5;
  margin-top: .25rem;
}

/* ─── 8. FAIXA EDITORIAL COM CONTADORES ANIMADOS ──────────────────────── */
.contadores {
  padding: 3rem 0;
  background: #ffffff;
  border-block: 1px solid var(--borda);
}

.contadores__grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.contador-item {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.contador-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%; right: 0;
  height: 70%;
  width: 1px;
  background: var(--borda);
}

.contador-item__numero {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 600;
  color: var(--bordo);
  line-height: 1;
  display: inline-block;
}

.contador-item__label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--cor-suave);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .6rem;
}

/* ─── 9. SEÇÃO DE CITAÇÃO EM DESTAQUE COM ASPAS DOURADAS ──────────────── */
.citacao-destaque {
  padding: clamp(5rem, 8.5vw, 7rem) 0;
  background: linear-gradient(180deg, #f9f8f5 0%, #f4f0e8 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.citacao-destaque__container {
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.citacao-destaque__aspas {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  color: var(--dourado-tom);
  line-height: 0.6;
  opacity: 0.6;
  display: block;
  margin-bottom: 1.5rem;
  user-select: none;
}

.citacao-destaque__texto {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cor-texto);
  line-height: 1.45;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.citacao-destaque__autor {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}

.citacao-destaque__autor-nome {
  font-size: .95rem;
  font-weight: 600;
  color: var(--bordo);
  letter-spacing: .04em;
}

.citacao-destaque__autor-cargo {
  font-size: .78rem;
  color: var(--cor-suave);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ─── 10. DIFERENCIAIS COM NUMERAIS EM MARCA D'ÁGUA ───────────────────── */
.diferenciais {
  padding: clamp(5rem, 8.5vw, 7rem) 0;
  background: #ffffff;
  position: relative;
}

.diferenciais__grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
}

.diferencial-card {
  position: relative;
  padding: 2.6rem 2.2rem;
  background: var(--bg-principal);
  border-radius: var(--raio-card);
  border: 1px solid var(--borda);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.diferencial-card__num {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(164, 139, 86, 0.16);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.diferencial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
  border-color: var(--borda-suave);
  background: #ffffff;
}

.diferencial-card__titulo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cor-texto);
  margin-bottom: .85rem;
  position: relative;
  z-index: 2;
}

.diferencial-card__texto {
  font-size: .88rem;
  color: var(--cor-suave);
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* ─── 11. ACCORDION DE PERGUNTAS FREQUENTES (FAQ) ─────────────────────── */
.faq {
  padding: clamp(5.5rem, 9.5vw, 8rem) 0;
  background: var(--bg-principal);
  position: relative;
}

.faq__grade {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: start;
}

.faq__chamada {
  position: sticky;
  top: 110px;
}

.faq__chamada-titulo {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 3.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.24;
  color: var(--cor-texto);
  margin-bottom: 1.2rem;
}

.faq__chamada-texto {
  font-size: .95rem;
  color: var(--cor-suave);
  line-height: 1.85;
  margin-bottom: 2.2rem;
}

.faq__lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  background: #ffffff;
  border: 1px solid var(--borda);
  border-radius: var(--raio-suave);
  overflow: hidden;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq__item[open] {
  border-color: var(--bordo);
  box-shadow: 0 8px 24px rgba(123, 17, 19, 0.07);
}

.faq__pergunta {
  padding: 1.3rem 1.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--cor-texto);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: color .2s ease;
}

.faq__pergunta:hover {
  color: var(--bordo);
}

.faq__pergunta::-webkit-details-marker { display: none; }

.faq__icone {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(123, 17, 19, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bordo);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  flex-shrink: 0;
}

.faq__item[open] .faq__icone {
  transform: rotate(45deg);
  background: var(--bordo);
  color: #ffffff;
}

.faq__resposta {
  padding: 0 1.5rem 1.4rem;
  font-size: .88rem;
  color: var(--cor-suave);
  line-height: 1.85;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 1rem;
}

/* ─── 12. CONTATO E FORMULÁRIO ────────────────────────────────────────── */
.contato {
  padding: clamp(5.5rem, 9.5vw, 8rem) 0;
  background: #ffffff;
}

.contato__grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.8rem);
  align-items: start;
}

.contato__info-bloco {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.contato__linha {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1rem;
  border-radius: var(--raio-suave);
  transition: background-color .2s ease;
}

.contato__linha:hover {
  background: var(--bg-principal);
}

.contato__icone-caixa {
  width: 48px;
  height: 48px;
  border-radius: var(--raio-suave);
  background: rgba(123, 17, 19, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordo);
  flex-shrink: 0;
}

.contato__detalhe-rotulo {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cor-suave);
  margin-bottom: .25rem;
}

.contato__detalhe-valor {
  font-size: .95rem;
  color: var(--cor-texto);
  font-weight: 400;
  line-height: 1.65;
}

.contato__detalhe-valor a:hover {
  color: var(--bordo);
}

.contato__formulario-caixa {
  background: var(--bg-principal);
  padding: clamp(2.2rem, 4.5vw, 3rem);
  border-radius: var(--raio-card);
  border: 1px solid var(--borda);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contato__form-titulo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cor-texto);
  margin-bottom: 1.6rem;
}

.campo-grupo {
  margin-bottom: 1.25rem;
}

.campo-rotulo {
  display: block;
  font-size: .74rem;
  font-weight: 500;
  color: var(--cor-texto);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.campo-input, .campo-select, .campo-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--borda);
  border-radius: 6px;
  padding: .8rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: var(--cor-texto);
  outline: none;
  transition: all .2s ease;
}

.campo-input:focus, .campo-select:focus, .campo-textarea:focus {
  border-color: var(--bordo);
  box-shadow: 0 0 0 3px rgba(123, 17, 19, 0.1);
}

.campo-textarea {
  resize: vertical;
  min-height: 110px;
}

.campo-btn-envio {
  width: 100%;
  background: var(--bordo);
  color: #fff;
  border: none;
  padding: .95rem;
  border-radius: var(--raio-botao);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .25s ease;
  margin-top: .6rem;
  box-shadow: 0 4px 14px rgba(123, 17, 19, 0.25);
}

.campo-btn-envio:hover {
  background: var(--bordo-hover);
  box-shadow: 0 6px 20px rgba(123, 17, 19, 0.35);
  transform: translateY(-2px);
}

.campo-privacidade {
  font-size: .72rem;
  color: var(--cor-suave);
  text-align: center;
  margin-top: .9rem;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--raio-botao);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.form-feedback.sucesso {
  display: block;
  background: rgba(123, 17, 19, 0.08);
  color: var(--bordo);
  border: 1px solid var(--borda-suave);
}

.form-feedback.erro {
  display: block;
  background: #fdf2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ─── 13. MAPA INTEGRADO ──────────────────────────────────────────────── */
.mapa-container {
  width: 100%;
  height: 400px;
  border-top: 1px solid var(--borda);
  position: relative;
}

.mapa-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(12%) contrast(1.02);
}

/* ─── 14. RODAPÉ INSTITUCIONAL ────────────────────────────────────────── */
.rodape {
  background: var(--bg-escuro);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(4rem, 6.5vw, 5.5rem) 0 2.2rem;
}

.rodape__grade {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.8rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rodape__coluna:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 2rem;
}

.rodape__logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.rodape__sobre {
  font-size: .84rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
}

.rodape__titulo-col {
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.3rem;
}

.rodape__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.rodape__links a {
  font-size: .84rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all .2s ease;
  display: inline-block;
}

.rodape__links a:hover {
  color: var(--dourado-claro);
  transform: translateX(3px);
}

.rodape__info {
  font-size: .84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
}

.rodape__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.2rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, 0.38);
  flex-wrap: wrap;
  gap: 1rem;
}

.rodape__base-oab {
  color: var(--dourado-claro);
  letter-spacing: .08em;
  font-weight: 500;
}

/* ─── 15. BOTÃO FLUTUANTE DE WHATSAPP COM EFEITO PULSE / GLOW ─────────── */
.btn-whatsapp-flutuante {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseGlowWhatsapp 2.8s infinite;
  text-decoration: none;
}

.btn-whatsapp-flutuante:hover {
  transform: scale(1.08) translateY(-3px);
  background: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-flutuante svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.btn-whatsapp-flutuante__tooltip {
  position: absolute;
  right: 70px;
  background: rgba(20, 17, 16, 0.92);
  color: #ffffff;
  padding: .5rem .95rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all .25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-flutuante:hover .btn-whatsapp-flutuante__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulseGlowWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.35);
  }
}

/* ─── 16. SCROLL REVEAL (MICRO-INTERAÇÕES NATIVAS) ────────────────────── */
.revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.revelar.ativo {
  opacity: 1;
  transform: translateY(0);
}

.rodape__base-privacidade a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.rodape__base-privacidade a:hover {
  color: var(--dourado-claro);
}

/* ─── 16. MODAL POLÍTICA DE PRIVACIDADE (LGPD) ────────────────────────── */
.modal-lgpd {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(20, 17, 16, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-lgpd.ativo {
  display: flex;
  opacity: 1;
}

.modal-lgpd__conteudo {
  background: #ffffff;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  border-radius: var(--raio-card);
  border: 1px solid var(--borda);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: surgimentoModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes surgimentoModal {
  from { transform: translateY(20px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

.modal-lgpd__topo {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--borda);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-principal);
}

.modal-lgpd__titulo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cor-texto);
}

.modal-lgpd__fechar {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cor-suave);
  cursor: pointer;
  padding: .3rem .6rem;
  border-radius: 4px;
  transition: all .2s ease;
}

.modal-lgpd__fechar:hover {
  color: var(--bordo);
  background: rgba(123, 17, 19, 0.08);
}

.modal-lgpd__corpo {
  padding: 1.8rem;
  overflow-y: auto;
  font-size: .88rem;
  line-height: 1.85;
  color: var(--cor-suave);
}

.modal-lgpd__corpo h4 {
  font-family: 'Fraunces', serif;
  color: var(--cor-texto);
  font-size: 1rem;
  margin-top: 1.2rem;
  margin-bottom: .4rem;
}

.modal-lgpd__corpo p {
  margin-bottom: .9rem;
}

/* ─── 17. RESPONSIVIDADE E BREAKPOINTS ────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grade {
    grid-template-columns: 1fr;
    padding-top: 1rem;
    min-height: auto;
  }
  .hero__conteudo {
    padding-block: 3rem 0.8rem;
  }
  .hero__pelicula {
    background: linear-gradient(
      180deg,
      rgba(249, 248, 245, 0.98) 0%,
      rgba(249, 248, 245, 0.94) 58%,
      rgba(249, 248, 245, 0.8) 100%
    );
  }
  .hero__camada-foto {
    min-height: auto;
    margin-top: 0.25rem;
    height: auto;
  }
  .hero__foto-doutor {
    height: clamp(520px, 72vh, 700px);
    max-height: 700px;
    min-height: 520px;
  }
  .hero__credencial-flutuante {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 1.2rem;
    width: calc(100% - 2.5rem);
    max-width: 330px;
    white-space: normal;
    animation: none !important;
    padding: .8rem 1.1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: .75rem;
  }
  .hero__credencial-icone {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .hero__credencial-nome {
    font-size: .88rem;
    line-height: 1.25;
    white-space: normal;
  }
  .hero__credencial-detalhe {
    font-size: .72rem;
    line-height: 1.3;
    white-space: normal;
  }
  .areas__grade {
    grid-template-columns: repeat(2, 1fr);
  }
  .sobre__grade, .faq__grade, .contato__grade {
    grid-template-columns: 1fr;
  }
  .faq__chamada {
    position: static !important;
    top: auto !important;
    margin-bottom: 2.5rem;
  }
  .sobre__moldura-fundo {
    inset: 12px -12px -12px 12px;
  }
  .rodape__grade {
    grid-template-columns: 1fr 1fr;
  }
  .rodape__coluna:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }
  .contadores__grade {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cabecalho__menu { display: none; }
  .cabecalho__burger { display: flex; }
  .cabecalho__btn { display: none; }
  .hero__conteudo {
    padding-block: 2.2rem 0.5rem;
  }
  .hero__botoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
  }
  .hero__botoes .btn-principal,
  .hero__botoes .btn-secundario {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  .diferenciais__grade {
    grid-template-columns: 1fr;
  }
  .areas__grade {
    grid-template-columns: 1fr;
  }
  .hero__camada-foto {
    min-height: auto;
    margin-top: 0;
  }
  .hero__foto-doutor {
    height: clamp(460px, 68vh, 600px);
    max-height: 600px;
    min-height: 460px;
  }
  .hero__credencial-flutuante {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 1rem;
    width: calc(100% - 2rem);
    max-width: 310px;
    padding: .7rem .95rem;
    animation: none !important;
  }
  .hero__credencial-icone {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .hero__credencial-icone svg {
    width: 16px;
    height: 16px;
  }
  .hero__credencial-nome {
    font-size: .85rem;
  }
  .hero__credencial-detalhe {
    font-size: .68rem;
  }
  .sobre__marcos {
    grid-template-columns: 1fr;
  }
  .faq__chamada {
    position: static !important;
    top: auto !important;
    margin-bottom: 2rem;
  }
  .rodape__grade {
    grid-template-columns: 1fr;
  }
  .contadores__grade {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contador-item:not(:last-child)::after {
    display: none;
  }
  .btn-whatsapp-flutuante {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 52px;
    height: 52px;
  }
  .btn-whatsapp-flutuante svg {
    width: 26px;
    height: 26px;
  }
}
