/* ===== HERO CAROUSEL CARD - PAGE D'ACCUEIL ===== */

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    min-height: auto;
}

.hero-content-left {
    text-align: center;
}

.hero-carousel-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.hero-card-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
}

.hero-card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-slide.active {
    opacity: 1;
}

.hero-card-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.hero-card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(254, 253, 5, 0.9);
    color: var(--bleu-institutionnel);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.hero-card-nav:hover {
    background: var(--jaune-or);
    transform: translateY(-50%) scale(1.1);
}

.hero-card-nav.prev {
    left: 15px;
}

.hero-card-nav.next {
    right: 15px;
}

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

.hero-card-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--blanc);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-card-dot.active {
    background: var(--jaune-or);
    transform: scale(1.3);
}

.hero-card-caption {
    margin-top: 15px;
    text-align: center;
}

.hero-card-caption h3 {
    color: var(--bleu-institutionnel);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.hero-card-caption p {
    color: var(--gris-moyen);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

/* Responsive */
@media (min-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1.2fr 450px;
        gap: 3rem;
    }
    
    .hero-content-left {
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content-left {
        text-align: center;
    }
    
    .hero-carousel-card {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-carousel-card {
        max-width: 100%;
        padding: 15px;
    }
    
    .hero-card-carousel {
        height: 280px;
    }
    
    .hero-card-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content-grid {
        gap: 1.5rem;
    }
    
    .hero-carousel-card {
        padding: 12px;
    }
    
    .hero-card-carousel {
        height: 250px;
    }
    
    .hero-card-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .hero-card-nav.prev {
        left: 10px;
    }
    
    .hero-card-nav.next {
        right: 10px;
    }
}
