* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f4ef;
    font-family: Arial, Helvetica, sans-serif;
    color: #2d223c;
}

.contato_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.Icone img {
    width: 65px;
    margin-bottom: 20px;
}

.subtitulo {
    color: #D32436;
    font-style: Arial;
    margin-bottom: 15px;
}

h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.texto {
    text-align: center;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    font-family: 'DM Sans', Arial;    
}

.card_contato {
    width: 520px;
    height: 636px;
    background-color: #fcfbfa;
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #161126;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 18px 18px;
    margin-bottom: 22px;
    border: 1px solid #e4ddd6;
    border-radius: 12px;
    background-color: #f7f3ee;
    font-size: 16px;
    color: #666;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible,
textarea:focus-visible {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.18);
}

input.input-invalido,
textarea.input-invalido {
    border-color: #d63447;
    background-color: #fdf1f1;
}

.form-feedback {
    min-height: 20px;
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.form-feedback--success { color: #15803d; } /* era #1f9d55 = 3.5:1 */
.form-feedback--error { color: #d63447; }

 input::placeholder,
 textarea::placeholder{
    color: #736c80; /* era #b8b0c2 = 1.9:1; agora 4.5:1 */
}

textarea {
    height: 130px;
    resize: none;
}

button[type="submit"] {
    margin-top: 10px;
    background-color: #DC3545;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(255, 15, 105, 0.25);
    transition: 0.3s;
}

button[type="submit"]:hover{
    transform: scale(1.02);
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Honeypot — existe no HTML/DOM (robôs preenchem), mas nunca visível
   para gente de verdade nem alcançável via Tab. */
.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Aviso de privacidade antes do botão */
.form-nota {
    display: block;
    margin: -6px 0 16px;
    font-size: 13px;
    line-height: 1.5;
}

/* Erro inline por campo */
.field-error {
    min-height: 16px;
    margin: -14px 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #d63447;
}
.field-error:empty {
    margin: 0;
}

.infos {
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid #ece6df;
    padding-top: 22px;
}

.infos p {
    color: white;
    font-size: 14px;
    margin-bottom: 18px;
}

.redes {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.rede_item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: black;
    font-size: 14px;
}

.rede_item img {
    width: 16px;
    height: 16px;
}

/* Tablets */

@media (max-width: 1024px) {

    .card_contato {
        width: 90%;
        max-width: 520px;
    }
}

/* CELULARES */

@media (max-width: 768px) {

    h1 {
        font-size: 38px;
        text-align: center;
    }

    .texto {
        padding: 0 15px;
    }

    .card_contato {
        width: 95%;
        padding: 30px;
        height: auto;
    }

     input,
    textarea {
        font-size: 14px;
    }

    .redes {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* ================================================================
   INTERAÇÕES (contato)
   ================================================================ */
.card_contato { transition: box-shadow .5s var(--ease-out); }
.card_contato:hover { box-shadow: 0 30px 60px -22px rgba(23, 19, 37, .2); }

input, textarea { transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease, transform .25s var(--ease-out); }
input:hover:not(:focus-visible):not(.input-invalido),
textarea:hover:not(:focus-visible):not(.input-invalido) { border-color: #d9cfc4; }
input:focus, textarea:focus { transform: translateY(-2px); }

.rede_item { cursor: default; transition: transform .35s var(--ease-spring), color .25s ease; }
.rede_item:hover { transform: translateY(-4px) scale(1.08); color: #D32436; }
.rede_item svg { transition: transform .5s var(--ease-spring); }
.rede_item:hover svg { transform: rotate(-14deg) scale(1.25); }

.Icone img { animation: slFloat 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .Icone img { animation: none; } }
