/* # INICIO # Estilos para o video de entrada */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.fallback-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background-color: #000;
}

.fallback-container img {
  max-height: 200px;
}

.video-overlay {
  position: relative;
  z-index: 2;
  height: 100vh;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
}

.video-overlay h1,
.video-overlay p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.img-fallback {
    width: 10%;
    height: 10vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6);
}

/* # FIM # Estilos para o video de entrada */



footer.bg-dark {
  background: #1e1e23;
}

.social-icons {
  gap: 15px;
  padding: 0;
}

.social-icons li {
  list-style: none;
  margin-right: 30px;
  padding: 0;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #2c2f33;
  color: white;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3), 0 0 18px rgba(255, 255, 255, 0.2);
}

.social-btn:hover .fa-facebook-f {
  color: #1877F2;
  text-shadow: 0 0 10px #1877F2;
}

.social-btn:hover .fa-instagram {
  color: #E4405F;
  text-shadow: 0 0 10px #E4405F;
}

.social-btn:hover .fa-tiktok {
  color: #69C9D0;
  text-shadow: 0 0 10px #69C9D0;
}

footer h3 {
  font-weight: 600;
  border-bottom: 2px solid #444;
  padding-bottom: 6px;
  margin-bottom: 15px;
  color: #fff;
}

footer a {
  color: #fff;
  transition: color 0.3s;
}

footer a:hover {
  color: #ccc;
}

footer p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* # INICIO # Ajustes responsivos para mobile */
html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 72px !important;
  }

  .navbar .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar-brand img {
    width: 42px;
    height: 42px;
  }

  .navbar-brand .brand-name,
  .navbar-brand .brand-separador,
  .navbar-brand .brand-year {
    font-size: 1.15rem !important;
    margin-left: 5px !important;
  }

  .navbar-nav .nav-link {
    display: block;
    width: 100%;
    margin: 0.15rem 0 !important;
    padding: 0.65rem 0.8rem !important;
    font-size: 1.08rem !important;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.32);
  }
}

@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .container.mt-5,
  .container.my-4,
  main.container.my-4,
  .carousel-container {
    margin-top: 1.25rem !important;
  }

  .container.py-5,
  .container.pt-5,
  main.container.pt-5,
  .carousel-container {
    padding-top: 1.4rem !important;
    padding-bottom: 1.4rem !important;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    line-height: 1.2;
  }

  h3 {
    font-size: 1.15rem;
  }

  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs .nav-item {
    flex: 0 0 auto;
  }

  .nav-tabs .nav-link {
    white-space: nowrap;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
  }

  .table-responsive {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  }

  .table-responsive table {
    min-width: 760px;
    font-size: 0.84rem;
  }

  .table > :not(caption) > * > * {
    padding: 0.45rem 0.5rem;
    vertical-align: middle;
  }

  .final-slot,
  .penalty-score {
    font-size: 0.72rem !important;
  }

  .carousel-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .carousel-inner img {
    height: clamp(240px, 55vh, 360px) !important;
    border-radius: 14px;
  }

  .gallery-empty {
    min-height: 260px !important;
    padding: 1.25rem;
  }

  .recinto-card {
    border-radius: 14px !important;
  }

  .recinto-title {
    font-size: 2rem;
  }

  footer {
    text-align: center;
  }

  footer .row {
    row-gap: 0.5rem;
  }

  footer .social-icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px !important;
  }

  footer .social-icons li {
    margin-right: 0 !important;
  }

  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }
}

@media (max-width: 420px) {
  body {
    padding-top: 66px !important;
  }

  .navbar-brand img {
    width: 38px;
    height: 38px;
  }

  .navbar-brand .brand-name,
  .navbar-brand .brand-separador,
  .navbar-brand .brand-year {
    font-size: 0.98rem !important;
  }

  .navbar-toggler {
    padding: 0.25rem 0.45rem;
  }

  .table-responsive table {
    min-width: 700px;
    font-size: 0.8rem;
  }

  .carousel-inner img {
    height: 260px !important;
  }
}
/* # FIM # Ajustes responsivos para mobile */

