/**
================
	VARIABLES
================
**/

/* theme color*/
:root {
    /* theme color*/
--colorMainTxt: 	#555;		/* couleur texte principale */
--color1: 		/*#3f3f50;*/#7e7e7e;	/* couleur texte secondaire (avec un fond) */
--color2: 		/*#898AB1;*/#a7a7a7;	/* couleur principale => liens/boutons/pictos/contenus important */

--color4: 		#F2F2F2;	/* couleur du background des liens du footer */
--colorFilet: 	#ddd;	/* couleur de border pour sï¿½parer les ï¿½lï¿½ments */

--colorVert100: #EAEFED;	
--colorVert200: #CDD9D5; 
--colorVert300: #B0C3BD; 
--colorVert400: #93ADA5;
--colorVert500: #76978D;
--colorVert700: #476058; 
--colorVert600: #5E7C73;
--colorVert800: #32423D;
--colorVert900: #1C2522;



--colorRouge500:#a42420; 
--colorBeige200: #f5f0e6; 
--colorBeige500: darken(--colorBeige200,5%); 

--colorFam1: #a7bdb5; 
--colorFam2: #84b7d6;
--colorFam3: #F5DEB3;
--colorFam4: #7e878c; 
--colorFam5: #c76d52; 

--side_menu_1: 	#ffffff;	/* couleur principale du sidemenu => color label / bg sidemenu */
--side_menu_2: 	#000000;	/* couleur secondaire du sidemenu => color lien / bg label */
--bgGrey: 		#f7f7f7;	/* couleur de background gris clair */
--borderGrey: 	#dddddd;	/* couleur de background gris clair */

/* basic color*/
--colorBlanc:	#FFF;
--colorNoir:	#000;

/* couleurs des boutons */
--colorBtnQte:	#b6b6b6;

/* couleurs des alertes */
--colorInfo:	#17a2b8;	/* couleur pour l'alerte-box info */
--colorSuccess:	#7e9f68;	/* couleur pour l'alerte-box succes */
--bgSuccess:	#eaf5e5;
--colorWarning:	#9f8968;	/* couleur pour l'alerte-box warning */
--bgWarning:	#fef5de;	
--colorDanger:	#c47d7d;	/* couleur pour l'alerte-box danger */
--bgDanger:	#fbecec;
--colorMute:	#9b9597;

/* couleurs reseaux sociaux*/
--colorFB:		#3B5998;
--colorTwitter:	#1EA1F3;
--colorPinterest:#BD081C;
--colorGoogle:	#DC4A38;
}     
        .projects-grid {
            display: grid;
            /*grid-template-columns: repeat(auto-fill, minmax(194px, 1fr));*/
            grid-template-columns:repeat(5,1fr);
            gap: 1rem;
            padding: 0 0 1rem;
        }
       
        
        
        .project-card {
            border: 2px solid var(--colorFilet);
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            background: white;
            display: flex;
            flex-direction: column;
            min-height: 200px;
        }
        
        .project-card:hover {
            border-color: var(--color1);
            background: var(--colorBlanc);
            border-color: var(--colorNoir);
        }
        
        .project-card .image-container {
            width: 100%;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FFF;
            margin-bottom: 10px;
            overflow: hidden;
        }
        
        .project-card img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
        }
        
        .project-card h3 {
            /* word-wrap: break-word;
            overflow-wrap: break-word;
            word-break: break-all;  */
            text-wrap: balance; 
            line-height: 1.4;
            margin: 5px 0;
            font-size: 14px;
            color: var(--colorMainTxt);
            flex-grow: 1;
        }
        
        /* Système de modal personnalisé - 100% indépendant */
        .custom-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 99999;
            animation: fadeIn 0.3s ease;
        }
        
        .custom-modal-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .custom-modal {
            position: relative;
            width: 90%;
            max-width: 1400px;
            height: 90vh;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            animation: slideIn 0.3s ease;
        }
        
        .custom-modal-header {
            position: absolute;
            top: 0;
            right: 0;
            padding: 10px;
            z-index: 10;
        }
        
        .custom-modal-close {
            width: 40px;
            height: 40px;
            background:var(--colorVert100); 
            color: var(--colorVert900);
            border: none;
            border-radius: 50%;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .custom-modal-close:hover {
            background:var(--colorVert200); color: var(--colorVert900);
        }
        
        .custom-modal-body {
            width: 100%;
            height: 100%;
        }
        
        .custom-modal-body iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        @media only screen and (max-width:1280px) {
             .projects-grid { grid-template-columns:repeat(4,1fr); }
        }
         @media only screen and (max-width:915px) {
             .projects-grid { grid-template-columns:repeat(3,1fr); }
        }
         @media only screen and (max-width:480px) {
             .projects-grid { grid-template-columns:repeat(2,1fr); }
             
        }
        
        @media only screen and (max-width:960px) {
             .projects-grid h3 {
                font-size: 12px;
             }
        }

        

        @media (max-width: 768px) {
            
            
            .custom-modal {
                width: 95%;
                height: 95vh;
            }
        }

.product-prix {
    margin-bottom: 1rem; 
}