/* ================= REGRAS ================= */
.modalities-section {
    padding: 60px 0 0 0;
    background-color: #fff;
}

.modality-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px; /* espaço entre imagem e texto */
    margin-bottom: 70px; /* espaço entre modalidades */
}

.modality-row:last-child {
    margin-bottom: 0;
}

/* inverte a ordem itens */
.modality-row.row-reverse {
    flex-direction: row-reverse;
}

/* -- IMAGEMS -- */
.mod-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mod-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/* -- CONTEUDO -- */
.mod-content {
    flex: 1;
}

.mod-content h3 {
    font-family: 'Exo 2', sans-serif;
    color: #fa680a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: -15px;
    line-height: 1.2;
}

.mod-content .description {
    font-family: 'Lato', sans-serif;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: -15px;
}

/* especificacoes */
.mod-specs {
    margin-bottom: 30px;
}

.mod-specs p {
    font-family: 'Exo 2', sans-serif;
    color: #000;
    font-size: 1.3rem;
    margin-bottom: -15px;
    line-height: 1.4;
}

.mod-specs strong {
    font-weight: 700;
}

/* -- BOTOES -- */
.mod-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-modality {
    display: inline-block;
    background-color: #fa680a;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-modality:hover {
    background-color: #d15600;
    transform: translateY(-2px);
}

/* ================= RESPONSIVIDADE ZABUZAS ================= */

@media (max-width: 900px) {
    .modality-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-bottom: 60px;
    }

 
    .modality-row.row-reverse {
        flex-direction: column;
    }

    .mod-image img {
        max-width: 80%;
    }

    .mod-buttons {
        justify-content: center;
    }
    
    .mod-content h3 {
        font-size: 1.5rem;
    }
}