/* Overlay : Fond sombre */
.modal-overlay {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

/* État actif géré par JS */
.modal-overlay.active {
    display: flex;
}

/* La carte de contact */
.contact-card {
    background-color: #ffffff;
    border: 4px solid #000000;
    box-shadow: 12px 12px 0px #7030F0; /* Ombre violette style Brutalism */
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Bouton Fermer */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.2);
    color: #7030F0;
}

/* Badge Jaune du Titre */
.title-badge {
    background-color: #FAFF00;
    color: #000;
    display: inline-block;
    padding: 10px 25px;
    border: 3px solid #000;
    box-shadow: 5px 5px 0px #000;
    font-weight: 900;
    transform: rotate(-2deg);
    margin-bottom: 35px;
    font-size: 1.4rem;
    text-transform: uppercase;
}

/* Lignes de contact */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-circle {
    background-color: #7030F0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #000;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h3 {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text p, .info-text a {
    margin: 4px 0 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #000;
    text-decoration: none;
}

.map-link:hover {
    color: #7030F0;
    text-decoration: underline;
}