:root {
  --ink: #14532d;
  --green: #2f9e41;
  --green-soft: #8fd18a;
  --red: #d7262d;
  --text: #4a574e;
  --dark: #1e2a22;
  --surface: #f1f6f0;
  --line: #d5e3d2;
  --tint: #e3f1e1;
  --gutter: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: "Raleway", system-ui, sans-serif;
  font-feature-settings: "lnum";
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; display: block; }

.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 0.18em; line-height: 16px;
  color: var(--green); text-transform: uppercase;
}
h2 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.07; color: var(--ink);
}
.lead { font-size: 19px; font-weight: 500; line-height: 30px; }

section, header, footer { padding-inline: var(--gutter); }

/* focus */
a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* buttons */
.btn-pill {
  display: inline-flex; align-items: center; gap: 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 900;
  transition: transform .15s ease;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill .arrow {
  display: grid; place-items: center; border-radius: 999px; background: var(--green);
}
.btn-lg { padding: 10px 10px 10px 32px; font-size: 20px; letter-spacing: .01em; }
.btn-lg .arrow { width: 52px; height: 52px; }
.btn-outline {
  display: inline-flex; align-items: center; border: 2px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: 20px 30px; font-size: 18px; font-weight: 800; line-height: 20px;
  transition: background .15s ease, color .15s ease;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand b { display: block; font-size: 15px; font-weight: 900; letter-spacing: .02em; line-height: 18px; color: var(--ink); }
.brand span { display: block; font-size: 14px; font-weight: 500; line-height: 18px; }
.menu { display: flex; align-items: center; gap: 40px; }
.menu a { font-size: 16px; font-weight: 600; line-height: 20px; color: var(--dark); }
.menu a:hover { color: var(--green); }
.menu .nav-cta {
  background: var(--ink); color: #fff; border-radius: 999px; padding: 14px 26px;
  font-size: 15px; font-weight: 800; letter-spacing: .02em;
}
.menu .nav-cta:hover { color: #fff; background: #0f3f22; }

/* hero */
.hero {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding-top: 56px; padding-bottom: 88px;
}
.hero-text { display: flex; flex-direction: column; gap: 32px; max-width: 800px; }
.badge {
  align-self: flex-start; background: var(--green); color: #fff; border-radius: 12px;
  padding: 10px 22px; font-size: 22px; font-weight: 900; letter-spacing: .02em; line-height: 28px;
  transform: rotate(-3deg);
}
.hero-kicker { display: flex; flex-direction: column; gap: 14px; }
.hero-kicker .eyebrow { font-size: 14px; font-weight: 800; line-height: 18px; }
.hero h1 {
  font-size: clamp(40px, 5.3vw, 76px); font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.08; color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--green); display: block; }
.hero p { font-size: 22px; font-weight: 500; line-height: 34px; max-width: 720px; }
.ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero-art { position: relative; width: 436px; height: 584px; flex-shrink: 0; }
.hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticker {
  position: absolute; left: 236px; top: 176px; width: 220px; rotate: 4deg; transform-origin: 0 0;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 20px 22px;
  box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 10px;
}
.sticker div { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; line-height: 26px; color: var(--red); }
.sticker strong { font-size: 22px; font-weight: 900; line-height: 26px; letter-spacing: -.01em; color: var(--ink); }

/* facts */
.facts-wrap { padding-inline: var(--gutter); }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface);
  border-radius: 24px; padding: 36px 8px;
}
.fact { display: flex; flex-direction: column; gap: 6px; padding-inline: 32px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .eyebrow { letter-spacing: .18em; }
.fact b { font-size: 26px; font-weight: 900; letter-spacing: -.01em; line-height: 32px; color: var(--ink); }
.fact span { font-size: 16px; font-weight: 500; line-height: 22px; }

/* section headers */
.sec { padding-top: 136px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; }
.sec-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 740px; }
.sec-head .lead { max-width: 460px; flex-shrink: 0; }

/* steps */
.demo { margin-top: 64px; }
.demo video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--dark); border: 1px solid var(--line); border-radius: 16px; }
.demo figcaption { margin-top: 14px; font-size: 15px; line-height: 22px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.step { border-top: 3px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.step .n { font-size: 72px; font-weight: 900; letter-spacing: -.04em; line-height: 72px; color: var(--green); }
.step h3 { font-size: 26px; font-weight: 900; letter-spacing: -.01em; line-height: 32px; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 18px; line-height: 28px; }

/* learn */
.learn-wrap { padding: 136px 32px 0; }
.learn {
  position: relative; overflow: hidden; background: var(--ink); border-radius: 32px;
  padding: 96px 64px; display: flex; flex-direction: column; gap: 56px;
}
.learn .eyebrow { color: var(--green-soft); }
.learn h2 { color: #fff; max-width: 760px; }
.learn .head { display: flex; flex-direction: column; gap: 16px; }
.topics { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.topic { display: flex; gap: 24px; padding-block: 36px; border-top: 1px solid rgba(255,255,255,.18); }
.topic i { flex-shrink: 0; width: 20px; height: 20px; margin-top: 8px; border-radius: 5px; background: var(--green); }
.topic i.dot { border-radius: 999px; background: var(--red); }
.topic h3 { font-size: 30px; font-weight: 900; letter-spacing: -.01em; line-height: 36px; color: #fff; margin-bottom: 10px; }
.topic p { font-size: 18px; line-height: 28px; color: #cfe3cc; }
.learn-motif { position: absolute; right: 64px; top: 96px; }

/* classes */
.classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.card {
  display: flex; flex-direction: column; gap: 28px; padding: 28px; border: 2px solid var(--ink);
  border-radius: 24px;
}
.card.featured { background: var(--ink); color: #fff; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .eyebrow { color: var(--text); }
.card.featured .eyebrow { color: var(--green-soft); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 12px;
  background: var(--tint); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 16px; white-space: nowrap;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.card.featured .tag { background: var(--green); color: #fff; }
.card.featured .tag::before { background: #fff; }
.date { font-size: 64px; font-weight: 900; letter-spacing: -.04em; line-height: 68px; color: var(--ink); }
.card.featured .date { color: #fff; }
.when { font-size: 18px; font-weight: 600; line-height: 26px; margin-top: 4px; }
.card.featured .when { color: #cfe3cc; }
.card-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px; background: var(--ink); color: #fff; padding: 8px 8px 8px 24px;
  font-size: 16px; font-weight: 800; line-height: 20px; transition: transform .15s ease;
}
.card-btn:hover { transform: translateY(-2px); }
.card-btn .arrow { width: 40px; height: 40px; border-radius: 999px; background: var(--green); display: grid; place-items: center; }
.card.featured .card-btn { background: #fff; color: var(--ink); }

.place {
  display: flex; align-items: center; gap: 32px; background: var(--surface); border-radius: 24px;
  padding: 28px 32px; margin-top: 56px;
}
.place .pin { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.place .info { flex: 1; }
.place b { display: block; font-size: 22px; font-weight: 900; line-height: 28px; color: var(--ink); }
.place span { display: block; font-size: 17px; font-weight: 500; line-height: 26px; }
.place .arrive { flex-shrink: 0; border-left: 1px solid var(--line); padding-left: 32px; text-align: right; display: flex; flex-direction: column; gap: 2px; }

/* participate */
.part { display: flex; gap: 96px; }
.part-main { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.part-main .t { display: flex; flex-direction: column; gap: 16px; }
.checks { border-bottom: 1px solid var(--line); }
.check { display: flex; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.check .ico { width: 32px; height: 32px; border-radius: 999px; background: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.check .ico.ghost { background: none; border: 2px solid var(--green); }
.check b { display: block; font-size: 22px; font-weight: 900; line-height: 28px; color: var(--ink); margin-bottom: 6px; }
.check p { font-size: 17px; line-height: 27px; }
.notes { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; padding-top: 132px; }
.warn { background: #fceeee; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.warn .k { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: #b01e24; }
.warn b { font-size: 24px; font-weight: 900; letter-spacing: -.01em; line-height: 30px; color: #7a1418; }
.warn p { font-size: 17px; line-height: 27px; color: #4a2e2e; }
.cert { display: flex; gap: 20px; align-items: flex-start; border: 2px solid var(--ink); border-radius: 24px; padding: 32px; }
.cert .ico { width: 56px; height: 56px; border-radius: 999px; background: var(--tint); display: grid; place-items: center; flex-shrink: 0; }
.cert b { display: block; font-size: 22px; font-weight: 900; line-height: 28px; color: var(--ink); margin-bottom: 6px; }
.cert p { font-size: 17px; line-height: 27px; }

/* final cta */
.final-wrap { padding: 136px 32px 0; }
.final {
  display: flex; align-items: center; justify-content: space-between; gap: 64px;
  background: var(--green); border-radius: 32px; padding: 88px 64px; color: #fff;
}
.final h2 { color: #fff; font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -.035em; line-height: 1.05; max-width: 820px; margin-bottom: 20px; }
.final p { font-size: 21px; font-weight: 700; line-height: 32px; }
.final .btn-pill { padding: 12px 12px 12px 36px; font-size: 22px; box-shadow: 6px 6px 0 #0b3a1d; flex-shrink: 0; }
.final .btn-pill .arrow { width: 60px; height: 60px; background: #fff; }

/* footer */
footer { padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 48px; }
.logos-block { display: flex; flex-direction: column; gap: 24px; }
.logos-block .eyebrow { color: var(--text); }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 936px; }
.logos img { object-fit: contain; flex-shrink: 1; max-width: 100%; }
.logos .sep { width: 2px; height: 56px; background: #e3e8e4; flex-shrink: 0; }
.foot-base { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.foot-base b { display: block; font-size: 17px; font-weight: 900; line-height: 24px; color: var(--ink); }
.foot-base span { display: block; font-size: 16px; font-weight: 500; line-height: 24px; }
.contacts { display: flex; gap: 56px; }
.contacts div { display: flex; flex-direction: column; gap: 4px; }
.contacts b { font-size: 17px; font-weight: 700; color: var(--dark); }

/* tablet */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .menu { gap: 24px; }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-art { align-self: center; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fact:nth-child(2) { border-right: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .classes { grid-template-columns: 1fr 1fr; }
  .part { flex-direction: column; gap: 56px; }
  .notes { width: 100%; padding-top: 0; }
  .final { flex-direction: column; align-items: flex-start; }
  .learn-motif { display: none; }
}

/* mobile */
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .menu a:not(.nav-cta) { display: none; }
  .brand span { display: none; }
  .nav { padding-block: 18px; }
  .hero { padding-bottom: 56px; gap: 36px; }
  .badge { font-size: 18px; }
  .hero p { font-size: 18px; line-height: 28px; }
  .hero-art { transform: scale(.72); transform-origin: top center; height: 420px; margin-inline: auto; }
  .facts { grid-template-columns: 1fr; padding: 24px 8px; row-gap: 20px; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .fact:last-child { border-bottom: 0; padding-bottom: 0; }
  .sec { padding-top: 80px; }
  .steps { grid-template-columns: 1fr; margin-top: 40px; }
  .learn-wrap, .final-wrap { padding: 80px 12px 0; }
  .learn { padding: 56px 24px; border-radius: 24px; }
  .topics { grid-template-columns: 1fr; }
  .topic h3 { font-size: 24px; line-height: 30px; }
  .classes { grid-template-columns: 1fr; }
  .place { flex-direction: column; align-items: flex-start; gap: 20px; }
  .place .arrive { border-left: 0; padding-left: 0; text-align: left; border-top: 1px solid var(--line); padding-top: 16px; width: 100%; }
  .final { padding: 56px 24px; border-radius: 24px; }
  .final p { font-size: 18px; }
  .final .btn-pill { font-size: 18px; padding-left: 24px; }
  .logos { flex-wrap: wrap; justify-content: center; }
  .logos .sep { display: none; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .contacts { flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* countdown + turmas encerradas */
.countdown {
  align-self: flex-start; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  background: var(--tint); color: var(--ink); border-radius: 999px; padding: 12px 22px;
  font-size: 17px; font-weight: 600; line-height: 24px;
}
.countdown[hidden] { display: none; }
.countdown .cd-num { font-size: 28px; font-weight: 900; letter-spacing: -.02em; color: var(--green); }
.card.past { opacity: .55; }
.card.past .tag { background: #e8ece9; color: var(--text); }
.card.past .tag::before { background: #9aa59d; }
.card.past .card-btn { background: #9aa59d; pointer-events: none; }
.card.past .card-btn .arrow { background: #7e8a81; }
