* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;

    background-color: #2e2d2d !important;

    /* FUNDO ANTERIOR
    background-image: url('bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background: linear-gradient(to right, #000000, #8f670e);
    */

    /* NOVO FUNDO ANIMADO */
    background: linear-gradient(-45deg, #191100, #8f670e, #191100, #8f670e);
    background-size: 300% 300%;
    animation: gradientMove 12s ease infinite;
}

/* ANIMAÇÃO */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* TOPO */
.topo-site {
    color: #ffffff;
    text-align: center;
    padding-bottom: 40px;
    border-bottom-left-radius: 0 0 80px 80px;
    border-bottom-right-radius: 0 0 80px 80px;
    width: 100%;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 40px;
    flex-wrap: wrap;
}

.logo-container {
    width: 150px;
    height: 150px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.logo-container img {
    max-width: 80%;
    max-height: 80%;
}

.textos-header {
    text-align: left;
}

.titulo {
    font-weight: 700;
    font-size: 200%;
    margin: 0;
}

.subtitulo {
    font-weight: 600;
    font-size: 100%;
    color: #dcdcdc;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: justify;
}

/* CONTEÚDO PRINCIPAL */
.container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
}

.card {
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.card img {
    width: 100%;
    display: block;
}

/* RODAPÉ */
footer {
    margin-top: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    background-color: rgb(18, 9, 0) !important;
    padding: 20px 10px;
    width: 100%;
    text-align: center;
    color: white;
}

footer p {
    margin: 5px 0;
}

.nome-destaque {
    font-weight: bold;
    font-size: 1.2em;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 5px; /* menor espaço entre logo e textos */
        padding-top: 30px; /* reduz espaço antes da logo */
    }

    .textos-header {
        text-align: center;
    }

    .logo-container {
        width: 100px;
        height: 100px;
    }

    .titulo {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 180%;
    }

    .subtitulo {
        font-size: 100%;
        margin: 0 0 5px 0; /* reduz o espaço abaixo */
        padding: 0 10%;
    }

    .container {
        padding: 0 10px;
        gap: 12px; /* menor espaço entre os cards */
        margin-top: 10px; /* reduz espaço antes dos cards */
        margin-bottom: 10px;
    }

    .card {
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
        margin: 0 auto;
    }

    .card img {
        border-radius: 15px;
    }
}
