/* Styles des widgets Wellsy. Couleurs pilotées par les Global Colors (cf. PHP). */

/* ----- Hero -------------------------------------------------------------- */
.wy-hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
}
.wy-hero__bg {
	position: absolute;
	inset: -6% 0;
	background-size: cover;
	background-position: center;
	z-index: -2;
	will-change: transform;
}
.wy-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* la couleur vient de la Global Color (PHP), l'opacité du contrôle dédié */
}
.wy-hero__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(1.5rem, 5vw, 4rem);
	text-align: center;
	color: #fff;
}
.wy-hero__title {
	font-size: clamp(2rem, 6vw, 4.25rem);
	line-height: 1.05;
	margin: 0 0 .5em;
}
.wy-hero__subtitle {
	font-size: clamp(1rem, 2.2vw, 1.35rem);
	opacity: .95;
	margin: 0 auto 1.6em;
	max-width: 38ch;
}
.wy-hero__cta {
	display: flex;
	gap: .9rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Boutons */
.wy-btn {
	display: inline-block;
	padding: .85em 1.6em;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.wy-btn--primary {
	background: var(--e-global-color-accent, #e0a82e);
	color: #1a1a1a;
}
.wy-btn--ghost {
	border: 2px solid rgba(255, 255, 255, .8);
	color: #fff;
}
.wy-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

/* ----- Présentation ------------------------------------------------------ */
.wy-presentation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.wy-presentation.wy-media-left .wy-presentation__media  { order: -1; }
.wy-presentation__media img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	display: block;
}
.wy-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
	font-weight: 700;
	margin-bottom: .6rem;
}
.wy-title {
	font-size: clamp(1.6rem, 3.5vw, 2.6rem);
	line-height: 1.15;
	margin: 0 0 .6em;
}
.wy-text {
	line-height: 1.7;
	margin: 0;
}

/* ----- CTA adaptative ---------------------------------------------------- */
.wy-cta {
	text-align: center;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: 18px;
}
.wy-cta__heading {
	font-size: clamp(1.3rem, 3vw, 2rem);
	font-weight: 700;
	margin: 0 0 1.2em;
}
.wy-cta__buttons {
	display: flex;
	gap: .9rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ----- Infos pratiques --------------------------------------------------- */
.wy-infos {
	display: grid;
	gap: 1rem;
	line-height: 1.6;
}
.wy-infos__row {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
}
.wy-infos__label {
	min-width: 7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .82rem;
}
.wy-infos__hours ul {
	list-style: none;
	margin: .4rem 0 0;
	padding: 0;
}
.wy-infos__hours li {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: .25rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

/* ----- Footer ------------------------------------------------------------ */
.wy-footer {
	color: #fff;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem) 2rem;
}
.wy-footer__cols {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}
.wy-footer a {
	color: inherit;
	text-decoration: none;
}
.wy-footer__name {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 .4em;
}
.wy-footer__social {
	display: flex;
	gap: 1.1rem;
	align-items: flex-start;
}
.wy-footer__social a:hover {
	text-decoration: underline;
}
.wy-footer__legal {
	opacity: .8;
	font-size: .85rem;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, .15);
	padding-top: 1.2rem;
}

/* Responsive : empilement + fond fixe désactivé (perf mobile). */
@media (max-width: 767px) {
	.wy-presentation {
		grid-template-columns: 1fr;
	}
	.wy-presentation.wy-media-left .wy-presentation__media { order: 0; }
	.wy-hero__bg {
		inset: 0;
		transform: none !important; /* pas de parallax sur mobile */
	}
	.wy-footer__cols {
		flex-direction: column;
	}
}
