/* ========================================
   BASE — ESTRUTURA ORIGINAL CENTRALIZADA
======================================== */

:root {
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --green: #16a34a;
  --green-dark: #15803d;
  --red: #dc2626;
  --ink: #020617;
  --muted: #3f3f46;
  --line: #e5e7eb;
  --soft-line: #f1f5f9;
  --white: #ffffff;
  --page-width: 28rem;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.tracking-frame {
  display: none;
  visibility: hidden;
}

.top-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--purple);
}

.site-page {
  width: min(calc(100% - 28px), var(--page-width));
  margin-inline: auto;
}

.block {
  padding: 22px 0;
  text-align: center;
}

.hero-block {
  /* Espaço superior semelhante ao início da página original. */
  padding-top: 88px;
}

.block + .block {
  border-top: 1px solid transparent;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 5.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 25rem;
  margin-inline: auto;
  margin-bottom: 20px;
  font-size: clamp(1.25rem, 4.7vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h2 span {
  color: var(--purple);
}

p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.92rem;
}

.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 21rem);
  min-height: 52px;
  margin-top: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.main-button:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.24);
  transform: translateY(-1px);
}

/* ========================================
   CARROSSEL DO INÍCIO
======================================== */

.hero-carousel {
  /* A imagem fica mais estreita que o restante do conteúdo. */
  width: min(100%, 23rem);
  margin: 0 auto 30px;
}

.hero-carousel-viewport {
  width: 100%;
  height: 340px;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  cursor: grab;
  touch-action: pan-y;
}

.hero-carousel-viewport:active {
  cursor: grabbing;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.9s ease-in-out;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  height: 340px;
  margin: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #fff;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d4d4d8;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--purple);
}

.hero-copy {
  max-width: 25rem;
  margin-inline: auto;
}

.hero-copy h1 {
  max-width: 24rem;
  margin-inline: auto;
  font-size: clamp(1.45rem, 4vw, 1.68rem);
}

.hero-copy p {
  max-width: 24rem;
  margin-inline: auto;
}

/* ========================================
   ANTES E DEPOIS
======================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-card {
  min-width: 0;
  padding: 18px 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-card p {
  margin: 12px 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.donut {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
}

.donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 66px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.donut strong {
  z-index: 1;
  grid-area: 1 / 1;
  font-size: 1rem;
}

.donut-red {
  color: var(--red);
  background: conic-gradient(var(--red) 0 30%, #e5e7eb 30% 100%);
}

.donut-green {
  color: var(--green);
  background: conic-gradient(var(--green) 0 100%);
}

.red-text {
  color: var(--red);
}

.green-text {
  color: var(--green);
}

/* ========================================
   CARDS SIMPLES
======================================== */

.stack-list,
.feature-list,
.testimonial-list {
  display: grid;
  gap: 12px;
}

.simple-card,
.testimonial-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.simple-card h3,
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.25;
}

.simple-card p,
.feature-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.feature-list {
  gap: 20px;
}

.feature-card {
  overflow: hidden;
  border: 0;
  background: #fff;
}

.feature-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-copy {
  padding: 12px 8px 0;
}

/* ========================================
   OFERTA
======================================== */

.offer-block > p {
  max-width: 26rem;
  margin-inline: auto;
}

.price-card {
  overflow: hidden;
  width: 100%;
  margin-top: 18px;
  border: 3px solid var(--green);
  border-radius: 14px;
  background: #fff;
}

.price-banner {
  padding: 10px 14px;
  color: #fff;
  background: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.price-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 12px;
  text-align: left;
}

.price-copy {
  font-size: 0.95rem;
}

.price-values {
  display: grid;
  justify-items: end;
}

.old-price {
  color: #71717a;
  font-size: 0.7rem;
  text-decoration: line-through;
}

.current-price {
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.installments {
  color: #52525b;
  font-size: 0.66rem;
}

.price-button {
  width: calc(100% - 24px);
  min-height: 44px;
  margin: 0 12px 12px;
  border-radius: 8px;
}

.secure-copy {
  margin: 12px 0 0;
  font-size: 0.7rem;
}

/* ========================================
   DEPOIMENTOS
======================================== */

.testimonial-card {
  text-align: left;
}

.stars {
  margin-bottom: 5px;
  color: #f59e0b;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.testimonial-card h3 {
  margin-bottom: 8px;
  font-size: 0.78rem;
  line-height: 1.25;
}

.testimonial-card blockquote {
  margin-bottom: 10px;
  color: #27272a;
  font-size: 0.78rem;
  line-height: 1.45;
}

.activity {
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 700;
}

/* ========================================
   FAQ
======================================== */

.faq-list {
  display: grid;
  gap: 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 15px 2px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  color: #a1a1aa;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2px 14px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.8rem;
}

/* ========================================
   GARANTIA
======================================== */

.guarantee-image {
  width: min(55%, 220px);
  margin: 0 auto 18px;
}

.guarantee-block p {
  max-width: 25rem;
  margin-inline: auto;
}

.guarantee-block ul {
  display: inline-grid;
  gap: 7px;
  margin: 10px auto 0;
  padding: 0;
  color: #27272a;
  font-size: 0.78rem;
  text-align: left;
  list-style: none;
}

/* ========================================
   RODAPÉ
======================================== */

.site-footer {
  margin-top: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--soft-line);
  background: #fff;
  text-align: center;
}

.footer-content p {
  margin: 5px 0;
  color: #52525b;
  font-size: 0.65rem;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 480px) {
  .site-page {
    width: min(calc(100% - 22px), var(--page-width));
  }

  .block {
    padding: 18px 0;
  }

  .hero-block {
    padding-top: 54px;
  }

  .hero-carousel {
    width: min(100%, 21rem);
    margin-bottom: 25px;
  }

  .hero-carousel-viewport,
  .hero-slide {
    height: 305px;
  }

  h1 {
    font-size: 1.42rem;
  }

  h2 {
    font-size: 1.16rem;
  }

  .desktop-break {
    display: none;
  }

  .main-button {
    min-height: 48px;
    font-size: 0.85rem;
  }

  .comparison-card {
    padding-inline: 6px;
  }

  .donut {
    width: 80px;
  }

  .donut::before {
    width: 57px;
  }

  .price-content {
    padding-inline: 14px;
  }

  .current-price {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================
   AJUSTE FINAL — ESPAÇAMENTOS E TIPOGRAFIA
   Aproxima a página da estrutura publicada
======================================== */

/* O projeto original usa Inter, textos escuros e títulos com peso 700. */
body {
  color: #000000;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: 700;
}

strong,
b {
  font-weight: 600;
}

/* Reduz os espaços excessivos criados entre uma seção e outra. */
.block {
  padding: 12px 0;
}

.hero-block {
  padding-top: 78px;
  padding-bottom: 8px;
}

h1 {
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 10px;
  color: #09090b;
  font-size: 1rem;
  line-height: 1.4;
}

/* Larguras equivalentes às porcentagens usadas na página original. */
.hero-carousel {
  width: 85%;
  margin-bottom: 18px;
}

.hero-carousel-dots {
  margin-top: 8px;
}

.hero-copy {
  max-width: 90%;
}

.hero-copy h1 {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-copy p {
  max-width: 100%;
  font-size: 1rem;
}

/* Botões do original ocupam cerca de 80% do contêiner e têm 56px. */
.main-button {
  width: 80%;
  min-height: 56px;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Antes e depois */
.comparison-grid {
  width: 90%;
  margin-inline: auto;
  gap: 8px;
}

.comparison-card {
  padding: 16px 8px 12px;
}

.comparison-card p {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.35;
}

/* Público e cards simples */
.stack-list {
  width: 100%;
  gap: 8px;
}

.simple-card {
  padding: 16px;
}

.simple-card h3,
.feature-card h3 {
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.simple-card p,
.feature-card p {
  color: #09090b;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Biblioteca de materiais */
.feature-list {
  width: 90%;
  margin-inline: auto;
  gap: 18px;
}

.feature-copy {
  padding: 8px 6px 0;
}

/* A segunda linha roxa é maior na página publicada. */
.block:nth-of-type(4) > h2 span {
  display: block;
  margin-top: 1px;
  font-size: 1.28em;
  line-height: 1.02;
  font-weight: 700;
}

/* Oferta */
.offer-block {
  padding-top: 16px;
}

.offer-block > p {
  max-width: 90%;
  font-size: 1rem;
}

.price-card {
  width: 95%;
  margin: 14px auto 0;
}

.price-banner {
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-content {
  padding: 13px 15px 10px;
}

.price-copy {
  font-size: 0.875rem;
}

.price-card .price-button {
  width: calc(100% - 20px);
  min-height: 46px;
  margin: 0 10px 10px;
}

.secure-copy {
  margin-top: 8px;
  font-size: 0.7rem;
}

/* Perguntas frequentes */
.faq-block {
  padding-top: 22px;
}

.faq-list {
  width: 90%;
  margin-inline: auto;
}

.faq-question {
  padding: 12px 2px;
  color: #09090b;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Garantia */
.guarantee-block {
  padding-top: 28px;
}

.guarantee-image {
  width: 60%;
  margin-bottom: 12px;
}

.guarantee-block p {
  max-width: 90%;
  margin-bottom: 9px;
  color: #09090b;
  font-size: 1rem;
}

.guarantee-block ul {
  gap: 5px;
  margin-top: 8px;
  color: #09090b;
  font-size: 0.8rem;
}

.site-footer {
  margin-top: 14px;
  padding: 20px 0;
}

.footer-content p {
  color: #09090b;
  font-size: 0.68rem;
}

/* Ajustes específicos para celular */
@media (max-width: 480px) {
  .block {
    padding: 10px 0;
  }

  .hero-block {
    padding-top: 52px;
    padding-bottom: 6px;
  }

  .hero-carousel {
    width: 85%;
    margin-bottom: 16px;
  }

  .hero-copy h1 {
    font-size: 1.38rem;
  }

  h2 {
    margin-bottom: 12px;
    font-size: 1.18rem;
  }

  p,
  .hero-copy p,
  .offer-block > p,
  .guarantee-block p {
    font-size: 0.875rem;
  }

  .main-button {
    width: 80%;
    min-height: 52px;
    font-size: 0.82rem;
  }

  .offer-block + .block,
  .faq-block {
    padding-top: 18px;
  }

  .guarantee-block {
    padding-top: 24px;
  }
}

/* ========================================
   AJUSTE FINAL — TEXTOS MAIS EM NEGRITO
   Seções: público e biblioteca de resumos
======================================== */

/* Título "Este material foi feito para você..." */
.block:nth-of-type(3) > h2 {
  font-weight: 800;
}

/* Títulos dos dois cards */
.block:nth-of-type(3) .simple-card h3 {
  font-weight: 800;
}

/* Textos explicativos dos dois cards */
.block:nth-of-type(3) .simple-card p {
  font-weight: 500;
}

/* Botão abaixo dos cards */
.block:nth-of-type(3) .main-button {
  font-weight: 700;
}

/* Título "O que você encontrará..." */
.block:nth-of-type(4) > h2,
.block:nth-of-type(4) > h2 span {
  font-weight: 800;
}

/* Títulos e descrições dos materiais */
.block:nth-of-type(4) .feature-card h3 {
  font-weight: 800;
}

.block:nth-of-type(4) .feature-card p {
  font-weight: 500;
}

/* ========================================
   AJUSTE FINAL — BOTÕES PULSANDO
   Mesmo efeito usado na página original
======================================== */

@keyframes botao-pulsando {
  50% {
    opacity: 0.5;
  }
}

.main-button {
  animation: botao-pulsando 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mantém o botão totalmente visível durante o clique. */
.main-button:active {
  animation-play-state: paused;
  opacity: 1;
}

/* Respeita usuários que desativam animações no dispositivo. */
@media (prefers-reduced-motion: reduce) {
  .main-button {
    animation: none;
  }
}



/* ========================================
   DEPOIMENTOS — IGUAIS À PÁGINA ORIGINAL
======================================== */

.testimonial-block {
  padding-top: 22px;
}

.testimonial-block > h2 {
  margin-bottom: 14px;
}

.testimonial-list {
  width: 100%;
  margin-inline: auto;
  gap: 8px;
}

.testimonial-card {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  text-align: left;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 2px 5px rgba(0, 0, 0, 0.04);
}

.stars {
  margin: 0 0 5px;
  color: #fbbf24;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.testimonial-card h3 {
  margin: 0 0 2px;
  color: #09090b;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.activity {
  display: block;
  margin: 0 0 10px;
  color: #09090b;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
}

.testimonial-card blockquote {
  margin: 0;
  color: #09090b;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.42;
}

.testimonial-block > .main-button {
  margin-top: 18px;
}

@media (max-width: 480px) {
  .testimonial-block {
    padding-top: 18px;
  }

  .testimonial-block > h2 {
    margin-bottom: 12px;
  }

  .testimonial-card {
    padding: 13px;
    border-radius: 13px;
  }

  .testimonial-card h3,
  .testimonial-card blockquote {
    font-size: 0.72rem;
  }

  .activity {
    margin-bottom: 9px;
    font-size: 0.68rem;
  }
}
