/* ================================================================
   BARBOSA E MESQUITA — SOCIEDADE DE ADVOGADOS
   Sistema de Design Completo
   Cores extraídas da logo: Navy #0A1628 + Gold #C9A84C
================================================================ */

/* ── IMPORT FONTES ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700;900&family=Cormorant+Garamond:ital,wght@1,400;1,500;1,600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --navy-900:    #060E1C;
  --navy-800:    #0A1628;
  --navy-700:    #0D1F3C;
  --navy-600:    #122548;
  --navy-400:    #1E3A6E;
  --navy-200:    #2A4E8F;

  --gold-900:    #7A5A1A;
  --gold-700:    #9B7B2E;
  --gold-500:    #C9A84C;
  --gold-400:    #D4B868;
  --gold-300:    #DCCA86;
  --gold-200:    #E8D49A;
  --gold-100:    #F5EDD0;

  --off-white:   #F8F4EC;
  --warm-white:  #F2EDE3;
  --white:       #FFFFFF;
  --text:        #3D3D3A;
  --text-muted:  #6B6B6B;
  --text-light:  #9B9B9B;
  --border:      #E0D9CC;
  --border-dark: rgba(201, 168, 76, 0.2);

  --whatsapp:    #25D366;
  --whatsapp-dark: #128C4A;

  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 0 1px rgba(201, 168, 76, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── GOLD LINE ORNAMENT ── */
.gold-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
}

.gold-line::before,
.gold-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.gold-line-diamond {
  color: var(--gold-500);
  font-size: 10px;
  letter-spacing: 8px;
}

/* ── TOP GOLD BAR ── */
.gold-topbar {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    var(--gold-900) 0%,
    var(--gold-500) 30%,
    var(--gold-200) 50%,
    var(--gold-500) 70%,
    var(--gold-900) 100%);
}

/* ── OVERLINE LABEL ── */
.overline {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

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

/* ── SECTION HEADERS ── */
.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-header h2 em {
  font-style: italic;
  color: var(--gold-700);
}

.section-header--dark h2 {
  color: var(--white);
}

.section-header p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

.section-header--center p {
  margin: 0 auto;
}

.section-header--dark p {
  color: rgba(255, 255, 255, 0.6);
}

/* ── GOLD RULE ── */
.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400));
  margin: 20px 0;
}

.gold-rule--center {
  margin: 20px auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-800);
  border-color: var(--gold-500);
}

.btn--primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.btn--outline {
  background: transparent;
  color: var(--gold-300);
  border-color: var(--gold-500);
}

.btn--outline:hover {
  background: var(--gold-500);
  color: var(--navy-800);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn--outline-dark:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn--whatsapp {
  background: var(--whatsapp-dark);
  color: var(--white);
  border-color: var(--whatsapp-dark);
}

.btn--whatsapp:hover {
  background: #0A6F3A;
  border-color: #0A6F3A;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 88px;
  transition: var(--transition);
}

#navbar.transparent .navbar-inner {
  background: transparent;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

#navbar.scrolled .navbar-inner {
  background: var(--navy-800);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  height: 72px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

#navbar.scrolled .navbar-logo img {
  height: 44px;
}

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

.navbar-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
}

.navbar-logo-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width 0.3s ease;
}

.navbar-nav a:hover {
  color: var(--gold-300);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a.active {
  color: var(--gold-400);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--whatsapp-dark);
  padding: 10px 20px;
  transition: var(--transition);
}

.navbar-whatsapp:hover {
  background: #0A6F3A;
}

.navbar-whatsapp svg {
  width: 16px;
  height: 16px;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.navbar-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--navy-800);
  z-index: 999;
  padding: 100px 40px 40px;
  flex-direction: column;
  border-left: 1px solid rgba(201, 168, 76, 0.2);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu nav a {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: color 0.3s;
}

.mobile-menu nav a:hover {
  color: var(--gold-300);
}

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 24px;
  color: var(--gold-400);
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.mobile-overlay.open { display: block; }

/* ── HERO SECTION ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-800);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(201, 168, 76, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 14, 28, 0.8) 0%, transparent 60%);
}

/* Subtle pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 100px;
}

.hero-overline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-overline-line {
  width: 40px;
  height: 1px;
  background: var(--gold-500);
}

.hero-overline span {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-400);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  max-width: 800px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.4s;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-300);
}

.hero-separator {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.55s;
}

.hero-separator-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.hero-separator-diamond {
  color: var(--gold-500);
  font-size: 8px;
  letter-spacing: 6px;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.65s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s forwards 0.8s;
}

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  background: var(--navy-800);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 10% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 30%, rgba(201, 168, 76, 0.05) 0%, transparent 40%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold-400); }

.breadcrumb-sep {
  color: rgba(201, 168, 76, 0.4);
  font-size: 10px;
}

.breadcrumb span:last-child {
  color: var(--gold-400);
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}

.page-hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  max-width: 580px;
  line-height: 1.8;
}

/* ── SECTIONS ── */
.section {
  padding: 112px 0;
}

.section--sm { padding: 72px 0; }
.section--lg { padding: 140px 0; }

.section--dark {
  background: var(--navy-800);
}

.section--darker {
  background: var(--navy-900);
}

.section--light {
  background: var(--off-white);
}

.section--warm {
  background: var(--warm-white);
}

.section--white {
  background: var(--white);
}

/* ── DIFERENCIAIS / PILLARS ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.15);
}

.pillar {
  background: var(--navy-700);
  padding: 56px 48px;
  position: relative;
  transition: background 0.35s;
}

.pillar:hover {
  background: var(--navy-600);
}

.pillar-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.1);
  line-height: 1;
  margin-bottom: 32px;
  display: block;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold-500);
}

.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.pillar p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.pillar-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.4s ease;
}

.pillar:hover .pillar-accent {
  width: 100%;
}

/* ── AREAS CARDS ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.area-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.area-card:hover {
  background: var(--navy-800);
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-card-icon {
  width: 44px;
  height: 44px;
  color: var(--gold-500);
  margin-bottom: 24px;
  transition: var(--transition);
}

.area-card:hover .area-card-icon {
  color: var(--gold-300);
}

.area-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: var(--transition);
}

.area-card:hover h3 {
  color: var(--white);
}

.area-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  transition: var(--transition);
}

.area-card:hover p {
  color: rgba(255, 255, 255, 0.6);
}

.area-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.area-card:hover .area-card-link {
  opacity: 1;
  transform: translateY(0);
}

.area-card-link svg {
  width: 14px;
  height: 14px;
}

/* ── SOBRE TEASER (Home) ── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}

.sobre-text {
  padding: 80px 72px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sobre-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.sobre-stats {
  background: var(--navy-800);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}

.stat-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── EQUIPE CARDS ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(201, 168, 76, 0.1);
}

.team-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.team-card {
  background: var(--navy-700);
  position: relative;
  overflow: hidden;
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--navy-600);
  position: relative;
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s ease;
  filter: grayscale(20%);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.team-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-600) 0%, var(--navy-800) 100%);
}

.team-card-photo-placeholder svg {
  width: 80px;
  height: 80px;
  color: rgba(201, 168, 76, 0.2);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 14, 28, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.team-card-info {
  padding: 28px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.team-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.team-card-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.team-card-oab {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

/* ── CITAÇÃO / PULL QUOTE ── */
.pull-quote {
  padding: 80px 0;
  text-align: center;
}

.pull-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  font-weight: 500;
  color: var(--navy-800);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 24px;
}

.pull-quote-text--light {
  color: rgba(255, 255, 255, 0.9);
}

.pull-quote-author {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--gold-500);
  padding: 64px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  color: var(--navy-800);
  max-width: 500px;
  line-height: 1.3;
}

.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy-800);
  padding: 64px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.1);
}

.stats-bar-item {
  background: var(--navy-800);
  padding: 40px 32px;
  text-align: center;
}

.stats-bar-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: 12px;
}

.stats-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -53px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── VALORES CARDS ── */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.valor-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.valor-card::after {
  content: '';
  position: absolute;
  left: 40px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.4s ease;
}

.valor-card:hover::after {
  width: calc(100% - 80px);
}

.valor-number {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-500);
  margin-bottom: 16px;
  display: block;
}

.valor-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 16px;
}

.valor-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-group {
  margin-bottom: 24px;
}

.contact-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 10px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 15px;
  color: var(--navy-800);
  font-weight: 400;
}

.contact-info-value a {
  color: var(--navy-800);
  transition: color 0.3s;
}

.contact-info-value a:hover {
  color: var(--gold-700);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
  animation: floatIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 2s;
  opacity: 0;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid rgba(37, 211, 102, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #0A6F3A;
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 74px;
  background: var(--navy-800);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy-800);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
}

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

/* ── FOOTER ── */
.footer {
  background: var(--navy-900);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
}

.footer-brand img {
  height: 96px;
  width: auto;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity 0.3s, width 0.3s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact-item {
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.footer-bottom p strong {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.md2tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
  flex-shrink: 0;
}

.md2tech-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.md2tech-badge span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
  white-space: nowrap;
  font-weight: 400;
}

.md2tech-badge img {
  height: 20px;
  width: auto;
  display: block;
}

/* ── ARTIGOS CARDS ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.article-card {
  padding: 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
}

.article-card:hover {
  background: var(--off-white);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 4px 10px;
}

.article-date {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.article-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--navy-800);
  padding-bottom: 2px;
  transition: var(--transition);
}

.article-link:hover {
  color: var(--gold-700);
  border-color: var(--gold-500);
}

.article-link svg {
  width: 12px;
  height: 12px;
}

/* ── SECTION INTRO TEXT ── */
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.section-intro--right {
  margin-left: auto;
  text-align: right;
}

/* ── HIGHLIGHT TEXT ── */
.text-gold { color: var(--gold-500); }
.text-gold-dark { color: var(--gold-700); }
.text-navy { color: var(--navy-800); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.font-serif { font-family: 'Playfair Display', serif; }

/* ── ALERTS / FORM STATUS ── */
.form-success {
  background: #F0FFF4;
  border-left: 3px solid #2E7D52;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #1A4731;
}

.form-error {
  background: #FFF5F5;
  border-left: 3px solid #C53030;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #742A2A;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── MAP CONTAINER ── */
.map-container {
  width: 100%;
  height: 360px;
  background: var(--navy-700);
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.1);
}

/* ── EQUIPE PAGE - PERFIL COMPLETO ── */
.advogado-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.advogado-grid:last-child {
  border-bottom: none;
}

.advogado-photo {
  aspect-ratio: 3/4;
  background: var(--navy-700);
  position: relative;
  overflow: hidden;
}

.advogado-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(15%);
}

.advogado-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-600) 0%, var(--navy-800) 100%);
}

.advogado-photo-placeholder svg {
  width: 100px;
  height: 100px;
  color: rgba(201, 168, 76, 0.15);
}

.advogado-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold-500);
  padding: 12px 24px;
}

.advogado-badge span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy-800);
}

.advogado-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.advogado-info .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 32px;
}

.advogado-info p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.advogado-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.specialty-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 6px 14px;
  border: 1px solid var(--gold-200);
}

/* ── AREAS PAGE DETAIL ── */
.area-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.area-detail:last-child { border-bottom: none; }

.area-detail-num {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.12);
  line-height: 1;
  position: absolute;
  top: -20px;
  right: 0;
}

.area-detail-header {
  position: relative;
  padding-top: 20px;
}

.area-detail-icon {
  width: 52px;
  height: 52px;
  color: var(--gold-500);
  margin-bottom: 24px;
}

.area-detail h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 20px;
  line-height: 1.25;
}

.area-detail ul {
  list-style: none;
  margin-top: 20px;
}

.area-detail ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.area-detail ul li::before {
  content: '';
  width: 6px;
  height: 1px;
  background: var(--gold-500);
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-text { padding: 64px 0 0; }
  .sobre-stats { padding: 64px 40px; }
  .contact-grid { gap: 48px; }
  .section-intro { gap: 40px; }
  .advogado-grid { grid-template-columns: 1fr; gap: 40px; }
  .area-detail { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .container--narrow { padding: 0 24px; }
  .section { padding: 80px 0; }
  .section--sm { padding: 56px 0; }

  .navbar-nav { display: none; }
  .navbar-actions { display: none; }
  .navbar-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .navbar-inner { padding: 0 24px; height: 72px; }
  #navbar.scrolled .navbar-inner { height: 64px; }

  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .page-hero { padding: 140px 0 72px; }
  .page-hero h1 { font-size: 32px; }

  .areas-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-actions { flex-direction: column; width: 100%; }
  .cta-strip-actions .btn { width: 100%; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; }
  .valores-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .articles-grid { grid-template-columns: 1fr; }
  .sobre-stats { padding: 48px 24px; }
}

.publications-empty {
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--border);
}

.publications-empty h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 16px;
}

.publications-empty p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-grid--two { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: 1fr; }
  .navbar-logo-text { display: none; }
}
