/* =========================================================
   bwa-usp — À propos USP Section
   Source: About.tsx lines 153-193
   BEM scoped, no global resets
   ========================================================= */

/* --- Animations --- */

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

.bwa-usp [data-anim="left"]  { transform: translate3d(-32px, 0, 0); }
.bwa-usp [data-anim="right"] { transform: translate3d(32px,  0, 0); }

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

/* --- Root --- */
/* section-padding: py-16 md:py-24 lg:py-32 | bg-background: hsl(210 20% 98%) */

.bwa-usp {
    background-color: hsl(210 20% 98%);
    padding: 4rem 0;
}

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

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

/* --- Container --- */

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

/* --- Grid : 2 colonnes sur lg --- */
/* grid lg:grid-cols-2 gap-12 items-center */

.bwa-usp__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

/* --- Colonne gauche --- */

.bwa-usp__title {
    /* section-title: text-3xl md:text-4xl lg:text-5xl font-bold mb-6 */
    /* text-foreground: hsl(215 35% 15%) */
    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-usp__title {
        font-size: 2.25rem;
    }
}

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

.bwa-usp__description {
    /* space-y-4 text-muted-foreground leading-relaxed */
    color: hsl(215 20% 45%);
    line-height: 1.7;
}

.bwa-usp__description p {
    margin-bottom: 1rem;
}

.bwa-usp__description p:last-child {
    margin-bottom: 0;
}

.bwa-usp__description strong {
    color: hsl(215 35% 15%);
    font-weight: 600;
}

/* --- Colonne droite : grille 2x2 --- */
/* grid grid-cols-2 gap-4 */

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

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

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

.bwa-usp__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 mx-auto mb-3 rounded-full | background: gradient-accent */

.bwa-usp__card-icon-wrap {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
}

.bwa-usp__card-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    filter: brightness(0) invert(1);
}

/* --- Textes card --- */
/* font-semibold text-foreground */

.bwa-usp__card-title {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(215 35% 15%);
    margin-bottom: 0.25rem;
}

/* text-sm text-muted-foreground */

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

/* --- Responsive mobile --- */

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

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

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