/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7faf8;
  --bg-soft: #eef6f1;
  --surface: #ffffff;
  --text: #14231c;
  --text-muted: #4d6358;
  --primary: #1f8a5b;
  --primary-dark: #176b46;
  --primary-soft: #d8f3e6;
  --accent: #e8a838;
  --accent-hover: #d49420;
  --border: rgba(20, 35, 28, 0.08);
  --shadow: 0 18px 50px rgba(20, 55, 40, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1080px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-up {
  animation: fadeUp 0.7s ease both;
}

.fade-up--delay {
  animation-delay: 0.12s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: linear-gradient(180deg, #f0b84a 0%, var(--accent) 45%, var(--accent-hover) 100%);
  color: #1a1408;
  box-shadow:
    0 10px 28px rgba(232, 168, 56, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(232, 168, 56, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--lg {
  width: 100%;
  max-width: 360px;
  min-height: 56px;
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(31, 138, 91, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(232, 168, 56, 0.12), transparent 50%),
    linear-gradient(180deg, #f3faf6 0%, var(--bg) 100%);
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5.5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9rem;
  max-width: 18ch;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 1.4rem;
}

.price-block {
  margin-bottom: 1.25rem;
}

.price-block__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.price-block__row {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  color: var(--primary-dark);
}

.price-block__currency {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.45rem;
  margin-right: 0.15rem;
}

.price-block__value {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.price-block__cents {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.45rem;
}

.hero__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== eBook Mockup (capa real) ===== */
.hero__visual {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0 0.75rem;
}

.ebook-mockup {
  position: relative;
  width: min(280px, 78vw);
  animation: float 5.5s ease-in-out infinite;
}

.ebook-mockup__shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6%;
  height: 14%;
  background: radial-gradient(ellipse, rgba(20, 55, 40, 0.3), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.ebook-mockup__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 40px rgba(15, 50, 35, 0.28));
  border-radius: 4px;
}

/* ===== Sections ===== */
.section {
  padding: 0.5rem 0 2.5rem;
}

/* ===== Benefits ===== */
.benefits__grid {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: 0 4px 20px rgba(20, 55, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Learn ===== */
.learn__wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.3rem;
  box-shadow: 0 8px 30px rgba(20, 55, 40, 0.05);
}

.learn h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.learn__list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.learn__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.learn__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 0.1rem;
}

/* ===== Trust ===== */
.trust {
  padding-bottom: 3rem;
}

.trust__wrap {
  background: linear-gradient(165deg, #124a32 0%, #0d3323 100%);
  color: #f2faf6;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.75rem 1.3rem 1.9rem;
  box-shadow: 0 20px 50px rgba(13, 51, 35, 0.25);
}

.trust__items {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.trust__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.trust__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: #f0c15a;
  display: grid;
  place-items: center;
}

.trust__icon svg {
  width: 20px;
  height: 20px;
}

.trust__item strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.trust__item p {
  font-size: 0.88rem;
  opacity: 0.75;
}

.cta-final {
  text-align: center;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-final__price {
  font-size: 1rem;
  margin: 1.15rem 0 1rem;
  opacity: 0.9;
}

.cta-final__price strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #f5d07a;
}

.cta-final .btn {
  max-width: 100%;
}

/* ===== Footer ===== */
.footer {
  padding: 1.25rem 0 1.75rem;
  text-align: center;
}

.footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Tablet+ ===== */
@media (min-width: 640px) {
  .hero {
    padding: 2.75rem 0 3rem;
  }

  .benefits__grid {
    grid-template-columns: 1fr 1fr;
  }

  .learn__wrap {
    padding: 2rem 2.25rem;
  }

  .trust__wrap {
    padding: 2.1rem 2.25rem 2.25rem;
  }

  .trust__items {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .btn--lg {
    width: auto;
    min-width: 280px;
  }

  .cta-final .btn {
    width: auto;
    min-width: 300px;
  }
}

/* ===== Desktop ===== */
@media (min-width: 900px) {
  .hero {
    padding: 3.5rem 0 3.25rem;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero__sub {
    font-size: 1.1rem;
    max-width: 38ch;
  }

  .ebook-mockup {
    width: min(340px, 100%);
  }

  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 0.25rem 0 3rem;
  }

  .card {
    padding: 1.35rem 1.2rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .ebook-mockup {
    animation: none;
  }

  .btn,
  .card {
    transition: none;
  }
}
