/* ==========================================================================
   Luiz Fernando Carvalho · Identidade de Mercado
   Estilos refinados, contraste AA e micro-interações 3D de alto impacto
   ========================================================================== */

:root {
  --color-bg: #0A0A0A;
  --color-surface: #141414;
  --color-surface-hover: #1c1c1c;
  --color-gold: #C9A961;
  --color-gold-hover: #dbbe76;
  --color-gold-border: rgba(201, 169, 97, 0.25);
  --color-text-main: #F2EEE6;
  --color-text-secondary: #C9C3B6;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  position: relative;
  font-size: 1rem; /* 16px mínimo */
}

/* Tipografia */
.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Kicker estilo editorial (mínimo 14px) */
.kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* Botão Principal com brilho e micro-profundidade */
.btn-gold {
  background-color: var(--color-gold);
  color: #0A0A0A;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 9999px;
  padding: 1rem 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 25px rgba(201, 169, 97, 0.3);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 40px rgba(201, 169, 97, 0.5);
}

.btn-gold:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 2px 10px rgba(201, 169, 97, 0.2);
}

/* Botão Secundário / Delineado */
.btn-outline-gold {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-gold-border);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-gold:hover {
  border-color: var(--color-gold);
  color: #ffffff;
  background-color: rgba(201, 169, 97, 0.12);
  transform: translateY(-1px);
}

/* Divisores dourados sutis */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 169, 97, 0.35) 50%, transparent 100%);
  width: 100%;
}

/* ==========================================================================
   CARDS COM TILT 3D E REFLEXO DINÂMICO DE ALTO IMPACTO
   ========================================================================== */
.surface-card {
  background-color: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Reflexo metálico de luz dourada que segue o cursor com nitidez */
.surface-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 169, 97, 0.32),
    rgba(201, 169, 97, 0.08) 35%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 10;
  mix-blend-mode: screen;
}

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

.surface-card:hover {
  border-color: rgba(201, 169, 97, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(201, 169, 97, 0.18);
}

/* Os textos e elementos dentro do card flutuam em 3D */
.surface-card > * {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.surface-card:hover > * {
  transform: translateZ(18px);
}

/* Canvas de Partículas 3D do Hero */
#hero-canvas-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Animações de Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para elementos em grid */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Acordeão */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-bottom-color: var(--color-gold-border);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Linha do tempo (Seção 4) */
@media (min-width: 768px) {
  .timeline-track {
    position: relative;
  }
  .timeline-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 169, 97, 0.2) 0%, rgba(201, 169, 97, 0.6) 50%, rgba(201, 169, 97, 0.2) 100%);
    z-index: 0;
  }
}

.timeline-step:hover .timeline-number {
  border-color: #ffffff;
  background-color: #1e1e1e;
  transform: scale(1.1) translateZ(12px);
  box-shadow: 0 0 25px rgba(201, 169, 97, 0.45);
}

.timeline-number {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Botão Flutuante Mobile (Circular compacto) */
#whatsapp-flutuante {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(201, 169, 97, 0.4);
  z-index: 50;
}
