/* DESIGN SYSTEM & TOKENS */
:root {
  /* Cores */
  --black: #050505;
  --white: #ffffff;
  --gray-light: #f7f7f7;
  --gray-mid: #eaeaea;
  --gray-dark: #121212;
  --gold: #c9a84c;
  --gold-light: #ebd080;
  --gold-dark: #a0812c;
  
  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Curvas e Transições */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --t-snappy: 0.25s var(--ease-premium);
  --t-smooth: 0.5s var(--ease-premium);
  
  /* Sombras */
  --shadow-premium: 0 24px 48px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--black);
}

/* Custom Scrollbar - Webkit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold));
  border-radius: 4px;
  border: 2px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}


body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: bodyEntrance 1.8s var(--ease-premium) forwards;
}

/* TYPOGRAPHY UTILITIES */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

p {
  font-family: var(--font-sans);
  font-weight: 300;
}

/* BUTTONS & HOVERS (PREMIUM B&W AND GOLD) */
.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: color var(--t-snappy), box-shadow var(--t-snappy);
}

.btn-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
  transition: clip-path var(--t-smooth);
  clip-path: inset(0 100% 0 0);
}

.btn-premium::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0;
  z-index: -2;
  transition: opacity var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .btn-premium:hover {
    color: var(--black);
    box-shadow: 0 10px 20px rgba(201, 168, 76, 0.15);
  }
  .btn-premium:hover::before {
    clip-path: inset(0 0 0 0);
  }
  .btn-premium:hover::after {
    opacity: 1;
  }
}

/* Secondary Outline Button */
.btn-secondary-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: color var(--t-snappy), box-shadow var(--t-snappy);
}

.btn-secondary-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
  transition: clip-path var(--t-smooth);
  clip-path: inset(0 100% 0 0);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary-outline:hover {
    color: var(--white);
    box-shadow: 0 10px 20px rgba(201, 168, 76, 0.08);
  }
  .btn-secondary-outline:hover::before {
    clip-path: inset(0 0 0 0);
  }
}

/* Dark text variation for buttons on light background */
.btn-dark-text {
  color: var(--black);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
@media (hover: hover) and (pointer: fine) {
  .btn-dark-text:hover {
    color: var(--black);
  }
}

/* NAVBAR INTELIGENTE */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--t-smooth), border-color var(--t-smooth);
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}

.logo-subtext {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 4px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--t-snappy);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--white);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
  }
}

.btn-header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white) !important;
  text-decoration: none;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: color var(--t-snappy), box-shadow var(--t-snappy);
}

.btn-header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
  transition: clip-path var(--t-smooth);
  clip-path: inset(0 100% 0 0);
}

.btn-header-cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0;
  z-index: -2;
  transition: opacity var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .btn-header-cta:hover {
    color: var(--white) !important;
    box-shadow: 0 10px 20px rgba(201, 168, 76, 0.15);
  }
  .btn-header-cta:hover::before {
    clip-path: inset(0 0 0 0);
  }
  .btn-header-cta:hover::after {
    opacity: 1;
  }
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: transform var(--t-snappy), opacity var(--t-snappy);
}

/* SEÇÃO 1: HERO */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px 24px;
  background-color: var(--black);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero_law_office.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.6) 50%, rgba(5, 5, 5, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Grain Noise Overlay */
.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, transparent 30%, var(--black) 90%),
                    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroTextReveal 1.4s var(--ease-premium) 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  max-width: 850px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroTextReveal 1.6s var(--ease-premium) 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin-bottom: 48px;
  opacity: 0;
  animation: heroTextReveal 1.8s var(--ease-premium) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroTextReveal 2.0s var(--ease-premium) 0.9s forwards;
}

/* COMMON SECTION KICKERS & TITLES */
.section-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.kicker-light {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 36px;
}

.title-light {
  color: var(--white);
}

/* SEÇÃO 2: SOBRE NÓS */
.about-section {
  padding: 120px 24px;
  background-color: var(--white);
  color: var(--black);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  padding: 16px;
  border-radius: 8px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.about-content {
  text-align: left;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.05rem;
  color: rgba(5, 5, 5, 0.75);
  margin-bottom: 24px;
  text-align: justify;
}

.about-content .btn-premium {
  margin-top: 16px;
}

/* SEÇÃO 3: ÁREAS DE ATUAÇÃO (LISTA INTERATIVA E EXPANSÍVEL) */
.services-section {
  padding: 120px 24px;
  background-color: var(--black);
  contain-intrinsic-size: 800px;
  content-visibility: auto;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
}

.service-row {
  background-color: var(--gray-dark);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.service-row[open] {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(201, 168, 76, 0.05);
}

.service-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 48px; /* Touch target accessibility rule */
}

.service-row-header::-webkit-details-marker {
  display: none;
}

.service-row-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.4;
  margin-right: 30px;
  line-height: 1;
  transition: opacity var(--t-snappy);
}

.service-row[open] .service-row-number {
  opacity: 1;
}

.service-row-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 600;
  flex-grow: 1;
  margin: 0;
  transition: color var(--t-snappy);
}

.service-row-indicator {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-smooth);
}

.service-row-indicator::before,
.service-row-indicator::after {
  content: "";
  position: absolute;
  background-color: var(--gold);
  transition: transform var(--t-smooth), background-color var(--t-smooth);
}

.service-row-indicator::before {
  width: 14px;
  height: 2px;
}

.service-row-indicator::after {
  width: 2px;
  height: 14px;
}

.service-row[open] .service-row-indicator {
  transform: rotate(45deg);
}

.service-row[open] .service-row-indicator::before,
.service-row[open] .service-row-indicator::after {
  background-color: var(--white);
}

.service-row-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-smooth);
}

.service-row[open] .service-row-content {
  grid-template-rows: 1fr;
}

.service-row-inner {
  min-height: 0;
  overflow: hidden;
}

.service-row-body {
  padding: 0 40px 40px 110px; /* Alinhado com o texto principal */
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.service-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-bullets li {
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 24px;
}

.service-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.service-cta-wrapper {
  grid-column: span 2;
  margin-top: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .service-row:hover {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 767px) {
  .service-row-header {
    padding: 24px;
  }
  .service-row-number {
    font-size: 1.4rem;
    margin-right: 16px;
  }
  .service-row-title {
    font-size: 1.15rem;
  }
  .service-row-body {
    padding: 0 24px 24px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-cta-wrapper {
    grid-column: span 1;
  }
}

/* SEÇÃO 4: METODOLOGIA (TIMELINE VERTICAL PREMIUM) */
.methodology-section {
  padding: 120px 24px;
  background-color: var(--gray-light);
  color: var(--black);
  contain-intrinsic-size: 800px;
  content-visibility: auto;
}

.methodology-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.methodology-timeline {
  position: relative;
  max-width: 900px;
  margin: 56px auto 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

.methodology-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--gray-mid) 0%, var(--gold) 30%, var(--gold-dark) 70%, var(--gray-mid) 100%);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding: 30px 40px;
  box-sizing: border-box;
}

.timeline-step:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  margin-left: 50%;
}

.step-badge {
  position: absolute;
  top: 50%;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(50%, -50%);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.15);
  transition: background-color var(--t-snappy), color var(--t-snappy), transform var(--t-smooth), box-shadow var(--t-smooth);
}

.timeline-step:nth-child(even) .step-badge {
  left: 0;
  right: auto;
  transform: translate(-50%, -50%);
}

.step-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: transform var(--t-smooth), border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.step-title {
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 12px;
  font-weight: 600;
}

.step-desc {
  font-size: 0.95rem;
  color: rgba(5, 5, 5, 0.7);
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .timeline-step:hover .step-card {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(201, 168, 76, 0.1);
  }
  .timeline-step:hover .step-badge {
    background-color: var(--gold);
    color: var(--white);
    transform: translate(50%, -50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
  }
  .timeline-step:nth-child(even):hover .step-badge {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@media (max-width: 767px) {
  .methodology-timeline::before {
    left: 20px;
    transform: none;
  }
  
  .timeline-step {
    width: 100%;
    justify-content: flex-start;
    padding: 20px 20px 20px 50px;
  }
  
  .timeline-step:nth-child(even) {
    margin-left: 0;
  }
  
  .step-badge {
    left: 20px;
    right: auto;
    transform: translate(-50%, -50%);
  }
  
  .timeline-step:nth-child(even) .step-badge {
    transform: translate(-50%, -50%);
  }
  
  .step-card {
    padding: 24px;
  }
}

/* SEÇÃO 5: FAQ ACCORDION (CSS GRID TRANSITION) */
.faq-section {
  padding: 120px 24px;
  background-color: var(--white);
  color: var(--black);
  contain-intrinsic-size: 800px;
  content-visibility: auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-accordion-list {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 24px 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-snappy);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--t-snappy);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-smooth);
}

.faq-answer.open {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.98rem;
  color: rgba(5, 5, 5, 0.7);
  line-height: 1.7;
}

/* SEÇÃO 6: CTA FINAL */
.cta-final {
  padding: 140px 24px;
  background-color: var(--black);
  text-align: center;
  position: relative;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

/* SEÇÃO 7: FOOTER */
.site-footer {
  background-color: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 24px 40px 24px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 60px;
}

.logo-footer {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-lawyer-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .footer-links-list a:hover {
    color: var(--gold);
  }
}

.footer-contact-item {
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact-item a:hover {
    color: var(--gold);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .footer-bottom-container a:hover {
    color: var(--white);
    text-decoration: underline;
  }
}

/* STICKY CTA BAR MOBILE */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.btn-sticky-cta {
  display: block;
  width: 100%;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 14px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: opacity var(--t-snappy);
}

.btn-sticky-cta:active {
  opacity: 0.9;
}

/* WHATSAPP WIDGET (INTELIGENTE & PRESERVADO) */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.whatsapp-widget.widget-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Botão Circular Principal */
.wa-trigger-btn {
  width: 60px;
  height: 60px;
  background-color: #128c7e;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform var(--t-snappy), background-color var(--t-snappy), border-color var(--t-snappy), box-shadow var(--t-snappy);
  will-change: transform, border-color, box-shadow;
}

.wa-svg-icon {
  width: 30px;
  height: 30px;
}

@media (hover: hover) and (pointer: fine) {
  .wa-trigger-btn:hover {
    transform: scale(1.05);
    background-color: #25d366;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.3);
  }
}

/* Tooltip de Inatividade */
.wa-tooltip {
  position: absolute;
  right: 75px;
  bottom: 12px;
  background-color: var(--white);
  color: var(--black);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.wa-tooltip.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.wa-tooltip-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  position: relative;
}

/* Hitbox acessível para toque no mobile */
@media (max-width: 767px) {
  .wa-tooltip-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .wa-tooltip-close:hover {
    color: var(--black);
  }
}

/* Painel do Chat Simulado */
.wa-chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background-color: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
  will-change: opacity, transform;
}

.wa-chat-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wa-chat-header {
  background-color: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-chat-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.wa-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.wa-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border: 2px solid var(--black);
  border-radius: 50%;
}

.wa-chat-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.wa-chat-subtitle {
  font-size: 0.75rem;
  color: #25d366;
  display: block;
}

.wa-chat-body {
  padding: 20px;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #08090b;
}

.wa-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.wa-bubble-incoming {
  background-color: var(--gray-dark);
  color: rgba(255, 255, 255, 0.9);
  align-self: flex-start;
}

.wa-bubble-outgoing {
  background-color: var(--gold-dark);
  color: var(--white);
  align-self: flex-end;
}

.wa-chat-typing {
  align-self: flex-start;
  background-color: var(--gray-dark);
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  gap: 4px;
}

.wa-chat-typing .dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: waTyping 1.4s infinite both;
}

.wa-chat-typing .dot:nth-child(2) { animation-delay: .2s; }
.wa-chat-typing .dot:nth-child(3) { animation-delay: .4s; }

@keyframes waTyping {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.wa-chat-options {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #0b0c0e;
  transition: opacity var(--t-smooth), max-height var(--t-smooth), padding var(--t-smooth), border-top-color var(--t-smooth);
  max-height: 200px;
  opacity: 1;
  overflow: hidden;
  will-change: opacity, max-height;
}

.wa-chat-options.fade-out {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
  border-top-color: transparent;
  pointer-events: none;
}

.wa-option-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--t-snappy), border-color var(--t-snappy), color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .wa-option-btn:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--gold-light);
    color: var(--white);
  }
}

.wa-btn-direct {
  display: block;
  text-align: center;
  border-color: var(--gold) !important;
  color: var(--white) !important;
  background-color: var(--gold-dark) !important;
  font-weight: 600;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .wa-btn-direct:hover {
    background-color: var(--gold) !important;
    border-color: var(--gold-light) !important;
    color: var(--white) !important;
  }
}

/* ESTILOS DINÂMICOS DO BLOG & ARTIGOS */
#blog-secao, #artigo-secao {
  padding: 140px 24px 100px 24px;
  background-color: var(--white);
  color: var(--black);
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-title-section {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  text-align: center;
  color: var(--black);
  margin-bottom: 56px;
}

.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background-color: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 32px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(15px);
  animation: heroTextReveal 0.8s var(--ease-premium) forwards;
  transition: transform var(--t-snappy), box-shadow var(--t-snappy), border-color var(--t-snappy);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.blog-card-date {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(5, 5, 5, 0.5);
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(5, 5, 5, 0.7);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Artigo Único */
.artigo-single-container {
  max-width: 760px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextReveal 1s var(--ease-premium) forwards;
}

.btn-voltar {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
  cursor: pointer;
  margin-bottom: 32px;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-snappy);
}

.btn-voltar:hover {
  color: var(--black);
}

.artigo-meta-date {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: rgba(5, 5, 5, 0.5);
  display: block;
  margin-bottom: 16px;
}

.artigo-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 24px;
}

.artigo-divider {
  border: 0;
  border-top: 1px solid var(--gray-mid);
  margin: 24px 0 40px 0;
}

.artigo-text-body p {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(5, 5, 5, 0.8);
  margin-bottom: 28px;
  text-align: justify;
}

.artigo-text-body strong {
  font-weight: 700;
  color: var(--black);
}

.blog-blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--gold-dark);
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 40px 0;
  font-style: italic;
}

.artigo-text-body ul, .artigo-text-body ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

.artigo-text-body li {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(5, 5, 5, 0.8);
  margin-bottom: 10px;
}

.loading, .empty, .error {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(5, 5, 5, 0.5);
  padding: 80px 0;
}

.error a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}

/* RESPONSIVE STYLES (MOBILE-FIRST) */
@media (max-width: 991px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .hero-section::before {
    opacity: 0.07;
  }
  
  .hero-section::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.8) 100%);
  }

  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--black);
    padding: 100px 40px;
    transition: right var(--t-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 105;
  }
  
  .main-nav.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  /* Sticky bar spacing */
  .cta-final {
    padding-bottom: 120px;
  }
  .site-footer {
    padding-bottom: 100px;
  }
  .mobile-sticky-bar {
    display: block;
  }
  
  /* Menu Toggle animation */
  .mobile-menu-btn.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .whatsapp-widget {
    bottom: 90px; /* Space above mobile sticky bar */
    right: 20px;
  }
  .wa-chat-panel {
    width: 290px;
  }
  .wa-tooltip {
    right: 70px;
  }
}

/* SITE ENTRANCE & SCROLL REVEAL ANIMATIONS */
@keyframes bodyEntrance {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Scroll Reveal Base Classes */
.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.4s var(--ease-premium), transform 1.4s var(--ease-premium);
  will-change: opacity, transform;
}

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

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
  will-change: opacity, transform;
}

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

/* ACCESSIBILITY & PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
