/* =========================================================
   PAGINAS INTERNAS DOS VIDEOS
   Compartilhado por Sala Tecnica e Controle de Acesso.
========================================================= */

:root {
  --video-bg: #06152f;
  --video-bg-soft: #0c2850;
  --video-card: rgba(16, 44, 88, 0.78);
  --video-border: rgba(125, 211, 252, 0.2);
  --video-cyan: #67e8f9;
  --video-blue: #3b82f6;
  --video-violet: #8b5cf6;
  --video-text: #f5f9ff;
  --video-muted: #bed0e7;
  --video-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--video-text);
  background:
    radial-gradient(circle at 10% 10%, rgba(34, 211, 238, 0.14), transparent 28%),
    radial-gradient(circle at 92% 54%, rgba(139, 92, 246, 0.16), transparent 32%),
    linear-gradient(145deg, #06152f 0%, #0b2a55 52%, #15173e 100%);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.video-detail-container {
  width: min(calc(100% - 40px), var(--video-max));
  margin-inline: auto;
}

.video-skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: #06152f;
  background: var(--video-cyan);
  font-weight: 800;
  transition: top 0.2s ease;
}

.video-skip-link:focus {
  top: 16px;
}

/* Topo compacto das paginas internas. */
.video-detail-top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(5, 23, 51, 0.88);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.video-detail-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.video-detail-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.video-detail-brand__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #06152f;
  background: linear-gradient(135deg, #67e8f9, #3b82f6);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.32);
}

.video-detail-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-detail-nav a,
.video-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.video-detail-nav a:hover,
.video-detail-nav a:focus-visible,
.video-detail-back:hover,
.video-detail-back:focus-visible {
  transform: translateY(-2px);
  border-color: var(--video-cyan);
  background: rgba(34, 211, 238, 0.12);
  outline: none;
}

/* Apresentacao do registro. */
.video-detail-main {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}

.video-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: #9fb9d8;
  font-size: 13px;
}

.video-detail-breadcrumb a {
  color: var(--video-cyan);
  font-weight: 700;
  text-decoration: none;
}

.video-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(150px, 0.36fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}

.video-detail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 13px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 999px;
  color: var(--video-cyan);
  background: rgba(8, 145, 178, 0.14);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-detail-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.video-detail-hero h1 span {
  color: var(--video-cyan);
}

.video-detail-lead {
  margin: 22px 0 0;
  color: var(--video-muted);
  font-size: 17px;
  line-height: 1.8;
}

.video-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.video-detail-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(148, 197, 255, 0.18);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
}

.video-detail-author-card {
  position: relative;
  width: min(100%, 210px);
  margin: 0 auto;
  padding: 9px;
  border: 1px solid rgba(103, 232, 249, 0.42);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(2, 8, 23, 0.86), rgba(15, 57, 104, 0.72));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.30), 0 0 0 6px rgba(103, 232, 249, 0.045);
  text-align: center;
}

.video-detail-author-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  pointer-events: none;
}

.video-detail-author-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 63% center;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.video-detail-author-card figcaption {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 11px 5px 4px;
}

.video-detail-author-card strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.15;
}

.video-detail-author-card strong span {
  color: #ffffff;
}

.video-detail-author-card strong em {
  color: var(--video-cyan);
  font-style: normal;
}

.video-detail-author-card figcaption > span {
  color: #b9d8ff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}
.video-detail-summary {
  padding: 24px;
  border: 1px solid var(--video-border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(15, 57, 104, 0.8), rgba(38, 31, 93, 0.7));
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.video-detail-summary strong {
  display: block;
  margin-bottom: 7px;
  color: var(--video-cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-detail-summary p {
  margin: 0;
  color: #e4eefb;
  font-size: 15px;
}

/* Player principal ampliado. */
.video-player-shell {
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 26px;
  background: rgba(2, 8, 23, 0.86);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(103, 232, 249, 0.035);
}

.video-player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  /* Preenche toda a largura do player sem deformar o video vertical. */
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: #000814;
}



/* ESTILO VIDEOS VERTICAIS - VESTIARIOS: usado nos blocos adicionados no Video 02, logo depois da imagem img-03.jpeg. */
.video-player-shell--vertical {
  width: 100%;
  max-width: none;
  margin: 0;
}

.video-player-shell--vertical video {
  aspect-ratio: 3 / 4;
  max-height: none;
  object-fit: fill;
  background: #000814;
}

@media (max-width: 720px) {
  .video-player-shell--vertical video {
    aspect-ratio: 3 / 4;
  }
}

/* ESTILO YOUTUBE SHORTS - VIDEO 01: usado no player da pagina videos/sala-tecnica.html. */
.video-player-shell--youtube {
  width: 100%;
}

.video-player-shell--youtube iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  border: 0;
  border-radius: 18px;
  background: #000814;
}
/* FIM ESTILO YOUTUBE SHORTS - VIDEO 01 */
.video-player-shell--cover {
  position: relative;
}

.video-player-cover {
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: grid;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  margin: 0;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  color: #ffffff;
  background: #000814;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 23, 0.02), rgba(2, 8, 23, 0.28));
}

.video-player-cover__play {
  position: relative;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(6, 21, 47, 0.78);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36);
  font-size: 42px;
}

.video-player-cover__play i {
  margin-left: 4px;
}

.video-player-cover:focus-visible {
  outline: 3px solid var(--video-cyan);
  outline-offset: 4px;
}

.video-player-shell--cover.is-playing .video-player-cover {
  opacity: 0;
  visibility: hidden;
}
.video-sequence {
  display: grid;
  gap: 30px;
  margin-top: 36px;
}

.video-sequence-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
}

.video-sequence-copy {
  padding: 28px;
  border: 1px solid var(--video-border);
  border-radius: 22px;
  background: var(--video-card);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.video-sequence-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(103, 232, 249, 0.28);
  border-radius: 8px;
  color: var(--video-cyan);
  font-size: 12px;
  font-weight: 800;
}

.video-sequence-copy h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
}

.video-sequence-copy p {
  margin: 0;
  color: var(--video-muted);
}

.video-detail-image {
  overflow: hidden;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 26px;
  background: rgba(2, 8, 23, 0.86);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(103, 232, 249, 0.035);
}

.video-detail-image img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 18px;
  background: #000814;
}
/* IMAGEM DE APOIO DO VIDEO 02: amplia a foto vertical para acompanhar a largura dos players. */
.video-sequence-item-image .video-detail-image img {
  aspect-ratio: 3 / 4;
  max-height: none;
  object-fit: fill;
}
.video-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  margin-top: 34px;
}

.video-detail-panel {
  padding: 30px;
  border: 1px solid var(--video-border);
  border-radius: 22px;
  background: var(--video-card);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.video-detail-panel h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 23px;
}

.video-detail-panel p {
  margin: 0;
  color: var(--video-muted);
}

.video-detail-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-detail-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: #dceaff;
  font-size: 14px;
}

.video-detail-list i {
  color: var(--video-cyan);
}

.video-detail-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 26px 30px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.video-detail-next:hover,
.video-detail-next:focus-visible {
  transform: translateY(-4px);
  border-color: var(--video-cyan);
  outline: none;
}

.video-detail-next small {
  display: block;
  color: #9fb9d8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.video-detail-next strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 20px;
}

.video-detail-next i {
  color: var(--video-cyan);
  font-size: 28px;
}

/* Rodape exclusivo e compacto. */
.video-detail-footer {
  border-top: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(3, 15, 36, 0.82);
}

.video-detail-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  gap: 28px;
}

.video-detail-footer strong {
  color: var(--video-cyan);
  font-size: 19px;
}

.video-detail-footer p {
  margin: 5px 0 0;
  color: #9fb9d8;
  font-size: 13px;
}

.video-detail-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.video-detail-footer nav a {
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.video-detail-footer nav a:hover,
.video-detail-footer nav a:focus-visible {
  color: var(--video-cyan);
  outline: none;
}

.video-detail-top-link {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(103, 232, 249, 0.45);
  border-radius: 14px;
  color: #06152f;
  background: var(--video-cyan);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  text-decoration: none;
}

@media (max-width: 820px) {
  .video-sequence-item,
  .video-detail-hero,
  .video-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-detail-summary {
    max-width: none;
  }

  .video-detail-nav a:first-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .video-detail-container {
    width: min(calc(100% - 24px), var(--video-max));
  }

  .video-detail-top__inner {
    min-height: 68px;
  }

  .video-detail-brand {
    font-size: 15px;
  }

  .video-detail-brand__icon {
    width: 37px;
    height: 37px;
  }

  .video-detail-nav a {
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 12px;
  }

  .video-detail-main {
    padding: 42px 0 54px;
  }

  .video-detail-breadcrumb {
    margin-bottom: 24px;
  }

  .video-detail-hero h1 {
    font-size: clamp(35px, 12vw, 48px);
  }

  .video-detail-lead {
    font-size: 15px;
  }

  .video-player-shell {
    padding: 5px;
    border-radius: 17px;
  }

  .video-player-shell video {
    max-height: 68vh;
    border-radius: 12px;
  }

  .video-detail-panel,
  .video-detail-next {
    padding: 22px;
    border-radius: 17px;
  }

  .video-detail-next strong {
    font-size: 17px;
  }

  .video-detail-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 0;
  }

  .video-detail-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* INICIO CSS FORMULARIO CONTATO TODOS OS VIDEOS: usado nas paginas internas dos cards de video. */
.video-contact {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(8, 19, 35, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.video-contact__header {
  max-width: 720px;
  margin-bottom: 22px;
}

.video-contact__header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-contact__header h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.16;
}

.video-contact__header p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.7;
}

.video-contact__form {
  display: grid;
  gap: 16px;
}

.video-contact__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.video-contact__field {
  display: grid;
  gap: 8px;
}

.video-contact__field label {
  color: #f8fafc;
  font-size: 0.9rem;
  font-weight: 700;
}

.video-contact__field input,
.video-contact__field textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font: inherit;
  outline: none;
  padding: 13px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.video-contact__field textarea {
  min-height: 140px;
  resize: vertical;
}

.video-contact__field input:focus,
.video-contact__field textarea:focus {
  border-color: rgba(56, 189, 248, 0.78);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.video-contact__button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #04111f;
  cursor: pointer;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.video-contact__button:hover,
.video-contact__button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.video-contact__button.is-loading {
  cursor: wait;
  filter: saturate(0.9) brightness(0.95);
  transform: translateY(0);
}

.video-contact__status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 2px;
  border: 1px solid transparent;
  border-radius: 14px;
  opacity: 0;
  overflow: hidden;
  padding: 0 16px;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.7s ease, margin 0.7s ease, padding 0.7s ease;
  max-height: 0;
  pointer-events: none;
}

.video-contact__status.is-visible {
  max-height: 96px;
  opacity: 1;
  transform: translateY(0);
  padding-block: 13px;
}

.video-contact__status.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.video-contact__status.is-loading {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(14, 165, 233, 0.14);
  color: #bae6fd;
}

.video-contact__status.is-success {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
}

.video-contact__status.is-error {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.video-contact__status i {
  flex: 0 0 auto;
  font-size: 1.1rem;
}

.video-contact__status span {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .video-contact {
    padding: 22px;
  }

  .video-contact__row {
    grid-template-columns: 1fr;
  }

  .video-contact__button {
    justify-self: stretch;
    justify-content: center;
  }
}
/* FIM CSS FORMULARIO CONTATO TODOS OS VIDEOS */