body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px;
  background-color: #8f2379;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
    z-index: 999;
}

.nav-logo img {
  height: 59px;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #fdf249;
  font-weight: 600;
}

.nav-menu a.active {
  color: #fdf249;
  font-weight: 600;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: fdf249;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #8f2379;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 20px;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 0;
  }
}

/* HOME HERO */
.home-hero {
  background: #8f2379;
  padding: 60px 40px;
  color: white;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-esquerda {
  max-width: 500px;
}

.logo-home {
  width: 100%;
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-data {
  font-size: 34px;
  font-weight: bold;
  color: black;
  margin: 20px 0 5px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  color: white;
}

.hero-sub span {
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.btn-inscreva-preta {
  background: #000;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s;
}

.btn-inscreva-preta:hover {
  background: #333;
}

.hero-direita .hero-ilustra {
  max-width: 600px;
  width: 100%;
  margin-left: -100px;
}

/* INSCRIÇÕES */
.inscricoes {
  padding: 40px 20px;
  background: #f8f8f8;
}

.inscricoes-box {
  max-width: 400px;
  margin: auto;
  background: white;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  border-radius: 8px;
}

.inscricoes h2 {
  color: #8f2379;
  font-size: 24px;
  margin-bottom: 10px;
}

.inscricoes .modalidades {
  font-weight: bold;
  margin-bottom: 20px;
}

.lotes p {
  margin: 5px 0;
  font-size: 16px;
}

.lotes .vagas {
  font-style: italic;
}

.btn-inscreva {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  margin-top: 15px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-inscreva:hover {
  background: #c0392b;
}

/* INFORMAÇÕES */
.informacoes {
  display: flex;
  background: #8f2379;
  color: white;
  padding: 0 80px;
  justify-content: center;
  align-items: flex-end;
  height: 250px;
}

.img-box {
  margin-top: -50px;
  flex-shrink: 0;
}

.img-box img {
  height: 275px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.info-box {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  margin-top: -60px;
  justify-content: center;
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.info-box p {
  font-size: 16px;
  margin: 8px 0;
  margin-bottom: 20px;
}

/* KIT ATLETA */
.kit-atleta {
  background: #fff;
  padding: 50px 80px;
  color: #333;
  text-align: center;
}

.kit-titulo {
  color: #8f2379;
  font-size: 25px;
  margin-bottom: 10px;
}

.kit-descricao {
  font-size: 25px;
  margin: 0 auto 40px;
  max-width: 900px;
}

.kit-conteudo {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.kit-coluna {
  flex: 1 1 400px;
  max-width: 400px;
}

.kit-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

/* RETIRADA DE KIT */
.retirada-box {
  background: #f8f8f8;
  border-radius: 6px;
  padding: 25px 20px;
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

.retirada-box h3 {
  color: #8f2379;
  font-size: 18px;
  margin-bottom: 10px;
}

.retirada-box p {
  font-size: 15px;
  line-height: 1.6;
}

/* ATRAÇÕES */
.atracoes {
  background: #f15e5e;
  padding: 60px 20px;
  text-align: center;
  color: white;
  /* max-height: 270px; removido */
}

.atracoes-titulo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

.atracoes-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.atracao {
  max-width: 160px;
}

.atracao img {
  width: 100%;
  background: white;
  border-radius: 50%;
  padding: 20px;
}

.atracao p {
  margin-top: 15px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

/* PERCURSO */
.percurso {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.percurso-titulo {
  font-size: 22px;
  color: #8f2379;
  font-weight: bold;
  margin-bottom: 30px;
}

.mapa {
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* PREMIAÇÃO */
.premiacao {
  background: #fff;
  padding: 60px 20px 0;
  text-align: center;
  color: #333;
}

.premiacao-titulo {
  color: #8f2379;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}

.premiacao-texto {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.7;
}

.faixas {
  list-style-position: inside;
  padding: 0;
}

.regulamento-box {
  background: #f15e5e;
  padding: 40px 20px;
  color: white;
  text-align: center;
}

.btn-regulamento {
  background: #8f2379;
  color: white;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}

/* GALERIA */
.galeria {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.galeria-titulo {
  font-size: 22px;
  color: #8f2379;
  font-weight: bold;
  margin-bottom: 30px;
}

/* RODAPÉ */
.rodape {
  text-align: center;
  padding: 25px 10px;
  background-color: #8f2379;
  font-size: 14px;
  color: #ffffff;
}

.rodape .social img {
  width: 20px;
  margin: 0 10px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.rodape .social img:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .hero-direita .hero-ilustra,
  .img-box {
    display: none;
  }
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #8f2379;
  color: white;
  border: none;
  padding: 12px 18px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  transition: opacity 0.3s;
}

#backToTopBtn:hover {
  background-color: #8f2379;
}

@media screen and (max-width: 768px) {
  .informacoes {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: auto;
  }

  .info-box {
    margin-top: 20px;
    margin-left: 0;
  }
}

