/* ============================================
   HERO - Carrousel de bannières
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #1a1a2e;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    margin-left: 8%;
    color: #ffffff;
    animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-label {
    display: inline-block;
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-title {
    font-size: 3.4rem; font-weight: 800;
    line-height: 1.1; margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.1rem; line-height: 1.6;
    margin-bottom: 2rem; opacity: 0.9;
    max-width: 450px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--primary, #2563eb);
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 30px;
    font-weight: 600; font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none; cursor: pointer;
}

.hero-btn:hover { background: var(--primary-hover, #1d4ed8); transform: translateY(-2px); }
.hero-btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.hero-btn:hover svg { transform: translateX(4px); }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.hero-arrow:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.08); }
.hero-arrow:active { transform: translateY(-50%) scale(0.95); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow--left { left: 1.5rem; }
.hero-arrow--right { right: 1.5rem; }

.hero-dots {
    position: absolute; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 0.6rem; z-index: 10;
}

.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none; cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.hero-dot.active { background: #ffffff; transform: scale(1.3); }
.hero-dot:hover { background: rgba(255,255,255,0.7); }

@media (max-width: 992px) {
    .hero-section { height: 450px; }
    .hero-content { margin-left: 5%; margin-right: 5%; max-width: 100%; }
    .hero-title { font-size: 2.6rem; }
    .hero-description { font-size: 1rem; max-width: 100%; }
    .hero-arrow { display: none; }
}

@media (max-width: 576px) {
    .hero-section { height: 400px; }
    .hero-slide::after { background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.3) 100%); }
    .hero-content { margin-left: 1.2rem; margin-right: 1.2rem; }
    .hero-label { font-size: 0.7rem; letter-spacing: 2px; padding: 0.3rem 0.8rem; }
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .hero-btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}