﻿/* Bandeaux hero CMS — shortcode [Hero|IdHero] */
.offs-pro-hero {
	--offs-pro-encre: #34434f;
	--offs-pro-bleu: #3da1ed;
	--offs-pro-vert: #2eab5b;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: stretch;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0 0 16px;
	min-height: 290px;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: 0 14px 34px -20px rgba(30, 45, 60, .55);
	background:
		radial-gradient(55% 110% at 12% 0%, rgba(255, 255, 255, .10) 0%, transparent 60%),
		radial-gradient(60% 120% at 65% 50%, rgba(142, 203, 251, .18) 0%, transparent 62%),
		linear-gradient(135deg, #4a5d6e 0%, #3d4e5d 50%, #34434f 100%);
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	color: #fff;
}
.offs-pro-hero__media {
	position: relative;
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 0;
	overflow: hidden;
}
.offs-pro-hero__media:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 22%;
	pointer-events: none;
	z-index: 2;
	background: linear-gradient(90deg, rgba(52, 67, 79, 0) 0%, #34434f 100%);
}
.offs-pro-hero__portrait {
	position: relative;
	flex: 0 0 auto;
	height: 226px;
	aspect-ratio: 2 / 3;
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #2c3945;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 36px -18px rgba(15, 25, 35, .6);
	animation: offsProPortraitIn .8s cubic-bezier(.2, .7, .2, 1) both;
}
.offs-pro-hero__portrait:nth-child(odd) { --offs-pro-dy: -12px; }
.offs-pro-hero__portrait:nth-child(even) { --offs-pro-dy: 12px; }
.offs-pro-hero__portrait { transform: translateY(var(--offs-pro-dy, 0)); }
.offs-pro-hero__portrait:nth-child(2) { animation-delay: .08s; }
.offs-pro-hero__portrait:nth-child(3) { animation-delay: .16s; }
.offs-pro-hero__portrait:nth-child(4) { animation-delay: .24s; }
.offs-pro-hero__portrait:nth-child(5) { animation-delay: .32s; }
@keyframes offsProPortraitIn {
	from { opacity: 0; transform: translateY(calc(var(--offs-pro-dy, 0px) + 24px)); }
	to { opacity: 1; transform: translateY(var(--offs-pro-dy, 0px)); }
}
.offs-pro-hero__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform .5s ease, opacity 2.2s cubic-bezier(.4, 0, .2, 1);
}
.offs-pro-hero__portrait img.offs-pro-hero__img-out {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	pointer-events: none;
}
.offs-pro-hero__portrait img.offs-pro-hero__img-next {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 1;
}
.offs-pro-hero__portrait img.offs-pro-hero__img-next.is-in {
	opacity: 1;
}
.offs-pro-hero__portrait:hover img:not(.offs-pro-hero__img-out) {
	transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
	.offs-pro-hero__portrait img {
		transition: none;
	}
}
.offs-pro-hero__inner {
	position: relative;
	z-index: 3;
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: 28px clamp(20px, 3vw, 40px);
	animation: offsProHeroIn .9s ease both;
}
@keyframes offsProHeroIn {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}
.offs-pro-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #b9defc;
}
.offs-pro-hero__eyebrow:before {
	content: "";
	width: 26px;
	height: 2px;
	background: currentColor;
}
.offs-pro-hero h1,
.offs-pro-hero h2 {
	margin: 10px 0 0;
	max-width: none;
	padding: 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: #fff;
	background: transparent !important;
	background-color: transparent !important;
}
.offs-pro-hero__lead {
	margin: 12px 0 0;
	max-width: 28em;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .9);
}
.offs-pro-hero__lead p {
	margin: 0 0 .45em;
}
.offs-pro-hero__lead p:last-child {
	margin-bottom: 0;
}
.offs-pro-hero__lead a {
	color: #8ecbfb;
	text-decoration: underline;
}
.offs-pro-hero__lead b,
.offs-pro-hero__lead strong {
	color: #fff;
	font-weight: 700;
}
.offs-pro-hero__lead em,
.offs-pro-hero__lead i {
	font-style: italic;
}
.offs-pro-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}
.offs-pro-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.offs-pro-hero__btn:hover,
.offs-pro-hero__btn:focus {
	transform: translateY(-2px);
	text-decoration: none !important;
}
.offs-pro-hero__btn--vert {
	background: var(--offs-pro-vert);
	color: #fff !important;
}
.offs-pro-hero__btn--vert:hover,
.offs-pro-hero__btn--vert:focus {
	background: #24924c;
	color: #fff !important;
}
.offs-pro-hero__btn--ghost {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .55);
	color: #fff !important;
}
.offs-pro-hero__btn--ghost:hover,
.offs-pro-hero__btn--ghost:focus {
	background: #fff;
	border-color: #fff;
	color: var(--offs-pro-encre) !important;
}

/* SÃ©curitÃ© si l'ancien JPG rÃ©apparaÃ®t via le contenu ADM */
.offs-pro img[src*="finalsiteshootinglinkedin"] {
	display: none !important;
}

@media (max-width: 900px) {
	.offs-pro-hero {
		grid-template-columns: 1fr;
		min-height: 0;
		height: auto;
	}
	.offs-pro-hero__media {
		grid-column: 1;
		grid-row: 1;
		justify-content: center;
		gap: 10px;
		padding: 22px 0 8px;
	}
	.offs-pro-hero__media:after {
		display: none;
	}
	.offs-pro-hero__portrait {
		height: min(38vw, 170px);
		border-radius: 10px;
	}
	.offs-pro-hero__media[data-hero-rotate="1"] .offs-pro-hero__portrait:nth-child(n+4),
	.offs-pro-hero__portrait:nth-child(n+4) {
		display: none;
	}
	.offs-pro-hero__inner {
		grid-column: 1;
		grid-row: 2;
		padding: 22px 18px 26px;
	}
	.offs-pro-hero h1 {
		max-width: none;
		font-size: clamp(26px, 7vw, 34px);
	}
	.offs-pro-hero__lead {
		font-size: 15px;
	}
	.offs-pro-hero__btn {
		flex: 1 1 auto;
	}
}

@media (max-width: 480px) {
	.offs-pro-hero__cta {
		flex-direction: column;
	}
	.offs-pro-hero__btn {
		width: 100%;
	}
}

