* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #0b050a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

nav {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    background-color: rgba(12, 4, 10, 0.8);
    backdrop-filter: blur(5px);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: bold;

}

nav a:hover {
    color: #ff007f;
}

.banner {
    display: flex;
    overflow: hidden;
}

.banner img {
    flex: 1;
}



.titulo-secao {
    text-align: center;
    color: #ff007f;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.secao-alunos {
    padding: 60px 20px;
}

.grid-alunos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-aluno {
    background: #1c0a17;
    border: 2px solid #5a143d;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.card-aluno:hover {
    transform: translateY(-10px);
    border-color: #ff007f;
    box-shadow: 0 10px 25px rgba(255, 0, 127, 0.3);
}

.foto-aluno {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    border: 3px solid #ff007f;
    background-size: cover;
    background-position: center;
}

.card-aluno h3 {
    margin: 10px 0 5px 0;
    font-size: 1.3rem;
}

.cargo {
    color: #a64d79;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.frase {
    font-style: italic;
    color: #ccc;
    font-size: 0.9rem;
}

.card-aluno.destaque {
    border-color: #ffcc00;
    background: linear-gradient(145deg, #1c0a17, #2d0722);
}

.card-aluno.destaque:hover {
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
}

.coroa {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    animation: flutuar 2s ease-in-out infinite;
}

@keyframes flutuar {

    0%,
    100% {
        top: -25px;
    }

    50% {
        top: -32px;
    }
}

.secao-timeline {
    padding: 60px 20px;
    background-color: #0e060d;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #ff007f, #5a143d);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ff007f;
    border: 4px solid #0b050a;
    border-radius: 50%;
    top: 40px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
}

.timeline-content {
    background: #1c0a17;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #3d102c;
}

.data {
    color: #ff007f;
    font-weight: bold;
    font-size: 0.85rem;
}

.timeline-content h3 {
    margin: 5px 0 10px 0;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-turma {
    background-color: #070206;
    border-top: 3px solid #5a143d;
    padding: 40px 20px 20px 20px;
    color: #fff;
    margin-top: 60px;
}

.footer-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1c0a17;
}

.footer-logo,
.footer-countdown,
.footer-redes {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
    align-items: center;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.footer-logo h2 span {
    color: #ff007f;
}

.footer-logo p {
    color: #a64d79;
    font-style: italic;
    font-size: 0.95rem;
}

.footer-countdown h4,
.footer-redes h4 {
    color: #ff007f;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.timer-grid {
    display: flex;
    gap: 15px;
}

.timer-box {
    background: #1c0a17;
    border: 1px solid #ff007f;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 65px;
}

.timer-box span {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.timer-box small {
    color: #ccc;
    font-size: 0.75rem;
}

.btn-instagram {
    background-color: #3d102c;
    border: 1px solid #ff007f;
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-direitos {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    nav ul li a {
        text-decoration: none;
        color: rgb(255, 255, 255);
        font-size: 11px;
        font-weight: bold;

    }

    .banner {
        width: 100%;
        height: 100px;
    }

    .footer-conteudo {
        flex-direction: column;
        text-align: center;
    }

    .timer-grid {
        justify-content: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 45px;
    }

    .timeline-dot {
        left: 12px !important;
    }
}


.secao-ranking {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.ranking-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card-aluno-ranking {
  background: #1c0a17;
  border: 2px solid #ff007f;
  border-radius: 15px;
  padding: 20px;
  width: 280px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 0 15px #ff007f88;
}

.foto-nota {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid #ff007f;
}

.info-notas h3 {
  margin: 0 0 10px 0;
  color: #ff007f;
}

.info-notas ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
  color: #ddd;
  font-size: 0.9rem;
  line-height: 1.4;
}

.secao-login {
  max-width: 400px;
  margin: 60px auto;
  padding: 20px;
  background: #1c0a17;
  border: 2px solid #ff007f;
  border-radius: 15px;
  color: #fff;
}

.secao-login form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.secao-login label {
  font-weight: bold;
  color: #ff007f;
}

.secao-login input {
  padding: 10px;
  border: none;
  border-radius: 8px;
}

.secao-login button {
  background-color: #ff007f;
  border: none;
  padding: 12px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.secao-login button:hover {
  background-color: #e60073;
}

nav ul li a.active {
  color: #ff007f;
  text-decoration: underline;
}
