/*
Theme Name: Vivendo da Caixa
Theme URI: https://pay.kiwify.com.br/VBd7etv
Author: Eugenia Gonzalez
Author URI: https://pay.kiwify.com.br/VBd7etv
Description: Landing page de vendas do curso "Vivendo da Caixa" - caixas personalizadas.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: Uso exclusivo do cliente
Text Domain: vivendo-da-caixa
*/

/* ============================================================
   Vivendo da Caixa — Eugenia Gonzalez
   ============================================================ */

:root {
  --pink: #ff9ac8;
  --pink-deep: #ff6fae;
  --pink-dark: #b8296b;
  --pink-darker: #931f56;
  --bg-light: #fdf1f4;
  --white: #ffffff;
  --text-dark: #2b2b2b;
  --text-soft: #514a4d;
  --black: #17141a;
  --black-soft: #221e24;
  --green: #3ecf5d;
  --green-dark: #2cb34c;
  --price-green: #2e9e4f;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px rgba(90, 20, 55, 0.16);
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.08);
  --font-heading: "Fredoka", sans-serif;
  --font-body: "Poppins", sans-serif;
  --container: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--pink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

.section-pink {
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-white {
  background: var(--white);
  color: var(--text-dark);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 18px;
}

.section-light .eyebrow,
.section-white .eyebrow {
  background: rgba(184, 41, 107, 0.1);
  color: var(--pink-dark);
}

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

.lead {
  font-size: 17px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  padding: 18px 38px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn-green {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #0e3018;
  box-shadow: 0 10px 24px rgba(46, 158, 79, 0.4);
}

.btn-green:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(46, 158, 79, 0.5);
}

.btn-wide {
  width: 100%;
  max-width: 420px;
}

.btn-note {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.9;
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 64px;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero .sub {
  font-size: 19px;
  max-width: 620px;
  margin: 0 auto 34px;
  font-weight: 500;
  opacity: 0.95;
}

.video-box {
  max-width: 640px;
  margin: 0 auto 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--pink-dark), var(--pink-darker));
  box-shadow: var(--shadow);
  position: relative;
}

.video-box:empty,
.video-box:has(.video-placeholder) {
  aspect-ratio: 16 / 9;
}

.video-box video,
.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-placeholder strong {
  font-family: var(--font-heading);
  font-size: 18px;
}

.video-placeholder span {
  font-size: 13px;
  opacity: 0.8;
  max-width: 340px;
}

/* ---------- "Esse curso é para você" — cartão escuro ---------- */

.checklist-card {
  max-width: 480px;
  margin: 34px auto 0;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  text-align: left;
}

.checklist-card h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-icon svg {
  width: 13px;
  height: 13px;
}

/* ---------- Photo slots ---------- */

.photo-slot {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(150deg, #ffd6e9, #ffb3d6);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.photo-slot::before {
  content: attr(data-label);
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #8a1e52;
  padding: 12px;
  border: 2px dashed rgba(138, 30, 82, 0.35);
  border-radius: 14px;
}

.photo-slot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot.wide {
  aspect-ratio: 4 / 3;
}

/* ---------- Scroller (linhas de fotos / carrossel) ---------- */

.scroller-wrap {
  position: relative;
}

.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.scroller .photo-slot {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

.scroller-arrows {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  margin: 0;
  z-index: 3;
}

.scroller-arrows .scroller-arrow {
  pointer-events: auto;
}

.scroller-arrows.below {
  position: static;
  transform: none;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.scroller-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 15, 20, 0.45);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
}

.scroller-arrow:hover {
  background: rgba(20, 15, 20, 0.65);
  transform: scale(1.05);
}

/* ---------- Curriculum carousel cards ---------- */

.curriculum-card {
  flex: 0 0 230px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  aspect-ratio: auto;
  scroll-snap-align: start;
}

.curriculum-card .step {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.curriculum-card h3 {
  font-size: 18px;
  margin-bottom: 0;
}

/* ---------- "Material certo" — feature block ---------- */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.feature-block h2 {
  font-size: 28px;
}

/* ---------- Objeções (barras pretas) ---------- */

.doubt-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}

.doubt-q {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 22px;
  font-size: 16px;
}

.doubt-a {
  padding: 18px 22px;
  font-size: 15px;
  color: var(--text-soft);
}

/* ---------- Cartão instrutora + produto (combinado) ---------- */

.instructor-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text-dark);
  text-align: left;
}

.instructor-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--pink-dark), var(--black));
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-photo[data-label]::before {
  content: attr(data-label);
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  border: 2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 14px;
}

.instructor-photo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--pink);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.instructor-bio {
  background: var(--black);
  color: rgba(255, 255, 255, 0.92);
  padding: 26px 26px 22px;
  font-size: 13.5px;
  line-height: 1.6;
}

.instructor-bio p {
  margin: 0 0 10px;
}

.instructor-bio p:last-child {
  margin-bottom: 0;
}

.instructor-bio .placeholder-note {
  color: var(--pink);
  font-style: italic;
}

.instructor-offer {
  padding: 26px;
  text-align: center;
}

.instructor-offer h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.instructor-offer p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.offer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--pink-dark);
  margin-bottom: 10px;
}

.price-old {
  font-size: 16px;
  text-decoration: line-through;
  opacity: 0.6;
  margin-bottom: 0;
}

.price-new {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--price-green);
  margin-bottom: 18px;
}

/* ---------- CTA final ---------- */

.final-cta {
  text-align: center;
}

.final-cta .trust-note {
  margin-top: 18px;
  font-size: 13.5px;
  opacity: 0.9;
  line-height: 1.7;
}

.final-cta .disclaimer {
  margin-top: 26px;
  font-size: 12px;
  opacity: 0.75;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */

footer {
  background: var(--pink-deep);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 22px 0 30px;
}

footer p {
  font-size: 12.5px;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero .sub {
    font-size: 16px;
  }

  .checklist-card {
    padding: 26px 22px;
  }

  .scroller .photo-slot {
    flex-basis: 160px;
  }

  .curriculum-card {
    flex-basis: 190px;
    padding: 24px 16px;
  }
}
