/* ==========================================================================
   Marcelo Monteiro Advocacia — Landing Page Institucional
   Identidade Visual: Preto Profundo (#0e0d0c) & Laranja Cobre (#b5541f) Predominantes,
   equilibrados com seções em Branco e Off-White elegante para clareza e contraste.
   ========================================================================== */

/* ---------- Variáveis Globais do Design System ---------- */
:root {
  /* Cores Neutras Escuras (Base Institucional de Autoridade) */
  --black: #0e0d0c;         /* Preto profundo para o hero, metodologia e rodapé */
  --black-soft: #161513;    /* Preto suave para seções de contraste escuro */
  --charcoal: #22201d;      /* Cor de fundo para cartões e contêineres escuros */

  /* Cores Claras Amenizadoras (Para Leveza Visual e Ritmo de Leitura) */
  --white: #ffffff;         /* Fundo branco puro para seções de destaque em clareza */
  --off-white: #f7f4ef;     /* Fundo off-white refinado para amenizar seções institucionais */
  --stone: #e7e1d6;         /* Tom pedra para contornos suaves em fundo claro */
  --stone-line: #d8d0c0;    /* Linhas divisórias em seções claras */
  --text-muted: #6b6459;    /* Texto secundário em seções claras */

  /* Cores de Destaque Primário da Marca (Nova Tonalidade de Laranja #f83801) */
  --orange: #f83801;        /* Tom principal de laranja vibrante da marca (#f83801) */
  --orange-dark: #c92d00;   /* Tom de laranja mais escuro para efeitos de hover e sombras */
  --orange-light: #ff5e30;  /* Tom de laranja reluzente para destaques, ícones e badges */
  --orange-tint: #fff0ec;   /* Fundo suave em tom laranja para caixas e ícones em seções claras */

  /* Verde Exclusivo para Conversão via WhatsApp */
  --green: #1e7a46;
  --green-dark: #155a34;

  /* Tipografia Institucional Premium */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Dimensões e Elevação */
  --container: 1180px;
  --radius: 3px;
  --shadow-soft: 0 16px 40px rgba(14, 13, 12, 0.08);
  --shadow-card: 0 6px 18px rgba(14, 13, 12, 0.06);
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset Global e Estilos Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: #1a1815;
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* Títulos Padronizados com Serif Clássica */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.01em;
}

p {
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: none;
  hyphens: none;
}

/* Container de Largura Centralizada */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Espaçamento Vertical Padrão das Seções */
section {
  padding: 100px 0;
}

/* ---------- Animações de Entrada ao Rolar (Scroll Reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.85s var(--ease-premium), transform 0.85s var(--ease-premium);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cascata Suave para Elementos em Grupo */
.hero-content .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.16s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.27s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.38s; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.2s; }

/* Efeitos de cascata para animações de entrada dos cartões de atuação */
.practice-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.practice-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.practice-grid .reveal:nth-child(3) { transition-delay: 0.10s; }
.practice-grid .reveal:nth-child(4) { transition-delay: 0.14s; }
.practice-grid .reveal:nth-child(5) { transition-delay: 0.18s; }
.practice-grid .reveal:nth-child(6) { transition-delay: 0.22s; }
.practice-grid .reveal:nth-child(7) { transition-delay: 0.26s; }
.practice-grid .reveal:nth-child(8) { transition-delay: 0.30s; }
.practice-grid .reveal:nth-child(9) { transition-delay: 0.34s; }

.methodology-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.methodology-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.methodology-grid .reveal:nth-child(3) { transition-delay: 0.18s; }
.methodology-grid .reveal:nth-child(4) { transition-delay: 0.26s; }

.diff-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.diff-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.diff-grid .reveal:nth-child(3) { transition-delay: 0.18s; }
.diff-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.diff-grid .reveal:nth-child(5) { transition-delay: 0.34s; }

/* ---------- Botões Interativos Institucionais ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease-premium), box-shadow 0.45s var(--ease-premium),
    background-color 0.45s var(--ease-premium), border-color 0.45s var(--ease-premium);
  white-space: nowrap;
}

/* Efeito de Reflexo Reluzente (Shimmer Effect) ao Passar o Mouse */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.25) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-premium);
}
.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-3px);
}
.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.15s;
}

/* Botão Primário Laranja Cobre */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--black);
  border-color: var(--black);
  box-shadow: 0 12px 28px rgba(14, 13, 12, 0.3);
}

/* Botão Secundário WhatsApp (Verde Exclusivo de Conversão) */
.btn-whatsapp {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-whatsapp:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(21, 90, 52, 0.3);
}

/* Botão Reduzido para o Cabeçalho Fixo */
.btn-header {
  padding: 10px 20px;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Cabeçalho Fixo (Header & Navegação) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 13, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
}

/* Expansão da largura do contêiner especificamente no cabeçalho para proporcionar espaçamento fluido aos 8 itens de menu */
.site-header .container {
  max-width: 1360px;
}

/* Faixa Laranja Cobre Iluminada no Topo do Header */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange), var(--orange-light));
  z-index: 1;
}

/* Estado do Cabeçalho ao Rolar a Página */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(14, 13, 12, 0.08);
}

/* Alinhamento flexível e espaçamento interno do cabeçalho */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Marca e Logotipo Oficial no Cabeçalho */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Estilo base para as imagens de logotipo no cabeçalho */
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}
/* Efeito de destaque discreto ao passar o mouse sobre o logotipo */
.brand:hover .brand-logo {
  transform: scale(1.03);
}

/* Exibe a logo branca quando o cabeçalho está no topo (fundo escuro/transparente) */
.site-header .logo-white {
  display: block;
}
.site-header .logo-color {
  display: none;
}
/* Exibe a logo colorida quando o cabeçalho é rolado e ganha fundo claro */
.site-header.scrolled .logo-white {
  display: none;
}
.site-header.scrolled .logo-color {
  display: block;
}

/* Navegação Principal com espaçamento otimizado para não amontoar os links */
.main-nav {
  display: flex;
  gap: 14px;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.main-nav a {
  font-size: 0.81rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  position: relative;
  padding: 6px 8px;
  white-space: nowrap;
  transition: var(--transition);
}
.site-header.scrolled .main-nav a {
  color: #1a1815;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.main-nav a:hover::after {
  width: calc(100% - 16px);
}
.main-nav a:hover {
  color: var(--orange-light);
}
.site-header.scrolled .main-nav a:hover {
  color: var(--orange);
}

/* Botão Hambúrguer Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-premium), opacity 0.3s var(--ease-premium), background-color 0.4s var(--ease-premium);
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span {
  background: var(--black);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- SEÇÃO 1 — Hero (DESTAQUE COM IMAGEM DE FUNDO SEM OVERLAY) ---------- */
/* Configuração da seção Hero: fundo preto preenchendo atrás do header com a imagem iniciando exatamente abaixo dele */
.hero {
  position: relative;
  margin-top: 0; /* Inicia no topo y=0 para cobrir o fundo do header fixo com cor preta sem deixar faixa branca */
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--black); /* Fundo preto garantido atrás do header e ao redor da imagem */
  background-image: url('../assets/hero.png');
  background-size: cover;
  background-position: center 76px; /* Posiciona o topo da imagem exatamente 76px abaixo do topo (logo abaixo do cabeçalho) */
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Camada de overlay ocultada para remover qualquer efeito sobreposto */
.hero-overlay {
  display: none;
}
/* Container de conteúdo principal do Hero posicionado à esquerda no desktop com margem de respiro */
.hero-content {
  position: relative;
  max-width: 750px; /* Limita a largura para concentrar o texto no lado esquerdo sem cobrir a imagem no desktop */
  margin-left: 48px; /* Margem à esquerda para afastar o texto da borda da tela */
  margin-right: auto;
  padding-top: 140px;
  padding-bottom: 80px;
}
.eyebrow {
  color: var(--orange-light);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1.18;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- SEÇÃO 2 — Números de Impacto (PRETO & LARANJA) ---------- */
.stats {
  background: var(--black-soft);
  border-top: 1px solid rgba(181, 84, 31, 0.25);
  border-bottom: 1px solid rgba(181, 84, 31, 0.25);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--orange);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease-premium), border-color 0.45s var(--ease-premium);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange-light);
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--orange-light);
  margin-bottom: 8px;
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ---------- Cabeçalhos de Seção Padronizados ---------- */
.section-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-eyebrow::before {
  content: '';
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.9s var(--ease-premium) 0.15s;
}
.reveal.is-visible .section-eyebrow::before {
  width: 32px;
}
.section-head {
  max-width: 660px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ---------- SEÇÃO 3 — Sobre o Advogado (AMENIZADA EM OFF-WHITE) ---------- */
.about {
  background: var(--off-white);
}
.about .section-head h2 {
  color: var(--black);
}
/* Layout de grade da seção sobre com a coluna da foto ampliada para 420px */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr; /* Coluna da imagem expandida de 300px para 420px para maior destaque */
  gap: 64px;
  align-items: start;
}
.about-portrait {
  position: sticky;
  top: 120px;
}
/* Moldura com borda e acabamento refinado para a imagem da seção sobre */
.portrait-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--black);
  border: 1px solid var(--orange);
  outline: 1px solid var(--stone-line);
  outline-offset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Garante que a imagem não ultrapasse as bordas da moldura */
  transition: outline-offset 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
}
/* Efeito de destaque no hover da moldura do retrato */
.portrait-frame:hover {
  outline-offset: 14px;
  box-shadow: 0 20px 40px rgba(14, 13, 12, 0.16);
}
/* Estilo da imagem do advogado na seção sobre (configurada em preto e branco conforme solicitação da segunda dobra) */
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta a imagem proporcionalmente sem distorcer */
  object-position: center top; /* Centraliza o enquadramento no rosto */
  filter: grayscale(100%); /* Aplica o filtro de preto e branco à foto do advogado na segunda dobra */
  transition: transform 0.6s var(--ease-premium), filter 0.6s var(--ease-premium); /* Transição suave para interação visual */
}
/* Leve efeito de zoom na imagem ao passar o mouse sobre a moldura */
.portrait-frame:hover .portrait-img {
  transform: scale(1.04);
}
.portrait-caption {
  margin-top: 24px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portrait-caption strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--black);
}
.portrait-caption span {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.about-content h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin: 12px 0 20px;
  line-height: 1.3;
  color: var(--black);
}
.about-content > p {
  color: #1a1815;
  margin-bottom: 28px;
  max-width: 640px;
}

/* Linha do Tempo da Trajetória em Fundo Claro */
.timeline {
  border-left: 2px solid var(--orange);
  margin: 32px 0 32px 4px;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.timeline li {
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.timeline-year {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--black);
}
.timeline p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 560px;
}

/* ---------- SEÇÃO 4 — ÁREAS DE ATUAÇÃO (CARTÕES FLUTUANTES PREMIUM) ---------- */
.practice {
  background: var(--off-white);
}
.practice .section-head h2 {
  color: var(--black);
}

/* Grade de Cartões Flutuantes com Espaçamento de 28px */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  background: transparent;
  border: none;
}

/* Cartão Tridimensional com Sombra e Linha Superior em Laranja Cobre */
.practice-card {
  position: relative;
  background: var(--white);
  padding: 38px 30px;
  border: 1px solid var(--stone-line);
  border-top: 3.5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(14, 13, 12, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.45s var(--ease-premium), box-shadow 0.45s var(--ease-premium), border-color 0.45s var(--ease-premium);
}

/* Efeito Hover de Elevação Flutuante com Sombra de Destaque */
.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(181, 84, 31, 0.15), 0 8px 16px rgba(14, 13, 12, 0.08);
  border-color: var(--orange);
}

/* Cabeçalho do Cartão com Ícone e Numeração Ordinal */
.practice-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* Número Ordinal Decorativo (01 a 08) */
.practice-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--orange);
  opacity: 0.75;
  transition: transform 0.45s var(--ease-premium), opacity 0.45s var(--ease-premium);
}
.practice-card:hover .practice-number {
  transform: scale(1.15);
  opacity: 1;
}

/* Ícone Vetorial com Aura Laranja */
.practice-icon {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--orange);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.5s var(--ease-premium), background-color 0.5s var(--ease-premium);
}
.practice-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  z-index: -1;
  background: var(--orange-tint);
  border-radius: 50%;
  transition: background-color 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
}
.practice-card:hover .practice-icon {
  background-color: var(--white);
  transform: rotate(-6deg) scale(1.08);
}
.practice-card:hover .practice-icon::before {
  background-color: var(--orange);
  transform: scale(1.1);
}

/* Título e Texto do Cartão */
.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--black);
}
.practice-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Link Indicador no Rodapé do Cartão */
.practice-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.4s var(--ease-premium), color 0.4s var(--ease-premium);
}
.practice-card:hover .practice-link {
  color: var(--black);
  transform: translateX(6px);
}

/* Máscaras dos Ícones SVG */
.practice-icon[data-icon="balance"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M12 3v18M5 21h14M12 3l-6 4M12 3l6 4M3 7l3 6a3 3 0 0 0 6 0L9 7M15 7l3 6a3 3 0 0 0 6 0l-3-6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M12 3v18M5 21h14M12 3l-6 4M12 3l6 4M3 7l3 6a3 3 0 0 0 6 0L9 7M15 7l3 6a3 3 0 0 0 6 0l-3-6'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="shield"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 8.7-8 11-4.6-2.3-8-6-8-11V5l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 8.7-8 11-4.6-2.3-8-6-8-11V5l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="document"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M7 2h7l5 5v15H7z'/%3E%3Cpath d='M14 2v5h5M9 12h6M9 16h6M9 8h2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M7 2h7l5 5v15H7z'/%3E%3Cpath d='M14 2v5h5M9 12h6M9 16h6M9 8h2'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="chart"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M3 21h18M6 21V10M12 21V4M18 21v-7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M3 21h18M6 21V10M12 21V4M18 21v-7'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="column"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M4 21h16M5 21V9M9 21V9M15 21V9M19 21V9M3 9l9-6 9 6M5 9h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M4 21h16M5 21V9M9 21V9M15 21V9M19 21V9M3 9l9-6 9 6M5 9h14'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="podium"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M4 21V11l8-3 8 3v10M4 21h16M9 21v-6h6v6'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M4 21V11l8-3 8 3v10M4 21h16M9 21v-6h6v6'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="handshake"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M2 12l5-5 4 3 3-3 5 5M2 12l4 4 3-2M22 12l-4 4-3-2M9 10l3 3 3-3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M2 12l5-5 4 3 3-3 5 5M2 12l4 4 3-2M22 12l-4 4-3-2M9 10l3 3 3-3'/%3E%3C/svg%3E");
}
.practice-icon[data-icon="lock"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Crect x='5' y='11' width='14' height='10' rx='1'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Ccircle cx='12' cy='16' r='1.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Crect x='5' y='11' width='14' height='10' rx='1'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Ccircle cx='12' cy='16' r='1.5'/%3E%3C/svg%3E");
}
/* Ícone SVG exclusivo para o Serviço 09 — Crimes Sensíveis (Escudo de proteção pessoal e inviolabilidade) */
.practice-icon[data-icon="sensitive"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 8.7-8 11-4.6-2.3-8-6-8-11V5l8-3z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3Cpath d='M8 15.5c0-2.2 1.8-3.5 4-3.5s4 1.3 4 3.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 8.7-8 11-4.6-2.3-8-6-8-11V5l8-3z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3Cpath d='M8 15.5c0-2.2 1.8-3.5 4-3.5s4 1.3 4 3.5'/%3E%3C/svg%3E");
}


/* ---------- SEÇÃO 5 — Metodologia Defensiva (PRETO & LARANJA) ---------- */
.methodology {
  background: var(--black);
}
.methodology .section-head h2 {
  color: var(--white);
}
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.method-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 28px;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.45s var(--ease-premium), border-color 0.45s var(--ease-premium);
}
.method-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}
.method-step {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--orange-light);
  font-weight: 600;
  margin-bottom: 16px;
}
.method-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 12px;
}
.method-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ---------- SEÇÃO 6 — Diferenciais em 5 Colunas (PRETO & LARANJA) ---------- */
.differentiators {
  background: var(--black-soft);
  border-top: 1px solid rgba(181, 84, 31, 0.2);
  border-bottom: 1px solid rgba(181, 84, 31, 0.2);
}
.differentiators .section-head h2 {
  color: var(--white);
}
.differentiators .section-eyebrow {
  color: var(--orange-light);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.diff-item {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--orange);
  padding: 28px 20px;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-premium), border-color 0.5s var(--ease-premium);
}
.diff-item:hover {
  transform: translateY(-5px);
  border-color: var(--orange-light);
}
.diff-number {
  display: block;
  font-family: var(--font-serif);
  color: var(--orange-light);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  transition: transform 0.5s var(--ease-premium);
}
.diff-item:hover .diff-number {
  transform: translateX(4px);
}
.diff-item h3 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.diff-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- SEÇÃO 7 — Na Imprensa (AMENIZADA EM OFF-WHITE) ---------- */
.press {
  background: var(--off-white);
}
.press .section-head h2 {
  color: var(--black);
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.press-card {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-top: 3px solid var(--orange);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--radius);
  transition: box-shadow 0.5s var(--ease-premium), transform 0.5s var(--ease-premium),
    border-color 0.5s var(--ease-premium);
}
.press-card:hover {
  box-shadow: 0 18px 28px -16px rgba(14, 13, 12, 0.3), 0 6px 10px -8px rgba(14, 13, 12, 0.15);
  transform: translateY(-6px);
  border-color: var(--orange);
}
.press-outlet {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  font-weight: 600;
  border-radius: 2px;
}
.press-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.press-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 4px 0 10px;
  flex: 1;
  color: var(--black);
}
.press-link {
  font-size: 0.84rem;
  color: var(--black);
  letter-spacing: 0.04em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.4s var(--ease-premium), color 0.4s var(--ease-premium);
}
.press-card:hover .press-link {
  color: var(--orange);
  transform: translateX(6px);
}

/* ---------- SEÇÃO 8 — Perguntas Frequentes (AMENIZADA EM BRANCO) ---------- */
.faq-section {
  background: var(--white);
}
.faq-section .section-head h2 {
  color: var(--black);
}
.faq-accordion {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--off-white);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s var(--ease-premium);
}
.faq-item.active {
  border-color: var(--orange);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--black);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.35s var(--ease-premium);
}
.faq-trigger:hover {
  color: var(--orange);
}
.faq-icon {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform 0.4s var(--ease-premium);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--orange);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  transition: max-height 0.45s var(--ease-premium), padding 0.45s var(--ease-premium);
}
.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}
.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- SEÇÃO 9 — Contato (AMENIZADA EM OFF-WHITE) ---------- */
.contact {
  background: var(--off-white);
}
.contact .section-head h2 {
  color: var(--black);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--stone-line);
  padding-bottom: 16px;
}
.contact-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.contact-details span,
.contact-details a {
  color: var(--black-soft);
  font-size: 0.96rem;
}
.contact-details a {
  transition: color 0.35s var(--ease-premium);
}
.contact-details a:hover {
  color: var(--orange);
}

.map-embed {
  margin-top: 40px;
  border: 1px solid var(--stone-line);
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(40%) contrast(1.05);
}

/* Container do Formulário Limpo */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--stone-line);
  border-top: 3px solid var(--orange);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(14, 13, 12, 0.06);
}
.form-field {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  padding: 14px 16px;
  border: 1px solid var(--stone-line);
  background: var(--white);
  color: var(--black-soft);
  border-radius: var(--radius);
  resize: vertical;
  transition: border-color 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(181, 84, 31, 0.12);
  transform: translateY(-1px);
}
.form-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}
.form-feedback {
  margin-top: 16px;
  font-size: 0.88rem;
  min-height: 1.2em;
}
.form-feedback.success { color: var(--green); }
.form-feedback.error { color: var(--orange-dark); }

/* ---------- Rodapé Institucional Premium (.site-footer - PRETO & LARANJA) ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 36px;
  border-top: 1px solid rgba(181, 84, 31, 0.25);
  position: relative;
}

/* Grade principal do rodapé em 4 colunas */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

/* Coluna individual do rodapé */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* Coluna da marca e apresentação institucional */
.footer-col-brand .footer-brand-link {
  display: inline-block;
  margin-bottom: 20px;
}
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer-about {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.footer-oab {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--orange-light);
  font-weight: 600;
}

/* Títulos das colunas no rodapé com sublinhado decorativo em laranja */
.footer-title {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

/* Lista de links de navegação rápida */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--orange-light);
  transform: translateX(4px);
}

/* Endereço e informações de contato no rodapé */
.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}
.footer-address strong {
  color: var(--white);
}
.footer-contact-item {
  margin-top: 12px;
}
.footer-contact-item a {
  color: var(--orange-light);
  font-weight: 500;
  transition: color 0.3s var(--ease-premium);
}
.footer-contact-item a:hover {
  color: var(--white);
}
.btn-footer {
  padding: 10px 18px;
  font-size: 0.82rem;
  align-self: flex-start;
}

/* Parte inferior do rodapé (disclaimer, copyright e voltar ao topo) */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-bottom-info {
  max-width: 840px;
}
.footer-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Botão para retorno suave ao topo da página */
.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(181, 84, 31, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s var(--ease-premium);
  flex-shrink: 0;
}
.back-to-top:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(181, 84, 31, 0.3);
}

/* ---------- Botão Flutuante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(30, 122, 70, 0.4);
  z-index: 90;
  transition: transform 0.4s var(--ease-premium), background-color 0.4s var(--ease-premium);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: pulse-ring 2.6s var(--ease-premium) infinite;
}
.whatsapp-float:hover {
  background: var(--green-dark);
  transform: scale(1.08);
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  80% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  background-color: var(--white);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12c0 1.9.5 3.7 1.5 5.3L2 22l4.9-1.3c1.5.8 3.2 1.3 5.1 1.3 5.5 0 10-4.5 10-10S17.5 2 12 2zm0 18.2c-1.7 0-3.3-.5-4.7-1.3l-.3-.2-3 .8.8-2.9-.2-.3C3.7 15 3.2 13.5 3.2 12c0-4.8 3.9-8.7 8.7-8.7s8.7 3.9 8.7 8.7-3.8 8.9-8.6 8.9zm4.8-6.5c-.3-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8 1-.1.2-.3.2-.5.1-.3-.1-1.2-.4-2.2-1.4-.8-.7-1.4-1.6-1.5-1.9-.2-.3 0-.4.1-.6.1-.1.3-.3.4-.5.1-.1.2-.3.2-.4.1-.2 0-.4 0-.5-.1-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.5H8c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s1 2.5 1.1 2.7c.1.2 2 3 4.7 4.2.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2 0-.2-.2-.2-.5-.4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12c0 1.9.5 3.7 1.5 5.3L2 22l4.9-1.3c1.5.8 3.2 1.3 5.1 1.3 5.5 0 10-4.5 10-10S17.5 2 12 2zm0 18.2c-1.7 0-3.3-.5-4.7-1.3l-.3-.2-3 .8.8-2.9-.2-.3C3.7 15 3.2 13.5 3.2 12c0-4.8 3.9-8.7 8.7-8.7s8.7 3.9 8.7 8.7-3.8 8.9-8.6 8.9zm4.8-6.5c-.3-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8 1-.1.2-.3.2-.5.1-.3-.1-1.2-.4-2.2-1.4-.8-.7-1.4-1.6-1.5-1.9-.2-.3 0-.4.1-.6.1-.1.3-.3.4-.5.1-.1.2-.3.2-.4.1-.2 0-.4 0-.5-.1-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.5H8c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s1 2.5 1.1 2.7c.1.2 2 3 4.7 4.2.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.5-.1 1.5-.6 1.8-1.2.2-.6.2-1.1.1-1.2 0-.2-.2-.2-.5-.4z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Estilos Responsivos para Dispositivos Móveis e Tablets
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .methodology-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Transição responsiva para o menu mobile quando a tela for menor que 1120px para evitar sobreposição */
@media (max-width: 1120px) {
  .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black);
    padding: 0 24px;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.5s var(--ease-premium), opacity 0.35s var(--ease-premium), padding 0.5s var(--ease-premium);
    border-bottom: 1px solid var(--orange);
  }
  .nav-toggle { display: flex; }
  .main-nav.open {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
    padding: 24px;
  }
  /* Garante que os links do menu suspenso móvel permaneçam brancos e legíveis sobre o fundo escuro ao rolar */
  .site-header.scrolled .main-nav a {
    color: var(--white);
  }
  .site-header.scrolled .main-nav a:hover {
    color: var(--orange-light);
  }
  /* Configuração da seção hero no mobile: fundo preto sob o header com a imagem mobile.png iniciando 72px abaixo do topo */
  .hero {
    margin-top: 0; /* Preenche a área do header com fundo preto sem deixar margem branca */
    background-color: var(--black); /* Fundo preto garantido até o topo da tela */
    background-image: url('../assets/mobile.png');
    background-size: 100% auto;
    background-position: center 72px; /* A foto do advogado inicia exatamente 72px abaixo do topo (logo abaixo do header) */
    background-repeat: no-repeat;
    min-height: auto;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: clamp(340px, 85vw, 500px); /* Espaçamento ajustado para o texto iniciar logo após a imagem */
    padding-bottom: 60px;
  }
  .about-grid { grid-template-columns: 1fr; }
  /* Largura ampliada do retrato institucional em telas menores para melhor visibilidade */
  .about-portrait { position: static; width: 360px; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  /* Grade do rodapé ajustada para 2 colunas em tablets */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .btn-header { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .methodology-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  /* Ajuste de tamanho das logos para telas pequenas de dispositivos móveis */
  .brand-logo { height: 36px; }
  .footer-logo { height: 42px; }
  /* Grade do rodapé em coluna única para celulares e alinhamento do rodapé inferior */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ==========================================================================
   SEÇÃO DE PROVA SOCIAL EM VÍDEO — CASOS DE DEFESA & ATUAÇÃO EM PLENÁRIO
   Estilização luxuosa com fundo escuro de alto contraste (--black-soft),
   molduras refinadas com destaque em tom cobre (--orange) e design responsivo.
   ========================================================================== */

/* Estilo do container da seção de vídeos com fundo escuro e elegância institucional */
.video-cases {
  background-color: var(--black-soft);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modificador para o subtítulo decorativo em fundo escuro */
.section-head-light .section-eyebrow {
  color: var(--orange-light);
}

/* Modificador para o título principal h2 em fundo escuro */
.section-head-light h2 {
  color: var(--white);
}

/* Modificador para o parágrafo introdutório da seção em fundo escuro */
.section-head-light .section-lead {
  color: #c5bfb4;
}

/* Grade CSS Grid para exibição dos 6 cards de vídeo em 3 colunas padrão no Desktop */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Card individual de vídeo com moldura luxuosa e elevação ao passar o mouse */
.video-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Efeito hover de destaque no card de vídeo com a nova sombra em tom #f83801 */
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(248, 56, 1, 0.25);
}

/* Wrapper do vídeo com proporção e controle de visualização */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  overflow: hidden;
}

/* Estilo do elemento video HTML5 para preencher o contêiner com qualidade */
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: none;
}

/* Badge flutuante decorativa com a tag do tipo de atuação jurídica e borda na nova cor #f83801 */
.video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 13, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--orange-light);
  border: 1px solid rgba(248, 56, 1, 0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}

/* Área de informações descritivas abaixo do player de vídeo */
.video-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Título de cada card de vídeo em fonte Garamond clássica */
.video-info h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

/* Descrição descritiva do caso no card de vídeo */
.video-info p {
  font-size: 14px;
  color: #a8a095;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* Ajustes de responsividade para telas de Tablet (até 1024px) */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Ajustes de responsividade para telas de Mobile (até 640px) */
@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .video-info {
    padding: 18px;
  }
  .video-info h3 {
    font-size: 19px;
  }
}
