/* =============================================
   DRS Advogados Associados — Global Stylesheet
   ============================================= */

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

/* ---- CSS Variables ---- */
:root {
  /* Primary palette */
  --bg-primary:        #06172B;
  --bg-secondary:      #0B243F;
  --bg-card:           rgba(255,255,255,0.04);
  --border-card:       rgba(217,222,229,0.16);
  --accent-blue:       #2E5F88;
  --accent-blue-light: #6F9BC2;
  --accent-gold:       #B8C2CD;
  --text-primary:      #FFFFFF;
  --text-secondary:    #BCC8D4;
  --text-muted:        #8796A6;
  /* Aliases kept for CSS compatibility */
  --accent:        #2E5F88;
  --accent-light:  #6F9BC2;
  --accent-glow:   rgba(46,95,136,0.42);
  --gold:          #B8C2CD;
  --gold-light:    #E3E8ED;
  --transition:    0.3s ease;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 24px rgba(46,95,136,0.3);
  /* Layout */
  --section-padding-x:   24px;
  --section-padding-y:   80px;
  --container-max-width: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---- Text alignment — seletivo ---- */

/* Centralizar: hero index e CTAs */
.hero-sub,
.bs-cta-text,
#bs-cta p,
.areas-cta p,
.blog-cta p,
.section-cta p,
.jornada-cta p,
.areas-photo-cta p {
  text-align: center;
}

/* Justificar: textos de conteúdo corrido */
.escritorio-bio,
.area-text p,
.bs-card-desc,
.jcard__desc,
.contact-form-wrap p,
.cookie-banner-desc,
.cookie-modal-intro,
.cookie-category-desc,
.privacy-content p,
.atuacao-global p,
.why-drs-left .section-sub {
  text-align: justify;
}

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  box-sizing: border-box;
}

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
  margin: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, #4F72E8 100%);
  box-shadow: 0 8px 32px rgba(46,95,136,0.6);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(46,95,136,0.08);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg-primary);
}
.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  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; }


/* ===== ALINHAMENTO UNIVERSAL DE SEÇÕES =====
   Todas as seções recebem 5% de padding lateral.
   O .container interno apenas centraliza com max-width. */
section {
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
  width: 100%;
}

section > .container {
  padding-left: 0;
  padding-right: 0;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Centrar divs diretos de sections que não tenham container próprio */
section > .section-inner {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition);
}

#header.scrolled {
  padding: 8px 0;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

/* Header logo dupla */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-single {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-brand .logo img {
  height: 36px;
}
.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--accent-gold);
  margin-top: 10px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* Header CTA */
.header-cta {
  flex-shrink: 0;
}
.header-cta .btn {
  padding: 10px 22px;
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,14,26,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================
   HERO SECTION (index)
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
  background-color: #06172B;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(46,95,136,0.18) 0%, transparent 70%);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.10;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 26, 0.80);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  text-align: center;
}

/* ---- Hero entrance animations ---- */
@keyframes heroEyebrowIn {
  from { opacity: 0; letter-spacing: 0.55em; }
  to   { opacity: 1; letter-spacing: 0.22em; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: heroEyebrowIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 820px;
  display: block;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

.gold-text {
  color: var(--accent-gold);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
  text-align: center;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}


/* ============================================
   CREDIBILITY BAR
   ============================================ */
#credibility {
  padding-top: 28px;
  padding-bottom: 28px;
  overflow: hidden;
  background: rgba(13,27,62,0.5);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

/* ============================================
   WHY DRS SECTION
   ============================================ */
#why-drs {
  padding-top: 100px;
  padding-bottom: 100px;
}

.why-drs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-drs-left .section-sub { margin-bottom: 32px; }

.why-drs-accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
  border-radius: 2px;
  margin-bottom: 20px;
}

.why-drs-stat {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-item { }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.why-drs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(46,95,136,0.08);
  border-color: rgba(46,95,136,0.4);
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
}

.valores-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  text-align: left;
}
.valores-list span {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-gold);
  background: rgba(184,194,205,0.08);
  border: 1px solid rgba(184,194,205,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

/* ============================================
   AREAS PREVIEW SECTION
   ============================================ */
#areas-preview {
  padding-top: 100px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(13,27,62,0.4) 50%, transparent 100%);
}

.areas-preview-header {
  text-align: center;
  margin-bottom: 56px;
}
.areas-preview-header .section-sub { margin: 0 auto; }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.area-card:hover {
  background: rgba(46,95,136,0.07);
  border-color: rgba(46,95,136,0.45);
  transform: scale(1.02);
  box-shadow: 0 8px 40px rgba(46,95,136,0.2);
}
.area-card:hover::before { opacity: 1; }

.area-card-img {
  transition: transform 0.4s ease;
}
.area-card:hover .area-card-img,
.area-card-full:hover .area-card-img {
  transform: scale(1.05);
}

.area-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}
.area-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.area-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.area-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.area-card:hover .area-link { gap: 10px; color: var(--gold); }

.areas-cta { text-align: center; }

/* ============================================
   BLOG PREVIEW SECTION
   ============================================ */
#blog-preview {
  padding-top: 100px;
  padding-bottom: 100px;
}

.blog-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: rgba(46,95,136,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.blog-card-img {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.blog-card-img-icon {
  font-size: 40px;
  opacity: 0.4;
}

.blog-card-body { padding: 24px; }

.blog-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(46,95,136,0.12);
  border: 1px solid rgba(46,95,136,0.2);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--text-primary);
}

.blog-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-card);
  padding-top: 14px;
}

.blog-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition);
}
.blog-read-more:hover { color: var(--gold); gap: 8px; }

.blog-read-more-static {
  color: var(--text-muted);
  font-weight: 500;
  cursor: default;
}

.blog-cta { text-align: center; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #070B15;
  border-top: 1px solid var(--border-card);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-card);
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-blue-light);
  transition: all var(--transition);
}
.social-link:hover {
  background: rgba(46,95,136,0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item span:first-child {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-item span:last-child {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-oab {
  font-size: 12px;
  color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: floatBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================
   INNER PAGE HERO (shared)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, rgba(13,27,62,0.6) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(46,95,136,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-secondary); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
}

/* ============================================
   AREAS PAGE
   ============================================ */
#areas-full {
  padding: 80px 0 100px;
}

.areas-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.area-card-full::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.area-card-full:hover {
  background: rgba(46,95,136,0.07);
  border-color: rgba(46,95,136,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(46,95,136,0.2);
}
.area-card-full:hover::after { opacity: 1; }
.area-card-full .area-icon { font-size: 44px; margin-bottom: 20px; }
.area-card-full .area-title {
  font-size: 21px;
  margin-bottom: 14px;
}
.area-card-full .area-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.area-card-full .area-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  transition: gap var(--transition), color var(--transition);
}
.area-card-full:hover .area-link { gap: 10px; color: var(--gold); }

/* ============================================
   JOURNEY COMPONENT
   ============================================ */
.journey-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--bg-secondary);
}

/* Alinha conteúdo da jornada — centraliza dentro da seção */
.journey-header,
.journey-section .journey-track,
.journey-section .jornada-cta,
.journey-section .areas-photo-cta {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.journey-section .jornada-cta { text-align: center; margin-top: 36px; }

.journey-header {
  text-align: center;
  margin-bottom: 48px;
}

.journey-tag {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8C2CD;
  margin-bottom: 12px;
}

.journey-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.journey-track {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 360px;
  width: 100%;
  max-width: 100%;
}

.jcard {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              background 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 14px;
}

.jcard--active {
  flex: 3 1 0;
  border-color: rgba(46,95,136, 0.45);
  background: #0C2A47;
  cursor: default;
}

.jcard:not(.jcard--active):hover {
  border-color: rgba(46,95,136, 0.2);
  background: rgba(46,95,136, 0.05);
}

.jcard__badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #2E5F88;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.jcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.3s,
              transform 0.3s ease 0.3s;
  overflow: hidden;
  pointer-events: none;
  min-width: 0;
}

.jcard--active .jcard__body {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.jcard__step {
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.jcard__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.3;
}

.jcard__desc {
  font-size: 15px;
  color: #94A3B8;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .journey-track {
    flex-direction: column;
    height: auto;
    overflow: visible;
    max-width: 100%;
  }
  .jcard { flex: unset !important; }
  .jcard__body {
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
  }
  .jcard:not(.jcard--active) .jcard__body { display: flex; }
}

/* ============================================
   BUSINESS SOLUTIONS PAGE
   ============================================ */
#bs-diferenciais { padding: 80px 0 100px; background: var(--bg-secondary); }
.bs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.bs-card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius); padding: 32px 28px; transition: all var(--transition);
}
.bs-card:hover { border-color: rgba(46,95,136,0.4); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(46,95,136,0.15); }
.bs-card-icon { margin-bottom: 16px; }
.bs-card-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.bs-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
#bs-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #06172B 0%, #0B243F 50%, #06172B 100%);
  text-align: center; position: relative; overflow: hidden;
}
#bs-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(46,95,136,0.15) 0%, transparent 70%);
}
#bs-cta .container { position: relative; z-index: 1; }
#bs-cta .bs-cta-text { font-size: 19px; color: var(--text-secondary); line-height: 1.75; max-width: 680px; margin: 24px auto 40px; }
.bs-cta-tag { color: #B8C2CD !important; border-color: rgba(184,194,205,0.3) !important; }
.bs-cta-titulo {
  font-size: clamp(24px, 3vw, 42px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (max-width: 1024px) { .bs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .bs-grid { grid-template-columns: 1fr; }
  .jornada-card { padding: 28px 24px; }
}

/* ============================================
   AREAS PHOTO GRID
   ============================================ */
.areas-photo-section { padding: 80px 0 100px; background: var(--bg-primary); }
.areas-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}
.areas-header .section-tag,
.areas-header h2,
.areas-header p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Card de área: retângulo alto sem bordas arredondadas ---- */
.area-item {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
  overflow: visible;
}
.area-item-photo {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 0;
}
.area-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.area-item:hover .area-item-photo img { transform: scale(1.04); }
.area-item-label {
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: left;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
  letter-spacing: 0.01em;
}
/* Oculta elementos antigos que podem existir em páginas de áreas estáticas */
.area-item-overlay { display: none; }
.area-item-info    { display: none; }
.area-item-tag     { display: none; }
.area-item-name    { display: none; }

.areas-photo-cta { text-align: center; margin-top: 56px; }
@media (max-width: 1024px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .areas-grid { grid-template-columns: 1fr; } }

/* ============================================
   BLOG PAGE
   ============================================ */
#blog-main {
  padding: 80px 0 100px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Sidebar */
.blog-sidebar { }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
}

.category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
}
.category-list li:hover { color: var(--gold); }
.category-list li span {
  background: rgba(46,95,136,0.15);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.recent-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.recent-post:last-child { border-bottom: none; }
.recent-post-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-secondary), rgba(46,95,136,0.2));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0.6;
}
.recent-post-info { }
.recent-post-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.recent-post-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
#contact-main {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 48px;
}
.contact-form-wrap h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.contact-form-wrap p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.form-group { margin-bottom: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,95,136,0.1);
}
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-wrap { }
.contact-info-wrap h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.contact-info-wrap > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-item .icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-item .details label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-info-item .details span {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */

/* Hero da privacidade */
.privacy-hero {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg, #06172B 0%, #0B243F 50%, #0D1537 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.privacy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(46,95,136,0.2) 0%, transparent 70%);
}
.privacy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,26,0.9) 0%, transparent 100%);
}
.privacy-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 5%;
  width: 100%;
}
.privacy-hero-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8C2CD;
  margin-bottom: 12px;
}
.privacy-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.privacy-breadcrumb {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 16px;
}
.privacy-breadcrumb a { color: #94A3B8; text-decoration: none; transition: color 0.2s; }
.privacy-breadcrumb a:hover { color: #B8C2CD; }
.privacy-breadcrumb span { color: #fff; }

#privacy-main { padding: 0; }

.privacy-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5% 80px;
  box-sizing: border-box;
}

/* ---- Cabeçalho full width ---- */
.privacy-header { width: 100%; margin-bottom: 48px; }

.privacy-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8C2CD;
  margin-bottom: 16px;
}

.privacy-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.15;
}

.privacy-subtitle {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

/* ---- Layout duas colunas ---- */
.privacy-wrapper {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

/* ---- Índice lateral ---- */
.privacy-index {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
}
.privacy-index h3 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8C2CD;
  margin: 0 0 16px 0;
}
.privacy-index ol { padding-left: 16px; margin: 0; list-style: decimal; }
.privacy-index li { margin-bottom: 10px; padding-left: 4px; }
.privacy-index a {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: color 0.2s;
}
.privacy-index a:hover { color: #B8C2CD; }

/* ---- Conteúdo principal ---- */
.privacy-content { flex: 1; min-width: 0; }

.privacy-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  scroll-margin-top: 110px;
}
.privacy-content h2:first-of-type { margin-top: 0; }

.privacy-content p,
.privacy-content li { font-size: 15px; color: #CBD5E1; line-height: 1.8; margin-bottom: 14px; }
.privacy-content ul,
.privacy-content ol { padding-left: 20px; margin-bottom: 16px; }
.privacy-content strong { color: #fff; }
.privacy-content a { color: #B8C2CD; text-decoration: underline; }

.privacy-update-badge,
.privacy-last-updated {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .privacy-page { padding: 40px 5% 60px; }
  .privacy-wrapper { flex-direction: column; gap: 32px; }
  .privacy-index { width: 100%; position: static; }
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */
.lang-selector {
  position: relative;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}
.lang-btn .lang-flag { display: flex; align-items: center; line-height: 1; }
.lang-flag-img { border-radius: 2px; display: block; flex-shrink: 0; }
.lang-btn .lang-code { letter-spacing: 0.06em; }
.lang-btn .lang-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.lang-selector.open .lang-btn .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(10,14,26,0.96);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  min-width: 140px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}
.lang-selector.open .lang-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.lang-item:hover {
  background: rgba(46,95,136,0.12);
  color: var(--text-primary);
}
.lang-item.active {
  color: var(--accent-light);
  background: rgba(46,95,136,0.08);
}
.lang-item .lang-flag { display: flex; align-items: center; line-height: 1; }

/* ============================================
   NOSSA EQUIPE SECTION
   ============================================ */
#nossa-equipe {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--bg-secondary);
}

.equipe-header {
  text-align: center;
  margin-bottom: 56px;
}
.equipe-header .section-sub { margin: 0 auto; }

/* ---- Carrossel de equipe ---- */
.equipe-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.equipe-carousel-window {
  overflow: hidden;
  flex: 1;
}
.equipe-grid {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.equipe-grid .equipe-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
}
.equipe-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.equipe-arrow:hover { background: rgba(46,95,136,0.3); border-color: rgba(46,95,136,0.4); }

.equipe-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.equipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.equipe-dot.active {
  background: #2E5F88;
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .equipe-carousel { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .equipe-carousel-window { flex: 0 0 100%; order: 1; }
  .equipe-arrow { order: 2; }
  .equipe-grid .equipe-card { flex: 0 0 100%; }
  .equipe-card { padding: 28px 20px; }
}

.equipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.equipe-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.equipe-card:hover {
  border-color: rgba(46,95,136,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46,95,136,0.15);
}
.equipe-card:hover::before { opacity: 1; }

.equipe-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(184,194,205,0.35);
  margin: 0 auto 20px;
  overflow: hidden;
}
.equipe-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.equipe-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.equipe-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-blue-light);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.equipe-oab {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.equipe-saiba-mais {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: #94A3B8;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.equipe-saiba-mais:hover {
  color: #6F9BC2;
  border-color: rgba(96,165,250,0.3);
}

.equipe-placeholder-note {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   ATENDEMOS TODO O BRASIL SECTION
   ============================================ */
#atendemos-brasil {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
#atendemos-brasil::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(46,95,136,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.brasil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.brasil-map-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brasil-map-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brasil-content { }
.brasil-content .section-sub { margin-bottom: 32px; }

.estados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  margin-top: 28px;
}

.estado-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.estado-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .why-drs-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .areas-grid, .areas-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .header-cta .btn {
    display: none;
  }

  .nav-links a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .areas-grid, .areas-full-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-preview-header { flex-direction: column; align-items: flex-start; }
  .blog-sidebar { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .why-drs-cards { grid-template-columns: 1fr; }
  .why-drs-stat { gap: 20px; }

  .page-hero { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  :root { --section-padding-x: 16px; }
  .hero-title { font-size: 32px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .estados-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .brasil-grid { grid-template-columns: 1fr; gap: 40px; }
  .brasil-map-wrap svg { max-width: 320px; }
  .equipe-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .brasil-grid { grid-template-columns: 1fr; gap: 40px; }
  .estados-grid { grid-template-columns: 1fr 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
}

/* ---- Contact Map Section ---- */
#contact-map {
  padding: 60px 0 80px;
}

.contact-map-wrap {
  display: grid;
  grid-template-columns: 35% 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-card);
  min-height: 420px;
}

.contact-map-info {
  background: var(--bg-secondary);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.2;
}

.contact-map-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-map-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-map-iframe {
  min-height: 420px;
  border-radius: 0;
  overflow: hidden;
}

.atuacao-global {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(46,95,136,0.08);
  border-left: 3px solid #2E5F88;
  border-radius: 8px;
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.atuacao-global .global-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.atuacao-global p {
  margin: 0;
}

.contact-map-iframe iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 768px) {
  .contact-map-wrap {
    grid-template-columns: 1fr;
  }
  .contact-map-info {
    padding: 36px 24px;
  }
  .contact-map-iframe,
  .contact-map-iframe iframe {
    min-height: 300px;
  }
}

/* ============================================================
   AREA INDIVIDUAL PAGES
   ============================================================ */
.area-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.area-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

.area-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 9, 26, 0.75) 0%,
    rgba(7, 9, 26, 0.35) 40%,
    rgba(7, 9, 26, 0.60) 70%,
    rgba(7, 9, 26, 0.95) 100%
  );
}

.area-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 5%;
  width: 100%;
}

.area-hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8C2CD;
  font-weight: 700;
  margin-bottom: 12px;
}

.area-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

/* Breadcrumb / back button */
.area-breadcrumb {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  font-size: 13px;
  color: #94A3B8;
}

.area-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.area-back-btn {
  color: #B8C2CD;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.area-back-btn:hover {
  color: #fff;
  transform: translateX(-3px);
}

.breadcrumb-divider {
  color: rgba(255,255,255,0.15);
}

.area-breadcrumb a:not(.area-back-btn) {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.area-breadcrumb a:not(.area-back-btn):hover {
  color: #B8C2CD;
}

.area-breadcrumb span:last-child {
  color: #FFFFFF;
}

/* Content */
.area-content {
  padding: 80px 0;
}

.area-content .container {
  max-width: 860px;
}

.area-text p {
  font-size: 17px;
  line-height: 1.85;
  color: #CBD5E1;
  margin-bottom: 24px;
}

.area-text p:last-child {
  margin-bottom: 0;
}

.area-cta {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .area-hero { height: 320px; }
  .area-hero-content { padding: 32px 5%; }
  .area-content { padding: 56px 0; }
}

/* ===== ESTEIRA AUTOMÁTICA DE ÁREAS ===== */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 50s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track .area-item {
  flex: 0 0 260px;
  height: auto;
}

@media (max-width: 768px) {
  .carousel-track .area-item { flex: 0 0 190px; }
  .carousel-track .area-item .area-item-photo { height: 260px; }
  .carousel-track .area-item-label {
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 12px;
    line-height: 1.35;
  }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================= */

/* ---- Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #0B243F;
  border-top: 1px solid rgba(46,95,136,0.3);
  padding: 20px 5%;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}
.cookie-banner-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}
.cookie-link { color: #B8C2CD; text-decoration: underline; }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn-customize {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.cookie-btn-customize:hover { border-color: #2E5F88; background: rgba(46,95,136,0.1); }

.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #94A3B8;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.cookie-btn-accept {
  background: #2E5F88;
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept:hover { background: #1D4ED8; }

/* ---- Modal ---- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-modal-overlay.visible { opacity: 1; pointer-events: auto; }

.cookie-modal {
  background: #0C2A47;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: #0C2A47;
  z-index: 1;
}
.cookie-modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
  margin: 0;
}
.cookie-modal-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cookie-modal-close:hover { background: rgba(255,255,255,0.1); }

.cookie-modal-body { padding: 24px 28px; flex: 1; overflow-y: auto; }
.cookie-modal-intro {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cookie-category { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-category-info { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; }
.cookie-category-arrow { font-size: 10px; color: #94A3B8; }
.cookie-always-active { font-size: 12px; color: #B8C2CD; font-weight: 600; white-space: nowrap; }
.cookie-category-desc { font-size: 13px; color: #94A3B8; line-height: 1.6; margin-top: 10px; padding-left: 20px; }

/* Toggle */
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: #2E5F88; }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

.cookie-modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  justify-content: flex-end;
  flex-wrap: wrap;
  position: sticky;
  bottom: 0;
  background: #0C2A47;
}
.cookie-btn-save {
  background: transparent;
  border: 1px solid #2E5F88;
  color: #2E5F88;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn-save:hover { background: #2E5F88; color: #fff; }

@media (max-width: 768px) {
  .cookie-banner-content { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner-actions { width: 100%; flex-direction: column; }
  .cookie-banner-actions button { width: 100%; text-align: center; }
  .cookie-modal-footer { flex-direction: column-reverse; }
  .cookie-modal-footer button { width: 100%; text-align: center; }
}

/* =============================================
   PÁGINA ESCRITÓRIO
   ============================================= */
#escritorio-gallery {
  padding-top: 80px;
  padding-bottom: 80px;
}
.escritorio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.escritorio-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
}
.escritorio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.escritorio-gallery-item:hover img { transform: scale(1.02); }

#escritorio-equipe {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--bg-secondary);
}
.escritorio-equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container-max-width);
  margin: 40px auto 0;
}
.escritorio-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.escritorio-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid rgba(46,95,136,0.3);
}
.escritorio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.escritorio-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.escritorio-role {
  font-size: 14px;
  font-weight: 600;
  color: #2E5F88;
  margin-bottom: 6px;
}
.escritorio-oab {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}
.escritorio-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: justify;
}

#escritorio-cta {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #0B243F;
  text-align: center;
}
#escritorio-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .escritorio-gallery-grid { grid-template-columns: 1fr; }
  .escritorio-equipe-grid  { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .escritorio-equipe-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOBILE POLISH — responsividade aprimorada para celular
   ============================================================ */

@media (max-width: 768px) {

  /* ---- Hero: padding menor, altura adaptável ---- */
  #hero {
    padding-top: 90px;
    padding-bottom: 56px;
    min-height: 88vh;
  }
  .hero-sub {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .hero-buttons { gap: 12px; }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Padding vertical de seções ---- */
  #why-drs         { padding-top: 56px; padding-bottom: 56px; }
  #areas-preview   { padding-top: 56px; padding-bottom: 60px; }
  #blog-preview    { padding-top: 56px; padding-bottom: 60px; }
  #nossa-equipe    { padding-top: 60px; padding-bottom: 60px; }
  #atendemos-brasil{ padding-top: 56px; padding-bottom: 56px; }
  #bs-diferenciais { padding: 56px 0; }
  #bs-cta          { padding: 56px 0; }
  #areas-full      { padding: 56px 0 64px; }
  #blog-main       { padding: 56px 0 64px; }
  #contact-main    { padding: 56px 0 64px; }
  #contact-map     { padding: 40px 0 48px; }
  #escritorio-gallery { padding-top: 56px; padding-bottom: 56px; }
  #escritorio-equipe  { padding-top: 56px; padding-bottom: 56px; }
  #escritorio-cta     { padding-top: 56px; padding-bottom: 56px; }

  /* ---- Stats: layout em 2 colunas ---- */
  .why-drs-stat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 28px;
  }

  /* ---- Business Solutions CTA: título permite quebra ---- */
  .bs-cta-titulo { white-space: normal; }

  /* ---- Galeria do escritório: altura adaptada ---- */
  .escritorio-gallery-item { height: 220px; }

  /* ---- Page hero interno: menos espaço no topo ---- */
  .page-hero { padding: 108px 0 48px; }

  /* ---- Blog: ajuste de layout ---- */
  .blog-layout { gap: 32px; }

  /* ---- Equipe: header com menos margin ---- */
  .equipe-header { margin-bottom: 40px; }

  /* ---- Footer: melhor alinhamento de texto ---- */
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {

  /* ---- Hero headline: menor em telas estreitas ---- */
  .hero-headline { font-size: clamp(26px, 8vw, 38px); }

  /* ---- Stat numbers: menores ---- */
  .stat-number { font-size: 28px; }

  /* ---- Areas: cards do carrossel menores ---- */
  .carousel-track .area-item { flex: 0 0 160px; }
  .carousel-track .area-item .area-item-photo { height: 210px; }

  /* ---- Journey: padding interno compacto ---- */
  .jcard { padding: 18px 14px; }

  /* ---- Escritório bio: sem justify em telas muito pequenas ---- */
  .escritorio-bio { text-align: left; }

  /* ---- Cookie banner: padding menor ---- */
  .cookie-banner { padding: 16px 5%; }

  /* ---- WhatsApp float: afastado do canto ---- */
  .whatsapp-float { width: 50px; height: 50px; font-size: 22px; }
}

/* ============================================================
   AUDITORIA MOBILE COMPLETA — Correções 360px–430px
   ============================================================ */

/* Garante sem scroll horizontal em qualquer contexto */
html { overflow-x: hidden; }

/* Background placeholder enquanto imagens de área carregam */
.area-item-photo { background: #0C2A47; }

/* Hamburger: touch target mínimo 44px */
@media (max-width: 768px) {
  .hamburger { padding: 14px 10px; }
  .mobile-close {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Journey: todos os cards visíveis no mobile (sem colapso) */
@media (max-width: 768px) {
  .journey-track { gap: 8px; }
  .jcard--active { background: #0C2A47; border-color: rgba(46,95,136,0.45); }
  .jcard:not(.jcard--active) { background: rgba(255,255,255,0.03); }
}

/* Equipe: carousel ocupa 100% da largura no mobile, sem corte lateral */
@media (max-width: 768px) {
  #nossa-equipe .container { overflow: hidden; }
  .equipe-carousel { max-width: 100%; }
  .equipe-carousel-window { max-width: 100%; overflow: hidden; }
  .equipe-grid { box-sizing: border-box; }
  .equipe-card { box-sizing: border-box; max-width: 100%; }
}

/* Equipe: arrows 44px no mobile */
@media (max-width: 640px) {
  .equipe-arrow { width: 44px; height: 44px; }
}

/* Contact form: evita zoom automático no iOS (inputs < 16px disparam zoom) */
@media (max-width: 480px) {
  .form-input,
  .form-select,
  .form-textarea { font-size: 16px; }
  .form-label { font-size: 13px; }
}

/* Privacy: legibilidade em telas muito pequenas */
@media (max-width: 480px) {
  .privacy-index { font-size: 13px; padding: 16px; }
  .privacy-content h2 { font-size: 18px; margin-top: 36px; }
}

/* 380px — telas muito estreitas (Galaxy A, SE 1ª geração, etc.) */
@media (max-width: 380px) {
  section { padding-left: 14px; padding-right: 14px; }
  .container { padding-left: 0; padding-right: 0; }

  .hero-headline { font-size: clamp(22px, 7.5vw, 28px) !important; }
  .hero-sub { font-size: 14px; }
  .hero-buttons .btn { font-size: 14px; }

  .section-title { font-size: clamp(20px, 7vw, 26px); }

  .jcard { padding: 14px 12px; }
  .jcard__title { font-size: 18px; }
  .jcard__desc { font-size: 13px; }

  .equipe-card { padding: 20px 14px; }
  .equipe-name { font-size: 17px; }
  .equipe-role { font-size: 12px; }
  .equipe-avatar img { width: 76px; height: 76px; }

  .estados-grid { grid-template-columns: 1fr; gap: 4px; }
  .estado-item { font-size: 12px; }

  .why-drs-stat { grid-template-columns: 1fr; }

  .blog-card-title { font-size: 17px; }

  .area-card-title { font-size: 16px; }

  .cookie-banner { flex-direction: column; gap: 12px; }
  .cookie-banner .btn { width: 100%; text-align: center; justify-content: center; }

  .footer-col-title { font-size: 11px; }
  .footer-grid { gap: 24px; }
}

/* ============================================================
   DRS 2026 — DIREÇÃO VISUAL CORPORATIVA
   Azul institucional, prata e alternância de superfícies
   ============================================================ */

:focus-visible {
  outline: 3px solid #B8C2CD;
  outline-offset: 4px;
}

::selection {
  background: #6F9BC2;
  color: #06172B;
}

.section-heading,
.journey-title,
.blog-title,
.equipe-name,
.mobile-menu a {
  font-family: 'Inter', sans-serif;
}

.section-tag,
.journey-tag {
  color: #8EA8BF;
  letter-spacing: 0.18em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Cabeçalho e logotipo com interação sutil */
#header {
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(3, 14, 27, 0.74), transparent);
}

#header.scrolled {
  background: rgba(4, 20, 36, 0.92);
  border-bottom-color: rgba(217, 222, 229, 0.15);
}

.header-logo {
  position: relative;
  padding: 7px;
  margin: -7px;
  overflow: hidden;
  isolation: isolate;
}

.header-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 28%, rgba(217, 222, 229, 0.24) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.header-logo:hover::after,
.header-logo:focus-visible::after {
  transform: translateX(130%);
}

.header-logo .logo-single {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.header-logo:hover .logo-single,
.header-logo:focus-visible .logo-single {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 9px rgba(184, 194, 205, 0.48));
}

.nav-links a {
  position: relative;
  border-radius: 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: #B8C2CD;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Capa em vídeo — limpa, sem texto sobre a imagem */
#hero {
  min-height: 100svh;
  padding: 0;
  background: #03101D;
}

.hero-video-bg video {
  opacity: 1;
  object-position: center center;
}

#hero::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 16, 29, 0.52) 0%, rgba(3, 16, 29, 0.04) 36%, rgba(3, 16, 29, 0.08) 68%, rgba(3, 16, 29, 0.72) 100%),
    linear-gradient(90deg, rgba(3, 16, 29, 0.12), transparent 48%);
}

.hero-accessible-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-scroll span:last-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  animation: drsScrollCue 1.8s ease-in-out infinite;
}

@keyframes drsScrollCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Manifesto e pilares */
#manifesto-drs {
  padding-top: 118px;
  padding-bottom: 118px;
  background: #F1F3F5;
  color: #0A2137;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(56px, 9vw, 130px);
  align-items: start;
}

.manifesto-intro {
  position: sticky;
  top: 130px;
}

#manifesto-drs .section-heading {
  max-width: 540px;
  font-size: clamp(34px, 4.7vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

#manifesto-drs .section-sub {
  max-width: 520px;
  color: #536273;
}

.manifesto-list {
  list-style: none;
  border-top: 1px solid #C7CED5;
}

.manifesto-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  border-bottom: 1px solid #C7CED5;
  transition: padding 0.3s ease, background 0.3s ease;
}

.manifesto-list li:hover {
  padding-left: 18px;
  background: rgba(11, 36, 63, 0.05);
}

.manifesto-list span {
  color: #6D7A87;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.manifesto-list strong {
  color: #0A2137;
  font-size: clamp(20px, 2.2vw, 31px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* Quem somos: fundo claro + cards azuis sem ícones genéricos */
#why-drs {
  padding-top: 112px;
  padding-bottom: 112px;
  background: #DDE2E7;
  color: #0A2137;
}

#why-drs .why-drs-grid {
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
}

#why-drs .section-heading {
  color: #0A2137;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

#why-drs .section-sub {
  color: #536273;
  text-align: left;
}

.why-drs-accent-line {
  width: 42px;
  background: #6F7F8E;
}

.why-drs-stat {
  gap: 0;
  border-top: 1px solid #B5BEC7;
  border-bottom: 1px solid #B5BEC7;
}

.why-drs-stat .stat-item {
  flex: 1;
  min-width: 120px;
  padding: 22px 20px 22px 0;
}

.why-drs-stat .stat-item + .stat-item {
  padding-left: 20px;
  border-left: 1px solid #B5BEC7;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  color: #163D60;
  font-size: 32px;
  font-weight: 600;
}

.stat-label {
  color: #5E6A76;
}

.why-drs-cards {
  gap: 14px;
}

.feature-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(217, 222, 229, 0.17);
  border-radius: 3px;
  background: #0B243F;
  box-shadow: 0 18px 42px rgba(9, 30, 50, 0.12);
}

.feature-card:hover {
  background: #123451;
  border-color: rgba(217, 222, 229, 0.42);
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(9, 30, 50, 0.22);
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: #8EA8BF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-title {
  margin-bottom: 12px;
  color: #FFFFFF;
  font-size: 17px;
}

.feature-desc {
  color: #C1CBD5;
  line-height: 1.65;
}

.valores-list span {
  color: #D9DEE5;
  background: rgba(217, 222, 229, 0.06);
  border-color: rgba(217, 222, 229, 0.2);
}

/* Especialidades */
#areas-preview.areas-photo-section {
  padding-top: 112px;
  padding-bottom: 120px;
  background: #06172B;
}

#areas-preview .area-item-photo {
  background: #0B243F;
}

#areas-preview .area-item-photo img {
  filter: saturate(0.68) contrast(1.03);
}

#areas-preview .area-item:hover .area-item-photo img {
  filter: saturate(0.9) contrast(1.04);
}

#areas-preview .area-item-label {
  padding-top: 10px;
  border-top: 1px solid rgba(217, 222, 229, 0.23);
  color: #E6EBF0;
}

/* Alcance nacional sem mapa ou lista de estados */
#atendemos-brasil {
  padding-top: 0;
  padding-bottom: 0;
  background: #214B70;
}

#atendemos-brasil::before {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 58%);
}

.brasil-statement {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brasil-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 96px 0;
}

.brasil-content .section-tag {
  color: #CFD7DF;
}

.brasil-content .section-heading {
  max-width: 790px;
  color: #FFFFFF;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.brasil-content .section-sub {
  max-width: 650px;
  color: #DFE6EC;
}

.brasil-content .text-link {
  color: #FFFFFF;
}

.brasil-watermark {
  position: absolute;
  right: -2.5vw;
  bottom: -0.18em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  font-size: clamp(150px, 26vw, 390px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.08em;
  user-select: none;
}

/* Jornada */
.journey-section {
  padding-top: 108px;
  padding-bottom: 108px;
  background: #161C22;
}

.journey-tag {
  color: #AEB8C4;
}

.journey-title {
  font-size: clamp(32px, 4vw, 52px);
}

.jcard {
  border-radius: 3px;
  background: #202832;
  border-color: rgba(217, 222, 229, 0.12);
}

.jcard--active {
  background: #0B243F;
  border-color: rgba(111, 155, 194, 0.52);
}

.jcard__badge {
  background: #496F91;
  border-radius: 2px;
}

.jcard__title {
  font-family: 'Inter', sans-serif;
}

/* Equipe em superfície clara */
#nossa-equipe {
  padding-top: 112px;
  padding-bottom: 112px;
  background: #ECEFF2;
  color: #0A2137;
}

#nossa-equipe .section-heading,
#nossa-equipe .equipe-name {
  color: #0A2137;
}

#nossa-equipe .section-sub,
#nossa-equipe .equipe-oab {
  color: #5C6874;
}

#nossa-equipe .equipe-card {
  border-radius: 3px;
  background: #FFFFFF;
  border-color: #D3D9DF;
  box-shadow: 0 15px 36px rgba(10, 33, 55, 0.07);
}

#nossa-equipe .equipe-card:hover {
  border-color: #8FA4B8;
  box-shadow: 0 22px 45px rgba(10, 33, 55, 0.13);
}

#nossa-equipe .equipe-avatar {
  border-radius: 3px;
  border-color: #AEB8C4;
}

#nossa-equipe .equipe-role,
#nossa-equipe .equipe-saiba-mais {
  color: #315D82;
}

#nossa-equipe .equipe-saiba-mais {
  border-color: #C9D1D9;
}

#nossa-equipe .equipe-arrow {
  color: #0A2137;
  background: #FFFFFF;
  border-color: #C9D1D9;
}

#nossa-equipe .equipe-dot {
  background: #B4BEC8;
}

#nossa-equipe .equipe-dot.active {
  background: #315D82;
}

/* Conteúdo e rodapé */
#blog-preview {
  padding-top: 112px;
  padding-bottom: 112px;
  background: #111A23;
}

#blog-preview .blog-card {
  border-radius: 3px;
  background: #182532;
}

#blog-preview .blog-card-img img {
  border-radius: 0 !important;
  filter: saturate(0.65);
}

#footer {
  padding-top: 84px;
  background: #030F1B;
  border-top-color: rgba(217, 222, 229, 0.18);
}

.footer-grid {
  grid-template-columns: 1.6fr 1fr 1.15fr 1.25fr;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  color: #D9DEE5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col h4 {
  color: #D9DEE5;
}

.footer-col ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-col ul li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 1px solid #8796A6;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-col ul li a:hover::before {
  background: #B8C2CD;
  transform: rotate(45deg);
}

.social-link {
  border-radius: 2px;
  color: #D9DEE5;
}

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

  .manifesto-intro {
    position: static;
  }

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

@media (max-width: 768px) {
  #header {
    padding: 12px 0;
  }

  #hero {
    min-height: min(100svh, 860px);
  }

  .hero-video-bg video {
    object-position: center center;
  }

  .hero-scroll {
    bottom: 20px;
  }

  #manifesto-drs,
  #why-drs,
  #areas-preview.areas-photo-section,
  #nossa-equipe,
  #blog-preview,
  .journey-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  #manifesto-drs .section-heading,
  .brasil-content .section-heading {
    font-size: clamp(32px, 9vw, 46px);
  }

  .manifesto-list li {
    min-height: 78px;
  }

  .why-drs-stat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .why-drs-stat .stat-item {
    min-width: 0;
    padding: 18px 10px;
  }

  .why-drs-stat .stat-item:first-child {
    padding-left: 0;
  }

  .why-drs-stat .stat-item + .stat-item {
    padding-left: 14px;
  }

  .stat-number {
    font-size: clamp(23px, 7vw, 30px);
  }

  .feature-card {
    min-height: 0;
  }

  .brasil-statement {
    min-height: 470px;
  }

  .brasil-content {
    padding: 76px 0;
  }

  .brasil-watermark {
    right: -10vw;
  }

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

@media (max-width: 480px) {
  .hero-scroll span:first-child {
    display: none;
  }

  .manifesto-list li {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .why-drs-cards {
    gap: 10px;
  }

  .feature-card {
    padding: 26px 22px;
  }

  .feature-index {
    margin-bottom: 24px;
  }

  .stat-label {
    font-size: 10px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   V8 — COMPOSIÇÃO CINEMATOGRÁFICA DA ARQUITETURA JURÍDICA
   ============================================================ */

#hero.legal-architecture-hero {
  --legal-copy-shift: 0px;
  background: #020b13;
}

.legal-hero-sticky {
  background:
    radial-gradient(circle at 70% 49%, rgba(48, 121, 176, 0.27), transparent 30%),
    radial-gradient(circle at 70% 52%, rgba(148, 192, 224, 0.08), transparent 46%),
    linear-gradient(126deg, #020a12 0%, #041422 48%, #020a12 100%);
}

.legal-hero-sticky::before {
  z-index: 2;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(2, 10, 18, 0.68) 0%, rgba(2, 10, 18, 0.18) 43%, transparent 68%),
    linear-gradient(180deg, rgba(2, 10, 18, 0.18), transparent 22%, transparent 72%, rgba(2, 10, 18, 0.58));
}

.legal-hero-canvas {
  filter: brightness(1.32) contrast(1.08) saturate(1.08);
}

.legal-hero-atmosphere {
  opacity: 0.9;
  background:
    radial-gradient(circle at 70% 49%, rgba(139, 188, 226, 0.12), transparent 23%),
    linear-gradient(90deg, transparent 49.9%, rgba(174, 202, 224, 0.035) 50%, transparent 50.1%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), rgba(174, 192, 209, 0.018) calc(10% - 1px), rgba(174, 192, 209, 0.018) 10%);
}

.legal-hero-copy {
  left: clamp(38px, 6.5vw, 126px);
  top: 48%;
  width: min(44vw, 820px);
  transform: translate3d(0, calc(-50% + var(--legal-copy-shift)), 0);
}

.legal-hero-copy::before {
  width: 74px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #a9c3d7, rgba(169, 195, 215, 0));
}

.legal-hero-eyebrow {
  margin-bottom: 18px;
  color: #9db6ca;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.legal-hero-title {
  max-width: 820px;
  font-size: clamp(42px, 3.7vw, 68px);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.legal-hero-title-accent {
  margin-top: 0.12em;
  color: #b7c9d8;
}

.legal-hero-sub {
  max-width: 590px;
  margin-top: 24px;
  color: rgba(224, 233, 241, 0.68);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.65;
}

.legal-hero-core {
  left: 70%;
  top: 50%;
  width: clamp(174px, 13vw, 244px);
  filter: drop-shadow(0 0 52px rgba(99, 166, 216, 0.52));
}

.legal-core-disc {
  border-color: rgba(213, 229, 241, 0.46);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.24), transparent 25%),
    linear-gradient(145deg, rgba(104, 166, 211, 0.32), rgba(4, 23, 39, 0.74));
  box-shadow:
    inset 0 0 42px rgba(190, 219, 240, 0.14),
    0 0 70px rgba(58, 132, 186, 0.4);
}

.legal-core-orbit { border-color: rgba(175, 209, 234, 0.32); }
.legal-core-orbit-two { border-color: rgba(111, 178, 226, 0.32); }
.legal-core-orbit-three { border-color: rgba(217, 232, 243, 0.2); }

.legal-field {
  border-color: rgba(185, 211, 231, 0.28);
  background: rgba(4, 23, 38, 0.78);
  color: rgba(231, 239, 245, 0.88);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.3), 0 0 22px rgba(83, 145, 190, 0.08);
}

.legal-field-contracts { left: 57%; top: 27%; }
.legal-field-compliance { left: 82%; top: 30%; }
.legal-field-corporate { left: 88%; top: 52%; }
.legal-field-tax { left: 80%; top: 72%; }
.legal-field-assets { left: 57%; top: 72%; }
.legal-field-labor { left: 51%; top: 50%; }

.legal-hero-progress {
  left: auto;
  right: clamp(34px, 5.5vw, 106px);
  top: auto;
  bottom: clamp(42px, 6vh, 68px);
  display: block;
  width: min(330px, 26vw);
  height: 58px;
  transform: none;
}

.legal-hero-progress::before {
  left: 0;
  right: 0;
  top: auto;
  bottom: -15px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(146, 181, 208, 0.62), rgba(146, 181, 208, 0.08));
}

.legal-hero-progress li {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  color: rgba(218, 230, 239, 0);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.38s ease, transform 0.38s ease, color 0.38s ease;
}

.legal-hero-progress li.active {
  color: #e7eff5;
  opacity: 1;
  transform: translateY(0);
}

.legal-hero-progress li > span {
  width: 36px;
  height: 36px;
  border-color: rgba(145, 188, 219, 0.55);
  background: rgba(20, 59, 87, 0.82);
  box-shadow: 0 0 24px rgba(74, 139, 187, 0.22);
}

.legal-hero-progress li strong {
  padding-top: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.legal-hero-progress li small {
  max-width: none;
  color: rgba(205, 220, 231, 0.62);
  font-size: 11px;
}

.legal-hero-scroll {
  left: clamp(38px, 6.5vw, 126px);
  bottom: clamp(42px, 6vh, 68px);
  transform: none;
  color: rgba(205, 221, 233, 0.64);
}

@media (max-width: 1180px) {
  .legal-hero-copy {
    top: 42%;
    width: min(49vw, 650px);
  }

  .legal-hero-title { font-size: clamp(40px, 5vw, 58px); }
  .legal-hero-core { left: 72%; top: 53%; width: clamp(150px, 16vw, 205px); }

  .legal-hero-progress {
    left: auto;
    right: 5vw;
    bottom: 34px;
    width: min(300px, 31vw);
    display: block;
  }

  .legal-hero-scroll { left: 6.5vw; bottom: 40px; }
}

@media (max-width: 767px) {
  .legal-hero-sticky {
    background:
      radial-gradient(circle at 50% 60%, rgba(48, 121, 176, 0.28), transparent 31%),
      linear-gradient(160deg, #020a12 0%, #061827 55%, #020a12 100%);
  }

  .legal-hero-sticky::before {
    background: linear-gradient(180deg, rgba(2, 10, 18, 0.5), transparent 35%, transparent 70%, rgba(2, 10, 18, 0.7));
  }

  .legal-hero-atmosphere { opacity: 0.7; }

  .legal-hero-copy {
    left: 22px;
    right: 22px;
    top: 25%;
    width: auto;
    transform: translate3d(0, var(--legal-copy-shift), 0);
  }

  .legal-hero-copy::before { margin-bottom: 15px; }
  .legal-hero-eyebrow { margin-bottom: 12px; }

  .legal-hero-title {
    max-width: 520px;
    font-size: clamp(35px, 10.2vw, 48px);
    line-height: 1.01;
  }

  .legal-hero-sub {
    max-width: 390px;
    margin-top: 16px;
    font-size: 12px;
  }

  .legal-hero-core {
    left: 50%;
    top: 61%;
    width: clamp(122px, 36vw, 164px);
  }

  .legal-field-contracts { left: 22%; top: 49%; }
  .legal-field-compliance { left: 77%; top: 48%; }
  .legal-field-corporate { left: 82%; top: 62%; }
  .legal-field-tax { left: 68%; top: 73%; }
  .legal-field-assets { left: 28%; top: 73%; }
  .legal-field-labor { left: 17%; top: 61%; }

  .legal-hero-progress {
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: auto;
    height: 48px;
  }

  .legal-hero-progress li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 11px;
    text-align: left;
  }

  .legal-hero-progress li > span { width: 31px; height: 31px; }
  .legal-hero-progress li strong { font-size: 9px; }
  .legal-hero-progress li small { display: block; margin-top: 2px; font-size: 9px; }
  .legal-hero-scroll { display: none; }
}

@media (max-height: 700px) and (max-width: 767px) {
  .legal-hero-copy { top: 19%; }
  .legal-hero-title { font-size: clamp(31px, 9vw, 40px); }
  .legal-hero-core { top: 59%; width: 112px; }
  .legal-hero-sub { display: none; }
}

@media (max-height: 520px) and (min-width: 640px) {
  .legal-hero-copy { top: 49%; width: 45vw; }
  .legal-hero-title { font-size: clamp(30px, 4.4vw, 46px); }
  .legal-hero-core { left: 70%; top: 49%; width: 118px; }
  .legal-hero-progress { right: 28px; bottom: 18px; width: 260px; }
}

/* V10.1 — correção crítica da rolagem fixa
   overflow-x:hidden transforma a página em um contêiner de rolagem e
   impede position:sticky de acompanhar o documento em alguns navegadores. */
html,
body {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

#hero.legal-architecture-hero {
  height: 460svh !important;
}

#hero .legal-hero-sticky {
  position: sticky !important;
  top: 0 !important;
}

@media (max-width: 1100px) {
  #hero.legal-architecture-hero { height: 430svh !important; }
}

@media (max-width: 767px) {
  #hero.legal-architecture-hero { height: 390svh !important; }
}

@media (prefers-reduced-motion: reduce) {
  #hero.legal-architecture-hero { height: 100svh !important; }
}

/* ============================================================
   V10 — A ASCENSÃO DA PROTEÇÃO JURÍDICA
   Narrativa cinematográfica inspirada em experiências WebGL,
   produzida em canvas nativo para carregar bem em hospedagem comum.
   ============================================================ */

#hero.legal-architecture-hero {
  --legal-progress: 0%;
  --legal-core-opacity: 0;
  --legal-core-scale: 0.72;
  --legal-core-rotation: -12deg;
  --legal-logo-opacity: 0;
  --legal-logo-scale: 0.72;
  --legal-field-opacity: 0;
  height: 560svh;
  background: #02080e;
}

#hero .legal-hero-sticky {
  min-height: 600px;
  color: #f4f7f9;
  background:
    radial-gradient(circle at 72% 52%, rgba(44, 105, 148, 0.24), transparent 25%),
    radial-gradient(circle at 67% 58%, rgba(162, 188, 207, 0.055), transparent 45%),
    linear-gradient(128deg, #01060b 0%, #03111d 48%, #061b2c 76%, #02080e 100%);
}

#hero .legal-hero-sticky::before {
  z-index: 3;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(1, 6, 11, 0.86) 0%, rgba(1, 6, 11, 0.45) 37%, rgba(1, 6, 11, 0.05) 64%, transparent 100%),
    linear-gradient(180deg, rgba(1, 6, 11, 0.62) 0%, transparent 24%, transparent 70%, rgba(1, 6, 11, 0.88) 100%);
}

#hero .legal-hero-sticky::after {
  z-index: 4;
  height: 28vh;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 14, 0.9) 88%, #02080e 100%);
}

.legal-hero-canvas {
  z-index: 1;
  filter: saturate(1.05) contrast(1.06);
}

.legal-hero-atmosphere {
  z-index: 2;
  opacity: 1;
  background:
    radial-gradient(circle at 72% 50%, rgba(148, 198, 232, 0.09), transparent 19%),
    linear-gradient(108deg, transparent 42%, rgba(141, 183, 214, 0.035) 50%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(192, 214, 230, 0.018) calc(8.333% - 1px), rgba(192, 214, 230, 0.018) 8.333%);
}

.legal-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 180px 32px rgba(0, 0, 0, 0.62);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.3));
}

.legal-hero-hud {
  position: absolute;
  left: clamp(28px, 4.2vw, 74px);
  right: clamp(28px, 4.2vw, 74px);
  top: clamp(92px, 12vh, 126px);
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(197, 213, 225, 0.55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}

.legal-hud-brand,
.legal-hud-stage {
  display: flex;
  align-items: center;
  gap: 13px;
}

.legal-hud-mark {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(170, 198, 218, 0.28);
  color: rgba(230, 237, 242, 0.88);
  letter-spacing: 0.12em;
}

.legal-hud-stage strong {
  color: rgba(232, 239, 244, 0.9);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legal-hero-chapters {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.legal-chapter {
  position: absolute;
  left: clamp(32px, 6.4vw, 118px);
  top: 49%;
  width: min(39vw, 650px);
  opacity: 0;
  transform: translate3d(0, calc(-50% + 34px), 0);
  transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1), transform 0.64s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}

.legal-chapter.active {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
  visibility: visible;
}

.legal-chapter.is-leaving {
  opacity: 0;
  transform: translate3d(0, calc(-50% - 28px), 0);
  visibility: visible;
}

.legal-chapter-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #91adc2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.legal-chapter-kicker::before {
  content: '';
  display: block;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, #8aa9bf, rgba(138, 169, 191, 0.12));
}

.legal-chapter-title {
  max-width: 680px;
  margin: 0;
  color: #f4f7f9;
  font-family: 'Inter', sans-serif;
  font-size: clamp(39px, 4.1vw, 70px);
  font-weight: 460;
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.legal-chapter p {
  max-width: 545px;
  margin: 24px 0 0;
  color: rgba(215, 226, 234, 0.68);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.72;
}

.legal-chapter-final .legal-chapter-title {
  color: #fff;
  text-shadow: 0 0 42px rgba(123, 181, 221, 0.16);
}

.legal-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 13px 0 10px;
  border-bottom: 1px solid rgba(176, 202, 220, 0.42);
  color: #edf3f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: gap 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.legal-hero-cta:hover {
  gap: 25px;
  border-color: #d5e2eb;
  color: #fff;
}

#hero .legal-hero-core {
  left: 72%;
  top: 50%;
  z-index: 7;
  width: clamp(150px, 13vw, 224px);
  opacity: var(--legal-core-opacity);
  filter: drop-shadow(0 0 62px rgba(85, 159, 211, 0.48));
}

#hero .legal-core-disc {
  border-color: rgba(212, 228, 239, 0.43);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.25), transparent 22%),
    linear-gradient(145deg, rgba(98, 158, 201, 0.3), rgba(4, 22, 37, 0.82));
  box-shadow: inset 0 0 42px rgba(190, 219, 240, 0.13), 0 0 72px rgba(58, 132, 186, 0.32);
}

#hero .legal-core-orbit { border-color: rgba(175, 209, 234, 0.33); }
#hero .legal-core-orbit-two { border-color: rgba(111, 178, 226, 0.28); }
#hero .legal-core-orbit-three { border-color: rgba(217, 232, 243, 0.18); }

#hero .legal-hero-fields { z-index: 7; }

#hero .legal-field {
  min-height: 30px;
  padding: 0 11px;
  border-color: rgba(185, 211, 231, 0.26);
  border-radius: 2px;
  background: rgba(3, 17, 29, 0.75);
  color: rgba(229, 238, 244, 0.86);
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: var(--legal-field-opacity);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), inset 0 0 18px rgba(125, 174, 208, 0.035);
  backdrop-filter: blur(12px);
}

#hero .legal-field::before {
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: #9db9cd;
}

#hero .legal-field-contracts { left: 58%; top: 28%; }
#hero .legal-field-compliance { left: 83%; top: 31%; }
#hero .legal-field-corporate { left: 89%; top: 52%; }
#hero .legal-field-tax { left: 81%; top: 72%; }
#hero .legal-field-assets { left: 59%; top: 73%; }
#hero .legal-field-labor { left: 52%; top: 51%; }

.legal-hero-telemetry {
  position: absolute;
  left: clamp(32px, 6.4vw, 118px);
  bottom: clamp(78px, 9vh, 104px);
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(25px, 3.2vw, 54px);
  pointer-events: none;
}

.legal-hero-telemetry div {
  display: grid;
  gap: 6px;
}

.legal-hero-telemetry span {
  color: rgba(172, 196, 214, 0.48);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-hero-telemetry strong {
  color: rgba(226, 236, 243, 0.82);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

#hero .legal-hero-progress {
  position: absolute;
  left: 50%;
  right: auto;
  top: auto;
  bottom: clamp(34px, 4.4vh, 50px);
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: min(55vw, 720px);
  height: auto;
  transform: translateX(-50%);
}

#hero .legal-hero-progress::before,
#hero .legal-hero-progress::after {
  content: '';
  position: absolute;
  left: 10%;
  top: 13px;
  bottom: auto;
  height: 1px;
}

#hero .legal-hero-progress::before {
  right: 10%;
  width: auto;
  background: rgba(160, 186, 205, 0.18);
}

#hero .legal-hero-progress::after {
  width: var(--legal-progress);
  max-width: 80%;
  background: linear-gradient(90deg, #789db7, #d4e1e9);
  box-shadow: 0 0 10px rgba(139, 186, 218, 0.34);
  transition: width 0.32s ease;
}

#hero .legal-hero-progress li,
#hero .legal-hero-progress li.active {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 9px;
  color: rgba(176, 197, 213, 0.32);
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: color 0.35s ease, transform 0.35s ease;
}

#hero .legal-hero-progress li > span {
  z-index: 2;
  width: 27px;
  height: 27px;
  border-color: rgba(153, 182, 203, 0.28);
  background: #06131e;
  box-shadow: 0 0 0 5px rgba(3, 12, 20, 0.78);
  color: rgba(180, 202, 218, 0.5);
  font-size: 8px;
}

#hero .legal-hero-progress li strong {
  padding: 0;
  color: inherit;
  font-size: 8px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

#hero .legal-hero-progress li.active {
  color: #e7eff4;
  transform: translateY(-3px);
}

#hero .legal-hero-progress li.active > span {
  border-color: rgba(176, 211, 234, 0.78);
  background: #153b57;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(3, 12, 20, 0.82), 0 0 24px rgba(83, 152, 201, 0.38);
}

#hero .legal-hero-scroll {
  left: auto;
  right: clamp(28px, 4.2vw, 74px);
  bottom: clamp(34px, 4.4vh, 50px);
  z-index: 10;
  transform: none;
  color: rgba(197, 215, 228, 0.48);
}

@media (max-width: 1100px) {
  #hero.legal-architecture-hero { height: 500svh; }
  .legal-chapter { top: 45%; width: 44vw; }
  .legal-chapter-title { font-size: clamp(36px, 5vw, 55px); }
  #hero .legal-hero-core { left: 73%; top: 51%; width: clamp(132px, 16vw, 190px); }
  #hero .legal-hero-progress { width: min(62vw, 650px); }
  #hero .legal-hero-scroll { display: none; }
}

@media (max-width: 767px) {
  #hero.legal-architecture-hero { height: 430svh; }

  #hero .legal-hero-sticky {
    min-height: 620px;
    background:
      radial-gradient(circle at 50% 63%, rgba(44, 105, 148, 0.27), transparent 28%),
      linear-gradient(158deg, #01060b 0%, #061827 56%, #02080e 100%);
  }

  #hero .legal-hero-sticky::before {
    background: linear-gradient(180deg, rgba(1, 6, 11, 0.68) 0%, rgba(1, 6, 11, 0.16) 34%, transparent 57%, rgba(1, 6, 11, 0.82) 100%);
  }

  .legal-hero-vignette { box-shadow: inset 0 0 90px 16px rgba(0, 0, 0, 0.52); }

  .legal-hero-hud {
    left: 20px;
    right: 20px;
    top: 84px;
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .legal-hud-brand { gap: 8px; }
  .legal-hud-brand > span:last-child { display: none; }
  .legal-hud-mark { min-width: 34px; height: 21px; }
  .legal-hud-stage { gap: 8px; }

  .legal-chapter {
    left: 21px;
    right: 21px;
    top: 19%;
    width: auto;
    transform: translate3d(0, 28px, 0);
  }

  .legal-chapter.active { transform: translate3d(0, 0, 0); }
  .legal-chapter.is-leaving { transform: translate3d(0, -24px, 0); }
  .legal-chapter-kicker { margin-bottom: 13px; font-size: 8px; }
  .legal-chapter-kicker::before { width: 34px; }

  .legal-chapter-title {
    max-width: 520px;
    font-size: clamp(29px, 8.5vw, 42px);
    line-height: 1.01;
    letter-spacing: -0.047em;
  }

  .legal-chapter p {
    max-width: 420px;
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.55;
  }

  .legal-hero-cta { margin-top: 16px; padding: 8px 0; font-size: 9px; }

  #hero .legal-hero-core {
    left: 50%;
    top: 64%;
    width: clamp(106px, 31vw, 142px);
  }

  #hero .legal-field { min-height: 25px; padding: 0 8px; font-size: 7px; }
  #hero .legal-field-contracts { left: 20%; top: 53%; }
  #hero .legal-field-compliance { left: 77%; top: 53%; }
  #hero .legal-field-corporate { left: 82%; top: 65%; }
  #hero .legal-field-tax { left: 70%; top: 75%; }
  #hero .legal-field-assets { left: 28%; top: 76%; }
  #hero .legal-field-labor { left: 16%; top: 65%; }

  .legal-hero-telemetry {
    left: 21px;
    right: 21px;
    bottom: 92px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .legal-hero-telemetry div { gap: 3px; }
  .legal-hero-telemetry span { font-size: 6px; letter-spacing: 0.12em; }
  .legal-hero-telemetry strong { font-size: 9px; }

  #hero .legal-hero-progress {
    left: 18px;
    right: 18px;
    bottom: 23px;
    width: auto;
    transform: none;
  }

  #hero .legal-hero-progress::before,
  #hero .legal-hero-progress::after { top: 11px; }
  #hero .legal-hero-progress li { gap: 6px; text-align: center; }
  #hero .legal-hero-progress li > span { width: 23px; height: 23px; font-size: 7px; box-shadow: 0 0 0 4px rgba(3, 12, 20, 0.82); }
  #hero .legal-hero-progress li strong { font-size: 6px; letter-spacing: 0.08em; }
}

@media (max-width: 420px) {
  .legal-chapter-title { font-size: clamp(27px, 8.3vw, 35px); }
  .legal-chapter p { font-size: 11px; }
  #hero .legal-field { font-size: 6px; letter-spacing: 0.1em; }
  #hero .legal-hero-progress li strong { display: none; }
  .legal-hero-telemetry { bottom: 71px; }
}

@media (max-height: 690px) and (max-width: 767px) {
  .legal-hero-hud { top: 76px; }
  .legal-chapter { top: 17%; }
  .legal-chapter-title { font-size: clamp(25px, 7.7vw, 34px); }
  .legal-chapter p { max-width: 360px; margin-top: 10px; line-height: 1.45; }
  #hero .legal-hero-core { top: 62%; width: 102px; }
  .legal-hero-telemetry { bottom: 69px; }
  #hero .legal-hero-progress { bottom: 17px; }
}

@media (max-height: 560px) and (min-width: 640px) {
  .legal-hero-hud { top: 78px; }
  .legal-chapter { top: 48%; width: 45vw; }
  .legal-chapter-title { font-size: clamp(28px, 4.3vw, 42px); }
  .legal-chapter p { margin-top: 13px; font-size: 12px; }
  .legal-chapter-kicker { margin-bottom: 12px; }
  #hero .legal-hero-core { top: 50%; width: 112px; }
  .legal-hero-telemetry { bottom: 54px; }
  #hero .legal-hero-progress { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #hero.legal-architecture-hero { height: 100svh; }
  .legal-chapter,
  .legal-hero-progress li,
  .legal-hero-progress::after { transition: none !important; }
  .legal-hero-chapters .legal-chapter { display: none; }
  .legal-hero-chapters .legal-chapter-final { display: block; opacity: 1; visibility: visible; transform: translate3d(0, -50%, 0); }
}

/* ============================================================
   MOBILE INTERACTION POLISH — toque, swipe e controles fluidos
   ============================================================ */

a,
button,
.btn,
.jcard {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn,
.lang-btn,
.lang-item,
.hamburger,
.mobile-close,
.equipe-arrow,
.social-link {
  min-height: 44px;
}

.btn {
  justify-content: center;
}

.btn:active,
.lang-btn:active,
.lang-item:active,
.equipe-arrow:active,
.social-link:active {
  transform: scale(0.97);
}

.equipe-arrow:disabled {
  opacity: 0.32;
  cursor: default;
  pointer-events: none;
}

.equipe-carousel-window {
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  cursor: grab;
}

.equipe-carousel-window:active {
  cursor: grabbing;
}

.carousel-track {
  will-change: transform;
  backface-visibility: hidden;
}

@media (min-width: 641px) and (max-width: 1024px) {
  .equipe-grid .equipe-card {
    flex-basis: calc((100% - 28px) / 2);
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    justify-content: flex-start;
    gap: clamp(10px, 2.2vh, 18px);
    padding: 88px 24px 32px;
    overflow-y: auto;
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.12;
    text-align: center;
  }

  .mobile-menu .btn {
    width: min(100%, 320px);
    font-size: 14px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 132px;
  }

  .contact-form-wrap {
    border-radius: 4px;
  }

  .carousel-track {
    animation-duration: 64s;
  }
}

@media (max-width: 420px) {
  .why-drs-stat {
    grid-template-columns: 1fr 1fr;
  }

  .why-drs-stat .stat-item:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #B5BEC7;
  }

  .why-drs-stat .stat-item:nth-child(2) {
    padding-right: 0;
  }
}

@media (hover: none) {
  .feature-card:hover,
  .blog-card:hover,
  .equipe-card:hover,
  .area-card:hover,
  .area-card-full:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-wrapper {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .carousel-track {
    animation: none !important;
    transform: none !important;
  }
}

/* ============================================================
   V5 — HEADER LATERAL, VIDEO LIMPO E EQUIPE NW-LIKE
   ============================================================ */

#header {
  position: fixed;
  background: rgba(3, 16, 29, 0.92);
  border-bottom: 1px solid rgba(217, 222, 229, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#header.scrolled {
  background: rgba(3, 16, 29, 0.97);
}

.nav-links {
  display: none !important;
}

.hamburger {
  display: flex !important;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(217, 222, 229, 0.22);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  position: relative;
  z-index: 1002;
}

.hamburger:hover {
  border-color: rgba(184, 194, 205, 0.62);
  background: rgba(255,255,255,0.08);
}

body.side-menu-open {
  overflow: hidden;
}

body.side-menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(3, 16, 29, 0.58);
  backdrop-filter: blur(2px);
}

.mobile-menu {
  display: flex !important;
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  z-index: 1001;
  width: min(430px, calc(100vw - 24px));
  height: 100vh;
  padding: 94px 46px 42px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  overflow-y: auto;
  background:
    linear-gradient(150deg, rgba(217, 222, 229, 0.08), transparent 42%),
    rgba(3, 16, 29, 0.985);
  border-left: 1px solid rgba(217, 222, 229, 0.18);
  box-shadow: -24px 0 80px rgba(0,0,0,0.45);
  opacity: 1;
  pointer-events: none;
  transform: translateX(108%);
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu a {
  width: 100%;
  min-height: 0;
  justify-content: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(217, 222, 229, 0.1);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #D9DEE5;
  padding-left: 8px;
}

.mobile-menu a.btn,
.mobile-menu .btn {
  width: auto;
  margin-top: 28px !important;
  padding: 13px 22px;
  border-bottom: 0;
  letter-spacing: 0;
  text-transform: none;
}

.mobile-close {
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 222, 229, 0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 20px;
}

#hero.clean-video-hero,
#hero {
  min-height: 100svh;
  padding: 0;
  background: #03101D;
}

#hero.clean-video-hero::before,
#hero::before {
  display: none !important;
}

.hero-video-bg video {
  opacity: 1 !important;
  filter: none !important;
  object-position: center center;
}

.hero-scroll {
  display: none !important;
}

.hero-accessible-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.equipe-avatar {
  display: block;
  text-decoration: none;
}

.professionals-page,
.professional-profile-page {
  background: #fff;
  color: #4b5563;
}

.professionals-hero,
.professional-profile-hero {
  padding: 150px 0 58px;
  background: #fff;
}

.professionals-kicker,
.profile-kicker {
  display: block;
  margin-bottom: 20px;
  color: #315D82;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.professionals-title,
.profile-title {
  margin: 0 0 18px;
  color: #344054;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: 0;
}

.professionals-subtitle {
  max-width: 760px;
  color: #6b7280;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
}

.professionals-controls {
  padding: 0 0 72px;
  background: #fff;
}

.professionals-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(2, minmax(180px, 0.75fr));
  gap: 16px;
  margin-bottom: 32px;
}

.professional-input,
.professional-select {
  width: 100%;
  height: 54px;
  border: 1px solid #d7dbe1;
  border-radius: 0;
  background: #fff;
  color: #4b5563;
  padding: 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
}

.professional-input:focus,
.professional-select:focus {
  border-color: #315D82;
}

.professionals-alphabet {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 34px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.professionals-letter {
  min-width: 28px;
  border: 0;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.professionals-letter:hover,
.professionals-letter.active {
  color: #315D82;
  transform: translateY(-2px);
}

.professionals-letter:disabled {
  cursor: default;
  color: #c4cad3;
  transform: none;
}

.professionals-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 52px;
}

.professional-gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 210px;
  height: 58px;
  border: 0;
  background: #C9D1D9;
  color: #0A2137;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.professional-gold-btn:hover {
  background: #AEB8C4;
  transform: translateY(-2px);
}

.professionals-list {
  display: grid;
  gap: 42px;
}

.professional-list-card {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  background: #fff;
}

.professional-list-photo {
  display: block;
  aspect-ratio: 0.82;
  overflow: hidden;
  background: #e7e7e3;
}

.professional-list-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12);
}

.professional-list-info {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 34px 0 28px;
}

.professional-list-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  border-bottom: 1px solid #C9D1D9;
  padding-bottom: 24px;
}

.professional-list-name {
  margin: 0;
  color: #344054;
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  letter-spacing: 0;
}

.professional-linkedin {
  color: #315D82;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.professional-list-role {
  margin: 26px 0 28px;
  color: #6b7280;
  font-size: 19px;
}

.professional-contact-lines {
  display: grid;
  gap: 12px;
  color: #6b7280;
  font-size: 17px;
}

.professional-contact-line {
  display: flex;
  gap: 12px;
  align-items: center;
}

.professional-contact-line svg {
  width: 22px;
  height: 22px;
  color: #315D82;
  stroke-width: 1.7;
}

.professional-read-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-end;
  margin-top: auto;
  color: #344054;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.professional-read-more span {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 2px solid #315D82;
  border-radius: 50%;
  color: #315D82;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.professional-read-more:hover {
  color: #315D82;
}

.professional-read-more:hover span {
  transform: rotate(90deg);
  background: #315D82;
  color: #fff;
}

.professionals-empty {
  padding: 36px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  text-align: center;
  font-size: 17px;
}

.professional-profile-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: start;
}

.profile-photo {
  aspect-ratio: 0.82;
  overflow: hidden;
  background: #e7e7e3;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-meta {
  padding-top: 12px;
}

.profile-role {
  margin: 0 0 26px;
  color: #6b7280;
  font-size: 22px;
}

.profile-divider {
  width: 100%;
  height: 1px;
  margin: 0 0 30px;
  background: #C9D1D9;
}

.profile-contact {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.profile-contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #6b7280;
  font-size: 17px;
}

.profile-contact-item svg {
  width: 22px;
  color: #315D82;
}

.profile-content {
  padding: 0 0 92px;
  background: #fff;
}

.profile-content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
}

.profile-sidebar-box {
  border-left: 4px solid #315D82;
  padding-left: 22px;
  color: #6b7280;
}

.profile-sidebar-box strong {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: 20px;
}

.profile-section {
  margin-bottom: 46px;
}

.profile-section h2 {
  margin: 0 0 16px;
  color: #344054;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.profile-section p,
.profile-section li {
  color: #596273;
  font-size: 18px;
  line-height: 1.75;
}

.profile-section ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  list-style: disc;
}

.profile-bottom-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.light-btn {
  border-color: rgba(52,64,84,0.22);
  color: #344054;
}

.light-btn:hover {
  border-color: #315D82;
  color: #315D82;
}

@media (max-width: 900px) {
  .professionals-filter-grid,
  .professional-list-card,
  .professional-profile-wrap,
  .profile-content-grid {
    grid-template-columns: 1fr;
  }

  .professional-list-info {
    min-height: auto;
    padding-top: 0;
  }

  .professional-read-more {
    align-self: flex-start;
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .professionals-actions {
    flex-direction: column;
  }

  .professional-gold-btn {
    width: 100%;
  }

  .professionals-hero,
  .professional-profile-hero {
    padding-top: 128px;
  }
}

@media (max-width: 520px) {
  .header-cta .lang-selector {
    display: none;
  }

  .mobile-menu {
    width: min(360px, calc(100vw - 18px));
    padding: 86px 30px 32px;
  }

  .professional-list-photo,
  .profile-photo {
    max-width: 360px;
  }
}

/* ============================================================
   V6 — MAPA NACIONAL EM DOIS BLOCOS
   ============================================================ */

#atendemos-brasil {
  padding: clamp(82px, 9vw, 132px) 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(111, 155, 194, 0.2), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, #03101D 0%, #09243D 48%, #214B70 100%);
  overflow: hidden;
}

#atendemos-brasil::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(3, 16, 29, 0.12), rgba(3, 16, 29, 0.54));
}

.brasil-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: 590px;
}

.brasil-layout .brasil-content {
  max-width: 620px;
  padding: 0;
}

.brasil-layout .section-tag {
  color: #CFD7DF;
}

.brasil-layout .section-heading {
  max-width: 640px;
  color: #FFFFFF;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.brasil-layout .section-sub {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(234, 241, 248, 0.78);
}

.brasil-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 30px;
}

.brasil-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(217, 222, 229, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.brasil-visual {
  position: relative;
  min-height: min(68vw, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brasil-map-watermark {
  position: absolute;
  left: 50%;
  bottom: -0.08em;
  z-index: 0;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  text-stroke: 1px rgba(255, 255, 255, 0.2);
  font-family: 'Inter', sans-serif;
  font-size: clamp(92px, 15vw, 210px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.075em;
  pointer-events: none;
  opacity: 0.92;
}

.brasil-map-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  aspect-ratio: 747 / 720;
}

.brasil-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.34))
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.28));
}

.brasil-df-highlight {
  position: absolute;
  left: 64%;
  top: 52%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.brasil-df-highlight::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(111, 155, 194, 0.62);
  border-radius: 50%;
  background: rgba(111, 155, 194, 0.16);
  box-shadow: 0 0 26px rgba(111, 155, 194, 0.44);
  transform: translate(-50%, -50%);
  animation: dfPulse 2.8s ease-in-out infinite;
}

.brasil-df-pin {
  display: none;
}

.brasil-df-pin::after {
  display: none;
}

.brasil-df-code {
  display: none;
}

.brasil-df-tooltip {
  position: absolute;
  left: calc(100% + 2px);
  top: 8px;
  min-width: 188px;
  padding: 7px 10px;
  border: 1px solid rgba(217, 222, 229, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  box-shadow: 0 12px 32px rgba(3, 16, 29, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.brasil-df-highlight:hover .brasil-df-tooltip,
.brasil-df-highlight:focus-visible .brasil-df-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes dfPulse {
  0%, 100% {
    opacity: 0.44;
    box-shadow: 0 0 22px rgba(111, 155, 194, 0.36);
  }
  50% {
    opacity: 0.92;
    box-shadow: 0 0 0 9px rgba(111, 155, 194, 0.14), 0 0 32px rgba(111, 155, 194, 0.56);
  }
}

@media (max-width: 980px) {
  .brasil-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brasil-layout .brasil-content {
    max-width: 760px;
  }

  .brasil-visual {
    min-height: auto;
  }

  .brasil-df-tooltip {
    left: 50%;
    top: auto;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 8px);
  }

  .brasil-df-highlight:hover .brasil-df-tooltip,
  .brasil-df-highlight:focus-visible .brasil-df-tooltip {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 620px) {
  #atendemos-brasil {
    padding: 72px 0 86px;
  }

  .brasil-layout {
    gap: 26px;
  }

  .brasil-pill-row span {
    width: 100%;
    justify-content: center;
  }

  .brasil-map-stage {
    width: min(112vw, 560px);
    margin-left: -6vw;
    margin-right: -6vw;
  }

  .brasil-map-watermark {
    bottom: -8px;
    font-size: clamp(82px, 27vw, 138px);
  }

  .brasil-df-highlight {
    width: 58px;
    height: 58px;
  }

  .brasil-df-highlight::before {
    width: 44px;
    height: 44px;
  }

  .brasil-df-tooltip {
    min-width: 210px;
    font-size: 12px;
  }
}

/* ============================================================
   V7 — HERO INTERATIVO: ARQUITETURA JURÍDICA DRS
   ============================================================ */

#hero.legal-architecture-hero {
  --legal-copy-opacity: 1;
  --legal-copy-shift: 0px;
  --legal-core-scale: 0.78;
  --legal-core-rotation: -8deg;
  --legal-logo-opacity: 0.08;
  --legal-logo-scale: 0.78;
  position: relative;
  display: block;
  align-items: initial;
  height: 400svh;
  min-height: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  background: #020B14;
}

.legal-hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 48%, rgba(38, 91, 132, 0.18), transparent 31%),
    linear-gradient(145deg, #020A13 0%, #06182A 52%, #020A13 100%);
}

.legal-hero-sticky::before,
.legal-hero-sticky::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.legal-hero-sticky::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 10, 19, 0.78) 0%, rgba(2, 10, 19, 0.28) 42%, transparent 68%),
    linear-gradient(180deg, rgba(2, 10, 19, 0.38), transparent 22%, transparent 72%, rgba(2, 10, 19, 0.74));
}

.legal-hero-sticky::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  background: linear-gradient(180deg, transparent, #020B14 92%);
}

.legal-hero-canvas,
.legal-hero-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.legal-hero-canvas {
  z-index: 1;
  display: block;
}

.legal-hero-atmosphere {
  z-index: 2;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(circle at 64% 48%, rgba(111, 155, 194, 0.09), transparent 20%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(174, 192, 209, 0.024) calc(8.333% - 1px), rgba(174, 192, 209, 0.024) 8.333%);
  mix-blend-mode: screen;
}

.legal-hero-copy {
  position: absolute;
  left: clamp(32px, 6vw, 104px);
  top: 24%;
  z-index: 6;
  width: min(43vw, 660px);
  opacity: var(--legal-copy-opacity);
  transform: translate3d(0, var(--legal-copy-shift), 0);
  transition: opacity 0.12s linear;
  pointer-events: none;
}

.legal-hero-copy::before {
  content: '';
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #AEB8C4, rgba(174, 184, 196, 0));
}

.legal-hero-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #9FB1C3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-hero-title {
  max-width: 680px;
  margin: 0;
  color: #F4F7FA;
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 5.6vw, 88px);
  font-weight: 550;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.legal-hero-title > span {
  display: block;
}

.legal-hero-title-accent {
  margin-top: 0.08em;
  color: #AFC0CF;
}

.legal-hero-sub {
  max-width: 550px;
  margin-top: 28px;
  color: rgba(223, 231, 238, 0.68);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.75;
}

.legal-hero-core {
  position: absolute;
  left: 67%;
  top: 49%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: clamp(118px, 10vw, 168px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(var(--legal-core-scale)) rotate(var(--legal-core-rotation));
  transform-style: preserve-3d;
  filter: drop-shadow(0 0 38px rgba(111, 155, 194, 0.34));
  will-change: transform;
}

.legal-hero-core img {
  position: relative;
  z-index: 4;
  width: 55%;
  height: 55%;
  object-fit: contain;
  opacity: var(--legal-logo-opacity);
  transform: scale(var(--legal-logo-scale));
  filter: grayscale(1) brightness(1.65) contrast(0.88) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  transition: opacity 0.18s linear, transform 0.18s linear;
}

.legal-core-disc,
.legal-core-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.legal-core-disc {
  inset: 17%;
  z-index: 2;
  border: 1px solid rgba(213, 225, 235, 0.28);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(102, 146, 184, 0.22), rgba(4, 23, 39, 0.64));
  box-shadow:
    inset 0 0 30px rgba(190, 214, 234, 0.08),
    0 0 48px rgba(58, 118, 168, 0.23);
  backdrop-filter: blur(8px);
}

.legal-core-orbit {
  inset: 2%;
  z-index: 1;
  border: 1px solid rgba(175, 199, 220, 0.18);
  transform: rotateX(68deg) rotateZ(0deg);
  animation: legalOrbitOne 13s linear infinite;
}

.legal-core-orbit-two {
  inset: -15%;
  border-color: rgba(111, 155, 194, 0.2);
  transform: rotateY(66deg) rotateZ(42deg);
  animation: legalOrbitTwo 17s linear infinite reverse;
}

.legal-core-orbit-three {
  inset: -33%;
  border-style: dashed;
  border-color: rgba(217, 226, 235, 0.13);
  animation-duration: 25s;
}

@keyframes legalOrbitOne {
  to { transform: rotateX(68deg) rotateZ(360deg); }
}

@keyframes legalOrbitTwo {
  to { transform: rotateY(66deg) rotateZ(402deg); }
}

.legal-hero-fields {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.legal-field {
  --field-x: 0px;
  --field-y: 0px;
  --field-scale: 0.86;
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(185, 204, 221, 0.16);
  border-radius: 999px;
  background: rgba(5, 21, 35, 0.58);
  color: rgba(222, 232, 240, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate3d(calc(-50% + var(--field-x)), calc(-50% + var(--field-y)), 0) scale(var(--field-scale));
  will-change: transform, opacity;
  backdrop-filter: blur(9px);
}

.legal-field::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: #7FA6C6;
  box-shadow: 0 0 10px rgba(127, 166, 198, 0.72);
}

.legal-field-contracts { left: 54%; top: 31%; }
.legal-field-compliance { left: 78%; top: 32%; }
.legal-field-corporate { left: 84%; top: 52%; }
.legal-field-tax { left: 75%; top: 70%; }
.legal-field-assets { left: 53%; top: 67%; }
.legal-field-labor { left: 49%; top: 49%; }

.legal-hero-progress {
  position: absolute;
  right: clamp(22px, 3.4vw, 58px);
  top: 50%;
  z-index: 7;
  display: grid;
  gap: 18px;
  width: min(15vw, 208px);
  list-style: none;
  transform: translateY(-50%);
}

.legal-hero-progress::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: rgba(184, 201, 216, 0.14);
}

.legal-hero-progress li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(186, 202, 216, 0.34);
  transition: color 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
}

.legal-hero-progress li > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(185, 204, 221, 0.16);
  border-radius: 50%;
  background: #071827;
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.legal-hero-progress li strong,
.legal-hero-progress li small {
  display: block;
}

.legal-hero-progress li strong {
  padding-top: 2px;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-hero-progress li small {
  max-width: 160px;
  margin-top: 4px;
  color: rgba(188, 203, 216, 0.34);
  font-size: 10px;
  line-height: 1.35;
  transition: color 0.35s ease;
}

.legal-hero-progress li.active {
  color: #E4EBF1;
  transform: translateX(-5px);
}

.legal-hero-progress li.active > span {
  border-color: rgba(127, 166, 198, 0.7);
  background: #173B59;
  box-shadow: 0 0 22px rgba(74, 128, 170, 0.34);
}

.legal-hero-progress li.active small {
  color: rgba(205, 217, 228, 0.66);
}

.legal-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(205, 216, 226, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.legal-scroll-line {
  position: relative;
  display: block;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(205, 216, 226, 0.18);
}

.legal-scroll-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #D5E0E9, transparent);
  animation: legalScrollLine 1.9s ease-in-out infinite;
}

@keyframes legalScrollLine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@media (max-width: 1180px) {
  .legal-hero-copy {
    top: 20%;
    width: min(48vw, 590px);
  }

  .legal-hero-core { left: 67%; top: 55%; }

  .legal-hero-progress {
    left: 7%;
    right: 7%;
    top: auto;
    bottom: 42px;
    width: auto;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    transform: none;
  }

  .legal-hero-progress::before {
    left: 15px;
    right: 15px;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .legal-hero-progress li {
    grid-template-columns: 32px 1fr;
  }

  .legal-hero-progress li.active { transform: translateY(-4px); }
  .legal-hero-scroll { bottom: 118px; }
}

@media (max-width: 767px) {
  #hero.legal-architecture-hero {
    height: 330svh;
  }

  .legal-hero-sticky {
    min-height: 560px;
  }

  .legal-hero-sticky::before {
    background:
      linear-gradient(180deg, rgba(2, 10, 19, 0.68) 0%, rgba(2, 10, 19, 0.18) 40%, transparent 62%, rgba(2, 10, 19, 0.7) 100%);
  }

  .legal-hero-atmosphere {
    opacity: 0.48;
  }

  .legal-hero-copy {
    left: 20px;
    right: 20px;
    top: 14.5%;
    width: auto;
    text-align: center;
  }

  .legal-hero-copy::before {
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 18px;
  }

  .legal-hero-eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .legal-hero-title {
    max-width: 560px;
    margin: 0 auto;
    font-size: clamp(36px, 10.8vw, 56px);
    line-height: 1;
  }

  .legal-hero-sub {
    max-width: 440px;
    margin: 18px auto 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .legal-hero-core {
    left: 50%;
    top: 59%;
    width: clamp(92px, 27vw, 126px);
  }

  .legal-field {
    min-height: 29px;
    padding: 0 10px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .legal-field-contracts { left: 24%; top: 48%; }
  .legal-field-compliance { left: 74%; top: 47%; }
  .legal-field-corporate { left: 78%; top: 62%; }
  .legal-field-tax { left: 65%; top: 72%; }
  .legal-field-assets { left: 23%; top: 68%; }
  .legal-field-labor { left: 19%; top: 58%; }

  .legal-hero-progress {
    left: 16px;
    right: 16px;
    bottom: 20px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .legal-hero-progress::before {
    left: 10%;
    right: 10%;
    top: 12px;
  }

  .legal-hero-progress li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .legal-hero-progress li > span {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }

  .legal-hero-progress li strong {
    padding: 0;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .legal-hero-progress li small { display: none; }
  .legal-hero-progress li.active { transform: translateY(-3px); }

  .legal-hero-scroll {
    bottom: 86px;
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  .legal-hero-title { font-size: clamp(34px, 10vw, 44px); }
  .legal-hero-sub { max-width: 330px; }
  .legal-field { padding: 0 8px; }
  .legal-field::before { width: 4px; height: 4px; margin-right: 6px; }
}

@media (max-height: 700px) and (max-width: 767px) {
  .legal-hero-copy { top: 13%; }
  .legal-hero-copy::before { margin-bottom: 12px; }
  .legal-hero-eyebrow { margin-bottom: 10px; }
  .legal-hero-title { font-size: clamp(31px, 9.4vw, 42px); }
  .legal-hero-sub { margin-top: 12px; font-size: 12px; }
  .legal-hero-core { top: 59%; width: 90px; }
  .legal-field-contracts,
  .legal-field-compliance { top: 48%; }
  .legal-hero-scroll { display: none; }
}

@media (max-height: 520px) and (min-width: 640px) {
  .legal-hero-sticky { min-height: 100svh; }

  .legal-hero-copy {
    left: 32px;
    top: 26%;
    width: 44vw;
  }

  .legal-hero-copy::before,
  .legal-hero-sub { display: none; }
  .legal-hero-title { font-size: clamp(30px, 5vw, 48px); }
  .legal-hero-core { left: 68%; top: 50%; width: 96px; }
  .legal-hero-progress { bottom: 12px; }
  .legal-hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #hero.legal-architecture-hero {
    height: 100svh;
  }

  .legal-core-orbit,
  .legal-scroll-line i {
    animation: none !important;
  }

  .legal-hero-progress li,
  .legal-hero-core,
  .legal-field,
  .legal-hero-copy {
    transition: none !important;
  }
}

/* V9 — acabamento final: narrativa cinematográfica, uma etapa por vez */
.legal-hero-sticky {
  background:
    radial-gradient(circle at 70% 49%, rgba(48, 121, 176, 0.27), transparent 30%),
    radial-gradient(circle at 70% 52%, rgba(148, 192, 224, 0.08), transparent 46%),
    linear-gradient(126deg, #020a12 0%, #041422 48%, #020a12 100%);
}

.legal-hero-sticky::before {
  display: block !important;
  background:
    linear-gradient(90deg, rgba(2, 10, 18, 0.68) 0%, rgba(2, 10, 18, 0.18) 43%, transparent 68%),
    linear-gradient(180deg, rgba(2, 10, 18, 0.18), transparent 22%, transparent 72%, rgba(2, 10, 18, 0.58));
}

.legal-hero-canvas { filter: brightness(1.32) contrast(1.08) saturate(1.08); }

.legal-hero-atmosphere {
  opacity: 0.9;
  background:
    radial-gradient(circle at 70% 49%, rgba(139, 188, 226, 0.12), transparent 23%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 1px), rgba(174, 192, 209, 0.018) calc(10% - 1px), rgba(174, 192, 209, 0.018) 10%);
}

.legal-hero-copy {
  left: clamp(38px, 6.5vw, 126px);
  top: 48%;
  width: min(44vw, 820px);
  transform: translate3d(0, calc(-50% + var(--legal-copy-shift)), 0);
}

.legal-hero-copy::before {
  width: 74px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #a9c3d7, rgba(169, 195, 215, 0));
}

.legal-hero-eyebrow {
  margin-bottom: 18px;
  color: #9db6ca;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.legal-hero-title {
  max-width: 820px;
  font-size: clamp(42px, 3.7vw, 68px);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.legal-hero-title-accent { margin-top: 0.12em; color: #b7c9d8; }

.legal-hero-sub {
  max-width: 590px;
  margin-top: 24px;
  color: rgba(224, 233, 241, 0.68);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.65;
}

.legal-hero-core {
  left: 70%;
  top: 50%;
  width: clamp(174px, 13vw, 244px);
  filter: drop-shadow(0 0 52px rgba(99, 166, 216, 0.52));
}

.legal-core-disc {
  border-color: rgba(213, 229, 241, 0.46);
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.24), transparent 25%),
    linear-gradient(145deg, rgba(104, 166, 211, 0.32), rgba(4, 23, 39, 0.74));
  box-shadow: inset 0 0 42px rgba(190, 219, 240, 0.14), 0 0 70px rgba(58, 132, 186, 0.4);
}

.legal-core-orbit { border-color: rgba(175, 209, 234, 0.32); }
.legal-core-orbit-two { border-color: rgba(111, 178, 226, 0.32); }
.legal-core-orbit-three { border-color: rgba(217, 232, 243, 0.2); }

.legal-field {
  border-color: rgba(185, 211, 231, 0.28);
  background: rgba(4, 23, 38, 0.78);
  color: rgba(231, 239, 245, 0.88);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.3), 0 0 22px rgba(83, 145, 190, 0.08);
}

.legal-field-contracts { left: 57%; top: 27%; }
.legal-field-compliance { left: 82%; top: 30%; }
.legal-field-corporate { left: 88%; top: 52%; }
.legal-field-tax { left: 80%; top: 72%; }
.legal-field-assets { left: 57%; top: 72%; }
.legal-field-labor { left: 51%; top: 50%; }

.legal-hero-progress {
  left: auto;
  right: clamp(34px, 5.5vw, 106px);
  top: auto;
  bottom: clamp(42px, 6vh, 68px);
  display: block;
  width: min(330px, 26vw);
  height: 58px;
  transform: none;
}

.legal-hero-progress::before {
  left: 0;
  right: 0;
  top: auto;
  bottom: -15px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(146, 181, 208, 0.62), rgba(146, 181, 208, 0.08));
}

.legal-hero-progress li {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  color: rgba(218, 230, 239, 0);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.38s ease, transform 0.38s ease, color 0.38s ease;
}

.legal-hero-progress li.active {
  color: #e7eff5;
  opacity: 1;
  transform: translateY(0);
}

.legal-hero-progress li > span {
  width: 36px;
  height: 36px;
  border-color: rgba(145, 188, 219, 0.55);
  background: rgba(20, 59, 87, 0.82);
  box-shadow: 0 0 24px rgba(74, 139, 187, 0.22);
}

.legal-hero-progress li strong { padding-top: 0; font-size: 11px; letter-spacing: 0.18em; }
.legal-hero-progress li small { max-width: none; color: rgba(205, 220, 231, 0.62); font-size: 11px; }

.legal-hero-scroll {
  left: clamp(38px, 6.5vw, 126px);
  bottom: clamp(42px, 6vh, 68px);
  transform: none;
  color: rgba(205, 221, 233, 0.64);
}

@media (max-width: 1180px) {
  .legal-hero-copy { top: 42%; width: min(49vw, 650px); }
  .legal-hero-title { font-size: clamp(40px, 5vw, 58px); }
  .legal-hero-core { left: 72%; top: 53%; width: clamp(150px, 16vw, 205px); }
  .legal-hero-progress { left: auto; right: 5vw; bottom: 34px; width: min(300px, 31vw); display: block; }
  .legal-hero-scroll { left: 6.5vw; bottom: 40px; }
}

@media (max-width: 767px) {
  .legal-hero-sticky {
    background: radial-gradient(circle at 50% 60%, rgba(48, 121, 176, 0.28), transparent 31%), linear-gradient(160deg, #020a12 0%, #061827 55%, #020a12 100%);
  }
  .legal-hero-sticky::before { background: linear-gradient(180deg, rgba(2, 10, 18, 0.5), transparent 35%, transparent 70%, rgba(2, 10, 18, 0.7)); }
  .legal-hero-atmosphere { opacity: 0.7; }
  .legal-hero-copy { left: 22px; right: 22px; top: 25%; width: auto; transform: translate3d(0, var(--legal-copy-shift), 0); }
  .legal-hero-copy::before { margin-bottom: 15px; }
  .legal-hero-eyebrow { margin-bottom: 12px; }
  .legal-hero-title { max-width: 520px; font-size: clamp(35px, 10.2vw, 48px); line-height: 1.01; }
  .legal-hero-sub { max-width: 390px; margin-top: 16px; font-size: 12px; }
  .legal-hero-core { left: 50%; top: 61%; width: clamp(122px, 36vw, 164px); }
  .legal-field-contracts { left: 22%; top: 49%; }
  .legal-field-compliance { left: 77%; top: 48%; }
  .legal-field-corporate { left: 82%; top: 62%; }
  .legal-field-tax { left: 68%; top: 73%; }
  .legal-field-assets { left: 28%; top: 73%; }
  .legal-field-labor { left: 17%; top: 61%; }
  .legal-hero-progress { left: 22px; right: 22px; bottom: 22px; width: auto; height: 48px; display: block; }
  .legal-hero-progress::before { left: 0; right: 0; top: auto; bottom: -10px; }
  .legal-hero-progress li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; text-align: left; }
  .legal-hero-progress li > span { width: 31px; height: 31px; }
  .legal-hero-progress li strong { font-size: 9px; }
  .legal-hero-progress li small { display: block; margin-top: 2px; font-size: 9px; }
  .legal-hero-scroll { display: none; }
}

@media (max-height: 700px) and (max-width: 767px) {
  .legal-hero-copy { top: 19%; }
  .legal-hero-title { font-size: clamp(31px, 9vw, 40px); }
  .legal-hero-core { top: 59%; width: 112px; }
  .legal-hero-sub { display: none; }
}

@media (max-height: 520px) and (min-width: 640px) {
  .legal-hero-copy { top: 49%; width: 45vw; }
  .legal-hero-title { font-size: clamp(30px, 4.4vw, 46px); }
  .legal-hero-core { left: 70%; top: 49%; width: 118px; }
  .legal-hero-progress { right: 28px; bottom: 18px; width: 260px; }
}
