/* Hero Slider Full Width - CSS */

.hs-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hs-slides {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.hs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* Quadrillage sur le background (avant le contenu) */
.hs-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px;
}

.hs-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hs-slide.slide-out {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Container centré */
.hs-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-content {
    width: 100%;
    max-width: 900px;
}

/* Tagline — état par défaut (slides inactifs) */
.hs-tagline {
    color: var(--hs-accent-color, #e63946);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.hs-tagline::before,
.hs-tagline::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--hs-accent-color, #e63946);
    flex-shrink: 0;
}

/* Titre — état par défaut */
.hs-title {
    color: var(--hs-text-color, #ffffff);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    opacity: 1;
}

.hs-title .accent {
    color: var(--hs-accent-color, #e63946);
}

/* Description — état par défaut */
.hs-description {
    color: var(--hs-text-color, #ffffff);
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 35px 0;
    opacity: 1;
}

/* Bouton — état par défaut */
.hs-button {
    display: inline-block;
    background: var(--hs-button-bg, #e63946);
    color: var(--hs-button-text, #ffffff);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 1;
	margin-bottom:50px;
}

.hs-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* ─── Animations : uniquement sur le slide actif ─── */
.hs-slide.active .hs-tagline {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.hs-slide.active .hs-title {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.hs-slide.active .hs-description {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.hs-slide.active .hs-button {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.8s forwards;
}

/* Animation slide up */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flèches */
.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    padding: 0;
    opacity: 0.9;
}

.hs-arrow svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.hs-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
}

.hs-prev {
    left: 30px;
}

.hs-next {
    right: 30px;
}

/* Dots */
.hs-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hs-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hs-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* Séparateur SVG */
.hs-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

.hs-separator svg {
    display: block;
    width: 100%;
    height: 140px;
}

/* Responsive */
@media (max-width: 992px) {
    .hs-title {
        font-size: 42px;
    }
    
    .hs-description {
        font-size: 18px;
    }
    
    .hs-container {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .hs-title {
        font-size: 32px;
    }
    
    .hs-tagline {
        font-size: 12px;
    }
    
    .hs-description {
        font-size: 16px;
    }
    
    .hs-button {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .hs-arrow {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }
    
    .hs-prev {
        left: 15px;
    }
    
    .hs-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hs-title {
        font-size: 26px;
    }
    
    .hs-container {
        padding: 40px 20px;
    }
}