﻿
section {
    padding: 80px clamp(1rem, 6vw, 10rem) 2rem;
}

.hero {
    position: relative;
    /* la vidéo en z-index: -1 reste au-dessus du fond du hero, même si un fond est ajouté */
    isolation: isolate;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: clamp(90px, 12vh, 120px) clamp(16px, 8vw, 120px) clamp(60px, 8vh, 90px);
}

.video-bg {
    position: absolute;
    inset: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(0,0,0,.65) 0%, transparent 18%),
        linear-gradient(90deg, transparent 35%, rgba(0,0,0,.55) 100%),
        radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.45) 100%),
        linear-gradient(to top, #000 0%, transparent 22%);
}

.hero-content {
    background: color-mix(in srgb, var(--bg-color) 50%, transparent);
    backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(231,198,130,.25);
    box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255, 255, 255,.08);
    box-sizing: border-box;
    width: clamp(320px, 27vw, 700px);
    max-width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(1rem, 3vh, 2rem);
    gap: clamp(0.4rem, 1.5vh, 1rem);
    border-radius: 28px;
    z-index: 1;
    /* backwards et non both : une fois l'animation finie, l'élément n'est plus "animé",
       sinon Chrome/Brave peut ne plus le redessiner après un défilement (bouton invisible) */
    animation: slide-up .9s ease-out backwards;
}

.hero-img-container {
    width: clamp(80%, 10vh, 50px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
}

.hero-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-divider {
    display: block;
    width: 90px;
    height: 2px;
    margin: 14px auto;
    background: linear-gradient(90deg, transparent, var(--text-gold-color), transparent);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    color: var(--text-gold-color);
    background: transparent;
    border: 1px solid var(--text-gold-color);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .3s, color .3s, box-shadow .3s;
}

.btn-hero .arrow {
    transition: transform .3s;
}

.btn-hero:hover,
.btn-hero:focus-visible {
    background: var(--text-gold-color);
    color: var(--text-dark-color);
    box-shadow: 0 8px 30px rgba(231,198,130,.35);
}

.btn-hero:hover .arrow {
    transform: translateX(5px);
}

.hero-content h1 {
    color: var(--text-white-color);
    font-size: clamp(2rem, 3.9vh, 4.5rem);
    text-wrap: nowrap;
}

.hero-content h1 em {
    font-style: normal;
}

.hero-content h2 {
    font-size: clamp(1rem, 2.1vh, 2.2rem);
}

.hero-content h3 {
    font-size: clamp(1.3rem, 2vh, 2.4rem);
}

.hero-content p {
    font-size: clamp(0.75rem, 1.5vh, 1.8rem);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slide-up {
    from {
        transform: translateY(24px);
    }
}

.hero-content > :not(.hero-img-container) {
    animation: rise .8s ease-out backwards;
}

.hero-content > :nth-child(2) {
    animation-delay: .4s;
}

.hero-content > :nth-child(3) {
    animation-delay: .5s;
}

.hero-content > :nth-child(4) {
    animation-delay: .6s;
}

.hero-content > :nth-child(5) {
    animation-delay: .7s;
}

.hero-content > :nth-child(6) {
    animation-delay: .8s;
}

.hero-content > :nth-child(7) {
    animation-delay: .9s;
}

@media (max-width: 768px) {
    .hero {
        justify-content: center;
        align-items: flex-end;
    }
    .hero-overlay {
        background:
            linear-gradient(to bottom, rgba(0,0,0,.65) 0%, transparent 18%),
            linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 65%);
    }
    .hero-content {
        backdrop-filter: blur(8px);
    }

    .video-bg {
        transform: translate(-35%, -50%);
    }

    .hero h1 {
        text-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-content, .hero-content > * {
        animation: none;
    }

    .video-bg {
        transition: none;
    }
}

/*a Propos*/
.aPropos {
    --radius: clamp(1.25rem, 3vw, 3rem);
    --ease: cubic-bezier(.22, 1, .36, 1);
    background: var(--bg-color);
    padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 4rem);
    overflow: hidden;
}

.aPropos-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: center;
    max-width: 1800px;
    margin-inline: auto;
}

.aPropos-img-container {
    position: relative;
    isolation: isolate;
    max-width: 34rem;
    width: 100%;
    justify-self: center;
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}

.aPropos.is-visible .aPropos-img-container {
    opacity: 1;
    transform: none;
}

.aPropos-img-container:hover::before {
    transform: translate(.6rem, .6rem);
    opacity: 1;
}

.aPropos-img-frame {
    overflow: hidden;                       
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .6);
    clip-path: inset(0 0 100% 0 round var(--radius));
    transition: clip-path 1.2s var(--ease);
}

.aPropos.is-visible .aPropos-img-frame {
    clip-path: inset(0 0 0 0 round var(--radius));
}

.aPropos-img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 5;
    object-fit: cover;
    object-position: center;
    filter: saturate(.95) contrast(1.03);
    transform: scale(1.15);
    transition: transform 1.6s var(--ease);
}

.aPropos-img-container:hover::before {
    transform: translate(-.5rem, -.5rem);
}

.aPropos.is-visible .aPropos-img {
    transform: scale(1);
}

.aPropos-img-container:hover .aPropos-img {
    transform: scale(1.04);
}

@media (max-width: 1024px) {
    .aPropos {
        flex-direction: column;
    }

    .aPropos-img {
        aspect-ratio: 1 / 1;
    }
}

.aPropos-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.aPropos-text h2 {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
}

.aPropos-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 2px;
    background: var(--text-gold-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s var(--ease) .6s;
}

.aPropos.is-visible .aPropos-text h2::after {
    transform: scaleX(1);
}

.aPropos-text h3 {
    margin-bottom: 2.25rem;
}

.aPropos-lead {
    padding-left: 1.25rem;
    border-left: 2px solid var(--text-gold-color);
    margin-bottom: 2rem;
    max-width: 60ch;
}

.aPropos-text p:not(.aPropos-lead):not(.aPropos-signature) {
    margin-bottom: 1.25rem;
    max-width: 62ch;
}

.aPropos-signature {
    margin-top: 1rem;
}

.aPropos .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.aPropos.is-visible .reveal {
    opacity: 1;
    transform: none;
}

/* Les paragraphes arrivent depuis la droite */
.aPropos .aPropos-text p.reveal {
    transform: translateX(80px);
}

.aPropos.is-visible .aPropos-text p.reveal {
    transform: none;
}

.aPropos-text > :nth-child(1) {
    transition-delay: .15s;
}

.aPropos-text > :nth-child(2) {
    transition-delay: .30s;
}

.aPropos-text > :nth-child(3) {
    transition-delay: .45s;
}

.aPropos-text > :nth-child(4) {
    transition-delay: .60s;
}

.aPropos-text > :nth-child(5) {
    transition-delay: .75s;
}

.aPropos-text > :nth-child(6) {
    transition-delay: .90s;
}

.aPropos-text > :nth-child(7) {
    transition-delay: 1.05s;
}

@media (max-width: 1024px) {
    .aPropos-inner {
        grid-template-columns: 1fr;
    }

    .aPropos-img-container {
        max-width: 28rem;
    }

    .aPropos-img {
        aspect-ratio: 1 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aPropos *,
    .aPropos *::before,
    .aPropos *::after {
        transition: none !important;
        transition-delay: 0s !important;
    }

    .aPropos .reveal,
    .aPropos .aPropos-text p.reveal,
    .aPropos .reveal-img,
    .aPropos-img,
    .aPropos-img-frame {
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}

/*Valeurs*/
.valeurs {
    --ease: cubic-bezier(.22, 1, .36, 1);
    background: var(--bg-color2);
    padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 4rem);
}

.valeurs-inner {
    max-width: 1400px;
    margin-inline: auto;
}

.valeurs-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.valeurs-header h3 {
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
}

.valeurs-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, transparent, var(--text-gold-color), transparent);
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding: 0;
    margin: 0;
}

.valeur-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    border: 1px solid rgba(231, 198, 130, .25);
    border-radius: clamp(1rem, 2vw, 1.75rem);
    background: linear-gradient(160deg, rgba(231, 198, 130, .06), transparent 60%);
}

.valeur-card__content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: .9rem;
    width: 100%;
    max-width: 36ch;
}

.valeur-card:hover {
    border-color: var(--text-gold-color);
}

.valeur-num {
    display: block;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-style: italic;
    font-variant-numeric: lining-nums;
    line-height: 1;
    color: var(--text-gold-light-color);
}

.valeur-card h3 {
    color: var(--text-gold-light-color);
}

.valeur-card p {
    grid-column: 1 / -1;
}

.valeurs-citation {
    max-width: 60rem;
    margin: clamp(3.5rem, 7vw, 6rem) auto 0;
    text-align: center;
}

.valeurs-citation::before {
    content: "";
    display: block;
    width: 4rem;
    height: 2px;
    margin: 0 auto 2rem;
    background: var(--text-gold-color);
}

.valeurs-citation blockquote {
    margin: 0;
}

.valeurs-citation blockquote p {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    line-height: 1.3;
    color: var(--text-white-color);
}

.valeurs-engagement {
    max-width: 50rem;
    margin: 1.5rem auto 0;
}

.valeurs .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.valeurs .valeur-card {
    transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .4s ease;
}

.valeurs.is-visible .reveal {
    opacity: 1;
    transform: none;
}

.valeurs .valeur-card:nth-child(1) {
    transition-delay: .15s;
}

.valeurs .valeur-card:nth-child(2) {
    transition-delay: .30s;
}

.valeurs .valeur-card:nth-child(3) {
    transition-delay: .45s;
}

.valeurs .valeurs-citation {
    transition-delay: .6s;
}

@media (max-width: 900px) {
    .valeurs-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .valeurs .reveal {
        opacity: 1;
        transform: none;
        transition: none !important;
    }
}

/*Carousel*/
.tarifs-carousel {
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    padding: 0;
}

.tarifs-slide {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px clamp(1rem, 6vw, 10rem) 2rem;
    z-index: 0;
}

.tarifs-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.tarifs-slide.slideActive {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/*Slide Univers*/
.tarifs-slide.no-overlay {
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vh, 3rem);
    padding-inline: clamp(1rem, 5.5vw, 7rem);
}

.tarifs-slide.no-overlay::before {
    background: transparent;
}

.univers-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.univers-header .univers-title {
    margin: 0;
}

.univers-header .univers-subtitle {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
}

.univers-header .univers-subtitle::before,
.univers-header .univers-subtitle::after {
    content: "";
    width: clamp(1.5rem, 4vw, 3.5rem);
    height: 1px;
    background: var(--text-gold-color);
    opacity: .7;
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.6vw, 2rem);
    width: min(100%, 1500px);
    height: clamp(320px, 60vh, 760px);
    margin-inline: auto;
}

.univers-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0;
    appearance: none;
    font: inherit;
    color: var(--text-cream-color);
    text-align: left;
    text-decoration: none;
    background: var(--bg-color);
    border: 1px solid var(--bg-color2);
    border-radius: 6px;
    cursor: pointer;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.univers-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 45%, transparent 70%);
}

.univers-card .univers-card__badge {
    display: block;
    width: fit-content;
    margin: .6rem 0 0;
}

.univers-card .univers-card__name,
.univers-card .univers-card__desc {
    margin: 0;
}

.univers-card .univers-card__cta {
    color: var(--text-gold-color);
    font-size: clamp(.9rem, .85vw, 1.05rem);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.univers-card__img {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.85);
    transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.univers-card:hover .univers-card__img,
.univers-card:focus-visible .univers-card__img {
    transform: scale(1.08);
    filter: brightness(1);
}

.univers-card__content {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
    padding: clamp(1.25rem, 2vw, 2rem);
}

.univers-card__name {
    position: relative;
    padding-bottom: .9rem;
}

.univers-card__name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    background: var(--text-gold-color);
    transition: width .5s ease;
}

.univers-card__cta i {
    display: inline-block;
    font-style: normal;
    transition: transform .3s ease;
}

.univers-card:hover,
.univers-card:focus-visible {
    transform: translateY(-8px);
    border-color: var(--text-gold-color);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
}

.univers-card:focus-visible {
    outline: 2px solid var(--text-gold-color);
    outline-offset: 4px;
}

.univers-card:hover .univers-card__name::after,
.univers-card:focus-visible .univers-card__name::after {
    width: 100%;
}

.univers-card:hover .univers-card__cta i,
.univers-card:focus-visible .univers-card__cta i {
    transform: translateX(6px);
}

@keyframes univers-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
}

@media (max-width: 900px) {
    /* Toutes les slides superposées dans la même cellule : le carrousel prend la hauteur
       de la plus haute (les 3 cartes) et garde cette taille quand on change de slide */
    .tarifs-carousel {
        display: grid;
        height: auto;
        min-height: 100svh;
    }

    .tarifs-slide {
        grid-area: 1 / 1;
        position: relative;
        min-height: 100svh;
        padding-top: calc(80px + 1.5rem);
    }

    .univers-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: clamp(140px, 22vh, 220px);
        gap: .75rem;
        height: auto;
    }
    .univers-card__content {
        display: flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;
        align-content: center;
        text-align: center;
    }

    .univers-card::after {
        background:
            radial-gradient(ellipse 70% 80% at center, rgba(0,0,0,.45) 0%, transparent 75%),
            linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35));
    }

    .univers-card .univers-card__name,
    .univers-card .univers-card__desc {
        text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
    }

    .univers-card .univers-card__name {
        color: var(--text-gold-color);
        font-size: 1.6rem;
    }

    .univers-card .univers-card__badge {
        margin-inline: auto;
    }

    .univers-card__name::after {
        left: 50%;
        width: 2rem;
        height: 2px;
        transform: translateX(-50%);
    }

    .univers-card .univers-card__desc {
        font-size: .95rem;
        font-style: italic;
    }

    .univers-card__cta {
        display: none;
    }

    .tarifs-slide {
        padding-bottom: 7rem;
    }
}

.carousel-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.carouselArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(13, 14, 16, .55);
    color: var(--text-cream-color);
    border: 1px solid rgba(231, 198, 130, .4);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background .3s ease, color .3s ease,
                border-color .3s ease, transform .3s ease;
}

.carouselArrow svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carouselArrow:hover {
    color: var(--bg-color);
    background: var(--text-gold-color);
    border-color: var(--text-gold-color);
    transform: translateY(-50%) scale(1.1);
}

.carouselArrow:focus-visible {
    outline: 2px solid var(--text-gold-color);
    outline-offset: 3px;
}

.carouselArrowLeft {
    left: clamp(.5rem, 2vw, 2rem);
}

.carouselArrowRight {
    right: clamp(.5rem, 2vw, 2rem);
}

.carouselNav {
    position: absolute;
    left: 0;
    bottom: clamp(1.5rem, 4vh, 2.5rem);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: .6rem;
    padding: 0;
    z-index: 10;
}

.carouselButton {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: width .35s ease, background .35s ease;
}

.carouselButton:hover {
    background: rgba(255, 255, 255, .7);
}

.carouselButton.carouselButtonActive {
    width: 36px;
    background: var(--text-gold-color);
}

/*Slides*/
.tarifs-slide--detail {
    justify-content: flex-end;
    padding-bottom: clamp(5.5rem, 12vh, 8rem);
}

.tarifs-slide--detail::before {
    background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 40%, transparent 65%), linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 30%);
}

.tarifs-element h2,
.tarifs-element h3,
.tarifs-element p {
    text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}

.tarifs-element {
    position: relative;
    z-index: 1; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.tarifs-element h2 {
    position: relative;
    margin: 0;
    padding-bottom: 1.1rem;
}

.tarifs-element h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    background: var(--text-gold-color);
}

.tarifs-element h2 span {
    display: block;
}

.tarifs-element-text {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    max-width: 34rem;
}

.tarifs-element h3,
.tarifs-element p {
    margin: 0;
}

.tarifs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-gold-color);
    background: transparent;
    border: 1px solid var(--text-gold-color);
    border-radius: 0;
    cursor: pointer;
    transition: background .3s ease, color .3s ease;
}

.tarifs-cta:hover {
    color: var(--bg-color);
    background: var(--text-gold-color);
}

.tarifs-cta:focus-visible {
    outline: 2px solid var(--text-gold-color);
    outline-offset: 3px;
}

.tarifs-slide.slideActive .univers-card {
    animation: univers-in .7s cubic-bezier(.2,.7,.2,1) backwards;
}

.tarifs-slide.slideActive .univers-card:nth-child(2) {
    animation-delay: .1s;
}

.tarifs-slide.slideActive .univers-card:nth-child(3) {
    animation-delay: .2s;
}

@keyframes element-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (max-width: 900px){
    .tarifs-slide--detail::before {
        background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .25) 100%);
    }

    .tarifs-element {
        gap: 1.5rem;
    }

    .tarifs-cta {
        width: 100%;
    }
    .carouselArrow {
        width: 35px;
        height: 35px;
        top: auto;
        bottom: 1.8rem;
        transform: none;
    }

    .carouselArrow:hover {
        transform: scale(1.1);
    }

    .carouselArrow:active {
        transform: scale(.96);
    }

    .carouselArrow svg {
        width: 16px;
        height: 16px;
    }

    .carouselArrowLeft {
        left: 1rem;
    }

    .carouselArrowRight {
        right: 1rem;
    }

    .tarifs-slide {
        padding-bottom: 7rem;
    }
}

@media (min-width: 901px) {
    .carouselArrow {
        opacity: .35;
    }

        .tarifs-carousel:hover .carouselArrow,
        .carouselArrow:focus-visible {
            opacity: 1;
        }
}

@media (prefers-reduced-motion: reduce) {
    .tarifs-slide.slideActive .univers-card,
    .tarifs-slide--detail.slideActive .tarifs-element {
        animation: none;
    }

    .tarifs-cta {
        transition: none;
    }
}


