html,
body {
    min-height: 100%;
    background: linear-gradient(90deg,#03101d 0%,#04182d 55%,#0b4f9d 100%);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pagina-contato {
    flex: 1;
    color: #ffffff;
    background: linear-gradient(90deg,#03101d 0%,#04182d 55%,#0b4f9d 100%);
    padding: clamp(48px, 5vw, 86px) 0 clamp(42px, 4vw, 74px);
}

.contato-container {
    width: 95%;
    max-width: 1600px;
    margin: auto;
}

.contato-topo {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contato-mini {
    display: block;
    color: #1f8fff;
    font-size: clamp(13px, 1vw, 18px);
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

.contato-topo h2 {
    color: #ffffff;
    font-size: clamp(42px, 4.4vw, 76px);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 18px;
}

.contato-topo p {
    color: #d8e5f5;
    font-size: clamp(17px, 1.35vw, 23px);
    line-height: 1.6;
    margin: 0;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 2vw, 34px);
    margin: clamp(42px, 4.5vw, 66px) auto 0;
}

.contato-card {
    min-height: 260px;
    height: 100%;
    padding: clamp(28px, 2.4vw, 42px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(10, 31, 55, .86);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    animation: contatoEntrada .45s ease both;
}

.contato-card:nth-child(2) {
    animation-delay: .05s;
}

.contato-card:nth-child(3) {
    animation-delay: .1s;
}

.contato-card:nth-child(4) {
    animation-delay: .15s;
}

.contato-card:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 143, 255, .85);
    background: rgba(12, 39, 70, .92);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .3), 0 0 26px rgba(31, 143, 255, .18);
}

.contato-icone {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #167dff, #1f8fff);
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(22, 125, 255, .28);
}

.contato-card h3 {
    color: #ffffff;
    font-size: clamp(19px, 1.35vw, 25px);
    font-weight: 850;
    line-height: 1.25;
    margin: 0 0 16px;
}

.contato-card p {
    color: #dbeafe;
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.75;
    margin: 0;
    overflow-wrap: anywhere;
}

.contato-whatsapp {
    width: min(100%, 1220px);
    margin: clamp(34px, 4vw, 58px) auto 0;
    padding: clamp(26px, 2.6vw, 42px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(7, 21, 36, .84);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.contato-whatsapp strong {
    display: block;
    color: #ffffff;
    font-size: clamp(26px, 2.4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 8px;
}

.contato-whatsapp span {
    color: #d8e5f5;
    font-size: clamp(16px, 1.25vw, 22px);
    line-height: 1.5;
}

.contato-whatsapp a {
    flex: 0 0 auto;
    min-width: 280px;
    padding: 21px 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: #18c45a;
    text-decoration: none;
    font-size: clamp(18px, 1.35vw, 24px);
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(24, 196, 90, .26);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.contato-whatsapp a:hover {
    color: #ffffff;
    background: #14ad50;
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(24, 196, 90, .34);
}

.rodape-contato {
    background: #071524;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 20px;
    text-align: center;
}

.rodape-contato p {
    margin: 0;
    color: #b7c4d3;
    font-size: 15px;
    line-height: 1.5;
}

@keyframes contatoEntrada {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .contato-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .pagina-contato {
        padding-top: 42px;
    }

    .contato-container {
        width: 92%;
    }

    .contato-grid {
        grid-template-columns: 1fr;
    }

    .contato-card {
        min-height: 220px;
    }

    .contato-whatsapp {
        flex-direction: column;
        text-align: center;
        align-items: stretch;
    }

    .contato-whatsapp a {
        width: 100%;
        min-width: 0;
    }
}
