/* ============================================================
   Chão de Oficina — estilo inspirado em vivendodevideo.com.br
   Tema escuro + azul, preto e branco (cores da marca)
   ============================================================ */

:root {
  --bg: #0b0b10;
  --bg-soft: #12121a;
  --bg-card: #16161f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f6;
  --text-muted: #a3a3b2;
  --accent: #2456e0;
  --accent-hover: #2f63f2;
  --accent-2: #7da2ff;
  --accent-3: #16307a;
  --grad: linear-gradient(135deg, #1b3fae 0%, #2456e0 100%);
  --radius: 12px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --z-header: 50;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { display: block; }

[hidden] { display: none !important; }

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 96px 0; }

section[id] { scroll-margin-top: 76px; }

a, button { touch-action: manipulation; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografia ---------- */
h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1, h2 {
  font-family: "Anton", var(--font-head), sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: 0.015em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }

/* Destaque de título: azul sólido da marca (sem degradê) */
.grad-text { color: var(--accent-2); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  min-height: 44px;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }

.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ---------- Badges e tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.badge svg { width: 14px; height: 14px; }

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  margin-bottom: 0.85rem;
}
.section__tag::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: rgba(11, 11, 16, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.header.is-scrolled {
  background: rgba(11, 11, 16, 0.92);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

/* Lockup da marca: nome condensado inclinado + tagline azul, como na logo oficial */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.logo__icon {
  width: 38px; height: 38px;
  padding: 7px;
  color: #fff;
  background: var(--grad);
  border-radius: 10px;
  flex-shrink: 0;
}

.logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo__name {
  font-family: "Anton", var(--font-head), sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  transform: skewX(-6deg);
  transform-origin: left bottom;
}
.logo__name strong { font-weight: 400; color: #fff; }
.logo__tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }
.nav a.btn { color: #fff; }


.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.header__toggle span {
  display: block;
  width: 24px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.is-open span:nth-child(2) { opacity: 0; }
.header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 180px 0 110px;
  overflow: hidden;
}

.hero__glow { display: none; }
.hero::after {
  /* textura sutil de listras diagonais, ecoando a identidade industrial da logo */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.016) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 480px; height: 480px;
  background: var(--accent-3);
  top: -140px; right: -100px;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -180px; left: -120px;
  opacity: 0.22;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero__content h1 { margin: 1.25rem 0 1rem; }
.hero__content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__stats div {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}
.hero__stats strong {
  font-family: "Anton", var(--font-head), sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero__stats span { color: var(--text-muted); font-size: 0.85rem; }

.hero__visual { display: flex; justify-content: center; }
.hero__card {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #10141f, #16233f);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.hero__card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__card-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  text-align: center;
}
.hero__card-fallback svg {
  width: 96px; height: 96px;
  color: var(--accent-2);
}
.hero__card-fallback p {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--text-muted);
}
.hero__card-fallback strong { color: var(--text); font-size: 1.35rem; }

/* ---------- Parceiros ---------- */
.partners {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.partners__label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}
.partners__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
}
.partners__track span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.partners__track span:hover { color: rgba(255, 255, 255, 0.85); }

/* ---------- Cursos (carrossel Swiper, mesmo mecanismo do site de referência) ---------- */
/* Largura total da tela no desktop, como no site de referência */
.courses__full {
  width: 100%;
}

.courses-swiper {
  padding: 14px 8px 52px; /* topo: espaço pro card "subir" no hover sem cortar; embaixo: bolinhas de paginação */
}

/* Card de curso no formato do site de referência: capa + meta + título + resumo + botão */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 0.9rem 1.2rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 162, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.course-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.course-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.course-card__thumb > svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28%;
  height: auto;
  aspect-ratio: 1;
  color: rgba(255, 255, 255, 0.4);
}
.course-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.05rem;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.course-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.course-card__meta svg {
  width: 14px;
  height: 14px;
  color: var(--accent-2);
  flex-shrink: 0;
}

.course-card__title {
  font-size: 1.22rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.course-card__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card__btn { width: 100%; }

/* Selo de nível (usado no modal do curso) */
.poster__level {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

/* Artes de capa na família preto + azul da marca (capa dos cards e do modal) */
.poster--1 { background: linear-gradient(160deg, #101725, #1c3468); }
.poster--2 { background: linear-gradient(160deg, #0d1828, #174a7a); }
.poster--3 { background: linear-gradient(160deg, #12131f, #272b55); }
.poster--4 { background: linear-gradient(160deg, #0d1d22, #14484f); }
.poster--5 { background: linear-gradient(160deg, #14161c, #2a303b); }
.poster--6 { background: linear-gradient(160deg, #0b0d12, #1b2029); }

/* Rolagem contínua estilo esteira (transição linear como no site de referência) */
.courses-swiper .swiper-wrapper {
  transition-timing-function: linear;
}

/* Setas */
.courses-swiper .swiper-button-prev,
.courses-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  margin-top: -49px; /* compensa o padding-bottom da paginação */
  border: none;
  border-radius: 50%;
  background: rgba(11, 11, 16, 0.75);
  backdrop-filter: blur(6px);
  border: 1.5px solid var(--border);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.courses-swiper .swiper-button-prev:hover,
.courses-swiper .swiper-button-next:hover {
  background: rgba(36, 86, 224, 0.85);
  border-color: var(--accent);
}
.courses-swiper .swiper-button-prev::after,
.courses-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 800;
}

/* Bolinhas de paginação (fora do carrossel, como no site de referência) */
.courses-swiper .swiper-pagination {
  bottom: 0;
}
.courses-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  padding: 8px; /* amplia a área de toque sem mudar o visual */
  box-sizing: content-box;
  background-clip: content-box;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: background-color 0.2s ease, width 0.2s ease;
}
.courses-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 24px;
  border-radius: 999px;
}

.courses__pause {
  position: absolute;
  right: 10px;
  bottom: 2px;
  z-index: 11;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: rgba(11, 11, 16, 0.75);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.courses__pause:hover { color: #fff; border-color: var(--accent); }
.courses__pause svg { width: 16px; height: 16px; }

.courses__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Sobre ---------- */
.about { background: var(--bg-soft); }
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 400px;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #10141f, #16233f);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.about__frame-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__frame > svg {
  width: 140px; height: 140px;
  color: rgba(255, 255, 255, 0.12);
}
.about__years {
  position: absolute;
  bottom: -18px; right: -14px;
  background: var(--accent);
  color: #fff;
  font-family: "Anton", var(--font-head), sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0.9rem 1.3rem;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.about__years small { font-size: 0.8rem; font-weight: 600; opacity: 0.9; }

.about__content h2 { margin-bottom: 1rem; }
.about__content > p { color: var(--text-muted); margin-bottom: 1.75rem; }

.about__list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.25rem;
}
.about__list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
  font-weight: 500;
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M20 6 9 17l-5-5"/%3E%3C/svg%3E') center / 10px no-repeat,
    var(--grad);
}

/* ---------- Depoimentos ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonial:hover {
  border-color: rgba(125, 162, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.testimonial__quote {
  width: 26px; height: 26px;
  color: var(--accent);
  opacity: 0.8;
}
.testimonial blockquote {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial figcaption strong { display: block; font-size: 0.95rem; }
.testimonial figcaption small { color: var(--accent-2); font-size: 0.78rem; }

/* ---------- Newsletter ---------- */
.newsletter__box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 2rem;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 16px),
    var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 3.5rem;
}

.newsletter__content h2 { margin-bottom: 0.75rem; }
.newsletter__content > p { color: var(--text-muted); margin-bottom: 1.75rem; max-width: 30rem; }

.newsletter__form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.newsletter__form input {
  flex: 1;
  min-width: 220px;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.newsletter__form input::placeholder { color: var(--text-muted); }
.newsletter__form input:focus { border-color: var(--accent); outline: none; }

.newsletter__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.newsletter__note svg { width: 14px; height: 14px; color: var(--accent-2); }

.newsletter__visual { display: flex; justify-content: center; }
.newsletter__visual svg {
  width: 160px; height: 160px;
  color: rgba(255, 255, 255, 0.14);
}

.newsletter__form.is-success input { border-color: #4caf50; }

/* ---------- Modal de curso ---------- */
.course-modal {
  margin: auto;
  padding: 0;
  width: min(720px, 92vw);
  max-height: 88vh;
  border: none;
  border-radius: 20px;
  background: transparent;
  color: var(--text);
}
.course-modal::backdrop {
  background: rgba(5, 5, 9, 0.78);
  backdrop-filter: blur(4px);
}
.course-modal[open] { animation: modal-in 0.25s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.course-modal__panel {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden auto;
}

.course-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.course-modal__close:hover { background: rgba(0, 0, 0, 0.75); border-color: var(--accent); }
.course-modal__close svg { width: 18px; height: 18px; }

.course-modal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  /* o fundo vem da classe poster--N aplicada via JS (mesma arte escura do card) */
  overflow: hidden;
}
.course-modal__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.course-modal__media iframe,
.course-modal__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.course-modal__media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.92);
}
.course-modal__media-placeholder svg {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
}
.course-modal__media-placeholder span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.85;
}

.course-modal__body {
  padding: 1.75rem 2rem 2rem;
}

.course-modal__level { position: static; display: inline-block; margin-bottom: 0.9rem; }

.course-modal__body h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 0; }

.course-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 1.1rem;
}
.course-modal__meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.course-modal__summary {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.course-modal__body h4 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.course-modal__modules {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.course-modal__modules li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.95rem;
}
.course-modal__modules li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M20 6 9 17l-5-5"/%3E%3C/svg%3E') center / 10px no-repeat,
    var(--grad);
}

/* ---------- Card de investimento (preço do curso no modal) ---------- */
.course-modal__invest {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.course-modal__invest-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  margin-bottom: 1.25rem;
}

.course-modal__pricecard {
  width: 100%;
  max-width: 380px;
  background: #0d0f16;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-modal__pricecard-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.course-modal__pricecard-head svg { width: 22px; height: 22px; color: var(--accent-2); flex-shrink: 0; }
.course-modal__pricecard-head span {
  font-family: "Anton", var(--font-head), sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.course-modal__pricecard-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 26rem;
  margin-bottom: 1.4rem;
}

.course-modal__pricecard-price {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.course-modal__pricecard-price span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.course-modal__pricecard-price strong {
  font-family: "Anton", var(--font-head), sans-serif;
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 0.01em;
  color: #fff;
}

.course-modal__pricecard-installment {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.course-modal__pricecard-installment strong { color: var(--text); font-weight: 700; }

.course-modal__pricecard-cta { width: 100%; justify-content: center; }

.course-modal__pricecard-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0 1.25rem;
}

.course-modal__pricecard-secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: left;
  margin-bottom: 1.1rem;
}
.course-modal__pricecard-secure svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }

.course-modal__pricecard-payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.course-modal__pricecard-payments span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}
.course-modal__pricecard-payments svg { width: 20px; height: 20px; }

body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-top: 72px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  padding-bottom: 56px;
}

.footer__brand > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1.1rem 0 1.5rem;
  max-width: 20rem;
}

.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.footer__social a:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(36, 86, 224, 0.15);
}
.footer__social svg { width: 18px; height: 18px; }

.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.footer__col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--accent-2); }

.footer__pay-title { margin-top: 1.25rem; }
.footer__payments { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer__payments span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}
.footer__payments svg { width: 20px; height: 20px; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer__bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- Animação de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }

  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: -1;
    visibility: hidden;
  }
  .nav.is-open { visibility: visible; }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav a.btn {
    margin-top: 1rem;
    border-bottom: none;
    justify-content: center;
  }

  .header__toggle { display: flex; }

  .hero { padding: 140px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }

  .about__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .about__frame { margin-inline: auto; }

  .newsletter__box { grid-template-columns: 1fr; padding: 2.25rem 1.75rem; }
  .newsletter__visual { display: none; }

  .course-modal { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .course-modal__panel { max-height: 100vh; border-radius: 0; }
  .course-modal__body { padding: 1.5rem 1.25rem 1.75rem; }
  .course-modal__pricecard { padding: 1.75rem 1.25rem; }
  .course-modal__pricecard-price strong { font-size: 2.5rem; }
}

@media (max-width: 640px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero__stats { gap: 1.5rem; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--center { align-items: center; }
}
