:root {
  --plum: #3d1a35;
  --plum-dark: #2a0f25;
  --plum-darker: #1c0919;
  --cream: #f3e9df;
  --terracotta: #d97c4a;
  --terracotta-dark: #c2653a;
  --ink: #2a0f25;
  --muted: #7a6b76;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2 {
  font-family: "Playfair Display", serif;
  color: var(--plum);
  line-height: 1.12;
}

h1 { font-size: clamp(34px, 4.2vw, 66px); margin-bottom: 18px; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 42px); margin-bottom: 20px; font-weight: 700; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
}

.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.eyebrow-center { text-align: center; }

.section-sub { color: var(--muted); font-size: 16px; margin-bottom: 44px; }

/* ===== ANNOUNCE BAR ===== */
.announce-bar {
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(217, 124, 74, 0.35);
}

.btn:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 124, 74, 0.45); }

.btn-lg { font-size: 18px; padding: 18px 38px; }

.btn-ghost {
  background: rgba(243, 233, 223, 0.12);
  border: 1px solid rgba(243, 233, 223, 0.4);
  box-shadow: none;
  font-size: 14px;
  padding: 10px 20px;
}

.btn-ghost:hover { background: rgba(243, 233, 223, 0.22); box-shadow: none; }

.btn-pulse { animation: pulse 2.4s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(217, 124, 74, 0.35); }
  50% { box-shadow: 0 6px 32px rgba(217, 124, 74, 0.7); }
}

/* ===== NAV ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  position: relative;
  z-index: 3;
}

.logo { font-family: "Playfair Display", serif; color: var(--cream); font-weight: 700; font-size: 18px; }
.logo em { font-style: normal; font-weight: 400; color: var(--terracotta); opacity: 0.9; }

/* ===== HERO + MEDIA BACKGROUND (técnica de fundo animado otimizado) ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--plum-darker);
}

.media-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.media-bg-img, .media-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}

.media-bg-video {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.media-bg-video.is-ready { opacity: 1; }

@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

.media-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(217, 124, 74, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(28, 9, 25, 0.55) 0%, rgba(28, 9, 25, 0.78) 55%, rgba(28, 9, 25, 0.95) 100%);
}

/* Orbs de luz flutuantes — camada extra de movimento sobre o fundo */
.orb-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: orbDrift 16s ease-in-out infinite;
}

.orb-a {
  width: 420px; height: 420px;
  top: -10%; left: 8%;
  background: radial-gradient(circle, rgba(217,124,74,0.55), transparent 70%);
  animation-duration: 18s;
}

.orb-b {
  width: 320px; height: 320px;
  bottom: -8%; right: 10%;
  background: radial-gradient(circle, rgba(217,124,74,0.4), transparent 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.orb-c {
  width: 260px; height: 260px;
  top: 30%; right: 28%;
  background: radial-gradient(circle, rgba(243,233,223,0.3), transparent 70%);
  animation-duration: 14s;
  animation-delay: -3s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 24px) scale(0.95); }
}

/* Fallback: sem imagem/vídeo disponíveis, usa gradiente animado puro */
.media-background.fallback {
  background: linear-gradient(120deg, var(--plum-darker), var(--plum), #4a1f40, var(--plum-darker));
  background-size: 300% 300%;
  animation: gradientShift 14s ease infinite;
}

.media-background.fallback .media-bg-img { display: none; }

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

@media (min-width: 1500px) {
  .hero-inner { gap: 110px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 32px; gap: 48px; }
}

.hero-copy h1 { color: var(--cream); }
.hero-copy .hl { color: var(--terracotta); }

.hero-copy .eyebrow { color: var(--terracotta); }

.hero-sub {
  font-size: 18px;
  color: #e4d4df;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-price-tag { display: flex; flex-direction: column; line-height: 1.2; }

.hero-price-tag .old-price {
  font-size: 14px;
  color: #c9b3c3;
  text-decoration: line-through;
}

.hero-price-tag .new-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--cream);
}

.hero-note { font-size: 13px; color: #c9b3c3; }

/* ===== MOCKUP 3D DO EBOOK ===== */
.hero-visual { display: flex; flex-direction: column; align-items: center; }

/* Palco da "Jornada dos 30 dias": órbita discreta + 4 marcadores ao redor do mockup */
.journey-stage {
  position: relative;
  width: 560px;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  --orbit-r: 58px;
}

@media (min-width: 1500px) {
  .journey-stage { width: 620px; height: 700px; }
}

@media (max-width: 900px) {
  .journey-stage { width: 420px; height: 500px; --orbit-r: 32px; }
}

@media (max-width: 480px) {
  .journey-stage { width: 300px; height: 400px; --orbit-r: 18px; }
}

.orbit {
  position: absolute;
  inset: var(--orbit-r);
  border: 1px solid rgba(243, 233, 223, 0.22);
  border-radius: 50%;
  animation: orbitSpin 70s linear infinite;
  pointer-events: none;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.journey-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.journey-point.p-top { top: var(--orbit-r); left: 50%; transform: translate(-50%, -50%); flex-direction: column-reverse; }
.journey-point.p-bottom { bottom: var(--orbit-r); left: 50%; transform: translate(-50%, 50%); flex-direction: column; }
.journey-point.p-left { top: 50%; left: var(--orbit-r); transform: translate(-50%, -50%); flex-direction: row-reverse; }
.journey-point.p-right { top: 50%; right: var(--orbit-r); transform: translate(50%, -50%); flex-direction: row; }

.journey-point .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(243, 233, 223, 0.55);
  box-shadow: 0 0 0 rgba(217, 124, 74, 0);
  transition: background 0.6s ease, box-shadow 0.6s ease, transform 0.6s ease;
  flex-shrink: 0;
}

.journey-point.is-active .dot {
  background: var(--terracotta);
  box-shadow: 0 0 16px 4px rgba(217, 124, 74, 0.5);
  transform: scale(1.3);
}

.journey-label {
  background: var(--plum-darker);
  color: var(--cream);
  border: 1px solid rgba(243, 233, 223, 0.25);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.journey-point.is-active .journey-label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .journey-label { font-size: 10px; padding: 4px 9px; }
}

.journey-caption {
  margin-top: 18px;
  font-size: 13px;
  font-style: italic;
  color: #d9c3d2;
  text-align: center;
}

.book-stage {
  position: relative;
  perspective: 1400px;
  width: 320px;
  height: 430px;
  z-index: 2;
}

@media (min-width: 1500px) {
  .book-stage { width: 370px; height: 490px; }
}

@media (max-width: 480px) {
  .book-stage { width: 230px; height: 310px; }
}

.book {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg);
  animation: bookFloat 5s ease-in-out infinite;
  transition: transform 0.15s ease-out;
}

@keyframes bookFloat {
  0%, 100% { transform: rotateY(-22deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-18deg) rotateX(2deg) translateY(-12px); }
}

.book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-darker) 100%);
  border-radius: 4px 10px 10px 4px;
  box-shadow: 18px 24px 50px rgba(0,0,0,0.55), inset -6px 0 14px rgba(0,0,0,0.3);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  border: 1px solid rgba(243, 233, 223, 0.08);
  overflow: hidden;
}

.book-cover::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(20deg);
  animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -60%; }
  35%, 100% { left: 140%; }
}

.book-seal {
  position: absolute;
  bottom: 24px;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--plum-darker);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  transform: rotate(-12deg);
}

.book-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10.5px;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 14px;
}

.book-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.book-rule {
  width: 36px;
  height: 3px;
  background: var(--terracotta);
  margin: 18px 0;
  border-radius: 2px;
}

.book-sub { font-size: 12.5px; color: #d9c3d2; margin-bottom: auto; }

.book-spine {
  position: absolute;
  left: -8px;
  top: 4px;
  bottom: 4px;
  width: 8px;
  background: var(--plum-darker);
  transform: rotateY(90deg) translateZ(-4px);
  border-radius: 4px 0 0 4px;
}

.book-pages {
  position: absolute;
  right: -6px;
  top: 6px;
  bottom: 6px;
  width: 6px;
  background: repeating-linear-gradient(180deg, #f3e9df, #f3e9df 2px, #e3d4c8 2px, #e3d4c8 3px);
  transform: rotateY(-90deg) translateZ(3px);
  border-radius: 0 3px 3px 0;
}

.floating-chip {
  position: absolute;
  background: rgba(243, 233, 223, 0.95);
  color: var(--plum);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  animation: chipFloat 4s ease-in-out infinite;
  white-space: nowrap;
}

.chip-1 { top: 6%; left: -14%; animation-delay: 0s; }
.chip-2 { bottom: 18%; right: -18%; animation-delay: 1.2s; }
.chip-3 { bottom: -4%; left: -4%; animation-delay: 2.1s; }

@media (max-width: 900px) {
  .chip-1, .chip-2, .chip-3 { display: none; }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== STATS ===== */
.stats-section { background: var(--plum-darker); padding-bottom: 56px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

@media (max-width: 700px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

.stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--terracotta);
}

.stat span { font-size: 12.5px; color: #c9b3c3; text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== SEÇÕES ===== */
.section { padding: 84px 0; }

.section-dark {
  background: var(--plum);
  color: var(--cream);
}

.section-dark h2, .section-dark .eyebrow-center { color: var(--cream); }
.section-dark .eyebrow-center { color: var(--terracotta); }

/* ===== DOR ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.pain-card {
  background: rgba(243, 233, 223, 0.07);
  border: 1px solid rgba(243, 233, 223, 0.16);
  border-radius: 14px;
  padding: 24px 20px;
  font-size: 15px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pain-card:hover { transform: translateY(-4px); background: rgba(243, 233, 223, 0.12); }

.pain-icon { display: block; font-size: 26px; margin-bottom: 12px; }

.pain-closer {
  font-size: 19px;
  max-width: 720px;
  margin: 0 auto;
  color: var(--cream);
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* ===== FEATURES ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(42, 15, 37, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(42, 15, 37, 0.14);
}

.feature-icon { font-size: 30px; display: block; margin-bottom: 14px; }

.feature-card strong { display: block; margin-bottom: 6px; font-size: 16.5px; }

.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ===== OFERTA ===== */
.offer-section { position: relative; overflow: hidden; }

.offer-box { text-align: center; max-width: 560px; margin: 0 auto; }

.offer-price { margin: 16px 0 32px; }

.offer-price .old-price {
  font-size: 22px;
  color: #c9b3c3;
  text-decoration: line-through;
  margin-right: 10px;
  font-weight: 500;
}

.price-big { font-size: 46px; font-weight: 800; color: var(--terracotta); font-family: "Playfair Display", serif; }

/* ===== DISCLAIMER ===== */
.disclaimer-box {
  background: rgba(217, 124, 74, 0.08);
  border: 1px solid rgba(217, 124, 74, 0.3);
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 13.5px;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto;
}

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: rgba(243, 233, 223, 0.06);
  border: 1px solid rgba(243, 233, 223, 0.15);
  border-radius: 12px;
  padding: 18px 22px;
  transition: background 0.2s ease;
}

.faq details[open] { background: rgba(243, 233, 223, 0.1); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--terracotta);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }

.faq p { margin-top: 12px; color: #e4d4df; font-size: 14.5px; }

/* ===== CTA FINAL ===== */
.final-cta { text-align: center; max-width: 600px; margin: 0 auto; }

.final-cta p { margin: 12px 0 28px; color: var(--muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--plum-darker);
  color: #c9b3c3;
  padding: 28px 0 90px;
  font-size: 12.5px;
  text-align: center;
}

/* ===== STICKY CTA (mobile) ===== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--plum-darker);
  border-top: 1px solid rgba(243, 233, 223, 0.15);
  padding: 12px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-info { color: var(--cream); display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta-info strong { font-size: 17px; }
.sticky-cta-info span { font-size: 11px; color: #c9b3c3; }
.sticky-cta .btn { padding: 11px 22px; font-size: 14px; }

@media (max-width: 760px) {
  .sticky-cta { display: flex; }
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .book, .floating-chip, .media-bg-img, .media-background.fallback, .orbit, .book-cover::after { animation: none; }
  .journey-point .journey-label { transition: none; }
  .journey-point.is-active .dot { transition: none; }
}
