/* =========================================================
   100 Protocolos de Radiestesia Terapêutica — camada de tema
   Roxo profundo + lavanda + off-white + champagne
   Carregada por último (sobrescreve laser.css / perf.css)
   ========================================================= */

:root {
  --rd-deep: #332052;
  --rd-deep-2: #291841;
  --rd-mid: #68458f;
  --rd-lav: #b9a1d5;
  --rd-lav-soft: #eee8f5;
  --rd-off: #faf8f5;
  --rd-gold: #c7a66a;
  --rd-gold-soft: #dcc79a;
  --rd-ink: #25212b;

  /* tokens de marca usados pelas classes utilitárias já existentes */
  --color-brand-dark: #25212b;
  --color-brand-navy: #332052;
  --color-brand-red: #68458f;
  --color-brand-teal: #68458f;
  --color-brand-teal-dark: #332052;
  --color-brand-teal-light: #eee8f5;
  --color-brand-green: #68458f;
  --color-brand-gold: #c7a66a;
  --color-brand-gold-dark: #a8813f;
  --color-gray-100: #f2eef8;
  --color-gray-200: #e4dcef;
  --color-neutral-400: #6f6880;
  --color-neutral-500: #59526a;
  --color-neutral-800: #2b2637;
  --color-neutral-900: #221d2c;
}

/* ---------------- Tipografia ---------------- */
body,
.font-sans {
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    sans-serif;
  color: var(--rd-ink);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-serif {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
}

h1 {
  line-height: 1.03;
}

h2,
h3 {
  line-height: 1.15;
}

h4,
h5,
button,
.cta-button,
a[class*="cta"] {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

p,
li,
span {
  letter-spacing: 0.001em;
}

/* ---------------- Fundo geral e alternância ---------------- */
html,
body {
  background: var(--rd-off);
}

.bg-white {
  background-color: var(--rd-off);
}

section {
  position: relative;
}

/* Fundo unificado: todas as seções claras usam o mesmo tom off-white */
section:not([class*="bg-"]):not([style*="background"]) {
  background-color: var(--rd-off);
}
section:first-of-type {
  background-color: var(--rd-off) !important;
  background-image: none !important;
}

/* Linha divisória finíssima entre blocos claros */
section + section:not([class*="bg-"]):not([style*="background"])::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 161, 213, 0.55), transparent);
  pointer-events: none;
}

/* ---------------- Decoração radiestésica (círculos concêntricos) --- */
section::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background:
    radial-gradient(circle, transparent 0 28%, var(--rd-mid) 28% 28.6%, transparent 28.6%),
    radial-gradient(circle, transparent 0 44%, var(--rd-mid) 44% 44.5%, transparent 44.5%),
    radial-gradient(circle, transparent 0 60%, var(--rd-gold) 60% 60.4%, transparent 60.4%);
}
section:nth-of-type(3n)::after {
  right: auto;
  left: -90px;
  top: auto;
  bottom: -70px;
}
section:nth-of-type(2n)::after {
  opacity: 0.045;
}
section > * {
  position: relative;
  z-index: 1;
}

@media (width <= 640px) {
  section::after {
    width: 190px;
    height: 190px;
    opacity: 0.04;
  }
}

/* ---------------- Hero: glow violeta atrás do mockup ---------------- */
section:first-of-type img[src*="kit-radiestesia"],
img[src*="kit-radiestesia"] {
  filter: drop-shadow(0 22px 46px rgba(51, 32, 82, 0.28));
}

section:first-of-type::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(760px, 105%);
  aspect-ratio: 1;
  translate: -50% -30%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(185, 161, 213, 0.4) 0%,
    rgba(199, 166, 106, 0.14) 38%,
    transparent 66%
  );
}

@media (width <= 640px) {
  section:first-of-type::before {
    width: 120%;
    background: radial-gradient(circle, rgba(185, 161, 213, 0.3) 0%, transparent 62%);
  }
}

/* ---------------- Botões ---------------- */
.cta-button,
a[href="#oferta"],
button.cta-button {
  background-image: linear-gradient(135deg, #43296b 0%, #332052 45%, #68458f 100%) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow:
    0 10px 26px -10px rgba(51, 32, 82, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  letter-spacing: 0.01em;
}

@media (hover: hover) {
  .cta-button:hover,
  a[href="#oferta"]:hover {
    transform: translateY(-2px);
    box-shadow:
      0 16px 34px -12px rgba(104, 69, 143, 0.72),
      0 0 0 1px rgba(199, 166, 106, 0.35);
    filter: saturate(1.05);
  }
}

.cta-button:focus-visible {
  outline: 3px solid var(--rd-gold);
  outline-offset: 3px;
}

/* ---------------- Cards ---------------- */
.rounded-2xl,
.rounded-xl {
  border-radius: 1.15rem;
}

.bg-white.rounded-2xl,
.bg-white.rounded-xl,
.bg-white.shadow-lg,
.bg-white.p-5,
.bg-white.p-6 {
  border: 1px solid rgba(185, 161, 213, 0.42);
  box-shadow:
    0 1px 2px rgba(37, 33, 43, 0.04),
    0 14px 30px -22px rgba(51, 32, 82, 0.5);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) {
  .bg-white.rounded-2xl:hover,
  .bg-white.rounded-xl:hover {
    transform: translateY(-3px);
    border-color: rgba(199, 166, 106, 0.55);
    box-shadow: 0 22px 40px -24px rgba(51, 32, 82, 0.55);
  }
}

.border-gray-200,
.border-gray-100 {
  border-color: rgba(185, 161, 213, 0.45) !important;
}

/* Capas dos bônus */
.bonus-cover {
  filter: drop-shadow(0 14px 26px rgba(51, 32, 82, 0.28));
}

/* Selos / badges dourados */
.bg-brand-gold {
  background-color: var(--rd-gold) !important;
  color: #2b1a45 !important;
}

/* Blocos escuros ganham brilho interno suave */
[style*="linear-gradient(160deg"],
[style*="linear-gradient(135deg"] {
  position: relative;
}

/* ---------------- Reveal on scroll (seguro) ----------------
   Conteúdo é visível por padrão. Só esconde quando o JS
   confirma suporte a IntersectionObserver (html.reveal-on).   */
.reveal-on [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-on [data-reveal] {
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-on [data-reveal].is-in {
  opacity: 1 !important;
  transform: none !important;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-reveal],
  .reveal-on [data-reveal]:not(.is-in) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------------- Carrosséis: overflow só no container ------------- */
[data-reviews-viewport] {
  overscroll-behavior-x: contain;
}

/* ---------------- Contenção horizontal ----------------
   Clip/hidden em html+body em página muito longa faz o Chromium
   perder as camadas e mostrar áreas brancas. Contemos só nas seções. */
html,
body {
  overflow-x: visible;
  overflow-y: visible;
  max-width: 100%;
}

.min-h-screen {
  overflow-x: clip;
}

section {
  overflow-x: clip;
}

