/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.topo-site {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Garante que fique por cima do conteúdo */
    background: linear-gradient(135deg, #2980b9, #6dd5fa);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    transition: all 0.3s ease-in-out;
}

/* Título e subtítulo */
.topo-site h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.topo-site p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}



.container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 1rem;
}

.text-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.animar {
    opacity: 0;
    transition: all 0.1s ease;
}

.animar.visivel {
    opacity: 1;

}

.animar.esquerda {
    transform: translateX(-100px);
}

.animar.visivel.esquerda {
    transform: translateX(0);
}

.animar.direita {
    transform: translateX(100px);
}

.animar.visivel.direita {
    transform: translateX(0);
}

img {
    border-radius: 10px;
}


.carrossel-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
}

.carrossel {
    position: relative;
    overflow: hidden;
}

.carrossel-imagens {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
}

.carrossel-imagens img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.anterior {
    left: 0;
}

.proxima {
    right: 0;
}




/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

.video-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    /* Garante que fique responsivo */
}

.video-wrapper {
    flex: 1 1 45%;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Galeria de imagens */
.imagem-galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Espaçamento entre imagens */
}

.imagem-galeria img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.imagem-galeria img:hover {
    transform: scale(1.05);
}



/* Responsividade opcional para telas menores */
@media (max-width: 768px) {
    .imagem-galeria {
        gap: 15px;
    }

    .imagem-galeria img {
        max-width: 90%;
    }
}

.titulo-secao {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #4a235a;
}

.curso-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 1rem;
    margin-bottom: 2rem;
}

.curso-logos a img {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.curso-logos a img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Estilo do botão */
#temaBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* <- Aqui muda de right para left */
    background-color: #333;
    color: white;
    padding: 0.8rem 1rem;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 50%;
    border: none;
    z-index: 1000;
}

#temaBtn:hover {
    background-color: #555;
    transform: scale(1.1);
}

body.escuro {
    background-color: #121212;
    color: #f1f1f1;
}


.alternar-tema {
    padding: 25px;

}



#voltarTopo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #8e44ad;
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#voltarTopo:hover {
    background-color: #732d91;
}

#voltarTopo i {
    font-size: 1.2rem;
}









/* Footer */
.footer-site {
    background: linear-gradient(135deg, #2980b9, #6dd5fa);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-site p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons img {
    width: 30px;
    height: 30px;
    opacity: 0.8;
}

.social-icons img:hover {
    opacity: 1;
}