/* =========================================================
   VARIÁVEIS GLOBAIS E RESET
========================================================= */
:root {
  --gold: #B8963E;
  --gold-light: #D4AF6A;
  --dark: #0D0D0D;
  --dark-2: #141414;
  --dark-3: #1E1C1A;
  --cream: #F5F0E8;
  --cream-2: #EDE6D6;
  --text-muted: #888880;
  --border: rgba(184, 150, 62, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* Ruído de fundo (textura) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* =========================================================
   TIPOGRAFIA BÁSICA E BOTÕES
========================================================= */
.section-tag { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 56px); font-weight: 300; line-height: 1.15; color: var(--cream); }
.section-title em { font-style: italic; color: var(--gold-light); }

.btn-primary { background: var(--gold); color: var(--dark); padding: 16px 40px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 500; display: inline-block; transition: background 0.3s, transform 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-dark { background: var(--dark); color: var(--cream); padding: 16px 48px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 500; display: inline-block; transition: background 0.3s; }
.btn-dark:hover { background: #222; }

.btn-ghost { color: var(--cream); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--gold-light); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-sm { background: var(--dark); color: var(--cream); padding: 11px 22px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 500; display: inline-block; }

/* =========================================================
   MENU E NAVEGAÇÃO (DESKTOP)
========================================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 60px;
  background: linear-gradient(to bottom, rgba(13,13,13,0.97), transparent); backdrop-filter: blur(3px); transition: padding 0.4s, background 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled { padding: 14px 60px; background: rgba(13,13,13,0.98); border-bottom: 1px solid var(--border); }

.logo-img-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 48px; width: auto; object-fit: contain; transition: height 0.4s; }
nav.scrolled .logo-img { height: 36px; }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: rgba(13,13,13,0.98);
  border: 1px solid var(--border); list-style: none; min-width: 220px; z-index: 1000; padding: 8px 0;
}
.dropdown-menu::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid var(--gold); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: block; }
.dropdown-menu.show { display: block; }
.dropdown-menu li { border-bottom: 1px solid var(--border); }
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 11px !important; letter-spacing: 0.15em !important; color: var(--text-muted) !important; text-transform: uppercase; text-decoration: none; transition: color 0.2s, padding-left 0.2s; }
.dropdown-menu a:hover { color: var(--gold) !important; padding-left: 28px; }

/* Botão Hamburguer (Escondido no Desktop) */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; background: var(--cream); transition: 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =========================================================
   RODAPÉ E ELEMENTOS FLUTUANTES
========================================================= */
footer { padding: 48px 60px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-logo { height: 40px; width: auto; object-fit: contain; opacity: 0.7; }
.footer-copy { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }


/* =========================================================
   REDES SOCIAIS DO RODAPÉ (CORES ORIGINAIS)
========================================================= */
/* 
.footer-socials { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
}

.footer-socials a { 
  color: #ffffff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  transition: transform 0.3s ease, filter 0.3s ease; 
  text-decoration: none;
}


.soc-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.soc-in { background: #0077b5; }
.soc-fb { background: #1877F2; }
.soc-go { background: #EA4335; } 


.footer-socials a:hover { 
  transform: translateY(-4px); 
  filter: brightness(1.15); 
}


/* =========================================================
   REDES SOCIAIS DO RODAPÉ - sem cor
========================================================= */
.footer-socials { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
}
.footer-socials a { 
  color: var(--text-muted); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 40px; 
  height: 40px; 
  border: 1px solid var(--border); 
  border-radius: 50%; 
  transition: all 0.3s ease; 
}
.footer-socials a:hover { 
  color: var(--dark); 
  background: var(--gold); 
  border-color: var(--gold); 
  transform: translateY(-4px); 
}
  

/* =========================================================
   BOTÃO WHATSAPP FLUTUANTE
========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  height: 50px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 0 0 0 8px; 
  gap: 10px;
}

.whatsapp-float img {
  width: 40px; 
  height: 40px;
}

.whatsapp-float .text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 14px;
}

.whatsapp-float:hover .text {
  max-width: 150px;
  opacity: 1;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {

  /* No celular, como a tela é estreita, voltamos as setas para dentro da foto para não sumirem */
  #escritorioCarousel .carousel-prev { 
    left: 15px !important; /* Puxa bem para dentro da tela */
    z-index: 20 !important; /* Garante que fique por cima de tudo para o clique funcionar */
  }
  #escritorioCarousel .carousel-next { 
    right: 15px !important; /* Puxa bem para dentro da tela */
    z-index: 20 !important; /* Garante que fique por cima de tudo para o clique funcionar */
  }
  
  .whatsapp-float {
    padding: 0;
    width: 50px; 
    height: 50px;
    justify-content: center;
  }

  .whatsapp-float .text {
    display: none;
  }

  .whatsapp-float img {
    width: 34px;
    height: 34px;
  }
}

/* =========================================================
   LINKS DE CONTATO (E-MAILS)
========================================================= */
.contact-item-value a {
  color: var(--cream-2);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item-value a:hover {
  color: var(--gold);
}

/* =========================================================
   COOKIE BANNER
========================================================= */
.cookie-banner { 
  position: fixed; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  background: #1a1a1a; 
  color: white; 
  /* O segredo está aqui: 15px (cima), 90px (direita - afasta do Whats), 15px (baixo), 20px (esquerda) */
  padding: 15px 90px 15px 20px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  z-index: 9998; /* Deixei um número abaixo do WhatsApp (9999) para o Whats ficar sempre por cima */
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3); 
}

.cookie-banner p { 
  margin: 0; 
  font-size: 14px; 
  line-height: 1.5;
}

.cookie-banner button { 
  background: var(--gold); 
  color: var(--dark);
  border: none; 
  padding: 10px 20px; 
  cursor: pointer; 
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; 
  border-radius: 4px; 
  transition: background 0.3s;
  white-space: nowrap; /* Impede que a palavra "Aceitar" quebre em duas linhas */
}

.cookie-banner button:hover {
  background: var(--gold-light);
}

/* Animações */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   PÁGINA INICIAL (INDEX)
========================================================= */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 120px 60px 80px; position: relative; z-index: 2; }
.hero-tag { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 32px; display: flex; align-items: center; gap: 16px; opacity: 0; animation: fadeUp 0.8s forwards 0.2s; }
.hero-tag::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(52px, 6vw, 88px); font-weight: 300; line-height: 1.05; color: var(--cream); margin-bottom: 32px; opacity: 0; animation: fadeUp 0.9s forwards 0.4s; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 14px; line-height: 1.8; color: var(--text-muted); max-width: 420px; margin-bottom: 56px; opacity: 0; animation: fadeUp 0.9s forwards 0.6s; }
.hero-actions { display: flex; gap: 20px; align-items: center; opacity: 0; animation: fadeUp 0.9s forwards 0.8s; }
.hero-right { position: relative; overflow: hidden; }
.carousel { position: absolute; inset: 0; overflow: hidden; }
.carousel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--dark) 0%, transparent 35%), linear-gradient(to top, var(--dark) 0%, transparent 25%); pointer-events: none; z-index: 2; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65) sepia(15%); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(184, 150, 62, 0.15); border: 1px solid var(--gold); color: var(--gold); width: 44px; height: 44px; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; line-height: 1; }
.carousel-btn:hover { background: rgba(184, 150, 62, 0.35); }
.carousel-prev { left: 20px; } .carousel-next { right: 20px; }
.carousel-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(184, 150, 62, 0.4); cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--gold); }
.hero-stat-row { position: absolute; bottom: 60px; left: 60px; right: 40px; display: flex; gap: 40px; z-index: 3; opacity: 0; animation: fadeUp 0.9s forwards 1s; }
.stat { border-left: 1px solid var(--border); padding-left: 20px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

.areas { padding: 100px 60px; background: var(--dark-2); }
.section-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 64px; }
/* Força a exibição de 5 colunas no Desktop com o espaçamento correto */
.areas-desktop .areas-grid { 
  display: grid; 
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
  max-width: 1400px; 
  margin: 0 auto; 
  width: 100%; 
}

/* Garante que o grid geral mantenha a estrutura nas outras páginas */
.areas-grid { 
  display: grid; 
  width: 100%; 
}
.area-card { background: var(--dark-3); padding: 32px 24px; position: relative; overflow: hidden; cursor: pointer; border-bottom: 2px solid transparent; transition: background 0.3s, border-color 0.3s; min-width: 0; }
.area-card:hover { background: #1f1d1a; border-color: var(--gold); }
.area-icon { font-size: 30px; margin-bottom: 20px; display: block; }
.area-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--border); position: absolute; top: 16px; right: 24px; line-height: 1; }
.area-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--cream); margin-bottom: 12px; }
.area-desc { font-size: 13px; line-height: 1.8; color: var(--text-muted); }

.about-section { padding: 100px 0; }
.about-inner { max-width: 1300px; margin: 0 auto; padding: 0 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-visual { position: relative; height: 560px; }
.about-image img { width: 400px; height: auto; border-radius: 8px; }
.about-block-accent { position: absolute; bottom: 0; right: 0; width: 32%; height: 22%; background: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.about-block-accent .big-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--dark); line-height: 1; }
.about-block-accent .big-lbl { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dark); margin-top: 4px; text-align: center; }
.about-text { font-size: 14px; line-height: 1.9; color: var(--text-muted); margin-bottom: 20px; }
.feature-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid var(--border); margin-bottom: 10px; transition: border-color 0.3s; }
.feature-item:hover { border-color: var(--gold); }
.feature-dot { width: 8px; height: 8px; background: var(--gold); flex-shrink: 0; margin-top: 4px; }
.feature-text { font-size: 13px; line-height: 1.7; color: var(--cream-2); }

.team-section { padding: 100px 60px; background: var(--dark-2); }
.team-inner { max-width: 900px; margin: 0 auto; }
.lawyer-card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; background: var(--dark-3); border: 1px solid var(--border); padding: 20px; align-items: center; }
.lawyer-photo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lawyer-photo img { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 8px; }
.lawyer-body { padding: 48px 52px; border-left: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; }
.lawyer-role { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.lawyer-name { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 400; color: var(--cream); margin-bottom: 8px; }
.lawyer-oab { font-size: 12px; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 24px; }
.lawyer-divider { width: 40px; height: 1px; background: var(--gold); margin-bottom: 24px; }
.lawyer-bio { font-size: 14px; line-height: 1.9; color: var(--text-muted); }

.contact-section { padding: 100px 60px; background: var(--dark-2); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-item-value { font-size: 14px; color: var(--cream-2); line-height: 1.6; }
.contact-map { display: flex; flex-direction: column; gap: 0; }
.map-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.map-wrap { position: relative; border: 1px solid var(--border); overflow: hidden; }
.map-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(13,13,13,0.95), transparent); padding: 20px 24px; pointer-events: none; }
.map-name { font-family: 'Cormorant Garamond', serif; font-size: 17px; color: var(--cream); margin-bottom: 3px; }
.map-addr { font-size: 11px; color: var(--gold); }

/* Controladores das áreas (Desktop vs Mobile) na Index */
.areas-desktop { display: block; }
.areas-mobile { display: none; }

/* =========================================================
   PÁGINAS INTERNAS (ÁREAS DE ATUAÇÃO)
========================================================= */
.page-header { padding: 140px 60px 70px; background: var(--dark-2); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -80px; right: -80px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(184,150,62,0.07) 0%, transparent 70%); pointer-events: none; }
.breadcrumb { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { margin: 0 10px; }

.main-layout { max-width: 1280px; margin: 0 auto; padding: 80px 60px; display: grid; grid-template-columns: 1fr 290px; gap: 80px; align-items: start; }
.content-block { margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.content-block:last-child { border-bottom: none; margin-bottom: 0; }
.content-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; color: var(--cream); margin-bottom: 14px; }
.content-text { font-size: 14px; line-height: 1.9; color: var(--text-muted); }

.faq-section { padding: 80px 60px; background: var(--dark-2); }
.faq-inner { max-width: 840px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); padding: 26px 30px; margin-bottom: 8px; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--gold); }
.faq-q { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); margin-bottom: 10px; }
.faq-a { font-size: 13px; line-height: 1.8; color: var(--text-muted); }

.cta-strip { padding: 72px 60px; background: var(--gold); text-align: center; }
.cta-strip h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 48px); font-weight: 300; color: var(--dark); margin-bottom: 22px; }

/* Sidebar Direita (Páginas Internas) */
.sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 100px; }
.sb-block { background: var(--dark-3); border: 1px solid var(--border); padding: 26px; }
.sb-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sb-areas { list-style: none; }
.sb-areas li { border-bottom: 1px solid var(--border); }
.sb-areas li:last-child { border-bottom: none; }
.sb-areas a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 12px; letter-spacing: 0.1em; color: var(--cream-2); text-decoration: none; transition: color 0.2s, padding-left 0.2s; }
.sb-areas a:hover, .sb-areas a.current { color: var(--gold); padding-left: 6px; }
.sb-cta { background: var(--gold); padding: 28px; text-align: center; }
.sb-cta p { font-size: 13px; line-height: 1.7; color: var(--dark); margin-bottom: 18px; font-weight: 400; }

/* =========================================================
   MEDIA QUERIES (TABLET & MOBILE)
========================================================= */

@media (max-width: 1024px) {
  nav { padding: 20px 30px; }
  .main-layout { grid-template-columns: 1fr; padding: 60px 30px; gap: 50px; }
  .sidebar { position: relative; top: auto; }
  .page-header { padding: 120px 30px 60px; }
  .faq-section, .cta-strip, footer { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 768px) {

    /* ... suas outras regras mobile ... */
  .footer-socials { justify-content: center; margin: 10px 0; }

  .cookie-banner {
    flex-direction: column; /* Coloca o texto em cima e o botão embaixo */
    gap: 12px;
    padding: 15px 80px 15px 20px; /* Mantém o recuo para desviar do Whats */
    text-align: left;
    align-items: flex-start;
  }

  /* Navegação Mobile com as Correções Definitivas */
  nav { padding: 16px 20px; }
  .logo-img { height: 36px; }
  .menu-toggle { display: flex; }
  
  .nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: none; }
  .dropdown-menu.show { display: block !important; }

  .nav-links {
    z-index: 10001; position: absolute; top: 70px; right: 0; width: 100%; background: #0d0d0df2;
    flex-direction: column; align-items: center; gap: 0; padding: 0; overflow: visible;
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: 0.3s;
  }
  .nav-links.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links > li { width: 100%; text-align: center; padding: 14px 0; border-bottom: 1px solid rgba(184,150,62,0.1); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links a { font-size: 15px; }

  .nav-dropdown { width: 100%; text-align: center; }
  .nav-dropdown > a { display: block; width: 100%; }
  .dropdown-menu {
    z-index: 10002; position: static; display: none; transform: none; left: auto; width: 100%;
    border: none; border-top: 1px solid var(--border); background: rgba(20,20,20,0.98);
    padding: 4px 0 10px; margin-top: 10px; pointer-events: auto;
  }
  .dropdown-menu a { font-size: 13px !important; padding: 11px 24px !important; text-align: center; display: block; width: 100%; }
  .nav-dropdown::after { display: none; }

  /* Ajustes Gerais Home */
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 120px 20px 40px; text-align: center; align-items: center; }
  .hero-title { font-size: 42px; }
  .hero-sub { max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-right { height: 300px; }
  .carousel::after { background: linear-gradient(to top, var(--dark) 0%, transparent 40%); }
  .hero-stat-row { position: static; flex-direction: column; gap: 20px; margin-top: 40px; padding: 0 20px; }
  .stat { border-left: none; border-top: 1px solid var(--border); padding-top: 10px; }
  
  .areas { padding: 60px 20px; }
  .areas-desktop { display: none; }
  .areas-mobile { display: block; }
  .areas-grid { grid-template-columns: repeat(1, 1fr) !important; gap: 15px; }
  
  .about-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .about-visual { height: auto; }
  .about-image img { width: 100%; }
  .about-block-accent { position: static; margin-top: 16px; }
  
  .team-section { padding: 60px 20px; }
  .lawyer-card { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .lawyer-photo img { max-height: 300px; width: 80%; margin: 0 auto; }
  .lawyer-body { padding: 30px 20px; border-left: none; border-top: 1px solid var(--border); }
  
  .contact-section { padding: 60px 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .map-wrap iframe { height: 250px; }

  /* Ajustes Gerais Páginas Internas */
  .page-header { padding: 110px 20px 50px; }
  .page-header h1 { font-size: 32px; }
  .main-layout { padding: 50px 20px; }
  .content-title { font-size: 22px; }
  .content-text { font-size: 14px; }
  .faq-section { padding: 60px 20px; }
  .cta-strip { padding: 60px 20px; }
  .cta-strip h2 { font-size: 26px; }

  footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 20px; }
  .footer-links { flex-direction: column; gap: 10px; }
  
  a[href*="wa.me"] img { width: 55px !important; height: 55px !important; }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* =========================================================
   PÁGINA: ARTIGOS (BLOG)
========================================================= */
.blog-wrap { max-width: 1280px; margin: 0 auto; padding: 80px 60px; display: grid; grid-template-columns: 1fr 310px; gap: 80px; align-items: start; }
.post-destaque { background: var(--dark-3); border: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; transition: border-color 0.3s; cursor: pointer; }
.post-destaque:hover { border-color: var(--gold); }
.post-img { background: linear-gradient(135deg, #2a2218, #181614); min-height: 320px; display: flex; align-items: center; justify-content: center; }
.post-img svg { width: 80px; opacity: 0.08; }
.post-body { padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; }
.post-tag-pill { display: inline-block; font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dark); background: var(--gold); padding: 4px 12px; margin-bottom: 18px; align-self: flex-start; }
.post-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; color: var(--cream); line-height: 1.25; margin-bottom: 14px; }
.post-excerpt { font-size: 13px; line-height: 1.8; color: var(--text-muted); margin-bottom: 24px; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--text-muted); }
.post-author { color: var(--gold-light); }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-decoration: none; margin-top: 18px; transition: gap 0.3s; }
.read-more:hover { gap: 14px; }

.posts-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 36px; }
.post-card { background: var(--dark-3); border-bottom: 2px solid transparent; transition: border-color 0.3s, background 0.3s; cursor: pointer; }
.post-card:hover { border-color: var(--gold); background: #1f1d1a; }
.post-card-img { height: 170px; background: linear-gradient(135deg, #2a2218, #181614); display: flex; align-items: center; justify-content: center; }
.post-card-img svg { width: 50px; opacity: 0.1; }
.post-card-body { padding: 24px 26px; }

/* Sidebar do Blog */
.sidebar-block { background: var(--dark-3); border: 1px solid var(--border); padding: 26px; margin-bottom: 28px; }
.sidebar-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.search-wrap { display: flex; }
.search-input { flex: 1; background: var(--dark); border: 1px solid var(--border); border-right: none; color: var(--cream); padding: 11px 14px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 300; outline: none; }
.search-input:focus { border-color: var(--gold); }
.search-btn { background: var(--gold); border: none; padding: 11px 14px; color: var(--dark); cursor: pointer; font-size: 16px; }
.cat-list { list-style: none; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.cat-list li:last-child { border-bottom: none; }
.cat-name { font-size: 12px; letter-spacing: 0.08em; color: var(--cream-2); transition: color 0.3s; }
.cat-list li:hover .cat-name { color: var(--gold); }
.cat-count { font-size: 10px; background: rgba(184,150,62,0.15); color: var(--gold); padding: 2px 8px; border-radius: 20px; }

/* =========================================================
   PÁGINA: O ESCRITÓRIO
========================================================= */
.historia { padding: 100px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; max-width: 1280px; margin: 0 auto; }
.hist-visual { position: relative; height: 500px; }
.hist-main { position: absolute; top: 0; left: 0; width: 78%; height: 82%; background: var(--dark-3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.hist-accent { position: absolute; bottom: 0; right: 0; width: 46%; height: 36%; background: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.hist-accent .num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--dark); line-height: 1; }
.hist-accent .lbl { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dark); margin-top: 4px; text-align: center; }
.body-text { font-size: 14px; line-height: 1.9; color: var(--text-muted); margin-bottom: 18px; max-width: 620px; }

.valores { padding: 100px 60px; background: var(--dark-2); }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 1180px; margin: 0 auto; }
.val-card { background: var(--dark-3); padding: 44px 36px; border-bottom: 2px solid transparent; transition: border-color 0.3s, background 0.3s; }
.val-card:hover { border-color: var(--gold); background: #1f1d1a; }
.val-icon { font-size: 32px; margin-bottom: 18px; display: block; }
.val-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--cream); margin-bottom: 12px; }
.val-desc { font-size: 13px; line-height: 1.8; color: var(--text-muted); }

.timeline { padding: 100px 60px; max-width: 860px; margin: 0 auto; }
.tl-list { position: relative; padding-left: 44px; }
.tl-list::before { content: ''; position: absolute; top: 0; left: 8px; width: 1px; height: 100%; background: var(--border); }
.tl-item { position: relative; margin-bottom: 44px; padding-left: 28px; }
.tl-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border: 2px solid var(--gold); background: var(--dark); border-radius: 50%; }
.tl-year { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tl-event { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--cream); margin-bottom: 8px; }
.tl-desc { font-size: 13px; line-height: 1.8; color: var(--text-muted); }

/* Ajuste específico para a foto com SVG nesta página */
.lawyer-photo { background: linear-gradient(160deg, #242220, #181614); display: flex; align-items: center; justify-content: center; min-height: 300px; }
.lawyer-photo svg { width: 80px; opacity: 0.15; }

/* =========================================================
   MEDIA QUERIES (ESPECÍFICAS PARA BLOG E ESCRITÓRIO)
========================================================= */
@media (max-width: 1024px) {
  /* Blog */
  .blog-wrap { grid-template-columns: 1fr; gap: 40px; padding: 60px 30px; }
  aside { order: -1; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-destaque { grid-template-columns: 1fr; }
  
  /* Escritório */
  .historia { grid-template-columns: 1fr; gap: 50px; padding: 80px 30px; }
  .hist-visual { height: 380px; }
  .valores { padding: 80px 30px; }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { padding: 80px 30px; }
  .equipe { padding: 80px 30px; }
}

@media (max-width: 768px) {
  /* Imagens gerais no mobile */
  img { max-width: 100%; height: auto; }

  /* Blog */
  .blog-wrap { padding: 40px 20px; }
  .post-body { padding: 24px; }
  .post-title { font-size: 22px; }
  .post-card-body { padding: 20px; }

  /* Escritório */
  .historia { padding: 60px 20px; gap: 40px; }
  .hist-visual { height: 300px; }
  .hist-accent .num { font-size: 36px; }
  .body-text { font-size: 14px; }
  .valores { padding: 60px 20px; }
  .val-grid { grid-template-columns: 1fr; }
  .timeline { padding: 60px 20px; }
  .tl-list { padding-left: 30px; }
  .tl-item { padding-left: 20px; }
  .equipe { padding: 60px 20px; }
  .lawyer-name { font-size: 24px; }
}

@media (max-width: 480px) {
  /* Blog extra pequeno */
  .post-title { font-size: 20px; }
  .post-excerpt { font-size: 12px; }
}

/* =========================================================
   CARROSSEL DO ESCRITÓRIO - SETAS (DESKTOP E MOBILE)
========================================================= */
#escritorioCarousel .carousel-track {
  border-radius: 8px; 
  overflow: hidden;   
}

/* 💻 DESKTOP (telas grandes): Setas para o lado de fora */
@media (min-width: 769px) {
  #escritorioCarousel {
    overflow: visible !important; 
  }
  #escritorioCarousel .carousel-prev {
    left: -60px !important; 
  }
  #escritorioCarousel .carousel-next {
    right: -60px !important; 
  }
}

/* 📱 MOBILE (celulares): Setas do lado de dentro + bloqueio lateral */
@media (max-width: 768px) {
  #escritorioCarousel {
    overflow: hidden !important; /* Impede o site de "estourar" nas laterais */
  }
  #escritorioCarousel .carousel-prev {
    left: 15px !important;  /* Puxa a seta esquerda para dentro da foto */
    z-index: 99 !important; /* Força a ficar na frente de tudo */
  }
  #escritorioCarousel .carousel-next {
    right: 15px !important; /* Puxa a seta direita para dentro da foto */
    z-index: 99 !important; /* Força a ficar na frente de tudo */
  }
}


