/* ==========================================================================
   FELIPE ALCÂNTARA — CORRETOR DE IMÓVEIS (CRECI-ES 15.589-F)
   DESIGN SYSTEM AUTORAL DE ELITE • DOURADO OURO + AZUL ROYAL ELEGANTE
   100% RESPONSIVO, SEM TRAVAMENTO DE SCROLL, MOBILE-FIRST SOBERANO
   ========================================================================== */

/* 1. TOKENS DE DESIGN & VARIÁVEIS CSS */
:root {
  /* Fundo Global Contínuo Noturno */
  --bg-dark: #060a16;
  --bg-deep: #091024;
  --bg-surface: rgba(14, 23, 48, 0.75);
  --bg-surface-elevated: rgba(19, 31, 64, 0.88);
  --bg-card: rgba(16, 26, 54, 0.72);

  /* Dourado Ouro Nobre Metálico */
  --gold-primary: #d4af37;
  --gold-light: #fef08a;
  --gold-champagne: #fae8b2;
  --gold-dark: #a17812;
  --gold-gradient: linear-gradient(135deg, #fff7ed 0%, #fef08a 25%, #d4af37 60%, #996515 100%);
  --gold-gradient-btn: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #b48e28 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-subtle: rgba(212, 175, 55, 0.15);
  --gold-border: rgba(212, 175, 55, 0.3);

  /* Azul Royal Elegante */
  --blue-royal: #2563eb;
  --blue-light: #60a5fa;
  --blue-vibrant: #3b82f6;
  --blue-deep: #172554;
  --blue-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #60a5fa 100%);
  --blue-glow: rgba(37, 99, 235, 0.35);
  --blue-border: rgba(96, 165, 250, 0.28);

  /* Vidros, Arestas & Sombras */
  --glass-border: rgba(212, 175, 55, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --shadow-card: 0 20px 48px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --shadow-gold: 0 12px 32px -4px rgba(212, 175, 55, 0.4);

  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Textos */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8899ac;
  --text-gold: #fde047;

  /* Layout */
  --container-max: 1220px;
  --container-pad: 24px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --navbar-height: 72px;

  /* Transições */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s var(--ease-spring);
}

/* 2. RESET & BASE (SCROLL NATIVO LIVRE & FLUÍDO) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden !important;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden !important;
  width: 100%;
}

/* Canvas Three.js em Camada de Fundo Suave */
#webgl-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45; /* Sutil para não ofuscar textos ou fotos */
}

/* Iluminação de Atmosfera Contínua */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 20% 70%, rgba(37, 99, 235, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(212, 175, 55, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #060a16 0%, #091024 45%, #050812 100%);
}

#viewport-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden !important;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* 3. NAVBAR ELEGANTE */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(6, 10, 22, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s var(--ease-spring);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-cta-desktop {
  display: inline-flex;
}

/* Controles Mobile */
.mobile-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.btn-mobile-quick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient-btn);
  color: #060a16;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.btn-mobile-quick svg {
  width: 16px;
  height: 16px;
}

.btn-menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.menu-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-menu-toggle[aria-expanded="true"] .bar-1 {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--gold-primary);
}

.btn-menu-toggle[aria-expanded="true"] .bar-2 {
  opacity: 0;
}

.btn-menu-toggle[aria-expanded="true"] .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--gold-primary);
}

/* Drawer Fullscreen Mobile */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 10, 22, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
}

.mobile-drawer-link {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-drawer-link:hover,
.mobile-drawer-link:focus {
  color: var(--gold-primary);
  transform: translateX(6px);
}

.mobile-drawer-footer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  width: 100%;
  max-width: 320px;
}

.mobile-drawer-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

/* 4. BOTÕES CANÔNICOS & SHINY SWEEP GLOW */
.btn-primary-canon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient-btn);
  color: #060a16;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 30px -4px var(--gold-glow), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  z-index: 1;
}

.btn-primary-canon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px -4px var(--gold-glow), 0 0 25px rgba(212, 175, 55, 0.5);
}

.btn-primary-canon:active {
  transform: translateY(0) scale(0.99);
}

/* Feixe de Luz Diagonal (Shiny Sweep Glow) */
.btn-primary-canon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: transform 0.75s ease;
}

.btn-primary-canon:hover::after {
  transform: translateX(450%) rotate(25deg);
}

.btn-secondary-canon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  background: rgba(14, 23, 48, 0.7);
  border: 1px solid var(--blue-border);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
}

.btn-secondary-canon:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px var(--blue-glow);
}

/* 5. HERO SECTION MONUMENTAL */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + 52px);
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-prestige-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulseLight 2s infinite ease-in-out;
}

@keyframes pulseLight {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.3vw, 3.8rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-title .gold-accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Moldura Fotográfica com Rim-Light */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.portrait-aura-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(212, 175, 55, 0.18) 45%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.portrait-card-frame {
  position: relative;
  z-index: 2;
  width: 340px;
  max-width: 100%;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease-spring);
}

.portrait-card-frame:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--gold-primary);
}

.portrait-image-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(212, 175, 55, 0.45);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-authority-badge {
  position: absolute;
  bottom: -16px;
  right: -14px;
  background: rgba(6, 10, 22, 0.95);
  border: 1px solid var(--gold-primary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px var(--gold-glow);
  z-index: 3;
}

.badge-seal-icon {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.badge-text-bold {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.badge-text-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--gold-primary);
  font-weight: 600;
}

/* 6. BENDING MARQUEE (CURVA REAL COM SVG) */
.bending-marquee-section {
  position: relative;
  width: 100%;
  padding: 20px 0 30px;
  overflow: hidden;
  z-index: 5;
}

.bending-svg-track {
  width: 100%;
  height: 110px;
  overflow: visible;
  display: block;
}

.bending-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: #ffffff;
}

.bending-text tspan {
  fill: var(--gold-primary);
}

/* 7. SCROLL STACK — SERVIÇOS & ASSESSORIA */
.services-section {
  position: relative;
  padding: 90px 0;
  z-index: 3;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.scroll-stack-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.stack-card {
  position: sticky;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.stack-card:nth-child(1) { top: 96px; z-index: 1; }
.stack-card:nth-child(2) { top: 124px; z-index: 2; }
.stack-card:nth-child(3) { top: 152px; z-index: 3; }

.stack-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.75), 0 0 25px var(--gold-glow-subtle);
}

.service-prestige-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.stack-card-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.stack-card-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.stack-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.stack-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.stack-card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.stack-specs-panel {
  width: 100%;
  background: rgba(6, 10, 22, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.4);
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.spec-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.btn-card-action {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid var(--blue-border);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.btn-card-action:hover {
  background: var(--gold-gradient-btn);
  border-color: var(--gold-primary);
  color: #060a16;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-glow);
}

/* 8. LUZ PROGRESSIVA (NEON) — PROCESSO DE ATENDIMENTO */
.process-section {
  position: relative;
  padding: 90px 0;
  z-index: 3;
}

.progress-track-wrapper {
  position: relative;
  max-width: 860px;
  margin: 60px auto 0;
  padding-left: 56px;
}

.neon-vertical-rail {
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 20px;
  width: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.neon-vertical-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 14px var(--gold-primary);
  transition: height 0.15s linear;
}

.process-step {
  position: relative;
  margin-bottom: 52px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-node {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  z-index: 2;
}

.process-node::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.process-step.is-active .process-node {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
}

.process-step.is-active .process-node::after {
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-light);
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 30px 34px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-step.is-active .process-card {
  border-color: var(--gold-primary);
  transform: translateX(6px);
}

.process-step-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 9. HORÁRIOS & CANAL DE ATENDIMENTO */
.hours-section {
  position: relative;
  padding: 60px 0;
  z-index: 3;
}

.hours-card {
  background: linear-gradient(135deg, rgba(18, 29, 58, 0.8) 0%, rgba(9, 15, 30, 0.9) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hours-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hours-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(6, 10, 22, 0.65);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-day {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.schedule-time {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-primary);
}

.schedule-item.closed .schedule-time {
  color: var(--text-muted);
}

/* 10. FAQ ACORDEÃO (MANDATÓRIO) */
.faq-section {
  position: relative;
  padding: 90px 0;
  z-index: 3;
}

.faq-accordion-group {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.faq-item.is-open {
  border-color: var(--gold-primary);
  background: rgba(19, 31, 62, 0.85);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.35s var(--ease-spring);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-spring);
}

.faq-content-inner {
  padding: 0 28px 24px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 11. FINAL CONVERSION BANNER (CALL TO ACTION) */
.conversion-section {
  position: relative;
  padding: 100px 0 110px;
  z-index: 3;
  text-align: center;
}

.conversion-card-box {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.92) 0%, rgba(8, 12, 24, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(212, 175, 55, 0.15);
  overflow: hidden;
}

.conversion-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.conversion-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.conversion-text {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.conversion-actions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* 12. RODAPÉ OFICIAL (MANDATÓRIO) */
.footer-official {
  position: relative;
  z-index: 3;
  padding: 60px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #03050a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-creci-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--gold-primary);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 13. BOTÃO FLUTUANTE DE WHATSAPP (CONVERSÃO CONSTANTE 1-TAP) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold-gradient-btn);
  color: #060a16;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 30px var(--gold-glow);
}

.floating-whatsapp-btn svg {
  width: 30px;
  height: 30px;
}

/* 14. RESPONSIVIDADE TOTAL (320PX A 1920PX) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

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

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .stack-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 30px;
  }

  .hours-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

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

@media (max-width: 768px) {
  :root {
    --navbar-height: 56px;
    --container-pad: 18px;
  }

  .navbar {
    height: 56px !important;
  }

  .navbar-cta-desktop,
  .nav-menu-desktop {
    display: none !important;
  }

  .mobile-controls {
    display: flex !important;
  }

  .brand-logo-img {
    height: 34px;
  }

  .hero-section {
    padding-top: calc(56px + 24px);
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.18;
  }

  .portrait-card-frame {
    width: 270px;
  }

  .floating-authority-badge {
    bottom: -12px;
    right: -10px;
    padding: 8px 14px;
  }

  .badge-seal-icon {
    width: 20px;
    height: 20px;
  }

  .badge-text-bold {
    font-size: 0.72rem;
  }

  .badge-text-sub {
    font-size: 0.62rem;
  }

  .btn-primary-canon {
    width: 100%;
    padding: 16px 24px;
    font-size: 0.94rem;
  }

  .btn-secondary-canon {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .stack-card {
    position: relative !important;
    top: auto !important;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
  }

  .progress-track-wrapper {
    padding-left: 44px;
  }

  .neon-vertical-rail {
    left: 14px;
  }

  .process-node {
    left: -39px;
    width: 22px;
    height: 22px;
  }

  .process-card {
    padding: 22px 20px;
  }

  .conversion-card-box {
    padding: 44px 20px;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .btn-mobile-quick span {
    display: none;
  }

  .btn-mobile-quick {
    padding: 0 10px;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 16px;
  }
}

/* 15. REDUCED MOTION (ACESSIBILIDADE RIGOROSA CONFORME SHELL KYON) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .btn-primary-canon::after {
    display: none !important;
  }

  #webgl-canvas-container {
    display: none !important;
  }
}
