@layer base {
  html, body { margin: 0; padding: 0; }
  body { overscroll-behavior: none; }
  main > :first-child { margin-top: 0 !important; }
  main > :last-child { margin-bottom: 0 !important; }
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(19, 42, 36, .28); border-radius: 999px; }

/* Refinamentos de experiência: contraste, leitura e desempenho */
:root { --ink: #132a24; }
body { color: var(--ink); -webkit-font-smoothing: antialiased; }
#energy-canvas { display: none; }
.first-step-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(169, 103, 62, .22);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,.76), rgba(247,239,230,.82));
  box-shadow: 0 18px 48px -28px rgba(19,42,36,.28);
}
.first-step-card::before {
  content: "✦";
  position: absolute;
  top: 1.25rem;
  left: 50%;
  color: #a9673e;
  font-size: .9rem;
  transform: translateX(-50%);
}
.first-step-kicker { color: #875126; letter-spacing: .16em; }
.first-step-title { margin: .75rem auto 2.25rem; }
.first-step-copy {
  max-width: 58ch;
  margin: 0 auto;
  color: #344b44;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal !important;
  line-height: 1.625;
  letter-spacing: normal;
  text-align: center;
}
.first-step-copy p { margin: 0; }
.first-step-copy p + p { margin-top: 1.15rem; }
.first-step-copy p:first-child,
.first-step-copy p:last-child { color: inherit; font-size: inherit; font-weight: inherit; }
.dimension-card img, .hero-couple-anchor img {
  filter: saturate(.86) contrast(.98) sepia(.06);
}
.dimension-card:hover img, .hero-couple-anchor:hover img { filter: saturate(1) contrast(1.02) sepia(.02); }
#as-3-dimensoes { background: #f9f5ed; }
#valores { background: #fbfaf7; }
#faq { background: #f6f3ec; }
#primeiro-passo { background: #00150f; }
#primeiro-passo .first-step-card {
  border-color: rgba(255, 183, 131, .28);
  background: radial-gradient(circle at top right, rgba(185,123,76,.18), transparent 42%), rgba(19,42,36,.66);
  box-shadow: 0 22px 52px -26px rgba(0,0,0,.7);
}
#primeiro-passo .first-step-title,
#primeiro-passo .first-step-copy,
#primeiro-passo .first-step-copy p,
#primeiro-passo .first-step-copy p:first-child,
#primeiro-passo .first-step-copy p:last-child { color: #f3f0e9 !important; }
#primeiro-passo .first-step-kicker { color: #ffb783; }
#primeiro-passo .first-step-card::before { color: #ffb783; }
#primeiro-passo .btn-interactive { background: #b97b4c; color: #fff; box-shadow: 0 12px 28px -10px rgba(185,123,76,.55); }
#primeiro-passo .btn-interactive:hover { background: #d18b58; }
#primeiro-passo .font-label-sm.text-on-surface-variant { color: #b6cbc2; }
#como-funciona { background: #00150f; }
#como-funciona .text-primary { color: #f3f0e9 !important; }
#como-funciona .text-on-surface-variant,
#como-funciona .text-on-surface { color: #d2e8dd !important; }
#como-funciona .ferida-copy { color: #D8CCB6 !important; }
#como-funciona .ferida-copy strong { color: #D8CCB6 !important; }
#como-funciona .font-label-sm.text-secondary { color: #ffb783 !important; }
#como-funciona .bg-surface,
#como-funciona .bg-surface-container {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,183,131,.18) !important;
  box-shadow: none !important;
}
#como-funciona .bg-secondary\/15,
#como-funciona .bg-surface-container-high { background: rgba(255,183,131,.14) !important; }
#como-funciona .text-secondary { color: #ffb783 !important; }
#como-funciona .light-beam-reactive:hover { border-color: rgba(255,183,131,.45) !important; }
#como-funciona .pain-summary-card,
#como-funciona .pain-summary-card p,
#como-funciona .pain-summary-card strong { color: #fff !important; }
#fechamento-etico { background: #132A24; }
#fechamento-etico .ethical-card {
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(216,204,182,.24) !important;
  box-shadow: 0 16px 34px -24px rgba(0,0,0,.65) !important;
}
#fechamento-etico .ethical-lead { color: #F6F1E8 !important; }
#fechamento-etico .ethical-accent { color: #D8CCB6 !important; }
#fechamento-etico .ethical-label { color: #FFB783 !important; }
#fechamento-etico .ethical-body { color: #D2E8DD !important; }
@media (max-width: 767px) { .first-step-card { border-radius: 1rem; } }
.font-headline-lg, .font-headline-sm, .font-display { text-wrap: balance; }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible { outline: 3px solid #c88755; outline-offset: 4px; }
header { border-bottom: 1px solid rgba(19,42,36,.08); }
header a { min-height: 44px; display: inline-flex; align-items: center; }
.btn-interactive { min-height: 48px; justify-content: center; letter-spacing: .045em; }
.dimension-card { box-shadow: 0 4px 20px -2px rgba(19,42,36,.04), 0 16px 36px -4px rgba(19,42,36,.07); }
.dimension-card:hover { box-shadow: 0 8px 28px -4px rgba(19,42,36,.13), 0 18px 44px -8px rgba(19,42,36,.12); }
.faq-answer { transition-duration: .28s; }
@media (max-width: 767px) {
  header .h-20 { height: 4.5rem; }
  main { padding-top: 4.5rem !important; }
  #hero-section { padding-top: .75rem; padding-bottom: 1rem; }
  #como-funciona { padding-top: 1.75rem; }
  #hero-section h1 {
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
    font-size: 2rem;
    line-height: 1.14;
    letter-spacing: -.02em;
    text-align: center;
    text-wrap: balance;
  }
  #hero-section .block.lg\:hidden { margin-top: .5rem; margin-bottom: .5rem; }
  .font-headline-lg { line-height: 1.12; }
  .dimension-card:hover { transform: none; }
}
@media (min-width: 1024px) {
  #hero-section { padding-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-glow-pulse, .animate-aura, .animate-float, .animate-marquee-smooth { animation: none !important; }
}

/* Custom Animations & Interactions */
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee-smooth {
  display: flex;
  width: max-content;
  animation: marqueeLeft 32s linear infinite;
  will-change: transform;
}
.animate-marquee-smooth:hover {
  animation-play-state: paused;
}

@keyframes pulseRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 183, 131, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 183, 131, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 131, 0);
  }
}

.btn-glow-pulse {
  animation: pulseRipple 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gentleAura {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.06);
  }
}
.animate-aura {
  animation: gentleAura 6s ease-in-out infinite;
}

@keyframes floatSubtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.animate-float {
  animation: floatSubtle 5s ease-in-out infinite;
}

/* Scroll reveal helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tilt and sheen highlight */
.dimension-card {
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.dimension-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transition: left 0.75s ease;
  pointer-events: none;
}
.dimension-card:hover::before {
  left: 120%;
}
.dimension-card:hover {
  transform: translateY(-5px);
}

/* Interactive Accordion Transitions */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-answer.open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-answer > div {
  overflow: hidden;
}

/* Interactive Story Drawer Transition */
.story-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin-top 0.3s ease;
}
.story-drawer.expanded {
  max-height: 900px;
  opacity: 1;
  margin-top: 1rem;
}

/* Universal Button hover lift */
.btn-interactive {
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-interactive:hover {
  transform: translateY(-2px);
}

/* Elementos reativos ao feixe de luz dourado */
.light-beam-reactive {
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
}
.light-illuminated {
  box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.24), 0 0 18px 2px rgba(255, 215, 100, 0.18) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
}

/* Canvas dos Feixes de Luz */
#energy-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 30;
  mix-blend-mode: screen;
}

@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;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  #energy-canvas {
    display: none !important;
  }
}

/* Mantém as duas faixas em movimento contínuo também em celulares e tablets. */
@media (max-width: 1023px) {
  .animate-marquee-smooth {
    animation: marqueeLeft 24s linear infinite !important;
    animation-play-state: running !important;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }

  .animate-marquee-smooth:hover {
    animation-play-state: running !important;
  }
}
