
        :root {
            --primary-color: #4a9c82;
            --secondary-color: #f8b24f;
            --light-color: #f9f9f9;
            --dark-color: #333;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark-color);
        }
        
        /* Styles existants... */
        .navbar-brand {
            font-weight: 700;
            color: var(--primary-color) !important;
        }
        
        .nav-link {
            font-weight: 500;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-primary:hover {
            background-color: #3a7c68;
            border-color: #3a7c68;
        }
        
        .btn-secondary {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            color: #333;
        }
        
        .btn-secondary:hover {
            background-color: #e09a3d;
            border-color: #e09a3d;
        }
        
        .hero-section {
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="%234a9c82" opacity="0.1"/></svg>');
            padding: 80px 0;
        }
        
        /* NOUVEAUX STYLES POUR LE MOTEUR DE RECHERCHE */
        .search-container {
            background-color: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            margin-top: 20px;
            border-top: 4px solid var(--primary-color);
        }

        .search-container .form-label {
            font-weight: bold;
            color: var(--dark-color);
        }

        /* Styles pour le sélecteur de mode (toggle) */
        .search-mode-toggle {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            border-radius: 8px;
            overflow: hidden;
            background-color: #eee;
        }

        .search-mode-toggle .btn {
            flex-grow: 1;
            border: none;
            padding: 10px 0;
            font-weight: bold;
            transition: all 0.3s;
            color: var(--dark-color);
            background-color: #eee;
        }

        .search-mode-toggle .btn.active {
            background-color: var(--primary-color);
            color: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        /* Masquer le formulaire non sélectionné */
        .search-form-content {
            display: none;
        }
        /* FIN NOUVEAUX STYLES */

        /* Force une hauteur minimale sur mobile pour que le slider soit visible */
@media (max-width: 767px) {
    .carousel-item {
        min-height: 300px; /* Ajustez selon vos besoins */
        background-color: #C6DAEEFF; /* Fond gris clair si l'image ne charge pas */
    }
    
    .carousel-item img {
        height: 300px;
        object-fit: cover; /* Évite de déformer l'image */
    }

    .carousel-caption {
        bottom: 10px; /* Remonte un peu le texte sur mobile */
    }

    .carousel-caption h5 {
        font-size: 1.1rem; /* Réduit un peu la taille du titre */
    }
}
        .login-container {
            background-color: var(--light-color);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .language-selector .dropdown-menu {
            min-width: 150px;
        }
        
        /* Styles des drapeaux (maintenus) */
        .flag-icon {
            width: 20px;
            height: 15px;
            margin-right: 8px;
            display: inline-block;
            background-size: cover;
            background-position: center;
        }
        
        .flag-fr {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><path fill="%23ED2939" d="M0 0h9v6H0z"/><path fill="%23fff" d="M0 0h3v6H0z"/><path fill="%23002395" d="M6 0h3v6H6z"/></svg>');
        }
        
        .flag-en {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><clipPath id="t"><path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/></clipPath><path d="M0,0 v30 h60 v-30 z" fill="%23012169"/><path d="M0,0 L60,30 M60,0 L0,30" stroke="%23fff" stroke-width="6"/><path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(%23t)" stroke="%23C8102E" stroke-width="4"/><path d="M30,0 v30 M0,15 h60" stroke="%23fff" stroke-width="10"/><path d="M30,0 v30 M0,15 h60" stroke="%23C8102E" stroke-width="6"/></svg>');
        }
        
        .flag-es {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6"><path fill="%23AA151B" d="M0 0h9v6H0z"/><path fill="%23F1BF00" d="M0 1h9v4H0z"/><path fill="%23AA151B" d="M0 2h9v2H0z"/></svg>');
        }
        
        .flag-de {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 3"><path fill="%23000001" d="M0 0h5v3H0z"/><path fill="%23dd0000" d="M0 1h5v2H0z"/><path fill="%23ffce00" d="M0 2h5v1H0z"/></svg>');
        }
        
        footer {
            background-color: #2a2a2a;
            color: white;
        }
        
        .service-card {
            transition: transform 0.3s;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        @media (max-width: 991px) { /* Sur petits écrans, on cache le carrousel pour prioriser la recherche */
            .carousel-section {
                display: none;
            }
            .hero-section .row {
                justify-content: center;
                text-align: center;
            }
        }
        @media (max-width: 768px) {
            .carousel-item {
                height: 300px;
            }
            
            .login-container {
                padding: 25px;
            }
        }
        .custom-caption {
    background: rgba(0, 0, 0, 0.6); /* Noir à 60% d'opacité */
    padding: 20px;
    border-radius: 15px;
    bottom: 30px; /* Ajuste la position verticale */
}
        
        /* STYLES POUR LES MODALS */
        .auth-modal .modal-content {
            border-radius: 15px;
            border: none;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .auth-modal .modal-header {
            border-bottom: none;
            padding: 2rem 2rem 0.5rem;
            position: relative;
        }
        
        .auth-modal .modal-body {
            padding: 1rem 2rem 2rem;
        }
        
        .auth-modal .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #999;
            transition: color 0.3s;
        }
        
        .auth-modal .close-btn:hover {
            color: var(--dark-color);
        }
        
        .auth-modal .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .auth-modal .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(74, 156, 130, 0.25);
        }
        
        .auth-modal .social-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px;
            border: 2px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            transition: all 0.3s;
        }
        
        .auth-modal .social-login-btn:hover {
            border-color: var(--primary-color);
            background: rgba(74, 156, 130, 0.05);
        }
        
        .auth-modal .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 1.5rem 0;
        }
        
        .auth-modal .divider::before,
        .auth-modal .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .auth-modal .divider span {
            padding: 0 15px;
            color: #666;
            font-size: 0.9rem;
        }
        
        .auth-modal .modal-title {
            font-weight: 700;
            color: var(--dark-color);
        }
        
        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
        }
        
        .password-input-group {
            position: relative;
        }
        
        .terms-link {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .terms-link:hover {
            text-decoration: underline;
        }
        
        .user-type-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .user-type-btn {
            flex: 1;
            padding: 15px;
            border: 2px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .user-type-btn.active {
            border-color: var(--primary-color);
            background: rgba(74, 156, 130, 0.1);
        }
        
        .user-type-btn i {
            font-size: 1.5rem;
            margin-bottom: 8px;
            display: block;
        }
        
        .user-type-btn span {
            font-weight: 600;
            display: block;
        }
    