/* Hero slider — Celles Qui Osent */

.cqo-hero-slider,
.cqo-hero-slider .owl-stage-outer,
.cqo-hero-slider .owl-stage {
    height: 600px;
}

.cqo-hero-slider .cqo-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cqo-hero-slider .cqo-box-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 745px;
    max-width: 90%;
    text-decoration: none;
    color: inherit;
}

.cqo-hero-slider .cqo-box-white {
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}

.cqo-hero-slider .cqo-cat {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6c7781;
}

.cqo-hero-slider .cqo-title {
    font-family: 'Noto Serif', Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #3a3a3a;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cqo-hero-slider .cqo-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #6c7781;
}

/* Animation d'entrée : la box-white slide-up + fade-in (transform appliqué ici
 * pour ne pas casser le centrage de la box-link via translate(-50%,-50%)). */
.cqo-hero-slider .cqo-box-white.cl-animate-on-visible.bottom-t-top {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s,
                transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s;
}

.cqo-hero-slider .owl-item.active .cqo-box-white.cl-animate-on-visible.bottom-t-top {
    opacity: 1;
    transform: translateY(0);
}

/* Dots Owl */
.cqo-hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
}

.cqo-hero-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background 0.2s;
}

.cqo-hero-slider .owl-dots .owl-dot.active span,
.cqo-hero-slider .owl-dots .owl-dot:hover span {
    background: #f4524d;
}

/* Nav (flèches) — masquées par défaut, activées en JS pour >= 768px */
.cqo-hero-slider .owl-nav button.owl-prev,
.cqo-hero-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: #3a3a3a;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s;
}

.cqo-hero-slider .owl-nav button.owl-prev { left: 20px; }
.cqo-hero-slider .owl-nav button.owl-next { right: 20px; }

.cqo-hero-slider .owl-nav button:hover {
    background: #f4524d;
    color: #fff;
}

@media (max-width: 767px) {
    .cqo-hero-slider,
    .cqo-hero-slider .owl-stage-outer,
    .cqo-hero-slider .owl-stage,
    .cqo-hero-slider .cqo-slide {
        height: 400px;
    }
    .cqo-hero-slider .cqo-box-white {
        padding: 20px 16px;
    }
    .cqo-hero-slider .cqo-title {
        font-size: 18px;
    }
}
