/* ==========================================================================
   VSG Advogados — Vasconcelos, Spindola e Gomes Advogados Associados
   Paleta extraída da logo: azul-marinho + dourado
   ========================================================================== */

:root{
  /* Cores extraídas diretamente da logo enviada */
  --navy:        #0C2336;   /* fundo principal (igual ao fundo da logo) */
  --navy-deep:   #081826;   /* tom mais escuro — hero overlay, rodapé */
  --navy-panel:  #123049;   /* painéis / cards sobre navy */
  --navy-light:  #16344F;

  --gold:        #CAB48D;   /* dourado da logo (texto/traços) */
  --gold-soft:   #E1D2B4;   /* dourado claro — hover, detalhes */
  --gold-dark:   #A98A5C;   /* dourado escuro — hover de botão, active */

  --cream:       #F4EEE1;   /* texto claro sobre fundo navy */
  --cream-dim:   #C9C1AE;   /* texto secundário sobre navy */

  --ink:         #1B2733;   /* texto escuro sobre fundo claro/dourado */
  --paper:       #FBF9F4;   /* fundo claro alternado entre seções */
  --paper-alt:   #F1ECE0;

  --shadow: 0 10px 30px rgba(8,20,32,.25);
  --radius: 14px;
  --radius-sm: 8px;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;

  --header-h: 92px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; font-size: 18px; }
body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--cream-dim);
  background: var(--navy);
  line-height: 1.6;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-serif); font-weight:600; margin:0 0 .5em; color: var(--cream); }
p{ margin:0 0 1em; }
.container{ max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Utilities ---------- */
.eyebrow{
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .88rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .6em;
}
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-intro{ max-width: 640px; margin: 0 auto 3.2rem; color: var(--cream-dim); }
.placeholder-note{
  text-align:center; font-size:.78rem; color: rgba(244,238,225,.45); margin-top:2.4rem; font-style: italic;
}

/* Selo/badge estilo "pill" no hero */
.hero-badge{
  display:inline-flex; align-items:center; gap:9px;
  padding: .5em 1.2em;
  border-radius: 999px;
  background: rgba(251,249,244,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(169,138,92,.45);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 4px rgba(255,255,255,.6);
}
.hero-badge-dot{ width:7px; height:7px; border-radius:50%; background: var(--gold); flex-shrink:0; box-shadow: 0 0 0 3px rgba(202,180,141,.2); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: .95em 2.1em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-gold{ background: var(--gold); color: var(--navy); }
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline{ border-color: rgba(12,35,54,.4); color: var(--navy); }
.btn-outline:hover{ background: rgba(12,35,54,.08); border-color: var(--navy); }
.btn-navy-outline{ border-color: var(--navy); color: var(--navy); }
.btn-navy-outline:hover{ background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn-block{ width:100%; }

/* ==========================================================================
   HEADER / MENU FLUTUANTE
   ========================================================================== */
#site-header{
  position: fixed;
  top: 0; left:0; right:0;
  z-index: 1000;
  display:flex;
  justify-content:center;
  padding-top: 22px;
  pointer-events: none;
}

#main-nav{
  pointer-events: all;
  width: min(1180px, calc(100% - 40px));
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(202,180,141,.32);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(169,138,92,.45);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  transition: background .4s ease, box-shadow .4s ease, border-radius .4s ease,
              padding .4s ease, width .4s ease, top .4s ease;
}

/* estado fixo/sólido ao rolar a página */
#site-header.scrolled{ padding-top: 0; }
#site-header.scrolled #main-nav{
  width: 100%;
  border-radius: 0;
  background: #FFFFFF;
  border: none;
  border-bottom: 1px solid rgba(169,138,92,.4);
  box-shadow: 0 8px 24px rgba(12,35,54,.12);
  padding: 6px 20px;
}

.nav-logo{
  display:flex; align-items:center; gap:10px;
  margin-right: 6px;
  flex-shrink:0;
}
.nav-logo img{
  width: 44px; height:44px; border-radius:50%;
  transition: width .3s ease, height .3s ease;
}
#site-header.scrolled .nav-logo img{ width: 38px; height:38px; }
.nav-logo-text{ display:flex; flex-direction:column; line-height:1.1; }
.nav-logo-text strong{
  font-family: var(--font-serif); color: var(--navy);
  font-size: 1.15rem; letter-spacing:.04em;
}
.nav-logo-text small{
  color: rgba(12,35,54,.65); font-size: .7rem;
  text-transform: uppercase; letter-spacing:.12em;
}

.nav-links{
  display:flex; align-items:center; gap:6px;
  flex:1;
  justify-content:center;
  flex-wrap: nowrap;
}
.nav-btn{
  display:inline-block;
  padding: .62em 1.15em;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .25s ease, transform .2s ease, opacity .25s ease;
}
.nav-btn:hover{ color: var(--gold-dark); transform: translateY(-1px); }
.nav-btn.active{ color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--gold-dark); }

.nav-social{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.nav-social a{
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px;
  color: var(--navy);
  opacity:.85;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-social a:hover{ opacity:1; transform: translateY(-2px); }
.nav-social svg{ width:18px; height:18px; fill: currentColor; }

#nav-toggle{
  display:none;
  flex-direction:column; justify-content:center; align-items:center;
  gap:5px;
  width:38px; height:38px;
  background: transparent; border:none; cursor:pointer;
  flex-shrink:0;
}
#nav-toggle span{ width:22px; height:2px; background: var(--navy); border-radius:2px; transition: all .3s ease; }
#nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
#nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
#nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO / SLIDESHOW
   ========================================================================== */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  background: var(--navy);
}
.hero-slideshow{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0;
  background-size: cover; background-position: center;
  opacity:0;
  transform: scale(1.08);
  transition: opacity 5s ease, transform 9s ease;
}
.hero-slide.active{ opacity:1; transform: scale(1); }
.hero-overlay{
  position:absolute; inset:0;
  background: none;
  z-index:1;
}
.hero-content{
  position:relative; z-index:2;
  text-align:center;
  max-width: 780px;
  padding: 0 24px;
  color: var(--navy);
  margin-top: 20px;
}
.hero-logo{ width: 84px; height:84px; border-radius:50%; margin: 0 auto 1.4rem; box-shadow: 0 10px 30px rgba(12,35,54,.25); }
.hero-eyebrow{ display:none; }
.hero-content h1{
  color: var(--cream);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height:1.2;
  margin-bottom: .6em;
  text-shadow: 0 2px 10px rgba(4,10,18,.55), 0 10px 34px rgba(4,10,18,.45);
}
.hero-subtitle{ display:none; }
.hero-actions{ display:flex; gap: 16px; justify-content:center; flex-wrap:wrap; }

.hero-dots{
  position:absolute; bottom: 34px; left:50%; transform: translateX(-50%);
  display:flex; gap:10px; z-index:2;
}
.hero-dots button{
  width:9px; height:9px; border-radius:50%;
  border: 1px solid var(--gold);
  background: transparent;
  padding:0; cursor:pointer;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hero-dots button.active{ border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(202,180,141,.25); }
.hero-dots button:hover{ background: var(--gold); box-shadow: 0 0 10px 2px rgba(202,180,141,.7); }

.scroll-cue{
  position:absolute; bottom: 70px; right: 40px; z-index:2;
  width:30px; height:50px; border: 1.5px solid var(--gold-soft); border-radius: 20px;
  display:flex; justify-content:center; padding-top:8px;
}
.scroll-cue span{
  width:4px; height:8px; background: var(--gold); border-radius:2px;
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue{
  0%{ transform: translateY(0); opacity:1; }
  70%{ transform: translateY(14px); opacity:0; }
  100%{ opacity:0; }
}
@media (max-width: 760px){ .scroll-cue{ display:none; } }

/* ==========================================================================
   SECTIONS — generic
   ========================================================================== */
.section{ padding: 6.5rem 0; position:relative; }

/* Sobre Nós e Advogados: seções claras, mescladas com branco para equilibrar o navy */
.section-sobre{ background: var(--paper); }
.section-sobre h2, .section-sobre h3{ color: var(--navy); }
.section-sobre .eyebrow{ color: var(--gold-dark); }
.section-sobre .body-copy{ color: #4a5560; }
.section-sobre .placeholder-note{ color: rgba(27,39,51,.5); }

.section-especialidades{ background: var(--navy-deep); }

.section-advogados{ background: var(--paper-alt); }
.section-advogados h2, .section-advogados h3{ color: var(--navy); }
.section-advogados .eyebrow{ color: var(--gold-dark); }
.section-advogados .section-intro{ color: #5b6672; }

.section-clientes{ background: var(--navy-deep); overflow:hidden; }

.clients-marquee-wrap{ display:flex; flex-direction:column; gap:14px; margin-top: 2.6rem; }
.marquee-row{
  overflow:hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track{
  display:flex; align-items:center; width:max-content; gap: 46px;
  animation: marquee-scroll 46s linear infinite;
}
.marquee-row.reverse .marquee-track{ animation-direction: reverse; }
.marquee-row:hover .marquee-track{ animation-play-state: paused; }
.client-name{
  font-family: var(--font-serif); font-weight:600;
  font-size: 1.35rem; white-space:nowrap; color: var(--gold);
  padding: 6px 4px; cursor:default;
  transition: color .35s ease, transform .35s ease, text-shadow .35s ease;
}
.client-name:hover{
  color: #fff;
  transform: scale(1.22);
  text-shadow: 0 0 14px rgba(255,255,255,.9), 0 0 34px rgba(202,180,141,.65);
}
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Depoimentos ---------- */
.section-depoimentos{ --gold-bright: #F0C25E; background: var(--paper-alt); }
.section-depoimentos h2{ color: var(--navy); }
.section-depoimentos .eyebrow{ color: var(--gold-dark); }
.section-depoimentos .section-intro{ color: #5b6672; }
.testimonials-carousel{ display:flex; align-items:center; gap: 14px; margin-top: 2.6rem; }
.testimonials-viewport{ overflow:hidden; flex:1; }
.testimonials-track{ display:flex; gap: 26px; padding-top: 40px; transition: transform .5s ease; }
.testimonials-arrow{
  flex-shrink:0; width:42px; height:42px; border-radius:50%;
  background: var(--paper); border: 1px solid var(--gold-bright);
  color: var(--navy); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.testimonials-arrow svg{ width:18px; height:18px; }
.testimonials-arrow:hover{ background: var(--gold-bright); color: var(--navy); transform: translateY(-2px); }
.testimonials-dots{ display:flex; justify-content:center; gap:8px; margin-top: 1.6rem; }
.testimonials-dots button{
  width:9px; height:9px; border-radius:50%; background: rgba(12,35,54,.2); border:none; padding:0; cursor:pointer;
  transition: background .2s ease, transform .2s ease;
}
.testimonials-dots button.active{ background: var(--gold-bright); transform: scale(1.3); }
.testimonial-card{ flex-shrink:0;
  position:relative;
  background: var(--navy);
  border: 1px solid var(--gold-bright);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.6rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.testimonial-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-bright); }
.testimonial-stars{ display:flex; gap:3px; margin-bottom: 1rem; padding-right: 5.5rem; }
.testimonial-stars svg{ width:18px; height:18px; color: var(--gold-bright); }
.testimonial-quote{ color: #fff; font-size:.98rem; line-height:1.65; margin:0 0 1.4rem; }
.testimonial-author{ display:flex; align-items:center; gap:12px; padding-top:1.2rem; border-top:1px solid var(--gold-bright); }
.testimonial-avatar{
  position:absolute; top:-32px; right:22px; z-index:2;
  width:92px; height:92px; border-radius:50%; flex-shrink:0; overflow:hidden;
  background: var(--navy-panel); color: var(--gold-bright); display:flex; align-items:center; justify-content:center;
  font-family: var(--font-serif); font-weight:600; font-size:2rem;
  border:3px solid var(--gold-bright); box-shadow: var(--shadow);
}
.testimonial-avatar img{ width:100%; height:100%; object-fit:cover; }
.testimonial-author strong{ display:block; color: var(--cream); font-size:.96rem; }
.testimonial-author span{ display:block; font-size:.82rem; color: var(--gold-bright); }

/* ---------- Como Trabalhamos ---------- */
.section-processo{ background: var(--paper); }
.section-processo h2, .section-processo h3{ color: var(--navy); }
.section-processo .eyebrow{ color: var(--gold-dark); }
.section-processo .section-intro{ color: #5b6672; }
.steps-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 2.6rem; }
.step-card{ text-align:center; padding: 0 8px; }
.step-number{
  width:58px; height:58px; border-radius:50%;
  background: var(--navy); color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-serif); font-size:1.5rem;
  margin: 0 auto 1.1rem;
  border: 1px solid rgba(202,180,141,.4);
}
.step-card h3{ font-size:1.1rem; margin-bottom:.4em; }
.step-card p{ font-size:.94rem; color:#5b6672; margin:0; }

/* ---------- Conteúdo Jurídico ---------- */
.section-conteudo{ background: var(--paper-alt); }
.section-conteudo h2{ color: var(--navy); }
.section-conteudo .eyebrow{ color: var(--gold-dark); }
.section-conteudo .body-copy{ color: #4a5560; }
.content-illustration{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(202,180,141,.25);
  aspect-ratio: 4/3;
}
.content-illustration svg{ width:100%; height:100%; }
.content-tags{ display:flex; flex-wrap:wrap; gap:10px; margin: 1.2rem 0 1.6rem; }
.content-badge{
  display:inline-block; font-size:.78rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.08em; color: var(--gold-dark); background: rgba(169,138,92,.12);
  border: 1px solid rgba(169,138,92,.35); border-radius:999px; padding:.3em 1em; margin-bottom:1rem;
}

/* ---------- FAQ ---------- */
.section-faq{ background: var(--paper); }
.section-faq h2{ color: var(--navy); }
.section-faq .eyebrow{ color: var(--gold-dark); }
.faq-list{ max-width: 820px; margin: 2.4rem auto 0; }
.faq-item{
  border-bottom: 1px solid rgba(12,35,54,.12);
  padding: .3rem 0;
}
.faq-item summary{
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  cursor:pointer; list-style:none;
  font-family: var(--font-serif); font-weight:600; font-size:1.12rem;
  color: var(--navy); padding: 1.15rem 0;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .faq-chevron{
  flex-shrink:0; width:20px; height:20px; color: var(--gold-dark);
  transition: transform .3s ease;
}
.faq-item[open] summary .faq-chevron{ transform: rotate(180deg); }
.faq-item p{ color:#5b6672; padding: 0 0 1.3rem; margin:0; font-size:.98rem; line-height:1.6; }

.section-social{ background: var(--navy-deep); color: var(--cream); }
.section-social h2, .section-social .eyebrow{ color: var(--cream); }
.section-social .eyebrow{ color: var(--gold); }
.section-social .section-intro{ color: var(--cream-dim); }
.section-contato{
  background:
    radial-gradient(ellipse 900px 500px at 20% 0%, rgba(202,180,141,.10), transparent 60%),
    var(--navy-deep);
}

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.two-col.reverse{ grid-template-columns: 1fr 1fr; }

/* Reveal-on-scroll */
[data-reveal]{ opacity:0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].in-view{ opacity:1; transform: translateY(0); }

/* ---------- Sobre ---------- */
.col-media{ position:relative; }
.rounded-img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width:100%;
  border: 1px solid rgba(202,180,141,.25);
}
.badge-years{
  position:absolute; bottom:-22px; left:-22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display:flex; flex-direction:column; align-items:flex-start;
  box-shadow: var(--shadow);
}
.badge-years strong{ font-family: var(--font-serif); font-size: 1.9rem; line-height:1; }
.badge-years span{ font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; margin-top:4px; }

.stat-chips{ display:flex; gap: 14px; margin: 1.8rem 0; flex-wrap:wrap; }
.stat-chip{
  display:flex; align-items:center; gap:12px;
  background: var(--paper-alt);
  border: 1px solid rgba(12,35,54,.1);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
}
.stat-chip-icon{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background: var(--navy);
  color: var(--gold);
  flex-shrink:0;
}
.stat-chip-icon svg{ width:18px; height:18px; }
.stat-chip strong{ font-family: var(--font-serif); font-size:1.35rem; color: var(--navy); display:block; line-height:1.1; }
.stat-chip span{ font-size:.82rem; color:#697280; text-transform:uppercase; letter-spacing:.03em; }

/* ---------- Especialidades ---------- */
.specialties-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 1rem;
}
.specialty-card{
  position:relative;
  background: var(--navy-panel);
  border: 1px solid rgba(202,180,141,.16);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.specialty-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(4,12,20,.45);
  border-color: rgba(202,180,141,.55);
}
.card-tag{
  display:inline-block;
  font-size:.78rem;
  font-weight:600;
  text-transform: uppercase;
  letter-spacing:.06em;
  color: var(--gold-soft);
  background: rgba(202,180,141,.12);
  border: 1px solid rgba(202,180,141,.3);
  border-radius: 999px;
  padding: .3em .9em;
  margin-bottom: 1.1rem;
}
.specialty-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:50%;
  background: var(--navy-deep); color: var(--gold);
  margin-bottom: 1.2rem;
}
.specialty-icon svg{ width:28px; height:28px; }
.specialty-card h3{ font-size:1.4rem; margin-bottom:.4em; }
.specialty-card p{ color: var(--cream-dim); font-size:1.02rem; margin:0 0 1.1rem; }
.card-checklist{ display:flex; flex-direction:column; gap:.5rem; }
.card-checklist li{
  display:flex; align-items:center; gap:8px;
  font-size:.92rem; color: var(--cream-dim);
}
.card-checklist svg{ width:16px; height:16px; color: var(--gold); flex-shrink:0; }

/* ---------- Advogados ---------- */
.team-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card{
  display:block;
  text-align:center;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  background: var(--paper);
  border: 1px solid rgba(12,35,54,.08);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.8rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.team-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(202,180,141,.55);
}
.team-photo{
  border-radius: calc(var(--radius) - 4px);
  overflow:hidden;
  margin-bottom: 1.1rem;
  aspect-ratio: 1/1;
  border: 1px solid rgba(12,35,54,.1);
}
.team-photo svg{ width:100%; height:100%; }
.team-card h3{ font-size:1.3rem; margin-bottom:.3em; }
.team-oab{ display:block; font-size:.82rem; color: rgba(27,39,51,.55); margin-bottom:.7em; }
.role-pill{
  display:inline-block;
  font-size:.8rem;
  font-weight:600;
  text-transform: uppercase;
  letter-spacing:.03em;
  color: var(--gold-dark);
  background: rgba(169,138,92,.1);
  border: 1px solid rgba(169,138,92,.35);
  border-radius: 999px;
  padding: .4em 1em;
}

/* ---------- Perfil do Advogado ---------- */
.profile-banner{ background: var(--paper-alt); padding-bottom: 3.2rem; }
.profile-banner h1{ color: var(--navy); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .3em 0 .35em; }
.breadcrumb-back{
  display:inline-flex; align-items:center; gap:6px;
  font-size:.85rem; font-weight:600; color: var(--gold-dark);
  text-decoration:none;
}
.breadcrumb-back:hover{ color: var(--navy); }
.breadcrumb-back svg{ width:14px; height:14px; }
.profile-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.profile-meta .team-oab{ display:inline-block; margin:0; }

.profile-photo{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(202,180,141,.25);
  aspect-ratio: 4/5;
}
.profile-photo svg{ width:100%; height:100%; }
.profile-tags{ display:flex; flex-wrap:wrap; gap:10px; margin: .6rem 0 1.6rem; }
.profile-social{ display:flex; gap:14px; margin-top: 2.2rem; }
.profile-social a{
  width:36px; height:36px; border-radius:50%; border: 1px solid rgba(12,35,54,.18);
  display:flex; align-items:center; justify-content:center; color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.profile-social a svg{ width:16px; height:16px; fill:currentColor; }
.profile-social a:hover{ background: var(--navy); color: var(--cream); }

/* ---------- Páginas de serviço (SEO) ---------- */
.service-article{ max-width: 800px; margin: 0 auto; }
.service-article h2{ color: var(--navy); font-size: 1.5rem; margin-top: 2.4rem; }
.service-article h2:first-child{ margin-top: 0; }
.service-article .body-copy{ color: #4a5560; }
.content-list{ display:flex; flex-direction:column; gap:.7rem; margin: 1.2rem 0; }
.content-list li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:1rem; color:#4a5560;
}
.content-list li svg{ width:18px; height:18px; color: var(--gold-dark); flex-shrink:0; margin-top:.2em; }
.service-cta{
  display:flex; flex-wrap:wrap; align-items:center; gap:18px;
  background: var(--paper-alt); border: 1px solid rgba(202,180,141,.35);
  border-radius: var(--radius); padding: 1.8rem 2rem; margin: 2.6rem 0;
}
.service-cta p{ margin:0; flex:1; min-width:220px; color: var(--navy); font-family: var(--font-serif); font-size:1.15rem; }
.service-links{ display:flex; flex-wrap:wrap; gap: 14px; margin-top: 1rem; }
.service-links a{
  font-size:.92rem; font-weight:600; color: var(--gold-dark);
  border-bottom: 1px solid rgba(169,138,92,.4);
}
.service-links a:hover{ color: var(--navy); border-color: var(--navy); }

/* ---------- Social ---------- */
.social-follow{ display:flex; align-items:center; justify-content:center; gap:18px; font-size:.92rem; color: var(--cream-dim); }
.social-follow a{
  width:38px; height:38px; border-radius:50%;
  border: 1.5px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold);
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.social-follow a svg{ width:18px; height:18px; fill:currentColor; }
.social-follow a:hover{ background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ---------- Contato ---------- */
.contact-info{ margin: 1.8rem 0 2rem; }
.contact-info li{ display:flex; gap: 14px; align-items:flex-start; margin-bottom: 1.1rem; font-size:1.02rem; color: var(--cream-dim); }
.contact-icon{
  flex-shrink:0; width:34px; height:34px; border-radius:50%;
  background: var(--navy-panel); color: var(--gold);
  border: 1px solid rgba(202,180,141,.25);
  display:flex; align-items:center; justify-content:center;
}
.contact-icon svg{ width:16px; height:16px; }
.map-placeholder{ position:relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.map-placeholder svg{ width:100%; height:auto; display:block; }
.map-placeholder span{
  position:absolute; bottom:10px; left:12px; font-size:.8rem; color: var(--cream-dim);
  background: rgba(8,24,38,.55); padding: 3px 10px; border-radius: 999px;
}
.map-embed{ position:relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); aspect-ratio: 400/220; border: 1px solid rgba(202,180,141,.25); }
.map-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.contact-form{
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group{ margin-bottom: 1.2rem; }
.form-group label{ display:block; font-size:.9rem; font-weight:500; margin-bottom:.4em; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding: .8em .9em;
  border: 1.5px solid #dcd6c8;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(202,180,141,.28);
}
.form-group textarea{ resize: vertical; }
.form-note{ text-align:center; font-size:.85rem; margin-top: 1rem; min-height: 1.2em; color: var(--navy); font-weight:500; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
#site-footer{ background: var(--navy-deep); color: var(--cream-dim); padding-top: 4.5rem; }
.footer-top{
  display:flex; align-items:flex-start; justify-content:space-between; gap: 40px;
  flex-wrap:wrap; padding-bottom: 3rem; border-bottom: 1px solid rgba(202,180,141,.15);
}
.footer-brand{ display:flex; align-items:center; gap: 14px; max-width: 280px; }
.footer-brand img{ width:52px; height:52px; border-radius:50%; }
.footer-brand p{ margin:0; font-family: var(--font-serif); color: var(--gold-soft); font-size:1.02rem; line-height:1.3; }
.footer-links{ display:flex; gap: 26px; flex-wrap:wrap; }
.footer-links a{ font-size:.96rem; transition: color .2s ease; }
.footer-links a:hover{ color: var(--gold); }
.footer-social{ display:flex; gap:14px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; border: 1px solid rgba(202,180,141,.4);
  display:flex; align-items:center; justify-content:center; color: var(--gold);
  transition: background .2s ease, color .2s ease;
}
.footer-social a svg{ width:16px; height:16px; fill:currentColor; }
.footer-social a:hover{ background: var(--gold); color: var(--navy); }
.footer-bottom{
  max-width:1180px; margin: 0 auto; padding: 1.8rem 28px 2.2rem;
  display:flex; justify-content:space-between; gap: 10px; flex-wrap:wrap;
  font-size:.86rem;
}
.footer-fine{ opacity:.65; margin:0; }
.footer-bottom p{ margin:0; }

/* ---------- WhatsApp flutuante ---------- */
#whatsapp-float{
  position:fixed; left: 26px; bottom: 26px; z-index: 900;
  display:flex; align-items:center; gap:10px;
  background: var(--gold); color: var(--navy);
  border-radius: 999px;
  padding: 13px 20px 13px 14px;
  box-shadow: 0 10px 26px rgba(4,12,20,.4);
  font-size: .86rem; font-weight:600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
#whatsapp-float svg{ width:22px; height:22px; fill: var(--navy); flex-shrink:0; }
#whatsapp-float:hover{ background: var(--gold-soft); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(4,12,20,.5); }
@media (max-width: 640px){
  #whatsapp-float span{ display:none; }
  #whatsapp-float{ padding: 13px; }
}

/* ---------- Back to top ---------- */
#back-to-top{
  position:fixed; right: 26px; bottom: 26px; z-index: 900;
  width:46px; height:46px; border-radius:50%;
  background: var(--gold); color: var(--navy);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
#back-to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
#back-to-top svg{ width:20px; height:20px; }

/* ---------- Preloader ---------- */
#preloader{
  position:fixed; inset:0; z-index: 3000;
  background: var(--navy);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader-logo{ width:72px; height:72px; border-radius:50%; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ opacity:.5; transform:scale(.94);} 50%{ opacity:1; transform:scale(1);} }
#preloader.hidden{ opacity:0; visibility:hidden; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px){
  .specialties-grid{ grid-template-columns: repeat(2, 1fr); }
  .team-grid{ grid-template-columns: repeat(3, 1fr); }
  .steps-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
  .two-col, .two-col.reverse{ grid-template-columns: 1fr; }
  .col-media{ order: -1; }
  .two-col.reverse .col-text{ order: 2; }
  .two-col.reverse .col-media{ order:1; }
  .badge-years{ left: 16px; bottom:-18px; }
}

@media (max-width: 860px){
  .nav-social{ display:none; }
  #nav-toggle{ display:flex; margin-left:auto; }
  .nav-links{
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(78vw, 320px);
    background: var(--navy-deep);
    flex-direction:column; justify-content:center; align-items:stretch;
    gap: 10px; padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.35);
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links li{ width:100%; }
  .nav-btn{ display:block; text-align:center; padding: .85em 1em; color: var(--cream); }
  .nav-btn:hover{ color: var(--gold); }
  .nav-btn.active{ color: var(--gold); text-decoration-color: var(--gold); }
  #main-nav{ position:relative; }
  .mobile-social{
    display:flex; gap:16px; justify-content:center; margin-top: 24px;
  }
}
@media (min-width: 861px){ .mobile-social{ display:none; } }

@media (max-width: 640px){
  .specialties-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps-grid{ grid-template-columns: 1fr; }
  .testimonials-carousel{ gap:8px; }
  .testimonials-arrow{ width:34px; height:34px; }
  .form-row{ grid-template-columns: 1fr; }
  .section{ padding: 4.2rem 0; }
  .hero-content h1{ font-size: 1.15rem; letter-spacing: 0; }
  .footer-top{ flex-direction:column; }
  .contact-form{ padding: 1.6rem; }
  #main-nav{ padding: 8px 14px; gap:10px; }
  .nav-logo-text small{ display:none; }
}
