/* 
    Página de Contato (Contact Page)
    Estilos para os cards com "bump" e mapa full-width
*/

.contact-section {
    padding: 20px 0 80px;
    background-color: #FFFFFF;
}

.contact-grid {
    margin-top: 40px;
}

/* --- Contact Card with Mask (Painting PNG Yellow) --- */
.contact-card {
    padding: 110px 30px 10px; /* Mais espaço no topo */
    text-align: center;
    position: relative;
    margin-top: 40px;
    transition: var(--transition);
    height: 100%;
    border: none;
    background: transparent;
}

/* O Fundo Amarelo Mascarado */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFD101;
    -webkit-mask-image: url('../images/container-contact.png');
    mask-image: url('../images/container-contact.png');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
}

/* O Círculo do Ícone */
.contact-icon {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 85px;
    background-color: #0B3770;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2rem;
    z-index: 10; /* Sempre à frente */
    box-shadow: 0 10px 20px rgba(11, 55, 112, 0.2);
    transition: var(--transition);
}

/* Garantir que o conteúdo fique sobre o fundo */
.contact-card__title,
.contact-card__text {
    position: relative;
    z-index: 5;
}

.contact-card:hover .contact-icon {
    background-color: #FFFFFF;
    color: #0B3770;
    transform: translateX(-50%) rotate(15deg);
}

.contact-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0B3770;
    margin-bottom: 20px;
}

.contact-card__text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #0B3770;
    font-weight: 500;
}

.contact-card__text a {
    color: #0B3770;
    text-decoration: none;
    transition: var(--transition);
}

.contact-card__text a:hover {
    opacity: 0.7;
}

/* --- Map Section --- */
.contact-map-section {
    padding-top: 60px;
}

.contact-map-section .section-header {
    margin-bottom: 50px;
}

.contact-map-wrapper {
    width: 100%;
    line-height: 0; /* Remove espaço extra abaixo do iframe */
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    margin-bottom: -10px; /* Força colar no footer */
}

/* Responsividade */
@media (max-width: 991px) {
    .contact-card {
        margin-bottom: 80px;
    }
    
    .contact-map-wrapper iframe {
        height: 400px;
    }
}
