:root {
    --branco: white;
    --preto: black;
    --fundo-cabecalho: #141414;
    --cinza-claro: #ccc;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--preto );
    color: var(--branco);
    height: 100vh;
}

.cabecalho {
    background-color: var(--fundo-cabecalho);
    padding: 1rem;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    gap: 30px;
}

.cabecalho nav {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cabecalho nav a{
    color: var(--branco);
    text-decoration: none;
    font-size: 20px;
}

.banner {
    position: relative;
    background: url("img/1Ano.jpeg") no-repeat center;
    height: 300px;
    padding: 120px 1rem 2rem;
    background-size: cover;
}

.banner::after {
    position: absolute;
    content: '';
    background: linear-gradient(to top, rgba(0, 0, 0, 0.561), rgba(0, 0, 0, 0.290));
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.conteudo {
    position: relative;
    max-width: 100%;
    color: var(--branco);
    z-index: 2;
}

.titulo {
    font-family: "Great Vibes", cursive;
    font-size: 40px;
    margin: 0;
}

.detalhes {
    margin: 10px 0;
    font-size: 12px;
    color: var(--cinza-claro);
}

.descricao {
    font-size: 14px;
    line-height: 1.3;
}

.botoes {
    margin-top: 20px;
}

.botoes button {
    background: #fff;
    color: var(--preto);
    border: none;
    padding: 10px 16px;
    margin-right: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.momentos {
    padding: 1.5rem 1rem;
}

.momentos h2 {
    margin-bottom: 1rem;
    font-size: 24px;
}

.swiper {
    width: 100%;
    padding-bottom: 20px;
    overflow: visible;
}


.swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.8);
}

/* 🔥 SLIDE ATIVO */
.swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}

/* opcional - vizinhos */
.swiper-slide-next,
.swiper-slide-prev {
    opacity: 0.6;
    transform: scale(0.8);
}

.swiper-slide img{
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


footer {
    background-color: #141414;
    padding: 1rem;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

@media(min-width: 900px) {
    .swiper-slide img{
        width: 600px;
        height: 600px;
    }

    .descricao {
        font-size: 18px;
        line-height: 1.3;
    }
}

@media(max-width: 600px){

    .swiper-slide img{
        width: 175px;
        height: 175px;
    }

    .swiper-slide-active img{
        transform: scale(1.1);
    }


    .cabecalho nav a {
        font-size: 16px;
    }

    .videos {
        width: 200px;
        height: 440px;
    }

    .aparecer {
        display: none;
    }

}

.centro {
    display: flex;
    flex-direction: column;
    align-items: center;      /* centraliza horizontalmente */
    justify-content: center;  /* centraliza verticalmente */
    height: 100vh;            /* ocupa 100% da altura da tela */
}

.videos {
    width: 380px;
    height: 640px;
}

.voltar {
    margin-top: 40px;
    margin-left: 60px;
}

.voltar_link {
    text-decoration: none;
    color: var(--branco);
}
