
.contato {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: #f6f9f8;
}

.contato-container {
    width: 100%;
    max-width: 650px;
}

.voltar {
    display: inline-block;
    margin-bottom: 35px;
    color: #183441;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.voltar:hover {
    color: #18765c;
}

.contato-cabecalho {
    margin-bottom: 32px;
}

.subtitulo {
    color: #18765c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contato-cabecalho h1 {
    margin: 12px 0;
    color: #183441;
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.2;
}

.contato-cabecalho p {
    color: #647783;
    font-size: 16px;
}

.contato-formulario {
    background: #ffffff;
    padding: 35px;
    border: 1px solid #e2e9e7;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.form-linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.campo label {
    margin-bottom: 8px;
    color: #183441;
    font-size: 14px;
    font-weight: 600;
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dce5e2;
    border-radius: 8px;
    background: #ffffff;
    color: #183441;
    font: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.campo input:focus,
.campo textarea:focus {
    border-color: #18765c;
}

.campo textarea {
    resize: vertical;
    min-height: 130px;
}

.campo-oculto {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consentimento {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    color: #647783;
    font-size: 13px;
    cursor: pointer;
}

.consentimento input {
    margin-top: 3px;
    accent-color: #18765c;
}

.botao-enviar {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #18765c;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.botao-enviar:hover {
    background: #125b47;
}

#form-feedback {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
}

#form-feedback[hidden] {
    display: none;
}

#form-feedback.sucesso {
    background: #e6f4ee;
    color: #155b42;
}

#form-feedback.erro {
    background: #fff0ee;
    color: #8b3028;
}

@media (max-width: 600px) {
    .contato {
        padding: 35px 16px;
    }

    .contato-formulario {
        padding: 24px;
    }

    .form-linha {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
