/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0B0B0B;
  --graphite:#1A1A1A;
  --gold:    #C8A96A;
  --gold-lt: #DFC08A;
  --gold-dk: #9A7A45;
  --white:   #FFFFFF;
  --gray:    #7A7A7A;
  --gray-lt: #4A4A4A;
  --border:  rgba(200,169,106,0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 2px; }
::selection { background: rgba(200,169,106,0.25); color: var(--white); }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.font-cinzel   { font-family: 'Cinzel', serif; }
.font-playfair { font-family: 'Playfair Display', serif; }
.font-inter    { font-family: 'Inter', sans-serif; }

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.text-gold { color: var(--gold); }
.text-gray { color: var(--gray); }

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 120px 0; position: relative; }

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.divider-left {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 32px;
}

/* ============================================================
   NOISE TEXTURE OVERLAY
============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#navbar.scrolled {
  padding: 18px 0;
  background: rgba(11,11,11,0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 8px rgba(200,169,106,0.3));
}

.nav-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(200,169,106,0.4);
  padding: 10px 22px;
  border-radius: 2px;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  border-color: var(--gold) !important;
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--gold); }

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,106,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,106,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(200,169,106,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.hero-corner-tl { top: 80px; left: 60px; border-top: 1px solid rgba(200,169,106,0.3); border-left: 1px solid rgba(200,169,106,0.3); }
.hero-corner-tr { top: 80px; right: 60px; border-top: 1px solid rgba(200,169,106,0.3); border-right: 1px solid rgba(200,169,106,0.3); }
.hero-corner-bl { bottom: 80px; left: 60px; border-bottom: 1px solid rgba(200,169,106,0.3); border-left: 1px solid rgba(200,169,106,0.3); }
.hero-corner-br { bottom: 80px; right: 60px; border-bottom: 1px solid rgba(200,169,106,0.3); border-right: 1px solid rgba(200,169,106,0.3); }

/* FIX: Hero content fade-in via CSS animation — JS no longer needed */
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 40px;
  animation: heroFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(200,169,106,0.5);
}

.hero-logo-mark {
  width: 140px;
  height: 140px;
  margin: 0 auto 40px;
  mix-blend-mode: lighten;
  animation: heroLogoPulse 4s ease-in-out infinite;
}

@keyframes heroLogoPulse {
  0%, 100% { opacity: 0.92; }
  50%       { opacity: 1; }
}

.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  color: var(--white);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.05em;
  margin-bottom: 60px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 40px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,169,106,0.3); }
.btn-primary:hover::before { left: 100%; }

/* FIX: Disabled state for form submit button */
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ============================================================
   SECTION HEADERS
============================================================ */
/* FIX: Standardised .section-label — uses ::before pseudo only;
   inline <span> line elements removed from HTML. */
.section-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Centred variant — adds matching line after the text */
.section-label--center {
  justify-content: center;
  text-align: center;
}

.section-label--center::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.section-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
}

.section-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
  max-width: 560px;
}

/* ============================================================
   HORIZONTAL RULE
============================================================ */
.gold-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ============================================================
   SECTION: PROBLEMA
============================================================ */
#problema { background: var(--graphite); }

.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problema-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.problema-card {
  padding: 32px 36px;
  background: rgba(11,11,11,0.5);
  border-left: 2px solid transparent;
  transition: all 0.4s;
  position: relative;
}

.problema-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,106,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.problema-card:hover { border-left-color: var(--gold); }
.problema-card:hover::before { opacity: 1; }

.card-number {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
}

.card-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 10px;
}

.card-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================================
   SECTION: SOLUÇÃO
============================================================ */
#solucao {
  text-align: center;
  overflow: hidden;
}

.solucao-inner {
  max-width: 680px;
  margin: 0 auto;
}

.solucao-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.7;
  margin: 48px 0;
  padding: 0 20px;
  position: relative;
}

.solucao-quote::before {
  content: '"';
  font-size: 120px;
  color: rgba(200,169,106,0.08);
  position: absolute;
  top: -30px; left: -10px;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   SECTION: COMO ATUAMOS — PILARES
============================================================ */
#pilares { background: var(--graphite); }

.pilares-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pilar-card {
  padding: 48px 40px;
  background: rgba(11,11,11,0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.pilar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.pilar-card:hover::after { transform: scaleX(1); }

.pilar-card.featured {
  background: linear-gradient(145deg, rgba(200,169,106,0.08) 0%, rgba(11,11,11,0.8) 100%);
}

.pilar-card.featured::after { transform: scaleX(1); opacity: 0.6; }

.pilar-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
  opacity: 0.7;
}

.pilar-num {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.6;
}

.pilar-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.pilar-list { list-style: none; }

.pilar-list li {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pilar-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SECTION: DIFERENCIAL — ORBITAL
============================================================ */
#diferencial { overflow: hidden; }

.diferencial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.orbital-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.orbital-scene {
  position: relative;
  width: 360px;
  height: 360px;
}

.orbital-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200,169,106,0.06);
  border: 1px solid rgba(200,169,106,0.35);
  box-shadow:
    0 0 0 8px rgba(200,169,106,0.04),
    0 0 32px rgba(200,169,106,0.12);
}

/* Anel de brilho animado em volta do círculo central */
.orbital-center-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,106,0.15);
  animation: orbitRingPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.orbital-center-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: lighten;
  opacity: 0.95;
}

@keyframes orbitRingPulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.2); opacity: 0.15; }
}

/* Static rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(200,169,106,0.12);
  transform: translate(-50%, -50%);
}

.orbit-ring-1 { width: 160px; height: 160px; border-color: rgba(200,169,106,0.18); }
.orbit-ring-2 { width: 280px; height: 280px; }
.orbit-ring-3 { width: 360px; height: 360px; border-style: dashed; border-color: rgba(200,169,106,0.06); }

/* Spinning containers */
.orbit-path {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
}

.orbit-path-1 {
  width: 160px; height: 160px;
  animation: orbitSpin 18s linear infinite;
}

.orbit-path-2 {
  width: 280px; height: 280px;
  animation: orbitSpin 28s linear infinite reverse;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit node base */
.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--graphite);
  border: 1px solid var(--border);
  cursor: default;
  transition: border-color 0.3s, background 0.3s;
}

.orbit-node:hover {
  border-color: var(--gold);
  background: rgba(200,169,106,0.08);
}

.orbit-node:hover .orbit-node-label { color: var(--gold); }

/*
  Contra-rotação: o orbit-path gira, o nó contra-gira no mesmo ritmo
  → label sempre na posição ereta.
  orbit-path-1 gira CW  18s → nós CCW 18s
  orbit-path-2 gira CCW 28s (reverse) → nós CW 28s (reverse de CCW = CW)
*/
.orbit-path-1 .orbit-node { animation: nodeUpright 18s linear infinite; }
.orbit-path-2 .orbit-node { animation: nodeUpright 28s linear infinite reverse; }

@keyframes nodeUpright {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/*
  Posicionamento dentro do orbit-path (coordenadas relativas ao container).
  Fórmula: left = r + r·sin(θ) − 32 / top = r − r·cos(θ) − 32
  onde r = raio = metade da largura do orbit-path

  Anel interno  r=80  (orbit-path-1 160×160): θ = 0°, 120°, 240°
  Anel externo  r=140 (orbit-path-2 280×280): θ = 0°, 120°, 240°
*/

/* Anel interno */
.orbit-node--familia    { left:  48px; top: -32px; } /* θ=0°   */
.orbit-node--negocios   { left: 117px; top:  88px; } /* θ=120° */
.orbit-node--patrimonio { left: -21px; top:  88px; } /* θ=240° */

/* Anel externo */
.orbit-node--consultor  { left: 108px; top: -32px; } /* θ=0°   */
.orbit-node--contador   { left: 229px; top: 178px; } /* θ=120° */
.orbit-node--advogado   { left: -13px; top: 178px; } /* θ=240° */

.orbit-node-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  line-height: 1.3;
}

.orbit-node-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

/* ============================================================
   SECTION: ENTREGÁVEIS
============================================================ */
#entregaveis { background: var(--graphite); }

.entregaveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.entregavel-item {
  padding: 40px 36px;
  background: rgba(11,11,11,0.6);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}

.entregavel-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dk));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.entregavel-item:hover::before { transform: scaleX(1); }
.entregavel-item:hover { background: rgba(200,169,106,0.04); }

.entregavel-icon-wrap {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.entregavel-item:hover .entregavel-icon-wrap {
  border-color: rgba(200,169,106,0.4);
  background: rgba(200,169,106,0.06);
}

.entregavel-icon {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.entregavel-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 10px;
}

.entregavel-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================================
   SECTION: VISÃO BI
============================================================ */
#visao { position: relative; }

.bi-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.bi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2px;
}

.bi-card {
  padding: 36px;
  background: var(--graphite);
  position: relative;
  overflow: hidden;
}

.bi-card-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.bi-card-value {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.bi-card-delta {
  font-size: 12px;
  color: #5A9E6F;
  font-weight: 400;
}

.bi-card-delta.negative { color: #9E5A5A; }

.bi-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: 20px;
}

.bi-bar {
  flex: 1;
  background: rgba(200,169,106,0.2);
  border-radius: 1px;
  transition: background 0.3s;
}

.bi-bar.active { background: var(--gold); }

.bi-donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.bi-donut { width: 64px; height: 64px; flex-shrink: 0; }

.bi-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bi-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 300;
  color: var(--gray);
}

.bi-legend-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bi-sparkline { height: 48px; margin-top: 20px; }

/* ============================================================
   SECTION: PARA QUEM É
============================================================ */
#perfis { background: var(--graphite); }

.perfis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.perfil-card {
  padding: 52px 44px;
  background: rgba(11,11,11,0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.perfil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.perfil-card:hover::before { transform: scaleX(1); }

.perfil-icon-wrap {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.perfil-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.perfil-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
}

.perfil-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,106,0.25);
  padding: 6px 14px;
  border-radius: 1px;
}

/* ============================================================
   SECTION: POSICIONAMENTO
============================================================ */
#posicionamento {
  text-align: center;
  padding: 160px 0;
}

.pos-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.pos-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  line-height: 0.8;
  color: rgba(200,169,106,0.12);
  display: block;
  margin-bottom: 32px;
  font-style: italic;
}

.pos-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 40px;
}

.pos-title strong {
  font-style: normal;
  font-family: 'Cinzel', serif;
  color: var(--gold);
}

.pos-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* ============================================================
   SECTION: CTA FINAL
============================================================ */
#cta-final {
  background: var(--graphite);
  padding: 0;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.cta-left {
  padding: 100px 80px;
  background: linear-gradient(135deg, rgba(200,169,106,0.06) 0%, transparent 60%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}

.cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.cta-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 400px;
}

.cta-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
}

.trust-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Form */
.cta-right {
  padding: 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--white);
  transition: all 0.3s;
  outline: none;
  /* FIX: appearance reset for select on some browsers */
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200,169,106,0.4);
  background: rgba(200,169,106,0.03);
}

/* FIX: Error state reset when user corrects a field */
.form-group input.field-error { border-color: rgba(200, 80, 80, 0.5); }

.form-group select { cursor: pointer; }
.form-group select option { background: var(--graphite); color: var(--white); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-lt); }

.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 40px 24px;
}

.success-msg.visible { display: block; }

.success-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}

.success-body {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 48px; height: 48px;
  object-fit: contain;
  mix-blend-mode: lighten;
  opacity: 0.85;
}

.footer-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.9;
  max-width: 260px;
}

.footer-col-title {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: var(--gray-lt);
}

.footer-disc {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray-lt);
  max-width: 400px;
  text-align: right;
  line-height: 1.6;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  section { padding: 80px 0; }

  .problema-grid,
  .pilares-header,
  .diferencial-grid,
  .bi-header,
  .cta-wrapper { grid-template-columns: 1fr; }

  .pilares-grid,
  .entregaveis-grid,
  .perfis-grid { grid-template-columns: 1fr 1fr; }

  .cta-left,
  .cta-right { padding: 60px 40px; }

  .cta-left { border-right: none; border-bottom: 1px solid var(--border); }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .orbital-scene { width: 280px; height: 280px; }
  .orbit-ring-2 { width: 220px; height: 220px; }
  .orbit-path-2 { width: 220px; height: 220px; }

  /* Adjust outer node positions for smaller orbital */
  .orbit-node--consultor  { margin-top: -110px; }
  .orbit-node--contador   { margin-left: 78px; }
  .orbit-node--advogado   { margin-top: 46px; margin-left: -110px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-corner { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 24px; }

  .pilares-grid,
  .entregaveis-grid,
  .perfis-grid,
  .footer-inner { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-disc { text-align: center; }
}