/***********************************/
/***********************************/
/***********************************/
/***********************************/
/* Couleur primary = #0a5073 */
:root {
--bs-primary: #107cb1;
--bs-primary-rgb: 10, 80, 115;
}

/* Outline primary en #0a5073 (border + texte), avec hover rempli */
.btn-outline-primary {
--bs-btn-color: #107cb1;
--bs-btn-border-color: #107cb1;

--bs-btn-hover-color: #fff;
--bs-btn-hover-bg: #107cb1;
--bs-btn-hover-border-color: #107cb1;

--bs-btn-active-color: #fff;
--bs-btn-active-bg: #107cb1;
--bs-btn-active-border-color: #107cb1;

--bs-btn-focus-shadow-rgb: 10, 80, 115;
}


.btn-primary {
--bs-btn-color: #fff;
--bs-btn-border-color: #107cb1;
--bs-btn-bg: #107cb1;

--bs-btn-hover-color: #107cb1;
--bs-btn-hover-bg: #fff;
--bs-btn-hover-border-color: #107cb1;

--bs-btn-active-color: #fff;
--bs-btn-active-bg: #107cb1;
--bs-btn-active-border-color: #107cb1;

--bs-btn-focus-shadow-rgb: 10, 80, 115;
}

a {
	color: #107cb1;
}

a:hover {
	/* color: #ffffff; */
	/* background-color: rgba(16, 124, 177, 0.697); */
	/* border-radius: 5px; */
	color: #002335;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}



	/* Barre de navigation */
.navbar {
	background-color: #f8f9fa;
}

/* Logo plus grand */
.navbar-brand img {
	height: 80px;
	width: auto;
}

/* Menu centré */
.navbar-nav {
	justify-content: center;
	width: 100%;
}

/***********************************/
/* --- STRUCTURE MULTI-NIVEAUX --- */
.dropdown-submenu {
	position: relative;
}

.dropdown-menu .dropdown-submenu > .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: 0;
}

/* --- TRANSITIONS MENUS --- */
:root {
	--menu-transition: 180ms;
	--menu-ease: ease;
	--menu-shift: 6px;
}

.dropdown-menu {
	display: block;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(var(--menu-shift));
	transition:
	opacity var(--menu-transition) var(--menu-ease),
	transform var(--menu-transition) var(--menu-ease),
	visibility 0s linear var(--menu-transition);
}

.dropdown:hover > .dropdown-menu,
.dropdown-submenu:hover > .dropdown-menu,
.dropdown-menu.show {
	background-color: #e4e4e4;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition:
	opacity var(--menu-transition) var(--menu-ease),
	transform var(--menu-transition) var(--menu-ease),
	visibility 0s linear 0s;
}

.dropdown-submenu > .dropdown-menu {
	transform: translateX(var(--menu-shift));
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu > .dropdown-menu.show {
	transform: translateX(0);
}

/* --- MOBILE: fond + scroll uniquement dans le menu --- */
@media (max-width: 991.98px) {
  /* on rend le panneau du menu scrollable */
  #navbarNav {
	background: #f8f9fa;
	border-top: 1px solid #e9ecef;
	padding: 0.5rem 1rem;

	/* zone scrollable */
	max-height: calc(100vh - 96px); /* ~ hauteur navbar (ajuster si besoin) */
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
  }

  /* optionnel: dropdowns internes sans ombre/bordure sur mobile */
  #navbarNav .dropdown-menu {
	background: #f8f9fa;
	border: 0;
	box-shadow: none;
  }

  .dropdown-menu {
	  display: none;
  }

  /* Quand le menu est ouvert: on bloque le scroll de la page */
  body.mobile-menu-open {
	overflow: hidden;
	height: 100%;
	touch-action: none;
  }
}

/***********************************/
/***********************************/
/***********************************/
/***********************************/
/* --- Images des cartes: taille cohérente + recadrage --- */
.card {
	transition: transform 0.3s ease;
}
.card:hover {
	transform: scale(1.01);
}

.news-card-img {
	height: 250px;
	object-fit: cover;
}

.card-media {
  width: 100%;
  height: 100%;
  min-height: 220px;        /* hauteur mini sur desktop */
  object-fit: cover;
}

/* --- Cartes: texte à gauche + style date --- */
.news-card .card-text {
	text-align: left; /* aligne tout le contenu texte à gauche */
}
.news-card .card-title {
	text-align: left; /* aligne tout le contenu texte à gauche */
}
.news-card .card-meta-date {
	text-align: left; /* aligne tout le contenu texte à gauche */
	font-size: 0.85rem;
	color: #6c757d; /* Bootstrap secondary */
	margin-bottom: 0.25rem;
}
/* Icône: on la garde alignée à gauche aussi */
.news-card .card-icon {
	text-align: left; /* aligne tout le contenu texte à gauche */
	font-size: 1.4rem;
	display: inline-block;
	margin-bottom: 0.5rem;
}
.news-card .card-btn {
	float: right; /* aligne tout le contenu texte à gauche */
}

.news-card .card-btn-back {
	float: left; /* aligne tout le contenu texte à gauche */
}		
.news-card .card-body {
	display: flex;
	flex-direction: column;
}
.news-card .btn {
	margin-top: auto;      /* pousse le bouton en bas */
	align-self: flex-end;  /* aligne à droite */
}

/***********************************/
/***********************************/
/***********************************/
/***********************************/
/* PROJECTS SECTION */

.projects-section {
	margin-top: 0px; 
	padding: 1rem 0;
	padding-bottom: 0px;
	/* border: 1px;
	border-style: solid;
	border-color: red; */
}

@media (min-width: 992px) {
	.projects-section .featured-text {
		border-left: 0.5rem solid #107cb1;
	}
}

.projects-section .project-text {
	font-size: 120%;
}

@media (min-width: 992px) {
	.projects-section .project-text {
	}

	.projects-section .project-text hr {
		border-color: #107cb1;
		border-width: .25rem;
		width: 30%;
	}
}


/***********************************/
/***********************************/
/***********************************/
/***********************************/
/* PROJECTS SECTION */
.bg-1, .bg-2, .bg-3 {
	border : solid 1px rgba(10, 81, 115, 0.3);
	border-radius : 10px;
	background-color: #ffffff !important;
	color: rgba(0, 0, 0, 1) !important;
}


/***********************************/
/***********************************/
/***********************************/
/***********************************/
	  /* Breadcrumb discret */
  .breadcrumb-type1 {
	margin: 0;
	font-size: 0.875rem;            /* plus petit */
	--bs-breadcrumb-divider: "›";   /* séparateur fin (Bootstrap 5) */
  }
  .breadcrumb-type1 .breadcrumb-item + .breadcrumb-item::before {
	opacity: 0.5;                   /* séparateur discret */
  }
  .breadcrumb-type1 a {
	color: #6c757d;                 /* gris Bootstrap */
	text-decoration: none;
  }
  .breadcrumb-type1 a:hover {
	color: #495057;
	text-decoration: underline;
  }
  .breadcrumb-type1 .active {
	color: #adb5bd;                 /* très léger */
  }



/***********************************/
/***********************************/
/***********************************/
/***********************************/
  /* images in ITEM  */
  
  .image-row {
	text-align: center;
  }
  
  @media (min-width: 720px) {
	.image-row {
	  text-align: left;
	}
  }
  .lighbox-image-link {
	display: inline-block;
	background-color: var(--bg-color);
	line-height: 0;
	border-radius: var(--border-radius-large);
  }
  .lighbox-image-link:hover {
	background-color: var(--primary-color);
  }
  
  .lighbox-image {
	width: 7rem;
	border-radius: 5px;
  }