/* Reset básico para garantir consistência */
.contato-intro, .contato-formulario {
    box-sizing: border-box;
}

.contato-intro {
    background: linear-gradient(90deg, #2676bb 60%, #f16138 100%);
    color: #fff;
    padding: 48px 24px 32px 24px;
    border-radius: 0 0 32px 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(38,118,187,0.08);
    animation: fadeInDown 1s cubic-bezier(.4,0,.2,1);
}
.contato-intro h1 {
    font-size: 2.2em;
    margin-bottom: 12px;
    letter-spacing: 1px;
    position: relative;
}
.contato-intro h1::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 8px;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    opacity: 0.7;
    transition: width 0.3s;
}
.contato-intro h1:hover::after {
    width: 90px;
}
.contato-intro p {
    font-size: 1.1em;
    margin: 0 auto;
    max-width: 500px;
    opacity: 0.95;
}

.contato-formulario {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px 60px 16px;
    background: #fff;
    border-radius: 24px;
    margin: -32px auto 32px auto;
    max-width: 520px;
    box-shadow: 0 2px 24px rgba(38,118,187,0.10);
    animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
    position: relative;
    z-index: 2;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    font-size: 1.1em;
}
.contato-info a, .contato-info p {
    color: #2676bb;
    background: #f3f8fc;
    border-radius: 12px;
    padding: 14px 18px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(38,118,187,0.06);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    position: relative;
}
.contato-info a:hover, .contato-info a:focus {
    background: #f16138;
    color: #fff;
    box-shadow: 0 4px 16px rgba(241,97,56,0.13);
    transform: translateY(-2px) scale(1.03);
}
.contato-info a:hover strong,
.contato-info a:focus strong {
    color: #fff;
}
.contato-info strong {
    color: #f16138;
    margin-right: 6px;
    font-weight: 700;
    transition: color 0.3s;
}

@media (max-width: 700px) {
    .contato-formulario {
        max-width: 98vw;
        padding: 24px 4vw 32px 4vw;
        margin: 24px auto 24px auto;
    }
    .contato-intro {
        padding: 32px 8px 20px 8px;
    }
}
@media (max-width: 480px) {
    .contato-formulario {
        padding: 16px 2vw 20px 2vw;
        border-radius: 12px;
    }
    .contato-intro {
        border-radius: 0 0 16px 16px;
        padding: 20px 2vw 12px 2vw;
    }
    .contato-info a, .contato-info p {
        font-size: 1em;
        padding: 10px 8px;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

html, body {
    height: 100%;
    min-height: 100vh;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
footer {
    flex-shrink: 0;
}
