/* Titillium Web - Local fonts */
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-ExtraLight.ttf') format('truetype'); font-weight:200; font-style:normal; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-ExtraLightItalic.ttf') format('truetype'); font-weight:200; font-style:italic; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-Light.ttf') format('truetype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-LightItalic.ttf') format('truetype'); font-weight:300; font-style:italic; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-Italic.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-SemiBold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-SemiBoldItalic.ttf') format('truetype'); font-weight:600; font-style:italic; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-Bold.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-BoldItalic.ttf') format('truetype'); font-weight:700; font-style:italic; font-display:swap; }
@font-face{ font-family:'Titillium Web'; src:url('/modules/jogo/assets/fonts/TitilliumWeb-Black.ttf') format('truetype'); font-weight:900; font-style:normal; font-display:swap; }

:root{
  --jogo-red:#ef2b4a;
  --jogo-cyan:#17d6cf;
}
html{ scroll-behavior:smooth; }
body{
  font-family: 'Titillium Web', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#000000;
}
body.bg-textura{
  background-color: #0b0b0e;
  background-image:
    linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.70)),
    url('/assets/images/textura.webp');
  background-position: center top;
  background-attachment: fixed;
  background-size: cover;
}
.bg-noise{
  background:
    radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(to bottom, #111, #000);
  background-size: 3px 3px, 5px 5px, cover;
  background-position: 0 0, 1px 1px, center;
}
.font-title{
  font-family: 'Titillium Web', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing:.02em;
}
.hero{
  min-height: 92vh;
  position: relative;
}
.hero > *{ position:relative; z-index:2; }
.hero::after{
  content:"";
  position:absolute; top:0; left:0; right:0; height:100vh;
  background: rgba(0,0,0,.7);
  z-index: 1;
}
.hero > .hero-slide-bg{
  position: absolute;
  top:0; left:0; right:0; height:100vh;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}
.hero > .hero-slide-bg.active{ opacity: 1; }

.glass{
  background: transparent;
  backdrop-filter: none;
}

/* Hamburger toggle */
.menu-toggle{
  background: none; border: none; cursor: pointer; padding: 6px;
  display: flex; flex-direction: column; gap: 6px;
}
.menu-toggle span{
  display: block; width: 28px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.social-rail{
  position: absolute;
  left: 1.25rem;
  top: 8.5rem;
  z-index: 10;
}
.social-rail .line{
  width:1px; height:70px; background: rgba(255,255,255,.35);
  margin: 0 auto 12px;
}
.social-btn{
  width:46px; height:46px;
  border-radius:50%;
  background: var(--jogo-red);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.social-btn:hover{ filter: brightness(1.05); transform: translateY(-1px); }

.fab-whatsapp{
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 999;
  width:64px; height:64px;
  border-radius:50%;
  background:#22c55e;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}

.dot{
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
  flex-shrink: 0;
}
.dot:hover{ border-color: #fff; }
.dot.active{ background: #fff; border-color: #fff; }

#heroTitle{
  transition: opacity .5s ease-in-out;
}
.hero-arrow{
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover{
  background: var(--jogo-red);
  border-color: var(--jogo-red);
}

.hero-video-wrap{
  position: relative;
  overflow: hidden;
  border-radius: 2.2rem;
  background: #0b0b0e;
  aspect-ratio: 16/9;
}
.hero-video{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}
.hero-video.is-ready{ opacity: 1; }
.hero-video-poster{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #141a3d 0%, #0b0b0e 100%);
  z-index: 2;
  transition: opacity .8s ease-in-out;
}
.video-play-btn{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.5);
  border: 2px solid var(--jogo-red);
  border-radius: 50%;
  width: 70px; height: 70px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
  z-index: 3;
}
.video-play-btn:hover{
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--jogo-red);
}
.video-play-btn svg{ margin-left: 4px; }
.hero-video-poster.is-hidden .video-play-btn{ display: none; }
.hero-video-poster.is-hidden{
  opacity: 0;
  pointer-events: none;
}
.hero-video-cta{
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  color: #fff;
  font-size: 2.5rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease-in-out, transform .3s ease, text-shadow .3s ease;
}
.hero-video-cta.is-visible{
  opacity: 1;
  pointer-events: auto;
}
.hero-video-cta:hover{
  color: #fff;
  transform: scale(1.05);
  text-shadow: 0 4px 20px rgba(0,0,0,.8);
}

/* Sponsors carousel – desktop */
.sponsors-carousel{ overflow: hidden; }
.sponsors-track{
  display: flex;
  gap: 1.5rem;
  transition: transform .5s ease-in-out;
}
.sponsors-track a{
  flex: none;
  text-decoration: none;
}
.img-bw{
  filter: grayscale(100%) brightness(.7);
  transition: filter .4s ease;
}
@media(hover:hover){ .img-bw:hover{ filter: grayscale(0%) brightness(1); } }
.img-bw.touched{ filter: grayscale(0%) brightness(1); }
.sponsor-img{
  height: auto;
  object-fit: contain;
}
.sponsor-arrow{
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: background .3s ease;
}
.sponsor-arrow:hover{ background: var(--jogo-red); }
.sponsor-arrow--left{ left: .75rem; }
.sponsor-arrow--right{ right: .75rem; }

/* Footer */
.footer-main{
  margin-top: 35px;
  background: #111118;
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 1.5rem;
}
.page-modo-carrera .footer-main{ margin-top: 0 !important; }
.footer-top{
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-desc{
  color: rgba(255,255,255,.45);
  font-size: .9rem;
  line-height: 1.6;
}
.footer-link{
  color: rgba(255,255,255,.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color .3s ease;
}
.footer-link:hover{ color: var(--jogo-red); }
.footer-social{
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .3s ease;
}
.footer-social:hover{
  background: var(--jogo-red);
  border-color: var(--jogo-red);
  color: #fff;
  transform: translateY(-2px);
}
.footer-book{
  height: 50px;
  object-fit: contain;
  padding: .5rem;
  transition: transform .3s ease;
}
.footer-book:hover{ transform: scale(1.05); }
.footer-bottom{
  color: rgba(255,255,255,.3);
}

/* Campeonato cards */
.camp-card{
  position: relative;
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.camp-card-img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%) brightness(.7);
  transition: filter .5s ease, transform .5s ease;
}
.camp-card:hover .camp-card-img{
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}
.camp-card-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.85) 75%);
  z-index: 1;
}
.camp-card-content{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.camp-card-title{
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: .6rem;
}
.camp-card-line{
  width: 50px; height: 3px;
  background: var(--jogo-red);
  border-radius: 2px;
  margin-bottom: .8rem;
}
.camp-card-desc{
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  line-height: 1.5;
  margin: 0;
}
@media(max-width:767.98px){
  .camp-card{ height: auto; border-radius: 1rem; }
  .camp-card-content{ padding: 1rem; }
  .camp-card-title{ font-size: 1.2rem; }
  .camp-card-desc{ font-size: .75rem; }
  .camp-card-line{ width: 30px; height: 2px; margin-bottom: .5rem; }
  nav img[alt]{ width: 45px !important; height: 45px !important; }
  .sub-nav-link{ font-size: .9rem !important; }
  .glass .text-center{ font-size: 13px !important; }

  /* Hero mobile redesign */
  .hero{ min-height: auto; width: 100%; }
  .hero nav{ background: #000; position: relative; z-index: 3; }
  .hero > .hero-slide-bg{ display: none !important; }
  .hero::after{ display: none; }
  #heroTitle{ font-size: 2rem !important; text-align: left !important; }
  .hero > section{ padding-top: 2rem !important; }
  #heroDots{ margin-top: 2rem !important; }

  /* Mobile slider */
  .mobile-slider{
    position: relative;
    width: 100%;
    background: #000;
  }
  .mobile-slider-images{
    position: relative;
  }
  .mobile-slider-images::before{
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    pointer-events: none;
    z-index: 1;
  }
  .mobile-slide{
    width: 100%;
    height: auto;
    display: none;
    object-fit: cover;
  }
  .mobile-slide.active{ display: block; }
  .mobile-hero-title{
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    z-index: 3;
  }

  /* Social rail - hide original on mobile */
  .social-rail{ display: none !important; }

  /* Mobile social rail - inside red zone */
  .mobile-social-rail{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
  }
  .mobile-social-rail .social-btn{
    width: 38px; height: 38px;
  }
}

/* Sub-nav strip */
.sub-nav{
  background: #fff;
  padding: .75rem 0;
}
.sub-nav-link{
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .04em;
  transition: color .3s ease;
}
.sub-nav-link:hover{ color: var(--jogo-red); }
.sub-nav-link.active{ color: var(--jogo-red); }

/* Exalumnos cards */
.ex-card{
  background: transparent;
  background-position: 0 0, 1px 1px;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.5rem 1.2rem;
  gap: 1rem;
}
.ex-card-img{
  height: 100px;
  width: auto;
  object-fit: contain;
}
.ex-card-btn{
  display: inline-block;
  background: var(--jogo-red);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .45rem 1.4rem;
  border-radius: 0px 0px 20px 20px;
  text-decoration: none;
  transition: filter .3s ease;
}
.ex-card-btn:hover{
  color: #fff;
  filter: brightness(1.15);
}

/* Torneo slider */
.torneo-slider{
  position: relative;
  aspect-ratio: 16/9;
}
.torneo-slide{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.torneo-slide.active{ opacity: 1; }
.torneo-arrow{
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background .3s ease;
}
.torneo-arrow:hover{ background: var(--jogo-red); }
.torneo-arrow--left{ left: 1rem; }
.torneo-arrow--right{ right: 1rem; }

.card-round-xl{ border-radius: 2.2rem; }
