/* ===================================================================
   PROYECTO PREDICA - Landing V3
   Fusão: layout landing-v2 + sistema visual brand-guideline
   =================================================================== */

/* --------- @font-face --------- */
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-UltraLightEx.otf') format('opentype'); font-weight:100; font-style:normal; font-display:swap; }
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-ThinEx.otf') format('opentype'); font-weight:200; font-style:normal; font-display:swap; }
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-LightEx.otf') format('opentype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-RegularEx.otf') format('opentype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-SemiBoldEx.otf') format('opentype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-BoldEx.otf') format('opentype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Oliviar Sans'; src:url('assets/fonts/OliviarSans-BlackEx.otf') format('opentype'); font-weight:900; font-style:normal; font-display:swap; }

@font-face { font-family:'GT Flexa Compressed'; src:url('assets/fonts/GTFlexa-CompressedBlack.otf') format('opentype'); font-weight:900; font-style:normal; font-display:swap; }
@font-face { font-family:'GT Flexa Compressed'; src:url('assets/fonts/GTFlexa-CompressedBold.otf') format('opentype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'GT Flexa Compressed'; src:url('assets/fonts/GTFlexa-CompressedRegular.otf') format('opentype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'GT Flexa Mono'; src:url('assets/fonts/GTFlexaMono-Regular.otf') format('opentype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Chillends'; src:url('assets/fonts/Chillends.woff2') format('woff2'), url('assets/fonts/Chillends.woff') format('woff'); font-weight:400; font-style:normal; font-display:swap; }

/* --------- Design Tokens --------- */
:root {
  /* Paleta — brand-guideline estendida */
  --c-flame: #FF4D1F;
  --c-forest: #0E5A3A;
  --c-deep: #0E2157;
  --c-blast: #F5E03D;
  --c-cream: #F4E0B0;
  --c-cyan: #5BB3D9;
  --c-ink: #0A0A0A;
  --c-paper: #FFFFFF;
  --c-paper-2: #F5EFE6;
  --c-line: rgba(10, 10, 10, .12);
  --c-line-strong: rgba(10, 10, 10, .18);
  --c-line-light: rgba(255, 255, 255, .16);
  --c-muted: #555;
  --c-muted-2: #777;

  /* Tipografia */
  --ff-display: 'Oliviar Sans', 'Inter', sans-serif;
  --ff-text: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-mono: 'GT Flexa Mono', 'JetBrains Mono', monospace;
  --ff-script: 'Chillends', 'Oliviar Sans', serif;
  --ff-aux: 'GT Flexa Compressed', 'Oliviar Sans', sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 18px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 18px -8px rgba(0, 0, 0, .10);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .05), 0 18px 40px -16px rgba(0, 0, 0, .18);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .4);

  --nav-h: 64px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  font-family: var(--ff-text);
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
}

main {
  display: block;
  overflow-x: clip;
  width: 100%;
}

/* --------- Loader --------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--c-ink);
  color: #fff;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: .6s ease;
}

.loader--out {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader__mark {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(28px, 6vw, 72px);
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.loader__mark span {
  color: var(--c-flame);
  font-weight: 900;
}

.loader__bar {
  width: 100%;
  max-width: 500px;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  margin-top: 24px;
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 30%;
  background: var(--c-flame);
  animation: bar 1.2s ease-in-out infinite;
}

@keyframes bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(440%); }
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

em {
  font-style: italic;
}

::selection {
  background: var(--c-flame);
  color: #fff;
}

/* --------- helpers --------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hl {
  font-style: normal;
  background: var(--c-blast);
  color: var(--c-ink);
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-flame);
  margin-bottom: 14px;
}

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  min-height: var(--nav-h);
}

.nav__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.nav__logo .nav__word {
  font-weight: 300;
}

.nav__logo strong {
  font-weight: 900;
  letter-spacing: -.04em;
}

.nav__slash {
  color: var(--c-flame);
  font-weight: 300;
  margin-right: 2px;
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links a {
  font-family: var(--ff-text);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .2s;
}

.nav__links a:hover {
  color: var(--c-flame);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--c-flame);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__links a.is-active {
  color: var(--c-ink);
}

.nav__cta {
  flex: 0 0 auto;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 99px;
  transition: background .2s ease;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--c-flame);
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex: 0 0 auto;
}

.nav__burger span {
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.nav.is-open .nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__burger span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
}

.btn--primary {
  background: var(--c-flame);
  color: #fff;
}

.btn--primary:hover {
  background: var(--c-ink);
}

.btn--hero {
  background: #fff;
  color: var(--c-flame);
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 26px;
}

.btn--hero:hover {
  background: var(--c-blast);
  color: var(--c-ink);
}

.btn--secondary {
  background: var(--c-ink);
  color: #fff;
}

.btn--secondary:hover {
  background: var(--c-flame);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-strong);
}

.btn--ghost:hover {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  background: var(--c-flame);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px clamp(20px, 4vw, 40px) 24px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
  transform: scale(1.15);
}

.hero__center {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.hero__chip {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 99px;
}

.hero__center {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(72px, 16vw, 260px);
  line-height: .86;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.hero__title .hero__slash {
  color: #fff;
  font-weight: 300;
  font-size: .55em;
  vertical-align: middle;
}

.hero__title .hero__proyecto {
  font-weight: 300;
  font-size: .55em;
  vertical-align: middle;
}

.hero__title strong {
  font-weight: 900;
  display: inline-block;
  position: relative;
  letter-spacing: -.05em;
  font-size: 1em;
}

.hero__logo {
  width: 50vw;
  height: auto;
  display: block;
}

.hero__dot {
  color: var(--c-blast);
}

.hero__sub {
  font-family: var(--ff-script);
  font-size: clamp(22px, 3vw, 38px);
  margin: 18px 0 0;
  line-height: 1.2;
  max-width: 680px;
  position: relative;
  display: inline-block;
  text-transform: none;
}

.hero__sub::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 14px;
  background: rgba(245, 224, 61, .6);
  transform: skew(-6deg) rotate(-1deg);
  z-index: -1;
  border-radius: 4px;
}

.hero__sub em {
  color: var(--c-blast);
  font-style: normal;
  font-weight: 400;
}

.hero__desc {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
  margin: 24px 0 0;
  max-width: 620px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding-top: 18px;
}

.hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__scroll i {
  width: 1px;
  height: 28px;
  background: #fff;
  position: relative;
  display: block;
  overflow: hidden;
}

.hero__scroll i::after {
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--c-blast);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ===================================================================
   RIBBON (animated)
   =================================================================== */
.ribbon {
  background: var(--c-paper);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  position: relative;
  width: 100%;
  max-width: 100%;
}

.ribbon__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: ribbonScroll 60s linear infinite;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding-right: 28px;
  will-change: transform;
}

.ribbon__track span {
  display: inline-block;
  letter-spacing: .02em;
}

.ribbon__track i {
  color: var(--c-flame);
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
}

@keyframes ribbonScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================================
   SECTION BASE
   =================================================================== */
.section,
section {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}

.section__head {
  margin-bottom: 48px;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.section__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.0;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
  color: var(--c-ink);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.section__title--light {
  color: #fff;
}

.section__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  max-width: 60ch;
}

.section__sub {
  font-family: var(--ff-text);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--c-ink);
  margin: 0;
  font-weight: 400;
}

/* ===================================================================
   MANIFIESTO (dark + grid overlay)
   =================================================================== */
.manifiesto {
  position: relative;
  background-color: var(--c-ink);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
  overflow: hidden;
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(80px, 12vw, 160px);
}

.manifiesto__bg {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.manifiesto__bg span {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(100px, 18vw, 260px);
  line-height: .85;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .04);
  white-space: nowrap;
}

.manifiesto > .container {
  position: relative;
  z-index: 1;
}

.manifiesto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.manifiesto__text {
  min-width: 0;
}

.manifiesto__text .section__title {
  margin-bottom: 24px;
  font-family: var(--ff-display);
  font-weight: 400;
  color: #fff;
}

.manifiesto__text p {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 16px;
  max-width: 81ch;
}

.manifiesto__quote {
  margin-top: 40px;
}

.manifiesto__quote-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}

.manifiesto__blockquote {
  margin: 0;
  padding: 0;
}

.manifiesto__blockquote p {
  font-family: var(--ff-script);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.4;
  color: #fff;
  margin: 0 0 8px;
}

.manifiesto__blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.manifiesto__body {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  margin: 20px 0 0;
  max-width: 54ch;
}

/* ===================================================================
   AUDIENCE (3 cards)
   =================================================================== */
.audience {
  background: var(--c-paper);
  position: relative;
  overflow: hidden;
}

.audience__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-muted);
  text-align: left;
  margin: 40px 0 0;
  position: relative;
  z-index: 1;
}

.audience .section__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-muted);
}

.audience__bg {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.audience__bg span {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(140px, 24vw, 340px);
  line-height: .85;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, .06);
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.course-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-width: 0;
  width: 100%;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line-strong);
}

.course-card__img {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.course-card__img--a {
  background: var(--c-flame);
}

.course-card__img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.course-card__img--b {
  background: rgba(255, 255, 255, .15);
}

.course-card__img--c {
  background: rgba(255, 255, 255, .12);
}

.audience .course-card__img--a {
  background: var(--c-flame);
}

.audience .course-card__img--b {
  background: var(--c-deep);
}

.audience .course-card__img--c {
  background: var(--c-forest);
}

.course-card__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  color: #fff;
  transform: translate(-50%, -50%);
}

.course-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.course-card__title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 2px 0 4px;
  color: var(--c-ink);
  overflow-wrap: break-word;
}

.course-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-muted);
  margin: 0;
  flex: 1;
}

.course-card__meta {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-muted-2);
  flex-wrap: wrap;
}

.course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.course-card__meta span:first-child::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-flame);
  border-radius: 50%;
  display: inline-block;
}

/* ===================================================================
   FEATURED COURSE (Ver y Proclamar)
   =================================================================== */
.featured {
  background: var(--c-paper-2);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.featured__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.featured__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-ink);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #fff;
  min-width: 0;
}

.featured__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.featured__media-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
}

.featured__media-typo {
  position: relative;
  z-index: 1;
  background: rgba(10, 10, 10, .55);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.featured__media-cite {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-flame);
  margin-bottom: 8px;
}

.featured__media-typo p {
  font-family: var(--ff-text);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.4;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
}

.featured__badge {
  display: inline-block;
  background: var(--c-flame);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 99px;
}

.featured__hours {
  display: inline-block;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
}

.featured__content {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.featured__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--c-ink);
  overflow-wrap: break-word;
}

.featured__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  max-width: 50ch;
}

.featured__lessons {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.featured__lessons li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-width: 0;
}

.featured__lessons i {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-flame);
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 0;
}

.featured__lessons span {
  font-family: var(--ff-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  color: var(--c-ink);
  display: block;
}

.featured__lesson-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.featured__lesson-text em {
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}

.featured .btn {
  align-self: flex-start;
}

/* ===================================================================
   ROADMAP (3 cards reusando .course-card)
   =================================================================== */
.roadmap {
  background: var(--c-deep);
  padding: clamp(64px, 9vw, 128px) 0;
  border-top: 1px solid var(--c-line);
}

.roadmap .section__head {
  margin-bottom: 32px;
}

.roadmap .section__head .label,
.roadmap .section__title,
.roadmap .course-card__cat,
.roadmap .course-card__title,
.roadmap .course-card__desc,
.roadmap .course-card__meta {
  color: #fff;
}

.roadmap .course-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
}

.roadmap .course-card__body {
  background: rgba(255, 255, 255, .08);
}

.roadmap .course-card__meta {
  border-top-color: rgba(255, 255, 255, .2);
}

.roadmap .course-card__img-num {
  color: rgba(255, 255, 255, .92);
}

.roadmap .course-card:hover {
  border-color: rgba(255, 255, 255, .3);
}

.roadmap__cta {
  text-align: center;
  margin-top: 40px;
}

.course-card__img-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(255, 255, 255, .92);
  position: relative;
  z-index: 1;
}

.course-card__img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.course-card--roadmap .course-card__img {
  aspect-ratio: 16 / 9;
}

.course-card--soon-75 {
  opacity: .75;
}

.course-card--soon-40 {
  opacity: .4;
}

.course-card__anchor {
  position: relative;
  display: flex;
  min-width: 0;
}

.course-card__anchor .course-card {
  flex: 1;
}

.course-card__badge {
  position: absolute;
  top: 36%;
  right: -34px;
  width: 110px;
  height: 110px;
  z-index: 5;
  pointer-events: none;
  animation: badgeSpin 14s linear infinite;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .28));
  will-change: transform;
}

.course-card__badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes badgeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.roadmap__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--ff-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-flame);
  transition: color .2s ease;
}

.roadmap__more:hover {
  color: #fff;
}

.roadmap__more span {
  transition: transform .2s ease;
  display: inline-block;
}

.roadmap__more:hover span {
  transform: translateX(3px);
}

/* ===================================================================
   ABOUT (foto + quote)
   =================================================================== */
.about {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  overflow: hidden;
}

.about:has(+ .sumate),
.about:last-child {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  width: 100%;
  justify-self: start;
}

.about__blob {
  position: absolute;
  left: -8%;
  top: 14%;
  width: 88%;
  height: 78%;
  background: var(--c-flame);
  border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
  z-index: 0;
}

.about__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
}

.about__dots {
  position: absolute;
  left: -10%;
  top: -6%;
  width: 110px;
  height: 86px;
  z-index: 2;
  background-image: radial-gradient(circle, var(--c-flame) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  background-position: 0 0;
  opacity: .85;
  pointer-events: none;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.about__title {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--c-ink);
  margin: 0;
  text-transform: uppercase;
}

.about__sub {
  font-family: var(--ff-script);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--c-ink);
  margin: -8px 0 0;
}

.about__desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  max-width: 54ch;
}

.about__closing {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--c-ink);
  margin: 8px 0 0;
  text-transform: none;
  display: block;
  width: fit-content;
  position: relative;
}

.about__closing::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -4px;
  height: 3px;
  background: var(--c-flame);
  border-radius: 2px;
}

/* ===================================================================
   SUMATE (destaque laranja)
   =================================================================== */
.about + .sumate {
  padding-top: 0;
}

.sumate {
  background: var(--c-paper);
  padding: clamp(20px, 3vw, 36px) 0;
}

.sumate__card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--c-flame);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 32px;
  box-shadow: 0 6px 22px -10px rgba(255, 77, 31, .45);
  flex-wrap: wrap;
}

.sumate__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-flame);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .18);
}

.sumate__icon svg {
  display: block;
}

.sumate__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.sumate__copy h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 6px;
  color: #fff;
}

.sumate__copy p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  max-width: 62ch;
}

.sumate__card .btn {
  background: var(--c-ink);
  color: #fff;
  flex: 0 0 auto;
}

.sumate__card .btn:hover {
  background: #fff;
  color: var(--c-ink);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--c-ink);
  color: #fff;
  padding: 64px 0 24px;
  border-top: 1px solid var(--c-line-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line-light);
}

.footer__brand {
  min-width: 0;
}

.footer__logo-img {
  width: 250px;
  height: auto;
  display: block;
}

.footer__mark {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: #fff;
}

.footer__mark strong {
  font-weight: 900;
  letter-spacing: -.04em;
}

.footer__slash {
  color: var(--c-flame);
  font-weight: 300;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .6);
  max-width: 340px;
  margin: 0;
}

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

.footer__cols > div {
  min-width: 0;
}

.footer__cols h6 {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 12px;
}

.footer__cols a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  padding: 5px 0;
  transition: color .2s ease;
}

.footer__cols a:hover {
  color: var(--c-flame);
}

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

.footer__base a {
  color: rgba(255, 255, 255, .7);
  transition: color .2s ease;
}

.footer__base a:hover {
  color: var(--c-flame);
}

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ===================================================================
   BREAKPOINTS - tablet (<= 960px)
   =================================================================== */
@media (max-width: 960px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 8px 24px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    align-items: stretch;
  }

  .nav.is-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
    display: block;
    font-size: 15px;
  }

  .nav__links a:last-child {
    border-bottom: 0;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) clamp(20px, 4vw, 40px) 20px;
  }

  .hero__title {
    font-size: clamp(56px, 14vw, 120px);
  }

  .featured__grid {
    grid-template-columns: 1fr;
  }

  .featured__media {
    min-height: 280px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-card__badge {
    width: 88px;
    height: 88px;
    right: 8px;
    top: auto;
    bottom: 8px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__media {
    max-width: 360px;
    margin: 0 auto;
    justify-self: center;
  }

  .about__dots {
    left: 0;
    top: -10px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

/* ===================================================================
   BREAKPOINTS - mobile large (<= 720px)
   =================================================================== */
@media (max-width: 720px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15.5px;
  }

  .hero {
    padding: calc(var(--nav-h) + 28px) 18px 16px;
  }

  .hero__title {
    font-size: clamp(48px, 13vw, 80px);
  }

  .hero__logo {
    width: 70vw;
  }

  .hero__desc {
    font-size: 16px;
  }

  .section__head {
    margin-bottom: 36px;
  }

  .section__title {
    font-size: clamp(26px, 7.5vw, 40px);
  }

  .manifiesto {
    background-size: 32px 32px;
  }

  .manifiesto__bg {
    right: -10px;
  }

  .manifiesto__bg span {
    font-size: clamp(70px, 22vw, 150px);
  }

  .audience__bg {
    left: -10px;
  }

  .audience__bg span {
    font-size: clamp(100px, 28vw, 200px);
  }

  .manifiesto__tools {
    padding: 24px;
  }

  .featured__media {
    min-height: 240px;
    padding: 18px;
  }

  .featured__media-typo {
    padding: 14px 16px;
  }

  .featured__title {
    font-size: clamp(30px, 8.5vw, 44px);
  }

  .featured__lessons {
    grid-template-columns: 1fr;
  }

  .course-card__body {
    padding: 18px;
  }

  .course-card__img-num {
    font-size: clamp(44px, 12vw, 72px);
  }

  .course-card__anchor {
    overflow: visible;
  }

  .course-card__badge {
    width: 120px;
    height: 120px;
    right: -40px;
    top: 12px;
    bottom: auto;
  }

  .about__grid {
    gap: 32px;
  }

  .about__media {
    max-width: 300px;
  }

  .about__title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .about__sub {
    font-size: clamp(18px, 5vw, 26px);
  }

  .sumate__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    text-align: left;
  }

  .sumate__card .btn {
    width: 100%;
  }

  .footer {
    padding: 48px 0 20px;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }

  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11.5px;
  }
}

/* ===================================================================
   BREAKPOINTS - mobile small (<= 480px)
   =================================================================== */
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  .nav__inner {
    padding: 10px 0;
  }

  .nav__logo {
    font-size: 16px;
  }

  .hero {
    min-height: 70vh;
    padding: calc(var(--nav-h) + 20px) 16px 12px;
  }

  .hero__title {
    font-size: clamp(40px, 14vw, 60px);
  }

  .hero__sub {
    font-size: clamp(18px, 5vw, 28px);
  }

  .hero__desc {
    font-size: 15px;
  }

  .hero__chip {
    font-size: 10px;
    padding: 6px 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 11px;
  }

  .section__title {
    font-size: clamp(24px, 8vw, 34px);
  }

  .manifiesto__tools {
    padding: 20px;
  }

  .featured__media {
    min-height: 200px;
    padding: 16px;
  }

  .featured__media-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .featured__media-typo p {
    font-size: 12.5px;
  }

  .featured__title {
    font-size: clamp(28px, 9vw, 38px);
  }

  .course-card__body {
    padding: 16px;
  }

  .about__media {
    max-width: 260px;
  }

  .about__title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .about__sub {
    font-size: clamp(16px, 5vw, 22px);
  }

  .sumate__card {
    padding: 20px;
  }

  .sumate__copy h2 {
    font-size: 18px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .ribbon__track,
  .hero__scroll i {
    animation: none !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
