/* ============================================================
   EIXO Advocacia & Consultoria — Premium Design System v2
   Palette: Deep Navy · Teal/Emerald · Warm Cream · Gold accents
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Core palette */
  --navy-950: #050D1A;
  --navy-900: #0A1628;
  --navy-850: #0E1D35;
  --navy-800: #132642;
  --navy-700: #1A3558;
  --navy-600: #234A72;
  --teal-700: #1A8A7D;
  --teal-600: #22A899;
  --teal-500: #2EC4B6;
  --teal-400: #4DE0D2;
  --teal-300: #7AEEDE;
  --teal-200: #B0F5EC;
  --cream-50: #FDFAF5;
  --cream-100: #F8F3EC;
  --cream-200: #EFE8DD;
  --cream-300: #E0D5C6;
  --gold-600: #B8922F;
  --gold-500: #D4A843;
  --gold-400: #E4BE66;

  /* Semantic */
  --bg-primary: var(--cream-50);
  --bg-dark: var(--navy-900);
  --bg-card: rgba(255, 255, 255, 0.65);
  --text-heading: #0A1628;
  --text-primary: #1A1A2E;
  --text-secondary: #555568;
  --text-light: #F8F3EC;
  --text-muted: rgba(248, 243, 236, 0.6);
  --accent: var(--teal-500);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --fs-display: clamp(2.8rem, 6vw, 5rem);
  --fs-h2: clamp(1.9rem, 3.8vw, 3rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: clamp(0.95rem, 1.15vw, 1.08rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.78rem;

  /* Spacing */
  --section-py: clamp(1.25rem, 2.5vw, 2rem);
  --container-max: 1200px;
  --container-px: clamp(1.25rem, 4vw, 2.5rem);

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-subtle: 0 1px 3px rgba(10, 22, 40, 0.04);
  --shadow-card: 0 4px 32px rgba(10, 22, 40, 0.06), 0 1px 4px rgba(10, 22, 40, 0.04);
  --shadow-card-hover: 0 16px 48px rgba(10, 22, 40, 0.1), 0 4px 12px rgba(10, 22, 40, 0.06);
  --shadow-elevated: 0 24px 64px rgba(10, 22, 40, 0.14);
  --shadow-glow-teal: 0 0 32px rgba(46, 196, 182, 0.2);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --glass-blur: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ---------- Keyframes ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleReveal {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(46, 196, 182, 0.15); }
  50%      { box-shadow: 0 0 40px rgba(46, 196, 182, 0.3); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes shimmer {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}

@keyframes pulseRing {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(46, 196, 182, 0.15); }
  50%      { border-color: rgba(46, 196, 182, 0.35); }
}

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

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.6) 75%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 0 rgba(46, 196, 182, 0.08), 0 4px 32px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav-brand img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid rgba(46, 196, 182, 0.25);
  transition: all var(--transition);
}

.navbar.scrolled .nav-brand img {
  height: 36px;
  width: 36px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-name {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.nav-brand-sub {
  font-size: 0.65rem;
  color: var(--teal-400);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: var(--fs-small);
  color: rgba(248, 243, 236, 0.8);
  font-weight: 500;
  letter-spacing: 0.015em;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  border-radius: 2px;
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400)) !important;
  color: var(--navy-900) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  transition: all var(--transition-fast) !important;
  box-shadow: 0 2px 12px rgba(46, 196, 182, 0.25);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(46, 196, 182, 0.4) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ================================================================
   HERO SECTION — Full-bleed cinematic
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 3.25rem;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(46, 196, 182, 0.12);
}

/* Background image + overlays */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.7);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(46, 196, 182, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(46, 196, 182, 0.06) 0%, transparent 60%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(5, 13, 26, 0.4) 0%,
    rgba(10, 22, 40, 0.25) 30%,
    rgba(10, 22, 40, 0.5) 65%,
    rgba(10, 22, 40, 0.92) 100%
  );
  z-index: 2;
}

/* Decorative geometric shapes */
.hero-decor {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.hero-decor .line {
  position: absolute;
  background: linear-gradient(180deg, rgba(46, 196, 182, 0.12) 0%, transparent 100%);
}

.hero-decor .line-1 {
  width: 1px;
  height: 200px;
  top: 0;
  left: 15%;
  animation: fadeUp 1.5s 0.3s both;
}

.hero-decor .line-2 {
  width: 1px;
  height: 300px;
  top: 0;
  right: 20%;
  animation: fadeUp 1.5s 0.5s both;
}

.hero-decor .line-3 {
  width: 1px;
  height: 150px;
  top: 0;
  left: 40%;
  animation: fadeUp 1.5s 0.7s both;
}

.hero-decor .circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(46, 196, 182, 0.08);
}

.hero-decor .circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: borderGlow 4s infinite;
}

.hero-decor .circle-2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: -80px;
  animation: borderGlow 4s 1s infinite;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 860px;
  width: 100%;
  margin: auto 0;
  padding: 0.5rem var(--container-px) 1.5rem;
}

.hero-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  animation: scaleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  border: 2px solid rgba(46, 196, 182, 0.25);
  box-shadow:
    0 0 0 6px rgba(46, 196, 182, 0.06),
    0 0 30px rgba(46, 196, 182, 0.12),
    0 0 60px rgba(10, 22, 40, 0.4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: rgba(46, 196, 182, 0.08);
  border: 1px solid rgba(46, 196, 182, 0.18);
  border-radius: 100px;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-400);
  font-weight: 600;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s 0.4s both;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-display);
  color: var(--text-light);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.8s 0.5s both;
  letter-spacing: -0.01em;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-200));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .accent-gold {
  color: var(--gold-400);
  -webkit-text-fill-color: var(--gold-400);
}

.hero-divider-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
  margin: 1.25rem auto 1.5rem;
  animation: fadeUp 0.7s 0.65s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
  animation: fadeUp 0.7s 0.75s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.9s both;
}



/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(46, 196, 182, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(46, 196, 182, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  border: 1.5px solid rgba(248, 243, 236, 0.2);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(46, 196, 182, 0.08);
  border-color: var(--teal-400);
  color: var(--teal-300);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(46, 196, 182, 0.15);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--text-light);
  box-shadow: var(--shadow-card);
}
.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #20BD5A);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.btn svg { font-size: 1.1em; flex-shrink: 0; }

/* ================================================================
   SECTION COMMON
   ================================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding: 0.35rem 1rem;
  background: rgba(46, 196, 182, 0.06);
  border-radius: 100px;
  border: 1px solid rgba(46, 196, 182, 0.12);
}

.section-label--light {
  color: var(--teal-400);
  background: rgba(46, 196, 182, 0.08);
  border-color: rgba(46, 196, 182, 0.18);
}

.section-label svg {
  width: 14px;
  height: 14px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.15rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 0.4rem;
  padding: 0.25rem 0.85rem;
  background: rgba(46, 196, 182, 0.06);
  border-radius: 100px;
  border: 1px solid rgba(46, 196, 182, 0.12);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
  line-height: 1.18;
}

.section-title--light { color: var(--text-light); }

.section-description {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
}
.section-description--light { color: var(--text-muted); }

.section-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  margin: 0.4rem auto 0.5rem;
  border-radius: 2px;
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
  position: relative;
}

/* subtle pattern overlay */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(46, 196, 182, 0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
  position: relative;
}

.about-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1.18;
}

.about-content h2 span {
  color: var(--teal-600);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.06), rgba(46, 196, 182, 0.02));
  border-left: 3px solid var(--teal-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  transition: all var(--transition);
}

.about-highlight:hover {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.04));
  transform: translateX(4px);
}

.about-highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.2);
}

.about-highlight p {
  margin: 0;
  font-weight: 500;
  color: var(--navy-700);
  line-height: 1.65;
}

/* Stats grid */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 196, 182, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-400), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(46, 196, 182, 0.2);
}

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

.stat-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.03));
  border-radius: var(--radius-md);
  margin: 0 auto 0.5rem;
  color: var(--teal-600);
  transition: all var(--transition);
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--navy-900);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.25);
}

.stat-card h4 {
  font-family: var(--ff-heading);
  font-size: 1rem;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.stat-card p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ================================================================
   PRACTICE AREAS (ÁREAS DE ATUAÇÃO)
   ================================================================ */
.areas {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  position: relative;
}

.areas-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
}

.areas-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.areas-intro .section-label {
  margin-bottom: 0.65rem;
}

.areas-intro .section-title {
  text-align: left;
  margin-bottom: 0.5rem;
}

.areas-intro .section-description {
  text-align: left;
  line-height: 1.6;
}

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

.area-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(46, 196, 182, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-300));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.area-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.06) 0%, transparent 70%);
  transition: all var(--transition);
  pointer-events: none;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(46, 196, 182, 0.2);
}

.area-card:hover::before { transform: scaleX(1); }
.area-card:hover::after { bottom: -30px; right: -30px; }

.area-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.03));
  border-radius: var(--radius-sm);
  margin-bottom: 0.55rem;
  color: var(--teal-600);
  transition: all var(--transition);
}

.area-card:hover .area-icon {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--navy-900);
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 14px rgba(46, 196, 182, 0.3);
}

.area-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.area-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

/* ================================================================
   SPECIALIZED UNITS (DARK)
   ================================================================ */
.nucleos {
  padding: var(--section-py) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

/* Subtle mesh gradient */
.nucleos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 0% 50%, rgba(46, 196, 182, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 30%, rgba(46, 196, 182, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* fine grid pattern */
.nucleos::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 196, 182, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.nucleos .container { position: relative; z-index: 1; }

.nucleos-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
}

.nucleos-text h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.18;
}

.nucleos-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.nucleos-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.nucleo-tag {
  padding: 0.55rem 1.15rem;
  background: rgba(46, 196, 182, 0.06);
  border: 1px solid rgba(46, 196, 182, 0.18);
  border-radius: 100px;
  color: var(--teal-400);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all var(--transition);
  cursor: default;
}

.nucleo-tag:hover {
  background: rgba(46, 196, 182, 0.14);
  border-color: var(--teal-400);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.12);
}

.nucleos-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nucleos-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(46, 196, 182, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.nucleos-feature:hover {
  background: rgba(46, 196, 182, 0.06);
  border-color: rgba(46, 196, 182, 0.2);
  transform: translateX(8px);
}

.nucleos-feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.2);
}

.nucleos-feature h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.nucleos-feature p {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  margin: 0;
  line-height: 1.55;
}

/* ================================================================
   BANKING LAW SECTION
   ================================================================ */
.bancario {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
  position: relative;
}

.bancario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
}

.bancario-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1.18;
}

.bancario-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.bancario-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.pillar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background: rgba(46, 196, 182, 0.05);
  border: 1px solid rgba(46, 196, 182, 0.1);
  border-radius: 100px;
  font-size: var(--fs-xs);
  color: var(--navy-700);
  font-weight: 600;
  transition: all var(--transition);
}

.pillar:hover {
  background: rgba(46, 196, 182, 0.1);
  border-color: var(--teal-500);
  transform: translateY(-2px);
}

.pillar svg { width: 14px; height: 14px; color: var(--teal-500); }

.bancario-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bancario-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(46, 196, 182, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.bancario-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal-500), var(--teal-300));
  opacity: 0;
  transition: opacity var(--transition);
}

.bancario-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(46, 196, 182, 0.18);
}

.bancario-item:hover::after { opacity: 1; }

.bancario-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(46, 196, 182, 0.03));
  border-radius: var(--radius-sm);
  color: var(--teal-600);
  transition: all var(--transition);
}

.bancario-item:hover .bancario-item-icon {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--navy-900);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.25);
}

.bancario-item h4 {
  font-size: 0.95rem;
  color: var(--navy-800);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.bancario-item p {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

/* ================================================================
   EMPRESARIAL SECTION
   ================================================================ */
.empresarial {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  position: relative;
}

.empresarial-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
}

.empresarial-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1.18;
}

.empresarial-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.empresarial-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.empresarial-feat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  color: var(--navy-800);
  font-size: var(--fs-body);
  padding: 0.5rem 0;
  transition: transform var(--transition-fast);
}

.empresarial-feat:hover { transform: translateX(6px); }

.empresarial-feat-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  border-radius: 50%;
  color: var(--navy-900);
  box-shadow: 0 3px 10px rgba(46, 196, 182, 0.25);
}

.empresarial-visual {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-850));
  border-radius: var(--radius-xl);
  padding: 1.85rem 1.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.empresarial-visual::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.empresarial-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300), var(--teal-500));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.empresarial-visual h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.empresarial-visual p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contato {
  padding: var(--section-py) 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(46, 196, 182, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 0%, rgba(46, 196, 182, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.contato .container { position: relative; z-index: 1; }

.contato-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 3vw, 3rem);
  align-items: start;
}

.contato-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--text-light);
  margin-bottom: 1rem;
}

.contato-content > p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.contato-item:hover {
  background: rgba(46, 196, 182, 0.04);
  border-color: rgba(46, 196, 182, 0.1);
  transform: translateX(6px);
}

.contato-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 182, 0.08);
  border: 1px solid rgba(46, 196, 182, 0.12);
  border-radius: var(--radius-md);
  color: var(--teal-400);
  transition: all var(--transition);
}

.contato-item:hover .contato-item-icon {
  background: var(--teal-500);
  color: var(--navy-900);
  border-color: var(--teal-500);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.25);
}

.contato-item-text span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.contato-item-text p {
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
}

.contato-item-text a {
  color: var(--teal-400);
  transition: color var(--transition-fast);
}
.contato-item-text a:hover { color: var(--teal-300); }

/* CTA card */
.contato-card {
  background: linear-gradient(145deg, rgba(46, 196, 182, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.contato-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-400), transparent);
}

.contato-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.contato-card p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contato-card .btn {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

.contato-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 196, 182, 0.06);
  border: 1px solid rgba(46, 196, 182, 0.12);
  border-radius: var(--radius-sm);
  color: var(--teal-400);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--teal-500);
  color: var(--navy-900);
  border-color: var(--teal-500);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(46, 196, 182, 0.3);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy-950);
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(46, 196, 182, 0.06);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(46, 196, 182, 0.2);
}

.footer-brand span {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-info {
  text-align: center;
  flex: 1;
}

.footer-info p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-oab {
  text-align: right;
}

.footer-oab span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--teal-400);
  font-weight: 700;
}

.footer-oab p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}

/* Footer bottom — credits */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(248, 243, 236, 0.35);
  margin: 0;
}

.footer-bottom a {
  color: var(--teal-400);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--teal-300);
}

/* ================================================================
   WHATSAPP FAB
   ================================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25D366, #20BD5A);
  border-radius: 50%;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.35);
  animation: pulseRing 2s ease-out infinite;
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;
  z-index: 999;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 50%;
  color: var(--teal-400);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal-500);
  color: var(--navy-900);
  border-color: var(--teal-500);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.3);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 968px) {
  .about-grid,
  .areas-layout,
  .nucleos-content,
  .bancario-grid,
  .empresarial-wrapper,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .areas-intro {
    text-align: center;
    align-items: center;
  }
  .areas-intro .section-title,
  .areas-intro .section-description {
    text-align: center;
  }
  .areas-intro .section-line {
    margin: 0.4rem auto 0.5rem !important;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nucleos-feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nucleos-feature {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-hamburger { display: flex; }

  .hero-logo { width: 90px; height: 90px; }

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

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

  .nucleos-feature { flex: 1 1 100%; }

  .empresarial-visual { padding: 2.25rem 1.75rem; }

  .contato-card { padding: 2.25rem 1.75rem; }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-oab { text-align: center; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nucleos-tags {
    justify-content: center;
  }
}
