/* =============================================================
   Canal Estoico · camada premium sobre a página aprovada
   Base intocada: layout, textos, imagens, rastreamento, checkout.
   Direção: ouro metálico de verdade, superfícies de obsidiana,
   luz que se move devagar. Poucos movimentos, todos com motivo.
   ============================================================= */

@property --ap-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --ap-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ap-ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ap-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ap-gold-metal: linear-gradient(180deg, #fff3c9 0%, #f3d98f 34%, #c99a43 58%, #e9c977 78%, #fbe6a6 100%);
  --ap-gold-sheen: linear-gradient(100deg, transparent 38%, rgba(255, 250, 230, 0.95) 50%, transparent 62%);
}

/* ---------- 1. Atmosfera: grão fino de filme em toda a página ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* linha de progresso dourada no topo */
.ap-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #8a6a2c, #eed88d 60%, #fff3c9); box-shadow: 0 0 10px rgba(238, 216, 141, 0.55); }

/* ---------- 2. Ouro metálico nos títulos dourados principais ---------- */
.hero-title-line,
.pain-eyebrow-line2,
.pain-feel-gold,
.gold-italic,
.learning-title-text,
.ce-marquee-titulo h2 span,
.ce-recebe-title span,
.social-preview h2 span,
.plan-name.complete,
.plan-price-main-number {
  background-image: var(--ap-gold-metal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none !important;
}
.plan-price-main-number .preview-price-cash-label { -webkit-text-fill-color: #f2e6bd; background: none; }
.gold-italic { padding-right: 0.06em; } /* o itálico não perde a ponta da última letra */
/* brilho suave que o texto em gradiente perdeu */
.hero-title, .plan-price-main-number { filter: drop-shadow(0 2px 14px rgba(238, 216, 141, 0.22)); }

/* reflexo de luz que atravessa o texto dourado uma vez (camada extra no mesmo recorte do texto) */
.hero-title-line, .plan-price-main-number {
  background-image: var(--ap-gold-sheen), var(--ap-gold-metal);
  background-size: 260% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 170% 0, 0 0;
}
@keyframes ap-shine { from { background-position: 170% 0, 0 0; } to { background-position: -70% 0, 0 0; } }
.plan-price-main-number.ap-shine-now { animation: ap-shine 1600ms var(--ap-ease-io) 200ms both; }

/* ---------- 3. Superfícies: obsidiana com fio de luz no topo ---------- */
.dark-method-card, .dark-goals-box, .dark-action-box, .ce-marquee-container,
.dark-projection-card, .learning-card-box, .ce-recebe-card, .access-step-card, .qualification-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 24px 48px -18px rgba(0, 0, 0, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.5) !important;
}
.dark-method-card, .dark-goals-box, .dark-action-box, .dark-projection-card, .learning-card-box, .ce-recebe-card, .access-step-card {
  background-image: radial-gradient(130% 70% at 50% 0%, rgba(238, 216, 141, 0.075), transparent 58%), linear-gradient(160deg, #131313 0%, #070707 100%) !important;
}

/* divisores dourados se desenham do centro para fora */
.dark-divider-gold, .gold-divider-line { transform-origin: 50% 50%; }
[data-scroll-reveal="pending"] :is(.dark-divider-gold, .gold-divider-line) { transform: scaleX(0); }
[data-scroll-reveal="visible"] :is(.dark-divider-gold, .gold-divider-line) { animation: ap-draw 1100ms var(--ap-ease) 250ms both; }
@keyframes ap-draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* ---------- 4. Revelar ao rolar: mais lento, com foco que se ajusta ---------- */
[data-scroll-reveal="pending"] { opacity: 0; transform: translateY(26px); filter: blur(5px); }
[data-scroll-reveal="visible"] {
  opacity: 1; transform: none; filter: none;
  transition: opacity 900ms var(--ap-ease), transform 1100ms var(--ap-ease), filter 900ms var(--ap-ease) !important;
}

/* ---------- 5. Topo: estátua, título e vídeo ---------- */
.hero-artwork { transform-origin: 50% 70%; animation: ap-statue 1800ms var(--ap-ease) both; will-change: transform; }
@keyframes ap-statue { from { opacity: 0; transform: scale(1.08); filter: blur(6px) brightness(0.6); } to { opacity: 1; transform: none; filter: none; } }
.ap-dust { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }

.hero-title-line { animation: ap-line 1000ms var(--ap-ease) both, ap-shine 1700ms var(--ap-ease-io) 1300ms both; }
.hero-title-line:nth-child(1) { animation-delay: 250ms, 1300ms; }
.hero-title-line:nth-child(2) { animation-delay: 370ms, 1420ms; }
.hero-title-line:nth-child(3) { animation-delay: 470ms, 1540ms; }
@keyframes ap-line { from { opacity: 0; transform: translateY(0.55em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero-lead-paragraph { animation: ap-rise 900ms var(--ap-ease) both; }
.hero-lead-paragraph:nth-child(1) { animation-delay: 620ms; }
.hero-lead-paragraph:nth-child(2) { animation-delay: 700ms; }
@keyframes ap-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* moldura do vídeo com aura dourada girando devagar (mesmo motivo do cartão de preço) */
@supports (background: conic-gradient(from var(--ap-angle), red, blue)) {
  .hero-video-wrapper, .plan-card-complete {
    border: 1.5px solid transparent !important;
    background:
      linear-gradient(#000, #000) padding-box,
      conic-gradient(from var(--ap-angle), rgba(216, 180, 88, 0.3) 0deg, rgba(216, 180, 88, 0.3) 180deg, #d8b458 225deg, #fff6d6 260deg, #d8b458 295deg, rgba(216, 180, 88, 0.3) 340deg) border-box !important;
    animation: ap-orbit 7s linear infinite;
  }
  .plan-card-complete {
    background:
      radial-gradient(120% 50% at 50% 0%, rgba(238, 216, 141, 0.09), transparent 60%) padding-box,
      linear-gradient(#1b1b1b, #121212) padding-box,
      conic-gradient(from var(--ap-angle), rgba(238, 216, 141, 0.4) 0deg, rgba(238, 216, 141, 0.4) 180deg, #eed88d 225deg, #fff6d6 260deg, #eed88d 295deg, rgba(238, 216, 141, 0.4) 340deg) border-box !important;
    border-width: 2px !important;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(238, 216, 141, 0.35) !important;
  }
}
@keyframes ap-orbit { to { --ap-angle: 360deg; } }
/* fora da tela a aura para (não gasta bateria) */
.hero-video-wrapper.ap-off, .plan-card-complete.ap-off { animation-play-state: paused !important; }
.hero-video-wrapper { box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.95), 0 0 70px -24px rgba(238, 216, 141, 0.4) !important; animation: ap-orbit 7s linear infinite, ap-frame 1100ms var(--ap-ease) 650ms both; }
@keyframes ap-frame { from { opacity: 0; transform: translateY(22px) scale(0.97); } to { opacity: 1; transform: none; } }
.hero-video-content > .elementor-button-wrapper, .hero-video-content > .ce-delivery-box { animation: ap-rise 900ms var(--ap-ease) 850ms both; }

/* ---------- 7. Preço ---------- */

/* ---------- 8. Grade dos 45 dias dentro do "Como funciona" ---------- */
.ap-days { margin: 18px auto 0; max-width: 420px; }
.ap-days__head { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 14px; font-family: var(--font-inter), sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #bdbdbd; }
.ap-days__count {
  font-family: var(--font-cinzel), Georgia, serif; font-size: 32px; line-height: 1; font-weight: 700; letter-spacing: 0; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums;
  background-image: var(--ap-gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.ap-days__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.ap-days__grid li {
  position: relative; aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center;
  font-family: var(--font-inter), sans-serif; font-size: 9.5px; font-weight: 700; color: #5f5f5f; font-variant-numeric: tabular-nums;
  background: #0c0c0c; box-shadow: inset 0 0 0 1px rgba(216, 180, 88, 0.16);
  transition: color 300ms ease, box-shadow 300ms ease;
}
/* a cor dourada entra por baixo de cada casa, como se acendesse */
.ap-days__grid li::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: linear-gradient(180deg, #fff1c4 0%, #e8c978 45%, #b88d3f 100%);
  opacity: 0; transform: scale(0.6); transition: opacity 320ms var(--ap-ease), transform 420ms var(--ap-ease);
}
.ap-days__grid li > span { position: relative; z-index: 1; }
.ap-days__grid li.on { color: #1c1c1c; box-shadow: 0 4px 14px -4px rgba(238, 216, 141, 0.45); }
.ap-days__grid li.on::before { opacity: 1; transform: none; }
.ap-days__grid li.now { box-shadow: 0 0 0 1.5px #050505, 0 0 0 2.5px #fff1c4, 0 0 18px rgba(238, 216, 141, 0.6); }
.ap-days__grid li:last-child:not(.on) { color: #eed88d; box-shadow: inset 0 0 0 1px rgba(238, 216, 141, 0.6); }
.ap-days__foot { margin: 14px 0 0; font-family: var(--font-inter), sans-serif; font-size: 13px; color: #bdbdbd; text-align: center; }
@media (min-width: 768px) { .ap-days { max-width: 520px; } .ap-days__grid { gap: 6px; } .ap-days__grid li { font-size: 11px; } }

/* ---------- 9. Botão fixo no celular ---------- */
.ap-dock {
  position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 10px; border-radius: 100px;
  background: rgba(10, 10, 10, 0.78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(238, 216, 141, 0.35), inset 0 1px 0 rgba(255, 240, 200, 0.12), 0 18px 44px rgba(0, 0, 0, 0.75);
  transform: translateY(calc(100% + 24px)); transition: transform 460ms var(--ap-drawer);
}
.ap-dock.is-on { transform: none; }
.ap-dock__price { flex: 1; display: grid; justify-items: center; text-align: center; line-height: 1.15; font-family: var(--font-inter), sans-serif; }
.ap-dock__price b { font-size: 19px; font-weight: 850; background-image: var(--ap-gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap-dock__price span { font-size: 11.5px; color: #bdbdbd; }
.ap-dock__btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 100px;
  background: linear-gradient(90deg, #eed88d 0%, #fae8ab 100%); color: #1c1c1c; text-decoration: none;
  font-family: var(--font-inter), sans-serif; font-size: 14px; font-weight: 850; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 18px -6px rgba(238, 216, 141, 0.6);
  transition: transform 140ms var(--ap-ease);
}
.ap-dock__btn:active { transform: scale(0.97); }
@media (min-width: 768px) { .ap-dock { left: 50%; right: auto; width: 440px; margin-left: -220px; } }

/* ---------- 10. FAQ: resposta aparece suave ---------- */
.e-n-accordion-item-content { animation: ap-rise 320ms var(--ap-ease) both; }

/* ---------- 11. Lente no "Veja o desafio por dentro": o card do centro cresce e acende ---------- */
.ap-js .ce-marquee-card { transform-origin: 50% 60%; will-change: transform; }

/* ---------- 12. Pedestal de luz sob cada produto da oferta ---------- */
.ce-recebe-img-wrap::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 26px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(238, 216, 141, 0.32), rgba(238, 216, 141, 0) 70%);
  filter: blur(2px);
}
.ce-recebe-img { filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.65)); }
.ap-js [data-scroll-reveal="pending"] .ce-recebe-img { opacity: 0; transform: translateY(18px) scale(0.96); }
.ap-js [data-scroll-reveal="visible"] .ce-recebe-img { animation: ap-lift 1100ms var(--ap-ease) 120ms both; }
@keyframes ap-lift { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- 13. "O que você irá treinar": índice editorial numa única placa ---------- */
.ap-js .learning-cards-grid {
  display: block !important; padding: 4px 20px !important; border-radius: 22px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(238, 216, 141, 0.08), transparent 60%), linear-gradient(180deg, #151413, #0d0d0c);
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.08), inset 0 0 0 1px rgba(238, 216, 141, 0.16), 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}
.ap-js .learning-card-box {
  background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  padding: 22px 0 !important; margin: 0 !important; max-width: none !important; width: auto !important;
}
.ap-js .learning-card-box + .learning-card-box { border-top: 1px solid rgba(238, 216, 141, 0.13) !important; }
.ap-js .learning-card-wrapper { display: grid !important; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; text-align: left !important; }
.ap-js .learning-card-icon-wrap { margin: 2px 0 0 !important; width: 52px !important; height: 52px !important; }
.ap-js .learning-card-icon-wrap img { width: 52px !important; height: 52px !important; }
.ap-js .learning-card-content { text-align: left !important; }
.ap-js .learning-card-title { margin: 0 0 6px !important; text-align: left !important; font-size: 17px !important; line-height: 1.2 !important; }
.ap-js .learning-card-desc { text-align: left !important; margin: 0 !important; font-size: 14.5px !important; line-height: 1.55 !important; text-wrap: pretty; }

@media (min-width: 768px) { .ap-js .learning-cards-grid { max-width: 720px; margin-inline: auto; } }

/* ---------- 14. "Como funciona o seu acesso": linha do tempo que se acende ao rolar ---------- */
.ap-js .access-steps-grid { display: block !important; position: relative; max-width: 460px; margin-inline: auto; padding: 6px 4px 0 !important; }
.ap-js .access-steps-grid::before, .ap-js .access-steps-grid::after {
  content: ""; position: absolute; left: 25px; top: 30px; bottom: 44px; width: 2px; border-radius: 2px;
}
.ap-js .access-steps-grid::before { background: rgba(238, 216, 141, 0.14); }
.ap-js .access-steps-grid::after {
  background: linear-gradient(180deg, #fae8ab, #c9a24f); transform-origin: 50% 0; transform: scaleY(var(--ap-fill, 0));
  box-shadow: 0 0 12px rgba(238, 216, 141, 0.45);
}
.ap-js .access-step-card {
  display: grid !important; grid-template-columns: 44px 1fr; column-gap: 18px; text-align: left !important; position: relative; z-index: 1;
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 0 30px !important; margin: 0 !important; min-height: 0 !important;
}
.ap-js .access-step-card:last-child { padding-bottom: 8px !important; }
.ap-js .access-step-num {
  grid-row: 1 / 3; width: 44px !important; height: 44px !important; margin: 0 !important; border-radius: 50% !important;
  display: grid !important; place-content: center; font-family: var(--font-cinzel), Georgia, serif; font-size: 18px !important; font-weight: 800;
  background: #111 !important; color: #8f897c !important; box-shadow: inset 0 0 0 1.5px rgba(238, 216, 141, 0.28) !important;
  transition: background-color 400ms ease, color 400ms ease, box-shadow 400ms ease, transform 500ms var(--ap-ease);
}
.ap-js .access-step-card.ap-lit .access-step-num {
  background: linear-gradient(180deg, #fae8ab, #d9b862) !important; color: #1c1c1c !important;
  box-shadow: 0 0 0 5px rgba(238, 216, 141, 0.12), 0 8px 22px -6px rgba(238, 216, 141, 0.7) !important; transform: scale(1.04);
}
.ap-js .access-step-card-title { margin: 9px 0 6px !important; text-align: left !important; }
.ap-js .access-step-card-desc { margin: 0 !important; text-align: left !important; text-wrap: pretty; }

/* ---------- Movimento reduzido: sem deslocamento, sem brilho girando ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-artwork, .hero-title-line, .hero-lead-paragraph, .hero-video-content > *, .e-n-accordion-item-content { animation: none !important; }
  .hero-video-wrapper, .plan-card-complete { animation: none !important; }
  [data-scroll-reveal] { transform: none !important; filter: none !important; }
  [data-scroll-reveal] :is(.dark-divider-gold, .gold-divider-line) { transform: none !important; animation: none !important; }
  .ap-dust { display: none; }
  .plan-price-main-number.ap-shine-now { animation: none !important; }
  .ap-days__grid li::before { transition: none; }
  .ce-marquee-card { transform: none !important; filter: none !important; }
  [data-scroll-reveal] .ce-recebe-img { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ap-js .access-step-num { transition: none; }
  .ap-dock { transition: opacity 200ms ease; transform: none; opacity: 0; pointer-events: none; }
  .ap-dock.is-on { opacity: 1; pointer-events: auto; }
}

/* 15. Bônus em estante: os 7 bônus viram linhas compactas (capa à esquerda, texto à direita) */
.ap-shelf-head { margin: 26px 0 12px; text-align: center; }
.ap-shelf-head b { display: block; font: 700 22px/1.2 Cinzel, Georgia, serif; color: #fff; }
.ap-shelf-head b span { color: #eed88d; }
.ap-shelf-head small { display: block; margin-top: 6px; font: 400 14px/1.4 "DM Sans", Inter, sans-serif; color: #b9b2a2; }
.ap-js .ce-recebe-card.ap-row { display: grid !important; grid-template-columns: 96px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; padding: 14px !important; text-align: left !important; min-height: 0 !important; }
.ap-js .ap-row .ce-recebe-img-wrap { grid-row: 1 / span 4; width: 96px !important; height: auto !important; margin: 0 !important; padding: 0 !important; align-self: center; }
.ap-js .ap-row .ce-recebe-img-wrap img { width: 96px !important; height: auto !important; max-height: 130px !important; object-fit: contain !important; margin: 0 !important; }
.ap-js .ap-row .bonus-tag-wrap { margin: 0 !important; justify-content: flex-start !important; text-align: left !important; }
.ap-js .ap-row .bonus-free-badge { font-size: 10px !important; padding: 4px 8px !important; letter-spacing: .08em; }
.ap-js .ap-row .ce-recebe-card-title { margin: 2px 0 0 !important; font-size: 17px !important; line-height: 1.2 !important; text-align: left !important; }
.ap-js .ap-row .ce-recebe-price { margin: 0 !important; font-size: 13px !important; text-align: left !important; }
.ap-js .ap-row .ce-recebe-text, .ap-js .ap-row .ce-recebe-text p { margin: 2px 0 0 !important; font-size: 13.5px !important; line-height: 1.42 !important; text-align: left !important; }

/* 16. Sem a tarja de oferta no topo */
.ce-offerbar { display: none !important; }
