         :root {
            --primary-color: #fad303;
            --secondary-color: #e68900;
            --accent-color: #EBAA06CB;
            --dark-color: #2c3e50;
            --light-color: #f9f9f9;
        }

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

        body {
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            background-color: #f5f5f5;
            color: var(--dark-color);
            line-height: 1.6;
        }

        .pasteurs-section {
            padding: 80px 0;
            background-color: white;
        }

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

        .section-header h2 {
            font-family: 'Cinzel', serif;
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .section-header p {
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            font-size: 1.1rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        .pasteurs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .pasteur-card {
            background: #EBAA06CB;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform: translateY(20px);
            opacity: 0;
            position: relative;
        }

        .pasteur-card.visible {
            animation: cardEntrance 0.8s ease-out forwards;
        }

        .pasteur-image {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
            padding-top: 10px;
        }

        .pasteur-image img {
            padding-top: 10px;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }

        .pasteur-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 15px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .pasteur-card:hover .pasteur-overlay {
            opacity: 1;
        }

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

        .pasteur-name {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.8rem;
            color: white;
            margin-bottom: 10px;
            transform: translateY(20px);
            transition: transform 0.4s ease;
            transition-delay: 0.1s;
        }

        .pasteur-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            color: var(--accent-color);
            margin-bottom: 15px;
            transform: translateY(20px);
            transition: transform 0.4s ease;
            transition-delay: 0.2s;
        }
        
      
        .pasteur-bio {
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            font-size: 0.85rem; /* Taille de police légèrement réduite */
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 20px;
            line-height: 1.6;
            transform: translateY(20px);
            transition: transform 0.4s ease;
            transition-delay: 0.3s;
            max-height: none; /* Rendre la hauteur maximale flexible */
            overflow: visible; /* Rendre le dépassement visible */
            text-overflow: clip; /* Empêcher la troncature du texte */
            display: block; /* S'assurer que le bloc est affiché normalement */
            -webkit-line-clamp: unset; /* Annuler la restriction du nombre de lignes */
            -webkit-box-orient: unset; /* Annuler l'orientation de la boîte */
        }
        
        .pasteur-card:hover .pasteur-name,
        .pasteur-card:hover .pasteur-title,
        .pasteur-card:hover .pasteur-bio {
            transform: translateY(0);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 2px;
            transform: translateY(20px);
            transition: transform 0.4s ease;
            transition-delay: 0.4s;
        }

        .pasteur-card:hover .social-links {
            transform: translateY(0);
        }

        .social-links a {
            text-decoration: none;
            color: white;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 1px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: #25D366;
            transform: scale(1.1);
        }

        .social-links a.whatsapp-link:hover {
            background: #25D366;
        }

        .loading-placeholder {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 12px;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }
            100% {
                background-position: -200% 0;
            }
        }

        @keyframes cardEntrance {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 1199.98px) {
            .pasteurs-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 767.98px) {
            .section-header h2 {
                font-size: 2.2rem;
            }
            .pasteur-image {
                height: 350px;
            }
            .pasteur-bio{
                font-size: 224px !important;
                color: rgb(255, 0, 217) !important;
            }
        }

        @media (max-width: 575.98px) {
            .pasteurs-grid {
                grid-template-columns: 1fr;
            }
            .section-header h2 {
                font-size: 2rem;
            }
            .pasteur-overlay {
                padding: 20px;
            }
            .pasteur-name {
                font-size: 1.0rem;
            }
            .pasteur-bio{
                font-size: 12px !important;
                color: rgb(255, 255, 255) !important;
            }
        }
        @media (max-width: 320px) {
            .pasteur-bio{
                font-size: 9px !important;
                color: rgb(255, 255, 255) !important;
            }
        }