/* Fontes variáveis do layout editorial.
 * O Core não redistribui binários de fonte: usa o CDN Fontsource em runtime.
 * Se o site registrar as mesmas famílias localmente, o navegador reutiliza a família declarada. */
@font-face {
  font-family: 'Archivo Variable';
  src: url('https://cdn.jsdelivr.net/npm/@fontsource-variable/archivo@5.3.0/files/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader Variable';
  src: url('https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/files/newsreader-latin-opsz-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader Variable';
  src: url('https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/files/newsreader-latin-opsz-italic.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* =====================================================================
   DREAMLAND — ORIGINAL DREAMLAND (seção 06)
   CSS isolado e escopado em .dl-orig — não depende de nenhum CSS global.
   Vira: assets/css/original.css do plugin.
   ===================================================================== */

.dl-orig {
  /* tokens (escopados; podem ser sobrescritos pelos controles do widget) */
  --dl-paper: #efeee9;
  --dl-k: #151515;
  --dl-film: #1b1b19;
  --dl-yellow: #ffe000;
  --dl-line: rgba(239, 238, 233, 0.25);
  --dl-muted: rgba(239, 238, 233, 0.45);
  --dl-grot: 'Archivo Variable', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --dl-serif: 'Newsreader Variable', 'Newsreader', Georgia, serif;
  --dl-m: clamp(16px, 3.2vw, 56px);        /* margem lateral */
  --dl-g: clamp(12px, 1.4vw, 24px);        /* gutter */
  --dl-sp-5: 64px;
  --dl-sp-6: 104px;
  --dl-sp-7: clamp(96px, 13vw, 220px);     /* respiro entre blocos */
  --dl-e-edit: cubic-bezier(0.16, 1, 0.3, 1);
  --dl-e-cut: cubic-bezier(0.77, 0, 0.18, 1);
  --dl-orig-max: 1680px;

  box-sizing: border-box;
  background: var(--dl-film);
  color: var(--dl-paper);
  padding: var(--dl-sp-7) var(--dl-m);
  font-family: var(--dl-grot);
  font-size: clamp(16px, 0.45vw + 13px, 19px);
  line-height: 1.5;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
}
.dl-orig *, .dl-orig *::before, .dl-orig *::after { box-sizing: border-box; }
.dl-orig p { margin: 0; }
.dl-orig h2 { margin: 0; font-weight: inherit; }
.dl-orig ul, .dl-orig ol { margin: 0; padding: 0; list-style: none; }
.dl-orig button { font: inherit; color: inherit; }
.dl-orig canvas, .dl-orig video { display: block; max-width: 100%; }
.dl-orig :focus-visible { outline: 2px solid var(--dl-paper); outline-offset: 4px; }

/* Conteúdo editorial limitado em ultra-wide; o fundo continua full-bleed. */
.dl-orig__head, .dl-player, .dl-orig__reels, .dl-orig__credits, .dl-orig__cta { width: min(100%, var(--dl-orig-max)); margin-inline: auto; }


/* ---------- cabeçalho ---------- */
.dl-orig__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--dl-g);
}
.dl-orig__n {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid rgba(239, 238, 233, 0.4);
  margin-bottom: var(--dl-sp-5);
  font-size: 14px; font-weight: 500;
  font-variation-settings: 'wdth' 90;
  font-variant-numeric: tabular-nums;
}
/* título: Archivo condensada máxima (wdth 62), peso 900, escala de cartaz */
.dl-orig__title {
  grid-column: 1 / -1;
  display: flex; flex-direction: column;
  font-size: clamp(88px, 21vw, 400px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.05em;
  font-variation-settings: 'wdth' 62;
}
.dl-orig__title span:last-child { align-self: flex-end; } /* 2ª linha alinhada à direita: assimetria */
.dl-orig__intro {
  grid-column: 7 / 12;
  margin-top: var(--dl-sp-5);
  display: grid; gap: 14px;
  max-width: 48ch;
}
/* Ajuste 6.2 (parte 1): amplia apenas a largura da introdução no desktop.
   A coluna inicial permanece a 7; mobile e tablet não são alterados. */
@media (min-width: 1025px) {
  .dl-orig .dl-orig__head > .dl-orig__intro {
    grid-column: 7 / -1;
    justify-self: start;
    width: min(40vw, 100%);
    max-width: none;
    min-width: 0;
  }
}
.dl-orig__lede { font: 300 clamp(24px, 2.3vw, 40px) / 1.15 var(--dl-serif); }

/* ---------- player ---------- */
.dl-player { margin-top: var(--dl-sp-6); outline: none; }
.dl-player__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.dl-player__canvas, .dl-player__video { width: 100%; height: 100%; object-fit: cover; }
.dl-player__video[hidden], .dl-player__canvas[hidden] { display: none; }
.dl-player__hud {
  position: absolute; left: 16px; right: 16px; top: 14px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px; font-weight: 600;
  font-variation-settings: 'wdth' 80;
  font-variant-numeric: tabular-nums;
  color: #fff; mix-blend-mode: difference;   /* legível sobre qualquer frame */
  pointer-events: none;
}
.dl-player__big {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(56px, 9vw, 180px);
  font-weight: 800; letter-spacing: -0.04em;
  font-variation-settings: 'wdth' 125;
  color: #fff; mix-blend-mode: difference;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.5s var(--dl-e-edit);
}
.dl-player.is-playing .dl-player__big { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
.dl-player__caption {
  position: absolute; left: 16px; bottom: 14px;
  background: var(--dl-paper); color: var(--dl-k);
  padding: 5px 8px;
  font-size: 11px; font-weight: 500;
  font-variation-settings: 'wdth' 80;
}
.dl-player__caption:empty { display: none; }

.dl-player__bar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: 14px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--dl-line);
}
.dl-orig .dl-player__btn {
  height: 42px; min-width: 42px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  appearance: none; -webkit-appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(239, 238, 233, 0.4) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--dl-paper) !important;
  cursor: pointer;
  font-size: 13px; font-weight: 600;
}
.dl-orig .dl-player__btn:hover,
.dl-orig .dl-player__btn:focus-visible {
  background: var(--dl-paper) !important;
  background-color: var(--dl-paper) !important;
  color: var(--dl-k) !important;
  box-shadow: none !important;
}
.dl-orig .dl-player__btn[aria-pressed='true'] {
  background: var(--dl-yellow) !important;
  background-color: var(--dl-yellow) !important;
  color: var(--dl-k) !important;
  border-color: var(--dl-yellow) !important;
}
.dl-orig .dl-player__btn svg { width: 18px; height: 18px; }
.dl-player__time { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-player__time i { opacity: 0.4; font-style: normal; }

/* scrub = filmstrip de miniaturas + cabeça amarela + range nativo invisível por cima */
.dl-player__scrub { position: relative; height: 46px; }
.dl-player__thumbs { display: flex; gap: 2px; height: 100%; }
.dl-player__thumbs canvas, .dl-player__thumbs img { flex: 1; min-width: 0; height: 100%; object-fit: cover; opacity: 0.5; background: #111; }
.dl-player__scrub::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--pct, 0%);
  background: rgba(255, 224, 0, 0.22);
  pointer-events: none; z-index: 1;
}
.dl-player__head {
  position: absolute; top: -5px; bottom: -5px;
  left: var(--pct, 0%);
  width: 2px; background: var(--dl-yellow);
  z-index: 2; pointer-events: none;
}
.dl-player__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; z-index: 3; cursor: ew-resize;
}
.dl-player__scrub:focus-within { outline: 2px solid var(--dl-paper); outline-offset: 3px; }

/* tela cheia */
.dl-player.is-full { background: #000; display: flex; flex-direction: column; }
.dl-player.is-full .dl-player__screen { flex: 1; aspect-ratio: auto; }
.dl-player.is-full .dl-player__bar { padding: 14px 16px; }

/* ---------- rolos (abas) ---------- */
.dl-orig__reels {
  margin-top: var(--dl-sp-5);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--dl-g); row-gap: 32px;
}
.dl-orig__tabs { grid-column: 1 / 7; }

/*
 * Isolamento explícito contra os estilos globais de button do Elementor/Hello.
 * A aba deve continuar editorial/linear: sem pill, rosa, sombra ou fundo herdado.
 */
.dl-orig button.dl-orig__tab,
.dl-orig button.dl-orig__tab:hover,
.dl-orig button.dl-orig__tab:focus,
.dl-orig button.dl-orig__tab:focus-visible,
.dl-orig button.dl-orig__tab:active,
.dl-orig button.dl-orig__tab[aria-selected='true'] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 0;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-top: 1px solid rgba(239, 238, 233, 0.2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.dl-orig__tab {
  display: grid; grid-template-columns: 5.5em 1fr; align-items: baseline;
  cursor: pointer; text-align: left;
  color: var(--dl-muted) !important;
  font-size: clamp(22px, 2.2vw, 38px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  --wdth: 85;
  font-variation-settings: 'wdth' var(--wdth);
  transition: color 0.45s, font-variation-settings 0.7s var(--dl-e-edit);
}
.dl-orig button.dl-orig__tab:hover,
.dl-orig button.dl-orig__tab:focus-visible { color: var(--dl-paper) !important; }
.dl-orig button.dl-orig__tab:focus-visible {
  outline: 1px solid var(--dl-yellow) !important;
  outline-offset: 3px;
}
.dl-orig button.dl-orig__tab[aria-selected='true'] { color: var(--dl-paper) !important; --wdth: 118; } /* aba ativa "abre" em largura */
.dl-orig__tab-n { font-size: 12px; font-weight: 500; letter-spacing: 0; font-variation-settings: 'wdth' 80; }
.dl-orig__tab[aria-selected='true'] .dl-orig__tab-n { color: var(--dl-yellow); }
.dl-orig__reel-text { grid-column: 8 / 12; font: 300 clamp(19px, 1.6vw, 26px) / 1.35 var(--dl-serif); }

/* ---------- créditos "O que produzimos" (créditos finais de filme) ---------- */
.dl-orig__credits { margin-top: var(--dl-sp-7); text-align: center; }
.dl-orig__credits-title { font-size: 14px; font-weight: 500; color: rgba(239, 238, 233, 0.6); margin-bottom: 24px; }
.dl-orig__credits li { font-size: clamp(30px, 4.4vw, 84px); line-height: 1.06; letter-spacing: -0.035em; }
.dl-orig__credits li:nth-child(odd) { font-weight: 800; font-variation-settings: 'wdth' 125; }
.dl-orig__credits li:nth-child(even) { font: italic 300 clamp(30px, 4.4vw, 84px) / 1.06 var(--dl-serif); }

/* ---------- chamada final ---------- */
.dl-orig__cta { margin-top: var(--dl-sp-7); display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.dl-orig__cta p { max-width: 20ch; font: italic 300 clamp(30px, 3.6vw, 64px) / 1.05 var(--dl-serif); }

/* botão (bloco retangular; preenchimento sobe no hover) */
.dl-btn {
  --bg: var(--dl-yellow); --fg: var(--dl-k);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  border: 0 !important; border-radius: 0 !important;
  background: var(--bg) !important; background-color: var(--bg) !important;
  color: var(--fg) !important;
  box-shadow: none !important;
  font: 600 15px/1 var(--dl-grot);
  font-variation-settings: 'wdth' 88;
  text-decoration: none !important; cursor: pointer;
}
.dl-orig .dl-btn:hover,
.dl-orig .dl-btn:focus-visible,
.dl-orig .dl-btn:active {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--fg) !important;
  box-shadow: none !important;
}
.dl-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--fg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--dl-e-cut);
}
.dl-btn span { transition: color 0.45s var(--dl-e-cut); }
.dl-btn:hover::before, .dl-btn:focus-visible::before { transform: scaleY(1); }
.dl-btn:hover span, .dl-btn:focus-visible span { color: var(--bg); }

/* ---------- mobile (≤720px) ---------- */
@media (max-width: 720px) {
  .dl-orig__head, .dl-orig__reels { grid-template-columns: minmax(0, 1fr); }
  .dl-orig__head > *, .dl-orig__reels > * { grid-column: 1 / -1 !important; }
  .dl-orig__title { font-size: 25vw; }
  .dl-orig__title span:last-child { align-self: flex-start; }
  .dl-player__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .dl-player__time { display: none; }
  .dl-player__sound { font-size: 11px; padding: 0 8px; }
  .dl-player__scrub { grid-column: 1 / -1; order: 5; }
  .dl-player__caption { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .dl-orig *, .dl-orig *::before, .dl-orig *::after { transition-duration: 0.001ms !important; animation: none !important; }
}


/* =====================================================================
   DREAMLAND CORE — refinamentos de integração / créditos cinéticos
   Mantém o contrato visual da referência e adiciona interação no bloco
   “O que produzimos” sem GSAP nem bibliotecas de player.
   ===================================================================== */

.dl-orig.has-no-caption .dl-player__caption { display: none !important; }
.dl-orig.has-no-filmstrip .dl-player__scrub { visibility: hidden; pointer-events: none; }

/* Evita que estilos globais do Elementor/tema contaminem o player. */
.dl-orig .dl-player__btn,
.dl-orig .dl-player__btn:hover,
.dl-orig .dl-player__btn:focus,
.dl-orig .dl-player__btn:focus-visible {
  text-decoration: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.dl-orig .dl-btn,
.dl-orig .dl-btn:hover,
.dl-orig .dl-btn:focus,
.dl-orig .dl-btn:focus-visible {
  text-decoration: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Créditos com lógica de “final de filme”: o scroll escolhe o plano ativo. */
.dl-orig__credits {
  position: relative;
  padding-block: clamp(48px, 7vw, 118px);
  overflow: clip;
}
.dl-orig__credits-title {
  position: sticky;
  top: clamp(84px, 10vh, 128px);
  z-index: 3;
  width: max-content;
  margin-inline: auto;
  padding: 5px 10px;
  color: rgba(239, 238, 233, 0.66);
  background: color-mix(in srgb, var(--dl-film) 84%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dl-orig__credits-progress {
  position: sticky;
  top: calc(clamp(84px, 10vh, 128px) + 30px);
  z-index: 3;
  width: min(240px, 44vw);
  margin: 10px auto 30px;
  display: grid;
  grid-template-columns: auto minmax(32px, 1fr) auto;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(239, 238, 233, 0.62);
  pointer-events: none;
}
.dl-orig__credits-progress i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--dl-yellow) var(--dl-credit-pct, 0%), rgba(239,238,233,.22) var(--dl-credit-pct, 0%));
}
.dl-orig__credits-progress b,
.dl-orig__credits-progress span { font: inherit; }

.dl-orig__credits ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(4px, .45vw, 10px);
  padding-block: clamp(22px, 4vw, 64px);
  perspective: 1200px;
}
.dl-orig__credits li {
  --dl-credit-focus: 1;
  --dl-credit-x: 0px;
  --dl-credit-scale: 1;
  --dl-credit-blur: 0px;
  --dl-credit-opacity: 1;
  transform: translate3d(var(--dl-credit-x), 0, 0) scale(var(--dl-credit-scale));
  opacity: var(--dl-credit-opacity);
  filter: blur(var(--dl-credit-blur));
  transform-origin: center;
  will-change: transform, opacity, filter;
  transition: color .25s ease, text-shadow .25s ease;
}
.dl-orig.has-kinetic-credits .dl-orig__credits li:not(.is-active) {
  color: color-mix(in srgb, var(--dl-paper) 68%, transparent);
}
.dl-orig.has-kinetic-credits .dl-orig__credits li.is-active {
  color: var(--dl-paper);
  text-shadow: 0 0 30px rgba(239,238,233,.05);
}
.dl-orig.has-kinetic-credits .dl-orig__credits li:nth-child(odd) {
  font-variation-settings: 'wdth' var(--dl-credit-wdth, 125);
}
.dl-orig.has-kinetic-credits .dl-orig__credits li:nth-child(even) {
  font-style: italic;
}

/* A CTA funciona como o último “corte” depois dos créditos. */
.dl-orig__cta {
  padding-top: clamp(36px, 4vw, 72px);
  border-top: 1px solid var(--dl-line);
}

@media (min-width: 1441px) {
  .dl-orig { --dl-m: clamp(42px, 4vw, 84px); }
}

@media (max-width: 1024px) {
  .dl-orig__credits-title { top: 88px; }
  .dl-orig__credits-progress { top: 118px; }
}

@media (max-width: 720px) {
  .dl-orig { --dl-sp-7: 84px; --dl-sp-6: 72px; --dl-sp-5: 44px; }
  .dl-orig__n { margin-bottom: 42px; }
  .dl-orig__intro { margin-top: 44px; }
  .dl-player { margin-top: 72px; }
  .dl-orig__reels { margin-top: 42px; }
  .dl-orig__credits { padding-block: 34px 62px; }
  .dl-orig__credits-title { position: relative; top: auto; margin-bottom: 8px; }
  .dl-orig__credits-progress { position: relative; top: auto; margin-bottom: 20px; }
  .dl-orig__credits li { font-size: clamp(30px, 10.5vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .dl-orig__credits li {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

/* Creditos mobile: preservar foco cinematografico sem filtros caros por frame. */
@media (max-width: 720px) {
  .dl-orig .dl-orig__credits li {
    filter: none !important;
    will-change: transform, opacity;
    text-shadow: none;
  }
  .dl-orig.has-kinetic-credits .dl-orig__credits li:nth-child(odd) {
    font-variation-settings: 'wdth' 125;
  }
}

/* =====================================================================
   DREAMLAND CORE 0.13.1 — créditos / CTA Original Dreamland
   - progresso 01—09 alinhado à esquerda, logo abaixo do título;
   - fechamento dos créditos mais compacto;
   - CTA entra logo após o último crédito, sem vazio excessivo.
   ===================================================================== */

.dl-orig__credits {
  padding-top: clamp(42px, 5vw, 82px);
  padding-bottom: clamp(14px, 1.8vw, 28px);
}

.dl-orig__credits-title {
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px 0;
  padding: 0;
  text-align: left;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dl-orig__credits-progress {
  width: min(240px, 42vw);
  margin: 0 0 clamp(18px, 2vw, 28px) 0;
  text-align: left;
}

.dl-orig__credits ul {
  padding-top: clamp(14px, 1.8vw, 26px);
  padding-bottom: clamp(6px, .8vw, 14px);
}

.dl-orig__cta {
  margin-top: clamp(18px, 2vw, 32px);
  padding-top: clamp(28px, 3vw, 48px);
}

@media (max-width: 720px) {
  .dl-orig__credits {
    padding-top: 34px;
    padding-bottom: 12px;
  }

  .dl-orig__credits-title {
    margin: 0 0 8px;
  }

  .dl-orig__credits-progress {
    width: min(220px, 68vw);
    margin: 0 0 18px;
  }

  .dl-orig__credits ul {
    padding-block: 10px 4px;
  }

  .dl-orig__cta {
    margin-top: 16px;
    padding-top: 28px;
  }
}


/* Acervo Original Dreamland: grade editorial integrada ao widget existente.
 * Player externo apenas sob demanda para não carregar 37 iframes na Home. */
.dl-orig__library {
  --dl-orig-library-accent: #72e6ad;
  width: min(100%, var(--dl-orig-max));
  margin: clamp(76px, 9vw, 152px) auto 0;
  color: var(--dl-paper, #efeee9);
}
.dl-orig__library-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: baseline;
  border-top: 1px solid currentColor;
  padding-top: 22px;
  margin-bottom: 26px;
}
.dl-orig__library-eyebrow,
.dl-orig__library-count {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .65;
}
.dl-orig__library-header h3 {
  flex: 1 1 320px;
  font-family: var(--dl-display, inherit);
  font-size: clamp(34px, 4.4vw, 74px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
  margin: 0;
}
.dl-orig__library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 30px;
}
.dl-orig__library-filters button {
  appearance: none;
  border: 1px solid rgba(239,238,233,.28);
  border-radius: 0;
  background: transparent;
  color: var(--dl-paper,#efeee9);
  padding: 10px 14px;
  cursor: pointer;
  font-size: clamp(11px, .8vw, 13px);
  letter-spacing: .04em;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dl-orig__library-filters button[aria-pressed="true"],
.dl-orig__library-filters button:hover {
  background: var(--dl-orig-library-accent, #72e6ad);
  border-color: var(--dl-orig-library-accent, #72e6ad);
  color: #111;
}
.dl-orig__library-filters button:focus-visible,
.dl-orig__video-open:focus-visible,
.dl-orig__video-dialog button:focus-visible {
  outline: 2px solid var(--dl-orig-library-accent, #72e6ad);
  outline-offset: 3px;
}
.dl-orig__library-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(18px, 2vw, 34px);
}
.dl-orig__video-card {
  position: relative;
  min-width: 0;
}
.dl-orig__video-card[hidden] { display: none !important; }
.dl-orig__video-open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}
.dl-orig__video-poster {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: #34342f;
  border: 1px solid rgba(239,238,233,.13);
}
.dl-orig__video-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,transparent 35%,rgba(114,230,173,.11));
  pointer-events: none;
}
.dl-orig__video-poster img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}
.dl-orig__video-open:hover .dl-orig__video-poster img,
.dl-orig__video-open:focus-visible .dl-orig__video-poster img {
  transform: scale(1.045);
}
.dl-orig__video-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(0,0,0,.52);
  color: white;
  font-size: 17px;
  padding-left: 3px;
}
.dl-orig__video-info { display: block; padding-top: 13px; }
.dl-orig__video-info small {
  display: block;
  color: var(--dl-orig-library-accent, #72e6ad);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 10px;
  margin-bottom: 5px;
}
.dl-orig__video-info strong {
  display: block;
  font-family: var(--dl-display,inherit);
  font-size: clamp(20px,1.55vw,30px);
  font-weight: 400;
  line-height: 1.14;
}
.dl-orig__video-dialog {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 0;
  padding: 14px;
  width: min(1040px,calc(100vw - 32px));
  max-width: 1040px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  color: #f5f5f2;
  background: #111;
  box-shadow: 0 35px 110px rgba(0,0,0,.7);
}
.dl-orig__video-dialog:not([open]) { display: none; }
.dl-orig__video-dialog::backdrop { background: rgba(0,0,0,.88); }
.dl-orig__video-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  font-size: clamp(14px, 1.6vw, 20px);
}
.dl-orig__video-dialog-head button {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 0;
  color: white;
  cursor: pointer;
  font-size: 28px;
}
.dl-orig__video-dialog-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.dl-orig__video-dialog-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 1024px) {
  .dl-orig__library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .dl-orig__library { margin-top: 66px; }
  .dl-orig__library-header h3 { flex-basis: 100%; }
  .dl-orig__library-grid { grid-template-columns: minmax(0,1fr); }
  .dl-orig__library-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 16px; scrollbar-width: thin; }
  .dl-orig__library-filters button { flex: none; }
  .dl-orig__video-dialog { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-orig__library * { transition: none !important; }
}

/* Apenas o auxílio para prévia do Drive, dentro do modal existente. */
.dl-orig__drive-help {
  margin: 11px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #bcbcb6;
}
.dl-orig__drive-help[hidden] { display: none; }
.dl-orig__drive-help a { color: var(--dl-orig-library-accent, #72e6ad); }


/* Refinamento Original Dreamland — anti-hover Elementor, tipografia e popup. */
/* Isola elementos interativos dos estilos globais do Elementor/Hello.
   Nunca importar rosa/magenta padrão em normal, hover, focus ou active. */
.dl-orig .dl-orig__video-open,
.dl-orig .dl-orig__video-open:is(:hover, :focus, :focus-visible, :active) {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--dl-paper, #efeee9) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-align: left;
  font-weight: inherit;
}
.dl-orig .dl-orig__video-card,
.dl-orig .dl-orig__video-info {
  min-width: 0;
  max-width: 100%;
}
/* Alguns temas criam overlays via ::before/::after em botões: bloquear.
   Não interfere com o ícone das miniaturas nem com o X do modal. */
.dl-orig .dl-orig__video-open::before,
.dl-orig .dl-orig__video-open::after,
.dl-orig .dl-orig__library-filters button::before,
.dl-orig .dl-orig__library-filters button::after,
.dl-orig .dl-orig__library-more::before,
.dl-orig .dl-orig__library-more::after {
  content: none !important;
  display: none !important;
}
.dl-orig .dl-orig__video-info strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: clamp(15px, 1.04vw, 18px) !important;
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -.015em;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  text-overflow: ellipsis;
  color: var(--dl-paper, #efeee9) !important;
}
.dl-orig .dl-orig__video-info small,
.dl-orig .dl-orig__video-card-meta {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dl-orig-library-accent, #72e6ad) !important;
}
.dl-orig .dl-orig__library-filters button,
.dl-orig .dl-orig__library-more {
  appearance: none;
  border: 1px solid rgba(239,238,233,.28) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--dl-paper, #efeee9) !important;
  text-decoration: none !important;
  transform: none !important;
}
.dl-orig .dl-orig__library-filters button:is(:hover, :focus-visible, :active),
.dl-orig .dl-orig__library-filters button[aria-pressed="true"],
.dl-orig .dl-orig__library-more:is(:hover, :focus-visible, :active) {
  border-color: var(--dl-orig-library-accent, #72e6ad) !important;
  background: var(--dl-orig-library-accent, #72e6ad) !important;
  color: #111 !important;
}
.dl-orig .dl-orig__video-open:focus-visible,
.dl-orig .dl-orig__library-filters button:focus-visible,
.dl-orig .dl-orig__library-more:focus-visible,
.dl-orig .dl-orig__video-dialog button:focus-visible {
  outline: 2px solid var(--dl-orig-library-accent, #72e6ad) !important;
  outline-offset: 3px;
}
.dl-orig .dl-orig__library-more-row {
  display: flex;
  justify-content: center;
  padding-top: clamp(28px, 4vw, 48px);
}
.dl-orig .dl-orig__library-more-row[hidden],
.dl-orig .dl-orig__library-more[hidden] {
  display: none !important;
}
.dl-orig .dl-orig__library-more {
  min-height: 42px;
  padding: 12px 28px !important;
  font-size: 12px;
  letter-spacing: .09em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .16s, color .16s;
}
/* Modal discreto: botão X técnico, sem pílula, sem fundo rosa. */
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button,
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button:is(:hover, :focus, :focus-visible, :active) {
  position: relative;
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  border-radius: 0 !important;
  background: #151515 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
  transform: none !important;
  cursor: pointer;
  transition: border-color .18s, background-color .18s;
}
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button:is(:hover, :focus-visible, :active) {
  border-color: var(--dl-orig-library-accent, #72e6ad) !important;
  background: #242c28 !important;
}
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button::before,
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 17px;
  height: 1.5px;
  background: #f2f2ee;
  transform-origin: center;
  pointer-events: none;
}
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button::before { transform: translate(-50%, -50%) rotate(45deg); }
.dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* Reserva o tamanho da thumb sem recalcular layout enquanto o Drive responde. */
.dl-orig .dl-orig__video-poster img {
  aspect-ratio: 16 / 9;
}
@media (prefers-reduced-motion: reduce) {
  .dl-orig .dl-orig__library-more,
  .dl-orig .dl-orig__video-dialog .dl-orig__video-dialog-head button { transition: none !important; }
}


/* Original Dreamland — Etapa 1: cinco exemplos na Home.
   Este complemento não redefine layout, fontes ou animações existentes. */
.dl-orig .dl-player__external-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  pointer-events: none;
}
.dl-orig .dl-player__external-poster[hidden] { display: none !important; }
.dl-orig .dl-player__external-frame {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.dl-orig .dl-player.has-external-reel .dl-player__bar {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.dl-orig .dl-player.has-external-reel .dl-player__time,
.dl-orig .dl-player.has-external-reel .dl-player__scrub,
.dl-orig .dl-player.has-external-reel .dl-player__sound {
  display: none !important;
}
.dl-orig .dl-player.has-external-reel .js-full {
  grid-column: 3;
  justify-self: end;
}
.dl-orig .dl-player.is-external-playing .dl-player__big,
.dl-orig .dl-player.is-external-playing .dl-player__hud,
.dl-orig .dl-player.is-external-playing .dl-player__caption {
  display: none !important;
}
.dl-orig .dl-orig__showcase-archive-link {
  display: flex;
  width: min(100%, var(--dl-orig-max));
  justify-content: flex-end;
  margin: clamp(28px, 4vw, 56px) auto 0;
}
.dl-orig .dl-orig__showcase-more,
.dl-orig .dl-orig__showcase-more:is(:hover, :focus, :focus-visible, :active) {
  display: inline-flex;
  gap: clamp(24px, 3vw, 60px);
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(239,238,233,.55) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: var(--dl-paper, #efeee9) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.dl-orig .dl-orig__showcase-more:is(:hover, :focus-visible, :active) {
  color: #72e6ad !important;
  border-bottom-color: #72e6ad !important;
}
.dl-orig .dl-orig__showcase-more:focus-visible {
  outline: 2px solid #72e6ad !important;
  outline-offset: 3px;
}
.dl-orig .dl-orig__showcase-more span {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.dl-orig .dl-orig__showcase-more-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
}
@media (max-width: 720px) {
  .dl-orig .dl-orig__showcase-archive-link { justify-content: stretch; }
  .dl-orig .dl-orig__showcase-more { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-orig .dl-orig__showcase-more { transition: none !important; }
}

/* ============================================================
   ORIGINAL DREAMLAND — título do vídeo + arquivo junto do player
   Apresentação EXCLUSIVA para celulares, sem impacto no desktop.
   ============================================================ */
.dl-orig .dl-player__mobile-feature {
  display: none;
}

@media (max-width: 767px) {
  .dl-orig .dl-player__mobile-feature {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 16px;
    padding: 18px 0 0;
  }

  .dl-orig .dl-player__mobile-feature-title {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 5px;
  }

  .dl-orig .dl-player__mobile-feature-eyebrow {
    color: var(--dl-muted, rgba(239,238,233,.6));
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .dl-orig .dl-player__mobile-feature-name {
    display: block;
    max-width: 100%;
    color: var(--dl-paper, #efeee9);
    font-size: clamp(19px, 5.6vw, 25px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  .dl-orig .dl-player__mobile-archive-link,
  .dl-orig .dl-player__mobile-archive-link:is(:hover, :focus, :focus-visible, :active) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(239,238,233,.5) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--dl-paper, #efeee9) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: border-color .2s ease, color .2s ease;
  }

  .dl-orig .dl-player__mobile-archive-link:hover,
  .dl-orig .dl-player__mobile-archive-link:focus-visible {
    border-color: #72e6ad !important;
    color: #72e6ad !important;
  }

  .dl-orig .dl-player__mobile-archive-link svg {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }

  /* O destino do arquivo não aparece duas vezes no mesmo mobile. */
  .dl-orig .dl-orig__showcase-archive-link {
    display: none;
  }

  /* Fullscreen concentra exclusivamente o vídeo e seus controles. */
  .dl-orig .dl-player.is-full .dl-player__mobile-feature {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-orig .dl-player__mobile-archive-link {
    transition: none !important;
  }
}


/* ============================================================
   ORIGINAL / CRÉDITOS — centralização mobile (<=767px)
   O desktop mantém a composição original e o scroll cinético.
   ============================================================ */
@media (max-width: 767px) {
  .dl-orig .dl-orig__credits {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0;
    text-align: center;
  }

  /* O título e a contagem usam o mesmo eixo central da lista. */
  .dl-orig .dl-orig__credits .dl-orig__credits-title {
    position: relative;
    top: auto;
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 12px;
    padding: 0;
    text-align: center;
  }

  .dl-orig .dl-orig__credits .dl-orig__credits-progress {
    position: relative;
    top: auto;
    display: grid;
    width: min(290px, 78vw);
    max-width: 100%;
    margin: 0 auto clamp(20px, 5vw, 30px);
    text-align: center;
  }

  .dl-orig .dl-orig__credits ul {
    display: grid;
    width: 100%;
    margin-inline: auto;
    padding: 12px 0 6px;
    justify-items: center;
    align-items: center;
    gap: clamp(10px, 2.8vw, 18px);
    text-align: center;
  }

  /*
   * A tipografia foi reduzida para acomodar títulos extensos.
   * O JS continua controlando foco/blur/escala, mas o deslocamento
   * alternado em X é neutralizado SOMENTE no mobile para manter
   * todos os créditos no mesmo eixo visual.
   */
  .dl-orig .dl-orig__credits li {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 2px;
    font-size: clamp(24px, 7.2vw, 34px) !important;
    line-height: 1.1;
    letter-spacing: -.035em;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
    transform: translate3d(0, 0, 0) scale(var(--dl-credit-scale, 1));
    transform-origin: center center;
  }
}

@media (max-width: 360px) {
  .dl-orig .dl-orig__credits li {
    font-size: clamp(22px, 6.9vw, 27px) !important;
  }
}
