/* ==================================================
   MAIN
================================================== */

main {

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 50px;
}

/* ==================================================
   BANNER
================================================== */

.section-home {
    width: 100%;
}

.section-home img {

    width: 100%;
    min-height: 400px;
    max-height: 700px;
    object-fit: cover;
}

/* ==================================================
   CONTAINER PRINCIPAL
================================================== */

.section-descriptions {

    width: min(1200px, 90%);

    display: flex;
    flex-direction: column;

    gap: 50px;
}

/* ==================================================
   SESSÕES
================================================== */

.section {

    display: flex;
    align-items: center;
    gap: 40px;

    padding: 40px;

    background: var(--bg-secondary);

    border: 1px solid var(--border-primary);
    border-radius: 24px;

    overflow: hidden;

    transition: .4s ease;
}

.section:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(59, 130, 246, .15);
}

.section h2 {
    color: var(--text-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.section p {
    line-height: 1.8;
    font-size: 1rem;
}

.section img {

    width: 50%;

    border-radius: 16px;

    transition: .4s ease;
}

.section img:hover {
    transform: scale(1.02);
}

.about div,
.about-us div {

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.about div {
    align-items: flex-start;
}

.about-us div {
    align-items: flex-start;
}

.about-us a {

    color: var(--color-primary-light);

    transition: var(--transition);
}

.about-us a:hover {
    color: white;
}




/* ==================================================
   RESPONSIVIDADE
================================================== */

@media (max-width: 768px) {

    .section {

        flex-direction: column;

        text-align: center;

        padding: 25px;
    }

    .about-us {
        flex-direction: column-reverse;
    }

    .section img {
        width: 100%;
    }

    .about div,
    .about-us div {
        align-items: center;
    }

    .aside-categories {
        width: 80vw;
    }

    .section-home img {
        min-height: 250px;
    }

    .whatsapp {

        width: 55px;
        height: 55px;

        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {

    .header-container {
        padding: 0 15px;
    }

    .logo-academia {
        width: 110px;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: .95rem;
    }

    .section {
        padding: 20px;
    }
}