/* --- Bloc Chantiers en Démarrage --- */
.project-card{ position: relative; }
.project-card .stretched-link{
  position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
}
.sab-starting-projects {
    background-color: #fff;
    margin: 106px auto 0px;
	width: 1187px;
}

/* Titre principal de la section */
.sab-starting-projects .section-title {
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	font-size: 50px;
	line-height: 123%;
	text-align: center;
	color: #000000;
	margin-bottom: 50px;
}

/* Carte Projet */
.sab-starting-projects .project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* Conteneur de l'image */
.sab-starting-projects .image-wrapper {
    margin-bottom: 1.5rem;
    width: 100%;
    /* Optionnel: Si vous voulez forcer une hauteur fixe pour l'alignement */
    /* height: 250px; */ 
    overflow: hidden;
}

/* Style de l'image (Arrondis) */
.sab-starting-projects .image-wrapper .rounded-custom {
    border-radius: 25px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Effet au survol de l'image (Zoom léger) */
.sab-starting-projects .project-card:hover .rounded-custom {
    transform: scale(1.02);
}

/* Titre du projet (Localisation) */
.sab-starting-projects .project-location {
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	font-size: 28px;
	line-height: 120%;
	text-align: center;
	color: #000000;
    margin-bottom: 1rem;
    text-align: center;
}

/* Description / Détails */
.sab-starting-projects .project-details {
    font-family: 'Raleway';
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 130%;
	text-align: center;
	color: #000000;
    text-align: center;
}

/* Nettoyage des marges par défaut des paragraphes dans la description */
.sab-starting-projects .project-details p {
    margin-bottom: 0.5rem;
    margin-top: 0;
}
.sab-starting-projects .project-details p:last-child {
    margin-bottom: 0;
}

.project-card:hover{
	border-radius: 30px;
	background: #F5F5F5;
	padding: 14px 15px 14px 15px;
}

.project-card:hover a:not(.stretched-link){
	display: flex !important;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px 25px;
	gap: 30px;
	width: 230px;
	min-width: 185px;
	height: 60px;
	background: #0084FF;
	box-shadow: 0px 4px 4px #F5F5F5;
	border-radius: 15px;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 100%;
	text-align: center;
	color: #FFFFFF;
	margin-top: 50px;
	text-decoration: none;
}

@media (max-width: 1499px) and (min-width: 1025px) {
    
    .sab-starting-projects {
        max-width: 1000px; /* Reduced from 1187px */
        margin-top: 80px;  /* Reduced from 106px */
    }

    .sab-starting-projects .section-title {
        font-size: 40px; /* Reduced from 50px */
        margin-bottom: 40px;
    }

    .sab-starting-projects .image-wrapper .rounded-custom {
        height: 240px; /* Reduced from 300px to keep it compact */
    }

    .sab-starting-projects .project-location {
        font-size: 22px; /* Reduced from 28px */
    }

    .sab-starting-projects .project-details {
        font-size: 16px; /* Reduced from 18px */
    }

    .sab-starting-projects .project-card:hover a {
        width: 190px;   /* Slightly smaller button */
        height: 50px;
        font-size: 16px;
    }
}
/* Responsive : Mobile */
@media (max-width: 768px) {
	.sab-starting-projects {
		width: 100%;
	}
    .sab-starting-projects .section-title {
		font-family: 'Raleway';
		font-style: normal;
		font-weight: 700;
		font-size: 26px;
		line-height: 110%;
		text-align: center;
		color: #000000;
		margin-bottom: 30px;
    }
   
    .sab-starting-projects .project-card {
        margin-bottom: 27px;
    }
	
	.sab-starting-projects .col-12{
		padding: 0px;
	}
	
	.sab-starting-projects  .row.mb-5 {
        margin-bottom: 0px !important;
    }
}