/* 
========================================================================
   STYLE.CSS - PINHEIRO & GOES ADVOGADOS ASSOCIADOS
   Estilo: Awwwards Editorial & Luxury (Redesenho Estético Avançado)
   Cores Oficial: #0F1B2D (Dark), #1C263D (Slate), #C6A96A (Gold), #E9ECEF (Light)
   Tipografia: Trajan Pro / Cinzel (Títulos) & Montserrat (Corpo)
========================================================================
*/

/* Imports Google Fonts Otimizados no index.html */

/* =====================================================================
   1. SISTEMA DE DESIGN (Variáveis e Resets)
   ===================================================================== */
:root {
  /* Cores - Identidade Visual Atualizada */
  --bg-obsidian: #0f1b2d;        /* Azul Escuro (Principal) */
  --bg-slate-dark: #1c263d;      /* Azul Médio (Secundário) */
  --bg-light-section: #e9ecef;   /* Cinza Claro/Off-white (Claro) */
  --bg-white: #ffffff;           /* Branco (Cards/Contraste) */
  
  /* Cores de Texto */
  --text-pure: #ffffff;
  --text-sand: #e9ecef;
  --text-silver: #a0aec0;
  --text-muted: #64748b;
  --text-dark: #0f1b2d;
  --text-dark-muted: #495057;
  
  /* Cores de Acento */
  --accent-gold-raw: 198, 169, 106;
  --accent-gold: #c6a96a;         /* Dourado Champanhe */
  --accent-gold-light: #e5cfb3;
  --accent-gold-dark: #8e6c46;
  --accent-gold-glow: rgba(198, 169, 106, 0.05);
  --accent-gold-border: rgba(198, 169, 106, 0.2);
  
  /* Fontes */
  --font-serif: 'Trajan Pro', 'Cinzel', 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  
  /* Efeitos e Curvas de Transição (Awwwards Style) */
  --transition-bezier: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --grid-gap: 2.5rem;
}

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

html, body {
  overflow-x: hidden; /* Força travamento horizontal global */
  width: 100%;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-obsidian);
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-sand);
  font-family: var(--font-sans);
  line-height: 1.75;
  font-weight: 300;
}

/* Orbes Luminosas de Fundo (Glow Effect) */
.glowing-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.35;
}

.orb-gold-1 {
  top: 5%;
  right: -200px;
  background: radial-gradient(circle, rgba(198, 169, 106, 0.12) 0%, rgba(15, 27, 45, 0) 70%);
}

.orb-blue-1 {
  top: 35%;
  left: -300px;
  background: radial-gradient(circle, rgba(28, 38, 61, 0.1) 0%, rgba(15, 27, 45, 0) 70%);
}

.orb-gold-2 {
  bottom: 10%;
  right: -250px;
  background: radial-gradient(circle, rgba(198, 169, 106, 0.08) 0%, rgba(15, 27, 45, 0) 70%);
}

/* Cursor Customizado */
.custom-cursor {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-follower {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 169, 106, 0.25);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

/* Hover no cursor */
.custom-cursor.hovered {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
}

.custom-cursor-follower.hovered {
  width: 66px;
  height: 66px;
  background-color: rgba(255, 255, 255, 0.03);
  border-color: #ffffff;
  border-width: 1.5px;
}

@media (min-width: 1024px) {
  body.has-custom-cursor {
    cursor: none;
  }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor .accordion-header {
    cursor: none;
  }
}

/* Desabilita cursor customizado em telas menores */
@media (max-width: 1023px) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }
  body.has-custom-cursor {
    cursor: auto !important;
  }
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* =====================================================================
   2. GRADE EDITORIAL E LINHAS FINAS (Editorial Lines)
   ===================================================================== */


/* Classes Utilitárias */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--accent-gold-border);
}

/* Alternância elegante de seção escura / clara */
.light-section {
  background-color: var(--bg-light-section);
  color: var(--text-dark-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* =====================================================================
   3. TIPOGRAFIA AVANÇADA
   ===================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-pure);
}

.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

/* Detalhe de linha sob o título (Awwwards Style) */
h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background-color: var(--accent-gold);
  margin-top: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-silver);
}

.light-section p {
  color: var(--text-dark-muted);
}

.subtitle-accent {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
  font-weight: 700;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.italic {
  font-style: italic;
}

/* =====================================================================
   4. BOTÕES E LINKS DE LUXO (Magnetic & Fill Buttons)
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 8px;
  transition: var(--transition-bezier);
  border: 1px solid var(--accent-gold);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-obsidian);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-pure);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  color: var(--bg-obsidian);
  border-color: var(--text-pure);
}

.btn-primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-pure);
  border-color: rgba(255, 255, 255, 0.15);
}

.light-section .btn-secondary {
  color: var(--text-dark);
  border-color: rgba(15, 27, 45, 0.15);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-pure);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-section .btn-secondary::after {
  background-color: var(--bg-obsidian);
}

.btn-secondary:hover {
  color: var(--bg-obsidian);
  border-color: var(--text-pure);
}

.light-section .btn-secondary:hover {
  color: var(--bg-white);
  border-color: var(--bg-obsidian);
}

.btn-secondary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =====================================================================
   5. REVEAL ANIMATIONS (Intersection Scroll Effects)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* =====================================================================
   6. HEADER & COMPONENTES DE CONFIANÇA (Ajustado e mais juntinho)
   ===================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-bezier);
  padding: 1.5rem 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(15, 27, 45, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--accent-gold-border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: var(--transition-fast);
  object-fit: contain;
}

header.scrolled .logo-img {
  height: 42px;
}

/* Links do Menu - Menores e mais próximos */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-silver);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-bezier);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.65rem;
  border-radius: 6px;
}

/* Mobile Hambúrguer */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-pure);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1001;
}

/* =====================================================================
   7. HERO - ALINHADO À ESQUERDA (Com imagem de fundo hero.jpg otimizado)
   ===================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 9rem;
  padding-bottom: 9rem;
  /* Gradiente de sobreposição escuro + hero.jpg oficial */
  background: linear-gradient(to right, rgba(15, 27, 45, 0.92) 20%, rgba(15, 27, 45, 0.75) 60%, rgba(15, 27, 45, 0.5) 100%), 
              url('hero.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* Alinhado à esquerda */
  justify-content: center;
  text-align: left;         /* Alinhado à esquerda */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 5;
}

.hero-content {
  text-align: left;         /* Alinhado à esquerda */
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* Alinhado à esquerda */
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
  max-width: 900px;
  color: var(--text-pure);
  text-align: left;
}

/* Highlight com degradê dourado metálico para H1 */
.hero h1 span.gold-gradient {
  background: linear-gradient(135deg, #c6a96a 0%, #f7dfae 50%, #c6a96a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  font-size: 1.08rem;
  color: var(--text-sand);
  max-width: 760px;
  margin-bottom: 38px;
  line-height: 1.8;
  text-align: left;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 760px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-sand);
  line-height: 1.5;
  text-align: left;
}

.hero-bullets .bullet-icon {
  color: var(--accent-gold);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  justify-content: flex-start;
}

/* Hero Stats Row */
.hero-stats-row {
  display: flex;
  gap: 50px;
  border-top: 1px solid rgba(198, 169, 106, 0.15);
  padding-top: 30px;
  width: 100%;
  max-width: 650px;
  justify-content: flex-start;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.hero-stat-item .stat-lbl {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-silver);
  line-height: 1.4;
}

/* Divisor de Curva no Bottom do Hero */
.hero-shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.hero-shape-divider .shape-fill {
  fill: var(--bg-light-section);
}

/* =====================================================================
   8. SEÇÃO ÁREAS DE ATUAÇÃO (Quadrados Interativos em Seção Clara)
   ===================================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.practice-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(198, 169, 106, 0.25);
  border-radius: 12px;
  padding: 40px 30px;
  transition: var(--transition-bezier);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.practice-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(198, 169, 106, 0.12);
}

.practice-card-icon {
  margin-bottom: 24px;
  color: var(--accent-gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
}

.practice-card-icon svg {
  width: 36px;
  height: 36px;
}

.practice-card-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  text-transform: none;
}

.practice-card-text {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* =====================================================================
   9. SOBRE O ESCRITÓRIO
   ===================================================================== */
.about {
  background-color: var(--bg-obsidian);
}

.about-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-text ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto 2.5rem auto;
}

/* Novo Estilo Premium para a Imagem do Escritório */
.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--accent-gold-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: var(--transition-bezier);
  background-color: var(--bg-slate-dark);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 27, 45, 0) 60%, rgba(15, 27, 45, 0.4) 100%);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: var(--transition-bezier);
}

.about-image-wrapper:hover {
  border-color: rgba(198, 169, 106, 0.5);
  box-shadow: 0 25px 50px rgba(198, 169, 106, 0.18);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.stat-item {
  background: var(--bg-slate-dark);
  border: 1px solid var(--accent-gold-border);
  padding: 3rem;
  text-align: center;
  transition: var(--transition-bezier);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--accent-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition-bezier);
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 169, 106, 0.4);
  background-color: rgba(255, 255, 255, 0.01);
  box-shadow: 0 20px 40px rgba(198, 169, 106, 0.3);
}

.stat-item:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.8rem;
  font-weight: 500;
  display: block;
  letter-spacing: 0.05em;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-sand);
  font-weight: 600;
}

/* =====================================================================
   10. DIFERENCIAIS (Lista Sofisticada Assimétrica Sem Quadrados)
   ===================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 5rem;
  align-items: flex-start;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.diff-item {
  display: flex;
  gap: 2.5rem;
  border-bottom: 1.5px solid rgba(198, 169, 106, 0.15);
  padding-bottom: 2rem;
}

.diff-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.diff-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--accent-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.diff-text h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-family: var(--font-serif);
  text-transform: none;
  letter-spacing: 0.05em;
}

.diff-text p {
  color: var(--text-dark-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =====================================================================
   11. ADVOGADOS (Layout Unificado Premium - Textos à Esquerda, Fotos à Direita)
   ===================================================================== */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 7rem;
  max-width: 1100px;
  margin: 4rem auto 0 auto;
}

.team-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.team-card-text {
  text-align: left;
}

.team-name {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
}

.team-role {
  margin-bottom: 1.5rem;
  display: block;
}

.team-desc {
  font-size: 0.95rem;
  color: var(--text-sand);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.team-education {
  font-size: 0.85rem;
  border-top: 1px solid var(--accent-gold-border);
  padding-top: 1.5rem;
  text-align: left;
}

.team-img-wrapper {
  aspect-ratio: 3/4;
  width: 100%;
  background-color: #050a14;
  border: 1px solid var(--accent-gold-border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.team-img-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-row:hover .team-img {
  transform: scale(1.05);
}
  margin-bottom: 1.5rem;
}

/* =====================================================================
   12. PROCESSO CLARO (Timeline Conectora Horizontal Animada)
   ===================================================================== */
.timeline-container {
  position: relative;
  margin-top: 5rem;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 47px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background-color: rgba(198, 169, 106, 0.15);
  z-index: 1;
}

.timeline-progress {
  width: 0%;
  height: 100%;
  background-color: var(--accent-gold);
  transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Aciona quando a classe active é adicionada via scroll observer */
.timeline-container.active .timeline-progress {
  width: 100%;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-dot {
  width: 56px;
  height: 56px;
  background-color: var(--bg-white);
  border: 2px solid rgba(198, 169, 106, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  transition: var(--transition-bezier);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-step:hover .step-dot {
  transform: scale(1.15);
  background-color: var(--accent-gold);
  color: var(--bg-white);
  border-color: var(--accent-gold);
  box-shadow: 0 6px 20px rgba(198, 169, 106, 0.3);
}

.timeline-step h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-family: var(--font-serif);
  text-transform: none;
  letter-spacing: 0.05em;
}

.timeline-step p {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
  margin-bottom: 0;
  padding: 0 10px;
}

/* =====================================================================
   13. DEPOIMENTOS (Testimonials Spacing Reduced)
   ===================================================================== */
.testimonials {
  background-color: var(--bg-obsidian);
}

.testimonials-header {
  margin-bottom: 1rem;
}

.testimonials-container {
  max-width: 900px;
  margin: 1.2rem auto 0 auto;
  position: relative;
}

.testimonial-slide {
  text-align: center;
  padding: 2rem;
  display: none;
  animation: fadeInSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide.active {
  display: block;
}

.testimonial-quote-icon {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: rgba(198, 169, 106, 0.08);
  line-height: 1;
  margin-bottom: -2rem;
  display: block;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-pure);
  margin-bottom: 2.5rem;
  font-weight: 300;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: center;
}

.control-btn {
  background: transparent;
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bezier);
}

.control-btn:hover {
  background-color: var(--accent-gold);
  color: var(--bg-obsidian);
  border-color: var(--accent-gold);
  transform: scale(1.08);
}

.control-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-dots {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.4);
}

/* =====================================================================
   14. NOSSAS UNIDADES (Cards Clicáveis do Google Maps em Seção Clara)
   ===================================================================== */
.unidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.unidades-card-link {
  text-decoration: none;
  display: block;
}

.unidades-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(198, 169, 106, 0.25);
  border-radius: 12px;
  padding: 45px 30px;
  transition: var(--transition-bezier);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.unidades-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(198, 169, 106, 0.12);
}

.unidades-card-icon {
  margin-bottom: 24px;
  color: var(--accent-gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
}

.unidades-card-icon svg {
  width: 36px;
  height: 36px;
}

.unidades-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.unidades-card .unidades-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 1.2rem;
  letter-spacing: 0.15em;
}

.unidades-card p {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.unidades-card .maps-hint {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.unidades-card:hover .maps-hint {
  color: var(--accent-gold-dark);
}

/* =====================================================================
   15. FAQ (Horizontal Accordion)
   ===================================================================== */
.faq {
  background-color: var(--bg-obsidian);
}

.practice-container {
  max-width: 1050px;
  margin: 0 auto;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--accent-gold-border);
  margin-top: 4rem;
}

.accordion-item {
  border-bottom: 1px solid var(--accent-gold-border);
  transition: var(--transition-bezier);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 1.5rem;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  outline: none;
  transition: var(--transition-bezier);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.accordion-number {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent-gold);
  opacity: 0.6;
  font-weight: 400;
}

.accordion-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-pure);
  margin-bottom: 0;
  letter-spacing: 0.08em;
  transition: var(--transition-bezier);
}

.accordion-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bezier);
  border: 1px solid var(--accent-gold-border);
  border-radius: 50%;
  color: var(--accent-gold);
  flex-shrink: 0; /* Evita deformação do ícone */
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--accent-gold);
  transition: var(--transition-bezier);
}

.accordion-icon::before {
  width: 12px;
  height: 1px;
}

.accordion-icon::after {
  width: 1px;
  height: 12px;
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

.accordion-item.active {
  background-color: rgba(198, 169, 106, 0.02);
}

.accordion-item.active .accordion-header h3 {
  color: var(--accent-gold-light);
  transform: translateX(15px);
}

.accordion-item.active .accordion-icon {
  transform: rotate(135deg);
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: var(--bg-obsidian);
}

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background-color: var(--bg-obsidian);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.5rem;
}

.accordion-content-inner {
  padding-bottom: 3rem;
  padding-left: 5rem;
  max-width: 850px;
}

.accordion-content p {
  color: var(--text-sand);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0;
}

#faq .accordion-item {
  border-color: rgba(255, 255, 255, 0.08);
}

#faq .accordion-header h3 {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: none;
}

#faq .accordion-header {
  padding: 2.2rem 1rem;
}

#faq .accordion-content-inner {
  padding-left: 1rem;
}

/* =====================================================================
   16. CONTATO E MOCKUP DE FORMULÁRIO (3 Unidades em Duque/São João)
   ===================================================================== */
.contact {
  background-color: var(--bg-slate-dark);
}

.contact-header {
  text-align: left;
  margin-bottom: 3rem;
}

.contact-single-layout {
  max-width: 600px;
  margin: 3.5rem 0 0 0;
  width: 100%;
}

.contact-intro {
  color: var(--text-sand);
  max-width: 720px;
  margin: 1.5rem 0 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
}

.contact-socials-wrapper {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--accent-gold-border);
}

.contact-socials-list {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

@media (max-width: 600px) {
  .contact-socials-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

.contact-social-item {
  display: flex;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  transition: var(--transition-bezier);
  flex-shrink: 0;
}

.contact-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-social-link:hover .contact-social-icon {
  background-color: var(--accent-gold);
  color: var(--bg-obsidian);
  border-color: var(--accent-gold);
}

.contact-social-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-social-text span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-silver);
  font-weight: 600;
}

.contact-social-text strong {
  font-size: 1rem;
  color: var(--text-sand);
  font-family: var(--font-sans);
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-social-link:hover .contact-social-text strong {
  color: var(--accent-gold);
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  transition: var(--transition-bezier);
  outline: none;
}

.form-label {
  position: absolute;
  left: 0;
  top: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  pointer-events: none;
  transition: var(--transition-bezier);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1.2rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  font-weight: 600;
}

.form-input:focus {
  border-bottom-color: var(--accent-gold);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 1rem;
  cursor: pointer;
}

/* =====================================================================
   17. CLOSING / WHATSAPP GLOW BUTTON
   ===================================================================== */
.closing-cta {
  background: radial-gradient(circle at 50% 50%, #152238 0%, var(--bg-obsidian) 100%);
  border-top: 1px solid var(--accent-gold-border);
}

.btn-whatsapp {
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-color: #25d366 !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
  letter-spacing: 0.18em;
  font-weight: 700;
  transition: var(--transition-bezier) !important;
}

.btn-whatsapp::after {
  background-color: #128c7e !important;
}

.btn-whatsapp:hover {
  color: #ffffff !important;
  border-color: #128c7e !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transform: translateY(-4px) scale(1.02);
}

/* WhatsApp Flutuante - Proteção de Deformação Absoluta */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition-fast);
  animation: pulse-whatsapp 2.5s infinite;
  flex-shrink: 0;
}

.whatsapp-floating:hover {
  transform: scale(1.1);
  background-color: #20ba56;
}

.whatsapp-floating svg {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =====================================================================
   18. RODAPÉ (Footer Redesigned with Logo 2.png)
   ===================================================================== */
footer {
  background-color: var(--bg-obsidian);
  border-top: 1px solid var(--accent-gold-border);
  padding: 5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition-fast);
}

.footer-logo:hover .footer-logo-img {
  transform: scale(1.02);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-gold);
}

/* =====================================================================
   19. ADAPTAÇÕES DE RESPONSIVIDADE COMPLETA E DISPOSITIVOS MÓVEIS (OTIMIZADO)
   ===================================================================== */
@media (max-width: 1024px) {
  section {
    padding: 5rem 0;
  }

  .hero {
    background: linear-gradient(to bottom, rgba(15, 27, 45, 0.9) 0%, rgba(15, 27, 45, 0.96) 100%), 
                url('hero.jpg') no-repeat center center;
    background-size: cover;
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .hero-container {
    align-items: center;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    text-align: center;
  }

  .hero p {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
    width: 100%;
  }

  .about-grid {
    display: block;
  }
  
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .unidades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .timeline-line {
    display: none;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .team-list {
    gap: 5rem;
  }

  .team-card-text {
    display: contents;
  }

  .team-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "role"
      "img"
      "desc"
      "edu";
    gap: 0;
    text-align: center;
  }

  .team-name {
    grid-area: name;
    text-align: center;
    margin: 0 0 0.15rem 0;
  }

  .team-role {
    grid-area: role;
    text-align: center;
    margin: 0 0 0.6rem 0;
  }

  .team-row .team-img-wrapper {
    grid-area: img;
    max-width: 320px;
    margin: 0 auto;
  }

  .team-desc {
    grid-area: desc;
    text-align: center;
    margin: 1.5rem 0 1.5rem 0;
  }

  .team-education {
    grid-area: edu;
    text-align: left;
    margin: 1.5rem auto 0 auto;
    max-width: 500px;
    width: 100%;
  }


}

@media (max-width: 768px) {
  /* OTIMIZAÇÃO MOBILE: Aproveitamento horizontal extremo e espaçamentos objetivos */
  .container {
    padding: 0 0.85rem;
  }
  
  section {
    padding: 2.5rem 0; /* Padding vertical super objetivo (menor rolagem) */
  }

  .mobile-toggle {
    display: block;
  }

  /* Gaveta lateral mobile via transform GPU acelerada */
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-slate-dark);
    border-left: 1px solid var(--accent-gold-border);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-wrapper.active {
    transform: translateX(0);
  }

  /* Ocultação total de esferas decorativas de fundo para travar scroll horizontal */
  .glowing-orb {
    display: none !important;
  }

  /* Lista de links interna vertical livre de bugs */
  .nav-menu {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.6rem 0;
    color: #ffffff;
  }

  /* Hero Mobile Reduzido (Mais objetivo, cabe em uma dobra) */
  .hero {
    min-height: auto;
    padding-top: 9rem; /* Previne sobreposição do header fixo em telas de celulares */
    padding-bottom: 3.5rem;
  }

  .hero .subtitle-accent {
    margin-bottom: 0.8rem !important;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6.5vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 290px;
    margin: 0 auto 25px auto;
    gap: 10px;
  }

  .btn {
    width: 100%;
    padding: 1rem 2rem;
  }

  .hero p {
    font-size: 0.88rem !important; /* Diminuído para se ajustar às margens laterais */
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    padding: 0 0.5rem !important;
    text-align: center !important;
  }

  .hero-bullets {
    margin: 0 auto 25px auto !important;
    max-width: 500px !important;
    padding: 0 0.8rem !important;
  }

  .hero-bullets li {
    font-size: 0.88rem !important;
    text-align: left !important;
  }

  /* Estatísticas Horizontais Super Compactas no Celular (Não ocupam espaço) */
  .hero-stats-row {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding-top: 20px;
    margin-top: 10px;
  }

  .hero-stat-item {
    flex: 1;
    align-items: center;
    text-align: center;
  }

  .hero-stat-item .stat-num {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }

  .hero-stat-item .stat-lbl {
    font-size: 0.58rem;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }

  /* Seção "Como funciona o atendimento" - Linha Conectora Vertical Mobile */
  .how-it-works-header {
    margin-bottom: 1rem !important; /* Reduz espaçamento do título */
  }

  .how-it-works .timeline-container {
    margin-top: 1rem !important;
    padding-top: 0 !important;
  }

  .how-it-works .timeline-line {
    display: block !important; /* Ativa a linha vertical no mobile */
    position: absolute !important;
    top: 3.8rem !important;
    bottom: 6.2rem !important; /* Termina precisamente no dot 04 */
    left: 28px !important; /* Centralizado com o step-dot de 56px */
    width: 2px !important;
    height: auto !important; /* Sobrescreve o height: 3px do desktop para permitir estiramento */
    background-color: rgba(198, 169, 106, 0.15) !important;
    z-index: 1 !important;
  }

  .how-it-works .timeline-progress {
    width: 100% !important;
    height: 0% !important; /* Animação de crescimento vertical (eixo Y) */
    background-color: var(--accent-gold) !important;
    transition: height 2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .how-it-works .timeline-container.active .timeline-progress {
    height: 100% !important; /* Preenche até o fim do último dot */
  }

  .how-it-works .timeline-steps {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Layout de passos reformulado: Dot + Título na linha 1; Descrição na linha 2 com recuo */
  .how-it-works .timeline-step {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    gap: 0.5rem 1rem !important;
  }

  .how-it-works .timeline-step h3 {
    flex: 1 !important;
    margin-bottom: 0 !important;
    font-size: 1.1rem !important;
    color: var(--text-dark) !important;
    font-family: var(--font-serif);
    text-transform: none;
    letter-spacing: 0.05em;
  }

  .how-it-works .timeline-step p {
    flex-basis: 100% !important; /* Força quebra para a segunda linha */
    padding-left: calc(56px + 1rem) !important; /* Alinha perfeitamente abaixo do título */
    margin-top: 0.2rem !important;
    margin-bottom: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  .how-it-works .step-dot {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Seção "Perguntas Frequentes" (FAQ) - Mobile */
  .faq-header {
    margin-bottom: 1.5rem !important; /* Reduz espaçamento do título */
  }

  #faq .accordion-header h3 {
    font-size: 0.92rem !important; /* Fonte menor para evitar distorção do '+' */
    line-height: 1.45 !important;
  }

  .accordion-icon {
    flex-shrink: 0 !important; /* Garante que o ícone '+' nunca sofra deformação */
  }

  /* Seção "Inicie sua avaliação agora" (Contato) - Mobile */
  .contact-header {
    margin-bottom: 1rem !important; /* Reduz espaçamento do título */
  }

  .contact-single-layout {
    margin-top: 1.5rem !important; /* Aproxima o formulário do título */
  }

  .contact-socials-wrapper {
    margin-top: 2rem !important; /* Traz o Instagram/WhatsApp para mais próximo do formulário */
    padding-top: 1.8rem !important;
  }

  /* Compactação interna dos cards */
  .practice-card {
    padding: 24px 18px;
  }

  .unidades-card {
    padding: 24px 18px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .unidades-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .accordion-header {
    padding: 1.5rem 0.5rem;
  }

  .accordion-content-inner {
    padding-left: 0.5rem;
    padding-bottom: 1.8rem;
  }

  .testimonial-slide {
    padding: 1.2rem 0.1rem;
  }

  .testimonial-text {
    font-size: 1.2rem;
    line-height: 1.55;
  }

  footer .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 0.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  /* WhatsApp Flutuante com proporção rígida no celular */
  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-floating svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }
  
  h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
    margin-bottom: 1.2rem;
    text-align: center;
  }
  
  h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.6rem);
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 480px) {

  /* Mantido fluxo lateral consistente no mobile abaixo de 480px */
  .how-it-works .timeline-step {
    flex-direction: row !important;
    text-align: left !important;
  }
}

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

/* =====================================================================
   17. PÁGINAS LEGAIS (Termos de Uso e Política de Privacidade)
   ===================================================================== */
header.solid-header {
  background-color: #050a14;
  border-bottom: 1px solid var(--accent-gold-border);
  padding: 0.9rem 0;
}

.legal-section {
  background-color: #f8f9fa; /* Fundo claro premium */
  color: #2d3748; /* Textos escuros para máxima legibilidade */
  padding: 11rem 0 6rem 0; /* Padding superior extra para a barra sólida */
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.legal-container {
  max-width: 850px;
  margin: 0 auto;
}
.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}
.legal-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  color: #050a14; /* Título principal escuro */
  margin: 1rem 0;
  letter-spacing: 0.05em;
}
.legal-update {
  font-size: 0.95rem;
  color: var(--accent-gold-hover); /* Mantém o dourado no subtítulo */
  font-style: italic;
  font-weight: 500;
}
.legal-content {
  line-height: 1.9;
  color: #4a5568; /* Texto de leitura escuro e suave */
  font-size: 1.05rem;
}
.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #050a14; /* Títulos dos itens em azul escuro do site */
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Divisor cinza discreto */
  padding-bottom: 0.5rem;
}
.legal-content p {
  margin-bottom: 1.8rem;
  font-weight: 400;
}
.legal-content strong {
  color: #050a14; /* Negrito em destaque escuro */
  font-weight: 600;
}
.legal-content ul, .legal-content ol {
  margin-bottom: 1.8rem;
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: 0.8rem;
  font-weight: 400;
}
.legal-content a {
  color: var(--accent-gold-hover);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-gold-hover);
  transition: color 0.3s, border-color 0.3s;
  font-weight: 500;
}
.legal-content a:hover {
  color: #050a14;
  border-bottom-color: #050a14;
}

@media (max-width: 768px) {
  .legal-section {
    padding: 8rem 0 4rem 0;
  }
  .legal-content {
    font-size: 1rem;
  }
  .legal-content h3 {
    margin-top: 2.5rem;
    font-size: 1.25rem;
  }
}

/* =====================================================================
   18. AJUSTE DE CORPO BRANCO PARA PÁGINAS LEGAIS
   ===================================================================== */
body.legal-body {
  background-color: #ffffff !important;
  color: #2d3748;
}
body.legal-body .glowing-orb,
body.legal-body .editorial-grid-line {
  display: none !important;
}
body.legal-body .legal-section {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
