/* ==========================================================================
   DAVID VIANA — CORRETOR DE IMÓVEIS (RIVIERA DE SÃO LOURENÇO)
   SHELL CANÔNICO KYON DIGITAL (RÉGUA B) • TOKENS OURO & PRETO [v2 PERFORMANCE]
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTES SELF-HOSTED (LATIN SUBSET: INTER 400 E 600 - ZERO CDN)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS (PRETO PREMIUM & OURO BRILHANTE)
   -------------------------------------------------------------------------- */
:root {
  /* Campos Escuros Contínuos */
  --bg-field: #050608;
  --bg-surface: #0a0c10;
  --bg-surface-elevated: #10131a;

  /* Família Ouro Nobre */
  --gold-light: #f6e297;
  --gold-primary: #d4af37;
  --gold-deep: #96761f;
  --gold-muted: #6e5414;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-intense: rgba(212, 175, 55, 0.52);

  /* Vidro Dourado Kyon (Face, Borda, Sombra Interna) */
  --glass-face: linear-gradient(135deg, rgba(16, 18, 25, 0.72) 0%, rgba(9, 10, 15, 0.8) 100%);
  --glass-face-hover: linear-gradient(135deg, rgba(22, 25, 36, 0.78) 0%, rgba(13, 15, 22, 0.86) 100%);
  --glass-border: rgba(212, 175, 55, 0.22);
  --glass-border-hover: rgba(246, 226, 151, 0.45);
  --glass-inner-shadow: inset 0 1px 0 rgba(246, 226, 151, 0.22),
                        inset 0 28px 48px rgba(212, 175, 55, 0.05),
                        0 24px 48px rgba(0, 0, 0, 0.65);

  /* Tipografia & Contraste */
  --text-primary: #ffffff;
  --text-secondary: #c9c7bf;
  --text-muted: #8e8c85;

  /* Raios Canônicos Kyon */
  --radius-xl: 34px;
  --radius-lg: 29px;
  --radius-md: 22px;
  --radius-sm: 20px;
  --radius-pill: 9999px;

  /* Container */
  --container-max: 1240px;
  --easing-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   3. RESET & REGRAS GLOBAIS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-field);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden !important;
}

body.site-body {
  position: relative;
  background: var(--bg-field);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Acessibilidade: Foco Visível com Alto Contraste */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* Container Mestre */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   4. AMBIENTE & COSTURAS CONTÍNUAS ("SITE 1 SÓ" - SEM FILTER BLUR PESADO)
   -------------------------------------------------------------------------- */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden !important;
  contain: strict;
  transform: translateZ(0);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(0);
}

.glow-top {
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.12) 35%, transparent 70%);
}

.glow-mid {
  top: 45%;
  left: -200px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(150, 118, 31, 0.24) 0%, rgba(150, 118, 31, 0.08) 35%, transparent 70%);
}

.glow-bottom {
  bottom: -150px;
  right: 15%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 40%, transparent 70%);
}

.seam-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3) 30%, rgba(246, 226, 151, 0.45) 50%, rgba(212, 175, 55, 0.3) 70%, transparent);
  margin: 0;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   5. COMPONENTES: BOTÃO CANÔNICO KYON (COM TRANSFORM, ZERO REPAINT LOOP)
   -------------------------------------------------------------------------- */
.bt-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: -0.2px;
  color: #0b0c0e;
  border-radius: var(--radius-pill);
  min-height: 48px;
  max-width: 100%;
  background: linear-gradient(90deg, #d4af37 0%, #f6e297 45%, #aa7c11 100%);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.25s var(--easing-luxury), box-shadow 0.25s var(--easing-luxury);
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  text-decoration: none;
  transform: translateZ(0);
}

/* Anel Mascarado de 2px via ::before */
.bt-gold::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(-35deg, rgba(255, 240, 180, 0.95), transparent 45%, transparent 55%, rgba(212, 175, 55, 0.9));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Shiny Sweep via transform (GPU Composited, sem repaint) */
.bt-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translate3d(-150%, 0, 0) rotate(25deg);
  animation: shinySweepTransform 7s ease-in-out infinite;
  pointer-events: none;
}

.bt-gold:hover {
  transform: scale(1.01);
  box-shadow: 0 14px 38px rgba(212, 175, 55, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bt-gold:active {
  transform: scale(0.99);
}

.bt-text {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.bt-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.bt-gold:hover .bt-icon {
  transform: translateX(3px);
}

@keyframes shinySweepTransform {
  0%, 70% { transform: translate3d(-150%, 0, 0) rotate(25deg); }
  100% { transform: translate3d(350%, 0, 0) rotate(25deg); }
}

/* --------------------------------------------------------------------------
   6. CARDS DE VIDRO DOURADO KYON (PINTURA ISOLADA, MÁXIMA FLUIDEZ)
   -------------------------------------------------------------------------- */
.glass-card {
  position: relative;
  background: var(--glass-face);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-inner-shadow);
  padding: 32px;
  transition: transform 0.35s var(--easing-luxury),
              border-color 0.35s var(--easing-luxury),
              background 0.35s var(--easing-luxury),
              box-shadow 0.35s var(--easing-luxury);
  overflow: hidden;
  contain: paint;
  transform: translateZ(0);
}

.glass-card:hover {
  background: var(--glass-face-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(246, 226, 151, 0.35),
              inset 0 32px 56px rgba(212, 175, 55, 0.08),
              0 28px 56px rgba(0, 0, 0, 0.75);
}

/* --------------------------------------------------------------------------
   7. BLOCO 1: NAVBAR (COM BACKDROP-FILTER NATIVO)
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: background 0.3s ease;
  transform: translateZ(0);
}

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

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--text-primary);
}

.brand-creci {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.nav-desktop {
  display: block;
}

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

.nav-item {
  font-size: 0.925rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 0;
}

.nav-item:hover {
  color: var(--gold-light);
}

.bt-nav {
  padding: 12px 24px;
  font-size: 0.875rem;
  min-height: 44px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold-light);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-drawer {
  display: none;
}

/* --------------------------------------------------------------------------
   8. BLOCO 2: HERO MONUMENTAL
   -------------------------------------------------------------------------- */
.section-hero {
  position: relative;
  z-index: 10;
  padding-top: 150px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 190px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  max-width: 100%;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-primary);
}

.badge-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--gold-light);
}

.hero-display {
  font-size: 58px;
  line-height: 1.2;
  letter-spacing: -1.6px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 22px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-support {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  margin-bottom: 32px;
}

.bt-hero {
  padding: 20px 40px;
  font-size: 1.05rem;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.meta-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
}

.meta-separator {
  color: var(--gold-muted);
}

.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(246, 226, 151, 0.25);
  background: #090b0f;
  transform: translateZ(0);
}

.media-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: contrast(1.02);
}

.media-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.media-rim-light {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.22);
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   9. SEÇÕES GLOBAIS E CABEÇALHOS
   -------------------------------------------------------------------------- */
.section-block {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.section-header {
  text-align: left;
  margin-bottom: 56px;
  max-width: 760px;
}

.section-title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1.6px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
}

.section-microcopy {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   10. BLOCO 4: CONVERSÃO (GUIA POR INTENÇÃO)
   -------------------------------------------------------------------------- */
.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.intent-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text-primary);
  min-height: 280px;
}

.intent-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.intent-title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.intent-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.intent-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: gap 0.2s ease;
}

.intent-card:hover .intent-action {
  gap: 12px;
}

/* --------------------------------------------------------------------------
   11. BLOCO 5: DIFERENCIAIS (3 CAPACIDADES OFICIAIS)
   -------------------------------------------------------------------------- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cap-card {
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.cap-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cap-num {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.cap-title {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 600;
  color: var(--text-primary);
  flex-grow: 1;
  margin-left: 12px;
}

.cap-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.cap-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   12. BLOCO 6: LUZ PROGRESSIVA (TRILHO COM GPU SCALE-Y & PULSE COM TRANSFORM)
   -------------------------------------------------------------------------- */
.rail-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.rail-line {
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: rgba(212, 175, 55, 0.15);
  z-index: 1;
}

.rail-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: top center;
  transform: scaleY(0);
  will-change: transform;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-primary));
  box-shadow: 0 0 12px var(--gold-primary);
}

.rail-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.rail-node {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  transition: opacity 0.4s ease;
}

.node-indicator {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #090a0e;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.rail-node.active .node-indicator {
  border-color: var(--gold-light);
  box-shadow: 0 0 24px var(--gold-glow);
}

.node-dot {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
}

.rail-node.active .node-dot {
  background: rgba(212, 175, 55, 0.2);
}

.node-index {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.rail-node.active .node-index {
  color: var(--gold-light);
}

/* Pulsação do Terceiro Nó via transform/opacity (Zero Repaint) */
.pulse-active {
  position: relative;
}

.pulse-active::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.85);
  background: rgba(212, 175, 55, 0.15);
  transform: scale(0.9);
  opacity: 0.9;
  animation: nodePulseTransform 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes nodePulseTransform {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.node-box {
  flex-grow: 1;
  padding: 26px 30px;
  border-radius: var(--radius-md);
}

.node-title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.node-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   13. BLOCO 7: SÉRIE DE RECURSOS (4 BLOCOS)
   -------------------------------------------------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.resource-card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.resource-title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.8px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.resource-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.resource-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.resource-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
}

.resource-bullets svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. BLOCO 10: CTA FINAL COM BOTÃO CANÔNICO OURO
   -------------------------------------------------------------------------- */
.section-cta {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.cta-box {
  position: relative;
  text-align: center;
  padding: 72px 32px;
  border-radius: var(--radius-xl);
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 1px 0 rgba(246, 226, 151, 0.3),
              inset 0 32px 64px rgba(212, 175, 55, 0.08),
              0 32px 64px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.cta-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 480px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1.6px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-summary {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

.cta-button-wrap {
  margin-bottom: 24px;
}

.bt-cta-large {
  padding: 22px 48px;
  font-size: 1.05rem;
}

.cta-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. BLOCO 11: FAQ ACORDEÃO ACESSÍVEL
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 900px;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  min-height: 48px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--gold-light);
  background-color: rgba(212, 175, 55, 0.04);
}

.trigger-icon {
  color: var(--gold-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--easing-luxury);
}

.accordion-trigger[aria-expanded="true"] .trigger-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.accordion-panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   16. BLOCO 12: RODAPÉ CANÔNICO
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 10;
  background: #040507;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 64px 0 36px;
}

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

.footer-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.footer-loc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.contact-val {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  transition: opacity 0.2s ease;
}

.contact-val:hover {
  opacity: 0.8;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   17. MOTION DO SHELL & ENTRADAS ONE-SHOT (GSAP FALLBACK)
   -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVIDADE E BREAKPOINTS (MOBILE-FIRST RIGOROSO)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-display {
    font-size: 46px;
    letter-spacing: -1.2px;
  }

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

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

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

@media (max-width: 768px) {
  .navbar-container {
    height: 72px;
  }

  .nav-desktop,
  .nav-action .bt-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Gaveta Mobile */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(5, 6, 8, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 32px 24px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--easing-luxury), visibility 0.35s ease;
    z-index: 99;
    overflow-y: auto;
  }

  .mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }

  .mobile-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .bt-full {
    width: 100%;
  }

  /* Hero no Mobile */
  .section-hero {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-display {
    font-size: 34px;
    line-height: 1.22;
    letter-spacing: -1px;
    word-break: break-word;
  }

  .hero-support {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-actions {
    width: 100%;
  }

  .bt-hero, .bt-cta-large {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .bt-text {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .media-frame {
    max-width: 100%;
  }

  .section-title {
    font-size: 30px;
    letter-spacing: -1px;
    word-break: break-word;
  }

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

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

  .rail-line {
    left: 20px;
  }

  .rail-node {
    gap: 20px;
  }

  .node-indicator {
    width: 44px;
    height: 44px;
  }

  .node-index {
    font-size: 0.85rem;
  }

  .node-box {
    padding: 20px 22px;
  }

  .cta-box {
    padding: 48px 20px;
  }

  .cta-title {
    font-size: 30px;
    letter-spacing: -1px;
  }

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

/* Telas Extremamente Pequenas (320px - 360px) */
@media (max-width: 360px) {
  .hero-display {
    font-size: 28px;
  }

  .bt-hero, .bt-cta-large {
    padding: 14px 18px;
    font-size: 0.875rem;
  }

  .site-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --------------------------------------------------------------------------
   19. REDUCED MOTION (SEM HACKS DE 0.001MS, ESTADO ESTÁTICO E BONITO)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .bt-gold {
    background: linear-gradient(90deg, #d4af37, #f6e297, #aa7c11) !important;
  }

  .bt-gold::after {
    display: none !important;
  }

  .pulse-active::after {
    display: none !important;
  }

  .rail-progress {
    transform: scaleY(1) !important;
  }

  .rail-node {
    opacity: 1 !important;
  }

  .rail-node .node-indicator {
    border-color: var(--gold-light) !important;
    box-shadow: 0 0 16px var(--gold-glow) !important;
  }

  .rail-node .node-index {
    color: var(--gold-light) !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
