:root {
  --cream: #FAF0DD;
  --cream-alt: #F3E5C8;
  --blue: #2478B5;
  --blue-dark: #1B5A87;
  --blue-light: #D7ECFB;
  --pink: #F2D6EC;
  --pink-text: #A6448C;
  --tan: #E3D2A3;
  --tan-text: #6E5A2E;
  --caption-bg: #CFE7F6;
  --caption-text: #1B5A87;
  --text-dark: #3A2E20;
  --white: #FFFFFF;
  --max-width: 480px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.5;
}

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

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
}

.section--tight { padding-top: 24px; padding-bottom: 24px; }

.section-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-dark);
  text-align: center;
  margin: 0 0 24px;
}

/* ===== HERO ===== */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
  text-align: center;
}

.hero-logo {
  width: 92px;
  margin: 0 auto 20px;
}

.hero-headline {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--blue-dark);
  margin: 0 0 20px;
}

.hero-image-wrap {
  position: relative;
  margin: 34px 0 24px;
}

.hero-image {
  border-radius: 16px;
  width: 100%;
}

.badge {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  white-space: nowrap;
  position: absolute;
  top: 0;
  z-index: 2;
}

.badge--blue { background: var(--caption-bg); color: var(--caption-text); }
.badge--pink { background: var(--pink); color: var(--pink-text); }

.badge--float-left {
  left: -6px;
  transform: translateY(-65%) rotate(-7deg);
}

.badge--float-right {
  right: -6px;
  transform: translateY(-65%) rotate(6deg);
}

.hero-subheadline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 28px;
}

.cta-button {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  background: var(--blue);
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--blue-dark);
  transition: transform 0.1s ease;
}

.cta-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--blue-dark);
}

/* ===== SEÇÃO 02 — DEMONSTRATIVO (flipbook) ===== */
.section--blue {
  background: var(--blue);
  max-width: 100%;
  border-radius: 28px 28px 0 0;
  padding-top: 40px;
  padding-bottom: 44px;
}

.section--blue .section-title {
  color: var(--white);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.flipbook {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.flipbook-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1414 / 2000;
  perspective: 1400px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.flip-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  backface-visibility: hidden;
}

.flip-page--back { z-index: 1; }

.flip-page--front {
  z-index: 2;
  transform-origin: left center;
  transform: rotateY(0deg);
  transition: transform 0.65s cubic-bezier(.45,.05,.55,.95);
}

.flip-page--front.flip-page--turning-next {
  transform-origin: left center;
  transform: rotateY(-160deg);
}

.flip-page--front.flip-page--turning-prev {
  transform-origin: right center;
  transform: rotateY(160deg);
}

.flip-page--front.flip-page--instant { transition: none; }

.flip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 3;
}

.flip-arrow--prev { left: -14px; }
.flip-arrow--next { right: -14px; }
.flip-arrow:disabled { opacity: 0.4; cursor: default; }

.flipbook-counter {
  text-align: center;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 14px;
}

/* ===== CARROSSEL ===== */
.carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.carousel img {
  flex: 0 0 70%;
  scroll-snap-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.carousel-wrap {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--blue-dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 2;
  pointer-events: auto;
}

.carousel-arrow--prev { left: 2px; }
.carousel-arrow--next { right: 2px; }

.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

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

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(27,90,135,0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot--active {
  background: var(--blue-dark);
  transform: scale(1.3);
}

/* ===== BENEFÍCIOS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.benefit-box {
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.benefit-icon { font-size: 1.5rem; line-height: 1; }

.benefit-box p { margin: 0; font-size: 0.92rem; }
.benefit-box strong { color: var(--blue-dark); }

/* ===== URGÊNCIA (04) — mesmo fundo da Prova Social (06), pra parecer uma seção só ===== */
#urgencia {
  text-align: center;
  padding-top: 4px;
}

.urgency-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin: 0 auto 20px;
  max-width: var(--max-width);
  line-height: 1.35;
}

/* ===== PRA QUEM É (05) ===== */
.section--blue-light {
  background: var(--blue-light);
  max-width: 100%;
  padding-top: 44px;
  padding-bottom: 44px;
}

.section--blue-light .section-title {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.identity-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.identity-list li {
  background: var(--pink);
  border-radius: 12px;
  padding: 14px 16px 14px 42px;
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.identity-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--pink-text);
  font-weight: 800;
}

/* ===== ENTREGÁVEIS (07) ===== */
.entregaveis-subtitle {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin: 20px 0 10px;
}

.entregaveis-list {
  margin: 0 0 8px;
  padding-left: 20px;
}

.entregaveis-list li { margin-bottom: 6px; font-size: 0.95rem; }

.entregaveis-image {
  border-radius: 16px;
  width: 100%;
  margin: 4px 0 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.entregaveis-closer {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--cream-alt);
  border-radius: 12px;
  font-size: 0.9rem;
}

/* ===== OFERTA (09) ===== */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pricing-card {
  position: relative;
  background: var(--cream-alt);
  border: none;
  border-radius: 24px;
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(58,46,32,0.08);
}

.pricing-card--highlight {
  background: var(--blue);
  padding-top: 34px;
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--pink-text);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.22);
  white-space: nowrap;
}

.pricing-badge--basic {
  background: var(--tan);
  color: var(--tan-text);
}

.pricing-image {
  width: 78%;
  max-width: 220px;
  margin: 6px auto 10px;
}

.pricing-card-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin: 6px 0 8px;
}

.pricing-card--highlight .pricing-card-name { color: var(--white); }

.pricing-card-desc {
  font-size: 0.88rem;
  color: var(--text-dark);
  margin: 0 0 18px;
}

.pricing-card--highlight .pricing-card-desc { color: var(--white); opacity: 0.92; }

.pricing-price-old {
  font-size: 0.88rem;
  color: var(--tan-text);
  opacity: 0.8;
  text-decoration: line-through;
  margin: 0;
}

.pricing-card--highlight .pricing-price-old { color: var(--white); opacity: 0.75; }

.pricing-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--blue-dark);
  margin: 2px 0 6px;
}

.pricing-card--highlight .pricing-price { color: var(--white); }

.pricing-per-unit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.18);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}

.pricing-select-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 14px 0 8px;
}

.pricing-select {
  display: block;
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 12px 16px;
  margin-bottom: 6px;
}

.pricing-select.pricing-select--invalid { border-color: var(--pink-text); }

.pricing-select-error {
  display: none;
  color: var(--pink-text);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.pricing-select-error.pricing-select-error--show { display: block; }

.pricing-card .cta-button {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.pricing-card--highlight .cta-button {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 4px 0 var(--cream-alt);
}

.cta-button--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: none;
  padding: 14px 28px;
}

.pricing-guarantee {
  text-align: center;
  font-size: 0.82rem;
  color: var(--tan-text);
  margin-top: 20px;
}

.pricing-bridge {
  text-align: center;
  font-size: 0.8rem;
  color: var(--tan-text);
  margin: -6px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pricing-bridge-arrow {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== FAQ (10) ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 18px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dark);
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 1rem;
  line-height: 26px;
  text-align: center;
  transition: transform 0.25s ease;
}

.faq-item--open .faq-icon { transform: rotate(45deg); }

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item--open .faq-answer-wrap { grid-template-rows: 1fr; }

.faq-answer-inner { overflow: hidden; }

.faq-answer {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ===== RODAPÉ (11) ===== */
.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 32px;
  text-align: center;
}

.footer-logo {
  width: 70px;
  margin: 0 auto 18px;
  opacity: 0.85;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.footer-contact a {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--tan-text);
  font-size: 0.8rem;
  text-decoration: underline;
}

.footer-legal {
  font-size: 0.76rem;
  color: var(--tan-text);
  margin: 0 0 4px;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--tan-text);
  opacity: 0.8;
  margin: 0;
}

/* ===== PÁGINAS LEGAIS ===== */
.legal-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-page h1 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--blue-dark);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.legal-updated {
  color: var(--tan-text);
  font-size: 0.82rem;
  margin-bottom: 28px;
}

.legal-page h2 {
  font-family: 'Baloo 2', sans-serif;
  color: var(--blue-dark);
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

.legal-page p, .legal-page li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.legal-page ul { padding-left: 20px; }

/* ===== DESKTOP ===== */
@media (min-width: 900px) {
  :root { --max-width: 1100px; }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    text-align: left;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-logo { grid-column: 1 / 3; grid-row: 1; margin: 0 auto 20px; }
  .hero-headline { font-size: 2rem; grid-column: 1; grid-row: 2; }
  .hero-image-wrap { grid-column: 2; grid-row: 2 / 4; }
  .hero-subheadline { font-size: 1.2rem; grid-column: 1; grid-row: 3; }
  .cta-button { grid-column: 1; grid-row: 4; justify-self: start; }

  .section-title { font-size: 2rem; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .carousel img, .placeholder-card { flex-basis: 30%; }

  .urgency-title { font-size: 1.6rem; }

  .flipbook { max-width: 340px; }

  .pricing-grid { flex-direction: row; align-items: stretch; }
  .pricing-card { flex: 1; }
  .pricing-bridge { display: none; }
}
