/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    background: linear-gradient(to bottom, #fff5e6, #f8f9fa);
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho com botão de retorno */
.topo-sobre {
    background-color: #c85900;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.topo-sobre a {
    text-decoration: none;
    color: #fff;
    background-color: #ff6600;
    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-sobre a:hover {
    background-color: #333;
}

/* Conteúdo principal */
.conteudo-sobre {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.conteudo-sobre h1 {
    font-size: 40px;
    color: #c85900;
    margin-bottom: 20px;
    text-align: center;
}

.conteudo-sobre h2 {
    font-size: 24px;
    color: #a34700;
    margin-top: 30px;
    margin-bottom: 10px;
}

.conteudo-sobre p {
    font-size: 20px;
    margin-bottom: 20px;
}

.conteudo-sobre ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Imagem da escola */
.img-sobre {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Imagens lado a lado */
.imagens-lado-a-lado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.imagens-lado-a-lado img {
    flex: 1;
    max-width: 48%;
    height: 250px;
    /* altura visível */
    object-fit: cover;
    /* mantém proporção sem distorcer */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsividade para celular */
@media (max-width: 768px) {
    .imagens-lado-a-lado {
        flex-direction: column;
    }

    .imagens-lado-a-lado img {
        max-width: 100%;
        height: 180px;
        /* altura menor em telas pequenas */
    }
}

/* Cards de valores */
.cards-valores {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.cards-valores .card {
    background-color: #fff5e6;
    border: 2px solid #ff6600;
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    text-align: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cards-valores .card:hover {
    transform: scale(1.05);
    background-color: #ffe0cc;
}

/* Linha do tempo da história */
.historia ul {
    list-style: none;
    padding-left: 0;
}

.historia li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 16px;
}

.historia li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6600;
    font-size: 22px;
}

/* 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);
}

/* Botão WhatsApp */
.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;
    transition: filter 0.3s ease;
}

.whatsapp img:hover {
    filter: brightness(1.2);
}

/* Animação pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsividade extra para celular */
@media (max-width: 480px) {
    .topo-sobre {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .topo-sobre a {
        font-size: 14px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .conteudo-sobre h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .conteudo-sobre h2 {
        font-size: 18px;
    }

    .conteudo-sobre p,
    .conteudo-sobre ul {
        font-size: 14px;
    }

    .cards-valores {
        flex-direction: column;
        gap: 10px;
    }

    .cards-valores .card {
        font-size: 14px;
        padding: 10px;
    }

    .historia li {
        font-size: 14px;
    }

    .rodape {
        font-size: 14px;
        padding: 15px;
    }

    .whatsapp img {
        width: 50px;
        height: 50px;
    }
}