* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: url("../img/fdo01.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #000;
}

.hero {
  padding: 20px 0px 0px 0px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.mascote-e-titulo {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.mascotes {
  width: 400px;
  height: auto;
}

.bloco-titulo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.edital {
  margin-bottom: -10px;
  padding-right: 10px;
}

.edital img {
  width: 260px;
}

.nome-turma {
  width: 400px;
  height: auto;
}

.cta {
  margin-top: 30px;
  margin-bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta button {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 10px 30px 10px 35px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 60px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.cta button:hover {
  background-color: #e55300;
}

.cta a {
  text-decoration: none;
  color: aliceblue;
}

/* Segunda seção - Imersão */
.secao-imersao {
  background-color: #007000;
  color: white;
  padding: 20px 20px 40px 20px;
  display: flex;
  justify-content: center;
}

.bloco-imersao {
  max-width: 800px;
  width: 100%;
}

.topo-imersao {
  text-align: left;
  margin-bottom: 10px;
}

.cabecalho-imersao {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.lista-beneficios {
  list-style: disc;
  padding-left: 40px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.8;
}

.lista-beneficios li {
  font-weight: bold;
}

.lista-beneficios .detalhe {
  font-weight: normal;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .topo-imersao {
    text-align: center;
  }

  .cabecalho-imersao {
    width: 90%;
  }

  .lista-beneficios {
    padding-left: 20px;
  }

  .cta {
    text-align: center;
  }
}

/* Terceira seção - Investimento e início */

.secao-informacoes {
  background-image: url("../img/fdo01.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  color: #000;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.bloco-infos {
  max-width: 900px;
  width: 100%;
}

.info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info img {
  width: 80px;
  height: auto;
  margin-right: 15px;
}

.info p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.cta {
  text-align: right;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .info {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .info img {
    margin-bottom: 8px;
  }

  .cta {
    text-align: center;
  }
}

/* Controle de visibilidade */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Logo AMPERJ no mobile */
.logo-mobile {
  width: 220px;
  margin-top: 20px;
}

/* Regras para dispositivos móveis */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .logo-mobile {
    margin: 20px auto 0 auto;
  }
}

/* Seção Corpo docente */

.secao-docentes {
  background-color: #007000;
  padding: 50px 20px;
  text-align: center;
  color: white;
}

.cabecalho-docentes {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
  padding-left: 10px;
}

.cabecalho-docentes img {
  width: 220px;
}

.carrossel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.carrossel-externo {
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.carrossel {
  display: flex;
  gap: 20px;
  animation: deslizar 25s linear infinite;
  width: max-content;
}

.professor {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
}

.professor img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  margin-bottom: 10px;
}

.professor p {
  font-size: 14px;
  line-height: 1.3;
  color: white;
}

.professor span {
  font-weight: normal;
  font-size: 13px;
  color: #d0ffd0;
}

.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 2;
  padding: 8px;
}

.seta.esquerda {
  left: -50px; /* desloca para fora do carrossel */
}

.seta.direita {
  right: -50px; /* desloca para fora do carrossel */
}

@media (max-width: 768px) {
  .seta {
    display: none;
  }
}

@keyframes deslizar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* ajuste conforme o total duplicado */
}

@media (max-width: 768px) {
  .professor {
    width: 140px;
  }

  .cabecalho-docentes img {
    width: 180px;
  }

  .seta {
    display: none;
  }
}

/*Rodapé */

.rodape {
  background: url("../img/fdo.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
  padding: 40px 20px 30px;
  text-align: center;
}

.slogan-final {
  color: #013601;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 30px;
}

.info-container {
  max-width: 600px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: left;
}

.logo-eda img {
  width: 250px;
}

.endereco {
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
  color: #013601;
}

.whatsapp-final img {
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.whatsapp-final img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .endereco {
    max-width: none;
  }
}

/* Botão WhatsApp */
.whatsapp-fixo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-fixo img {
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
}

.whatsapp-fixo img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .whatsapp-fixo {
    display: none;
  }
}
