:root {
  --black: #000;
  --gold: #C5A059;
  --white: #fff;
  --graphite: #1C1C1C;
  --gray: #5B5A58;
  --soft: #f4f2ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Evita que SVGs genéricos quebrem o layout */
svg {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   TOPBAR / MENU SUPERIOR
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6%;
  border-bottom: 1px solid rgba(197,160,89,.35);
}

.brand {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand span {
  font-family: Cinzel, serif;
  font-size: 25px;
  color: var(--gold);
  font-weight: 700;
}

.brand small {
  font-size: 10px;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  gap: 28px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 25px;
}

/* ==========================================================================
   SEÇÃO HERO (TOPO DO SITE)
   ========================================================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #0b0e14;
  background-image: 
    linear-gradient(90deg, #0b0e14 0%, #0b0e14 45%, rgba(11, 14, 20, 0.75) 65%, rgba(11, 14, 20, 0.1) 100%),
    url('../imagens/estatua.jpg');
  background-position: left center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  padding: 80px 6%;
  border-bottom: 2px solid var(--gold);
}

.inner-hero {
  min-height: 62vh;
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.hero-content {
  max-width: 480px;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 2;
}

.inner-hero .hero-content,
.inner-hero h1 {
  max-width: 900px;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  margin: 0 0 18px;
}

.hero h1 {
  font: 600 clamp(32px, 3.8vw, 50px)/1.15 Cinzel, serif;
  margin: 0 0 22px;
  color: #ffffff;
}

.lead {
  font-size: 16px;
  max-width: 460px;
  color: #eee;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 23px;
  border: 1px solid var(--gold);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.btn-gold {
  background: var(--gold);
  color: #000;
}

.btn-outline {
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ==========================================================================
   SEÇÕES GERAIS E ESTRUTURA
   ========================================================================== */
.section {
  padding: 90px 8%;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section h2 {
  font: 600 clamp(32px, 4vw, 52px)/1.15 Cinzel, serif;
  margin: 0 0 18px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.dark-section {
  background: var(--graphite);
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid rgba(197,160,89,.32);
  padding: 28px;
  min-height: 250px;
  transition: .25s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.card span, .steps b {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.card h3, .steps h3 {
  font: 600 22px Cinzel, serif;
}

.card p {
  color: #222222;
  font-size: 14px;
}

.dark-section .card p {
  color: #e5e5e5 !important;
}

.card a, .text-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.list {
  padding: 0;
  list-style: none;
  border-top: 1px solid #ddd;
}

.list li {
  padding: 13px 0;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}

.list li:before {
  content: '— ';
  color: var(--gold);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.steps > div {
  border-top: 1px solid rgba(197,160,89,.45);
  padding-top: 20px;
}

.steps p {
  color: #cfcfcf;
  font-size: 14px;
}

/* ==========================================================================
   SEÇÃO NOSSA ABORDAGEM (LISTA VERTICAL E FUNDO CLARO)
   ========================================================================== */
/* SEÇÃO NOSSA ABORDAGEM - ESTRUTURA HORIZONTAL EM COLUNAS */
.approach-light-section {
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 80px 6%;
}

.approach-container {
  max-width: 1280px;
  margin: 0 auto;
}

.approach-header {
  margin-bottom: 50px;
}

.approach-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #c5a059;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.approach-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  line-height: 1.15;
  color: #111111;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* GRID DOS 4 PASSOS LADO A LADO */
.steps-grid {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-card .step-number {
  font-size: 0.9rem;
  color: #888888;
  font-weight: 400;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}

.step-card p {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* AJUSTE RESPONSIVO PARA TELAS MENORES */
@media (max-width: 900px) {
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ==========================================================================
   CITAÇÕES, FAQ E CONTATO
   ========================================================================== */
.quote {
  background: var(--soft);
  text-align: center;
}

.quote blockquote {
  max-width: 900px;
  margin: 0 auto;
  font: 500 clamp(28px, 4vw, 48px)/1.25 Cinzel, serif;
}

.faq {
  max-width: 1000px;
  margin: auto;
}

.faq details {
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

.faq details:last-child {
  border-bottom: 1px solid #ddd;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

/* CENTRALIZAÇÃO DA SEÇÃO DE CONTATO */
.dark-section#contato {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  padding: 80px 20px !important;
}

.dark-section#contato > div,
.contact-content {
  max-width: 800px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.contact-buttons,
.contact-box {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  margin-top: 25px !important;
  width: 100% !important;
}

.small {
  font-size: 11px;
  color: #aaa;
}

/* ==========================================================================
   SEÇÃO EQUIPE / ADVOGADOS
   ========================================================================== */
.equipe-advogados {
  padding: 40px 20px;
  text-align: center;
}

.grid-advogados {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.card-advogado {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card-advogado:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,.1);
}

.foto-advogado {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.card-advogado h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a202c;
}

.card-advogado .oab {
  font-size: .95rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .5px;
}

/* ==========================================================================
   RODAPÉ (FOOTER) E ESTRUTURA DE COLUNAS
   ========================================================================== */
footer, 
.footer-container {
  background-color: #ffffff !important;
  color: #333333 !important;
  padding: 60px 6% 30px !important;
  display: grid !important;
  grid-template-columns: 1fr 0.8fr 0.8fr 1.4fr !important;
  gap: 30px !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  border-top: 1px solid rgba(197,160,89,.3);
}

.footer-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.footer-title {
  color: #c5a059 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 5px !important;
}

.brand-col strong {
  font-family: 'Cinzel', serif !important;
  font-size: 1.2rem !important;
  color: #111111 !important;
}

.brand-col .footer-desc {
  font-size: 0.85rem !important;
  color: #666666 !important;
  margin-top: 5px !important;
}

.footer-column a {
  color: #555555 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
}

.footer-column a:hover {
  color: #c5a059 !important;
}

/* MAPA NA COLUNA DO RODAPÉ */
.map-col {
  width: 100% !important;
  max-width: 350px;
}

.address-text {
  font-size: 0.8rem !important;
  color: #666666 !important;
  margin: 0 0 8px 0 !important;
}

.map-container {
  width: 100% !important;
  height: 180px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  position: relative;
}

.map-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

/* DIREITOS RESERVADOS NA PARTE INFERIOR DO RODAPÉ */
.footer-bottom {
  grid-column: 1 / -1 !important;
  border-top: 1px solid #eeeeee !important;
  padding-top: 20px !important;
  margin-top: 20px !important;
  text-align: right !important;
  font-size: 0.75rem !important;
  color: #888888 !important;
}

/* ==========================================================================
   BOTÃO FLUTUANTE ANIMADO DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed !important;
  width: 60px !important;
  height: 60px !important;
  bottom: 25px !important;
  right: 25px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.4) !important;
  z-index: 999999 !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: pulse-whatsapp 2s infinite;
  transition: background-color 0.3s ease;
}

.whatsapp-float svg {
  width: 32px !important;
  height: 32px !important;
  fill: #ffffff !important;
  display: block !important;
}

.whatsapp-float:hover {
  background-color: #20ba5a !important;
  animation: none;
  transform: scale(1.15);
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #000;
    padding: 20px 6%;
    flex-direction: column;
    gap: 16px;
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .cards, .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro, .split, .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero {
    background: linear-gradient(180deg, #0b0e14 0%, rgba(11,14,20,0.85) 60%, rgba(11,14,20,0.95) 100%),
                url('../imagens/estatua.jpg') center/cover no-repeat;
    padding: 100px 6% 60px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px !important;
    height: 52px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  .whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
  }
}

@media (max-width: 560px) {
  .cards, .steps {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 65px 7%;
  }
  .hero h1 {
    font-size: 32px;
  }
  .lead {
    font-size: 15px;
  }
  .topbar {
    padding: 12px 6%;
  }
  .footer-container {
    grid-template-columns: 1fr !important;
  }
  .footer-bottom {
    text-align: center !important;
  }
}