* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Topo */
.topo-cursos {
    background-color: #c85900;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.topo-cursos a {
    position: absolute;
    left: 20px;
    top: 20px;
    text-decoration: none;
    color: #fff;
    background-color: #ff6600;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.topo-cursos a:hover {
    background-color: #333;
}

/* Conteúdo */
.conteudo-cursos {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Bloco de curso */
.curso-bloco {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #fff;
    border: 2px solid #ff6600;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.curso-bloco:hover {
    transform: scale(1.02);
}

.curso-bloco img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.curso-texto {
    flex: 1;
    min-width: 250px;
}

.curso-texto h2 {
    font-size: 26px;
    color: #c85900;
    margin-bottom: 10px;
}

.curso-texto p {
    font-size: 18px;
    margin-bottom: 15px;
}

.curso-texto ul {
    list-style-type: disc;
    padding-left: 20px;
}

.curso-texto li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* 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-cursos {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .topo-cursos a {
        position: static;
        margin-bottom: 10px;
        font-size: 14px;
        padding: 6px 12px;
    }

    .topo-cursos h1 {
        font-size: 22px;
    }

    .curso-bloco {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .curso-bloco img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .curso-texto h2 {
        font-size: 18px;
    }

    .curso-texto p,
    .curso-texto li {
        font-size: 14px;
    }

    .rodape {
        font-size: 14px;
        padding: 15px;
    }

    .whatsapp img {
        width: 50px;
        height: 50px;
    }
}