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

/* Accessibility */
.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;
}

/* Support viewport mobile dynamique */
html {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height pour les mobiles */
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

:root {
    /* Palette Bretagne Moderne */
    --primary: #1e40af;          /* Bleu océan profond */
    --primary-light: #3b82f6;    /* Bleu océan clair */
    --primary-dark: #1e3a8a;     /* Bleu marine */
    --secondary: #f0f9ff;        /* Bleu très clair */
    --accent: #06b6d4;           /* Cyan/turquoise */
    --accent-warm: #f59e0b;      /* Ambre/or breton */
    --text-primary: #1e293b;     /* Gris ardoise foncé */
    --text-secondary: #475569;   /* Gris ardoise */
    --text-muted: #64748b;       /* Gris moyen */
    --surface: #ffffff;
    --surface-elevated: #fafafa;
    --surface-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #059669;          /* Vert émeraude */
    --warning: #d97706;          /* Orange chaleureux */
    --danger: #dc2626;           /* Rouge */
    
    /* Couleurs thématiques Bretagne */
    --ocean-blue: #0369a1;       /* Bleu océan */
    --sea-foam: #ecfeff;         /* Écume de mer */
    --granite-gray: #6b7280;     /* Gris granit */
    --celtic-gold: #fbbf24;      /* Or celtique */
    --forest-green: #166534;     /* Vert forêt */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-ocean: linear-gradient(135deg, var(--ocean-blue) 0%, var(--accent) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--accent-warm) 0%, var(--celtic-gold) 100%);
    
    /* Ombres modernes */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
}

/* ===== POI CONTENT WRAPPER ===== */
.poi-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== LEGAL PAGE STYLES ===== */
.legal-container {
    min-height: calc(100vh - 80px - 60px);
    background: linear-gradient(135deg, var(--sea-foam) 0%, var(--surface) 100%);
    padding: 2rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-content h1 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h1 i {
    color: var(--primary);
    font-size: 2rem;
    -webkit-text-fill-color: var(--primary);
}

.legal-section {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.legal-section h2 {
    color: var(--primary);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h2 i {
    color: var(--primary);
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-info {
    background: var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
}

.legal-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.legal-info p:last-child {
    margin-bottom: 0;
}

.contact-info {
    background: var(--sea-foam);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

/* ===== FOOTER STYLES ===== */
.simple-footer {
    background: var(--surface-card);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary);
    background: var(--secondary);
    transform: translateY(-1px);
}

.footer-links a:active {
    transform: translateY(0);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover::before {
    width: 80%;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 1rem 0;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .contact-info p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-content {
        text-align: center;
    }
}

/* ===== NEARBY POINTS OF INTEREST CAROUSEL ===== */
.nearby-section {
    background: var(--surface);
    margin: 1.5rem 0;
    padding: 16px 0;
}

.nearby-card {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.nearby-section-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nearby-section-title i {
    color: var(--primary);
    font-size: 1.25rem;
}

.nearby-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.nearby-carousel {
    position: relative;
    overflow: hidden;
}

.nearby-carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nearby-carousel-container::-webkit-scrollbar {
    display: none;
}

.nearby-poi-card {
    flex: 0 0 280px;
    background: var(--surface-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nearby-poi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.nearby-poi-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--surface-elevated);
}

.nearby-poi-content {
    padding: 1rem;
}

.nearby-poi-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nearby-poi-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.nearby-poi-department {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nearby-poi-distance {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    background: var(--secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.nearby-poi-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.nearby-poi-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--surface-card);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Category colors for nearby POI cards */
.category-monument { background: rgba(217, 119, 6, 0.1); color: #d97706; }
.category-musee { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.category-plage { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.category-village { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.category-chateau { background: rgba(146, 64, 14, 0.1); color: #92400e; }
.category-festival { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.category-loisirs { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.category-hotel { background: rgba(30, 58, 138, 0.1); color: #1e3a8a; }
.category-nature { background: rgba(5, 150, 105, 0.1); color: #059669; }
.category-villa { background: rgba(148, 163, 184, 0.1); color: #94a3b8; }
.category-logement_insolite { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.category-camping { background: rgba(52, 211, 153, 0.1); color: #34d399; }

@media (max-width: 768px) {
    .poi-content-wrapper {
        padding: 0 16px;
    }
    
    .nearby-poi-card {
        flex: 0 0 260px;
    }
    
    .carousel-prev {
        left: -15px;
    }
    
    .carousel-next {
        right: -15px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--surface-elevated);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Map - Full Screen */
.map {
    position: relative;
    margin: 20px 30px;
    height: 70vh;
    min-height: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1;
}

/* Forcer les popups Leaflet au premier plan - AU-DESSUS DE TOUT */
.map-section {
    z-index: 10000 !important;
}

.leaflet-popup-pane {
    z-index: 999999 !important;
}

.leaflet-popup {
    z-index: 1000000 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    z-index: 1000001 !important;
}

/* Forcer la visibilité du contenu popup - Sans fond transparent qui dépasse */
.leaflet-popup-content-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border: none !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

/* Styles spécifiques pour la popup moderne dans Leaflet */
.leaflet-popup-content .popup-modern {
    background: white !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: none !important;
    min-width: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-popup-content .popup-image-hero {
    height: 140px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    user-select: none !important;
}

.leaflet-popup-content .popup-image-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 0 !important;
}

.leaflet-popup-content .popup-category-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    z-index: 10 !important;
}

.leaflet-popup-content .popup-content {
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.leaflet-popup-content .popup-title-modern {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 16px 16px 8px 16px !important;
    line-height: 1.2 !important;
    display: block !important;
}

.leaflet-popup-content .popup-description-modern {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    line-height: 1.4 !important;
    margin: 0 16px 16px 16px !important;
    display: block !important;
}

.leaflet-popup-content .popup-actions-modern {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 0 16px 16px 16px !important;
}

.leaflet-popup-content .btn-action {
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    outline: none !important;
    padding: 12px 16px !important;
    flex: 1 !important;
    color: white !important;
}

.leaflet-popup-content .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
}

.leaflet-popup-content .btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
}

.leaflet-popup-content .btn-favorite {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--text-secondary) !important;
    padding: 12px !important;
    width: 48px !important;
    height: 48px !important;
    justify-content: center !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
}

.leaflet-popup-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Supprimer toutes les marges de la popup Leaflet */
.leaflet-popup {
    margin: 0 !important;
}

.leaflet-popup-content-wrapper {
    margin: 0 !important;
}

.leaflet-popup-tip-container {
    margin: 0 !important;
}

/* Bouton de fermeture custom sur l'image */
.leaflet-popup-content .popup-close-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    z-index: 20 !important;
    transition: all 0.2s ease !important;
}

.leaflet-popup-content .popup-close-btn:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1) !important;
}

/* Carrousel d'images dans la popup */
.leaflet-popup-content .popup-image-gallery {
    position: relative !important;
    width: 100% !important;
    height: 140px !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
}

.leaflet-popup-content .gallery-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
    border-radius: 20px 20px 0 0 !important;
    z-index: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.leaflet-popup-content .gallery-image.active {
    opacity: 1 !important;
    z-index: 2 !important;
}

.leaflet-popup-content .gallery-controls {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 8px !important;
    right: 8px !important;
    display: flex !important;
    justify-content: space-between !important;
    pointer-events: none !important;
    z-index: 15 !important;
}

.leaflet-popup-content .gallery-prev,
.leaflet-popup-content .gallery-next {
    width: 32px !important;
    height: 32px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
}

.leaflet-popup-content .gallery-prev:hover,
.leaflet-popup-content .gallery-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1) !important;
}

.leaflet-popup-content .gallery-dots {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 8px !important;
    z-index: 15 !important;
}

.leaflet-popup-content .gallery-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.leaflet-popup-content .gallery-dot.active {
    background: white !important;
    transform: scale(1.2) !important;
}

.leaflet-popup-content .gallery-dot:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

/* ========================================
   PANNEAU LATÉRAL PC - Design moderne
   ======================================== */

/* Conteneur principal du panneau latéral */
/* Panneau latéral désactivé */
.side-panel {
    display: none !important;
}

/* Styles pour le contenu complet des popups - Style mobile adapté */
.poi-popup-complete {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.poi-popup-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    margin: 0;
    border-radius: 20px 20px 0 0;
}

.poi-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px 20px 0 0;
}

.poi-popup-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.poi-popup-category i {
    font-size: 10px;
}

.poi-popup-content {
    padding: 20px;
}

.poi-popup-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.poi-popup-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.poi-popup-location i {
    color: var(--danger);
    font-size: 12px;
}

.poi-popup-content p {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.poi-popup-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.poi-btn {
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.poi-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 12px 20px;
    flex: 1;
}

.poi-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
    color: white;
    text-decoration: none;
}

.poi-btn-secondary {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    padding: 12px 20px;
    flex: 1;
}

.poi-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.poi-btn-favorite {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-secondary);
    padding: 12px;
    width: 48px;
    height: 48px;
    justify-content: center;
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.poi-btn-favorite:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
    transform: scale(1.1);
}

.poi-btn-favorite.favorited {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
}

@media (max-width: 768px) {
    .map {
        margin: 20px 16px;
        height: 60vh;
        min-height: 400px;
    }


    .map-toggle-btn {
        top: 20px;
        right: 20px;
    }

    .discovery-panel {
        top: 270px;
    }

    .settings-menu {
        top: 290px;
    }

}

/* Header moderne élégant */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    transition: all 0.3s ease;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0;
}

.brand-tagline {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

.header-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 44px;
    height: 44px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-ocean);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.control-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.control-btn:hover::before {
    opacity: 0.08;
}

.control-btn i {
    color: var(--text-secondary);
    font-size: 16px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.control-btn:hover i {
    color: var(--primary);
}


/* Panel de découverte latéral */
.discovery-panel {
    position: fixed;
    top: 360px;
    right: -380px;
    width: 380px;
    height: calc(100vh - 30px);
    background: var(--breton-white);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
}

.discovery-panel.open {
    right: 0;
}

.panel-tab {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 120px;
    background: var(--ocean-blue);
    clip-path: polygon(0 20%, 70% 0, 70% 100%, 0 80%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-tab:hover {
    background: var(--celtic-gold);
    transform: translateY(-50%) translateX(-3px);
}

.panel-tab i {
    color: var(--breton-white);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.panel-tab span {
    color: var(--breton-white);
    font-size: 12px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.discovery-panel.open .panel-tab i {
    transform: rotate(180deg);
}

.panel-content {
    height: 100%;
    overflow-y: auto;
    padding: 24px;
}

/* Barre de recherche bretonne */
.breton-search {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--sea-foam);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--ocean-blue);
    background: var(--breton-white);
    box-shadow: 0 0 0 4px rgba(15, 76, 117, 0.1);
}

.search-wrapper i {
    color: var(--granite-gray);
    font-size: 16px;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-size: 15px;
    color: var(--breton-black);
    outline: none;
}

.search-input::placeholder {
    color: var(--granite-gray);
}

.filter-toggle {
    width: 40px;
    height: 40px;
    background: var(--ocean-blue);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-toggle:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-toggle:hover:before {
    left: 100%;
}

.filter-toggle:hover {
    background: var(--celtic-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3);
}

.filter-toggle i {
    color: var(--breton-white);
    font-size: 18px;
    transition: all 0.2s ease;
}

.filter-toggle:hover i {
    color: var(--breton-black);
}

/* Action Buttons */
.action-buttons {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bottom-sheet.collapsed .action-buttons {
    display: none;
}

.action-btn {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.action-btn.primary {
    background: var(--ocean-blue);
    color: white;
    border: 2px solid var(--ocean-blue);
}

.action-btn.primary:hover {
    background: var(--ocean-light);
    border-color: var(--ocean-light);
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: var(--breton-white);
    color: var(--breton-black);
    border: 2px solid var(--granite-gray);
}

.action-btn.secondary:hover {
    background: var(--sea-foam);
    border-color: var(--ocean-blue);
    color: var(--ocean-blue);
}

/* Content Section */
.content-section {
    padding: 0 20px 120px;
    overflow-y: auto;
}

.bottom-sheet.collapsed .content-section {
    display: none;
}

/* Filter Content - Masqué par défaut */
.filter-content {
    display: none;
    padding: 20px;
    height: calc(100vh - 200px);
    overflow-y: auto;
}

.bottom-sheet.filter-mode .filter-content {
    display: block;
}

.bottom-sheet.filter-mode .content-section,
.bottom-sheet.filter-mode .action-buttons {
    display: none;
}

/* Filter Header */
.filter-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    ;
    margin-bottom: 20px;
}

.back-filter-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--sea-foam);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ocean-blue);
    transition: all 0.2s ease;
}

.back-filter-btn:hover {
    background: var(--ocean-blue);
    color: white;
}

.filter-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--breton-black);
    margin: 0;
}

/* Filter Actions */
.filter-actions {
    padding: 20px 0;
    ;
    margin-top: 20px;
}

/* Filter Modal */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.filter-modal.active {
    transform: translateX(0);
}

.modal-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px;
    ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
    text-align: center;
    margin: 0 40px;
}

.back-btn, .close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
}

.back-btn:hover, .close-btn:hover {
    background: #e5e7eb;
}

.modal-body {
    flex: 1;
    padding: 20px;
}

.filter-group {
    margin-bottom: 32px;
}

.filter-group h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

/* Radio Options */
.radio-group {
    display: flex;
    gap: 12px;
}

.radio-option {
    flex: 1;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.radio-option:has(input:checked) {
    background: var(--sea-foam);
    border-color: var(--ocean-blue);
}

.radio-option input {
    display: none;
}

.radio-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Type Grid */
.type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.type-option {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.type-option:has(input:checked) {
    background: var(--sea-foam);
    border-color: var(--ocean-blue);
}

.type-option input {
    display: none;
}

.type-option i {
    font-size: 18px;
    color: var(--granite-gray);
}

.type-option:has(input:checked) i {
    color: var(--ocean-blue);
}

.type-option span {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

/* Checkbox Options */
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:has(input:checked) {
    background: #ecfdf5;
    border-color: #60d394;
}

.checkbox-option input {
    display: none;
}

.checkbox-option i {
    color: #6b7280;
    font-size: 16px;
}

.checkbox-option:has(input:checked) i {
    color: #60d394;
}

.checkbox-option span {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

/* Range Slider */
.range-slider {
    margin-top: 16px;
}

.slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #60d394;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(96, 211, 148, 0.3);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #60d394;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(96, 211, 148, 0.3);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.star-rating i {
    color: #60d394;
    font-size: 20px;
}

/* Modal Footer */
.modal-footer {
    padding: 20px;
    ;
    background: white;
}

.btn-primary {
    width: 100%;
    background: #60d394;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #4ade80;
    transform: translateY(-1px);
}

.btn-link {
    width: 100%;
    background: transparent;
    color: #6b7280;
    border: none;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
    text-decoration: underline;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    ;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    height: 76px;
    /* Utilisation de la vraie hauteur de viewport */
    bottom: 0;
    top: calc(var(--real-vh, 100vh) - 76px);
    transform: translateZ(0);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px 4px;
    color: var(--granite-gray);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 4px;
    position: relative;
    transform: translateY(0);
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item-center {
    background: var(--surface-elevated);
    color: var(--text-secondary);
    border-radius: 50%;
    width: 72px;
    height: 72px;
    margin: 0 12px;
    transform: translateY(-12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 72px;
    max-width: 72px;
    min-height: 72px;
    max-height: 72px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item-center.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.4);
    transform: translateY(-12px) scale(1.05);
}

.nav-item-center i {
    font-size: 20px;
}

.nav-item-center span {
    font-size: 10px;
    font-weight: 700;
    margin-top: 2px;
}

.nav-item-center:hover:not(.active) {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: white;
}

.nav-item.active:not(.nav-item-center) {
    color: var(--primary);
}

.nav-item:not(.active):not(.nav-item-center):hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 18px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Bottom Sheet Moderne */
.bottom-sheet {
    position: fixed;
    bottom: 76px;
    left: 0;
    right: 0;
    background: var(--surface-card);
    border-radius: 0;
    z-index: 50;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
    height: auto;
    overflow: hidden;
}

.bottom-sheet.filter-mode {
    transform: translateY(-76px);
    height: 88vh;
    border-radius: 0;
}

/* Mode filtre compact - garde la recherche et quick actions visibles */
.bottom-sheet.filter-compact-mode .filter-content {
    display: block;
}

/* Filtres compacts */
.compact-filters {
    background: var(--surface);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-2);
}

.compact-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.compact-filters-header h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.compact-close-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: var(--surface-elevated);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.compact-close-btn:hover {
    background: var(--danger);
    color: white;
}

/* Section de tri compacte */
.compact-sort,
.compact-categories,
.compact-departments {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
}

.compact-label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 35px;
}

/* Pills horizontales pour le tri */
.compact-pills {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
}

.compact-pill {
    display: flex;
    align-items: center;
    padding: var(--space-1) var(--space-2);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.compact-pill:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.compact-pill input {
    display: none;
}

.compact-pill span {
    font-size: var(--font-size-xs);
    font-weight: 500;
}

/* Chips pour catégories et départements */
.compact-chips {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
    flex: 1;
}

.compact-chip {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: var(--font-size-xs);
}

.compact-chip:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.compact-chip input {
    display: none;
}

.compact-chip i {
    font-size: 10px;
}

.compact-chip span {
    font-weight: 500;
}

/* Actions compactes */
.compact-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-3);
    padding-top: var(--space-2);
}

.compact-apply,
.compact-reset {
    padding: var(--space-2) var(--space-3);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.compact-apply {
    background: var(--primary);
    color: white;
    flex: 1;
}

.compact-apply:hover {
    background: var(--primary-light);
}

.compact-reset {
    background: var(--surface-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.compact-reset:hover {
    background: var(--border-light);
}

.sheet-handle {
    display: none;
}

/* Search Interface */
.bottom-sheet .search-interface {
    padding: 16px;
    background: var(--surface-card);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bottom-sheet .search-interface .search-field {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 40px;
    position: relative;
    overflow: visible;
}

.search-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-field:focus-within {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.search-field:focus-within::before {
    opacity: 0.03;
}

.search-field i {
    color: var(--text-muted);
    margin-right: 12px;
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.search-field:focus-within i {
    color: var(--primary);
}

.search-input-container {
    flex: 1;
    position: relative;
    display: flex;
    height: 100%;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
    position: relative;
    z-index: 2;
    height: 100%;
}

.search-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 16px;
    color: var(--text-muted);
    outline: none;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-lg);
    z-index: 99999;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.suggestion-item:hover {
    background: var(--surface-elevated);
}

.suggestion-item.highlight {
    background: var(--primary-light);
    color: white;
}

.suggestion-icon {
    color: var(--text-muted);
    width: 16px;
    text-align: center;
}

.suggestion-text {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
}

.suggestion-category {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.bottom-sheet .search-interface .filters-btn {
    min-width: 60px;
    height: 40px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 13px;
    font-weight: 500;
}

.filters-btn::after {
    content: "Filtres";
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.filters-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

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

.filters-btn i {
    font-size: 14px !important;
    transition: transform 0.3s ease !important;
}

.filters-btn:hover i {
    transform: rotate(180deg);
}

/* Quick Actions */
.quick-actions {
    display: none;
}

.quick-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
}

.quick-btn.primary {
    background: var(--primary);
    color: white;
}

.quick-btn.secondary {
    background: var(--secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content Grid */
.content-grid {
    display: none;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 100px;
}

/* POI Cards modernisées */
.poi-card {
    background: var(--surface-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-light);
}

.poi-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card-image-container {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.poi-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.card-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.card-distance {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.card-distance i {
    font-size: 10px;
    color: var(--accent-warm);
}

.premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-sunset);
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 9px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(8px);
}

.premium-badge i {
    font-size: 8px;
}

/* Filters Panel */
.filters-panel {
    display: none;
    padding: 20px;
    height: calc(85vh - 60px);
    overflow-y: auto;
}

.bottom-sheet.filter-mode .filters-panel {
    display: block;
}

.bottom-sheet.filter-mode .search-interface,
.bottom-sheet.filter-mode .quick-actions,
.bottom-sheet.filter-mode .content-grid {
    display: none;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.filters-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.close-filters {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--secondary);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.close-filters:hover {
    background: var(--primary);
    color: white;
}

/* Filter Groups */
.filters-body {
    space-y: 24px;
}

.filter-group {
    margin-bottom: 32px;
}

.group-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.options-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-pill {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.option-pill input {
    display: none;
}

.option-pill:has(input:checked) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card input {
    display: none;
}

.option-card:has(input:checked) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.card-content i {
    font-size: 20px;
    color: var(--text-secondary);
}

.option-card:has(input:checked) .card-content i {
    color: white;
}

.card-content span {
    font-size: 13px;
    font-weight: 500;
}

/* Filters Footer */
.filters-footer {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-apply {
    flex: 2;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-apply:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.btn-reset {
    flex: 1;
    background: var(--secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    background: var(--surface-elevated);
    color: var(--text-primary);
}

/* === POI PAGE STYLES === */

/* Header POI */
.poi-header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

.back-link i {
    font-size: 16px;
}

/* Hero Section Moderne */
.poi-hero-modern {
    margin-top: 0;
    position: relative;
}

.poi-image-container {
    position: relative;
    height: 35vh;
    min-height: 250px;
    max-height: 320px;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    background: var(--surface-elevated);
}

.poi-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poi-back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poi-back-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.poi-back-button i {
    font-size: 14px;
}

@media (max-width: 480px) {
    .poi-back-button {
        top: 16px;
        left: 16px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .poi-back-button span {
        display: none;
    }

    .poi-back-button {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

.poi-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px 24px;
    z-index: 2;
}

.poi-title-overlay {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    line-height: 1.2;
}

@media (max-width: 480px) {
    .poi-title-overlay {
        font-size: 28px;
    }
    
    .poi-image-overlay {
        padding: 24px 20px;
    }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    justify-content: flex-end;
    padding: 24px;
    align-items: flex-start;
}

.favorite-btn-modern {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: none;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.favorite-btn-modern:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.favorite-btn-modern.active {
    background: var(--accent-warm);
    color: white;
}

.favorite-btn-modern i {
    font-size: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.favorite-btn-modern.active i {
    color: white;
}

/* Content Hero Moderne */
.poi-hero-content-modern {
    padding: 24px 24px 20px 24px;
    background: var(--surface);
}

.poi-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.poi-department-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poi-department-modern::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.poi-badges-modern {
    display: flex;
    gap: 8px;
}

.poi-badges-modern .badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-tested {
    background: var(--success);
    color: white;
}

.badge-heart {
    background: var(--accent-warm);
    color: white;
}

.poi-title-modern {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.poi-categories-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.category-tag i {
    font-size: 12px;
}

/* Section moderne */
.poi-section-modern {
    padding: 16px 0;
    background: var(--surface);
}

.description-card {
    background: var(--surface-card);
    border-radius: 20px;
    padding: 28px;
    margin: 0 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.poi-short-description-modern {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.poi-description-modern {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
}

/* Galerie d'images POI */
.poi-gallery-section {
    margin-top: 32px;
    padding-top: 24px;
}

.gallery-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-title i {
    color: var(--primary);
    font-size: 16px;
}

.poi-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.poi-gallery-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.poi-gallery-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.poi-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Ajustement spécifique pour le Grand Hôtel Barrière Dinard */
[data-poi-slug="grand-hotel-barriere-dinard"] .poi-gallery-image:first-child img {
    object-position: center bottom;
}

.poi-gallery-image:hover img {
    transform: scale(1.05);
}

.poi-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poi-gallery-image:hover .poi-gallery-overlay {
    opacity: 1;
}

.poi-gallery-caption {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Responsive pour la galerie */
@media (max-width: 480px) {
    .poi-images-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .poi-gallery-section {
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .gallery-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

/* Quick Info Section for accommodations */
.quick-info-section {
    padding: 16px 0;
    background: var(--surface);
}

.quick-info-card {
    background: var(--surface-card);
    border-radius: 20px;
    padding: 24px;
    margin: 0 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.quick-info-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.quick-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.quick-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-info-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Services Section for accommodations */
.services-section {
    padding: 16px 0;
    background: var(--surface);
}

.services-card {
    background: var(--surface-card);
    border-radius: 20px;
    padding: 28px;
    margin: 0 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.services-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-section-title i {
    color: var(--primary);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-item i {
    color: var(--primary);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.service-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quick-info-card, .services-card {
        margin: 0 16px;
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quick-info-items {
        gap: 12px;
    }

    .quick-info-item {
        padding: 12px;
    }

    .quick-info-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Actions modernes */
.poi-actions-modern {
    padding: 32px 24px;
    margin-bottom: 100px; /* Espace pour la bottom nav */
}

.action-buttons-modern {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.btn-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.btn-modern i, .btn-modern span {
    position: relative;
    z-index: 1;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary-modern::before {
    background: var(--gradient-ocean);
}

.btn-primary-modern:hover::before {
    opacity: 1;
}

.btn-secondary-modern {
    background: var(--secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary-modern::before {
    background: var(--gradient-primary);
}

.btn-secondary-modern:hover {
    color: white;
    border-color: var(--primary);
}

.btn-secondary-modern:hover::before {
    opacity: 1;
}

.btn-modern:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-modern:active {
    transform: translateY(0) scale(0.98);
}

.btn-modern i {
    font-size: 18px;
}

.btn-modern span {
    font-size: 14px;
}

.btn-success-modern {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-success-modern::before {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-success-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-success-modern:hover::before {
    opacity: 1;
}

.btn-success-modern i {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Bouton réserver en haut de la page POI */
.reserve-button-top {
    margin-top: 20px;
    text-align: center;
}

.reserve-btn-hero {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
    text-decoration: none;
}

.reserve-btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a, #15803d);
}

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

/* Ajustements pour le contenu avec boutons fixes */
.poi-content {
    padding-bottom: 140px; /* Plus d'espace pour éviter les superpositions */
}

/* === AMÉLIORATIONS PAGE POI === */

/* Stats rapides */
.poi-stats {
    margin-top: 24px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--surface-elevated);
    border-radius: 12px;
    flex: 1;
    min-width: 200px;
}

.stat-item i {
    color: var(--primary);
    font-size: 14px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    margin-left: auto;
}

/* Carte d'avis améliorée */
.avis-card {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    padding: 24px;
    margin: 0 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.avis-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.avis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.avis-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.avis-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: var(--accent-warm);
    font-size: 14px;
}

.rating-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.avis-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Tags modernes */
.poi-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.poi-tags-modern .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-elevated);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.poi-tags-modern .tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.poi-tags-modern .tag::before {
    content: '#';
    color: var(--primary);
    font-weight: 600;
}

.poi-tags-modern .tag:hover::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Section de localisation */
.location-section {
    background: var(--surface-elevated);
    border-radius: 20px;
    margin: 0 24px;
}

.location-card {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.location-info {
    flex: 1;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-item i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.location-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.show-map-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 120px;
}

.show-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.show-map-btn i {
    font-size: 18px;
}

.show-map-btn span {
    font-size: 12px;
    white-space: nowrap;
}

/* === POPUP FIXE === */

.fixed-popup {
    position: fixed;
    bottom: 164px !important;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: auto;
    max-height: 60vh;
    overflow: hidden;
}

.fixed-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.fixed-popup-content {
    padding: 0;
    height: 100%;
    overflow-y: auto;
}

.fixed-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.2);
}

.fixed-popup-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    transform: scale(1.15);
}

.fixed-popup-close i {
    color: var(--text-secondary);
    font-size: 13px;
    transition: color 0.3s ease;
}

.fixed-popup-close:hover i {
    color: white;
}

/* === POPUP MODERNE === */

.popup-modern {
    background: white;
    border-radius: 16px;
    overflow: visible;
    width: 330px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.leaflet-popup-content .popup-modern {
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
}

.popup-image-hero {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: visible;
    margin: 0;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    user-select: none;
    z-index: 1;
}

.popup-image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px 20px 0 0;
}

.popup-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1e3a8a;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-category-badge i {
    font-size: 14px;
}

/* Contrôles du carrousel dans la popup */
.popup-image-hero .gallery-controls {
    display: none !important;
}

.popup-image-hero .gallery-prev,
.popup-image-hero .gallery-next {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.popup-image-hero .gallery-prev:hover,
.popup-image-hero .gallery-next:hover {
    background: #1e3a8a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.popup-image-hero .gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 12;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.popup-image-hero .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.popup-image-hero .gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.popup-image-hero .gallery-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.popup-image-hero .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.popup-image-hero .gallery-image.active {
    opacity: 1;
    z-index: 1;
}

/* Badge de crédit Instagram dans la popup */
.popup-image-hero a[class*="image-credit-badge"] {
    position: absolute !important;
    bottom: 5px !important;
    right: 5px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    padding: 3px 6px !important;
    border-radius: 12px !important;
    font-size: 8px !important;
    text-decoration: none !important;
    align-items: center !important;
    gap: 3px !important;
    backdrop-filter: blur(4px) !important;
    transition: background 0.3s !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.popup-image-hero a[class*="image-credit-badge"]:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.popup-image-hero a[class*="image-credit-badge"] i {
    font-size: 9px !important;
}

/* Couleurs spécifiques pour les icônes dans le badge catégorie */
.popup-category-badge i[class*="fa-tree-city"] {
    color: #ec4899; /* Rose pour logements insolites */
}
.popup-category-badge i[class*="fa-landmark"] {
    color: #d97706; /* Orange pour monuments */
}
.popup-category-badge i[class*="fa-university"] {
    color: #8b5cf6; /* Violet pour musées */
}
.popup-category-badge i[class*="fa-umbrella-beach"] {
    color: #06b6d4; /* Cyan pour plages */
}
.popup-category-badge i[class*="fa-home"] {
    color: #ef4444; /* Rouge pour villages */
}
.popup-category-badge i[class*="fa-chess-rook"] {
    color: #92400e; /* Marron pour châteaux */
}
.popup-category-badge i[class*="fa-music"] {
    color: #f97316; /* Orange vif pour festivals */
}
.popup-category-badge i[class*="fa-star"] {
    color: #6366f1; /* Indigo pour loisirs */
}
.popup-category-badge i[class*="fa-bed"] {
    color: #64748b; /* Gris ardoise pour hôtels */
}
.popup-category-badge i[class*="fa-house-user"] {
    color: #94a3b8; /* Gris clair pour villas */
}
.popup-category-badge i[class*="fa-campground"] {
    color: #34d399; /* Vert émeraude pour camping */
}
.popup-category-badge i[class*="fa-eye"] {
    color: #059669; /* Vert émeraude pour panorama */
}
.popup-category-badge i[class*="fa-hiking"] {
    color: #10b981; /* Vert teal pour randonnées */
}

/* Position des images pour Villa Lily Spa - afficher entre le milieu et le bas */
.popup-image-hero.villa-lily-spa-images img,
.popup-image-hero.villa-lily-spa-images .gallery-image {
    object-position: center 75% !important;
}

.popup-content {
    padding: 14px;
}

.popup-header-modern {
    margin-bottom: 10px;
}

.popup-title-modern {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.popup-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 8px;
}

.popup-location i {
    color: #1e3a8a;
    font-size: 11px;
}

.popup-description-modern {
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge "Testé" dans les popups */
.popup-tested-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 16px 0;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.popup-tested-badge i {
    font-size: 11px;
}

.popup-action-modern {
    margin-top: auto;
    padding: 0 16px 16px 16px;
}

.discover-btn-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    width: 100%;
    border: none;
    cursor: pointer;
}

.discover-btn-modern:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.discover-btn-modern i {
    font-size: 16px;
}

.discover-btn-modern.secondary {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.discover-btn-modern.secondary:hover {
    background: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Style spécifique pour les boutons de logements */
.discover-btn-modern.secondary.accommodation {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.discover-btn-modern.secondary.accommodation:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.popup-actions-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px 16px 16px;
}

.reserve-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.reserve-btn-modern:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* Galerie d'images héro */
.popup-image-hero .popup-image-gallery {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    border-radius: 20px 20px 0 0;
}

.popup-image-hero .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px 20px 0 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.popup-image-hero .gallery-image.active {
    opacity: 1;
}

.popup-image-hero .gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.popup-image-hero .gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-image-hero .gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

.popup-image-hero .gallery-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* === POPUP SIMPLE (legacy support) === */

.popup-simple {
    padding: 16px;
    max-width: 100%;
    position: relative;
    min-height: 120px;
}

/* Zone de sécurité pour le bouton cœur en bas */
.popup-simple::before {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 52px;
    height: 52px;
    pointer-events: none;
    z-index: 10;
}

/* Zone de sécurité pour le bouton croix en haut */
.popup-simple::after {
    content: '';
    position: absolute;
    top: -12px;
    right: 4px;
    width: 52px;
    height: 52px;
    pointer-events: none;
    z-index: 10;
}

/* Zone de clic tactile élargie pour mobile */
.favorite-btn-simple::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    z-index: -1;
}

.fixed-popup-close::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    z-index: -1;
}

.popup-header-simple {
    margin-bottom: 12px;
    position: relative;
}

.popup-title-simple {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    padding-right: 0;
}

.favorite-btn-simple {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 15;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.favorite-btn-simple i {
    color: var(--text-muted);
    font-size: 16px;
    transition: color 0.3s ease;
}

.favorite-btn-simple:hover {
    background: var(--secondary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.favorite-btn-simple:hover i {
    color: var(--primary);
}

.favorite-btn-simple.active {
    background: var(--danger);
    border-color: var(--danger);
    animation: heartBeat 0.4s ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.favorite-btn-simple.active i {
    color: white;
}

.popup-image-simple {
    margin-bottom: 16px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
}

.popup-image-simple img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 20px 20px 0 0;
}

/* Galerie d'images dans la popup */
.popup-image-gallery {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    border-radius: 20px 20px 0 0;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    user-select: none;
    border-radius: 20px 20px 0 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gallery-image[data-position="center-top-soft"] {
    object-position: center 20%;
}

.gallery-image[data-position="center"] {
    object-position: center center;
}

.popup-image-gallery {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.gallery-image.active {
    opacity: 1;
}

.gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.gallery-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.popup-description-content {
    margin-bottom: 20px;
}

.popup-description-simple {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

/* Images supplémentaires dans la popup */
.popup-additional-images {
    margin-top: 12px;
}

.additional-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.additional-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.additional-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.additional-image {
    width: 100%;
    height: 60px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.additional-image-item:hover .additional-image {
    transform: scale(1.05);
}

.images-caption {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin: 6px 0 0 0;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.images-caption i {
    font-size: 10px;
    opacity: 0.7;
}

.popup-action-simple {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    margin-bottom: 8px;
}

.discover-btn-simple {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    text-transform: capitalize;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.discover-btn-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.discover-btn-simple:hover::before {
    transform: translateX(100%);
}

.discover-btn-simple:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}

/* === STYLES POUR LES FILTRES DANS LA POPUP === */

.filters-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-height: 55vh;
}

.filters-body-popup {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.filters-header-popup {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.filters-header-popup h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.filters-body-popup {
    margin-bottom: 20px;
}

.categories-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-chip {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    min-width: fit-content;
}

.category-chip input {
    display: none;
}

.category-chip:has(input:checked) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.chip-content {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.chip-content i {
    font-size: 12px;
    color: var(--text-secondary);
}

.category-chip:has(input:checked) .chip-content i {
    color: white;
}

.chip-content span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.category-chip:has(input:checked) .chip-content span {
    color: white;
}

.category-chip:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.category-chip:has(input:checked):hover {
    background: var(--primary-dark);
}

.filters-actions-bottom {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.filters-footer-popup {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.btn-apply-popup {
    flex: 2;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-apply-popup:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-reset-popup {
    flex: 1;
    background: var(--surface-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset-popup:hover {
    background: var(--surface);
    color: var(--text-primary);
}

/* === POPUP STYLES === */

/* Masquer les popups leaflet standard */
.leaflet-popup-content-wrapper {
    display: none;
}

/* Popup custom styling */
.custom-popup .leaflet-popup-content-wrapper {
    display: block !important;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
    width: 100% !important;
    max-width: 450px !important;
    min-width: 320px !important;
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    width: 100% !important;
}

.custom-popup .leaflet-popup-tip {
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Centrer la flèche de la popup */
.leaflet-popup-tip-container {
    left: 50% !important;
    margin-left: -10px !important;
    width: 20px !important;
}

/* Responsive pour les popups */
@media (max-width: 480px) {
    .custom-popup .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 40px) !important;
        width: calc(100vw - 40px) !important;
    }

    .popup-modern {
        max-width: 100%;
        width: 100%;
    }

    /* Assurer que la popup ne chevauche pas avec la barre de recherche sur mobile */
    .leaflet-popup {
        margin-bottom: 250px !important; /* Espace pour la barre de recherche et les filtres */
    }

    /* Ajustement de la zone d'affichage des popups */
    .leaflet-map-pane .leaflet-popup-pane {
        bottom: 250px !important;
    }
}

/* Améliorations pour le positionnement de la popup sur tous écrans */
@media (max-width: 768px) {
    .leaflet-popup {
        margin-bottom: 220px !important; /* Espace pour éviter le chevauchement avec la barre de recherche */
    }

    /* Forcer la popup à respecter l'espace en bas */
    .leaflet-popup-pane {
        padding-bottom: 220px !important;
    }
}

/* Popup moderne */
.popup-modern {
    width: 100%;
    overflow: visible;
}

.popup-image-container {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popup-modern:hover .popup-image {
    transform: scale(1.05);
}

.popup-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.popup-category i {
    font-size: 10px;
    color: var(--primary);
}

.popup-content-modern {
    padding: 20px;
}

.popup-header-modern {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.popup-title-modern {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    flex: 1;
    margin-right: 12px;
}

.popup-department {
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.popup-description-modern {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popup-badges-modern {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.popup-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.popup-badge i {
    font-size: 8px;
}

.popup-badge-tested {
    background: var(--success);
    color: white;
}

.popup-badge-heart {
    background: var(--accent-warm);
    color: white;
}

.popup-badge-favorite {
    background: var(--primary);
    color: white;
}

.popup-actions-modern {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
}

.popup-btn-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    min-height: 64px;
}

.popup-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.popup-btn-modern i, .popup-btn-modern span {
    position: relative;
    z-index: 1;
}

.popup-btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
}

.popup-btn-primary-modern::before {
    background: var(--gradient-ocean);
}

.popup-btn-primary-modern:hover::before {
    opacity: 1;
}

.popup-btn-secondary-modern {
    background: var(--secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.popup-btn-secondary-modern::before {
    background: var(--gradient-primary);
}

.popup-btn-secondary-modern:hover {
    color: white;
    border-color: var(--primary);
}

.popup-btn-secondary-modern:hover::before {
    opacity: 1;
}

.popup-btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.popup-btn-modern i {
    font-size: 14px;
}

.popup-btn-modern span {
    font-size: 11px;
    font-weight: 600;
}

/* Loading et Error states améliorés */
.loading-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 24px;
    text-align: center;
}

.loading-state i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-state i {
    font-size: 48px;
    color: var(--danger);
    margin-bottom: 20px;
}

.error-state h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

/* === MARQUEURS CARTE PERSONNALISÉS === */

/* Style pour les marqueurs POI avec icônes catégories */
.custom-poi-marker {
    background: transparent !important;
    border: none !important;
}

/* Style moderne pour les marqueurs créés par JavaScript */
.custom-marker .marker-pin {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1.5px solid white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.custom-marker .marker-pin:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.custom-marker .marker-pin:active {
    transform: scale(1.05) translateY(-1px);
    transition: all 0.1s ease;
}

.custom-marker .marker-pin i {
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.poi-marker-content {
    width: 22px;
    height: 22px;
    background: var(--primary);
    border: 1.5px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.poi-marker-content:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.poi-marker-content:active {
    transform: scale(1.05) translateY(-1px);
    transition: all 0.1s ease;
}

.poi-marker-content i {
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 3;
    position: relative;
    transition: all 0.3s ease;
}

/* Couleurs spécifiques par catégorie */
.poi-marker-content[data-category="monument"] { background: #d97706 !important; }
.poi-marker-content[data-category="monument"]:hover { background: #b45309 !important; }

.poi-marker-content[data-category="musee"] { background: #8b5cf6 !important; }
.poi-marker-content[data-category="musee"]:hover { background: #7c3aed !important; }

.poi-marker-content[data-category="plage"] { background: #06b6d4 !important; }
.poi-marker-content[data-category="plage"]:hover { background: #0891b2 !important; }

.poi-marker-content[data-category="village"] { background: #ef4444 !important; }
.poi-marker-content[data-category="village"]:hover { background: #dc2626 !important; }

.poi-marker-content[data-category="chateau"] { background: #92400e !important; }
.poi-marker-content[data-category="chateau"]:hover { background: #78350f !important; }

.poi-marker-content[data-category="festival"] { background: #f97316 !important; }
.poi-marker-content[data-category="festival"]:hover { background: #ea580c !important; }

.poi-marker-content[data-category="loisirs"] { background: #a855f7 !important; }
.poi-marker-content[data-category="loisirs"]:hover { background: #9333ea !important; }

.poi-marker-content[data-category="hotel"] { background: #1e3a8a !important; }
.poi-marker-content[data-category="hotel"]:hover { background: #1e40af !important; }

.poi-marker-content[data-category="villa"] { background: #3b82f6 !important; }
.poi-marker-content[data-category="villa"]:hover { background: #2563eb !important; }

.poi-marker-content[data-category="logement_insolite"] { background: #ec4899 !important; }
.poi-marker-content[data-category="logement_insolite"]:hover { background: #db2777 !important; }

.poi-marker-content[data-category="camping"] { background: #34d399 !important; }
.poi-marker-content[data-category="camping"]:hover { background: #10b981 !important; }

.poi-marker-content[data-category="nature"] { background: #059669 !important; }
.poi-marker-content[data-category="nature"]:hover { background: #047857 !important; }

/* Animation d'apparition des marqueurs */
@keyframes markerAppear {
    from {
        transform: scale(0) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.custom-poi-marker {
    animation: markerAppear 0.4s ease-out;
}

/* Icônes dans les filtres - même style que les markers */
.poi-marker-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 2px solid white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-right: 8px;
    vertical-align: middle;
}

.poi-marker-icon i {
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Couleurs spécifiques par catégorie pour les filtres */
.poi-marker-icon[data-category="monument"] { background: #d97706 !important; }
.poi-marker-icon[data-category="musee"] { background: #8b5cf6 !important; }
.poi-marker-icon[data-category="plage"] { background: #06b6d4 !important; }
.poi-marker-icon[data-category="village"] { background: #ef4444 !important; }
.poi-marker-icon[data-category="chateau"] { background: #92400e !important; }
.poi-marker-icon[data-category="festival"] { background: #f97316 !important; }
.poi-marker-icon[data-category="loisirs"] { background: #a855f7 !important; }
.poi-marker-icon[data-category="hotel"] { background: #1e3a8a !important; }
.poi-marker-icon[data-category="nature"] { background: #059669 !important; }
.poi-marker-icon[data-category="villa"] { background: #3b82f6 !important; }
.poi-marker-icon[data-category="logement_insolite"] { background: #ec4899 !important; }
.poi-marker-icon[data-category="camping"] { background: #34d399 !important; }

/* Couleurs des icônes dans les filtres (sans cercle) */
#simpleFiltersPopup .filter-chip i[data-category="monument"] { color: #d97706 !important; }
#simpleFiltersPopup .filter-chip i[data-category="musee"] { color: #8b5cf6 !important; }
#simpleFiltersPopup .filter-chip i[data-category="plage"] { color: #06b6d4 !important; }
#simpleFiltersPopup .filter-chip i[data-category="village"] { color: #ef4444 !important; }
#simpleFiltersPopup .filter-chip i[data-category="chateau"] { color: #92400e !important; }
#simpleFiltersPopup .filter-chip i[data-category="festival"] { color: #f97316 !important; }
#simpleFiltersPopup .filter-chip i[data-category="loisirs"] { color: #6366f1 !important; }
#simpleFiltersPopup .filter-chip i[data-category="hotel"] { color: #1e3a8a !important; }
#simpleFiltersPopup .filter-chip i[data-category="nature"] { color: #059669 !important; }
#simpleFiltersPopup .filter-chip i[data-category="villa"] { color: #94a3b8 !important; }
#simpleFiltersPopup .filter-chip i[data-category="logement_insolite"] { color: #ec4899 !important; }
#simpleFiltersPopup .filter-chip i[data-category="camping"] { color: #34d399 !important; }

/* Alternative avec classes */
.filter-chip .icon-monument { color: #d97706 !important; }
.filter-chip .icon-musee { color: #8b5cf6 !important; }
.filter-chip .icon-plage { color: #06b6d4 !important; }
.filter-chip .icon-village { color: #ef4444 !important; }
.filter-chip .icon-chateau { color: #92400e !important; }
.filter-chip .icon-festival { color: #f97316 !important; }
.filter-chip .icon-loisirs { color: #6366f1 !important; }
.filter-chip .icon-hotel { color: #1e3a8a !important; }
.filter-chip .icon-nature { color: #059669 !important; }
.filter-chip .icon-villa { color: #94a3b8 !important; }
.filter-chip .icon-logement_insolite { color: #ec4899 !important; }
.filter-chip .icon-camping { color: #34d399 !important; }


/* Marqueur de position utilisateur */
.user-location-marker {
    background: transparent !important;
    border: none !important;
}

/* ===================================================================
   MINI FILTERS - Compact filter system
   =================================================================== */

.bottom-sheet.mini-filters-mode {
    height: 60vh !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.bottom-sheet.mini-filters-mode .filter-content {
    display: block !important;
    order: -1;
    overflow-y: auto;
}

.bottom-sheet.mini-filters-mode .quick-actions,
.bottom-sheet.mini-filters-mode .content-grid,
.bottom-sheet.mini-filters-mode .filters-panel {
    display: none !important;
}

.demo-filters {
    padding: 0;
}

.demo-filters .filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-card);
}

.demo-filters .filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-filters .close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.demo-filters .close-btn:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.demo-filters .filter-group {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.demo-filters .filter-group:last-of-type {
    border-bottom: none;
}

.demo-filters .filter-group h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-filters .radio-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-filters .radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.demo-filters .radio-option:hover {
    background: var(--surface-hover);
}

.demo-filters .radio-option input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--primary);
}

.demo-filters .radio-label {
    font-size: 14px;
    color: var(--text-primary);
}

.demo-filters .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.demo-filters .checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s ease;
    background: var(--surface);
}

.demo-filters .checkbox-option:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
}

.demo-filters .checkbox-option input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary);
}

.demo-filters .checkbox-option i {
    margin-right: 8px;
    color: var(--text-secondary);
    width: 16px;
    text-align: center;
}

.demo-filters .checkbox-option span {
    font-size: 14px;
    color: var(--text-primary);
}

.demo-filters .checkbox-option:has(input:checked) {
    background: var(--primary-light);
    border-color: var(--primary);
}

.demo-filters .filter-actions {
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--surface-card);
    display: flex;
    gap: 12px;
}

.demo-filters .btn-apply {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-filters .btn-apply:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.demo-filters .btn-reset {
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-filters .btn-reset:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--text-primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .demo-filters .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   SIMPLE FILTERS BUBBLE - Bulle qui monte
   =================================================================== */

#simpleFiltersPopup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

#simpleFiltersPopup.show {
    opacity: 1;
    transform: translateY(0);
}

.filters-bubble {
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.bubble-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    ;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
}

.bubble-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-bubble {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-bubble:hover {
    background: #e9ecef;
    color: #333;
}

.bubble-content {
    padding: 20px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.filter-section label {
    display: block;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: color 0.2s ease;
}

.filter-section label:hover {
    color: #007bff;
}

.filter-section input[type="radio"],
.filter-section input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #007bff;
}

.bubble-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    ;
    background: #f8f9fa;
}

.btn-apply {
    flex: 1;
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-apply:hover {
    background: #0056b3;
}

.btn-reset {
    background: white;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

/* Chips (petits boutons clicables) */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.filter-chip {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
    font-weight: 500;
}

.filter-chip:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.filter-chip.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.filter-chip.active:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.user-location-pulse {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-location-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    animation: locationPulse 2s infinite;
}

.user-location-dot {
    width: 20px;
    height: 20px;
    background: #06b6d4;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
    z-index: 10;
    position: relative;
}

.user-location-dot i {
    color: white;
    font-size: 10px;
    font-weight: 900;
}

@keyframes locationPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Responsive pour POI */
@media (max-width: 480px) {
    .poi-stats {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .location-card {
        flex-direction: column;
        text-align: center;
    }
    
    .avis-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .location-section {
        margin: 0 20px;
    }
    
    .avis-card {
        margin: 0 20px;
    }
}

/* Section Informations Pratiques Moderne */
.poi-practical-modern {
    margin: 32px 0;
}

.practical-info-card {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--surface-variant);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin: 0 20px;
}

.practical-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--on-surface);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.practical-section-title i {
    color: var(--primary);
    font-size: 18px;
}

.practical-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.practical-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
}

.practical-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.practical-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.practical-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.practical-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--on-surface);
    line-height: 1.4;
}

.practical-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.practical-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Responsive pour les informations pratiques */
@media (max-width: 480px) {
    .practical-info-card {
        padding: 20px;
    }
    
    .practical-item {
        gap: 12px;
    }
    
    .practical-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .practical-value,
    .practical-link {
        font-size: 14px;
    }
}

/* Section Localisation Moderne */
.location-section-modern {
    margin: 32px 0;
}

.location-card-modern {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--surface-variant);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin: 0 20px;
}

.location-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--on-surface);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-section-title i {
    color: var(--primary);
    font-size: 18px;
}

.location-info-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.location-item-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
}

.location-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.location-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--on-surface);
    line-height: 1.4;
}

.location-btn-modern {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.location-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

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

/* Responsive pour la localisation */
@media (max-width: 480px) {
    .location-card-modern {
        padding: 20px;
    }
    
    .location-item-modern {
        gap: 12px;
    }
    
    .location-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .location-value {
        font-size: 14px;
    }
    
    .location-btn-modern {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .places-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .options-row {
        justify-content: center;
    }
    
    .poi-title-modern {
        font-size: 26px;
    }
    
    .poi-hero-content-modern {
        padding: 24px 20px;
    }
    
    .description-card {
        margin: 0 20px;
        padding: 20px;
    }
    
    .action-buttons-modern {
        flex-direction: column;
    }
    
    /* Améliorations mobile pour les boutons popup */
    .favorite-btn-simple {
        width: 40px;
        height: 40px;
        bottom: 8px;
        right: 8px;
    }
    
    .favorite-btn-simple i {
        font-size: 18px;
    }
    
    .fixed-popup-close {
        width: 36px;
        height: 36px;
        top: 8px;
        right: 8px;
    }
    
    .fixed-popup-close i {
        font-size: 14px;
    }
    
    .popup-title-simple {
        font-size: 16px;
        padding-right: 0;
    }
    
    .popup-simple {
        padding: 20px;
    }
    
    .popup-simple::before {
        width: 60px;
        height: 60px;
        bottom: 0;
        right: 0;
    }
    
    .popup-simple::after {
        width: 60px;
        height: 60px;
        top: -16px;
        right: 0;
    }
    
    .popup-actions-modern {
        gap: 16px;
        flex-direction: column;
    }
    
    .popup-btn-modern {
        flex-direction: row;
        justify-content: center;
        min-height: 48px;
        gap: 8px;
    }
}

/* Media queries pour très petits écrans */
@media (max-width: 360px) {
    .favorite-btn-simple {
        width: 44px;
        height: 44px;
        bottom: 4px;
        right: 4px;
    }
    
    .favorite-btn-simple i {
        font-size: 20px;
    }
    
    .fixed-popup-close {
        width: 40px;
        height: 40px;
        top: 4px;
        right: 4px;
    }
    
    .fixed-popup-close i {
        font-size: 16px;
    }
    
    .popup-title-simple {
        font-size: 15px;
        padding-right: 0;
        line-height: 1.4;
    }
    
    .popup-simple::before {
        width: 68px;
        height: 68px;
        bottom: -4px;
        right: -4px;
    }
    
    .popup-simple::after {
        width: 68px;
        height: 68px;
        top: -20px;
        right: -4px;
    }
    
    .discover-btn-simple {
        padding: 16px 20px;
        font-size: 15px;
        min-width: 160px;
    }
}

/* Styles pour les boutons de réservation */
.popup-actions-grid {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.discover-btn-simple.secondary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.discover-btn-simple.secondary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.reserve-btn-simple {
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.reserve-btn-simple:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.reserve-btn-simple i {
    font-size: 16px;
}

/* === STYLES POUR LA PAGE LOGEMENTS === */

.logements-main {
    margin-top: 0;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Hero Section */
.logements-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logements-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 30px 30px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Filters Section */
.filters-section {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.filters-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.filter-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-chip {
    background: var(--surface-elevated);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.filter-chip:hover {
    border-color: var(--primary-light);
    background: var(--secondary);
}

.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 200px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.logements-grid-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Logements Grid */
.logements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.logement-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.logement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.logement-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.logement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logement-card:hover .logement-image img {
    transform: scale(1.05);
}

.logement-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.coup-de-coeur {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ef4444;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logement-content {
    padding: 24px;
}

.logement-header {
    margin-bottom: 16px;
}

.logement-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.logement-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logement-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.logement-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.logement-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.logement-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logement-btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.logement-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.logement-btn-secondary {
    background: #22c55e;
    color: white;
    border: none;
}

.logement-btn-secondary:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Suggestion Section */
.suggestion-section {
    background: var(--surface-elevated);
    padding: 60px 20px;
    border-top: 1px solid var(--border);
}

.suggestion-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.suggestion-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.suggestion-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.suggestion-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.suggestion-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.suggestion-visual {
    color: var(--accent);
    font-size: 3rem;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-chips {
        gap: 8px;
    }
    
    .filter-chip {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .logements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .suggestion-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .suggestion-visual {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logements-hero {
        padding: 40px 20px 35px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .filters-container {
        padding: 15px;
    }
    
    .logement-content {
        padding: 20px;
    }
    
    .logement-actions {
        flex-direction: column;
    }
}

/* === STYLES POUR LA PAGE CARTE === */
.carte-hero {
    background: var(--gradient-primary);
    color: white !important;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
    padding: 20px;
}
.carte-hero * {
    color: white !important;
}
.carte-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 40px 40px;
}
.carte-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}
.carte-hero .hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white !important;
}
.carte-hero .hero-title i {
    font-size: 2rem;
    color: white !important;
}
.carte-hero .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
    color: white !important;
}

/* Search Section */
.carte-search-section {
    padding: 15px 0;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carte-search-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-bar-main {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.search-field-main {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 0 20px;
    height: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.search-field-main:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.search-field-main i {
    color: var(--text-secondary);
    margin-right: 12px;
    font-size: 18px;
}

.search-input-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--text-primary);
}

.search-input-main::placeholder {
    color: var(--text-muted);
}

.filters-btn-main {
    height: 40px;
    padding: 0 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters-btn-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}
@media (max-width: 768px) {
    .carte-hero {
        height: auto;
        min-height: 220px;
        padding: 24px 16px;
    }

    .carte-hero .hero-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .carte-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 8px;
    }

    .carte-search-section {
        padding: 15px 0;
    }

    .carte-search-section .container {
        padding: 0 16px;
    }

    .search-bar-main {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .search-input-main {
        width: 100%;
        box-sizing: border-box;
    }

    .search-field-main {
        height: 32px;
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .filters-btn-main {
        height: 32px;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* === STYLES POUR LA PAGE BLOG === */

.blog-main {
    margin-top: 0;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

/* Blog Hero Section */
.blog-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 40px 40px;
}

.blog-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.blog-hero .hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-hero .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Articles Section */
.blog-articles {
    padding: 60px 0;
}

.blog-articles .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Article */
.featured-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .article-image img {
    transform: scale(1.03);
}

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    margin-bottom: 16px;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.article-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Full Article */
.full-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.article-header {
    padding: 30px 30px 0;
}

.back-to-blog {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    background: var(--primary);
    color: white;
}

.article-header .article-meta {
    justify-content: space-between;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 30px;
}

.article-image-full {
    margin: 0 -30px 30px;
    height: 400px;
    overflow: hidden;
}

.article-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 0 30px 30px;
}

.article-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 500;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-body h3 i {
    color: var(--primary);
    font-size: 1.1rem;
}

.article-body p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.article-body ul {
    margin: 20px 0;
    padding-left: 0;
}

.article-body ul li {
    list-style: none;
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.article-body ul li::before {
    content: "→";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.article-image-inline {
    margin: 30px 0;
    text-align: center;
}

.article-image-inline img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.article-image-inline figcaption {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
}

.article-cta {
    background: var(--secondary);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.cta-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.article-signature {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-style: italic;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 20px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 16px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    background: white;
    color: var(--primary);
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .blog-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-actions {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .article-social {
        justify-content: center;
    }
    
    .article-header,
    .article-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .article-image-full {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .article-header h1 {
        font-size: 1.6rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        justify-content: center;
    }
}

/* === STYLES POUR LA PAGE FESTIVALS === */

/* Filters */
.festivals-filters {
    background: white;
    ;
    padding: 18px 0;
}

.festivals-filters .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.filters-grid {
    display: grid;
    gap: 8px;
}

.festivals-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.festivals-filters .filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.festivals-filters .filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.festivals-filters .filter-chip {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.festivals-filters .filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.festivals-filters .filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.festivals-filters .filter-chip i {
    font-size: 12px;
}

.festivals-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}


/* No results message */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.no-results-content i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.no-results-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.no-results-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

.reset-filters-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.reset-filters-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .festivals-hero {
        padding: 20px;
    }
    
    .festivals-filters {
        padding: 15px 0;
    }
    
    .filters-grid {
        gap: 12px;
    }
    
    .festivals-filters .filter-chips {
        gap: 6px;
    }
    
    .festivals-filters .filter-chip {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .festivals-filters .filter-chip i {
        font-size: 10px;
    }
    
    .festivals-grid-section {
        padding: 30px 0 50px;
    }
    
    .festivals-grid-section .section-header {
        margin-bottom: 20px;
    }
    
    .festivals-grid {
        grid-template-columns: 1fr;
    }
}

/* Version tablette avec 2 colonnes */
@media (max-width: 1024px) and (min-width: 769px) {
    .festivals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.festivals-main {
    margin-top: 0;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

/* === STYLES POUR LA PAGE INSTAGRAM === */

.instagram-main {
    margin-top: 0;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Hero Section */
.instagram-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.instagram-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="2" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="4" fill="white" opacity="0.1"/><circle cx="70" cy="10" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 100px 100px;
}

.instagram-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.instagram-hero .hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.instagram-hero .hero-title i {
    font-size: 2rem;
}

.instagram-hero .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 24px;
}

.instagram-follow-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.instagram-follow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Instagram Grid Section */
.instagram-grid-section {
    padding: 40px 0 60px;
}

.instagram-grid-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.instagram-grid-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.instagram-grid-section .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.instagram-grid-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Story Section */
.instagram-story-section {
    padding: 60px 0;
    background: #f8fafc;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.timeline-icon {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Instagram Mockup */
.instagram-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    background: #333;
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-width: 300px;
}

.phone-screen {
    background: white;
    border-radius: 22px;
    padding: 20px;
    font-size: 14px;
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    ;
}

.instagram-header i {
    font-size: 24px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.instagram-header span {
    font-weight: 600;
    flex: 1;
}

.follow-btn {
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.instagram-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
    text-align: center;
}

.instagram-stats .stat strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.instagram-stats .stat span {
    font-size: 12px;
    color: var(--text-secondary);
}

.instagram-bio p {
    color: var(--text-primary);
    line-height: 1.4;
    font-size: 13px;
}

/* CTA Section */
.instagram-cta-section {
    padding: 80px 0;
    text-align: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.benefit {
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.benefit h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.instagram-follow-btn-main {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.instagram-follow-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.5);
}

.hashtag-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 16px;
}

.hashtag-highlight {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .instagram-hero {
        padding: 30px 16px;
    }
    
    .instagram-hero .hero-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .instagram-story-section {
        padding: 40px 0;
    }
    
    .instagram-story-section .container {
        padding: 0 16px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .story-intro {
        font-size: 1rem;
        text-align: center;
    }
    
    .timeline-item {
        gap: 12px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    .phone-frame {
        max-width: 220px;
        margin: 0 auto;
    }
    
    .instagram-cta-section {
        padding: 60px 0;
    }
    
    .instagram-cta-section .container {
        padding: 0 16px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content > p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .cta-benefits {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .benefit {
        padding: 25px 20px;
    }
    
    .benefit i {
        font-size: 2rem;
    }
    
    .benefit h3 {
        font-size: 1.1rem;
    }
    
    .benefit p {
        font-size: 14px;
    }
    
    .instagram-follow-btn-main {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .hashtag-info {
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
    }
}

/* Festivals Hero Section */
.festivals-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.festivals-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10L55 40L85 35L65 55L90 70L60 65L50 90L40 65L10 70L35 55L15 35L45 40Z" fill="white" opacity="0.1"/></svg>') repeat;
    background-size: 60px 60px;
}

.festivals-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.festivals-hero .hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.festivals-hero .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Festivals Grid Section */
.festivals-grid-section {
    padding: 40px 0 60px;
}

.festivals-grid-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.festivals-grid-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.festivals-grid-section .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.festivals-grid-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Festival Card */
.festival-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Important: maintenir la structure même après modification JavaScript */
.festivals-grid .festival-card[style*="display: block"] {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.festival-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.festival-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.festival-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.festival-card:hover .festival-image img {
    transform: scale(1.03);
}

.festival-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-warm);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.festival-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    padding: 6px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.festival-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.festival-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.festival-date,
.festival-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.festival-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.festival-description {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.festival-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--surface-elevated);
    border-radius: 10px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.festival-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.genre-tag {
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.festival-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0;
}

.festival-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #3b82f6;
    color: white;
    border: none;
}

.festival-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.festival-btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
}

.festival-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.festival-btn-secondary {
    background: #3b82f6;
    color: white;
    border: none;
}

.festival-btn-secondary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Coming Soon Section */
.coming-soon-section {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin-top: 40px;
}

.coming-soon-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.coming-soon-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.coming-soon-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-btn {
    background: white;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.coming-soon-btn:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

/* Responsive Festivals */
@media (max-width: 768px) {
    .festivals-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .festivals-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .festival-content {
        padding: 20px;
    }
    
    .festival-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .festival-title {
        font-size: 1.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .festival-actions {
        flex-direction: column;
    }
    
    .coming-soon-section {
        padding: 40px 20px;
    }
    
    .coming-soon-content i {
        font-size: 2.5rem;
    }
    
    .coming-soon-content h3 {
        font-size: 1.3rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
    }
}

/* Styles pour les popups Leaflet simplifiées */
.custom-leaflet-popup .leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    overflow: hidden !important;
    background: white;
    position: relative;
    /* Ne pas forcer la largeur, laisser Leaflet gérer */
}

.custom-leaflet-popup .leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5;
    /* Ne pas forcer width: 100%, laisser Leaflet calculer */
    max-height: none !important;
}

.custom-leaflet-popup .leaflet-popup-close-button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    color: #64748b !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    z-index: 10000 !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    padding: 0 !important;
}

.custom-leaflet-popup .leaflet-popup-close-button span {
    display: inline-block !important;
    line-height: 1;
}

.custom-leaflet-popup .leaflet-popup-close-button:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
    border-color: #dc2626;
}

/* Styles pour le contenu des popups POI */
.poi-popup {
    background: white;
    border-radius: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.poi-popup-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin: 0;
}

.poi-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poi-popup-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(59, 130, 246, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.poi-popup-category i {
    font-size: 12px;
}

.poi-popup-content {
    padding: 0;
}

.poi-popup-content h3 {
    margin: 16px 16px 12px 16px;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.poi-popup-content p {
    margin: 0 16px 20px 16px;
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

.poi-popup-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 20px 20px 20px;
    margin-top: 8px;
}

.poi-btn {
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    outline: none;
}

.poi-btn-primary {
    background: #3b82f6;
    color: white;
    padding: 12px 20px;
    flex: 1;
}

.poi-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.poi-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
    padding: 12px;
    width: 44px;
    height: 44px;
    justify-content: center;
}

.poi-btn-secondary:hover {
    background: #e2e8f0;
    color: #ef4444;
    transform: scale(1.05);
}

.poi-btn-secondary.favorited {
    background: #fef2f2;
    color: #ef4444;
}

.poi-btn-secondary.favorited:hover {
    background: #fee2e2;
}

.leaflet-popup-modern {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 350px !important;
    display: block !important;
    font-family: 'Inter', sans-serif;
}

.leaflet-popup-image {
    position: relative;
    height: 200px !important;
    overflow: hidden;
    display: block !important;
    width: 100% !important;
}

.leaflet-popup-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
}

.leaflet-popup-gallery {
    position: relative;
    height: 100%;
}

.leaflet-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaflet-gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.leaflet-gallery-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    pointer-events: all;
}

.leaflet-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.leaflet-popup-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1e40af;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

.leaflet-popup-title {
    margin: 16px 16px 12px 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.leaflet-popup-description {
    margin: 0 16px 16px 16px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.leaflet-popup-tested-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 16px 16px 16px;
    padding: 8px 12px;
    background: #059669;
    color: white;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.leaflet-popup-actions {
    display: flex;
    gap: 8px;
    margin: 0 16px 16px 16px;
}

.leaflet-popup-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: white;
}

.leaflet-popup-btn-primary {
    background: #1e40af;
    color: white !important;
}

.leaflet-popup-btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.leaflet-popup-btn-secondary {
    background: #10b981;
    color: white !important;
    border: none;
}

.leaflet-popup-btn-secondary:hover {
    background: #059669;
    transform: translateY(-1px);
}

.leaflet-popup-btn i {
    font-size: 0.9em;
}

/* Festival Dropdown Filters */
.filters-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .filters-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.filter-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.filter-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1e293b;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
    outline: none;
}

.filter-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-select:hover {
    border-color: #94a3b8;
}

.filter-select-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.filter-select:focus + .filter-select-icon {
    transform: translateY(-50%) rotate(180deg);
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .filter-select {
        padding: 10px 35px 10px 14px;
        font-size: 0.9rem;
    }

    .filter-select-icon {
        right: 12px;
        font-size: 12px;
    }
}

/* Map Toggle Button - même style que location-btn */
.map-toggle-btn {
    position: absolute;
    top: 30px;
    right: 60px;
    width: 44px;
    height: 44px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    z-index: 50;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.map-toggle-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.map-toggle-btn:hover i {
    color: white;
}

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

.map-toggle-btn i {
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Mode satellite actif */
.map-toggle-btn.satellite {
    background: var(--primary);
    border-color: var(--primary);
}

.map-toggle-btn.satellite i {
    color: white;
}

/* ===== SETTINGS MENU ===== */

/* Settings button */
.settings-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
}

.settings-btn:hover {
    background: var(--surface-elevated);
    color: var(--primary);
}

.settings-btn.active {
    background: var(--primary);
    color: white;
}

/* Settings Menu */
.settings-menu {
    position: fixed;
    top: 380px;
    right: 20px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.settings-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.settings-menu-content {
    padding: 8px;
}

.settings-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.settings-item:hover {
    background: var(--surface-elevated);
    transform: translateX(2px);
}

.settings-item i:first-child {
    width: 20px;
    margin-right: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.settings-item span {
    flex: 1;
    text-align: left;
}

.settings-item i:last-child {
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.settings-item:hover i:last-child {
    transform: translateX(2px);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

/* Theme icon animation */
#themeIcon {
    transition: all 0.3s ease;
}

/* Special styling for theme toggle */
#themeToggle {
    margin-bottom: 4px;
    padding-bottom: 16px;
}

/* Animation pour l'ouverture du menu */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.settings-menu.open {
    animation: slideInDown 0.3s ease-out;
}

/* ===================================================================
   BOUTONS FESTIVALS - Section nettoyée
   ================================================================= */

/* Responsive */
@media (max-width: 768px) {
    .settings-menu {
        right: 16px;
        min-width: 260px;
    }
    
    .festival-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SECTION LIEUX PROCHES GÉOLOCALISATION ===== */
.nearby-location-section {
    background: var(--surface);
    margin: 1.5rem 0;
    padding: 16px 0;
}

.nearby-card {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.nearby-section-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nearby-section-title i {
    color: var(--primary);
    font-size: 1.25rem;
}

.nearby-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.nearby-carousel {
    position: relative;
    overflow: hidden;
}

.nearby-carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nearby-carousel-container::-webkit-scrollbar {
    display: none;
}

.nearby-poi-card {
    flex: 0 0 280px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.nearby-poi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.nearby-poi-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.nearby-poi-content {
    padding: 1rem;
}

.nearby-poi-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.nearby-poi-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.nearby-poi-department {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.nearby-poi-distance {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
}

.nearby-poi-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    text-transform: capitalize;
}

.nearby-poi-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-btn.carousel-prev {
    left: -20px;
}

.carousel-btn.carousel-next {
    right: -20px;
}

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

.carousel-btn:disabled:hover {
    background: var(--surface);
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Responsive pour les carousels */
@media (max-width: 768px) {
    .nearby-poi-card {
        flex: 0 0 240px;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .nearby-location-section {
        padding: 12px 0;
    }
    
    .nearby-card {
        padding: 1rem;
    }
}

/* ===== COULEURS CATÉGORIES POI ===== */
.nearby-poi-category.category-monument {
    background: #8b5a3c; /* Brun pour monuments */
}

.nearby-poi-category.category-musee {
    background: #6366f1; /* Indigo pour musées */
}

.nearby-poi-category    background: #059669; /* Vert émeraude pour points de vue */
}

.nearby-poi-category.category-plage {
    background: #0ea5e9; /* Bleu ciel pour plages */
}

.nearby-poi-category.category-village {
    background: #dc2626; /* Rouge pour villages */
}

}

.nearby-poi-category    background: #65a30d; /* Vert olive pour randonnées */
}

.nearby-poi-category.category-chateau {
    background: #7c2d12; /* Brun foncé pour châteaux */
}

.nearby-poi-category.category-festival {
    background: #e11d48; /* Rose pour festivals */
}

.nearby-poi-category.category-loisirs {
    background: #f59e0b; /* Orange pour loisirs */
}

.nearby-poi-category.category-hotel {
    background: #3b82f6; /* Bleu pour hôtels */
}

.nearby-poi-category.category-villa {
    background: #8b5cf6; /* Violet pour villas */
}

.nearby-poi-category.category-logement_insolite {
    background: #06b6d4; /* Cyan pour logements insolites */
}

.nearby-poi-category.category-camping {
    background: #84cc16; /* Vert lime pour campings */
}

}

/* ===== POPUP GÉOLOCALISATION ===== */
.geolocation-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.geolocation-popup-content {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.geolocation-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.geolocation-icon i {
    color: white;
    font-size: 1.5rem;
}

.geolocation-popup-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.geolocation-popup-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.geolocation-steps {
    text-align: left;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step span:last-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.geolocation-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-geolocation-allow {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-geolocation-allow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-geolocation-cancel {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-geolocation-cancel:hover {
    color: var(--text-secondary);
}

/* ===== SYSTÈME DE PARTAGE ===== */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.share-modal-content {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: shareModalSlideIn 0.3s ease;
}

@keyframes shareModalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.share-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.share-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.share-close:hover {
    background: var(--surface-elevated);
    color: var(--text-secondary);
}

.share-preview {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--surface-elevated);
    border-radius: 12px;
}

.share-preview h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.share-preview p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0 0 1rem 0;
}

.share-url {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
}

.share-url code {
    color: var(--primary);
    font-size: 0.75rem;
    word-break: break-all;
    font-family: 'Monaco', 'Courier New', monospace;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: var(--surface-card);
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.email {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.share-btn.email:hover {
    background: var(--text-muted);
    color: white;
}

.share-btn.copy {
    border-color: var(--primary);
    color: var(--primary);
    grid-column: 1 / -1;
}

.share-btn.copy:hover {
    background: var(--primary);
    color: white;
}

.share-btn-poi {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn-poi:hover {
    background: var(--surface-elevated);
    color: var(--primary);
    border-color: var(--primary);
}

.shared-location-marker {
    background: var(--primary);
    color: white;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.875rem;
}

.shared-marker-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 480px) {
    .share-buttons {
        grid-template-columns: 1fr;
    }

    .share-btn.copy {
        grid-column: 1;
    }
}

/* ===== CONTRÔLES BOTTOM SHEET ===== */
.sheet-header {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6px var(--space-4);
    min-height: 24px;
    transition: all 0.3s ease;
}

/* Header plus grand seulement quand les contrôles de géolocalisation sont visibles */
.sheet-header.with-geolocation-controls {
    display: flex;
    padding: var(--space-2) var(--space-4);
    min-height: 40px;
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s ease;
}

.sheet-handle:hover {
    background: var(--text-muted);
}

.sheet-controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    display: none; /* Caché par défaut */
}

.sheet-controls.show-geolocation-controls {
    display: flex;
}

/* ===== BOUTON RÉAFFICHAGE CARROUSEL NEARBY ===== */
.show-nearby-btn {
    position: fixed;
    bottom: 200px; /* Au-dessus de la bottom-sheet */
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    max-width: 200px;
}

.show-nearby-btn:hover {
    background: var(--gradient-ocean);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.show-nearby-btn i {
    font-size: 16px;
    flex-shrink: 0;
}

.show-nearby-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .show-nearby-btn {
        bottom: 250px; /* Plus haut sur mobile pour éviter la bottom-sheet et nav */
        right: 15px;
        padding: 10px 14px;
        font-size: 13px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .show-nearby-btn {
        bottom: 220px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
        max-width: 160px;
    }
}

.sheet-toggle-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
    touch-action: manipulation; /* Améliore les interactions tactiles */
}

.sheet-toggle-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.sheet-toggle-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Rotation de l'icône selon l'état */
.bottom-sheet.minimized .sheet-toggle-btn i {
    transform: rotate(180deg);
}

/* ===== BOUTON INDICATEUR CARROUSEL ===== */
.carousel-indicator-btn {
    position: fixed;
    bottom: 80px;
    right: var(--space-4);
    z-index: var(--z-fixed);
    width: 56px;
    height: 56px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.carousel-indicator-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.carousel-indicator-btn i {
    font-size: 18px;
}

.indicator-count {
    font-size: 10px;
    font-weight: 600;
    background: var(--accent-warm);
    color: white;
    border-radius: var(--radius-full);
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
}

/* ===== ÉTATS DE LA BOTTOM SHEET ===== */
.bottom-sheet {
    transition: transform 0.3s ease;
}

.bottom-sheet.minimized {
    transform: translateY(calc(100% - 60px));
}

.bottom-sheet.minimized .search-interface,
.bottom-sheet.minimized .quick-actions,
.bottom-sheet.minimized .nearby-location-section,
.bottom-sheet.minimized .content-grid,
.bottom-sheet.minimized .filters-panel {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .carousel-indicator-btn {
        bottom: 90px;
        width: 48px;
        height: 48px;
    }
    
    .carousel-indicator-btn i {
        font-size: 16px;
    }
    
    .indicator-count {
        font-size: 9px;
        min-width: 16px;
        height: 16px;
    }
}

/* Styles pour les cartes POI et lazy loading */
.poi-card {
    background: var(--surface-card);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.poi-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--border-light);
}

.poi-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.poi-card-image img.lazy-image {
    opacity: 0;
    filter: blur(5px);
}

.poi-card-image img.loaded {
    opacity: 1;
    filter: none;
}

.poi-card-content {
    padding: 20px;
}

.poi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.poi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.poi-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.poi-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    background: var(--secondary);
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

.poi-category i {
    font-size: 11px;
}

.poi-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0;
}

.poi-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.btn-view-on-map {
    background: var(--primary);
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-view-on-map:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-view-on-map i {
    font-size: 12px;
}

.load-more-btn {
    width: 100%;
    background: var(--surface);
    border: 2px dashed var(--border);
    color: var(--text-secondary);
    padding: 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--secondary);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.load-more-btn i {
    font-size: 16px;
}

/* Responsive pour les cartes POI */
@media (max-width: 768px) {
    .poi-card-image {
        height: 160px;
    }

    .poi-card-content {
        padding: 16px;
    }

    .poi-card {
        margin-bottom: 12px;
    }

    .poi-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .poi-title {
        font-size: 16px;
    }

    .poi-category {
        align-self: flex-start;
    }

    .load-more-btn {
        padding: 16px;
        font-size: 13px;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        overflow-x: hidden !important;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-footer div[style*="max-width"] {
        padding: 0 0.5rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-footer form {
        max-width: 280px !important;
        margin: 0 auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-footer input[type="email"] {
        min-width: 0 !important;
        width: 100% !important;
        flex-shrink: 1 !important;
    }

    .site-footer button {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .site-footer h4 {
        text-align: center !important;
        font-size: 0.8rem !important;
    }

    .site-footer div[style*="flex-direction: column"] {
        align-items: center !important;
    }

    .site-footer div[style*="justify-content: center"] {
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }
}
