html {
  scroll-behavior: smooth;
}

:root {
  --bg: #0f0f14;
  --card: #2a2b32;
  --text: #e9e9ee;
  --muted: #999;
  --accent: #ff4b4b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  position: relative;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

.logo-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1d1e23;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark {
  width: 14px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: inline-block;
}

/* Contador de passos */
.step-counter {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Barra de progresso */
.progress-container {
  width: 100%;
  height: 3px;
  background: #333;
  position: relative;
}

.progress-bar {
  height: 3px;
  background: #ff4b4b;
  width: 0%;
  transition: width 0.3s ease;
}

/* Steps container */
.container {
  max-width: 720px;
  margin: auto;
  padding: 10px 20px 120px;
}

.step {
  display: none;
  animation: fade .3s ease;
}
.step.is-active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Titles */
.title {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 0 10px;
  text-align: center;
}
.subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
}

/* Grid options (cards) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;

  width: 100%;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  background: #2A2930; /* cor do fundo escuro */
  cursor: pointer;
  padding: 0;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.card.active {
  border-color: var(--accent);
}

/* Fundo com imagem */
.photo {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* imagem contida */
  object-position: center;
}

.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent); /* cor da faixa vermelha */
  color: #fff;
  text-align: center;
  font-weight: 600;
  padding: 10px 0;
  font-size: 14px;
}

/* Options (checkboxes/radios) */
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.option:hover {
  background: #3a3b42;
  transform: translateY(-2px);
}
.option input {
  display: none;
}
.option span {
  flex: 1;
  font-size: 15px;
}

.option .icon {
  width: 28px;
  height: 28px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Para opções com imagem */
.option .photo {
  position: relative;   /* não mais absolute */
  width: 60px;          /* tamanho fixo para o ícone */
  height: 60px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Para cards de imagem inteira (como a página 2 e 5) */
.full-card {
  width: 100%;
  max-width: 420px;
  margin: 20px auto;
  border: none;          /* remove borda */
  border-radius: 0;      /* remove borda arredondada */
  overflow: hidden;
  cursor: pointer;
  background: transparent; /* sem fundo */
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-card .full-image {
  width: 100%;
  height: auto;          /* altura automática */
  aspect-ratio: 16 / 9;  /* opcional: mantém proporção widescreen */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.option input:checked + span,
.option input:checked ~ span {
  color: #fff;
  font-weight: 500;
}
.option input:checked ~ span::before {
  content: "✔ ";
  color: var(--accent);
}

/* Caixinha dos ícones (Página 3 e similares) */
.icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Info screens */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  align-items: center;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  max-width: 360px;
}

.info-item .photo {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 12px;
}

.info-points {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.info-points li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.info-points li::before {
  content: "▶";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Small footnote text */
.small {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

/* Continue button */
.cta {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  text-align: center;
}

.btn-primary {
  width: 100%;
  padding: 50px;
  font-size: 30px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(90deg, #ff4b4b, #ff6a4b);
  color: #fff;
  transition: opacity .2s;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================
   IMAGENS DO QUIZ
   ============================ */

/* Para cards normais */
.card .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  border-radius: 12px;
}

/* Página 1 */
.ph-1 { background-image: url("img/pg1/pagina1-1.webp"); }
.ph-2 { background-image: url("img/pg1/pagina1-2.webp"); }
.ph-3 { background-image: url("img/pg1/pagina1-3.webp"); }
.ph-4 { background-image: url("img/pg1/pagina1-4.webp"); }

/* Página 2 (imagem única) */
.ph-info { background-image: url("img/pg2/pagina2.webp"); }


/* Página 3 */
.ph-3-1 { background-image: url("img/pg3/pagina3-1.webp"); }
.ph-3-2 { background-image: url("img/pg3/pagina3-2.webp"); }
.ph-3-3 { background-image: url("img/pg3/pagina3-3.webp"); }
.ph-3-4 { background-image: url("img/pg3/pagina3-4.png"); }

/* Página 4 */
.ph-4-1 { background-image: url("img/pg4/pagina4-1.png"); }
.ph-4-2 { background-image: url("img/pg4/pagina4-2.png"); }
.ph-4-3 { background-image: url("img/pg4/pagina4-3.png"); }
.ph-4-4 { background-image: url("img/pg4/pagina4-4.png"); }

/* Página 5 (imagem única) */
.ph-pelvic { background-image: url("img/pg5/pagina5.webp"); }

/* Página 6 */
.ph-6-1 { background-image: url("img/pg6/pagina6-1.png"); }
.ph-6-2 { background-image: url("img/pg6/pagina6-2.png"); }
.ph-6-3 { background-image: url("img/pg6/pagina6-3.png"); }
.ph-6-4 { background-image: url("img/pg6/pagina6-4.png"); }
.ph-6-5 { background-image: url("img/pg6/pagina6-5.png"); }

/* Página 7 */
.ph-7-1 { background-image: url("img/pg7/pagina7-1.png"); }
.ph-7-2 { background-image: url("img/pg7/pagina7-2.png"); }
.ph-7-3 { background-image: url("img/pg7/pagina7-3.png"); }
.ph-7-4 { background-image: url("img/pg7/pagina7-4.png"); }

/* Página 8 */
.ph-8-1 { background-image: url("img/pg8/pagina8-1.png"); }
.ph-8-2 { background-image: url("img/pg8/pagina8-2.png"); }
.ph-8-3 { background-image: url("img/pg8/pagina8-3.png"); }
.ph-8-4 { background-image: url("img/pg8/pagina8-4.png"); }

/* Página 9 */
.ph-9-1 { background-image: url("img/pg9/pagina9-1.png"); }
.ph-9-2 { background-image: url("img/pg9/pagina9-2.png"); }
.ph-9-3 { background-image: url("img/pg9/pagina9-3.png"); }
.ph-9-4 { background-image: url("img/pg9/pagina9-4.png"); }
.ph-9-4 { background-image: url("img/pg9/pagina9-5.png"); }

/* Página 11 */
.ph-11-1 { background-image: url("img/pg11/pagina11-1.png"); }
.ph-11-2 { background-image: url("img/pg11/pagina11-2.png"); }
.ph-11-3 { background-image: url("img/pg11/pagina11-3.png"); }
.ph-11-4 { background-image: url("img/pg11/pagina11-4.png"); }

/* Página 13 */
.ph-13-1 { background-image: url("img/pg13/pagina13-1.png"); }
.ph-13-2 { background-image: url("img/pg13/pagina13-2.png"); }
.ph-13-3 { background-image: url("img/pg13/pagina13-3.png"); }
.ph-13-4 { background-image: url("img/pg13/pagina13-4.png"); }

/* Página 14 */
.ph-14-1 { background-image: url("img/pg14/pagina14-1.webp"); }
.ph-14-2 { background-image: url("img/pg14/pagina14-2.webp"); }
.ph-14-3 { background-image: url("img/pg14/pagina14-3.webp"); }
.ph-14-4 { background-image: url("img/pg14/pagina14-4.webp"); }






.full-image {
  width: 100%;
  height: 100%;
  min-height: 240px;   /* 🔥 garante altura */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* === GRID CARDS COM IMAGEM EM CIMA E TEXTO EMBAIXO === */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.option-grid label {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  text-align: center;
  transition: border 0.2s, transform 0.2s;
}

.option-grid label:hover {
  transform: translateY(-3px);
}

.option-grid input {
  display: none;
}

.option-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 10px;
}

.option-grid span {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.option-grid input:checked + img,
.option-grid input:checked ~ img {
  border: 2px solid var(--accent);
}

.option-grid input:checked + span,
.option-grid input:checked ~ span {
  color: var(--accent);
  font-weight: 600;
}


/* progresso final */

/* Progress circle */
.progress-circle {
  width: 150px;
  height: 150px;
  position: relative;
  margin: 20px auto;
}

.progress-circle svg {
  width: 150px;
  height: 150px;
  transform: rotate(-90deg);
  overflow: visible;   /* garante que o stroke não corte */
}


.progress-circle circle {
  fill: none;
  stroke: #222;
  stroke-width: 15;
  stroke-linecap: round;
}

.progress-circle #progress {
  stroke: #ff4b4b;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 0.3s linear;
}

.percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
}

.highlight {
  color: #ff4b4b;
  font-weight: bold;
  display: flex;
  justify-content: center;  /* centraliza horizontal */
  align-items: center;      /* centraliza vertical */
}

h2 {
  text-align: center; /* centraliza todo o conteúdo dentro do h2 */
}


/* Modal */


.hidden {
  display: none;
}

.modal-content {
  background: #1e1e26;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 300px;
}

.modal-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

.buttons {
  display: flex;
  justify-content: space-between;
}

.btn {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn.no {
  background: #fff;
  color: #000;
}

.btn.yes {
  background: #ff4b4b;
  color: #fff;
}

/*tela de email*/

/* Email Capture */
.email-input {
  display: flex;
  align-items: center;
  border: 1px solid #666;
  border-radius: 8px;
  padding: 12px;
  margin: 20px auto;
  max-width: 320px;
  background: #0f0f14;
}

.email-input .icon {
  font-size: 18px;
  margin-right: 10px;
  color: #fff;
}

.email-input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.privacy {
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
  text-align: center;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

/* Botão */
.btn-primary {
  background: #ff4b4b;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  margin-top: 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 90%;
  max-width: 350px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-primary:hover {
  background: #ff3333;
}

.btn-checkout {
  background: #ff4b4b;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  margin-top: 40px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  width: 90%;
  max-width: 350px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-checkout:hover {
  background: #ff3333;
}


.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.modal-box {
  position: relative;
  background: #111; /* fundo checkout */
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.modal-box h2 {
  margin-bottom: 15px;
  text-align: center;
}

#payButton, #closeCheckout {
  margin-top: 15px;
  width: 100%;
}

.checkout-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.checkout-content {
  background: #1d1e23;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
}


/* --- Tela Final Fullscreen --- */
.final-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  z-index: 9999;
  padding: 20px;
}

.final-screen.hidden {
  display: none;
}

.final-content {
  max-width: 420px;
  width: 100%;
  background: #111;
  border-radius: 12px;
  padding: 20px;
}

/* Header */
.final-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.final-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Métodos de pagamento */
.payment-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-option {
  flex: 1;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease-in-out;
}

.payment-option img {
  height: 18px;
}

.payment-option.active {
  border: 2px solid #ff4b4b;
  background: #222;
}

/* Resumo */
.payment-summary {
  margin-bottom: 20px;
  font-size: 14px;
}

.payment-summary .price {
  float: right;
  font-weight: bold;
  color: #fff;
}

.payment-summary .discount {
  font-size: 13px;
  margin-top: 6px;
  color: #aaa;
}

.payment-summary .highlight {
  color: #ff4b4b;
  font-weight: 600;
}

/* Benefícios */
.payment-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.payment-benefits li {
  font-size: 13px;
  margin: 6px 0;
  color: #ddd;
}

.payment-benefits del {
  color: #888;
  margin: 0 6px;
}

/* Área de ações */
.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Apple Pay */
.apple-pay {
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

/* Formulário de cartão */
.card-form {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 8px;
}

.card-form.hidden {
  display: none;
}

.card-form input {
  width: 100%;
  padding: 12px;
  margin: 6px 0;
  border: none;
  border-radius: 6px;
  background: #2a2a2a;
  color: #fff;
  font-size: 14px;
}

.card-form .card-row {
  display: flex;
  gap: 10px;
}

/* Botão de pagamento */
.btn-pay {
  background: linear-gradient(90deg, #ff4b4b, #ff0000);
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btn-pay:hover {
  opacity: 0.9;
}

/* ==========================
   CHECKOUT (isolado)
   ========================== */

.step[data-name="checkout"] {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

/* Header de desconto ocupa a largura total */
.discount-header {
  position: relative;
  left: 0;
  width: 100vw;              /* ocupa 100% da tela */
  background: #1e1d22;
  padding: 16px 30px;

  display: flex;
  justify-content: center;   /* centraliza o conteúdo */
  align-items: center;
  gap: 20px;

  font-size: 16px;
  font-weight: 500;

  box-sizing: border-box;    /* garante que padding não estoure */
}



/* Texto do timer */
.discount-header strong {
  color: #ff4b4b;
  font-size: 20px;
  font-weight: 700;
}

/* Botão do header */
.discount-header .btn-discount {
  background: linear-gradient(90deg, #ff4b4b, #ff6a4b);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.2s;
  text-decoration: none;
}

.discount-header .btn-discount::after {
  content: "GET -50%";     /* texto original */
}

.discount-header .btn-discount:hover::after {
  content: "Get my plan";  /* texto quando passa o mouse */
}


/* ==========================
   CHECKOUT (Tela separada)
   ========================== */

#checkoutPage {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: none; /* começa escondido */
  animation: fade .3s ease;
}
#checkoutPage.active {
  display: block; /* aparece quando ativado */
}

/* Header de desconto */
#checkoutPage .discount-header {
  width: 100%;
  background: #1e1d22;
  padding: 16px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
}
#checkoutPage .discount-header strong {
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}
#checkoutPage .discount-header .btn-discount {
  background: linear-gradient(90deg, #ff4b4b, #ff6a4b);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.2s;
}
#checkoutPage .discount-header .btn-discount:hover {
  opacity: 0.9;
}




/* === PLANOS - estilo igual à referência === */
.plans {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

/* Estrutura geral */
.plan-option {
  position: relative;
  display: block;
  border-radius: 16px;
  background: #1e1e1e;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.plan-option input {
  display: none;
}

.plan-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-radius: 16px;
  transition: all 0.25s ease;
}

/* Texto do plano */
.plan-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.2px;
}

.old-price {
  font-size: 13px;
  color: #cbcbcb;
  text-decoration: line-through;
}

.old-price2 {
  font-size: 13px;
  color: #cbcbcb;
}

/* Caixa do preço à direita */
.plan-price {
  background: #000;
  color: #fff;
  padding: 10px 26px 10px 34px;
  border-radius: 0 14px 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 120px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
}

.plan-price .currency {
  font-size: 12px;
  opacity: 0.85;
}

.plan-price .amount {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.plan-price .decimals {
  font-size: 15px;
  font-weight: 700;
  margin-left: 1px;
}

.plan-price .per {
  font-size: 12px;
  font-weight: 400;
  margin-left: 5px;
  opacity: 0.9;
}

/* Estado selecionado */
.plan-option input:checked + .plan-content {
  background: #ff4b4b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 75, 75, 0.4);
}

.plan-option input:checked + .plan-content .plan-price {
  background: #000;
}

/* Badge de recomendação */
.plan-option .badge {
  position: absolute;
  top: -14px;
  right: 16px;
  background: #fff;
  color: #ff4b4b;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

#plans-4 .badge {
  display: inline-block;
}

/* Hover */
.plan-option:hover .plan-content {
  background: #2a2a2a;
  transform: translateY(-2px);
}

/* Botão "Get my plan" */
.btn-plan {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff4b4b, #ff6a4b);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: 0.25s;
}

.btn-plan:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

/* Responsivo */
@media (max-width: 480px) {
  .plan-content {
    padding: 16px 14px;
  }
  .plan-price {
    padding: 8px 20px 8px 26px;
    min-width: 110px;
  }
  .plan-name {
    font-size: 14px;
  }
  .plan-price .amount {
    font-size: 40px;
  }
}









/* Benefícios */
#checkoutPage .benefits {
  margin-bottom: 30px;
}
#checkoutPage .benefits ul {
  text-align: left;
  margin-bottom: 20px;
}

/* Reviews */
#checkoutPage .reviews {
  margin-bottom: 30px;
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
}

/* Garantia */
#checkoutPage .guarantee {
  background: var(--card);
  border: 1px solid var(--accent);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
#checkoutPage .guarantee h2 {
  color: var(--accent);
}




.plan-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #2a2b32;
  padding: 14px;
  border-radius: 12px;
  margin: 20px 0;
}
.plan-icon {
  font-size: 28px;
  background: #ff4b4b;
  color: #fff;
  padding: 10px;
  border-radius: 12px;
}
.plan-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.plan-info p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.feature-title {
  font-size: 14px;
  text-align: center;
  margin: 20px 0;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.feature-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 8px 0;
  color: #ddd;
}
.feature-list del {
  color: #888;
  margin-right: 8px;
}

.card-logos {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 20px;
}
.card-logos img {
  height: 24px;
}




.error-message {
  color: #ff4b4b;
  font-size: 13px;
  margin-top: 8px;
}

#payment-element {
  min-height: 80px;   /* garante espaço */
  margin: 16px 0;
}

/* Container PayPal */
#paypal-button-container {
  width: 100%;
  margin-top: 16px;
  display: none;            /* começa escondido */
  min-height: 45px;         /* espaço reservado para o botão */
  justify-content: center;  /* centraliza os botões */
  align-items: center;
}

#paypal-button-container > div {
  width: 100% !important;   /* força os botões ocuparem largura */
  max-width: 420px;         /* limite para não ficar gigante */
  margin: 0 auto;
}


/* Tela FInal */

/* Now vs Goal */
.comparison {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  text-align: center;
}

.comparison-item {
  flex: 1;
  max-width: 220px;
}

.comparison-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.title-goal { color: var(--accent); } /* vermelho */
.title-now { color: #fff; }          /* branco */

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;

  display: flex;               /* vira um flex container */
  justify-content: center;     /* centraliza horizontalmente */
  align-items: center;         /* centraliza verticalmente */
  height: 150px;               /* 🔥 altura fixa (pode ajustar) */
}

.card img {
  max-width: 100%;              /* garante que não ultrapasse a borda */
  max-height: 100%;            /* respeita altura do card */
  object-fit: contain;         /* mantém proporção da imagem */
}

.card.goal {
  background: radial-gradient(circle at top, #ff4b4b 0%, #ec3749 70%);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;  /* espaço entre os quadrantes */
  margin-bottom: 30px; /* 🔥 espaço embaixo do bloco inteiro */
}

.stat {
  padding-bottom: 12px; /* 🔥 espaço interno embaixo */
}

.stat .label {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.stat .value {
  font-size: 14px;
  margin: 4px 0 8px;
  color: #bbb;
}

.bar {
  background: #2d2d2d;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.fill {
  height: 100%;
  border-radius: 6px;
  background: #ff4b4b;
}

/* Largura personalizada */
.fill.average { width: 35%; }
.fill.great { width: 90%; }
.fill.beginner { width: 25%; }
.fill.advanced { width: 95%; }


.btn-plan {
  width: 100%;
  max-width: 300px;                 /* limite opcional */
  padding: 18px;
  font-size: 22px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(90deg, #ff4b4b, #ff6a4b);
  color: #fff;
  display: block;                   /* garante quebra correta */
  margin: 20px auto;                /* centraliza se o container for maior */
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-bottom: 15px;
}

.btn-plan:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

.subscription-note {
  font-size: 12px;     /* 🔥 menor */
  line-height: 1.5;    /* espaço entre linhas */
  color: #8f8f8f;         /* cinza mais suave */
  margin-top: 30px;    /* espaço do conteúdo anterior */
  text-align: center;  /* opcional */
}






/* Benefits */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 16px; /* espaço entre as caixinhas */
}

.benefit-item {
  background: var(--card, #1e1d22); /* cor da caixinha */
  padding: 16px;
  border-radius: 12px;
  color: #e9e9ee;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}

/* Ícone vermelho na esquerda */
.benefit-item::before {
  content: "✔"; /* pode trocar por SVG ou imagem */
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff4b4b;
  font-size: 16px;
}

/* Ajusta o texto pra não ficar em cima do ícone */
.benefit-item p {
  margin: 0;
  padding-left: 28px;
}

.offer-2 {
  width: 100%;
  background: url("img/minha-imagem.png") no-repeat center center;
  background-size: cover; /* cobre a tela inteira */
}

.covered-in {
  padding: 26px;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}

/* carrossel */
.logo-carousel {
  overflow: hidden;     /* esconde o que passar da borda */
  white-space: nowrap;  /* impede quebra de linha */
  width: 100%;          /* ocupa largura total */
  padding: 20px 0;
}

.logo-track {
  display: inline-flex;
  gap: 20px; /* espaço entre logos */
  animation: scroll 30s linear infinite; /* movimento automático */
}

.logo-carousel img {
  height: 100px;    /* ajusta altura dos logos */
  width: auto;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

/* Animação para mover as imagens */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

.love-relatio {
  padding: 20px;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  font-weight: 400;
  margin-top: 20px;
}



/* Comentários */

.review-card {
  background: #1e1d22;       /* fundo escuro */
  color: #e9e9ee;           /* cor do texto */
  border-radius: 12px;      /* cantos arredondados */
  padding: 16px;
  max-width: 360px;         /* largura parecida com a do print */
  font-family: "Inter", sans-serif;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}


.review-avatar-A {
  background: #fbd22a;      /* cor amarela do avatar */
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-avatar-M {
  background: #2adcfb;      /* cor amarela do avatar */
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-avatar-D {
  background: #aaaaaa;      /* cor amarela do avatar */
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-avatar-CA {
  background: #1b39c2;      /* cor amarela do avatar */
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.review-info .details {
  font-size: 12px;
  color: #aaa;
}

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 12px 0;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 10px;
}

.review-rating img {
  height: 18px;  /* imagem das estrelas */
}

.review-rating .verified {
  color: #bbb;
}

.review-rating .time {
  margin-left: auto;
  color: #bbb;
}

.review-body h5 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
}

.review-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #ccc;
}

.Offer-1 {
  display: block;          /* remove espaços indesejados */
  max-width: 100%;         /* nunca passa da largura da tela */
  max-height: 100vh;       /* nunca passa da altura da tela */
  width: auto;             /* mantém proporção */
  height: auto;            /* mantém proporção */
  margin: 0 auto;          /* centraliza horizontalmente */
  object-fit: contain;     /* garante que fique contida */
  padding-bottom: 20px;
}



.payment-safe {
  text-align: center;
  margin: 30px auto;
  color: #ccc;
  font-size: 20px;
  font-weight: 500;
}

.payment-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; /* espaço entre o cadeado e o texto */
  margin-bottom: 20px;
}

.payment-header .lock-icon {
  width: 18px;
  height: 18px;
}

.payment-logos {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap; /* permite quebrar em telas menores */
}

.payment-logos img {
  height: 42px; /* tamanho fixo dos ícones */
  object-fit: contain;
}

.wyg {
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  margin-top: 10px;
}

.cyp {
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  color: white;
  margin-bottom: 10px;
  margin-top: 20px;
}

/* FAQ */

.faq {
  max-width: 600px;
  margin: 40px auto;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.faq h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  color: #fff;
  text-align: left;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px; /* espaço para a seta */
}

.faq-question:hover {
  color: #ff5f5f;
}

.faq-question.active {
  color: #ff5f5f;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #242424;
  padding: 0 20px;
  border-top: 1px solid #333;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: 15px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 15px 20px;
}

.faq-question .arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0.7;
}

.faq-item.active .arrow {
  transform: translateY(-50%) rotate(-135deg);
  border-color: #ff5f5f; /* cor da sua marca */
  opacity: 1;
}

img[alt="verified badge"] {
  filter: invert(53%) sepia(83%) saturate(4234%) hue-rotate(340deg) brightness(102%) contrast(102%);
}

#apple-pay-button {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 50px !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  border-radius: 8px;
  overflow: visible !important;
  visibility: visible !important;
  z-index: 10;
  position: relative;
}

/* ======== TELA FINAL (GRÁFICO RELATIO) ======== */
.relatio-final-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #0f0f12;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
  animation: fadeUp 0.6s ease-out both;
}

/* ====== CONTEÚDO ====== */
/* ====== CONTEÚDO FINAL ====== */
.relatio-final-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 0;
  margin-top: -60px; /* 🔼 puxa o conteúdo mais pro topo */
}

/* ====== TÍTULO ====== */
.relatio-final-content h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px; /* 🔥 tamanho aumentado */
  line-height: 1.3;
  color: #fff;
  margin: 0 0 30px 0; /* espaçamento inferior */
  max-width: 90%;
  text-align: center;
  animation: fadeUp 0.9s ease-out both;
}

.relatio-final-content h2 span {
  color: #ff4b4b;
  font-weight: 700;
}

/* ====== GRÁFICO ====== */
.relatio-final-chart {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  animation: fadeUp 1s ease-out both;
}

.relatio-final-chart canvas {
  width: 100% !important; /* 🔄 canvas totalmente responsivo */
  height: auto !important;
  display: block;
}

/* ====== LABELS ====== */
.relatio-final-label {
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  padding: 4px 8px;
  white-space: nowrap;
}

.relatio-final-label.today {
  background: #444;
  color: #fff;
  left: 25px;
  bottom: 35px;
}

.relatio-final-label.after {
  background: #ff4b4b;
  color: #fff;
  right: 12px;
  top: 45px;
}

/* ====== TEXTO FINAL (embaixo do gráfico) ====== */
.relatio-final-text {
  color: #ccc;
  font-size: 15px;
  margin-top: 22px;
  animation: fadeUp 1.2s ease-out both;
}

/* ====== REMOVE SETAS E ÍCONES DE CABEÇALHO ====== */
.relatio-final-header,
.relatio-final-back,
.relatio-final-logo {
  display: none !important;
}

/* ====== ANIMAÇÃO ====== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 600px) {
  .relatio-final-content {
    margin-top: -80px; /* 🔼 sobe mais o conteúdo no mobile */
  }

  .relatio-final-content h2 {
    font-size: 22px; /* 🔠 título ainda grande no mobile */
    margin-bottom: 25px;
  }

  .relatio-final-chart {
    max-width: 95%;
    height: auto;
  }

  .relatio-final-label.today {
    left: 12px;
    bottom: 25px;
    font-size: 11px;
  }

  .relatio-final-label.after {
    right: 8px;
    top: 35px;
    font-size: 11px;
  }

  .relatio-final-text {
    font-size: 13px;
    margin-top: 16px;
  }
}

/* ====== EXTRA: TELAS MENORES AINDA ====== */
@media (max-width: 400px) {
  .relatio-final-content h2 {
    font-size: 20px;
  }
}

/* ====== COMENTÁRIOS AUTO-ROLANTES ====== */
.relatio-reviews {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 30px auto 0;
  padding: 10px 0;
}

.review-track {
  display: flex;
  gap: 18px;
  animation: scrollReviews 40s linear infinite;
  width: max-content;
}

.review-card {
  flex: 0 0 auto;
  background: #1b1b1b;
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  width: 260px;
  min-height: 150px;
  box-shadow: 0 0 8px rgba(255, 75, 75, 0.15);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.review-header .avatar {
  background: #ff4b4b;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.review-header .info h4 {
  font-size: 14px;
  margin: 0;
}

.review-header .info span {
  font-size: 12px;
  color: #bbb;
}

.review-title {
  font-weight: 600;
  font-size: 14px;
  margin: 8px 0 4px 0;
}

.review-text {
  font-size: 13px;
  line-height: 1.5;
  color: #ccc;
}

/* ====== Animação de rolagem ====== */
@keyframes scrollReviews {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ====== MOBILE ====== */
@media (max-width: 600px) {
  .review-card {
    width: 220px;
    font-size: 12px;
  }
  .review-title {
    font-size: 13px;
  }
  .review-text {
    font-size: 12px;
  }
}
