/* =========================================================
   bwa-expertise — À propos Expertise Section
   Source: About.tsx lines 196-223
   BEM scoped, no global resets
   ========================================================= */

/* --- Animations --- */

.bwa-expertise [data-anim] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bwa-expertise.is-inview [data-anim] {
    opacity: 1;
    transform: none;
}

/* --- Root --- */
/* section-padding: py-16 md:py-24 lg:py-32 | bg-secondary/30: hsl(215 40% 94% / 0.3) */

.bwa-expertise {
    background-color: hsl(215 40% 94% / 0.5);
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .bwa-expertise {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .bwa-expertise {
        padding: 8rem 0;
    }
}

/* --- Container --- */

.bwa-expertise__container {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
}

/* --- Header centré --- */
/* text-center mb-12 */

.bwa-expertise__header {
    text-align: center;
    margin-bottom: 3rem;
}

/* inline-block px-4 py-1.5 rounded-full bg-accent/10 text-accent text-sm font-medium mb-4 */

.bwa-expertise__badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: hsl(15 90% 55% / 0.1);
    color: hsl(15 90% 55%);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* section-title: text-3xl md:text-4xl lg:text-5xl font-bold mb-6 | text-foreground */

.bwa-expertise__title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: hsl(215 35% 15%);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .bwa-expertise__title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .bwa-expertise__title {
        font-size: 3rem;
    }
}

/* text-lg text-muted-foreground max-w-2xl mx-auto mt-4 */

.bwa-expertise__description {
    font-size: 1.125rem;
    color: hsl(215 20% 45%);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

.bwa-expertise__description p {
    margin-bottom: 0;
}

/* --- Grille --- */
/* grid md:grid-cols-2 lg:grid-cols-3 gap-6 */

.bwa-expertise__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bwa-expertise__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .bwa-expertise__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* --- Card --- */
/* group p-6 bg-card rounded-xl border border-border hover:border-accent/50 hover:shadow-lg transition-all */

.bwa-expertise__card {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid hsl(215 25% 88%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bwa-expertise__card:hover {
    border-color: hsl(15 90% 55% / 0.5);
    box-shadow: 0 10px 25px -5px hsl(215 25% 15% / 0.1);
}

/* --- Icône --- */
/* w-12 h-12 rounded-lg bg-accent/10 flex items-center justify-center mb-4 */

.bwa-expertise__card-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background-color: hsl(15 90% 55% / 0.1);
}

.bwa-expertise__card-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    filter: invert(45%) sepia(90%) saturate(500%) hue-rotate(340deg) brightness(100%);
}

/* --- Titre card --- */
/* font-semibold text-lg text-foreground mb-2 group-hover:text-accent transition-colors */

.bwa-expertise__card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(215 35% 15%);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.bwa-expertise__card:hover .bwa-expertise__card-title {
    color: hsl(15 90% 55%);
}

/* --- Description card --- */
/* text-muted-foreground text-sm */

.bwa-expertise__card-desc {
    font-size: 0.875rem;
    color: hsl(215 20% 45%);
    line-height: 1.6;
}

/* --- Responsive padding --- */

@media (max-width: 767px) {
    .bwa-expertise__container {
        padding-inline: 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .bwa-expertise__container {
        padding-inline: 2rem;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .bwa-expertise__container {
        padding-inline: 2rem;
    }
}
