body.sb-hero-ready rs-module-wrap[data-alias="accueil"],
body.sb-hero-ready #rev_slider_15_1_wrapper,
body.sb-hero-ready .rs-p-wp-fix {
display: none !important;
}
.sb-hero {
position: relative;
width: 100%;
height: auto;
margin: 75px 0 0;
aspect-ratio: 16 / 9;
background: #111;
overflow: hidden;
color: #fff;
isolation: isolate;
touch-action: pan-y;
}
.sb-hero__stage {
position: absolute;
inset: 0;
}
.sb-hero__slide {
position: absolute;
inset: 0;
opacity: 0;
visibility: hidden;
z-index: 0;
transition: opacity 1.05s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 1.05s;
}
.sb-hero__slide.is-active,
.sb-hero__slide.is-leaving {
visibility: visible;
transition: opacity 1.05s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
}
.sb-hero__slide.is-active {
opacity: 1;
z-index: 2;
}
.sb-hero__slide.is-leaving {
opacity: 0;
z-index: 1;
}
.sb-hero__media {
position: absolute;
inset: 0;
display: block;
color: inherit;
text-decoration: none;
}
.ppb_wrapper .sb-hero img.sb-hero__img,
.sb-hero .sb-hero__img {
position: absolute;
inset: 0;
display: block;
width: 100% !important;
height: 100% !important;
max-width: none !important;
max-height: none !important;
object-fit: cover;
object-position: center center;
transform: none !important;
}
.sb-hero__shade {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 58%;
background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
pointer-events: none;
}
.sb-hero .sb-hero__caption {
position: absolute;
left: max(28px, 4vw);
right: max(28px, 4vw);
bottom: 36px;
margin: 0;
max-width: 18em;
font-size: clamp(34px, 4.6vw, 72px) !important;
line-height: 1.08 !important;
font-weight: 600;
letter-spacing: 0;
text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
opacity: 0;
transform: translate3d(0, 16px, 0);
transition: opacity .8s ease .25s, transform .9s cubic-bezier(.16, 1, .3, 1) .25s;
}
.sb-hero__caption::before {
content: "";
display: block;
width: 72px;
height: 2px;
margin-bottom: 16px;
background: rgba(255, 255, 255, .9);
}
.sb-hero.is-ready .sb-hero__slide.is-active .sb-hero__caption {
opacity: 1;
transform: none;
}
.sb-hero__nav {
position: absolute;
top: 50%;
z-index: 3;
width: 48px;
height: 48px;
margin-top: -24px;
border: 0;
border-radius: 50%;
display: grid;
place-items: center;
color: #fff;
background: rgba(0, 0, 0, .28);
cursor: pointer;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transition: opacity .35s ease, background-color .25s ease;
}
.sb-hero__nav svg {
display: block;
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 1.6;
stroke-linecap: round;
stroke-linejoin: round;
}
.sb-hero__nav--prev { left: 18px; }
.sb-hero__nav--next { right: 18px; }
.sb-hero__nav:hover,
.sb-hero__nav:focus-visible {
background: rgba(0, 0, 0, .5);
}
.sb-hero__nav:focus-visible,
.sb-hero__media:focus-visible {
outline: 2px solid #fff;
outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
.sb-hero__nav {
opacity: 0;
}
.sb-hero:hover .sb-hero__nav,
.sb-hero:focus-within .sb-hero__nav {
opacity: 1;
}
}
@media (max-width: 768px) {
.sb-hero {
margin-top: 58px;
}
.sb-hero__nav {
width: 40px;
height: 40px;
margin-top: -20px;
}
.sb-hero__nav--prev { left: 10px; }
.sb-hero__nav--next { right: 10px; }
.sb-hero .sb-hero__caption {
left: 16px;
right: 16px;
bottom: 18px;
font-size: clamp(26px, 7.2vw, 40px) !important;
}
}
@media (prefers-reduced-motion: reduce) {
.sb-hero,
.sb-hero__img,
.sb-hero__caption,
.sb-hero__nav,
.sb-hero__slide {
animation: none !important;
transition: none !important;
transform: none !important;
}
}
@media print {
.sb-hero__nav,
.sb-hero__shade {
display: none !important;
}
.sb-hero {
margin-top: 0;
aspect-ratio: auto !important;
height: auto;
overflow: visible;
background: none;
}
.sb-hero__stage,
.sb-hero__slide,
.sb-hero__media,
.sb-hero__img {
position: relative !important;
inset: auto !important;
height: auto !important;
opacity: 1 !important;
visibility: visible !important;
}
.sb-hero__slide:not(.is-active) {
display: none !important;
}
}