.reviews-partners-section {
    padding: 80px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.section-title i {
    color: #f5c518;
    margin-right: 10px;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

/* Témoignages */
.testimonials-wrapper {
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    opacity: 0.1;
}

.testimonial-quote i {
    font-size: 3rem;
    color: var(--primary-color);
}

.testimonial-content {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.testimonial-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--light-color);
    color: var(--text-dark);
}

.testimonial-badge-mairie { background: #e3f2fd; color: #1565c0; }
.testimonial-badge-ecole { background: #e8f5e9; color: #2e7d32; }
.testimonial-badge-particulier { background: #fff3e0; color: #ef6c00; }
.testimonial-badge-entreprise { background: #fce4ec; color: #c2185b; }
.testimonial-badge-association { background: #f3e5f5; color: #7b1fa2; }

/* Partenaires */
.partners-wrapper {
    padding-top: 20px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partner-item {
    background: var(--white);
    border-radius: 10px;
    padding: 20px 30px;
    min-width: 150px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-item a {
    text-decoration: none;
}

.partner-logo {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .reviews-partners-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .partners-grid {
        gap: 15px;
    }
    
    .partner-item {
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .partner-logo {
        max-height: 40px;
    }
}
/* Slider hero (home) */
.hero-carousel {
    padding: 0;
    display: block; /* override .hero-section flex centering */
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel .hero-slide {
    height: 100%;
}

.hero-carousel .hero-slide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    width: 100%;
}

.hero-carousel .hero-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-carousel .hero-slide--with-img {
    background-image: none;
}

.hero-carousel .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.9) 0%, rgba(230, 126, 34, 0.85) 30%, rgba(192, 57, 43, 0.8) 60%, rgba(142, 68, 173, 0.85) 100%);
    z-index: 1;
}

.hero-carousel .hero-content {
    position: relative;
    z-index: 2;
}

/* Cibles tactiles ≥ 48×48 px + espacement (WCAG 2.5.5 / audits Lighthouse) */
.hero-carousel .carousel-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: 8px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent !important;
    background-image: none !important;
    filter: none;
    opacity: 1;
    text-indent: 0;
    overflow: visible;
    position: relative;
}

.hero-carousel .carousel-indicators [data-bs-target]::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-carousel .carousel-indicators [data-bs-target].active::before {
    background-color: #fff;
    width: 14px;
    height: 14px;
}

.hero-carousel .carousel-indicators [data-bs-target]:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 10%;
        opacity: 0.65;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 1.65rem;
        height: 1.65rem;
    }

    .hero-carousel .carousel-indicators {
        margin-bottom: 0.75rem;
    }

    .hero-carousel .hero-slide {
        min-height: min(88vh, 720px);
    }

    .hero-carousel .hero-content {
        max-width: 100%;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (max-width: 400px) {
    .hero-carousel .hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Remplace les styles inline de la home */
.badge--brand-secondary {
    background: var(--secondary-color);
}

.events-section__title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.5rem;
}

.featured-event-card {
    border-radius: 18px;
}

.featured-event-card__heading {
    font-weight: 800;
}

.hero-cta:disabled,
.hero-cta[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.image-bg-section--audience {
    background-image: url("https://images.unsplash.com/photo-1501386761578-eac5c94b800a?w=1920&q=80");
}

/* Section +200 événements (accueil) : centré */
.stats-section .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stats-section .stat-text p {
    margin-bottom: 0.75rem;
}

.stats-section .stat-link {
    justify-content: center;
}
