/* ============================================================
   MATERIAIS DE APOIO. página dedicada
   Hero + filtros + grid de cards + modal de download gated.
   Segue padrão visual de datahub.html.
   ============================================================ */

.mt-page { background: var(--bg, #fff); color: var(--fg, #07090E); }

/* --------- HERO ----------------------------------------------- */
.mt-hero {
  position: relative;
  padding: 128px 0 56px;
  background: var(--vaas-blue-deep, #000B58);
  color: #fff;
  overflow: hidden;
}
.mt-hero__bg-pic { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.mt-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}
.mt-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,11,88,.45) 0%, rgba(0,11,88,.75) 70%, rgba(0,11,88,1) 100%);
  z-index: 1;
}
.mt-hero__inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px;
}
.mt-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--vaas-lime, #CDFF29);
  background: rgba(206,255,41,.08);
  border: 1px solid rgba(206,255,41,.2);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.mt-hero__title {
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 22ch;
  text-wrap: balance;
}
.mt-hero__title em { font-style: normal; color: var(--vaas-lime, #CDFF29); }
.mt-hero__sub {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,.72);
  margin: 0;
  max-width: 640px;
  text-wrap: pretty;
}
.mt-hero__count {
  display: inline-flex; align-items: baseline; gap: 16px;
  padding: 20px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.mt-hero__count-num {
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
  font-size: 56px; line-height: 1;
  color: var(--vaas-lime, #CDFF29);
  letter-spacing: -0.02em;
}
.mt-hero__count-lbl {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}
.mt-hero__count-lbl i {
  font-style: normal;
  color: rgba(255,255,255,.45);
}

/* --------- SECTION + TOOLBAR (filtros + busca) ---------------- */
.mt-section {
  padding: 56px 0 64px;
}
.mt-section__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px;
}

.mt-toolbar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.mt-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  flex: 1; min-width: 0;
  margin-bottom: 0;
}
.mt-filter__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border, #e5e7ee);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px; font-weight: 500;
  color: var(--vaas-blue-deep, #000B58);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.mt-filter__btn em {
  font-style: normal;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-muted, #6b6f80);
  padding: 2px 6px;
  background: rgba(7,9,20,.04);
  border-radius: 999px;
}
.mt-filter__btn:hover {
  background: var(--vaas-gray-100, #f5f7fb);
  border-color: var(--vaas-blue-deep, #000B58);
}
.mt-filter__btn--active {
  background: var(--vaas-blue-deep, #000B58);
  color: #fff;
  border-color: var(--vaas-blue-deep, #000B58);
}
.mt-filter__btn--active em {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
}
.mt-filter__yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF0033;
  line-height: 0;
  transition: color 160ms ease;
}
.mt-filter__btn--active .mt-filter__yt {
  color: #fff;
}
.mt-filter__dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}

.mt-search {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  max-width: 100%;
}
.mt-search__icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--fg-muted, #6b6f80);
  pointer-events: none;
}
.mt-search__input {
  width: 100%;
  padding: 11px 38px 11px 40px;
  background: #fff;
  border: 1px solid var(--border, #e5e7ee);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  color: var(--vaas-blue-deep, #000B58);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.mt-search__input::placeholder { color: var(--fg-muted, #6b6f80); }
.mt-search__input:focus {
  outline: 0;
  border-color: var(--vaas-blue-deep, #000B58);
  box-shadow: 0 0 0 3px rgba(0,11,88,.08);
}
.mt-search__clear {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(7,9,20,.06); border: 0;
  color: var(--vaas-blue-deep, #000B58);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 160ms ease;
}
.mt-search__clear:hover { background: rgba(7,9,20,.12); }

/* --------- GRID DE CARDS -------------------------------------- */
.mt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mt-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, #e5e7ee);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.mt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cat-color);
  z-index: 2;
}
.mt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
  border-color: transparent;
}
.mt-card:focus-visible {
  outline: 2px solid var(--cat-color);
  outline-offset: 2px;
}
.mt-card--soon {
  cursor: default;
  opacity: .8;
}
.mt-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border, #e5e7ee);
}

.mt-card__cover {
  position: relative;
  height: 220px;
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--cat-color) 12%, #fff) 0%, color-mix(in oklch, var(--cat-color) 4%, #fff) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--cat-color);
  border-bottom: 1px solid color-mix(in oklch, var(--cat-color) 10%, var(--border, #e5e7ee));
}
/* Quando há imagem real de capa, fundo limpo branco pra combinar
   com mockups (que vêm tipicamente com fundo branco/transparente) */
.mt-card__cover:has(.mt-card__cover-img) {
  background: #fff;
}
.mt-card__doc {
  width: 92px;
  filter: drop-shadow(0 8px 16px rgba(0,11,88,.08));
  transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}
.mt-card:hover .mt-card__doc { transform: translateY(-4px) rotate(-2deg); }

/* Imagem real de capa (opcional). mockup centralizado, sem cortes */
.mt-card__cover-img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 12px;
  transition: transform 320ms cubic-bezier(.2,.7,.3,1);
}
.mt-card:hover .mt-card__cover-img { transform: scale(1.04); }

/* === VIDEO CARD VARIANT === */
.mt-card--video .mt-card__cover {
  background: transparent;
}
.mt-card__cover-img--video {
  object-fit: cover !important;
  height: 100% !important;
  width: 100% !important;
}
.mt-card__cover-shade {
  display: none;
}
.mt-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--vaas-blue-deep, #000B58);
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.5);
  z-index: 2;
  transition: transform 240ms cubic-bezier(.2,.7,.3,1), background 200ms ease;
  padding-left: 4px;
}
.mt-card--video:hover .mt-card__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--vaas-lime, #CDFF29);
}
.mt-card__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: rgba(7,9,20,.78);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.02em;
}
.mt-card__video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0d18 0%, #1a1f33 100%);
  color: rgba(255,255,255,.35);
}
/* Format badge (Vídeo) ao lado do cat */
.mt-card__format-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FF0033;
  background: rgba(255,0,51,.08);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.mt-card__body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
  gap: 12px;
}
.mt-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.mt-card__cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--vaas-blue-deep, #000B58);
}
.mt-card__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cat-color);
}
.mt-card__pages,
.mt-card__soon {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--fg-muted, #6b6f80);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mt-card__soon {
  background: rgba(7,9,20,.05);
  padding: 3px 8px; border-radius: 4px;
}

.mt-card__title {
  font-family: var(--font-display, sans-serif);
  font-weight: 600;
  font-size: 19px; line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--vaas-blue-deep, #000B58);
  margin: 0;
  text-wrap: balance;
}
.mt-card__desc {
  font-size: 14.5px; line-height: 1.55;
  color: var(--fg-muted, #6b6f80);
  margin: 0;
  text-wrap: pretty;
  flex: 1;
}

.mt-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e5e7ee);
}
.mt-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
  font-size: 13.5px; font-weight: 600;
  color: var(--cat-color);
  transition: gap 160ms ease;
}
.mt-card:hover .mt-card__cta:not(.mt-card__cta--soon) { gap: 12px; }
.mt-card__cta--soon {
  color: var(--fg-muted, #6b6f80);
  font-style: italic;
  font-weight: 500;
}

.mt-empty {
  padding: 64px 32px;
  text-align: center;
  color: var(--fg-muted, #6b6f80);
  font-size: 16px;
}

/* --------- MODAL DE DOWNLOAD GATED ---------------------------- */
.mt-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,9,20,.6);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: mt-modal-bg .2s ease-out both;
}
@keyframes mt-modal-bg { from { opacity: 0; } to { opacity: 1; } }

.mt-modal__box {
  position: relative;
  width: 100%; max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: mt-modal-box .28s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes mt-modal-box {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

.mt-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(7,9,20,.05); border: 0;
  color: var(--vaas-blue-deep, #000B58);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 160ms ease;
}
.mt-modal__close:hover { background: rgba(7,9,20,.1); }

.mt-modal__head { margin-bottom: 24px; }
.mt-modal__eyebrow {
  display: inline-block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--vaas-blue, #0434F4);
  margin-bottom: 12px;
}
.mt-modal__title {
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
  font-size: 22px; line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--vaas-blue-deep, #000B58);
  margin: 0 0 10px;
  text-wrap: balance;
}
.mt-modal__sub {
  font-size: 14.5px; line-height: 1.55;
  color: var(--fg-muted, #6b6f80);
  margin: 0;
}

.mt-modal__mat {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(7,9,20,.04);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--vaas-blue-deep, #000B58);
  font-weight: 500;
}
.mt-modal__mat-cat {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

.mt-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.mt-modal__field { display: flex; flex-direction: column; gap: 6px; }
.mt-modal__field:nth-child(1),
.mt-modal__field:nth-child(2) { grid-column: 1 / -1; }
.mt-modal__field > span {
  font-size: 12.5px; font-weight: 500;
  color: var(--vaas-blue-deep, #000B58);
}
.mt-modal__field i {
  font-style: normal;
  color: var(--vaas-blue, #0434F4);
  margin-left: 3px;
}
.mt-modal__field input {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--border, #e5e7ee);
  border-radius: 8px;
  color: var(--vaas-blue-deep, #000B58);
  transition: border-color 160ms ease;
}
.mt-modal__field input:focus {
  outline: 0;
  border-color: var(--vaas-blue, #0434F4);
  box-shadow: 0 0 0 3px rgba(4,52,244,.1);
}

.mt-modal__consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 20px;
  font-size: 12.5px; line-height: 1.5;
  color: var(--fg-muted, #6b6f80);
  cursor: pointer;
}
.mt-modal__consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

.mt-modal__err {
  background: rgba(229,72,77,.08);
  border: 1px solid rgba(229,72,77,.2);
  color: #c63437;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.mt-modal__cta {
  width: 100%;
  justify-content: center;
}

.mt-modal__done {
  text-align: center;
  padding: 16px 0 8px;
}
.mt-modal__done-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(91,163,74,.12);
  color: #5BA34A;
  margin-bottom: 18px;
}
.mt-modal__done .mt-modal__title { margin-bottom: 10px; }
.mt-modal__done .mt-modal__sub { margin-bottom: 24px; }

/* ============================================================
   VÍDEOS. seção do canal YouTube
   1 featured grande + 3 cards. Placeholders quando não há videoId.
   ============================================================ */

.mt-videos {
  padding: 24px 0 96px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(4,52,244,.04), transparent 70%),
    #fff;
}
.mt-videos__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.mt-videos__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.mt-videos__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vaas-blue-deep, #000B58);
  background: rgba(7,9,20,.04);
  border: 1px solid rgba(7,9,20,.06);
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.mt-videos__yt-mark {
  display: inline-flex;
  color: #FF0033;
}
.mt-videos__title {
  font-family: var(--font-display, sans-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--vaas-blue-deep, #000B58);
  margin: 0 0 12px;
  text-wrap: balance;
}
.mt-videos__title em {
  font-style: normal;
  color: var(--vaas-blue, #0434F4);
}
.mt-videos__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-muted, #6b6f80);
  margin: 0;
  text-wrap: pretty;
}

/* --------- VIDEO base ---------------------------------------- */
.mt-video {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border, #e5e7ee);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.mt-video:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,11,88,.10);
  border-color: transparent;
}
.mt-video:focus-visible {
  outline: 2px solid var(--vaas-blue, #0434F4);
  outline-offset: 2px;
}
.mt-video--soon {
  cursor: default;
}
.mt-video--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border, #e5e7ee);
}

/* --------- THUMB --------------------------------------------- */
.mt-video__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--vaas-blue-deep, #000B58);
}
.mt-video__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(.2,.7,.3,1);
}
.mt-video:hover .mt-video__thumb img {
  transform: scale(1.04);
}

/* Preview ao vivo (autoplay mudo) preenchendo o retângulo do destaque. */
.mt-video__thumb--live { overflow: hidden; }

/* Destaque como vídeo embedado de largura total (sem coluna de texto). */
.mt-video--embed {
  display: block !important;
  width: 100%;
  cursor: pointer;
  position: relative;
}
.mt-video--featured.mt-video--embed .mt-video__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
}
/* Badge central de "play" indicando que dá pra expandir no clique. */
.mt-video--embed .mt-video__expand {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--vaas-blue-deep, #000B58);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px -8px rgba(0, 11, 88, 0.55);
  opacity: 0;
  transition: opacity 220ms var(--ease-out, ease), transform 220ms var(--ease-out, ease);
  pointer-events: none;
}
.mt-video--embed:hover .mt-video__expand,
.mt-video--embed:focus-visible .mt-video__expand {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.04);
}
.mt-video--embed:focus-visible {
  outline: 3px solid var(--vaas-lime, #cdff29);
  outline-offset: 3px;
}
.mt-video__live-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 400ms var(--ease-out, ease);
}
.mt-video__live-poster.is-hidden { opacity: 0; }
.mt-video__live-holder {
  position: absolute;
  inset: 0;
}
/* iframe criado pela API do YouTube cobre o retângulo (corta barras 16:9). */
.mt-video__thumb--live .mt-video__live-holder iframe,
.mt-video__live-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.32);
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
/* Botão discreto para abrir o vídeo completo (com som) no modal. */
.mt-video__expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--vaas-blue-deep, #000B58);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px -6px rgba(0, 11, 88, 0.5);
  transition: transform 160ms var(--ease-out, ease), background 160ms var(--ease-out, ease);
}
.mt-video__expand:hover {
  transform: scale(1.08);
  background: #fff;
}

/* Placeholder de marca quando não há videoId */
.mt-video__placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 35%, rgba(205,255,41,.16), transparent 55%),
    linear-gradient(135deg, #000B58 0%, #0434F4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mt-video__placeholder-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 0%, transparent 85%);
}
.mt-video__placeholder-mark {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
}
.mt-video__placeholder-mark span {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vaas-lime, #CDFF29);
  padding: 4px 10px;
  border: 1px solid rgba(205,255,41,.4);
  border-radius: 4px;
  background: rgba(0,0,0,.28);
}

.mt-video__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,11,88,.55) 100%);
  pointer-events: none;
}
.mt-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--vaas-blue-deep, #000B58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
  pointer-events: none;
}
.mt-video:hover .mt-video__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--vaas-lime, #CDFF29);
}
.mt-video--soon .mt-video__play {
  opacity: .55;
}
.mt-video--soon:hover .mt-video__play {
  transform: translate(-50%, -50%) scale(.96);
  background: rgba(255,255,255,.94);
}

.mt-video__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,.65);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* --------- META --------------------------------------------- */
.mt-video__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 22px;
  flex: 1;
}
.mt-video__meta-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mt-video__tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted, #6b6f80);
  background: rgba(7,9,20,.05);
  padding: 4px 10px;
  border-radius: 999px;
}
.mt-video__tag--feature {
  color: var(--vaas-blue, #0434F4);
  background: rgba(4,52,244,.08);
}
.mt-video__title {
  font-family: var(--font-display, sans-serif);
  font-weight: 600;
  color: var(--vaas-blue-deep, #000B58);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.mt-video__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted, #6b6f80);
  margin: 0;
  text-wrap: pretty;
}
.mt-video__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--vaas-blue, #0434F4);
  margin-top: auto;
  transition: gap 160ms ease;
}
.mt-video:hover .mt-video__cta { gap: 12px; }

/* --------- FEATURED (layout 2-col) --------------------------- */
.mt-video--featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-radius: 18px;
  margin-bottom: 28px;
}
.mt-video--featured .mt-video__thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 360px;
}
.mt-video--featured .mt-video__meta {
  padding: 40px 44px;
  gap: 16px;
  justify-content: center;
}
.mt-video--featured .mt-video__title {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
}
.mt-video--featured .mt-video__play {
  width: 84px;
  height: 84px;
}
.mt-video--featured .mt-video__play svg {
  width: 26px;
  height: 26px;
}

/* --------- GRID secundário ---------------------------------- */
.mt-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mt-video--card .mt-video__title {
  font-size: 17px;
  line-height: 1.3;
}
.mt-video--card .mt-video__meta {
  padding: 18px 20px 20px;
  gap: 10px;
}

/* --------- Channel footer ----------------------------------- */
.mt-videos__footer {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.mt-videos__channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--vaas-blue-deep, #000B58);
  background: #fff;
  border: 1px solid var(--border, #e5e7ee);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.mt-videos__channel:hover {
  border-color: var(--vaas-blue-deep, #000B58);
  background: var(--vaas-blue-deep, #000B58);
  color: #fff;
  transform: translateY(-1px);
}
.mt-videos__channel:hover svg path:first-child { fill: #FF4060; }
.mt-videos__channel svg { color: #FF0033; transition: color 180ms ease; }
.mt-videos__channel-arrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 14px;
  opacity: .55;
}

/* --------- Modal de embed ----------------------------------- */
.mt-vmodal {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(0,11,88,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: mt-vmodal-fade 200ms ease-out;
}
@keyframes mt-vmodal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.mt-vmodal__inner {
  position: relative;
  width: 100%;
  max-width: 1120px;
  animation: mt-vmodal-rise 320ms cubic-bezier(.2,.9,.3,1);
}
@keyframes mt-vmodal-rise {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.mt-vmodal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
}
.mt-vmodal__close:hover {
  background: rgba(255,255,255,.22);
}
.mt-vmodal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.mt-vmodal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mt-vmodal__caption {
  margin-top: 16px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  text-align: center;
}

/* --------- RESPONSIVO ----------------------------------------- */
@media (max-width: 1100px) {
  .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mt-hero { padding: 112px 0 40px; }
  .mt-hero__inner,
  .mt-section__inner { padding: 0 22px; }
  .mt-hero__title { font-size: clamp(28px, 7.5vw, 38px); margin-bottom: 12px; }
  .mt-hero__sub { font-size: 15.5px; }
  .mt-section { padding: 40px 0 72px; }
  .mt-toolbar { gap: 12px; margin-bottom: 28px; flex-direction: column; align-items: stretch; }
  .mt-search { width: 100%; }
  .mt-filter { gap: 6px; }
  .mt-filter__btn { padding: 9px 14px; font-size: 13px; }
  .mt-grid { grid-template-columns: 1fr; gap: 16px; }
  .mt-card__cover { height: 180px; }
  .mt-card__doc { width: 76px; }
  .mt-card__body { padding: 20px 18px 18px; }
  .mt-card__title { font-size: 17.5px; }

  .mt-modal { padding: 12px; align-items: flex-end; }
  .mt-modal__box {
    padding: 36px 22px 24px;
    max-height: calc(100vh - 24px);
    border-radius: 16px 16px 8px 8px;
  }
  .mt-modal__fields { grid-template-columns: 1fr; gap: 12px; }
  .mt-modal__title { font-size: 19px; }
}

/* --- Videos: tablet --- */
@media (max-width: 1100px) {
  .mt-video--featured {
    grid-template-columns: 1fr;
  }
  .mt-video--featured .mt-video__thumb {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .mt-video--featured .mt-video__meta {
    padding: 28px 28px 32px;
  }
  .mt-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Videos: mobile --- */
@media (max-width: 720px) {
  .mt-videos {
    padding: 56px 0 16px;
  }
  .mt-videos__inner { padding: 0 22px; }
  .mt-videos__head { margin-bottom: 28px; }
  .mt-videos__title { font-size: clamp(24px, 6.5vw, 32px); }
  .mt-videos__sub { font-size: 15px; }

  .mt-video--featured .mt-video__meta {
    padding: 22px 20px 24px;
    gap: 12px;
  }
  .mt-video--featured .mt-video__play {
    width: 64px;
    height: 64px;
  }
  .mt-video--featured .mt-video__play svg {
    width: 20px;
    height: 20px;
  }

  .mt-videos__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mt-video__play {
    width: 50px;
    height: 50px;
  }

  .mt-vmodal { padding: 16px; }
  .mt-vmodal__close { top: -40px; }
  .mt-vmodal__caption { font-size: 13px; }
}
