.main-contact {
    min-height: 100vh;
    background: linear-gradient(45deg, #b11e04, #000, #000, #000, #000, #b11e04);
    display: flex;
    align-items: center;
}

.form-container {
    background-color: rgb(128, 5, 5);
    width: 1110px;
    height: auto;
    margin: 150px auto 50px auto;
    border-radius: 50px;
    padding: 30px;
}

.contact-title {
    text-align: center;
    margin-top: 10px;
    font-size: 50px;
    color: aliceblue;
}

#container-form {
    display: flex;
    width: 80%;
    margin: 50px auto;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.form-initial {
    display: flex;
    gap: 10px;
}

.form-continue {
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    height: 60px;
    border-radius: 50px;
    border: none;
    padding: 10px;
}

.title-label {
    color: #ffffff;
    text-transform: uppercase;
}

#conact-message {
    width: 100%;
    height: 219px;
    border: none;
    border-radius: 20px;
    padding: 10px;
}

.form-btn {
    width: 120px;
    background-color: #fff;
    margin: 20px auto 0 auto;
    height: 40px;
    border-radius: 50px;
    border: none;
    font-size: 20px;
    color: rgb(128, 5, 5);
    cursor: pointer;
    display: block;
}

.group-form {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
}

.cards-contact {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: center;
}

.card {
    width: 324px;
    height: 195px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    margin-bottom: 10px;
    text-align: center;
}

#card-icon {
    font-size: 40px;
}

.description-card-loc {
    text-align: center;
}

/* ====== MAPA RESPONSIVO ====== */
.container-form-map {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

.map-form-title {
    color: #fff;
    margin: 10px;
    text-align: center;
    font-size: 20px;
}

/* truque da proporção */
.map-form {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    border-radius: 30px;
    overflow: hidden;
    background-color: #fff;
}

.map-form iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

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

/* Tablets (até 1024px) */
@media (max-width: 1024px) {
    .form-container {
        width: 90%;
        padding: 30px 20px;
    }

    #container-form {
        flex-direction: column;
        gap: 30px;
    }

    .cards-contact {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .card {
        width: 280px;
        height: 180px;
    }

    .map-form {
        padding-bottom: 60%;
    }
}

/* Smartphones grandes (até 768px) */
@media (max-width: 768px) {
    .contact-title {
        font-size: 35px;
        margin-top: 100px;
    }

    .form-container {
        width: 95%;
        border-radius: 30px;
    }

    .form-input {
        height: 50px;
        border-radius: 20px;
    }

    #conact-message {
        height: 180px;
    }

    .cards-contact {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 350px;
        height: 160px;
        border-radius: 30px;
    }

    .map-form {
        padding-bottom: 70%;
        border-radius: 20px;
    }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }

    .form-container {
        padding: 20px;
        border-radius: 20px;
    }

    .form-input {
        height: 45px;
        font-size: 14px;
    }

    #conact-message {
        height: 150px;
        font-size: 14px;
    }

    .form-btn {
        width: 100%;
        height: 45px;
        font-size: 16px;
        border-radius: 15px;
    }

    .card {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    #card-icon {
        font-size: 30px;
    }

    .map-form {
        padding-bottom: 80%;
    }
}