:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5b6578;
  --line: #d8dfeb;
  --paper: #f7f5ef;
  --white: #ffffff;
  --navy: #10243f;
  --blue: #1f6f8b;
  --green: #2f7d5c;
  --gold: #d0a13f;
  --gold-dark: #9c7121;
  --shadow: 0 24px 70px rgba(19, 31, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid rgba(216, 223, 235, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a:hover {
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  gap: clamp(30px, 6vw, 76px);
  min-height: calc(100vh - 70px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px) 36px;
  background:
    linear-gradient(112deg, rgba(16, 36, 63, 0.96) 0%, rgba(16, 36, 63, 0.9) 53%, rgba(31, 111, 139, 0.82) 100%),
    url("modulo_04.svg") center / cover;
  color: var(--white);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.25rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.2;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 850;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #1e1609;
  box-shadow: 0 16px 42px rgba(208, 161, 63, 0.3);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.wide {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 38px 0 0;
}

.trust-row div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-row dt {
  font-size: 1.5rem;
  font-weight: 900;
}

.trust-row dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.course-preview {
  justify-self: center;
  width: min(100%, 460px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.mockup-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 750;
}

.course-preview img {
  width: 100%;
  border-radius: 8px;
  background: var(--white);
}

.preview-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.preview-card strong,
.preview-card span {
  display: block;
}

.preview-card span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--white);
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list article,
.module-grid article,
.materials-grid article,
.price-box,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-list article {
  padding: 22px;
}

.benefit-list p,
.section-heading p,
.materials-grid p,
.checkout p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  margin-top: 14px;
  font-size: 1.05rem;
}

.curriculum {
  background: #eef3f5;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-grid article {
  min-height: 112px;
  padding: 18px;
  color: var(--navy);
  font-weight: 780;
}

.module-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.materials {
  background: var(--paper);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.materials-grid article {
  overflow: hidden;
}

.materials-grid img {
  width: 100%;
  aspect-ratio: 4 / 2.45;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.materials-grid h3,
.materials-grid p {
  padding-inline: 20px;
}

.materials-grid h3 {
  margin-top: 18px;
}

.materials-grid p {
  padding-bottom: 22px;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 98px) clamp(18px, 5vw, 72px);
  background: var(--navy);
  color: var(--white);
}

.checkout h2 {
  color: var(--white);
}

.checkout-copy {
  max-width: 760px;
}

.checkout-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.checkout ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checkout li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.price-box {
  padding: 26px;
  box-shadow: var(--shadow);
}

.price-label,
.price-box small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.price-box strong {
  display: block;
  margin: 4px 0;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.price-box .button {
  margin-top: 24px;
}

.faq {
  max-width: 960px;
  margin: 0 auto;
}

.faq h2 {
  margin-bottom: 24px;
}

.faq details {
  padding: 20px 22px;
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 850;
}

.faq p {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  max-width: 760px;
}

.site-footer p:first-child {
  color: var(--navy);
  font-weight: 850;
  white-space: nowrap;
}

.whatsapp-float-text {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  padding: 14px 20px;
  border-radius: 40px;
  background-color: #25d366;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float-text:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split,
  .checkout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .course-preview {
    justify-self: stretch;
  }

  .module-grid,
  .materials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  nav {
    gap: 10px;
    font-size: 0.85rem;
  }

  .hero-actions,
  .trust-row,
  .checkout ul,
  .module-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .trust-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 10px;
  }
}
