/* ============ CSS base ============ */
:root {
  --bg: #0a0a0a;
  --bg-soft: #111218;
  --ink: #ffffff;
  --ink-70: rgba(255, 255, 255, 0.7);
  --ink-50: rgba(255, 255, 255, 0.5);
  --muted: #8a8f98;
  --primary: #ff8a00; /* vermelho do layout */
  --primary-700: #ff8a00;
  --card: #0d0f14;
  --radius: 14px;
  --maxw: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* Helpers */
.container {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section {
  padding-block: clamp(32px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(1200px 50% at 70% 0%, rgba(253, 0, 29, 0.25), transparent 60%),
    radial-gradient(1200px 50% at 20% 100%, rgba(253, 0, 29, 0.2), transparent 60%);
}

/* Tipografia */
h1,
h2,
h3,
h4 {
  font-family: "Michroma", sans-serif;
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(26px, 5.2vw, 48px);
}
h2 {
  font-size: clamp(22px, 3.8vw, 32px);
}
h3 {
  font-size: clamp(18px, 3.2vw, 24px);
}
h4 {
  font-size: 18px;
}

.accent {
  color: var(--primary);
}

p {
  margin: 0 0 14px;
}

.muted {
  color: var(--ink-70);
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(253, 0, 29, 0.35);
}
.btn--primary:hover {
  background: var(--primary-700);
}
.btn--ghost {
  border: 1px solid var(--ink-50);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover {
  border-color: #fff;
}

/* ============ Top alert ============ */
.top-alert {
  background: #d71818;
  color: #fff;
  font-size: 14px;
}
.top-alert p {
  margin: 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, white 0%, white 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 60% at 50% -10%, rgba(253, 0, 29, 0.35), transparent 60%),
    url("images/space-texture.jpg") center/cover no-repeat;
  opacity: 0.4;
  z-index: -1;
}
.hero__logo {
  width: 86px;
  height: auto;
  opacity: 0.95;
  margin-bottom: 18px;
}
.hero__title {
  text-transform: uppercase;
  text-align: center;
  color: black;
}
.hero__lead {
  color: var(--ink-70);
  max-width: 820px;
  margin: 16px auto 8px;
  text-align: justify;
  color: black;
}
.hero__chevrons {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin: 10px 0 6px;
}

/* ============ Vídeos ============ */
.videos__item + .videos__item {
  margin-top: 28px;
  width: 50%;
}

.wid{
 width: 50%;
}

.videos__item h3 {
  margin: 0 0 10px;
  color: #fff;
}
.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ Prazo/CTA ============ */
.deadline {
  background: #fff;
  color: #111;
}
.deadline h2 {
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.deadline .muted {
  color: #333;
  opacity: 0.8;
}
.deadline .btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============ Why (dark) ============ */
.section--dark {
  background: #090a0f;
}
.why__head {
  display: grid;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.why__head img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.prose p + p {
  margin-top: 12px;
}

/* ============ Formações (cards) ============ */
.courses__title {
  text-align: left;
  margin-bottom: 8px;
}
.courses__lead {
  color: var(--ink-70);
  margin-bottom: 20px;
}
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: 16px;
}
.card__body h4 {
  margin: 0 0 6px;
}
.disclaimer {
  color: var(--ink-70);
  margin-top: 16px;
  font-size: 14px;
}

/* ============ Sobre ============ */
.about__grid {
  display: grid;
  gap: 20px;
  align-items: center;
}
.about__image img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* ============ Footer ============ */
.footer {
  background: #0a0b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ink-70);
}
.footer__grid {
  display: grid;
  gap: 16px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.footer__logo {
  width: 80px;
  opacity: 0.9;
}
.footer a {
  color: #fff;
  text-decoration: underline;
}

/* ============ Responsivo (>= 768px) ============ */
@media (min-width: 768px) {
  .videos__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .hero__lead {
    text-align: center;
  }


}

/* ============ Responsivo (>= 1200px) ============ */
@media (min-width: 1200px) {
  .hero__logo {
    width: 100px;
  }
  .card img {
    height: 260px;
  }


}

@media (max-width: 800px){
    .videos__item + .videos__item {
  width: 80%;
}

.wid{
 width: 80%;
}

}