:root {
  --bg: #f2f6fb;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --primary: #123257;
  --primary-strong: #0d2745;
  --accent: #d27d2d;
  --accent-soft: #f7e8d8;
  --text: #1b2738;
  --muted: #5a6b80;
  --border: #d7e0ea;
  --shadow: 0 16px 40px rgba(18, 50, 87, 0.12);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-family: "Sora", sans-serif;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-soft);
}

.section-parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #f4f9ff;
  --parallax-offset: 0px;
  background: #0e2c49;
}

.section-parallax::before {
  content: "";
  position: absolute;
  inset: -90px 0;
  background-image: url("assets/publico-alvo.jpg");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-offset), 0) scale(1.13);
  transform-origin: center;
  will-change: transform;
  z-index: -2;
}

.section-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6, 23, 40, 0.82) 10%, rgba(8, 39, 65, 0.72) 55%, rgba(13, 84, 107, 0.55) 100%);
  z-index: -1;
}

.section-parallax .section-title {
  color: #f5fbff;
}

.section-parallax .section-lead {
  max-width: 860px;
  color: #d9e8f8;
}

.section-parallax .tags span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(210, 227, 243, 0.4);
  color: #f5fbff;
  backdrop-filter: blur(4px);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-lead {
  max-width: 780px;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 5.5rem 0 4rem;
  background-color: #0e2c49;
  background-image: url("assets/topo_imagem.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: #f8fcff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(7, 24, 43, 0.78) 6%, rgba(11, 47, 78, 0.68) 56%, rgba(17, 87, 116, 0.55) 100%),
    radial-gradient(circle at 72% 18%, rgba(59, 171, 186, 0.24) 0%, rgba(12, 51, 83, 0) 55%);
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-background::before,
.hero-background::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.24;
}

.hero-background::before {
  width: 440px;
  height: 440px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, #88d6d4 0%, transparent 70%);
}

.hero-background::after {
  width: 380px;
  height: 380px;
  left: -100px;
  bottom: -140px;
  background: radial-gradient(circle, #ffc98d 0%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 3;
}

.brand {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.kicker {
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cae9ff;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.subtitle {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #e4f1fb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 196, 112, 0.7);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e4984e 100%);
  color: #1b130a;
  box-shadow: 0 10px 24px rgba(210, 125, 45, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(210, 125, 45, 0.4);
}

body.conversion-refine .btn-primary {
  background: linear-gradient(140deg, #f2ad5d 0%, #e29442 45%, #cd7a28 100%);
  color: #150f08;
  border-color: rgba(83, 44, 10, 0.42);
  box-shadow: 0 16px 30px rgba(201, 113, 34, 0.42);
}

body.conversion-refine .btn-primary:hover {
  box-shadow: 0 20px 34px rgba(201, 113, 34, 0.5);
}

.btn-outline {
  color: #f0f8ff;
  border-color: rgba(240, 248, 255, 0.7);
  background: rgba(15, 34, 58, 0.25);
}

.btn-outline:hover {
  background: rgba(15, 34, 58, 0.5);
}

.btn-lg {
  min-height: 54px;
  padding: 0.95rem 1.9rem;
  font-size: 1.08rem;
}

.full {
  width: 100%;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 750px;
}

.quick-facts li {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(7, 20, 36, 0.35);
  border: 1px solid rgba(207, 227, 247, 0.25);
  backdrop-filter: blur(4px);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(18, 50, 87, 0.06);
}

.card h3 {
  font-size: 1.12rem;
}

.card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.info-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-box h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
  color: var(--primary);
}

.info-box p {
  margin-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.tags span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
}

.course-info {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.course-info div {
  background: var(--surface);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--border);
}

.course-info dt {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.course-info dd {
  margin: 0.35rem 0 0;
  font-size: 1.04rem;
  font-weight: 700;
}

.offer {
  background: radial-gradient(circle at 10% 20%, #0f3761 0%, #08284a 38%, #051730 100%);
  color: #f7fbff;
}

.offer-panel {
  position: relative;
  padding: 3rem 2.3rem 2rem;
  border-radius: 32px;
  border: 2px solid rgba(209, 174, 120, 0.85);
  background: linear-gradient(128deg, #02162f 0%, #032349 48%, #03335f 100%);
  box-shadow: 0 24px 45px rgba(1, 11, 22, 0.36);
}

.offer-ribbon {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.7rem 1.3rem;
  min-width: min(520px, 84%);
  border-radius: 14px;
  background: linear-gradient(135deg, #efaa5b 0%, #e1923f 55%, #cc7828 100%);
  border: 1px solid rgba(120, 64, 18, 0.38);
  color: #201206;
  box-shadow: 0 12px 24px rgba(205, 121, 37, 0.35);
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.offer-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.offer-main .section-title {
  color: #f9fcff;
}

.offer-date {
  margin-top: 0.6rem;
  color: #d7e6f8;
}

body.conversion-refine .offer-date {
  color: #ffe4b7;
  font-weight: 700;
}

.offer-benefits {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.offer-benefits li {
  position: relative;
  padding-left: 2.45rem;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  font-weight: 700;
  color: #f0f6ff;
}

.offer-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.02rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #c2a777;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

.offer-pricing {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.offer-mini {
  margin: 0;
  color: #e5eef8;
  font-size: 1.25rem;
  font-weight: 700;
}

.price-card {
  position: relative;
  background: rgba(17, 35, 63, 0.86);
  color: #f8fcff;
  border-radius: 20px;
  padding: 1.2rem 1rem;
  border: 2px solid #f0c844;
  box-shadow: 0 12px 28px rgba(6, 14, 30, 0.4);
}

body.conversion-refine .price-card {
  background: linear-gradient(150deg, rgba(15, 34, 61, 0.95) 0%, rgba(12, 27, 49, 0.96) 100%);
  border-color: #ffd86a;
  box-shadow: 0 18px 30px rgba(1, 10, 23, 0.48);
}

.price-from {
  margin: 0;
  color: #b8c7da;
  text-decoration: line-through;
  font-weight: 600;
}

body.conversion-refine .price-from {
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a8bdd6;
}

.price-to {
  margin: 0.1rem 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: #ffffff;
  font-weight: 800;
}

body.conversion-refine .price-to {
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.price-caption {
  margin: 0;
  color: #ffe4b0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.conversion-refine .price-caption {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.3rem;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  color: #fff5d8;
  background: rgba(237, 170, 69, 0.24);
  border: 1px solid rgba(255, 206, 122, 0.42);
}

.installments-card {
  background: rgba(17, 35, 63, 0.86);
  border: 2px solid #f0c844;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(6, 14, 30, 0.35);
}

.installments-card p {
  margin: 0;
  color: #e7eff9;
  font-size: 1.15rem;
  font-weight: 700;
}

.installments-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  color: #ffd84c;
  line-height: 1;
}

.offer-safe {
  margin: 0.2rem 0 0.25rem;
  color: #d8bc8f;
  font-size: 1.08rem;
  font-weight: 700;
}

body.conversion-refine .offer-safe {
  color: #efcf9d;
}

.safe-icon {
  display: inline-block;
  width: 0.78rem;
  height: 0.6rem;
  margin-right: 0.5rem;
  border: 2px solid currentColor;
  border-radius: 0.1rem;
  position: relative;
  top: 0.03rem;
}

.safe-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.58rem;
  width: 0.42rem;
  height: 0.42rem;
  transform: translateX(-50%);
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 0.4rem 0.4rem 0 0;
}

.final-cta {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
  padding: 4.1rem 0 2.4rem;
}

.final-cta .section-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.center {
  text-align: center;
}

.note {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.94rem;
}

body.conversion-refine .note {
  font-weight: 600;
  color: #3e5878;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 20px rgba(18, 50, 87, 0.1);
}

.footer {
  padding: 1.2rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .cards-3,
  .course-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .offer-wrap {
    grid-template-columns: 1fr;
  }

  .offer-panel {
    padding: 3rem 1.55rem 1.45rem;
  }

  .offer-pricing {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .section-parallax::before {
    inset: -40px 0;
    transform: translate3d(0, var(--parallax-offset), 0) scale(1.08);
  }

  .quick-facts,
  .cards-3,
  .course-info {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4.4rem 0 3.4rem;
  }

  .offer-panel {
    padding: 1.1rem 0.95rem 1.15rem;
    border-radius: 24px;
  }

  .offer-ribbon {
    position: static;
    transform: none;
    min-width: 100%;
    margin: 0 0 1rem;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
  }

  .offer-benefits li {
    padding-left: 2.2rem;
    font-size: 1rem;
  }

  .offer-benefits li::before {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.92rem;
  }

  .sticky-cta {
    display: block;
  }

  .footer {
    padding-bottom: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-parallax::before {
    transform: scale(1.08);
  }
}
