/*
 * hero/fenetre — un cadre arrondi a 12 px des bords, la photo dedans, le
 * texte en bas. Le degrade de lecture est celui du cadre ; le voile
 * (partie `overlay`) s'y ajoute par instance. Engagement 5.
 */
.ivy-hero--fenetre { padding: calc( 68px + 34px ) 12px 0; isolation: isolate; }
.ivy-hero--fenetre .ivy-hero__frame { position: relative; display: grid; align-items: end; min-height: var( --ivy-hero-min-height, 100vh ); overflow: hidden; isolation: isolate; border-radius: calc( var( --ivy-radius-surface, 20px ) * 1.4 ); background: var( --ivy-deep, rgb( 17 17 17 ) ); }
.ivy-hero--fenetre .ivy-hero__frame::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient( 180deg, color-mix( in srgb, var( --ivy-veil, rgb( 17 17 17 ) ) 15%, transparent ) 0%, color-mix( in srgb, var( --ivy-veil, rgb( 17 17 17 ) ) 35%, transparent ) 45%, color-mix( in srgb, var( --ivy-veil, rgb( 17 17 17 ) ) 88%, transparent ) 100% ); pointer-events: none; }
.ivy-hero--fenetre .ivy-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var( --ivy-hero-focus, 50% 50% ); }
.ivy-hero--fenetre.ivy-hero--focus-top .ivy-hero__image { object-position: 50% 20%; }
.ivy-hero--fenetre.ivy-hero--focus-bottom .ivy-hero__image { object-position: 50% 75%; }
.ivy-hero--fenetre .ivy-hero__overlay { position: absolute; inset: 0; z-index: -1; }
.ivy-hero--fenetre .ivy-hero__content { position: relative; max-width: 980px; padding: clamp( 28px, 5vw, 72px ); color: var( --ivy-on-deep, rgb( 255 255 255 ) ); }
.ivy-hero--fenetre .ivy-hero__eyebrow { margin: 0 0 18px; color: var( --ivy-eyebrow-color, var( --ivy-accent-on-deep, rgb( 202 194 181 ) ) ); font-size: var( --ivy-font-label ); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ivy-hero--fenetre .ivy-hero__title { margin: 0; color: var( --ivy-title-color, var( --ivy-on-deep, rgb( 255 255 255 ) ) ); line-height: 1.1; }
.ivy-hero--fenetre .ivy-hero__text { margin-top: 20px; color: var( --ivy-text-color, var( --ivy-on-deep, rgb( 255 255 255 ) ) ); }
.ivy-hero--fenetre .ivy-hero__text > * { margin: 0; }
.ivy-hero--fenetre .ivy-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.ivy-hero--fenetre .ivy-hero__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var( --ivy-radius-action, 999px ); background: var( --ivy-accent-on-deep, rgb( 202 194 181 ) ); color: var( --ivy-cta-color, var( --ivy-deep, rgb( 17 17 17 ) ) ); font-weight: 600; text-decoration: none; }
.ivy-hero--fenetre .ivy-hero__cta--secondary { border-color: currentColor; background: transparent; color: var( --ivy-cta_secondary-color, var( --ivy-on-deep, rgb( 255 255 255 ) ) ); }
.ivy-hero--fenetre .ivy-hero__jump { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid color-mix( in srgb, var( --ivy-on-deep, rgb( 255 255 255 ) ) 50%, transparent ); border-radius: var( --ivy-radius-action, 999px ); color: var( --ivy-jump-color, var( --ivy-on-deep, rgb( 255 255 255 ) ) ); font-weight: 600; text-decoration: none; backdrop-filter: blur( 6px ); transition: background-color 200ms ease; }
.ivy-hero--fenetre .ivy-hero__jump:hover { background: color-mix( in srgb, var( --ivy-on-deep, rgb( 255 255 255 ) ) 15%, transparent ); }
.ivy-hero--fenetre :is( .ivy-hero__cta, .ivy-hero__jump ):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media ( max-width: 767px ) { .ivy-hero--fenetre { padding-inline: 8px; } .ivy-hero--fenetre .ivy-hero__frame { border-radius: var( --ivy-radius-surface, 20px ); } }
@media ( prefers-reduced-motion: reduce ) { .ivy-hero--fenetre .ivy-hero__jump { transition: none; } }
