

		/* Application des couleurs dynamiques */
		.btn-primary { background-color: var(--main) !important; border: none; }
		.btn-primary:hover { background-color: var(--dark) !important; }
		
		.text-primary { color: var(--main) !important; }
		
		.bg-light { background-color: var(--light) !important; }

		/* Navbar avec contraste renforcé */
		.navbar.scrolled { 
			background: var(--dark) !important; 
		}

		/* Icônes de prestations */
		.card-icon { color: var(--main); }
		
		/* Bouton de la section contact */
		#contact .btn-primary {
			box-shadow: 0 4px 15px rgba(0,0,0,0.3);
		}
        .navbar { transition: 0.3s; }
        .navbar.scrolled { background: var(--main) !important; padding: 10px 0; }

        .btn-primary { background: var(--main); border: none; }
        .btn-primary:hover { filter: brightness(90%); background: var(--main); }
        .text-primary { color: var(--main) !important; }
        .card-icon { font-size: 3rem; color: var(--main); margin-bottom: 1rem; }
        .gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; transition: 0.3s; }
        .gallery-img:hover { transform: scale(1.02); }
		/* Style spécifique pour le formulaire sur fond noir */
		#contact .form-control {
			background-color: #ffffff !important; /* Fond blanc pur */
			color: #212529 !important;           /* Texte gris très foncé/noir */
			border: 2px solid #dee2e6;
			border-radius: 8px;
			padding: 12px 15px;
		}

		#contact .form-control::placeholder {
			color: #6c757d; /* Gris clair pour le placeholder */
			opacity: 1;
		}

		#contact .form-control:focus {
			border-color: var(--main); /* Bordure à la couleur de l'artisan au clic */
			box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
			outline: 0;
		}

		/* Style pour la zone de calcul (Captcha) */
		.captcha-box {
			background-color: #f8f9fa;
			border: 2px dashed #dee2e6;
			color: #212529;
		}
		
		/* Amélioration du contraste de la Navbar */
		.navbar {
			transition: all 0.4s ease;
			padding: 20px 0;
			/* Ombre portée sur le texte pour le détacher du fond */
			text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
		}

		.navbar-brand {
			font-size: 1.5rem;
			letter-spacing: 1px;
		}

		.nav-link {
			font-weight: 500;
			color: rgba(255, 255, 255, 0.9) !important;
			margin: 0 10px;
		}

		/* État lors du scroll : fond plein et suppression de l'ombre de texte */
		.navbar.scrolled {
			background: var(--main) !important;
			padding: 10px 0;
			box-shadow: 0 4px 12px rgba(0,0,0,0.1);
			text-shadow: none;
		}

		/* Sur mobile, on ajoute un fond pour que le menu soit lisible */
		@media (max-width: 991px) {
			.navbar-collapse {
				background: rgba(0, 0, 0, 0.8);
				padding: 20px;
				border-radius: 10px;
				margin-top: 10px;
			}
		}
		
		.navbar-brand img {
			max-width: 180px;
			object-fit: contain;
			transition: transform 0.3s ease;
			border-radius: 50%;
		}

		.navbar.scrolled .navbar-brand img {
			height: 40px; /* Le logo rétrécit légèrement au scroll pour gagner de la place */
		}

		/* Galerie Réalisations */
    .portfolio-item {
        cursor: pointer;
    }

    .portfolio-item img {
        transition: transform 0.5s ease;
    }

    .portfolio-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(var(--main-rgb), 0.7); /* Utilise la couleur du thème avec transparence */
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .portfolio-item:hover img {
        transform: scale(1.1);
    }

    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    /* Styles de la Lightbox */
    .lightbox-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 50px;
        left: 0; top: 0; width: 100%; height: 100%;
        background-color: rgba(0,0,0,0.9);
    }

    .lightbox-content {
        margin: auto;
        display: block;
        max-width: 80%;
        max-height: 80vh;
        border-radius: 5px;
        animation: zoom 0.3s;
    }

    @keyframes zoom {
        from {transform: scale(0)} 
        to {transform: scale(1)}
    }

    .close-btn {
        position: absolute;
        top: 20px; right: 35px;
        color: #fff; font-size: 40px; font-weight: bold; cursor: pointer;
    }

        /* On applique un décalage à toutes les sections qui ont un ID */
    section[id] {
        scroll-margin-top: 60px; /* Ajuste cette valeur selon la hauteur de ton menu (ex: 80px ou 100px) */
        scroll-behavior: smooth;  /* Pour un défilement fluide très agréable */
    }

/* Style de base pour les icônes réseaux sociaux dans le menu */
.social-link {
    color: white !important; /* Couleur quand le menu est transparent */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* Couleur au survol spécifique */
.social-link.facebook:hover { color: #1877F2 !important; }
.social-link.instagram:hover { color: #E1306C !important; }



/* Centrage vertical précis des icônes FontAwesome */
.social-link i {
    position: relative;
    top: 2px; /* Ajuste pixel par pixel pour un centrage parfait à l'œil */
}

/* --- Ton Logo Précis --- */
.logo-clic, .logo-artisan {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}
.logo-clic { color: #333d47; }
.logo-artisan { color: #333d47; }
.logo-artisan::first-letter { color: #007bff; }
.logo-dot {
    color: #007bff;
    font-weight: 900;
    font-size: 1.8rem;
}

.custom-caption {
    /* Positionnement en bas de l'image */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    
    /* Fond noir transparent avec effet de flou */
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(8px); /* L'effet "verre dépoli" */
    -webkit-backdrop-filter: blur(8px);
    
    /* Texte */
    color: #ffffff;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    
    /* Animation douce */
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}