/* ==========================================================================
   ÓRBIA ESTÉTICA & SPA — STYLESHEET PRINCIPAL
   Design Editorial de Luxo, Microinterações & Diretrizes Avançadas de Scroll
   ========================================================================== */

/* 1. RESET E VARIÁVEIS CSS */
:root {
  --color-olive-dark: #1E2B1E;
  --color-olive-hover: #152015;
  --color-olive-deep: #162116;
  --color-champagne: #F5EFEB;
  --color-champagne-light: #FAF7F2;
  --color-gold: #C5A059;
  --color-gold-light: #E5C384;
  --color-gold-dark: #9E7D3B;
  --color-nude: #FAF8F5;
  --color-nude-dark: #F2ECE4;
  --color-charcoal: #2A2A2A;
  --color-charcoal-muted: #555555;
  --color-white: #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-raleway: 'Raleway', -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --shadow-editorial: 0 20px 40px -15px rgba(30, 43, 30, 0.08);
  --shadow-card: 0 10px 30px -10px rgba(30, 43, 30, 0.06);
  --shadow-gold: 0 10px 25px -5px rgba(197, 160, 89, 0.35);
  --shadow-gold-hover: 0 15px 35px -5px rgba(197, 160, 89, 0.5);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-nude);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 2. TIPOGRAFIA */
.font-serif { font-family: var(--font-serif); }
.font-raleway { font-family: var(--font-raleway); }
.font-sans { font-family: var(--font-sans); }

/* 3. CORES & UTILIDADES BÁSICAS */
.bg-olive-dark { background-color: var(--color-olive-dark); }
.hover\:bg-olive-hover:hover { background-color: var(--color-olive-hover); }
.bg-nude { background-color: var(--color-nude); }
.bg-champagne { background-color: var(--color-champagne); }
.bg-white { background-color: var(--color-white); }
.text-olive-dark { color: var(--color-olive-dark); }
.text-gold { color: var(--color-gold); }
.text-champagne { color: var(--color-champagne); }
.text-charcoal { color: var(--color-charcoal); }
.text-white { color: var(--color-white); }
.border-gold\/15 { border-color: rgba(197, 160, 89, 0.15); }
.border-gold\/20 { border-color: rgba(197, 160, 89, 0.20); }
.border-gold\/25 { border-color: rgba(197, 160, 89, 0.25); }
.border-gold\/30 { border-color: rgba(197, 160, 89, 0.30); }
.border-gold\/40 { border-color: rgba(197, 160, 89, 0.40); }

.bg-gold-gradient {
  background: linear-gradient(135deg, #DDBF7A 0%, #C5A059 50%, #B38E46 100%);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}
.shadow-gold-hover:hover {
  box-shadow: var(--shadow-gold-hover);
}
.shadow-editorial {
  box-shadow: var(--shadow-editorial);
}
.shadow-card {
  box-shadow: var(--shadow-card);
}

/* BOTÃO CTA HERO — ALTO DESTAQUE, OURO RADIANTE & ALTA CONVERSÃO */
.btn-hero-cta {
  background: linear-gradient(135deg, #FFF0B8 0%, #F5CE62 25%, #D4A738 70%, #A8791C 100%);
  color: #121E12 !important;
  border: 2px solid #FFF5D0;
  box-shadow: 0 14px 35px -4px rgba(180, 130, 25, 0.55), 0 6px 16px rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-hero-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: rotate(25deg);
  animation: cta-shimmer 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes cta-shimmer {
  0% { left: -60%; }
  22% { left: 140%; }
  100% { left: 140%; }
}

.btn-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #FFFFFF 0%, #F8D878 25%, #E0B545 70%, #B88522 100%);
  box-shadow: 0 22px 50px -4px rgba(180, 130, 25, 0.75), 0 8px 22px rgba(0, 0, 0, 0.18), inset 0 1px 3px rgba(255, 255, 255, 1);
}

.btn-hero-cta:active {
  transform: translateY(-1px) scale(0.99);
}

/* 4. HEADER & NAVEGAÇÃO */
#site-header {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
  background-color: rgba(250, 248, 245, 0.95);
  border-bottom-color: rgba(197, 160, 89, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* No mobile, o header possui fundo translúcido suave garantindo contraste total ao logotipo dourado */
@media (max-width: 1024px) {
  #site-header {
    background-color: rgba(250, 248, 245, 0.95) !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

.logo-img {
  filter: drop-shadow(0 2px 5px rgba(30, 43, 30, 0.3));
}

.nav-link {
  position: relative;
  padding: 4px 0;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-link:hover::after {
  width: 100%;
}

/* 5. HERO & PARALLAX */
#hero {
  min-height: 100vh;
  min-height: 100svh;
}

#hero-parallax-bg {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* 6. MARQUEE INFINITO (35s Ciclo Contínuo) */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  pointer-events: none;
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-33.3333%, 0, 0);
  }
}

/* 7. PROCEDIMENTOS ASSINATURA — STACK SCROLL */
.stack-scroll-section {
  position: relative;
}

.stack-container {
  position: relative;
}

.stack-panel {
  will-change: transform, opacity, filter;
  transform-origin: center top;
}

/* 8. PROTOCOLOS PERSONALIZADOS — STACKING CARDS */
.stacking-cards-section {
  position: relative;
}

.method-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(197, 160, 89, 0.2);
}

/* 9. OUTROS TRATAMENTOS — HORIZONTAL SCROLL */
.horizontal-track::-webkit-scrollbar {
  height: 6px;
}
.horizontal-track::-webkit-scrollbar-track {
  background: rgba(197, 160, 89, 0.1);
  border-radius: 10px;
}
.horizontal-track::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 10px;
}

.treatment-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 10. SOBRE SHEILA MUNHOZ — STICKY SCROLL */
.sticky-author-section {
  position: relative;
}

.sticky-step {
  transition: all 0.4s ease;
  opacity: 0.55;
  transform: scale(0.98);
}

.sticky-step.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 10px 30px -10px rgba(197, 160, 89, 0.18);
}

/* 11. SCROLL REVEAL (Resultados & Depoimentos) */
.reveal-card {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 12. SCROLLYTELLING — EXPERIÊNCIA ÓRBIA */
.scene-step {
  transition: all 0.5s ease;
  opacity: 0.35;
  transform: translateY(15px);
}

.scene-step.active {
  opacity: 1;
  transform: translateY(0);
}

.scene-image {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s ease;
}

/* 13. INSTAGRAM FEED */
.insta-item {
  transition: transform 0.3s ease;
}
.insta-item:hover {
  transform: translateY(-4px);
}

/* 14. ACCORDION FAQ */
.faq-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.active {
  border-color: var(--color-gold);
  box-shadow: 0 8px 25px -8px rgba(197, 160, 89, 0.15);
}

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

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

/* 15. ACESSIBILIDADE — PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
  }

  #hero-parallax-bg {
    transform: none !important;
  }

  .stack-panel, .method-card, .reveal-card, .scene-step, .scene-image {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 16. REGRAS RESPONSIVAS ADICIONAIS */
@media (max-width: 1024px) {
  .stack-panel {
    position: static !important;
    min-height: auto !important;
    margin-bottom: 2rem !important;
  }
  
  .method-card {
    position: static !important;
    margin-bottom: 1.5rem !important;
  }

  .scene-step {
    opacity: 1 !important;
    transform: none !important;
  }
}
