.contato {
    position: relative;
    background: url('https://www.arckdantech.com.br/comunidademayday/src/assets/fundo_section_leads.png') no-repeat center center/cover;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 140px 10px 45px 190px;
    color: white;
    text-align: center;
}

    .contato .col-esquerda {
        flex: 1 1 50%;
        color: white;
        padding: 0px 25px 20px 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: right;
        box-sizing: border-box;
    }

    .contato .col-direita {
        flex: 1 1 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .contato .col-esquerda h2 {
        font-size: 3.70rem;
        font-weight: bold;
        line-height: 3.5rem;
        margin-bottom: 1.7rem;
    }

    .contato .col-esquerda p strong {
        color: #325777;
        font-weight: bold;
        font-size: 2rem;
        line-height: 2rem;
        text-align: center;
    }

    .contato .form-card {
        width: clamp(370px, 100%, 800px);
        background: white;
        color: #1a3a56;
        border-radius: 20px;
        padding: 15px;
        box-shadow: 0 8px 30px rgba(150, 150, 150, 0.25);
        border: 1px solid #eee;
        box-sizing: border-box;
    }

        .contato .form-card h3 {
            font-size: 2.31rem;
            font-weight: bold;
            line-height: 2.1rem;
            margin-top: 10px;
            margin-bottom: 22px;
            text-align: center;
        }

            .contato .form-card h3 span {
                color: #64a9dc;
            }

        .contato .form-card form .form-group {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

            .contato .form-card form .form-group input {
                flex: 1 1 45%;
                padding: 10px;
                border: 1px solid #ccc;
                border-radius: 10px;
                font-size: 1rem;
                box-sizing: border-box;
            }

        .contato .form-card form button {
            width: 100%;
            background-color: #1a3a56;
            color: white;
            border: none;
            padding: 8px;
            font-size: 1.3rem;
            border-radius: 12px;
            cursor: pointer;
            margin-top: 10px;
            transition: background 0.3s;
        }

            .contato .form-card form button:hover {
                background-color: #143047;
            }

@media (max-width: 768px) {

    .contato {
        background: url('https://www.arckdantech.com.br/comunidademayday/src/assets/fundo_responsivo_section_leads.png') no-repeat center center/cover;
        padding: 350px 0px 20px 0px;
        background-position: center;
    }

        .contato .col-esquerda {
            flex: 1 1 100%;
            padding: 30px 7px 60px 7px;
            text-align: center;
        }

            .contato .col-esquerda h2 {
                font-size: 2.5rem;
                line-height: 2.5rem;
                margin-bottom: 10px;
                margin-left: -15px;
            }

            .contato .col-esquerda p {
                font-size: 2.8rem;
                line-height: 1rem;
                margin-bottom: -40px;
            }

                .contato .col-esquerda p strong {
                    color: #325777;
                    font-weight: bold;
                    font-size: 1.7rem;
                    line-height: 1.8rem;
                    text-align: center;
                }

        .contato .form-card {
            width: 100%;
            max-width: 100%;
            padding: 20px;
            margin-left: 10px;
            margin-right: 10px;
        }

            .contato .form-card form .form-group {
                flex-direction: column;
            }

                .contato .form-card form .form-group input {
                    flex: 1 1 100%;
                }
}

/* Tablets landscape (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {

    .contato {
        padding-top: 60px;
        padding-bottom: 20px;
        padding-right: 0px;
        padding-left: 110px;
        background-position: 42%;
    }

        .contato .col-esquerda {
            flex: 1 1 20%;
            color: white;
            padding: 0px 5px 5px 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: right;
            box-sizing: border-box;
        }

        .contato .col-direita {
            flex: 1 1 25%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            margin-right: -15px;
            padding-right: 1px;
        }

        .contato .col-esquerda h2 {
            font-size: 2rem;
            font-weight: bold;
            line-height: 2rem;
            margin-bottom: 4rem;
        }

        .contato .col-esquerda p strong {
            color: #325777;
            font-weight: bold;
            font-size: 1.60rem;
            line-height: 1.8rem;
            text-align: center;
        }

        .contato .form-card h3 {
            font-size: 1.4rem;
            font-weight: bold;
            line-height: 1.1rem;
            margin-top: 10px;
            margin-bottom: 22px;
            text-align: center;
        }

            .contato .form-card h3 span {
                color: #64a9dc;
            }

        .contato .form-card {
            width: 95%;
            background: white;
            color: #1a3a56;
            border-radius: 20px;
            padding: 15px 20px;
            box-shadow: 0 8px 30px rgba(150, 150, 150, 0.25);
            border: 1px solid #eee;
            box-sizing: border-box;
        }

            .contato .form-card form .form-group input {
                flex: 1 1 35%;
                border: 1px solid #ccc;
                border-radius: 10px;
                font-size: 0.9rem;
                box-sizing: border-box;
            }

            .contato .form-card form button {
                width: 100%;
                background-color: #1a3a56;
                color: white;
                border: none;
                padding: 5px;
                font-size: 1.3rem;
                border-radius: 12px;
                cursor: pointer;
                margin-top: 5px;
                transition: background 0.3s;
            }

                .contato .form-card form button:hover {
                    background-color: #143047;
                }
}

/* Celulares landscape (até 768px) */
@media (max-width: 915px) and (orientation: landscape) {

    .contato {
        background: url('https://www.arckdantech.com.br/comunidademayday/src/assets/fundo_section_leads.png') no-repeat center center/cover;
        background-size: cover;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 55px 10px 20px 10px;
        gap: 15px;
    }

        .contato .col-esquerda {
            flex: 1 1 40%;
            color: white;
            padding: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            box-sizing: border-box;
        }

            .contato .col-esquerda h2 {
                font-size: 1.6rem;
                font-weight: bold;
                line-height: 1.7rem;
                margin-bottom: 1rem;
            }

            .contato .col-esquerda p strong {
                color: #325777;
                font-weight: bold;
                font-size: 1.1rem;
                line-height: 1.3rem;
                text-align: center;
            }

        .contato .col-direita {
            flex: 1 1 55%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
        }

        .contato .form-card {
            width: 100%;
            background: white;
            color: #1a3a56;
            border-radius: 16px;
            padding: 12px 15px;
            box-shadow: 0 8px 30px rgba(150, 150, 150, 0.25);
            border: 1px solid #eee;
            box-sizing: border-box;
        }

            .contato .form-card h3 {
                font-size: 1.1rem;
                font-weight: bold;
                line-height: 1.2rem;
                margin-top: 5px;
                margin-bottom: 12px;
                text-align: center;
            }

                .contato .form-card h3 span {
                    color: #64a9dc;
                }

            .contato .form-card form .form-group {
                flex-direction: row;
                gap: 8px;
                margin-bottom: 8px;
            }

                .contato .form-card form .form-group input {
                    flex: 1 1 45%;
                    padding: 7px;
                    font-size: 0.85rem;
                    border-radius: 8px;
                }

            .contato .form-card form button {
                width: 100%;
                padding: 6px;
                font-size: 1rem;
                border-radius: 10px;
                margin-top: 6px;
            }
}
