/*
 * hero/gauche — la photo pleine largeur de l'accueil de Nearya (maquette cliente
 * V7) : titre, texte et deux boutons a GAUCHE, centres en hauteur, sous un voile
 * qui s'eclaircit vers la droite. Derive de hero/page, qui pose son texte en
 * bas, et de hero/centre, qui le centre. Engagement 5 : aucun hexadecimal.
 *
 * Le voile n'a AUCUN fond par defaut cote controle : la famille `background` de
 * la partie Overlay l'ecrit. Sans reglage, un repli le fait de la teinte
 * profonde du kit — une photo sans voile rend un titre blanc illisible.
 *
 * Hauteur : `ivy_hero_min_height` (HeroControls::calls()), 100vh sans reglage.
 * Le titre prend toute la colonne de texte : pas de largeur en `ch`.
 */
.ivy-hero--gauche {
	--ivy-page-gutter: clamp( 20px, 5vw, 64px );
	position: relative;
	display: flex;
	align-items: center;
	min-height: var( --ivy-hero-min-height, 100vh );
	overflow: clip;
	background: var( --ivy-deep, rgb( 63 73 53 ) );
	color: var( --ivy-on-deep, rgb( 255 253 249 ) );
	isolation: isolate;
}
.ivy-hero--gauche .ivy-hero__media,
.ivy-hero--gauche .ivy-hero__overlay { position: absolute; inset: 0; }
/* La photo monte jusqu'a 40 px pendant le defilement (data-ivy-parallax="2" : 2 x 20 px) ; sans debord, elle decouvre le fond du heros
   en bande sous elle. Meme marge que hero/bloc et hero/lockup (8 % de 540 px = 43 px > 40 px de course). */
.ivy-hero--gauche .ivy-hero__media { z-index: -2; inset: -8% 0; }
/* Le voile en degrade de la maquette se regle sur l'instance (famille `background` de la partie Overlay). */
.ivy-hero--gauche .ivy-hero__overlay { z-index: -1; background: color-mix( in srgb, var( --ivy-veil, rgb( 20 48 38 ) ) 40%, transparent ); }
.ivy-hero--gauche .ivy-hero__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var( --ivy-hero-focus, 50% 50% ); }

.ivy-hero--gauche .ivy-hero__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: calc( 1180px + 2 * var( --ivy-page-gutter ) );
	margin-inline: auto;
	padding: clamp( 40px, 6vw, 64px ) var( --ivy-page-gutter );
}
.ivy-hero--gauche .ivy-hero__content { display: grid; grid-template-columns: min( 100%, 52rem ); gap: 16px; justify-items: start; }

.ivy-hero--gauche .ivy-hero__eyebrow { display: block; color: var( --ivy-eyebrow-color, rgb( 255 253 249 / 86% ) ); font-size: var( --ivy-font-label ); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ivy-hero--gauche .ivy-hero__title { margin: 0; color: var( --ivy-title-color, var( --ivy-on-deep, rgb( 255 253 249 ) ) ); line-height: 1.06; }
.ivy-hero--gauche .ivy-hero__text { max-width: 36rem; color: var( --ivy-text-color, rgb( 255 253 249 / 92% ) ); font-size: var( --ivy-font-lead ); }
.ivy-hero--gauche .ivy-hero__text p { margin: 0; font-size: inherit; }
.ivy-hero--gauche .ivy-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ivy-hero--gauche .ivy-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var( --ivy-radius-action, 999px );
	background: var( --ivy-cta-background-color, var( --ivy-on-deep, rgb( 255 253 249 ) ) );
	color: var( --ivy-cta-color, var( --ivy-deep, rgb( 63 73 53 ) ) );
	font-size: var( --ivy-font-body );
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 160ms cubic-bezier( .22, 1, .36, 1 ), color 160ms cubic-bezier( .22, 1, .36, 1 );
}
.ivy-hero--gauche .ivy-hero__cta.ivy-hero__cta--secondary { border-color: var( --ivy-cta_secondary-border-color, rgb( 255 253 249 / 60% ) ); background: var( --ivy-cta_secondary-background-color, transparent ); color: var( --ivy-cta_secondary-color, inherit ); }
.ivy-hero--gauche .ivy-hero__cta:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* LE POINT FOCAL. Meme convention que hero/croise : center n'a aucune regle. */
.ivy-hero--gauche.ivy-hero--focus-top-left { --ivy-hero-focus: 0% 0%; }
.ivy-hero--gauche.ivy-hero--focus-top { --ivy-hero-focus: 50% 0%; }
.ivy-hero--gauche.ivy-hero--focus-top-right { --ivy-hero-focus: 100% 0%; }
.ivy-hero--gauche.ivy-hero--focus-left { --ivy-hero-focus: 0% 50%; }
.ivy-hero--gauche.ivy-hero--focus-right { --ivy-hero-focus: 100% 50%; }
.ivy-hero--gauche.ivy-hero--focus-bottom-left { --ivy-hero-focus: 0% 100%; }
.ivy-hero--gauche.ivy-hero--focus-bottom { --ivy-hero-focus: 50% 100%; }
.ivy-hero--gauche.ivy-hero--focus-bottom-right { --ivy-hero-focus: 100% 100%; }

@media ( max-width: 720px ) {
	.ivy-hero--gauche .ivy-hero__actions { flex-direction: column; align-items: stretch; }
}
@media ( prefers-reduced-motion: reduce ) {
	.ivy-hero--gauche .ivy-hero__cta { transition: none; }
}
