.hero-section {
width: 100%;
height: 100vh;
height: 100svh;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
background-size: cover;
background-position: center 50%;
background-repeat: no-repeat;
background-image: var(--hero-bg-desktop);
will-change: background-position-y;
}
body:not(.home) .default-background {
min-height: 500px;
height: auto;
}
.hero-section .hero-video-bg {
position: absolute;
top: -15%;
left: 0;
width: 100%;
height: 130%;
object-fit: cover;
z-index: 0;
pointer-events: none;
will-change: transform;
}
.hero-section .hero-caption {
z-index: 2;
user-select: text;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
pointer-events: auto;
width: 100%;
}
.hero-section .hero-caption .hero-content {
width: 100%;
display: flex;
margin: 0 auto;
flex-direction: column;
gap: var(--space-2xl);
}
.hero-content.align-gauche {
align-items: flex-start;
}
.hero-content.align-centre {
align-items: center;
text-align: center;
}
.hero-content.align-droite {
align-items: flex-end;
text-align: right;
}
.hero-section .hero-caption .hero-content * {
margin: 0;
}
body.home .hero-section .hero-caption .hero-content > * {
width: 60%;
}
.hero-section .hero-caption .hero-content > * {
width: 45%;
}
.hero-section .hero-caption .hero-content h1 {
font-size: var(--font-size-3xl);
line-height: normal;
}
.hero-section .hero-caption .hero-content h1 strong {
color: var(--color-accent);
}
.hero-section .hero-caption .hero-content p {
font-size: var(--font-size-md);
}
.hero-section .hero-caption .hero-content .hero-button {
margin-top: 10px;
}  @media screen and (max-width: 1024px) {
body.home .hero-section .hero-caption .hero-content > * {
width: 100%;
}
.hero-section .hero-caption .hero-content {
padding: 150px 0 50px 0;
gap: var(--space-xl);
}
.hero-section {
align-items: flex-end;
}
body:not(.home) .hero-section {
min-height: 500px;
}
} @media screen and (max-width: 768px) {
.hero-section .hero-caption .hero-content > * {
width: 75%;
}
body.home .hero-section {
height: 100vh;
height: 100svh;
}
body.home .hero-section .hero-content {
text-align: left;
}
} @media screen and (max-width: 480px) {
.hero-section .hero-caption .hero-content h1 {
font-size: var(--font-size-2xl);
}
.hero-section {
background-image: var(--hero-bg-mobile, var(--hero-bg-desktop));
}
.hero-section .hero-caption .hero-content {
gap: var(--space-md);
}
.hero-content.align-droite {
align-items: flex-end;
text-align: left;
}
.hero-button a {
width: 100%;
text-align: center;
}
.hero-section .hero-caption .hero-content > * {
width: 100%;
}
body:not(.home) .hero-section {
height: 100vh;
height: 100svh;
}
body:not(.home) .hero-section.default-background {
min-height: 300px;
height: auto;
}
}