/* =============================================================================
   IMAGENS — edite apenas aqui para trocar as fotos da página
   =============================================================================

   hero-bg   : foto de fundo da seção capa (recomendado: 1920×1080px ou maior)
   foto-dr   : foto circular do advogado na seção "Sobre" (recomendado: 600×600px)
   og-image  : imagem de preview para WhatsApp / redes sociais (1200×630px)
                → esta não é referenciada no CSS; edite a meta tag og:image no HTML

   ============================================================================= */
:root {
  --img-hero-bg: url('../assets/img/hero-bg.png');
  --img-foto-dr: url('../assets/img/foto-dr.jpg');
}

/* =============================================================================
   TOKENS DE DESIGN
   ============================================================================= */
:root {
  --bg:        #111111;
  --bg-alt:    #161616;
  --card:      #1a1a1a;
  --bg-footer: #0d0d0d;
  --fg:        #e8ddd0;
  --muted:     #9a8e7e;
  --gold:      #c9a96e;
  --gold-line: rgba(201,169,110,.3);
  --soft:      rgba(232,221,208,.07);
  --green:     #25D366;
  --max:       1080px;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* =============================================================================
   COMPONENTES GLOBAIS
   ============================================================================= */

/* Pill label */
.pill {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* Régua fina */
.rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
  opacity: .6;
}
.rule.left { margin-left: 0; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .22s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-green {
  background: var(--green);
  color: #fff;
  animation: pulse-green 2.8s infinite;
}
.btn-green:hover { filter: brightness(1.08); }

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =============================================================================
   HERO / CAPA
   ============================================================================= */
#capa {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 20px 80px;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(13,15,20,.78) 0%, rgba(13,15,20,.75) 50%, rgba(13,15,20,.88) 100%),
    var(--img-hero-bg) center / cover no-repeat fixed;
}

#capa::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%);
}

#capa .inner { max-width: 800px; }

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: .5;
}

#capa h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.15;
  margin-bottom: 0;
}

.hero-divider {
  width: 56px; height: 2px;
  background: var(--gold);
  margin: 22px auto;
  opacity: .7;
}

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: #ffffff;
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 600;
  line-height: 1.75;
}

/* =============================================================================
   SERVIÇOS
   ============================================================================= */
#servicos {
  padding: 96px 0;
  background: var(--bg-alt);
  position: relative;
}

#servicos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.sec-head {
  text-align: center;
  margin-bottom: 58px;
}

.sec-head h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
}

.sec-head h2 em { font-style: italic; color: var(--gold); }

.sec-head p {
  color: var(--muted);
  font-size: .98rem;
  max-width: 540px;
  margin: 14px auto 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--soft);
  border-radius: 6px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .22s, transform .22s, box-shadow .22s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.5), transparent);
  opacity: 0;
  transition: opacity .22s;
}

.card:hover {
  border-color: var(--gold-line);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.card:hover::after { opacity: 1; }

.card-icon {
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  transition: gap .18s, opacity .18s;
}
.card-link:hover { gap: 10px; opacity: .85; }

/* =============================================================================
   SOBRE
   ============================================================================= */
#sobre {
  padding: 96px 0;
  background: var(--bg);
}

.sobre-wrap {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.sobre-foto {
  position: relative;
  flex-shrink: 0;
}

.sobre-foto::before {
  content: '';
  position: absolute;
  inset: -8px 8px 8px -8px;
  border: 1px solid var(--gold-line);
  border-radius: 6px;
  pointer-events: none;
}

.sobre-foto img {
  width: 360px;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--gold-line);
  object-fit: cover;
  display: block;
}

.sobre-body { max-width: 560px; }

.sobre-body h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 400;
  margin-bottom: 4px;
}

.sobre-body h2 em { font-style: italic; color: var(--gold); }

.sobre-oab {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sobre-body p {
  font-size: .97rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.8;
}

.sobre-body strong { color: var(--fg); font-weight: 500; }

/* =============================================================================
   DEPOIMENTOS
   ============================================================================= */
#depoimento {
  padding: 96px 0;
  background: var(--bg-alt);
  text-align: center;
}

#depoimento h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 48px;
}
#depoimento h2 em { color: var(--gold); font-style: italic; }

.depo-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 40px;
  background: var(--card);
  border: 1px solid var(--soft);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  text-align: left;
  transition: opacity .38s ease;
}

.depo-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.75;
  margin-bottom: 22px;
}

.depo-card cite {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid var(--gold-line);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* =============================================================================
   RODAPÉ
   ============================================================================= */
footer {
  background: #0d0d0d;
  border-top: 1px solid var(--soft);
  padding: 60px 0 24px;
  color: var(--muted);
  font-size: .9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.fc h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold-line);
}

.fc p { margin-bottom: 8px; line-height: 1.7; }

.fc ul { list-style: none; }
.fc ul li { margin-bottom: 8px; }
.fc ul a {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .18s;
}
.fc ul a::before { content: '—'; color: var(--gold); font-size: .7rem; }
.fc ul a:hover { color: var(--fg); }

.fc-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.fc-contact-row i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.fc-contact-row a { color: var(--muted); transition: color .18s; }
.fc-contact-row a:hover { color: var(--fg); }

.footer-bottom {
  border-top: 1px solid var(--soft);
  padding-top: 20px;
  text-align: center;
  font-size: .78rem;
  color: #4a4540;
}

/* =============================================================================
   BOTÕES FLUTUANTES
   ============================================================================= */
.wpp-float {
  position: fixed;
  left: 20px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  z-index: 200;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
  animation: pulse-green 2.8s infinite;
  transition: transform .2s;
}
.wpp-float:hover { transform: scale(1.1); }

.btt {
  position: fixed;
  right: 20px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gold-line);
  color: var(--muted);
  font-size: 15px;
  display: grid;
  place-items: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s, transform .2s, color .2s;
}
.btt.show { opacity: 1; visibility: visible; }
.btt:hover { transform: scale(1.1); color: var(--gold); border-color: var(--gold); }

/* =============================================================================
   RESPONSIVO
   ============================================================================= */
@media (max-width: 768px) {
  html { font-size: 18px; }
  #capa { background-attachment: scroll; background-position: 60% center; background-size: cover; min-height: 90vh; }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card { padding: 20px 14px 16px; }
  .sobre-wrap { gap: 36px; }
  .sobre-foto { width: 100%; max-width: 360px; margin: 0 auto; }
  .sobre-foto img { width: 100%; }
  .depo-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}