.ivy-hero--vertical { overflow: hidden; background: var(--ivy-section-background-color, rgb(250 249 246)); }
.ivy-hero--vertical .ivy-hero__inner {
	display: grid;
	--ivy-gap: 20px;
	column-gap: var( --ivy-gap );
	row-gap: var( --ivy-row-gap, 20px );
	grid-template-columns:
		minmax( 0, calc( ( 100% - var( --ivy-gap ) ) * var( --ivy-columns, 60 ) / 100 ) )
		minmax( 0, 1fr );
	align-items: end;
	max-width: 1360px;
	margin-inline: auto;
	min-height: var(--ivy-hero-min-height, 100vh);
	padding: clamp(120px, 18vh, 220px) clamp(20px, 6vw, 96px) clamp(64px, 9vh, 112px);
}
.ivy-hero--vertical .ivy-hero__content { min-width: 0; }
.ivy-hero--vertical .ivy-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: .55em 1.1em; border-radius: var( --ivy-radius-action, 999px ); background: var(--ivy-eyebrow-background-color, rgb(255 255 255 / 92%)); box-shadow: 0 1px 2px rgb(17 17 17 / 8%); color: var(--ivy-eyebrow-color, rgb(17 17 17)); font-size: var( --ivy-font-label ); font-weight: 600; }
.ivy-hero--vertical .ivy-hero__eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ivy-accent, rgb(196 90 60)); flex: none; }
.ivy-hero--vertical .ivy-hero__title { margin: 0; color: var(--ivy-title-color, rgb(17 17 17)); line-height: .96; letter-spacing: -.03em; }
.ivy-hero--vertical .ivy-hero__text { max-width: 42ch; margin: 26px 0 0; color: var(--ivy-text-color, rgb(82 82 82)); font-size: var( --ivy-font-body ); line-height: 1.65; }
.ivy-hero--vertical .ivy-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
:where( .ivy-hero--vertical ) .ivy-hero__cta { display: inline-flex; align-items: center; justify-content: center; padding: .9em 1.6em; border-radius: var( --ivy-radius-action, 999px ); border: 1px solid var(--ivy-cta-border-color, transparent); background: var(--ivy-cta-background-color, rgb(196 90 60)); color: var(--ivy-cta-color, rgb(255 255 255)); font-weight: 600; line-height: 1; text-decoration: none; transition: transform 180ms cubic-bezier(.23,1,.32,1), background-color 180ms ease; }
:where( .ivy-hero--vertical ) .ivy-hero__cta--secondary { border-color: var(--ivy-cta_secondary-border-color, rgb(17 17 17 / 18%)); background: var(--ivy-cta_secondary-background-color, transparent); color: var(--ivy-cta_secondary-color, rgb(17 17 17)); }
:where( .ivy-hero--vertical ) .ivy-hero__cta:hover, :where( .ivy-hero--vertical ) .ivy-hero__cta:focus-visible { transform: translateY(-2px); }
:where( .ivy-hero--vertical ) .ivy-hero__cta:active { transform: scale(.97); }
:where( .ivy-hero--vertical ) .ivy-hero__cta:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.ivy-hero--vertical .ivy-hero__media-column { min-width: 0; width: 100%; justify-self: end; }
.ivy-hero--vertical .ivy-hero__frame { position: relative; height: 70vh; width: 100%; border-radius: var( --ivy-radius-surface, 32px ); overflow: hidden; }
.ivy-hero--vertical .ivy-hero__media { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--ivy-frame-background-color, rgb(17 17 17 / 6%)); box-shadow: 0 40px 70px -32px rgb(17 17 17 / 30%); }
.ivy-hero--vertical .ivy-hero__poster, .ivy-hero--vertical .ivy-hero__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: var( --ivy-hero-focus, 50% 50% ); border-radius: inherit; }

/* LE POINT FOCAL. Meme convention que hero/croise : center n'a aucune regle. */
.ivy-hero--vertical.ivy-hero--focus-top-left { --ivy-hero-focus: 0% 0%; }
.ivy-hero--vertical.ivy-hero--focus-top { --ivy-hero-focus: 50% 0%; }
.ivy-hero--vertical.ivy-hero--focus-top-right { --ivy-hero-focus: 100% 0%; }
.ivy-hero--vertical.ivy-hero--focus-left { --ivy-hero-focus: 0% 50%; }
.ivy-hero--vertical.ivy-hero--focus-right { --ivy-hero-focus: 100% 50%; }
.ivy-hero--vertical.ivy-hero--focus-bottom-left { --ivy-hero-focus: 0% 100%; }
.ivy-hero--vertical.ivy-hero--focus-bottom { --ivy-hero-focus: 50% 100%; }
.ivy-hero--vertical.ivy-hero--focus-bottom-right { --ivy-hero-focus: 100% 100%; }
.ivy-hero--vertical .ivy-hero__video { z-index: 1; }
.ivy-hero--vertical .ivy-hero__video-credit { margin: 12px 0 0; color: var(--ivy-video_credit-color, var(--ivy-text-color, rgb(82 82 82))); font-size: var(--ivy-font-label); line-height: 1.35; }

/* Le chiffre reste CONTENU dans le cadre, cale bas-droite. */
.ivy-hero--vertical .ivy-hero__stat { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: auto; max-width: calc(100% - 40px); width: fit-content; display: flex; flex-direction: column; gap: 2px; padding: 1.1em 1.3em; border-radius: var( --ivy-radius-surface, 20px ); background: var(--ivy-stat-background-color, var(--ivy-ink, rgb(4 67 100))); box-shadow: 0 20px 40px -18px rgb(17 17 17 / 45%); }
.ivy-hero--vertical .ivy-hero__stat-value { color: var(--ivy-stat_value-color, rgb(255 255 255)); font-size: var( --ivy-font-lead ); font-weight: 700; line-height: 1.1; }
.ivy-hero--vertical .ivy-hero__stat-label { color: var(--ivy-stat_label-color, rgb(255 255 255 / 82%)); font-size: var( --ivy-font-label ); line-height: 1.35; }

.ivy-hero--vertical .ivy-hero__marquee { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ivy-marquee-border-color, rgb(17 17 17 / 12%)); }
.ivy-hero--vertical .ivy-hero__marquee-label { margin: 0 0 12px; color: var(--ivy-marquee_label-color, rgb(82 82 82)); font-size: var( --ivy-font-label ); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ivy-hero--vertical .ivy-hero__marquee-viewport { overflow: hidden; color: inherit; }
.ivy-hero--vertical .ivy-hero__marquee-rail { display: flex; width: max-content; animation: ivy-hero-vertical-marquee 30s linear infinite; will-change: transform; }
.ivy-hero--vertical-marquee-slow .ivy-hero__marquee-rail { animation-duration: 42s; }
.ivy-hero--vertical-marquee-fast .ivy-hero__marquee-rail { animation-duration: 20s; }
.ivy-hero--vertical-marquee-right .ivy-hero__marquee-rail { animation-direction: reverse; }
.ivy-hero--vertical-marquee-pause-yes .ivy-hero__marquee-viewport:hover .ivy-hero__marquee-rail,
.ivy-hero--vertical-marquee-pause-yes .ivy-hero__marquee-viewport:focus-within .ivy-hero__marquee-rail { animation-play-state: paused; }
.ivy-hero--vertical .ivy-hero__marquee-track { display: flex; flex: none; align-items: center; min-width: max-content; margin: 0; padding: 0; list-style: none; }
.ivy-hero--vertical .ivy-hero__marquee-item { display: flex; flex: none; align-items: center; gap: 18px; padding-right: 18px; color: var(--ivy-marquee_item-color, rgb(17 17 17)); font-size: var( --ivy-font-label ); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.ivy-hero--vertical .ivy-hero__marquee-separator { display: block; width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--ivy-accent, rgb(196 90 60)); }
@keyframes ivy-hero-vertical-marquee { to { transform: translate3d(-50%, 0, 0); } }

@media(max-width: 900px){
	.ivy-hero--vertical .ivy-hero__inner{ grid-template-columns: 1fr; align-items: start; min-height: 0; }
	.ivy-hero--vertical .ivy-hero__media-column{ justify-self: stretch; margin-top: clamp(56px, 12vw, 80px); margin-bottom: 24px; }
	.ivy-hero--vertical .ivy-hero__frame{ height: 50vh; }
	.ivy-hero--vertical .ivy-hero__stat{ right: 16px; bottom: 16px; max-width: calc(100% - 32px); }
	.ivy-hero--vertical .ivy-hero__marquee{ margin-top: 0; }
}
@media(prefers-reduced-motion: reduce){
	:where( .ivy-hero--vertical ) .ivy-hero__cta{ transition: none; }
	.ivy-hero--vertical .ivy-hero__marquee-viewport{ overflow-x: auto; scrollbar-width: none; }
	.ivy-hero--vertical .ivy-hero__marquee-viewport::-webkit-scrollbar{ display: none; }
	.ivy-hero--vertical .ivy-hero__marquee-rail{ animation: none; will-change: auto; }
	.ivy-hero--vertical .ivy-hero__marquee-track[aria-hidden="true"]{ display: none; }
}

/* L'image et la video suivent le rayon de leur cadre — media-rayon.spec.ts. */
.ivy-hero--vertical .ivy-hero__media img, .ivy-hero--vertical .ivy-hero__media video { border-radius: inherit; }

/*
 * La partie `zone_item` vise le MEME <li> que `marquee_item` — le gabarit
 * pose les deux classes ensemble. Sans cette regle son controle Color
 * n'etait lu par personne : muet au panneau, sans erreur.
 */
.ivy-hero--vertical .ivy-hero__zone {
	color: var( --ivy-zone_item-color, var( --ivy-marquee_item-color, rgb( 17 17 17 ) ) );
}
