@font-face {
  font-family: "Genos";
  src: url("../fonts/Genos.ttf");
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf");
}

@font-face {
  font-family: "Inter Bold";
  src: url("../fonts/Inter-Bold.ttf");
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf");
}

@font-face {
  font-family: "Poppins Bold";
  src: url("../fonts/Poppins-Bold.ttf");
}

.text-genos {
  font-family: "Genos";
}

.text-inter {
  font-family: "Inter";
}

:root {
  --primaria: #1313AA;
  --secundaria: #004BF3;
  --ternaria: #000CC3;
  --quarternaria: #000377;

  --preto: #161616;
  --branco: #FFFFFF;
  --bege: #D5A658;
}

body {
  font-family: "Inter";
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}

h1 {
  color: #0036AC;
  font-family: "Inter";
  font-weight: bold;
  font-size: 50px;
}

p {
  font-size: 25px;
}

.btn-primary {
  background-color: var(--primaria);
  bordeR: 1px solid var(--primaria);
}

.btn-dark {
  background-color: var(--preto);
  border: 1px solid var(--preto);
}

#banner {
  background-image: url('../img/video.png') !important;
  background-size: cover;
  opacity: 1;

  .card {
    background-color: rgba(101, 101, 101, 0.5);
    border: 5px solid var(--bege);
  }

  p {
    color: var(--branco);
  }


  h1 {
    font-size: 128px;
    color: var(--branco);
  }

  h6 {
    font-size: 30px;
    color: var(--branco);
  }

}

#banner-buttons {
  padding-top: 50px;
  padding-bottom: 50px;

  .btn {
    padding: 40px;
    font-size: 30px;
  }
}

#car {
  padding-top: 0px;
  padding-bottom: 0px;
}

#marks {
  padding-bottom: 30px;

  .progress-container {
    margin-bottom: 1.5rem;
  }

  .step-title {
    font-weight: 600;
    font-size: 36px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .locked {
    color: #c0c9e0;
  }

  .progress-bar {
    height: 20px;
    border-radius: 10px;
  }

  .progress {
    background-color: #e9edf7;
    height: 20px;
    border-radius: 10px;
  }
}

#ranking {
  color: var(--branco);
  background-color: var(--primaria);

  h1 {
    color: var(--branco);
  }

  .btn {
    font-family: "Genos";
    font-weight: bold;
    padding: 50px;
    font-size: 34px;
    line-height: 25px;
  }
}


#about {
  .card {
    h2 {
      font-family: "Genos";
      font-weight: bold;
      font-size: 50px;
    }

    h4 {
      font-weight: bold;
    }
  }
}

#rewards {
  background-image: url('../img/backgroundFooter.png') !important;
  background-size: cover;
  max-height: 1030px;

  .card {
    background-color: rgba(101, 101, 101, 0.5);
    border: 5px solid var(--bege);
    font-family: "Genos";
    font-weight: bold;
    padding: 50px;
    font-size: 50px;
    line-height: 25px;

    .text-bege {
      color: var(--bege);
    }
  }

  #start {
    background-color: var(--primaria);
  }

  h1 {
    color: var(--branco) !important;
  }

  h2 {
    font-size: 50px;
    line-height: 30px;
  }

  h6 {
    font-size: 30px;
    color: var(--branco);
    font-weight: bold;
  }

  p {
    color: var(--branco) !important;
  }

  b {
    color: var(--branco) !important;
  }

  .btn {
    color: var(--branco) !important;
  }
}


/* ADAPTAÇÕES */
@font-face {
  font-family: "Genos";
  src: url("../fonts/Genos.ttf");
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf");
}

@font-face {
  font-family: "Inter Bold";
  src: url("../fonts/Inter-Bold.ttf");
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf");
}

@font-face {
  font-family: "Poppins Bold";
  src: url("../fonts/Poppins-Bold.ttf");
}

:root {
  --primaria: #1313AA;
  --secundaria: #004BF3;
  --ternaria: #000CC3;
  --quarternaria: #000377;
  --preto: #161616;
  --branco: #FFFFFF;
  --bege: #D5A658;
}

body {
  font-family: "Inter";
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

h1 {
  color: var(--primaria);
  font-family: "Inter";
  font-weight: bold;
  font-size: 2.5rem;
}

p {
  font-size: 1.2rem;
}

.btn-primary {
  background-color: var(--primaria);
  border: 1px solid var(--primaria);
}

.btn-dark {
  background-color: var(--preto);
  border: 1px solid var(--preto);
}

#banner {
  background-image: url('../img/background.gif');
  background-size: cover;
  padding-top: 20px;
  padding-bottom: 40px;
  min-height: 650px;
}

#banner .card {
  background-color: rgba(101, 101, 101, 0.5);
  border: 3px solid var(--bege);
}

#banner p {
  color: var(--branco);
  font-size: 1.1rem;
}

#banner h1 {
  font-size: 3rem;
  color: var(--branco);
}

#banner h6 {
  font-size: 1.2rem;
  color: var(--branco);
}

#banner img.img-fluid {
  max-width: 100%;
  height: auto;
}

#banner-buttons {
  padding-top: 30px;
  padding-bottom: 30px;
}

#banner-buttons .btn {
  padding: 15px;
  font-size: 1.2rem;
  touch-action: manipulation;
}

#car {
  padding-top: 0;
  padding-bottom: 0;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.track-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.car {
  position: absolute;
  top: 40%;
  width: 200px;
  z-index: 2;
  transform: translate(-30vw, -50%);
  animation: moveCarX 10s infinite both;
  will-change: transform;
  pointer-events: none;
}

@keyframes moveCarX {
  0% {
    transform: translate(-30vw, -50%);
    animation-timing-function: cubic-bezier(.55, .05, .29, .95);
  }

  30% {
    transform: translate(40vw, -50%);
    animation-timing-function: steps(1, end);
  }

  40% {
    transform: translate(40vw, -50%);
    animation-timing-function: cubic-bezier(.1, .7, .1, 1);
  }

  45% {
    transform: translate(130vw, -50%);
    animation-timing-function: linear;
  }

  100% {
    transform: translate(130vw, -50%);
  }
}

#marks {
  padding-bottom: 20px;
}

#marks .progress-container {
  margin-bottom: 1rem;
}

#marks .step-title {
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#marks .locked {
  color: #c0c9e0;
}

#marks .progress-bar {
  height: 15px;
  border-radius: 8px;
}

#marks .progress {
  background-color: #e9edf7;
  height: 15px;
  border-radius: 8px;
}

#ranking {
  color: var(--branco);
  background-color: var(--primaria);
}

#ranking h1 {
  color: var(--branco);
  font-size: 2rem;
}

#ranking .btn {
  font-family: "Genos";
  font-weight: bold;
  padding: 20px;
  font-size: 1.5rem;
  line-height: 1.2;
}

#about .card {
  background-color: var(--secundaria);
  border: 1px solid var(--secundaria);
}

#about .card:nth-child(2) {
  background-color: var(--ternaria);
  border: 1px solid var(--ternaria);
}

#about .card:nth-child(3) {
  background-color: var(--quarternaria);
  border: 1px solid var(--quarternaria);
}

#about .card h2 {
  font-family: "Genos";
  font-weight: bold;
  font-size: 2rem;
}

#about .card h4 {
  font-weight: bold;
  font-size: 1.2rem;
}

#rewards {
  background-image: url('../img/backgroundFooter.png');
  background-size: cover;
  padding-bottom: 40px;
  max-height: 750px;
}

#rewards .card {
  background-color: rgba(101, 101, 101, 0.5);
  border: 3px solid var(--bege);
  font-family: "Genos";
  font-weight: bold;
  padding: 20px;
  font-size: 1.5rem;
  line-height: 1.2;
}

#rewards #start {
  background-color: var(--primaria);
  border: 1px solid var(--primaria);
  width: 90%;
}

#rewards h1 {
  color: var(--branco);
  font-size: 2rem;
}

#rewards h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

#rewards h6 {
  font-size: 1.2rem;
  color: var(--branco);
  font-weight: bold;
}

#rewards p,
#rewards b {
  color: var(--branco);
  font-size: 1.1rem;
}

#rewards .btn {
  color: var(--branco);
}

@media (max-width: 768px) {
  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
  }

  #banner h1 {
    font-size: 2rem;
  }

  #banner h6 {
    font-size: 1rem;
  }

  #banner p {
    font-size: 0.9rem;
  }

  #banner .text-end img {
    width: 20%;
  }

  #banner .row .col-4 {
    margin-bottom: 15px;
  }

  #banner-buttons .btn {
    font-size: 1rem;
    padding: 10px;
  }

  #car {
    height: 200px;
  }

  .car {
    width: 150px;
  }

  #marks .step-title {
    font-size: 1.2rem;
  }

  #ranking .btn {
    font-size: 1.2rem;
    padding: 15px;
  }

  #ranking h1 {
    font-size: 1.5rem;
  }

  #ranking h3 {
    font-size: 1.3rem;
  }

  #ranking h6 {
    font-size: 1rem;
  }

  #about .card h2 {
    font-size: 1.5rem;
  }

  #about .card h4 {
    font-size: 1rem;
  }

  #about .card p {
    font-size: 0.9rem;
  }

  #rewards .card {
    font-size: 1.2rem;
    padding: 15px;
  }

  #rewards h2 {
    font-size: 1.2rem;
  }

  #rewards h6 {
    font-size: 1rem;
  }

  #rewards #start {
    width: 95%;
  }

  .accordion-button img {
    height: 30px;
  }

  .accordion-button h3 {
    font-size: 1.2rem;
  }

  .table th,
  .table td {
    font-size: 0.9rem;
  }

  #regras {
    .card {
      min-height: 375px;
    }
  }

  #conteudos {
    .card {
      min-height: 216px;
    }
  }


}

@media (max-width: 576px) {
  #banner .row .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #banner-buttons .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }

  #rewards .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  #clusters .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

#conteudo {
  .card {
    transition: background-color 0.5s ease;

    &:hover {
      background-color: #0036AC !important;
      border: 1px solid #0036AC !important;
      color: #FFFFFF !important;

      h5 {
        color: #FFFFFF !important;
      }
    }
  }

  .spanCarrossel {
    top: 40%;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #888585;
    border: none;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: #888585;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      width: 14px;
      height: 14px;
    }
  }
}

#regras {
  .card {
    transition: background-color 0.5s ease;

    &:hover {
      background-color: #0036AC !important;
      border: 1px solid #0036AC !important;
      color: #FFFFFF !important;

      h5 {
        color: #FFFFFF !important;
      }
    }
  }

  .spanCarrossel {
    top: 40%;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #888585;
    border: none;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: #888585;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      width: 14px;
      height: 14px;
    }
  }
}

#minhasApostas .accordion-button:not(.collapsed) {
  color: white !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

#minhasApostas .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

#minhasApostas .accordion-button {
  color: white !important;
  background-color: transparent !important;
}

#minhasApostas .accordion-button::after {
  filter: brightness(0) invert(1);
}

#funcApostas {
  .card {
    height: 180px !important;
    min-height: 180px !important;
  }
  .row {
  height: 100%;
  }
}

.image-hover-wrapper {
  position: relative;
  overflow: hidden;
}

.image-hover-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
}

.image-hover-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  border-radius: 10%;
}

.image-hover-wrapper .overlay-text {
  color: white;
  font-family: inter;
  font-weight: bold;
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.image-hover-wrapper:hover img {
  filter: brightness(70%);
}

.image-hover-wrapper:hover .overlay {
  opacity: 1;
}

.image-hover-wrapper:hover .overlay-text {
  transform: translateY(0);
  opacity: 1;
}

#areaGestor {
  .carousel-item {
    height: 280px;
    overflow: hidden; 
  }

  .image-hover-wrapper {
    height: 100%;
    position: relative;
  }

  .image-hover-wrapper img {
    height: 100%;
    object-fit: cover; 
  }

  .overlay {
    height: 100%;
  }
}

#gestorFuncionar {
  .carousel-item {
    height: 170px;
    overflow: hidden; 
  }

  .image-hover-wrapper {
    height: 100%;
    position: relative;
  }

  .image-hover-wrapper img {
    height: 100%;
    object-fit: cover; 
  }

  .overlay {
    height: 100%;
  }
}

#gestorPremiacao {
  .carousel-item {
    height: 280px;
    overflow: hidden; 
  }

  .image-hover-wrapper {
    height: 100%;
    position: relative;
  }

  .image-hover-wrapper img {
    height: 100%;
    object-fit: cover; 
  }

  .overlay {
    height: 100%;
  }
}


.regulation-button {
  display: inline-block;
  background: #0DFFFF;
  border: none;
  border-radius: 15px;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 600;
  color: #0036AC;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  width: auto;
  max-width: 600px;
}


.regulation-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
  color: #0036AC;
}

.regulation-button:active {
  transform: translateY(0px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.custom-select-white {
  background-color: #fff !important;
  color: #000 !important;
}

.add-row-btn {
  background-color: #f0f0f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Botões prev/next APENAS nos carrosseis de clusters */
#carousel-managers .carousel-control-prev,
#carousel-managers .carousel-control-next,
#carousel-consultants .carousel-control-prev,
#carousel-consultants .carousel-control-next {
    background-color: transparent;
    border: none;
    top: 50%;
    transform: translateY(-50%);
}

#carousel-managers .carousel-control-prev,
#carousel-consultants .carousel-control-prev {
    left: -4%;
}

#carousel-managers .carousel-control-next,
#carousel-consultants .carousel-control-next {
    left: 89%;
}

/* Setas escuras usando filter invert */
#carousel-managers .carousel-control-prev-icon,
#carousel-managers .carousel-control-next-icon,
#carousel-consultants .carousel-control-prev-icon,
#carousel-consultants .carousel-control-next-icon {
    filter: invert(1);
    background-color: transparent;
    height: 40px;
    width: 40px;
}

/* Mobile */
@media (max-width: 768px) {
    #carousel-managers .carousel-control-prev-icon,
    #carousel-managers .carousel-control-next-icon,
    #carousel-consultants .carousel-control-prev-icon,
    #carousel-consultants .carousel-control-next-icon {
      filter: invert(1);
      height: 40px;
      width: 40px;
    }
    #carousel-managers .carousel-control-prev,
    #carousel-consultants .carousel-control-prev {
        left: 3%;
    }

    #carousel-managers .carousel-control-next,
    #carousel-consultants .carousel-control-next {
        left: 82%;
    }
}

#facaVoce .d-none.d-md-flex .card {
  transition: all 0.3s ease;
  cursor: pointer;
}

#facaVoce .d-none.d-md-flex .card:hover {
  transform: translateY(-10px);
  background-color: #0036AC !important;
  box-shadow: 0 8px 16px rgba(0, 54, 172, 0.6);
}

#facaVoce .d-none.d-md-flex .card:hover i {
  color: white !important;
}

#facaVoce .d-none.d-md-flex .card:hover p {
  color: white !important;
}