@charset "UTF-8";
/* En-tête : bandeau adresse/téléphone, barre logo + menu, hero (accueil et pages à photo), boutons collants à droite. template-parts/structure/default/header.php */

/* ---------- En-tête ---------- */
.sh-masthead {
	position: relative;
	color: var(--sh-white);
}

.sh-masthead--plain {
	height: calc(var(--sh-util-h) + var(--sh-bar-h));
	background: var(--sh-ink);
}

/* Posée sur la photo et défile avec la page (maquette) ; fond noir seulement sans photo. */
.sh-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}
.sh-masthead--plain .sh-bar {
	background: var(--sh-ink);
}

.sh-bar__util {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px var(--sh-gutter);
	border-bottom: 1px solid var(--sh-grey-400);
	font-size: 14px;
	line-height: 18px;
	overflow: hidden;
	max-height: var(--sh-util-h);
}
/* Écart picto / texte porté par le lien : Font Awesome remplace les <i> par des <svg>. */
.sh-bar__util a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sh-white);
	text-decoration: none;
}

.sh-util__address {
	opacity: 0.85;
}
.sh-util__address:hover {
	opacity: 1;
}

.sh-util__right {
	display: flex;
	align-items: center;
	gap: 24px;
}

.sh-util__phone {
	font-weight: 700;
}

.sh-bar__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--sh-bar-h);
	padding: 0 var(--sh-gutter);
}

.sh-logo {
	display: block;
	height: var(--sh-bar-h);
}
.sh-logo img {
	display: block;
	height: 100%;
	width: auto;
	max-width: 258px;
}

.sh-nav .navbar {
	padding: 0;
}
.sh-nav .navbar-nav {
	gap: 44px;
	align-items: center;
}
.sh-nav .nav-link {
	padding: 10px 0 8px;
	color: var(--sh-white);
	font-size: 14px;
	line-height: 19px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-bottom: 2px solid transparent;
}
.sh-nav .nav-link:hover, .sh-nav .nav-link:focus {
	color: var(--sh-white);
	border-bottom-color: rgba(255, 255, 255, 0.5);
}
.sh-nav .nav-link.active {
	border-bottom-color: var(--sh-accent);
}
.sh-nav .current-menu-item > .nav-link {
	border-bottom-color: var(--sh-accent);
}
.sh-nav .navbar-toggler {
	color: var(--sh-white);
	border: 0;
	padding: 0;
}
.sh-nav .back-toggler {
	background: none;
	border: 0;
	color: var(--sh-white);
	font-size: 24px;
	margin: 16px;
}
@media (max-width: 991.98px) {
	.sh-nav .offcanvas {
		background: var(--sh-ink);
	}
	.sh-nav .navbar-nav {
		align-items: flex-start;
		gap: 8px;
		padding: 0 24px;
	}
}

/* ---------- Hero ---------- */
.sh-masthead--hero {
	display: flex;
	flex-direction: column;
	min-height: 795px;
	background: var(--sh-brown);
}

/* Slider de l'accueil : photos superposées, fondu enchaîné (js/header.js). Le texte et la recherche, positionnés après, passent dessus. */
.sh-hero__slides {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.sh-masthead--hero > .sh-hero,
.sh-masthead--hero > .sh-search {
	position: relative;
}
.sh-hero__slide {
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--sh-hero-image) center/cover no-repeat;
	opacity: 0;
	transition: opacity 1s ease-out;
}
.sh-hero__slide.is-active {
	opacity: 1;
}
@media (min-width: 768px) {
	.sh-hero__slide {
		background-size: auto, 140% auto;
		background-position: 0 0, right bottom;
	}
}

.sh-hero {
	flex: 1;
	display: flex;
	align-items: center;
	padding: calc(var(--sh-util-h) + var(--sh-bar-h)) var(--sh-gutter) 0;
}

.sh-hero__text {
	max-width: 723px;
}

.sh-hero__title {
	margin: 0;
	font-size: 55px;
	line-height: 54px;
	font-weight: 900;
	color: var(--sh-white);
}

.sh-hero__lead {
	margin: 0;
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
}

.sh-hero__btn {
	margin-top: 24px;
}

@media (max-width: 767.98px) {
	.sh-masthead--hero {
		min-height: 0;
	}
	.sh-hero {
		padding-bottom: 48px;
	}
	.sh-hero__title {
		font-size: 40px;
		line-height: 42px;
	}
	.sh-hero__lead {
		font-size: 20px;
		line-height: 28px;
	}
	.sh-bar__util {
		font-size: 12px;
	}
	.sh-util__address {
		display: none;
	}
}
/* ---------- Boutons collants (CTA du thème parent) ---------- */
.sticky-cta {
	right: 0 !important;
	top: 351px;
	/* Au survol, le bouton s'étire vers la gauche et affiche son libellé (attribut title du lien). */
}
.sticky-cta > * {
	margin: 5px 0 !important;
}
.sticky-cta > * > i {
	width: 46px;
	height: 44px;
	border-radius: 50px 0 0 50px;
	box-shadow: none;
	background: var(--sh-accent);
	color: var(--sh-white);
	justify-content: flex-end;
	padding-right: 12px;
}
.sticky-cta > *:not(.search-cta):hover > i {
	background: var(--sh-accent-dark);
	color: var(--sh-white);
	transform: none;
}
.sticky-cta > a {
	display: flex;
	align-items: center;
	width: fit-content;
	margin-left: auto !important;
	border-radius: 50px 0 0 50px;
	background: var(--sh-accent);
	overflow: hidden;
	transition: background-color 0.2s;
}
.sticky-cta > a::after {
	content: attr(title);
	max-width: 0;
	opacity: 0;
	white-space: nowrap;
	color: var(--sh-white);
	font-size: 16px;
	line-height: 26px;
	transition: max-width 0.3s ease, opacity 0.2s, padding 0.3s;
}
.sticky-cta > a:hover, .sticky-cta > a:focus-visible {
	background: var(--sh-accent-dark);
}
.sticky-cta > a:hover::after, .sticky-cta > a:focus-visible::after {
	max-width: 260px;
	opacity: 1;
	padding-right: 20px;
}
.sticky-cta > a > i {
	background: none !important;
}
.sticky-cta > a .sh-icon, .sticky-cta > a .sh-icon svg {
	display: inline-flex;
	width: 24px;
	height: 24px;
	color: var(--sh-white);
}
