/* Católico Produtivo — visual das páginas de venda.
   Celular = telas até 767px. Cores e medidas copiadas do site antigo (Elementor). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
}

:root {
  --azul: #42A5F5;
  --azul-2: #50a8f8;
  --azul-3: #44a4f4;
  --bege: #EFEEE7;
  --creme: #F8F7F4;
  --cartao: #ECEAE2;
  --estrela: #f0ad4e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
p { margin: 0 0 .9rem; }
h1, h2 { margin: 0; }
a { color: inherit; }

/* ---------- Seções (faixas de largura total) ---------- */
.sec { padding: 0 10px; }
.sec > .in {
  max-width: 1024px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sec.sem-espaco, .sec.sem-espaco > .in { padding: 0; }
.bg-azul { background: var(--azul); }
.bg-azul-2 { background: var(--azul-2); }
.bg-azul-3 { background: var(--azul-3); }
.bg-bege { background: var(--bege); }
.bg-creme { background: var(--creme); }
.bg-preto { background: #000; }

/* ---------- Faixa "Desconto especial" ---------- */
.faixa h2 {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
}

/* ---------- Ajustes por bloco ----------
   Cada bloco pode trazer no atributo style:
   --m / --mm   margem (computador / celular)
   --ew / --ewm largura do bloco
   --fs / --fsm tamanho da letra
   --w / --wm   largura da imagem dentro de .img */
[style*="--m:"] { margin: var(--m); }
[style*="--ew:"] { width: var(--ew); }
[style*="--fs:"] { font-size: var(--fs); }
.img img { width: var(--w, 100%); }

/* ---------- Blocos genéricos ---------- */
.inter { font-family: Inter, sans-serif; }
.centro { text-align: center; }
.meio { align-self: center; }
/* centraliza (e encolhe) só no celular */
.img { text-align: center; }
.txt { font-family: Inter, sans-serif; text-align: center; }
.branco { color: #fff; }
.preto { color: #000; }

/* Frases sobre fundo azul ("Facilitando seu estudo...") */
.frase-azul { font-family: Inter, sans-serif; font-size: 24px; color: #fff; text-align: center; }

/* Títulos tipo "Veja por Dentro" */
.titulo-secao {
  font-family: Inter, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--azul-2);
  text-align: center;
  margin-top: 35px;
  padding-bottom: .9rem;
}
.seta-baixo { text-align: center; margin-top: -25px; line-height: 1; }
.seta-baixo svg { width: 50px; height: 50px; fill: var(--azul-2); }
.seta-baixo.azul svg { fill: var(--azul); }
.seta-baixo.preto-icone svg { fill: #000; width: 56px; }
h1.img, h2.img { font-size: inherit; font-weight: inherit; line-height: inherit; }

/* ---------- Botão de compra ---------- */
.botao-wrap { text-align: center; }
.botao {
  display: inline-block;
  background: var(--azul);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 3px;
  box-shadow: 0 0 5px 0 rgba(79, 79, 79, .5);
  transition: filter .2s, transform .2s;
}
.botao:hover { filter: brightness(1.07); }
.botao:active { transform: scale(.98); }
.botao.normal { text-transform: none; }

/* ---------- Estrelas ---------- */
.estrelas { display: flex; justify-content: center; gap: 10px; line-height: 1; }
.estrelas svg { width: 25px; height: 25px; fill: var(--estrela); }

/* ---------- Depoimento com foto ---------- */
.depoimento { align-self: center; text-align: center; }
.depoimento .fala {
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 1.3em;
  line-height: 1.5;
  color: #000;
  margin-bottom: 20px;
}
.depoimento img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--azul);
  display: block;
  margin: 0 auto 20px;
}
.depoimento .nome {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--azul);
}

/* ---------- Blocos "imagem + texto" lado a lado ---------- */
.sec > .in.lado { flex-direction: row; gap: 0; }
.lado > .col {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  align-self: center;
}
.lado > .col.topo { align-self: auto; }
.lado .descricao {
  font-family: Inter, sans-serif;
  color: #000;
  text-align: center;
  align-self: center;
  margin-top: -20px;
}
.mt-35 { margin-top: 35px; }

/* Lista com ícone de "check" */
.lista {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
  font-family: Inter, sans-serif;
  font-weight: 300;
  color: #000;
}
.lista li { display: flex; align-items: center; }
.lista svg { width: 14px; height: 14px; fill: #45a4f4; flex-shrink: 0; }
.lista span { padding-inline-start: 5px; }

/* ---------- Cartões de bônus ---------- */
.cartao-bonus {
  align-self: center;
  width: 70%;
  background: var(--bege);
  border-radius: 15px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Caixa com borda azul ("O Manual da Bíblia é...") */
.caixa-borda {
  align-self: center;
  background: var(--creme);
  border: 3px solid var(--azul);
  border-radius: 25px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- Depoimentos em cartões ---------- */
.cartoes { flex-direction: row !important; }
.cartoes > .col { flex: 1; padding: 10px; border-radius: 15px; display: flex; }
.cartao-depo {
  flex: 1;
  background: var(--cartao);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cartao-depo .estrelas { align-self: flex-start; }
.cartao-depo h2 {
  align-self: flex-start;
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #44a4f3;
}
.cartao-depo p { font-family: Inter, sans-serif; font-size: 15px; font-weight: 200; color: #040404; }

/* ---------- Caixa da oferta ---------- */
.caixa-oferta {
  align-self: center;
  width: 47%;
  margin-top: -20px;
  border: 8px solid #44a4f3;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.caixa-oferta.preta { border-color: #000; }
@media (min-width: 1025px) { .so-celular { display: none !important; } }

/* ---------- Perguntas frequentes ---------- */
.perguntas { font-family: Inter, sans-serif; font-weight: 300; color: #000; margin-bottom: 50px; }
.perguntas details { border: 1px solid var(--azul-2); }
.perguntas details + details { border-top: 0; }
.perguntas summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary svg { width: 16px; height: 16px; fill: #000; margin-right: 8px; flex-shrink: 0; }
.perguntas summary .aberto { display: none; }
.perguntas details[open] summary { color: var(--azul-2); }
.perguntas details[open] summary svg { fill: var(--azul-2); }
.perguntas details[open] summary .fechado { display: none; }
.perguntas details[open] summary .aberto { display: inline; }
.perguntas .resposta { padding: 15px 20px; border-top: 1px solid var(--azul-2); }
.perguntas ul { margin: 0 0 .9rem; padding-left: 40px; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--azul-3); }
.rodape .logo { margin-top: 30px; text-align: center; }
.rodape .logo img { width: auto; height: 140px; }
.rodape p { font-family: Inter, sans-serif; font-size: 10px; color: #000; text-align: center; }
.rodape .legal p { line-height: 12px; }

/* ---------- Carrossel de imagens ---------- */
.carrossel { position: relative; align-self: center; width: 66%; margin: 10px 0; padding-bottom: 30px; }
.car-trilho {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 15px;
  margin: 0 30px; /* espaço das setas, como no Elementor */
}
.car-trilho::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: start; }
.car-slide img { display: block; width: 100%; border-radius: 15px; }
.car-seta {
  position: absolute;
  top: calc(50% - 15px);
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}
.car-seta svg { width: 30px; height: 30px; fill: var(--azul-3); display: block; }
.car-ant { left: 0; }
.car-prox { right: 0; }
.car-pontos { position: absolute; left: 0; right: 0; bottom: 5px; display: flex; justify-content: center; }
.car-pontos button {
  width: 6px;
  height: 6px;
  margin: 0 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--azul-3);
  cursor: pointer;
}
.car-pontos button[aria-current="true"] { background: #000; }

/* ---------- Botão do WhatsApp ---------- */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, .24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.whatsapp.visivel { opacity: 1; transform: scale(1); pointer-events: auto; }
.whatsapp svg { width: 36px; height: 36px; fill: #fff; }

/* ====================== CELULAR ====================== */
@media (max-width: 767px) {
  [style*="--mm:"] { margin: var(--mm); }
  [style*="--ewm:"] { width: var(--ewm); }
  [style*="--fsm:"] { font-size: var(--fsm); }
  .img img { width: var(--wm, var(--w, 100%)); }

  .meio-m { align-self: center; }
  .faixa h2 { font-size: 13px; }
  .frase-azul { font-size: 20px; margin: 10px 0 15px; }
  .titulo-secao { margin-top: 10px; }
  .seta-baixo svg { width: 20px; height: 20px; }

  .botao { padding: 20px; border-radius: 11px; }

  .estrelas { gap: 5px; }
  .estrelas svg { width: 20px; height: 20px; }

  .depoimento .fala { font-size: 14px; }

  .sec > .in.lado { flex-direction: column; }
  .lado > .col { width: 100%; }
  .lado .descricao { width: 90% !important; font-size: 15px; }
  .lista { margin: -10px 0 10px; font-size: 14px; }
  .lista svg { width: 22px; height: 22px; }
  .mt-35 { margin-top: 15px; }

  .cartao-bonus { width: 100%; }
  .caixa-borda { width: 90% !important; border-radius: 15px; }

  .cartoes { flex-direction: column !important; }
  .cartoes > .col { width: 100%; justify-content: center; }
  .cartoes .cartao-depo { flex: 0 0 90%; max-width: 90%; border-radius: 20px; align-items: center; margin: 0 auto; }
  .cartao-depo .estrelas, .cartao-depo h2 { align-self: center; }
  .cartao-depo .estrelas { margin-top: 15px; }
  .cartao-depo h2 { font-size: 17px; margin: 5px 0 10px; }
  .cartao-depo p { text-align: center; font-size: 14px; margin: -15px 0 25px; width: 85%; }

  .caixa-oferta { width: 100%; }
  .so-computador { display: none !important; }

  .rodape .logo img { height: 85px; }
  .rodape .legal { margin-top: -10px; }
  .rodape .legal p { font-size: 8px; line-height: 1.4em; }

  .carrossel { width: 100%; margin: 0; }
  .car-trilho, .car-slide img { border-radius: 5px; }
  .car-seta svg { width: 20px; height: 20px; }
  .car-pontos button { margin: 0 7px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .img-tablet-15 img { width: 15% !important; }
}

@media (prefers-reduced-motion: reduce) {
  html, .car-trilho { scroll-behavior: auto; }
}
