@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* AJUSTES SIMPLES — edite os valores abaixo sem recompilar o Tailwind v4. */
:root {
  --brand-primary: #2563eb;
  --brand-secondary: #0f766e;
  --brand-dark: #0b1220;
  --section-space: clamp(58px, 8vw, 96px);
}

html, body, button, input, textarea, select, summary {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero .page-container {
  width: min(calc(100% - 32px), 1240px);
}

.hero h1 {
  max-width: 980px !important;
  font-size: clamp(1.9rem, 4vw, 3.1rem) !important;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-bullets {
  max-width: 960px;
}

.promise-banner p,
h1, h2, h3,
.eyebrow,
.hero-bullet,
.compare-label,
.offer-button,
.offer-price,
.offer-installments,
.offer-cash,
.offer-title-text,
.audience-closing h3,
.choice-card h3,
.choice-conclusion p:first-child,
summary,
.cookie-actions button {
  font-weight: 700 !important;
}

/* Opcional: personalize o raio dos cards sem tocar no CSS compilado. */
/* .benefit-card { border-radius: 20px; } */


/* Mobile: evita largura extravasando a viewport e mantém o conteúdo legível. */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Impede que conteúdos internos obriguem colunas e flex items a crescer. */
.hero-picture, .hero-inner, .hero-bullets,
.pain-composition > *, .pains-grid > *,
.benefits-grid > *, .proof-grid > *,
.deliverable-card, .deliverable-card > *,
.audience-grid > *, .offer-grid > *,
.offer-visual, .offer-commercial, .receive-steps > *,
.authority-grid > *, .choice-grid > *,
.anchor-list li > span, .anchor-total > span,
.checkout-btn > span, .faq-item summary > span {
  min-width: 0;
}

.page-container, .hero .page-container {
  max-width: calc(100% - 32px);
}

.compare-label, .checkout-btn, .anchor-list li > span,
.audience-list li > span, .faq-item summary > span {
  overflow-wrap: anywhere;
}

.compare-label { max-width: 100%; text-align: center; }

@media (max-width: 560px) {
  .anchor-total {
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 12px;
  }
  .anchor-total del { max-width: 100%; }
  .anchor-list li > span { flex: 1 1 auto; }
  .anchor-list li del { flex: 0 0 auto; }
  .cookie-banner {
    max-width: calc(100% - 32px);
  }
}

/* Peso máximo permitido na identidade tipográfica. */
b, strong { font-weight: 700; }


/* Cantos arredondados das imagens dos entregáveis e bônus */
.deliverable-media img {
  border-radius: 10px;
}

/* Hero — alterações solicitadas: faixa vermelha, bullets verdes e imagem única. */
.hero .promise-banner {
  background: #b91c1c;
  color: #fff;
}

.hero .hero-bullet {
  background: #166534;
  border-color: #166534;
  color: #fff;
}

.hero .hero-bullet .bullet-icon {
  color: #fff;
}

/* Hero — imagem animada com fundo transparente e controle de movimento. */
.hero-notifications {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
}
.hero-single {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
.hero-single picture { display: block; }
.hero-single .hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.hero-notifications-caption {
  color: #475569;
  text-align: center;
  font-size: .875rem;
  line-height: 1.5;
  margin: 12px auto 0;
}
.hero-motion-toggle {
  display: block;
  margin: 4px auto 0;
  min-height: 44px;
  padding: 8px 12px;
  color: #1d4ed8;
  font-size: .875rem;
  font-weight: 600;
}
.hero-motion-toggle[hidden] { display: none; }


/* Bloco 03 — somente a imagem centralizada, sem colunas ou cards. */
.pains-section .pain-illustration,
.pains-section .pain-composition {
  display: block;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.pains-section .pain-illustration > img,
.pains-section .pain-composition .pains-media > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 24px;
}

/* Compatibilidade com a estrutura HTML antiga durante a atualização. */
.pains-section .pain-composition > .pains-grid {
  display: none !important;
}

@media (max-width: 560px) {
  .pains-section .pain-illustration > img,
  .pains-section .pain-composition .pains-media > img {
    border-radius: 16px;
  }
}


/* Bloco 04 — transição com a mesma paleta da ancoragem de preço. */
.pains-section .transition-card {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #b91c1c;
}

.pains-section .transition-card h2,
.pains-section .transition-card .transition-question,
.pains-section .transition-card .transition-closing,
.pains-section .transition-card .transition-icon {
  color: #b91c1c;
}

/* Bloco 06 — entregáveis e bônus: cards compactos e alternados. */
.deliverables-section .deliverables-stack {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  gap: 14px;
}

.deliverables-section .deliverable-card {
  grid-template-columns: minmax(0, 1fr) minmax(0, 43%);
  grid-template-areas: "content image";
  grid-template-rows: auto;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(14px, 2vw, 18px);
  border-radius: 18px;
}

.deliverables-section .deliverable-card.reversed {
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  grid-template-areas: "image content";
}

/* A alternância continua entre o último entregável e os dois bônus. */
.deliverables-section .bonus-card.reversed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 43%);
  grid-template-areas: "content image";
}

.deliverables-section .bonus-card:not(.reversed) {
  grid-template-columns: minmax(0, 43%) minmax(0, 1fr);
  grid-template-areas: "image content";
}

.deliverables-section .deliverable-content {
  gap: 8px;
  align-self: center;
  text-align: left;
}

.deliverables-section .deliverable-card h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.2;
}

.deliverables-section .deliverable-card p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: none;
}

.deliverables-section .deliverable-media img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  margin-inline: auto;
}

.deliverables-section .bonus-heading {
  max-width: 720px;
  margin: 46px auto 22px;
}

/* Em telas estreitas, empilhar para preservar a leitura e a nitidez. */
@media (max-width: 600px) {
  .deliverables-section .deliverables-stack {
    max-width: 420px;
    gap: 12px;
  }

  .deliverables-section .deliverable-card,
  .deliverables-section .deliverable-card.reversed,
  .deliverables-section .bonus-card.reversed,
  .deliverables-section .bonus-card:not(.reversed) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "content" "image";
    gap: 14px;
    padding: 14px;
  }

  .deliverables-section .deliverable-media img {
    max-width: 280px;
  }

  .deliverables-section .bonus-heading {
    margin-top: 34px;
    margin-bottom: 18px;
  }
}

/* Blocos 09 e 12 — verdes solicitados, sem fundo no parcelamento. */
.offer-section .installments,
.offer-section .installments strong {
  color: #3fc958;
}

.offer-section .checkout-btn,
.offer-section .checkout-btn:visited,
.offer-section .checkout-btn:hover,
.offer-section .checkout-btn:active {
  background-color: #61dc76;
  color: #0b1220;
  border-color: transparent;
}

.offer-section .checkout-btn:focus-visible {
  outline: 3px solid #0b1220;
  outline-offset: 3px;
}

/* Blocos 09 e 12 — cores dos selos abaixo do checkout. */
.offer-section .trust-row {
  color: #0b1220;
}

.offer-section .trust-icon {
  color: #c2410c;
}
