html, body {
    overflow-x: hidden;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f3f0;
}

/* Menu burger */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
    position: relative;
}

.burger-bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger-menu.active .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive menu */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    header .container {
        position: relative;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #8b6b4a;
        transition: right 0.3s ease;
        z-index: 10000;
        padding-top: 80px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }
    
    nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 10px;
        width: 100%;
    }
    
    .nav-links a[aria-current="page"] {
        background: rgba(255,255,255,0.1);
        border-left: 4px solid white;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Amélioration du focus visible pour accessibilité */
*:focus-visible {
    outline: 3px solid #5a3e2b;
    outline-offset: 3px;
}

/* Skip link pour navigation clavier */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #5a3e2b;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Header */
header {
    background: #8b6b4a;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #f5f3f0;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8b6b4a 0%, #6b4423 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Panneau Navigation - Carrousel */
.panneau-navigation {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.panneau-mis-en-avant {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.sous-titre-card {
    display: block;
    font-weight: normal;
    font-size: 0.90em;
    opacity: 0.9;
    margin-top: 0.25rem;
    color: #5a3e2b;
}

.titre-principal {
    display: block;
}

/* Conteneur d'image avec ratio fixe */
.panneau-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* Ratio 3:2 par défaut */
    overflow: hidden;
}

.panneau-mis-en-avant img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.3s ease;
}
.panneau-mis-en-avant img:hover {
    opacity: 0.95;
}

.panneau-mis-en-avant .contenu {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.panneau-mis-en-avant .contenu h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #5a3e2b;
    line-height: 1.3;
}

.panneau-mis-en-avant .contenu p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
    flex: 1;
}

/* Boutons de navigation du carrousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.carousel-btn {
    background: #6b4423;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: bold;
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: #8b5a3c;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Bouton de pause */
.pause-btn {
    background: transparent;
    border: 2px solid #6b4423;
    color: #6b4423;
    padding: 0.6rem 1.2rem;
    border-radius: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.pause-btn:hover,
.pause-btn:focus {
    background: #6b4423;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pause-btn:active {
    transform: translateY(0);
}

/* Indicateurs de position */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.indicator:hover,
.indicator:focus {
    background: #999;
    transform: scale(1.2);
}

.indicator.active {
    background: #6b4423;
    width: 24px;
    border-radius: 5px;
}

/* Message de statut pour lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Boutons génériques */
.btn {
    display: inline-block;
    background: #5a3e2b;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover,
.btn:focus {
    background: #6b4423;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0);
}

/* ============================================
   STYLES CARTE INTERACTIVE - PANNEAUX MARRON
   ============================================ */

/* S'assurer que la carte et ses contrôles restent sous le menu burger */
.leaflet-control-container,
.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control-attribution {
    z-index: 1 !important;
}

/* Carte interactive */
.carte-container {
    margin: 3rem 0;
    padding: 0 1rem;
}

.carte-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #5a3e2b;
    font-size: 2rem;
}

#map, #single-map {
    height: 500px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
}

/* Style des clusters marron */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(139, 107, 74, 0.6);
    border: 3px solid #8b6b4a;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: #8b6b4a;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation des clusters au survol */
.marker-cluster:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Popup personnalisée style panneau marron */
.leaflet-popup-content-wrapper {
    background: #8b6b4a !important;
    color: white;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    padding: 0 !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-width: 260px;
}

/* Fix pour mobile - empêcher la disparition */
.leaflet-popup {
    pointer-events: auto !important;
    z-index: 1000 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip-container {
    pointer-events: auto !important;
}

.leaflet-popup-tip {
    background: #8b6b4a !important;
}

/* Empêcher les événements de la carte de fermer la popup */
.leaflet-container.leaflet-touch-drag {
    -ms-touch-action: pan-x pan-y;
    touch-action: pan-x pan-y;
}

/* Contenu de la popup - style panneau routier */
.panneau-popup {
    cursor: pointer;
    transition: transform 0.2s ease;
    display: block;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.panneau-popup:active {
    transform: scale(0.98);
}

.panneau-popup:hover {
    transform: scale(1.02);
}

.panneau-popup-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #f5f3f0;
    pointer-events: none;
}

.panneau-popup-content {
    padding: 15px;
    background: #8b6b4a;
    text-align: center;
    pointer-events: none;
}

.panneau-popup-title {
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin: 0 0 6px 0;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.panneau-popup-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: normal;
    line-height: 1.2;
}

/* Bouton de fermeture personnalisé */
.leaflet-popup-close-button {
    color: white !important;
    font-size: 24px !important;
    font-weight: bold !important;
    padding: 4px 10px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    top: 5px !important;
    right: 5px !important;
    z-index: 1001 !important;
}

.leaflet-popup-close-button:hover {
    color: #f5f3f0 !important;
    background: rgba(0,0,0,0.2) !important;
    border-radius: 3px;
}

/* ============================================
   STYLES BOUTON PLEIN ÉCRAN LEAFLET
   ============================================ */

/* Style du bouton plein écran */
.leaflet-control-fullscreen {
    background-color: white;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
}

.leaflet-control-fullscreen a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    background-color: transparent !important;
}

/* Effet hover - SANS changer le background pour garder l'icône */
.leaflet-control-fullscreen a:hover {
    background-color: transparent !important;
    color: #5a3e2b;
    opacity: 0.8;
}

/* Style du conteneur au hover */
.leaflet-control-fullscreen:hover {
    background-color: #f5f3f0;
    border-color: rgba(90, 62, 43, 0.3);
}

/* Style quand la carte est en plein écran */
.leaflet-fullscreen-on .leaflet-control-fullscreen a {
    background-color: transparent !important;
}

/* Amélioration de l'apparence en mode plein écran */
.leaflet-container.leaflet-fullscreen-on {
    background: #f5f3f0;
}

/* Amélioration du focus pour accessibilité */
.leaflet-control-fullscreen a:focus {
    outline: 3px solid #5a3e2b;
    outline-offset: 2px;
    background-color: transparent !important;
}

/* ============================================
   BOUTON GÉOLOCALISATION LEAFLET
   ============================================ */

/* Style du bouton de géolocalisation */
.leaflet-control-geolocate {
    background-color: white;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.leaflet-control-geolocate a {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 0;
}

.leaflet-control-geolocate a svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    display: block;
}

/* Effet hover */
.leaflet-control-geolocate a:hover {
    background-color: transparent !important;
}

.leaflet-control-geolocate:hover {
    background-color: #f5f3f0;
    border-color: rgba(90, 62, 43, 0.3);
}

.leaflet-control-geolocate:hover a svg {
    color: #5a3e2b;
}


@keyframes geolocate-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* Focus pour accessibilité */
.leaflet-control-geolocate a:focus {
    outline: 3px solid #5a3e2b;
    outline-offset: 2px;
    background-color: transparent !important;
}

/* Responsive mobile */
@media (max-width: 767px) {
    .leaflet-control-geolocate {
        width: 34px;
        height: 34px;
    }
    
    .leaflet-control-geolocate a {
        width: 34px;
        height: 34px;
        padding: 7px;
    }
    
    .leaflet-control-geolocate a svg {
        width: 20px;
        height: 20px;
    }
}

/* Style du marqueur utilisateur personnalisé */
.custom-user-marker {
    background: transparent !important;
    border: none !important;
}

.custom-user-marker div {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ============================================
   FIN BOUTON GÉOLOCALISATION
   ============================================ */

/* Section CTA */
.cta {
    text-align: center;
    max-width: 1200px;
    padding: 3rem 1rem;
    background: white;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta h2 {
    color: #5a3e2b;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Liste des panneaux */
.panneaux-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.results-count {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    margin-bottom: 1rem;
}

.panneau-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.panneau-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.panneau-card:hover,
.panneau-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.panneau-card-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
    background: #f0f0f0;
}

.panneau-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panneau-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.panneau-card h3 {
    margin: 0 0 0.5rem 0;
    color: #5a3e2b;
    font-size: 1.2rem;
    line-height: 1.3;
}

.panneau-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.read-more {
    color: #6b4423;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Détail du panneau */
.breadcrumb {
    margin: 2rem 0;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
    content: " / ";
    margin-left: 0.5rem;
}

.breadcrumb a {
    color: #6b4423;
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    text-decoration: underline;
}

.panneau-detail {
    margin: 2rem 0;
}

.panneau-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.panneau-detail-header h1 {
    color: #FFF;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.sous-titre-detail {
    color: white;
    font-weight: normal;
    font-size: 0.85em;
    opacity: 0.95;
}

/* NOUVELLE MISE EN PAGE POUR LA VUE DÉTAIL */
.panneau-detail-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

/* Mobile : disposition en colonne simple */
@media (max-width: 767px) {
    .panneau-detail-content {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1.5rem;
    }
    
    .panneau-detail-image {
        order: 1;
        margin: 0;
    }
    
    .panneau-description-info {
        order: 2;
    }
    
    .panneau-pratique-info {
        order: 3;
    }
    
    .panneau-lieu-info {
        order: 4;
    }
    
    .panneau-artiste-info {
        order: 5;
    }
    
    /* Réduire padding sur mobile pour éviter le rognage */
    .panneau-artiste-info,
    .panneau-lieu-info,
    .panneau-description-info,
    .panneau-pratique-info {
        margin: 0;
        width: 100%;
    }
}

/* Desktop : 2 colonnes (colonne gauche: image + artiste + lieu, colonne droite: description + infos pratiques) */
@media (min-width: 768px) {
    .panneau-detail-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    /* Image en haut à gauche */
    .panneau-detail-image {
        grid-column: 1 / 2;
        grid-row: 1;
    }
    
    /* Artiste sous l'image à gauche */
    .panneau-artiste-info {
        grid-column: 1 / 2;
        grid-row: 2;
    }
    
    /* Lieu sous l'artiste à gauche */
    .panneau-lieu-info {
        grid-column: 1 / 2;
        grid-row: 3;
    }
    
    /* Description à droite en haut */
    .panneau-description-info {
        grid-column: 2 / 3;
        grid-row: 1;
    }
    
    /* Infos pratiques à droite au milieu */
    .panneau-pratique-info {
        grid-column: 2 / 3;
        grid-row: 2;
    }
}

.panneau-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h2 {
    color: #5a3e2b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.info-list {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item dt {
    font-weight: 600;
    color: #5a3e2b;
    font-size: 0.9rem;
}

.info-item dd {
    margin: 0;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-item a {
    color: #6b4423;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-item a:hover,
.info-item a:focus {
    text-decoration: underline;
}

/* Blocs artiste, lieu, description et infos pratiques - style uniforme */
.panneau-artiste-info,
.panneau-lieu-info,
.panneau-description-info,
.panneau-pratique-info {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Assurer que les titres des sections ont tous le même style */
.panneau-artiste-info .info-section h2,
.panneau-lieu-info .info-section h2,
.panneau-description-info .info-section h2,
.panneau-pratique-info .info-section h2 {
    color: #5a3e2b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Style uniforme pour toutes les listes d'infos */
.panneau-artiste-info .info-list,
.panneau-lieu-info .info-list,
.panneau-pratique-info .info-list {
    display: grid;
    gap: 1rem;
}

.panneau-map-section {
    margin: 3rem 0;
}

.panneau-map-section h2 {
    color: #5a3e2b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.panneau-navigation-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-secondary {
    background: white;
    color: #5a3e2b;
    border: 2px solid #5a3e2b;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #5a3e2b;
    color: white;
}

/* Footer */
footer {
    background: #5a3e2b;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

footer nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

footer nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav a:hover,
footer nav a:focus {
    color: #f5f3f0;
    text-decoration: underline;
}

/* En-tête de page */
.page-header {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-header h1 {
    color: #5a3e2b;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.page-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Filtres et recherche */
.search-input {
    width: 100%;
    max-width: 600px;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6b4423;
}

/* Responsive Design */
@media (min-width: 768px) {
    .panneau-mis-en-avant {
        flex-direction: row;
    }
    
    .panneau-image-wrapper {
        width: 50%;
        padding-top: 0;
        min-height: 400px;
    }
    
    .panneau-mis-en-avant .contenu {
        width: 50%;
        padding: 2rem;
        justify-content: center;
    }
    
    .panneau-mis-en-avant .contenu h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .info-item {
        grid-template-columns: 140px 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    #map, #single-map {
        height: 400px;
        border-radius: 8px;
    }
    
    .panneaux-liste {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
      
    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    
    .pause-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .carousel-controls {
        gap: 0.75rem;
    }
    
    footer nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .panneau-detail-header h1 {
        font-size: 1.8rem;
    }
    
    .panneau-artiste-info,
    .panneau-lieu-info,
    .panneau-description-info,
    .panneau-pratique-info {
        padding: 1rem;
    }
    
    .info-section h2 {
        font-size: 1.3rem;
    }
    
    .info-section h2 {
        font-size: 1.3rem;
    }
    
    /* Ajuste les contrôles en plein écran sur mobile */
    .leaflet-control-fullscreen {
        margin-top: 10px !important;
    }
    
    .leaflet-control-fullscreen a {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .panneau-mis-en-avant .contenu {
        padding: 1rem;
    }
    
    .panneau-mis-en-avant .contenu h2 {
        font-size: 1.3rem;
    }
    
    #map, #single-map {
        height: 300px;
    }
    
    .panneau-detail-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .panneau-artiste-info,
    .panneau-lieu-info,
    .panneau-description-info,
    .panneau-pratique-info {
        padding: 0.875rem;
        border-radius: 8px;
    }
    
    /* Popup adaptée mobile */
    .leaflet-popup-content {
        min-width: 240px !important;
    }
    
    .panneau-popup-image {
        height: 160px;
    }
    
    .panneau-popup-content {
        padding: 12px;
    }
    
    .panneau-popup-title {
        font-size: 15px;
    }
    
    .panneau-popup-subtitle {
        font-size: 13px;
    }
}
