/* ============================================================
   MESSIAS PONTES ADVOCACIA — DESIGN SYSTEM
   ============================================================ */

:root {
  /* Color palette */
  --bg: #F5F4F0;
  --paper: #FAFAF7;
  --paper-2: #EFEDE5;
  --navy: #002341;
  --navy-deep: #001528;
  --navy-light: #1A3D5F;
  --gold: #B8860B;
  --gold-soft: #C9A14F;
  --gold-mute: rgba(184, 134, 11, 0.12);
  --ink: #1A1F2E;
  --muted: #6B7280;
  --line: #DCD8CD;
  --line-soft: #E8E4D9;
  --shadow-1: 0 4px 12px rgba(0, 35, 65, 0.06);
  --shadow-2: 0 16px 40px rgba(0, 35, 65, 0.10);
  --shadow-3: 0 24px 60px rgba(0, 35, 65, 0.18);

  /* Typography */
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: 'Open Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1320px;
  --pad-x: 48px;
  --pad-x-mob: 22px;
  --section-y: 120px;
  --section-y-mob: 80px;
  --header-h: 88px;

  /* Easing */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  opacity: 0;
  animation: pageIn 0.6s var(--ease-out) forwards;
}
@keyframes pageIn { to { opacity: 1; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--navy); color: var(--bg); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 var(--pad-x-mob); }
}

section { padding: var(--section-y) 0; position: relative; }
@media (max-width: 768px) {
  section { padding: var(--section-y-mob) 0; }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-light::before { background: var(--gold-soft); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: clamp(18px, 1.8vw, 22px); }

p { font-size: 16px; line-height: 1.7; color: var(--ink); }
p.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
p.muted { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: 80px; }
.section-head h2 { margin-top: 22px; }
.section-head p.lead { margin-top: 24px; max-width: 600px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p.lead { margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .section-head { margin-bottom: 56px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.btn-secondary {
  background: transparent;
  color: var(--bg);
  border-color: rgba(245, 244, 240, 0.5);
}
.btn-secondary:hover {
  background: var(--bg);
  color: var(--navy);
  border-color: var(--bg);
}
.btn-secondary-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary-dark:hover {
  background: var(--navy);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 12px 0;
  border: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  position: relative;
}
.btn-ghost::after {
  content: '→';
  margin-left: 10px;
  transition: transform 0.3s var(--ease-out);
}
.btn-ghost:hover { color: var(--gold); }
.btn-ghost:hover::after { transform: translateX(6px); }

/* ============================================================
   HEADER / NAV — always opaque (no transparent state)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(245, 244, 240, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(0, 35, 65, 0.04);
  transition: padding 0.3s var(--ease-out);
}
.nav.scrolled {
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 60px;
  width: auto;
  transition: height 0.3s;
}
.nav.scrolled .logo-img { height: 48px; }
/* Hide light logo (only used in footer/dark sections now) */
.logo-img.logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; background: var(--gold); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}
.nav-cta:hover {
  background: var(--navy);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.35s var(--ease-out);
}
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); width: 26px; }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 26px; }

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 86%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 48px;
    gap: 28px;
    transition: right 0.5s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0, 35, 65, 0.15);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 22px; font-family: var(--serif); font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--navy) !important; }
  .nav-link::after { display: none; }
  .nav-cta { padding: 16px 28px; font-size: 13px; margin-top: 24px; }
  .menu-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  .logo-img { height: 50px; }
  .nav.scrolled .logo-img { height: 42px; }
}
@media (min-width: 1025px) {
  .nav-links .nav-cta { display: none; }
}

/* ============================================================
   HERO — Cinematic with office photo + bulletproof slider
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85) contrast(1.05) saturate(0.95);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}
/* Strong navy gradient on the left, fading to reveal photo on right */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    var(--navy-deep) 0%,
    var(--navy-deep) 32%,
    rgba(0, 21, 40, 0.92) 48%,
    rgba(0, 21, 40, 0.55) 70%,
    rgba(0, 21, 40, 0.35) 100%);
  z-index: 2;
}
/* Subtle bottom darkening for credentials readability */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 21, 40, 0.45) 100%);
  z-index: 2;
}
/* Decorative gold gradient glow */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse 700px 600px at 20% 50%, rgba(184, 134, 11, 0.10) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}
.hero-content .eyebrow {
  color: var(--gold-soft);
}
.hero-content .eyebrow::before { background: var(--gold-soft); }

/* Slider — bulletproof CSS Grid technique */
.hero-headlines {
  display: grid;
  margin-top: 32px;
}
.hero-headline {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), visibility 0s linear 0.8s;
}
.hero-headline.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), visibility 0s linear 0s;
}
.hero h1 {
  color: var(--bg);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}
.hero-headline .lead {
  color: rgba(245, 244, 240, 0.78);
  margin-top: 24px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
}

.hero-slider-dots {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-dot {
  width: 32px;
  height: 2px;
  background: rgba(245, 244, 240, 0.25);
  cursor: pointer;
  transition: background 0.3s, height 0.3s;
  border: none;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  height: 3px;
}
.hero-dot:hover { background: rgba(245, 244, 240, 0.5); }
.hero-dot.active:hover { background: var(--gold); }

.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-credentials {
  position: relative;
  z-index: 3;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 244, 240, 0.14);
  max-width: 720px;
}
.hero-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.hero-credential {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-credential-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero-credential-value {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--bg);
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .hero { padding-top: 130px; padding-bottom: 80px; }
  .hero-bg img {
    width: 100%;
    object-position: center;
    opacity: 0.4;
  }
  .hero-bg::before {
    background: linear-gradient(180deg,
      rgba(0, 21, 40, 0.65) 0%,
      rgba(0, 21, 40, 0.85) 100%);
  }
  .hero::before { display: none; }
  .hero-credentials-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .hero-credentials-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   PAGE HERO — for inner pages
   ============================================================ */
.page-hero {
  background: var(--navy-deep);
  color: var(--bg);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(184, 134, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  color: var(--bg);
  font-size: clamp(40px, 5vw, 72px);
  margin-top: 24px;
  position: relative;
}
.page-hero h1 em { color: var(--gold); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero p.lead {
  color: rgba(245, 244, 240, 0.78);
  margin-top: 24px;
  max-width: 640px;
  font-size: 19px;
}
.page-hero-breadcrumb {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(245, 244, 240, 0.5);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.page-hero-breadcrumb a:hover { color: var(--gold-soft); }
.page-hero-breadcrumb .sep { margin: 0 10px; opacity: 0.5; }

/* ============================================================
   STATS / NUMBERS Section
   ============================================================ */
.stats {
  background: var(--paper);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 0 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat-number {
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.stat-number .stat-suffix {
  font-size: 0.5em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.4em;
}
.stat-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: 16px;
  color: var(--gold);
}
.stat-label {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 220px;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .stat { padding: 0 24px; border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
  .stat:nth-child(even) { padding-right: 0; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat { padding: 0 !important; border-right: none !important; padding-bottom: 32px !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { padding-bottom: 0 !important; border-bottom: none; }
}

/* ============================================================
   ÁREAS DE ATUAÇÃO — Integrated grid
   ============================================================ */
.areas { background: var(--bg); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.area {
  background: var(--bg);
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.area:nth-child(3n) { border-right: none; }
.area:nth-last-child(-n+3) { border-bottom: none; }
.area:hover {
  background: var(--navy);
  color: var(--bg);
}
.area:hover .area-icon { color: var(--gold); transform: rotate(-4deg) scale(1.05); }
.area:hover .area-num { color: var(--gold-soft); }
.area:hover .area-title { color: var(--bg); }
.area:hover .area-desc { color: rgba(245, 244, 240, 0.75); }
.area:hover .area-link { color: var(--gold); gap: 14px; }
.area:hover .area-link::after { transform: translateX(4px); }

.area-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 28px;
  transition: all 0.4s var(--ease-out);
}
.area-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.area-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.area-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.3s;
  margin-bottom: 16px;
}
.area-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  flex-grow: 1;
  transition: color 0.3s;
  margin-bottom: 24px;
}
.area-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}
.area-link::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.3s;
}

@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area:nth-child(3n) { border-right: 1px solid var(--line); }
  .area:nth-child(2n) { border-right: none; }
  .area:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .area:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .areas-grid { grid-template-columns: 1fr; }
  .area { border-right: none !important; min-height: auto; padding: 36px 28px; }
  .area:last-child { border-bottom: none !important; }
  .area:nth-child(n) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   COMPROMISSO — Image + text block (parallax)
   ============================================================ */
.compromisso {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--bg);
}
.compromisso-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.compromisso-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, var(--navy-deep) 0%, rgba(0, 21, 40, 0.85) 50%, rgba(0, 21, 40, 0.5) 100%);
  z-index: 2;
}
.compromisso-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.3) contrast(1.05) brightness(0.6);
  will-change: transform;
}
.compromisso .container {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  padding-bottom: 120px;
}
.compromisso h2 {
  color: var(--bg);
  max-width: 760px;
  font-size: clamp(34px, 4vw, 52px);
  margin-top: 24px;
}
.compromisso h2 em { color: var(--gold); font-style: italic; font-weight: 500; }
.compromisso p.lead {
  color: rgba(245, 244, 240, 0.78);
  max-width: 580px;
  margin-top: 28px;
  font-size: 18px;
}
.compromisso .eyebrow { color: var(--gold-soft); }
.compromisso .eyebrow::before { background: var(--gold-soft); }
.compromisso-cta {
  margin-top: 40px;
}
.compromisso-quote {
  margin-top: 56px;
  padding-left: 32px;
  border-left: 2px solid var(--gold);
  max-width: 600px;
}
.compromisso-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--bg);
  font-weight: 500;
}
.compromisso-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ============================================================
   ARTIGOS
   ============================================================ */
.artigos { background: var(--paper); }
.artigos-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 64px;
}
.artigos-head .section-head { margin-bottom: 0; }

.artigos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.artigo {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 0.45s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.artigo::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
  z-index: 2;
}
.artigo:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold-soft);
}
.artigo:hover::before { width: 100%; }
.artigo-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.artigo-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184, 134, 11, 0.08) 0%, transparent 50%);
}
.artigo-img-num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 800;
  color: rgba(184, 134, 11, 0.25);
  letter-spacing: -0.05em;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: all 0.5s var(--ease-out);
}
.artigo:hover .artigo-img-num {
  color: var(--gold);
  transform: scale(1.05);
}
.artigo-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.artigo-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.artigo-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 14px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.artigo-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 14px;
  flex-grow: 1;
}
.artigo-link {
  margin-top: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s, color 0.3s;
}
.artigo-link::after {
  content: '↗';
  font-size: 13px;
}
.artigo-link:hover {
  color: var(--gold);
  gap: 12px;
}

@media (max-width: 1024px) {
  .artigos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .artigos-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  color: var(--bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(184, 134, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(184, 134, 11, 0.05) 0%, transparent 40%);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  color: var(--bg);
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 24px;
}
.cta-content h2 em { color: var(--gold); font-style: italic; font-weight: 500; }
.cta-content .eyebrow { color: var(--gold-soft); }
.cta-content .eyebrow::before { background: var(--gold-soft); }
.cta-content p.lead {
  color: rgba(245, 244, 240, 0.78);
  margin-top: 28px;
  max-width: 480px;
  font-size: 18px;
}
.cta-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 244, 240, 0.1);
  backdrop-filter: blur(10px);
}
.cta-info-item {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 244, 240, 0.1);
}
.cta-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.cta-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
  display: block;
}
.cta-info-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--bg);
  line-height: 1.3;
  display: block;
}
.cta-info-value a { transition: color 0.3s; }
.cta-info-value a:hover { color: var(--gold); }
.cta-info-sub {
  font-size: 13px;
  color: rgba(245, 244, 240, 0.6);
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .cta-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-deep);
  color: rgba(245, 244, 240, 0.6);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 244, 240, 0.08);
}
.footer-logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 24px;
}
.footer-tagline {
  color: rgba(245, 244, 240, 0.55);
  line-height: 1.7;
  max-width: 320px;
  font-size: 14px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-list a {
  color: rgba(245, 244, 240, 0.7);
  font-size: 14px;
  transition: color 0.25s;
}
.footer-list a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(245, 244, 240, 0.4);
}
.footer-bottom .disclaimer {
  max-width: 760px;
  line-height: 1.7;
  font-size: 11.5px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ESCRITÓRIO PAGE — sócio bio
   ============================================================ */
.socio {
  padding: 120px 0;
}
.socio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}
.socio-image-wrap {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.socio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05);
}
.socio-image-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(20px, 20px);
  z-index: -1;
}
.socio-image-tag {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--navy-deep);
  color: var(--bg);
  padding: 14px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 700;
}
.socio-image-tag .oab {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-top: 4px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}
.socio-content h2 {
  margin-top: 22px;
  margin-bottom: 32px;
  font-size: clamp(36px, 4.5vw, 56px);
}
.socio-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.socio-meta {
  margin-top: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.socio-meta-item { display: flex; flex-direction: column; gap: 6px; }
.socio-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.socio-meta-value {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .socio-grid { grid-template-columns: 1fr; gap: 56px; }
  .socio-image-wrap { position: relative; top: auto; max-width: 480px; margin: 0 auto; }
  .socio-meta { grid-template-columns: 1fr; }
}

/* ============================================================
   VALORES (Mission/Vision/Values)
   ============================================================ */
.valores {
  background: var(--paper);
  padding: 120px 0;
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.valor {
  text-align: left;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.valor:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold-soft);
}
.valor-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 28px;
}
.valor-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.valor h3 {
  margin-bottom: 16px;
  font-size: 24px;
}
.valor p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 1024px) { .valores-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 4px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.3s var(--ease-out);
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
}
.wa-float svg { width: 32px; height: 32px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(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; }

.fade-up {
  animation: fadeUp 1s var(--ease-out) forwards;
  opacity: 0;
}
.fade-up.delay-1 { animation-delay: 0.15s; }
.fade-up.delay-2 { animation-delay: 0.3s; }
.fade-up.delay-3 { animation-delay: 0.45s; }
.fade-up.delay-4 { animation-delay: 0.6s; }
.fade-up.delay-5 { animation-delay: 0.75s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg img { animation: none; }
}
