/* Variables spécifiques au home-hero - autres variables dans assets/css/variables.css */

.home-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.home-hero .hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
    .home-hero .hero-background-video {
        transform: scale(1.05);
    }
}

.ptitle-bg-hero {
    padding-bottom: 8rem;
}

.ptitle-bg-hero h1 {
    margin-bottom: 2.5rem;
    max-width: 720px;
}

.hero-push.invbloc {
    position: relative;
    z-index: 10;
    top: auto;
    right: 0;
    bottom: auto;
    height: auto;
    max-width: var(--hero-push-width);
    border-radius: var(--hero-push-radius) 0 0 0;
    background: #fff;
    padding: 1.25rem 0 0 1.25rem;
    margin-top: var(--hero-push-margin);
}

.hero-push .invb-left {
    top: 3.5rem;
}


.hero-push-img .agend-date {
    position: absolute;
    transform: scale(.75);
    top: -1.875rem;
    z-index: 10;
}

.hero-push .btn-icon {
    bottom: .25rem;
    width: 2.5rem;
    height: 2.5rem;
}

.hero-push-card:hover .btn-icon {
    background-color: var(--artge-text);
    border-color: var(--artge-text);
}

.hero-push-card:hover .btn-icon::after {
    animation: animBgPosition .55s;
    filter: invert(1) brightness(1.5);
}

@media (min-width: 992px) {
    .hero-push.invbloc {
        position: absolute;
        top: auto;
        right: 1.9375rem;
        bottom: auto;
        margin-top: var(--hero-push-margin);
    }
    
    .hero-push .invb-left {
        top: auto;
    }
    
    .ptitle-bg-hero {
        min-height: 80vh;
        padding: 5rem 5rem;
    }
    
    .hero-push-card {
        padding: 2.5rem 1.25rem 4rem;
    }
    
    .hero-push-img {
        max-width: 120px;
    }
    
    .hero-push-img .agend-date {
        transform: scale(1);
    }
    
    .hero-push.invbloc {
        margin-top: 0;
        bottom: -1px;
    }
}

@media (min-width: 2200px) {
    .ptitle-bg-hero h1 {
        max-width: 920px;
    }
}