/* ===== RESET & BASE ===== */
:root {
      --cor-principal: #fff;
      --cor-texto: #121212;
      --cor-fundo: #fff;
      --cor-footer: #f5f5f5;
      --cor-section: #e6e6e6;
      --cor-button: #3F74FD;
      --cor-dashed: #dfdfe0;   
    }
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;   /* intervalo completo */
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  background: #f5f7fa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dashed-divider {
  border: none;
  border-top: 2px dashed #ccc;
  margin: 0;
}

.text-center {
  text-align: center;
}


/* ===== FIXED TOP OFFER BAR ===== */
.top-offer-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  min-height: 48px;
  background: #fe6e78;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.top-offer-bar__inner {
  width: 100%;
  max-width: 1200px;
  min-height: 48px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.top-offer-bar__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.top-offer-bar p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

body {
  padding-top: 48px;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-block;
  background: #3F74FD;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease;
  text-decoration: none;
}

.cta-btn:hover,
.cta-btn:focus {
  background: #2c5fd6;
  outline: none;
}

/* ============================================
   1) HERO SECTION
   ============================================ */

.hero {
  padding: 40px 0 0;
}

/* --- Headline --- */
.hero__headline {
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  padding: 0 10px;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.hero__headline .highlight {
  color: #3F74FD;
  text-underline-offset: 3px;
}

/* --- Hero Content (image + offer) --- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
}

.hero__image-wrapper {
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: center;
}

.hero__image-wrapper img {
  width: 100%;
  height: auto;
}

/* --- Offer Box --- */
.offer-box {
  text-align: center;
  width: 100%;
  max-width: 380px;
}

.offer-box__label {
  display: inline-block;
  border: 2px dashed #3F74FD;
  background: #F8FAFE;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border-radius: 4px;
  color: #696969;
}

.offer-box__small-text {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 4px;
}

.offer-box__price {
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 6px;
}

.offer-box__price .installment {
  font-size: 3rem;
  font-weight: 700;
}

.offer-box__price .currency {
  font-size: 4rem;
  font-weight: 800;
}

.offer-box__price .value {
  font-size: 4rem;
  font-weight: 800;
}

.offer-box__price .cents {
  font-size: 2rem;
  font-weight: 700;
  vertical-align: super;
  position: relative;
  top: -6px;
}

.offer-box__price-alt {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 22px;
}

.offer-box .cta-btn {
  width: 100%;
  max-width: 390px;
  margin-bottom: 16px;
}

.offer-box__guarantee {
  font-size: 0.7rem;
  color: #777;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto 16px;
}

/* --- Payment Logos --- */
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.payment-logos img {
  height: auto;
  width: auto;
  opacity: 0.65;
  object-fit: contain;
}

/* --- Instant Access Text --- */
.hero__instant-access {
  text-align: center;
  padding: 30px 0 10px;
}

.hero__instant-access p {
  font-size: 2rem;
  color: #333;
}

.hero__instant-access .bold-blue {
  font-weight: 700;
  color: #3F74FD;
  font-size: 2rem;
}

/* ============================================
   2) BENEFITS SECTION
   ============================================ */

.benefits {
  padding: 40px 0;
}

.benefits__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
}

.benefits__text {
  width: 100%;
}

.benefits__text>p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
}

.benefits__text>p strong {
  font-weight: 700;
  color: #1a1a1a;
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #333;
}

.benefits__list li img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefits__image-wrapper {
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
}

.benefits__image-wrapper img {
  width: 100%;
  height: auto;
}

/* ============================================
   3) CHAPTERS SECTION
   ============================================ */

.chapters {
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
}

.chapters__watermark {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 260px;
  height: auto;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  filter: grayscale(100%);
}

.chapters__inner {
  position: relative;
  z-index: 1;
}

.chapters__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.chapters__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

/* On mobile, reorder chapters to read sequentially: 1,2,3,4,5 */
.chapter-item:nth-child(1) {
  order: 1;
}

/* CAP 01 */
.chapter-item:nth-child(2) {
  order: 4;
}

/* CAP 04 */
.chapter-item:nth-child(3) {
  order: 2;
}

/* CAP 02 */
.chapter-item:nth-child(4) {
  order: 5;
}

/* CAP 05 */
.chapter-item:nth-child(5) {
  order: 3;
}

/* CAP 03 */

.chapter-item {
  padding: 14px 0;
  border-bottom: 2px dashed #ccc;
  font-size: 1.25rem;
  color: #333;
}

.chapter-item:last-child {
  border-bottom: 2px dashed #ccc;
}

.chapter-item .cap-number {
  font-weight: 700;
  color: #3F74FD;
}

.chapters__cta {
  text-align: center;
  padding-top: 10px;
}

/* ============================================
   4) FOOTER
   ============================================ */

.site-footer {
  padding: 0 0 24px;
}

.site-footer .dashed-divider {
  margin-bottom: 20px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer__copyright {
  font-size: 0.75rem;
  color: #777;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.75rem;
  color: #777;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #3F74FD;
}

/* ============================================
   RESPONSIVE — TABLET (640px+)
   ============================================ */

@media (min-width: 640px) {
  .hero__headline {
    font-size: 1.6rem;
  }

  .hero__content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .hero__image-wrapper {
    max-width: 380px;
    flex: 1 1 50%;
  }

  .offer-box {
    flex: 1 1 45%;
    max-width: 340px;
  }

  .benefits__content {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .benefits__text {
    flex: 1 1 55%;
  }

  .benefits__image-wrapper {
    flex: 1 1 45%;
    max-width: 340px;
  }

  .chapters__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }

  /* Reset order for 2-column grid — HTML order works: 1,4 / 2,5 / 3 */
  .chapter-item:nth-child(1) {
    order: unset;
  }

  .chapter-item:nth-child(2) {
    order: unset;
  }

  .chapter-item:nth-child(3) {
    order: unset;
  }

  .chapter-item:nth-child(4) {
    order: unset;
  }

  .chapter-item:nth-child(5) {
    order: unset;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (960px+)
   ============================================ */

@media (min-width: 960px) {
  .hero__headline {
    font-size: 2rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__content {
    gap: 50px;
  }

  .hero__image-wrapper {
    max-width: 500px;
  }

  .offer-box {
    max-width: 400px;
  }

  .offer-box__price {
    font-size: 3.6rem;
  }

  .offer-box__price .value {
    font-size: 4rem;
  }

  .offer-box__price .currency {
    font-size: 4rem;
  }

  .benefits__content {
    gap: 50px;
  }

  .benefits__text>p {
    font-size: 1.5rem;
    max-width: 600px;
  }

  .chapters__title {
    font-size: 1.9rem;
  }

  .chapters__watermark {
    width: 240px;
    left: 0;
  }
}


.countdown-header{
  width:100%;
  background: transparent;
  padding: 18px 0;
}

.countdown-container {
  display:flex;
  justify-content:center;
  align-items:center;
}

.countdown-inner {
  width: 100%;
  max-width: var(--largura-max);
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza horizontalmente */
  gap: 28px;
  padding: 0 24px;
}

/* esquerda: ícone + texto */
.countdown-left {
  display:flex;
  align-items:center;
  gap:12px;
}

.clock-icon {
  color: var(--cor-button); /* usa sua cor principal */
  flex-shrink:0;
}

.countdown-text .highlight {
  color: var(--cor-button); /* #6747a1 */
  font-weight:600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 14px;
}

/* direita: caixas do timer */
.countdown-right {
  display:flex;
  align-items:center;
}

.time-boxes {
  display:flex;
  align-items:center;
  gap:12px;
  background: transparent;
}

/* cada caixa branca (números) */
.time-box {
  background: #ffffff;
  min-width: 62px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(18,18,18,0.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,0.06);
}

/* valor grande */
.time-value {
  font-size: 20px;
  font-weight:700;
  line-height:1;
  color: #121212;
  font-family: "Montserrat", Arial, sans-serif;
}

/* label pequena abaixo do número */
.time-label {
  font-size: 10px;
  text-transform: uppercase;
  margin-top:6px;
  color: #6b6b6b;
  font-weight:600;
}

/* separador ':' */
.colon {
  font-size: 20px;
  font-weight:700;
  color: var(--cor-button);
  padding: 0 4px;
  user-select:none;
}

/* responsividade */
@media (max-width: 640px) {
  .countdown-inner{
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  .countdown-left { order: 1; text-align:center; }
  .countdown-right { order: 2; }
  .time-boxes { gap:8px; flex-wrap:wrap; justify-content:center; }
  .time-box { min-width:54px; padding:8px 10px; border-radius:8px; }
  .colon { display:none; } /* no mobile escondemos os dois pontos para ficar mais limpo */
}


@media (max-width: 640px) {
  body {
    padding-top: 58px;
  }

  .top-offer-bar {
    min-height: 58px;
  }

  .top-offer-bar__inner {
    min-height: 58px;
    padding: 8px 14px;
    gap: 8px;
  }

  .top-offer-bar p {
    font-size: 0.78rem;
  }

  .top-offer-bar__icon {
    width: 18px;
    height: 18px;
  }
}
