        /* Désactiver le hero sticky sur cette page et ajuster l'espacement */
        .hero-banner {
            position: relative !important;
            top: auto !important;
            z-index: 1 !important;
            margin-bottom: 0 !important;
            /* Pas de marge pour contrôler l'espacement via la sous-nav */
        }

        /* Barre de progression de lecture */
        .reading-progress {
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 2px;
            background: transparent;
            z-index: 100000;
        }

        .reading-progress__bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #3b82f6, #1e40af);
            transition: width 80ms linear;
        }

        /* Sous-navigation sticky */
        .subnav {
            position: sticky;
            top: 64px;
            z-index: 2000;
            background: transparent;
            border: none;
            padding: 0;
            margin: 50px auto 100px auto;
            max-width: 1400px;
        }

        .subnav .container-content {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .subnav a {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            border-radius: 999px;
            text-decoration: none;
            color: #1e293b;
            font-weight: 700;
            border: 1.5px solid #e0e0e0;
            transition: all 160ms ease;
            background: #fff;
        }

        .subnav a:hover,
        .subnav a.active {
            color: #fff;
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
            border-color: transparent;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
        }

        /* Styles spécifiques à la page Notre établissement */


        main {
            width: 100%;
            padding: 0 2rem;
            margin-top: 0;
        }

        main>.timeline-section:first-child {
            margin-top: 0;
        }

        .container-content {
            max-width: 1400px;
            margin: 0 auto;
        }

        /* ===== Styles pour les nouvelles sections ===== */

        /* Section titles communes */
        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            text-align: center;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            padding-top: 2rem;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 3rem;
        }

        /* History Cards Section */
        .timeline-section {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            margin-top: 0 !important;
            padding: 2rem 2rem 4rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .timeline-section::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background-image: url('/img/lycée.webp');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            filter: blur(3px);
            z-index: 0;
        }

        .timeline-section::after {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .timeline-section .section-title,
        .timeline-section .section-subtitle,
        .timeline-section .history-cards {
            position: relative;
            z-index: 2;
        }

        .timeline-section .section-title {
            padding-top: 2rem;
            margin-top: 0;
            color: #ffffff;
            -webkit-text-fill-color: #ffffff;
            text-shadow:
                2px 2px 4px rgba(0, 0, 0, 0.8),
                4px 4px 8px rgba(0, 0, 0, 0.6),
                6px 6px 12px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 0, 0, 0.5);
            font-weight: 900;
            background: none;
            -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
        }

        .timeline-section .section-subtitle {
            color: #ffffff;
            text-shadow:
                1px 1px 3px rgba(0, 0, 0, 0.9),
                2px 2px 6px rgba(0, 0, 0, 0.7),
                3px 3px 9px rgba(0, 0, 0, 0.5);
            font-weight: 700;
        }

        .history-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 100%;
            margin: 0 auto;
            padding: 2rem;
        }

        .history-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
            border: 2px solid rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
            height: 100%;
        }

        .history-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 10px 25px rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.5);
        }

        .card-icon {
            flex-shrink: 0;
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
        }

        .history-card:hover .card-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .card-content {
            flex: 1;
        }

        .card-date {
            font-size: 1.3rem;
            font-weight: 700;
            color: #1e40af;
            margin: 0 0 0.75rem 0;
        }

        .card-text {
            font-size: 1rem;
            line-height: 1.7;
            color: #444;
            margin: 0;
        }

        /* Jean Nicoli Section */
        .jean-nicoli-section {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            padding: 4rem 2rem;
            margin-left: calc(-50vw + 50%);
            width: 100vw;
            position: relative;
            overflow: hidden;
        }

        .jean-nicoli-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .nicoli-container {
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .nicoli-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .nicoli-icon {
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;
            color: white;
            font-size: 3rem;
            backdrop-filter: blur(10px);
            border: 3px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .jean-nicoli-section .section-title {
            color: white;
            -webkit-text-fill-color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .nicoli-dates {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: 2px;
        }

        .nicoli-content {
            background: rgba(255, 255, 255, 0.95);
            padding: 3rem;
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .nicoli-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 2rem;
            box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
        }

        .nicoli-bio-container {
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nicoli-photo {
            width: 405px;
            flex-shrink: 0;
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .nicoli-photo:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .nicoli-photo img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 16px;
        }

        .photo-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 1.5rem 1rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .photo-caption i {
            font-size: 1.2rem;
        }

        .nicoli-bio {
            font-size: 1.05rem;
            line-height: 1.9;
            color: #333;
            margin: 0;
            text-align: justify;
        }

        .nicoli-hommage {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            padding: 2rem;
            border-radius: 16px;
            border-left: 5px solid #3b82f6;
            position: relative;
            clear: both;
            margin-top: 2rem;
        }

        .nicoli-hommage i {
            color: #3b82f6;
            font-size: 1.5rem;
            opacity: 0.3;
        }

        .nicoli-hommage i.fa-quote-left {
            position: absolute;
            top: 1rem;
            left: 1rem;
        }

        .nicoli-hommage i.fa-quote-right {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
        }

        .nicoli-hommage p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #444;
            font-style: italic;
            margin: 1rem 2rem;
        }

        /* Patrimoine Section */
        .patrimoine-section {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            padding: 4rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .patrimoine-section::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background-image: url('/img/uploads/1760426658_789d22a213ca067c63dab37567cf8442.webp');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            filter: blur(3px);
            z-index: 0;
        }

        .patrimoine-section::after {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .patrimoine-section h2,
        .patrimoine-section>p,
        .patrimoine-section .patrimoine-container {
            position: relative;
            z-index: 2;
        }

        .patrimoine-section h2 {
            color: #ffffff;
            -webkit-text-fill-color: #ffffff;
            text-shadow:
                2px 2px 4px rgba(0, 0, 0, 0.8),
                4px 4px 8px rgba(0, 0, 0, 0.6),
                6px 6px 12px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 0, 0, 0.5);
            font-weight: 900;
            background: none;
            -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
        }

        .patrimoine-section>p.section-subtitle {
            color: #ffffff;
            text-shadow:
                1px 1px 3px rgba(0, 0, 0, 0.9),
                2px 2px 6px rgba(0, 0, 0, 0.7),
                3px 3px 9px rgba(0, 0, 0, 0.5);
            font-weight: 700;
        }

        .patrimoine-container {
            display: block;
            margin-top: 3rem;
            max-width: 70%;
            margin-left: auto;
            margin-right: auto;
            padding: 0;
        }

        .patrimoine-image {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 
                0 30px 80px rgba(0, 0, 0, 0.4),
                0 15px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 0 60px rgba(59, 130, 246, 0.2);
            transition: all 0.4s ease;
            transform: translateY(-10px);
            z-index: 10;
            background: #e5e7eb;
            padding: 2px;
        }

        .patrimoine-image:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 
                0 40px 100px rgba(0, 0, 0, 0.5),
                0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset,
                0 0 80px rgba(59, 130, 246, 0.3);
        }

        /* Swiper carousel */
        .patrimoine-swiper {
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 20px;
            overflow: hidden;
        }

        .patrimoine-swiper .swiper-slide {
            position: relative;
        }

        .patrimoine-swiper .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 2rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
            z-index: 10;
        }

        .image-overlay i {
            font-size: 1.5rem;
        }

        /* Navigation Swiper personnalisée */
        .patrimoine-swiper .swiper-button-next,
        .patrimoine-swiper .swiper-button-prev {
            color: white;
            background: rgba(59, 130, 246, 0.9);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .patrimoine-swiper .swiper-button-next:after,
        .patrimoine-swiper .swiper-button-prev:after {
            font-size: 20px;
        }

        .patrimoine-swiper .swiper-button-next:hover,
        .patrimoine-swiper .swiper-button-prev:hover {
            background: rgba(30, 64, 175, 1);
            transform: scale(1.1);
        }

        .patrimoine-swiper .swiper-pagination-bullet {
            background: white;
            opacity: 0.7;
            width: 12px;
            height: 12px;
        }

        .patrimoine-swiper .swiper-pagination-bullet-active {
            opacity: 1;
            background: #3b82f6;
        }

        /* Modale pour afficher les photos en grand */
        .patrimoine-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            /* Animation gérée par modern-theme.css */
        }

        .patrimoine-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(5px);
        }

        .patrimoine-modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            z-index: 10001;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Animation gérée par modern-theme.css (animate-slide-up) */
        }

        /* Animation scaleIn supprimée - utiliser animate-slide-up de modern-theme.css */

        .patrimoine-modal-close {
            position: absolute;
            top: -50px;
            right: 0;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            color: #333;
            transition: all 0.3s ease;
            z-index: 10002;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .patrimoine-modal-close:hover {
            background: #fff;
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        }

        .patrimoine-modal-img {
            max-width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .patrimoine-modal-caption {
            margin-top: 20px;
            padding: 12px 24px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 8px;
            color: #333;
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .patrimoine-text {
            padding: 1rem;
        }

        .patrimoine-highlight {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
            margin-bottom: 2rem;
            border: 2px solid rgba(59, 130, 246, 0.3);
        }

        .patrimoine-highlight i {
            font-size: 2.5rem;
            color: #3b82f6;
            margin-bottom: 1rem;
        }

        .patrimoine-highlight h3 {
            font-size: 1.8rem;
            color: #1e40af;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .patrimoine-highlight p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #444;
            margin: 0;
        }

        .patrimoine-features {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateX(10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.5);
        }

        .feature-item i {
            font-size: 1.8rem;
            color: #3b82f6;
            min-width: 40px;
        }

        .feature-item span {
            font-size: 1rem;
            color: #444;
            font-weight: 600;
        }

        /* Services Section */
        .services-section {
            width: 100vw;
            margin-left: calc(-50vw + 50%);
            padding: 4rem 2rem;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
            max-width: 1600px;
            margin-left: auto;
            margin-right: auto;
        }

        .service-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 2.5rem;
            border-radius: 24px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            border: 2px solid rgba(59, 130, 246, 0.2);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            border-color: rgba(59, 130, 246, 0.4);
        }

        .service-header {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: rotate(5deg) scale(1.1);
        }

        .service-header h3 {
            font-size: 1.6rem;
            color: #1e40af;
            font-weight: 700;
            margin: 0;
        }

        .service-description {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #444;
            margin-bottom: 1.5rem;
        }

        .service-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            padding: 1rem 1.5rem;
            border-radius: 12px;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            color: #555;
            font-weight: 600;
        }

        .service-info i {
            color: #3b82f6;
            font-size: 1.1rem;
        }

        .service-features {
            list-style: none;
            padding: 0;
            margin: 1.5rem 0 0 0;
        }

        .service-features li {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 0.75rem 0;
            color: #444;
            font-size: 0.95rem;
        }

        .service-features li i {
            color: #10b981;
            font-size: 1.1rem;
            margin-top: 0.2rem;
        }

        /* Responsive pour les nouvelles sections */
        @media(max-width:1024px) {

            .nicoli-container {
                max-width: 100%;
            }

            /* History Cards sur tablette/mobile */
            .timeline-section {
                padding: 3rem 1.5rem;
            }

            .history-cards {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 1.5rem 0;
            }

            .history-card {
                padding: 1.5rem;
            }

            .card-icon {
                width: 60px;
                height: 60px;
                font-size: 1.7rem;
            }

            .card-date {
                font-size: 1.1rem;
            }

            .card-text {
                font-size: 0.95rem;
            }

            .jean-nicoli-section {
                padding: 4rem 2rem;
            }

            .patrimoine-section {
                padding: 4rem 2rem;
            }

            .nicoli-bio-container {
                gap: 1.5rem;
            }

            .nicoli-photo {
                width: 338px;
            }

            .patrimoine-container {
                grid-template-columns: 1fr;
                max-width: 100%;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        @media(max-width:768px) {
            main {
                padding: 0 1rem;
            }

            .nicoli-container {
                max-width: 100%;
            }

            .section-title {
                font-size: 2rem;
                padding-left: 1rem;
                padding-right: 1rem;
            }

            .section-subtitle {
                font-size: 1rem;
                padding-left: 1rem;
                padding-right: 1rem;
            }

            /* History Cards petits écrans */
            .timeline-section {
                padding: 3rem 1rem;
            }

            .history-card {
                padding: 1.25rem;
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .card-icon {
                width: 55px;
                height: 55px;
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }

            .card-date {
                font-size: 1rem;
            }

            .card-text {
                font-size: 0.9rem;
            }

            /* Jean Nicoli mobile */
            .jean-nicoli-section {
                padding: 3rem 1rem;
            }

            .nicoli-content {
                padding: 2rem 1.5rem;
            }

            .nicoli-bio-container {
                flex-direction: column;
                align-items: center;
            }

            .nicoli-photo {
                max-width: 338px;
                width: 100%;
            }

            .nicoli-bio {
                font-size: 1rem;
                text-align: left;
            }

            /* Patrimoine mobile */
            .patrimoine-section {
                padding: 3rem 1rem;
            }

            .patrimoine-container {
                padding: 0 1rem;
                max-width: 100%;
            }

            .image-overlay {
                display: none;
            }

            .services-section {
                padding: 3rem 1rem;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .service-card {
                padding: 2rem 1.5rem;
            }

            .service-header h3 {
                font-size: 1.3rem;
            }

            .feature-item:hover {
                transform: translateX(5px);
            }

            /* Modale responsive mobile */
            .patrimoine-modal-content {
                max-width: 95%;
                max-height: 95%;
            }

            .patrimoine-modal-close {
                top: -40px;
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .patrimoine-modal-img {
                max-height: 75vh;
            }

            .patrimoine-modal-caption {
                margin-top: 15px;
                padding: 10px 16px;
                font-size: 0.95rem;
            }
        }