/* O5 Marine – site-wide display fixes (loaded on every page).
   The o5-marine theme is not edited; these rules override it. */

/* 1. Menu fixed at the top while scrolling (desktop): solid blue bar.
   The theme used a transparent gradient, so menu and page text overlapped. */
@media (min-width: 1025px) {
	header.header.fixed {
		background: #005195;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	}

	header.header.fixed::after {
		display: none;
	}
}

/* 2. Card-style anchor bars (Activities, Careers) on mobile: two per row
   instead of one row running off the screen. */
@media (max-width: 767px) {
	ul.liste-ancre {
		flex-wrap: wrap;
		gap: 10px;
	}

	ul.liste-ancre li {
		flex: 1 1 calc(50% - 10px);
		width: auto;
		min-width: 0;
	}

	ul.liste-ancre li a {
		max-width: none;
		height: 100%;
	}
}

/* 3. Home page: same text font as the other pages (Plus Jakarta Sans).
   The service-card titles keep their display font. */
body.home .pres-bloc p,
body.home .pres-bloc li,
body.home .pres-bloc h2:not(.white),
body.home h3 {
	font-family: 'Plus Jakarta Sans', sans-serif;
}
