/* Styles spécifiques pour la page Le Rézo */

.map-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.map-interactive {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
}

.map-interactive .poly-point {
    cursor: pointer;
    transition: all 0.3s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.map-interactive .poly-point:hover {
    fill: var(--accent-red);
    transform: scale(1.2);
    transform-origin: center;
}

.map-interactive .poly-point.active {
    fill: var(--accent-red);
    filter: drop-shadow(0 0 5px rgba(220, 11, 35, 0.5));
}

.school-info-panel {
    margin-top: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    height: 0;
    padding: 0;
}

.school-info-panel.visible {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    padding: 30px;
}

.school-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.school-img {
    flex: 1;
    max-width: 300px;
}

.school-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.school-details {
    flex: 2;
}

.school-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.school-location {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.school-details p {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .school-content {
        flex-direction: column;
    }
    .school-img {
        max-width: 100%;
    }
}
