/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho com botão de retorno */
.topo-eventos {
    background-color: #c85900;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.topo-eventos a {
    text-decoration: none;
    color: #fff;
    background-color: #a34700;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.topo-eventos a:hover {
    background-color: #333;
}

/* Conteúdo principal */
.conteudo-eventos {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.conteudo-eventos h1 {
    font-size: 40px;
    color: #c85900;
    margin-bottom: 20px;
    text-align: center;
}

.conteudo-eventos h2 {
    font-size: 24px;
    color: #a34700;
    margin-top: 30px;
    margin-bottom: 10px;
}

.conteudo-eventos p {
    font-size: 20px;
    margin-bottom: 20px;
}

.conteudo-eventos ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.galeria-eventos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: #f8f8fc;
}

.galeria-eventos img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-eventos img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.grande {
    grid-column: span 2;
    height: 220px;
}

.pequeno {
    height: 130px;
}

.galeria-eventos p {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.comentario-evento {
    all: unset;
    /* remove herança de estilos */
    display: block;
    margin: 20px auto;
    max-width: 800px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: center;
    font-style: italic;
}

/* Rodapé */
.rodape {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    /* animação sempre ativa */
    transition: filter 0.3s ease;
}

.whatsapp img:hover {
    filter: brightness(1.2);
    /* dá destaque no hover sem cancelar o pulse */
}


/* Animação pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    /* mais visível */
    100% {
        transform: scale(1);
    }
}

/* Responsividade para celular */
@media (max-width: 480px) {
    .topo-eventos {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .topo-eventos a {
        font-size: 14px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .conteudo-eventos h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .conteudo-eventos p,
    .comentario-evento {
        font-size: 14px;
        padding: 0 10px;
    }

    .galeria-eventos {
        grid-template-columns: 1fr;
        /* uma coluna só */
        gap: 10px;
    }

    .galeria-eventos img {
        height: auto;
        max-height: 200px;
    }

    .rodape {
        font-size: 14px;
        padding: 15px;
    }

    .whatsapp img {
        width: 50px;
        height: 50px;
    }
}