/* ============================================
   GERMANO DE LEMOS ADVOGADOS ASSOCIADOS
   Global Stylesheet - VERSÃO CORRIGIDA
   ============================================ */

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

/* ============ CSS VARIABLES ============ */
:root {
  --blue-primary: #2F5D8C;
  --blue-dark: #1E3A5F;
  --blue-light: #4A7DB5;
  --blue-muted: #E8EFF7;
  --white: #FFFFFF;
  --gray-bg: #F5F7FA;
  --gray-light: #EAECF0;
  --gray-text: #6B7280;
  --text-dark: #1A202C;
  --text-body: #374151;
  --gold-accent: #C9A84C;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 4px;
  --radius-md: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* ============ LAYOUT ============ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--gray { background: var(--gray-bg); }
.section--blue { background: var(--blue-dark); }

/* ============ HEADER (CORRIGIDO) ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  padding: 0;
  pointer-events: auto;
}

.header.scrolled {
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header--inner {
  background: #0d1520 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3) !important;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3.5rem;
  transition: height 0.4s ease;
  gap: 3rem;
}

.header.scrolled .header__inner {
  height: 90px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s ease;
}

.header.scrolled .header__logo img {
  height: 75px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header .nav__link {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.header .nav__link:hover,
.header .nav__link.active {
  color: var(--gold-accent) !important;
  text-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
}

.header .nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-accent);
  transition: var(--transition);
}

.header .nav__link:hover::after,
.header .nav__link.active::after {
  width: 100%;
}

.header .nav__cta {
  background: var(--gold-accent) !important;
  color: #1a2a3a !important;
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: var(--transition);
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

.header .nav__cta:hover {
  background: #d4b55c !important;
  color: #0F1928 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 168, 76, 0.4);
}

.header .nav__cta::after {
  display: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.header .nav__toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #1a2a3a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7) contrast(1.05);
  z-index: 0;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.5) 59px, rgba(255,255,255,0.5) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.5) 59px, rgba(255,255,255,0.5) 60px);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 30% 60%, rgba(30, 58, 95, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 10rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.hero__content {
  max-width: 580px;
}

.hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--gold-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero__title em {
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

.hero__line {
  width: 56px;
  height: 2px;
  background: var(--gold-accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero__text {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero__photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
}

.hero__photo-blob {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06);
  aspect-ratio: 5/5;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: brightness(0.92) saturate(1.1);
  display: block;
}

.hero__photo-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 60% 40% 55% 45% / 50% 45% 55% 50%;
  border: 2px solid rgba(201,168,76,0.25);
  z-index: -1;
}

.hero__photo-badge {
  position: absolute;
  bottom: 2.5rem;
  left: -2rem;
  background: var(--white);
  padding: 1rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border-left: 3px solid var(--gold-accent);
  text-align: center;
  animation: fadeUp 1s ease forwards 1s;
  opacity: 0;
}

.hero__photo-badge-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}

.hero__photo-badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-top: 0.2rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--blue-primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47,93,140,0.35);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn--outline-blue {
  background: transparent;
  color: var(--blue-primary);
  border: 1px solid var(--blue-primary);
}

.btn--outline-blue:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(47,93,140,0.25);
}

.btn--gold {
  background: var(--gold-accent);
  color: var(--white);
}

.btn--gold:hover {
  background: #b8943c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* ============ SECTION HEADER ============ */
.section-header {
  margin-bottom: 3.5rem;
}

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

.section-header__line {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--blue-primary);
  margin-bottom: 1.5rem;
}

.section-header--center .section-header__line {
  display: block;
  margin: 0 auto 1.5rem;
}

/* ============ ABOUT SNIPPET (HOME) ============ */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-snippet__visual {
  position: relative;
}

.about-snippet__img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--blue-dark);
}

.about-snippet__img-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold-accent);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-snippet__since {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-left: 3px solid var(--gold-accent);
}

.about-snippet__since-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}

.about-snippet__since-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-top: 0.2rem;
}

.about-snippet__content {
  padding: 1rem 0;
}

.about-snippet__text {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-snippet__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--blue-dark);
  border-left: 3px solid var(--gold-accent);
  padding-left: 1.2rem;
  margin: 1.5rem 0 2rem;
  line-height: 1.5;
}

/* ============ ÁREAS DE ATUAÇÃO ============ */
.areas-section {
  background: #0f1e30;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(47, 93, 140, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.22) 0%, transparent 55%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.areas-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.6) 49px, rgba(255,255,255,0.6) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.6) 49px, rgba(255,255,255,0.6) 50px);
  pointer-events: none;
}

.areas-section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.areas-section__label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.areas-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.areas-section__line {
  width: 48px;
  height: 1px;
  background: var(--gold-accent);
  margin: 0 auto;
  opacity: 0.7;
}

.areas-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.area-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 2.2rem 1.5rem 2rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.area-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40%;
  height: 1px;
  background: var(--gold-accent);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 168, 76, 0.15);
}

.area-card:hover::before {
  opacity: 1;
}

.area-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.area-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.area-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.area-card:hover .area-card__icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.5);
  color: var(--white);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
  transform: scale(1.08);
}

.area-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
  transition: color 0.3s ease;
}

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

.area-card__arrow {
  display: none;
}

/* Responsivo */
@media (max-width: 900px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .area-card {
    padding: 1.8rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .area-card {
    padding: 1.4rem 1.5rem;
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }
  
  .area-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  
  .area-card__icon svg {
    width: 20px;
    height: 20px;
  }
  
  .area-card__name {
    font-size: 0.95rem;
    text-align: left;
  }
}

/* ============ STATS ============ */
.stats {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(47,93,140,0.4) 0%, transparent 70%);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__number span {
  color: var(--gold-accent);
}

.stat-item__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ============ TEAM CARDS ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-card__photo {
  height: 280px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 60%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card__photo-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

.team-card__body {
  padding: 1.8rem;
  border-top: 3px solid var(--blue-primary);
}

.team-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.team-card__role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 1rem;
}

.team-card__bio {
  font-size: 0.92rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '"';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30rem;
  color: rgba(255,255,255,0.03);
  top: -4rem;
  left: 2rem;
  line-height: 1;
  pointer-events: none;
}

.cta-section__title {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.cta-section__title em {
  font-style: italic;
  font-weight: 600;
}

.cta-section__text {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--blue-muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
}

.contact-info__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 0.3rem;
}

.contact-info__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ============ FORM ============ */
.form__group {
  margin-bottom: 1.2rem;
}

.form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(47,93,140,0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #B0B7C3;
}

.form__textarea {
  min-height: 130px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============ MAPS ============ */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ============ FOOTER ============ */
/* ============ PUBLICAÇÕES ============ */
.pub-section {
  background: var(--gray-bg);
  padding: 2.5rem 0 5.5rem;
}

.pub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.8rem;
}

.pub-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.pub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.pub-all-link {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  border-bottom: 1px solid var(--blue-primary);
  padding-bottom: 2px;
  transition: var(--transition);
  white-space: nowrap;
  margin-bottom: 0.3rem;
}

.pub-all-link:hover { color: var(--blue-dark); border-color: var(--blue-dark); }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pub-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem 1.6rem;
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold-accent);
  transition: height 0.35s ease;
}

.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.pub-card:hover::before { height: 100%; }

.pub-card__tag {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-muted);
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  align-self: flex-start;
}

.pub-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
}

.pub-card__excerpt {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.pub-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid var(--gray-light);
  margin-top: auto;
}

.pub-card__date {
  font-size: 0.75rem;
  color: rgba(107,114,128,0.7);
  font-style: italic;
}

.pub-card__read {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-primary);
  transition: var(--transition);
}

.pub-card--featured {
  background: var(--blue-dark);
  border-color: transparent;
  grid-row: span 1;
  position: relative;
}

.pub-card--featured::before {
  background: var(--gold-accent);
}

.pub-card--featured .pub-card__title {
  color: var(--white);
  font-size: 1.35rem;
}

.pub-card--featured .pub-card__excerpt {
  color: rgba(255,255,255,0.6);
}

.pub-card--featured .pub-card__footer {
  border-top-color: rgba(255,255,255,0.1);
}

.pub-card--featured .pub-card__read {
  color: var(--gold-accent);
}

.pub-card--featured:hover {
  background: #1a2f4a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.pub-card--featured:hover .pub-card__read {
  color: #d4b55c;
}

.pub-card__featured-badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--gold-accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.pub-card__tag--digital {
  color: var(--gold-accent);
  background: rgba(201,168,76,0.12);
}



@media (max-width: 900px) {
  .pub-grid { grid-template-columns: 1fr 1fr; }
  .pub-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 600px) {
  .pub-grid { grid-template-columns: 1fr; }
}

/* ============ FOOTER SLIM ============ */
.footer {
  background: #0D0F12;
  color: var(--white);
  padding: 0;
}

/* Legacy footer grid (used in other pages) */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo { margin-bottom: 1.2rem; }
.footer__logo img { height: 44px; width: auto; }

.footer__about {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__col-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}

.footer__nav-link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.65rem;
  transition: var(--transition);
}

.footer__nav-link:hover { color: var(--white); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer__contact-icon {
  color: var(--gold-accent);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  min-width: 16px;
}

.footer__contact-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}


.footer__slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__slim-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer__slim-logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer__slim-sep {
  color: rgba(255,255,255,0.15);
  font-size: 1.2rem;
}

.footer__slim-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer__slim-nav a {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s ease;
}

.footer__slim-nav a:hover { color: rgba(255,255,255,0.9); }

.footer__slim-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer__social-link {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer__social-link:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold-accent);
}

.footer__bottom {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  flex-wrap: wrap;
  gap: 0.5rem;
}


/* ============ PAGE HERO ============ */
.page-hero {
  padding: 12rem 0 4rem;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 80% 50%, rgba(47,93,140,0.35) 0%, transparent 60%),
    linear-gradient(135deg, #0F2035 0%, #1E3A5F 100%);
}

.page-hero__content { position: relative; z-index: 1; }

.page-hero__label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  display: block;
}

.page-hero__title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.page-hero__title em {
  font-style: italic;
  font-weight: 600;
}

.page-hero__text {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gold-accent); }

/* ============ ESCRITÓRIO PAGE ============ */
.escritorio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.escritorio-visual {
  position: sticky;
  top: 160px;
}

.escritorio-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.escritorio-img-inner {
  text-align: center;
  color: rgba(255,255,255,0.2);
}

.escritorio-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.escritorio-badge__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.valores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.valor-item {
  padding: 1.5rem;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue-primary);
}

.valor-item__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.valor-item__text {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* ============ AREA PAGE ============ */
.area-page-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.area-page-sidebar {
  position: sticky;
  top: 180px;
}

.sidebar-card {
  background: var(--blue-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.sidebar-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-areas-list { list-style: none; }

.sidebar-areas-list li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-areas-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.sidebar-areas-list a:hover { color: var(--white); padding-left: 6px; }
.sidebar-areas-list a.active { color: var(--gold-accent); font-weight: 700; }

.sidebar-cta-card {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.sidebar-cta-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.sidebar-cta-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ============ ÁREA CONTENT ============ */
.area-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.area-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.area-service-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-body);
}

.area-service-item svg {
  color: var(--blue-primary);
  flex-shrink: 0;
}

/* ============ OBRIGADO PAGE ============ */
.obrigado-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gray-bg);
  padding: 2rem;
}

.obrigado-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 4rem 3rem;
  max-width: 560px;
  box-shadow: var(--shadow-lg);
}

.obrigado-icon {
  width: 72px;
  height: 72px;
  background: var(--blue-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--blue-primary);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; }
  .stat-item { border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-item:first-child { border-top: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-snippet { gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .escritorio-content { grid-template-columns: 1fr; }
  .escritorio-visual { position: static; }
  .area-page-content { grid-template-columns: 1fr; }
  .area-page-sidebar { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .header__inner {
    height: 70px;
    padding: 0 1.5rem;
  }

  .header.scrolled .header__inner {
    height: 56px;
  }

  .header__logo img {
    height: 32px;
  }

  .header.scrolled .header__logo img {
    height: 32px;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13, 15, 18, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 2rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    transition: top 0.4s ease;
  }


  .header.scrolled .nav__list {
    top: 56px;
  }

  .nav__list.open { display: flex; }

  .nav__list .nav__link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .nav__toggle { display: flex; }

  .about-snippet {
    grid-template-columns: 1fr;
  }

  .about-snippet__visual { order: -1; }
  .about-snippet__since { left: 1rem; }

  .areas-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; }

  .team-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .form__row { grid-template-columns: 1fr; }

  .valores-grid { grid-template-columns: 1fr; }
  .area-services { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
  .hero__photo-wrap { display: none; }
  .hero__inner-split { padding-top: 7rem; }

  .section[style*="padding-top: 10rem"],
  .areas-section[style*="padding-top: 10rem"],
  .pub-page-section,
  .advogados-page-section,
  .curriculo-main {
    padding-top: 90px !important;
  }
}

/* ============ DIVIDERS ============ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--gray-light);
  margin: 2rem 0;
}

/* ============ HIGHLIGHT BAND ============ */
.highlight-band {
  background: var(--blue-muted);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--blue-primary);
  margin: 2rem 0;
}

.highlight-band p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--blue-dark);
  margin: 0;
  line-height: 1.6;
}

/* ============ UTILITY ============ */
.text-center { text-align: center; }
.text-blue { color: var(--blue-primary); }
.text-gold { color: var(--gold-accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }