/* =============================================
   LANDING PAGE — DR. JOHN CARVALHO
   Design System: Vermelho Vinho + Roxo Escuro
   ============================================= */

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wine:          #7B1C2C;
  --wine-light:    #A83248;
  --wine-dark:     #5C0A18;
  --purple:        #2D1B4E;
  --purple-mid:    #3D2466;
  --purple-light:  #4A2E7A;
  --cream:         #F5EDE8;
  --cream-dark:    #D4B8AF;
  --charcoal:      #0B0B0F;
  --charcoal-mid:  #111118;
  --charcoal-light:#1A1A24;
  --text-primary:  #F0E8E4;
  --text-secondary:#9A8A84;
  --gold:          #C49A5A;
  --gold-light:    #D4AA6A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--wine); border-radius: 3px; }

/* ── Selection ── */
::selection { background: var(--wine); color: var(--cream); }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--wine-light);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--wine-light);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-label { justify-content: center; }
.section-header .section-label::before { display: none; }
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--cream);
  padding: 16px 32px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  z-index: 1; /* Cria o stacking context */
  transition: all 0.3s var(--ease-smooth);
}

.btn-primary::before,
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1; /* Vai para o fundo do botão, abaixo do texto solto */
}

.btn-primary::before {
  background: var(--wine);
}

.btn-primary::after {
  background: var(--wine-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}

.btn-primary:hover::after { transform: scaleX(1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(123,28,44,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-full { width: 100%; justify-content: center; }

/* Animação Persuasiva (Pulse) */
.btn-pulse {
  animation: persuasivePulse 2.5s infinite var(--ease-smooth);
}
@keyframes persuasivePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(168, 50, 72, 0.7);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 12px rgba(168, 50, 72, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(168, 50, 72, 0);
  }
}
.btn-pulse:hover {
  animation: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(245,237,232,0.15);
  padding: 15px 28px;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}
.btn-secondary:hover {
  border-color: var(--wine-light);
  color: var(--cream);
  background: rgba(123,28,44,0.1);
}

/* ============================================
   EMERGENCY BANNER
   ============================================ */
.emergency-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  transition: transform 0.4s var(--ease-smooth);
  will-change: transform;
}

.emergency-banner.minimized {
  transform: translateY(-100%);
  pointer-events: none;
}

.emergency-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.emergency-icon {
  width: 40px;
  height: 40px;
  background: rgba(196, 154, 90, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  animation: emergencyPulse 2s infinite;
}

@keyframes emergencyPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(196, 154, 90, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(196, 154, 90, 0);
  }
}

.emergency-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.emergency-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.emergency-text span {
  font-size: 0.8rem;
  color: var(--cream-dark);
  font-weight: 400;
}

.emergency-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--charcoal);
  padding: 10px 20px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.emergency-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 90, 0.4);
}

.emergency-cta:active {
  transform: translateY(0);
}

.emergency-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(245, 237, 232, 0.2);
  border-radius: 2px;
  color: var(--cream-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
  flex-shrink: 0;
}

.emergency-close:hover {
  background: rgba(245, 237, 232, 0.1);
  border-color: var(--cream-dark);
  color: var(--cream);
}

.emergency-close:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Ajuste do navbar quando o banner está visível */
.navbar {
  position: fixed;
  top: 64px;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
  padding: 0;
}

.navbar.banner-hidden {
  top: 0;
}

/* ============================================
   NAVBAR (continuação)
   ============================================ */
.navbar.scrolled {
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 28, 44, 0.2);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.logo-oab {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wine-light);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--wine-light);
  transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--wine) !important;
  color: var(--cream) !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.3s var(--ease-smooth) !important;
}
.nav-cta:hover { background: var(--wine-light) !important; }
.nav-cta::after { display: none !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--charcoal) 0%, #0F0818 50%, #1A0510 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Canvas para partículas de luxo (Luxury Dust) */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.hero-bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(123,28,44,0.12), transparent);
  width: 1px;
}
.bg-line-1 { left: 30%; top: 0; height: 100%; }
.bg-line-2 { right: 30%; top: 0; height: 100%; }
.bg-circle {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,27,78,0.25) 0%, transparent 70%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Foto Hero (PNG sem fundo) ── */
.hero-photo-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

/* Aura orbital animada — substitui os rings */
.hero-photo-col::before,
.hero-photo-col::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-photo-col::before {
  /* halo grande vinho */
  width: 500px;
  height: 640px;
  background: radial-gradient(ellipse 60% 70% at 50% 65%,
    rgba(123,28,44,0.28) 0%,
    rgba(123,28,44,0.08) 45%,
    transparent 72%);
  filter: blur(28px);
  animation: auraBreath 5s ease-in-out infinite;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-photo-col::after {
  /* halo roxo complementar */
  width: 360px;
  height: 480px;
  background: radial-gradient(ellipse 55% 65% at 50% 60%,
    rgba(45,27,78,0.22) 0%,
    transparent 65%);
  filter: blur(36px);
  animation: auraBreath 5s ease-in-out infinite 2.5s;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes auraBreath {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleY(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(1.04); }
}

.photo-wrapper {
  position: relative;
  width: 500px;
  /* sem altura fixa — a imagem PNG dita a altura */
  flex-shrink: 0;
  z-index: 2;
}

/* Foto PNG sem fundo — borda branca eliminada por máscara multi-camada agressiva */
.attorney-photo {
  width: 100%;
  height: auto;
  display: block;

  /*
   * Máscara com 5 camadas (intersect):
   * Cortes maiores nas bordas para evitar a moldura
   */
  -webkit-mask-image:
    /* 1. Fade inferior forte */
    linear-gradient(to bottom,
      black 0%, black 45%, transparent 80%),
    /* 2. Fade lateral esquerda */
    linear-gradient(to right,
      transparent 0%, black 18%, black 100%),
    /* 3. Fade lateral direita */
    linear-gradient(to left,
      transparent 0%, black 18%, black 100%),
    /* 4. Fade superior */
    linear-gradient(to bottom,
      transparent 0%, black 12%, black 100%),
    /* 5. Elipse central */
    radial-gradient(ellipse 75% 85% at 50% 45%,
      black 30%, rgba(0,0,0,0.85) 55%, transparent 75%);

  -webkit-mask-composite:
    source-in, source-in, source-in, source-in;

  mask-image:
    linear-gradient(to bottom, black 0%, black 45%, transparent 80%),
    linear-gradient(to right,  transparent 0%, black 18%,  black 100%),
    linear-gradient(to left,   transparent 0%, black 18%,  black 100%),
    linear-gradient(to bottom, transparent 0%, black 12%,  black 100%),
    radial-gradient(ellipse 75% 85% at 50% 45%,
      black 30%, rgba(0,0,0,0.85) 55%, transparent 75%);

  mask-composite: intersect, intersect, intersect, intersect;

  /* Glow que segue o canal alpha */
  filter:
    drop-shadow(0 0  18px rgba(123,28,44,0.55))
    drop-shadow(0 12px 40px rgba(123,28,44,0.35))
    drop-shadow(0 0  60px rgba(45,27,78,0.25))
    contrast(1.04);
  animation: photoFloat 6s ease-in-out infinite;
  transition: filter 0.5s var(--ease-smooth);
}
.attorney-photo:hover {
  filter:
    drop-shadow(0 0  28px rgba(168,50,72,0.75))
    drop-shadow(0 16px 56px rgba(123,28,44,0.5))
    drop-shadow(0 0  80px rgba(45,27,78,0.35))
    contrast(1.06);
}

/* Flutuação suave — sensação de presença */
@keyframes photoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Glow no chão (sombra projetada) */
.photo-glow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(123,28,44,0.5) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scaleX(1); }
  50%       { opacity: 1;    transform: translateX(-50%) scaleX(1.1); }
}

/* Remover rings — já não fazem sentido com PNG transparente */
.photo-ring { display: none; }

.photo-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  color: var(--cream);
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(123,28,44,0.5);
  z-index: 3;
}

/* ── Texto Hero ── */
.hero-text-col { padding: 20px 0; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 20px;
  opacity: 0;
}
.eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--wine-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.title-line { display: block; opacity: 0; transform: translateY(30px); }
.title-line.accent { color: var(--wine-light); font-style: italic; }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 20px;
  opacity: 0;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 36px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  opacity: 0;
}
.hero-stat {
  text-align: center;
  flex: 1;
  padding: 0 20px;
}
.hero-stat .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--wine-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ── Scroll Back to Top ── */
.scroll-indicator {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--wine);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.scroll-indicator.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-indicator:hover {
  background: var(--wine-light);
  transform: translateY(-4px);
}

/* ============================================
   SOBRE
   ============================================ */
.sobre-section { background: var(--charcoal-mid); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}
.sobre-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.sobre-credentials {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(123,28,44,0.15);
  border-radius: 2px;
  background: rgba(123,28,44,0.04);
  transition: border-color 0.3s;
}
.credential-item:hover { border-color: rgba(123,28,44,0.4); }
.credential-icon { 
  font-size: 1.5rem; 
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.credential-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.credential-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
/* Seção Sobre — foto PNG sem fundo */
.sobre-photo-frame {
  position: relative;
  /* sem overflow:hidden — não cortar a transparência */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sobre-photo {
  width: 100%;
  height: auto;
  display: block;
  /* Mesma máscara suave agressiva das bordas do hero */
  -webkit-mask-image:
    linear-gradient(to bottom, black 0%, black 45%, transparent 80%),
    linear-gradient(to right,  transparent 0%, black 18%, black 100%),
    linear-gradient(to left,   transparent 0%, black 18%, black 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 100%),
    radial-gradient(ellipse 75% 85% at 50% 45%, black 30%, rgba(0,0,0,0.85) 55%, transparent 75%);

  -webkit-mask-composite: source-in, source-in, source-in, source-in;

  mask-image:
    linear-gradient(to bottom, black 0%, black 45%, transparent 80%),
    linear-gradient(to right,  transparent 0%, black 18%,  black 100%),
    linear-gradient(to left,   transparent 0%, black 18%,  black 100%),
    linear-gradient(to bottom, transparent 0%, black 12%,  black 100%),
    radial-gradient(ellipse 75% 85% at 50% 45%, black 30%, rgba(0,0,0,0.85) 55%, transparent 75%);

  mask-composite: intersect, intersect, intersect, intersect;
  filter:
    drop-shadow(0 0 14px rgba(123,28,44,0.45))
    drop-shadow(0 10px 35px rgba(123,28,44,0.3))
    contrast(1.04);
  transition: filter 0.5s;
}
.sobre-photo-frame:hover .sobre-photo {
  filter:
    drop-shadow(0 0 22px rgba(168,50,72,0.65))
    drop-shadow(0 14px 50px rgba(123,28,44,0.45))
    contrast(1.06);
}
.sobre-photo-overlay {
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(17,17,24,0.98) 0%, rgba(17,17,24,0.7) 60%, transparent 100%);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.sobre-photo-overlay blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream-dark);
  line-height: 1.5;
  border-left: 2px solid var(--wine);
  padding-left: 16px;
}

/* ============================================
   ÁREAS DE ATUAÇÃO
   ============================================ */
.atuacao-section { background: var(--charcoal); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.area-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 2px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}
.area-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wine-dark), var(--wine-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(123,28,44,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.area-card:hover { 
  border-color: rgba(123,28,44,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover::after { opacity: 1; }
.area-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--wine-light);
}
.area-icon svg { width: 100%; height: 100%; }
.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.area-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.area-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-light);
  border: 1px solid rgba(123,28,44,0.3);
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--purple) 0%, #1A0F30 50%, var(--wine-dark) 100%);
  position: relative;
  overflow: hidden;
}
.stats-bg-element {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.03);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-card {
  background: rgba(0,0,0,0.2);
  padding: 48px 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s;
}
.stat-card:hover { background: rgba(0,0,0,0.35); }
.stat-icon { font-size: 2rem; margin-bottom: 16px; filter: saturate(0.7); }
.stat-count {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--cream);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,232,228,0.5);
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-section { background: var(--charcoal-mid); overflow: hidden; }
.testimonials-wrapper { position: relative; }
.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s var(--ease-smooth);
}
.testimonial-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  padding: 36px;
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.testi-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.testi-btn:hover {
  border-color: var(--wine-light);
  color: var(--cream);
  background: rgba(123,28,44,0.15);
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s;
}
.testi-dot.active {
  background: var(--wine-light);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section { background: var(--charcoal); }
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.faq-question {
  width: 100%;
  background: var(--charcoal-light);
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(123,28,44,0.08); }
.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--wine-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   CONTATO
   ============================================ */
.contato-section { background: var(--charcoal-mid); }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.contato-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s;
  color: inherit;
}
.contact-channel:hover { border-color: rgba(123,28,44,0.3); background: rgba(123,28,44,0.05); }
.whatsapp-channel { border-color: rgba(37,211,102,0.2); }
.whatsapp-channel:hover { border-color: rgba(37,211,102,0.5); background: rgba(37,211,102,0.05); }
.channel-icon {
  width: 40px;
  height: 40px;
  background: rgba(123,28,44,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--wine-light);
}
.whatsapp-channel .channel-icon { background: rgba(37,211,102,0.1); color: #25d366; }
.channel-icon svg { width: 20px; height: 20px; }
.channel-info strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.channel-info span { font-size: 0.8rem; color: var(--text-secondary); }

/* Form */
.contact-form {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  width: 100%;
  resize: vertical;
}
.form-group select option { background: var(--charcoal-mid); color: var(--text-primary); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wine-light);
  background: rgba(123,28,44,0.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-secondary); opacity: 0.5; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080810;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-oab {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 16px;
}
.footer-bio { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--wine-light); }
.footer-contact p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 8px; }
.footer-whatsapp {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #25d366;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-whatsapp:hover { color: #4ae07a; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 24px;
}
.footer-bottom p:first-child {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.footer-disclaimer { font-size: 0.72rem; color: rgba(154,138,132,0.5); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 460px 1fr; gap: 40px; }
  .photo-wrapper { width: 440px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-visual { order: -1; }
  .sobre-photo-frame { max-width: 440px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(11,11,15,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123,28,44,0.2);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-smooth);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-toggle { display: flex; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 60px 24px; }
  .hero-photo-col { order: -1; }
  /* Foto PNG: sem height fixa no mobile */
  .photo-wrapper { width: 340px; }
  .hero-title { font-size: 2.8rem; }
  .hero-eyebrow, .hero-location { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .areas-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .section { padding: 80px 0; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats .stat-divider { display: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ============================================
   SUCCESS CASES
   ============================================ */
.success-cases-section {
  background: var(--charcoal);
}

/* Filtros */
.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.case-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.case-filter-btn svg {
  flex-shrink: 0;
}

.case-filter-btn:hover {
  border-color: rgba(123,28,44,0.3);
  color: var(--cream);
  background: rgba(123,28,44,0.08);
}

.case-filter-btn.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}

/* Grid de casos */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

/* Card de caso */
.case-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine-dark), var(--wine-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.case-card:hover {
  border-color: rgba(123,28,44,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.case-card:hover::before {
  transform: scaleX(1);
}

/* Header do caso */
.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.case-type-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.case-type-badge.habeas-corpus {
  background: rgba(196,154,90,0.15);
  color: var(--gold);
  border: 1px solid rgba(196,154,90,0.3);
}

.case-type-badge.trafico {
  background: rgba(168,50,72,0.15);
  color: var(--wine-light);
  border: 1px solid rgba(168,50,72,0.3);
}

.case-type-badge.crimes-pessoa {
  background: rgba(45,27,78,0.15);
  color: var(--purple-light);
  border: 1px solid rgba(45,27,78,0.3);
}

.case-type-badge.patrimonio {
  background: rgba(212,170,106,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212,170,106,0.3);
}

.case-type-badge.execucao {
  background: rgba(123,28,44,0.15);
  color: var(--wine-light);
  border: 1px solid rgba(123,28,44,0.3);
}

.case-outcome-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-outcome-icon.success {
  background: rgba(76,175,80,0.15);
  color: #4CAF50;
}

.case-outcome-icon svg {
  width: 24px;
  height: 24px;
}

/* Conteúdo do caso (antes/depois) */
.case-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.case-before,
.case-after {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 4px;
}

.case-before p,
.case-after p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-light);
  opacity: 0.5;
  flex-shrink: 0;
}

.case-arrow svg {
  width: 32px;
  height: 32px;
}

/* Resultado */
.case-result {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
}

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

.result-badge.success {
  color: #4CAF50;
}

.result-badge strong {
  font-weight: 600;
}

.result-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA do caso */
.case-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(123,28,44,0.3);
  color: var(--wine-light);
  padding: 12px 20px;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  margin-top: auto;
}

.case-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.case-cta:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Mensagem quando não há casos */
.no-cases-message {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-cases-message svg {
  color: var(--text-secondary);
  opacity: 0.5;
}

.no-cases-message h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.no-cases-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 400px;
}

/* Responsividade dos casos */
@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .case-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .case-arrow {
    transform: rotate(90deg);
  }
  
  .case-filters {
    gap: 8px;
  }
  
  .case-filter-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}


/* ============================================
   BLOG
   ============================================ */
.blog-section {
  background: var(--charcoal-mid);
}

/* Filtros do Blog */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.blog-filter-btn {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.blog-filter-btn:hover {
  border-color: rgba(123,28,44,0.3);
  color: var(--cream);
  background: rgba(123,28,44,0.08);
}

.blog-filter-btn.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}

/* Grid de Artigos */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Card de Artigo */
.blog-card {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(123,28,44,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Imagem do Card */
.blog-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--charcoal);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--wine);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Conteúdo do Card */
.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.blog-date,
.blog-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s;
}

.blog-card:hover .blog-card-title {
  color: var(--wine-light);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-card-footer {
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wine-light);
  transition: gap 0.3s var(--ease-smooth);
}

.blog-card:hover .blog-read-more {
  gap: 12px;
}

.blog-read-more svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Botão de Compartilhar */
.blog-card-share {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.share-btn {
  width: 40px;
  height: 40px;
  background: rgba(11,11,15,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-smooth);
}

.share-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  transform: scale(1.1);
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

/* Share Menu (será implementado com JS) */
.share-menu {
  position: absolute;
  top: 50px;
  right: 0;
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}

.share-menu.active {
  display: flex;
}

.share-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  white-space: nowrap;
}

.share-menu-btn:hover {
  background: rgba(123,28,44,0.15);
}

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

/* Responsividade do Blog */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-filters {
    gap: 8px;
  }
  
  .blog-filter-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}


/* ============================================
   VIDEOS
   ============================================ */
.videos-section {
  background: var(--charcoal-mid);
}

/* Filtros de Vídeo */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.video-filter-btn {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.video-filter-btn:hover {
  border-color: rgba(123,28,44,0.3);
  color: var(--cream);
  background: rgba(123,28,44,0.08);
}

.video-filter-btn.active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}

/* Grid de Vídeos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

/* Item de Vídeo */
.video-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Player Wrapper */
.video-player-wrapper {
  position: relative;
  background: var(--charcoal);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.custom-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Thumbnail */
.video-thumbnail {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.video-thumbnail.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  width: 72px;
  height: 72px;
  background: rgba(123,28,44,0.9);
  border: 3px solid var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  z-index: 2;
}

.video-play-overlay:hover {
  background: var(--wine-light);
  transform: scale(1.1);
}

.video-play-overlay svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* Controles do Vídeo */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11,11,15,0.95) 0%, transparent 100%);
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-player-wrapper:hover .video-controls,
.video-player-wrapper.playing .video-controls {
  opacity: 1;
}

.video-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
}

.video-progress-filled {
  height: 100%;
  background: var(--wine-light);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.video-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--cream);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-progress-bar:hover .video-progress-handle {
  opacity: 1;
}

.video-controls-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-btn {
  background: transparent;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.video-btn:hover {
  color: var(--wine-light);
}

.video-btn svg {
  width: 20px;
  height: 20px;
}

.video-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.video-time-separator {
  opacity: 0.5;
}

.video-controls-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-volume-slider {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.video-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
}

.video-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Loading Spinner */
.video-loading {
  position: absolute;
  inset: 0;
  background: rgba(11,11,15,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--wine-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Info do Vídeo */
.video-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.video-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
}

.video-category {
  background: rgba(123,28,44,0.15);
  color: var(--wine-light);
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-duration {
  color: var(--text-secondary);
}

/* Responsividade dos Vídeos */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .video-filters {
    gap: 8px;
  }
  
  .video-filter-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
  
  .video-volume-slider {
    width: 60px;
  }
}


/* ============================================
   CERTIFICATIONS TIMELINE
   ============================================ */
.certifications-section {
  background: var(--charcoal);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Linha vertical da timeline */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(123,28,44,0.3) 10%, 
    rgba(123,28,44,0.3) 90%, 
    transparent 100%);
  transform: translateX(-50%);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Item da timeline */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}

/* Alterna os lados */
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-marker {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-marker {
  grid-column: 2;
}

/* Marcador central */
.timeline-marker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-icon {
  width: 56px;
  height: 56px;
  background: var(--charcoal-light);
  border: 3px solid var(--wine);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-light);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.marker-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,28,44,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.timeline-item:hover .marker-icon {
  background: var(--wine);
  color: var(--cream);
  transform: scale(1.1);
}

.timeline-item:hover .marker-icon::before {
  opacity: 1;
}

.marker-icon svg {
  width: 28px;
  height: 28px;
}

/* Conteúdo da timeline */
.timeline-content {
  background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  padding: 24px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background: rgba(123,28,44,0.3);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
}

.timeline-item:hover .timeline-content {
  border-color: rgba(123,28,44,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine-light);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-institution {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.timeline-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-badge.academic {
  background: rgba(45,27,78,0.15);
  color: var(--purple-light);
  border: 1px solid rgba(45,27,78,0.3);
}

.timeline-badge.certification {
  background: rgba(196,154,90,0.15);
  color: var(--gold);
  border: 1px solid rgba(196,154,90,0.3);
}

.timeline-badge.association {
  background: rgba(123,28,44,0.15);
  color: var(--wine-light);
  border: 1px solid rgba(123,28,44,0.3);
}

/* Animação de reveal para timeline */
.reveal-timeline {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-smooth);
}

.reveal-timeline.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade da Timeline */
@media (max-width: 768px) {
  .timeline-line {
    left: 24px;
  }
  
  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    grid-column: 1;
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .marker-icon {
    width: 48px;
    height: 48px;
  }
  
  .marker-icon svg {
    width: 24px;
    height: 24px;
  }
}


/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--purple) 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,154,90,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-desc {
  font-size: 1rem;
  color: var(--cream-dark);
  line-height: 1.7;
}

.newsletter-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 0.9rem;
}

.benefit-item svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* Formulário de Newsletter */
.newsletter-form-col {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 36px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--wine-light);
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--cream-dark);
  line-height: 1.6;
  cursor: pointer;
}

.consent-link {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.2s;
}

.consent-link:hover {
  color: var(--gold-light);
}

.newsletter-frequency {
  font-size: 0.75rem;
  color: var(--cream-dark);
  text-align: center;
  margin-top: -8px;
}

/* Responsividade do Newsletter */
@media (max-width: 768px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .newsletter-form-col {
    padding: 28px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080810;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-oab {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-light);
  margin-bottom: 8px;
}

.footer-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--wine-light);
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wine-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 12px;
  transition: gap 0.3s;
}

.footer-whatsapp:hover {
  gap: 10px;
}

/* Newsletter no Footer */
.footer-newsletter p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form-group input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.3s;
}

.footer-form-group input:focus {
  outline: none;
  border-color: var(--wine-light);
  background: rgba(123,28,44,0.06);
}

.footer-form-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.footer-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--wine-light);
}

.footer-form-checkbox label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsividade do Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bio {
    max-width: 100%;
  }
}
