/* Carte des Départements */

.departement-map {
    margin: 40px 0;
    padding: 30px 0;
}

.departement-map h2 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
}

.france-map-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
}

.france-map {
    flex: 0 0 420px;
    width: 420px;
    height: 420px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
}

.map-info {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #1e5a96;
}

.map-info p {
    margin: 12px 0;
    line-height: 1.6;
}

.nearby-departements {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nearby-departements li {
    margin-bottom: 8px;
}

.nearby-departements li a {
    color: #1e5a96;
    text-decoration: none;
}

.nearby-departements li a:hover {
    text-decoration: underline;
}

/* Département en surbrillance */
.france-map .dept-highlight {
    transition: opacity 0.3s ease;
}

.france-map .dept-highlight:hover {
    opacity: 0.9;
}

.france-map circle {
    transition: fill 0.3s ease;
}

.map-label {
    font-size: 28px;
    font-weight: bold;
    fill: white;
    text-anchor: middle;
    dominant-baseline: middle;
}

.map-info {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #1e5a96;
}

.map-info strong {
    font-size: 18px;
    color: #1e5a96;
    display: block;
    margin-bottom: 8px;
}

.map-info br {
    margin: 8px 0;
}

@media (max-width: 768px) {
    .france-map-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .france-map {
        flex: 0 0 250px;
        width: 250px;
        height: 250px;
    }

    .map-info {
        flex: 1 1 auto;
        border-left: none;
        border-top: 4px solid #1e5a96;
        text-align: center;
    }
}

