/* ==========================================================================
   BENIN ESCAPES - Widget Vitrine Réalisations (Asymétrique Grand Projet + Cartes)
   Fidèle aux maquettes Stitch
   ========================================================================== */

.be-projects {
    width: 100%;
    padding: 100px 0;
    background-color: #f8f9fc;
}

.be-projects__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* En-tête de Section */
.be-projects__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 44px;
}

@media (min-width: 768px) {
    .be-projects__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.be-projects__subtitle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.be-projects__subtitle-line {
    width: 32px;
    height: 2px;
    background-color: #1b5e20;
}

.be-projects__subtitle {
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1b5e20;
}

.be-projects__title {
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.25;
    color: #141b2b;
    margin: 0;
}

.be-projects__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background-color: #e9edff;
    color: #1b5e20;
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

@media (min-width: 768px) {
    .be-projects__btn {
        align-self: auto;
    }
}

.be-projects__btn:hover {
    background-color: #1b5e20;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.2);
}

/* Grille Asymétrique (Gauche: 8 colonnes / Droite: 4 colonnes) */
.be-projects__asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .be-projects__asymmetric-grid {
        grid-template-columns: 8fr 4fr;
    }
}

/* ==========================================================================
   Grand Projet Vedette (Gauche)
   ========================================================================== */
.be-projects__featured-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 27, 43, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    cursor: pointer;
}

.be-projects__card-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
}

.be-projects__featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(20, 27, 43, 0.12);
}

.be-projects__fmedia-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #1b5e20 0%, #141b2b 100%);
}

@media (min-width: 1280px) {
    .be-projects__fmedia-wrap {
        height: 440px;
    }
}

.be-projects__fimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.be-projects__featured-card:hover .be-projects__fimg {
    transform: scale(1.05);
}

.be-projects__foverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}

.be-projects__fbadges {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.be-projects__badge {
    display: inline-block;
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    line-height: 1;
    text-transform: none;
}

.be-projects__badge--primary {
    background-color: #1b5e20;
    color: #ffffff;
}

.be-projects__badge--glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.be-projects__badge--dark {
    background-color: #1b5e20;
    color: #ffffff;
}

.be-projects__fbottom-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    color: #ffffff;
}

.be-projects__ftitle {
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.be-projects__fdesc {
    font-family: var(--be-font-body, 'Manrope', sans-serif);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.90);
    max-width: 600px;
    margin: 0;
}

/* Ruban de Métriques Inférieur (3 colonnes) */
.be-projects__fmetrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 28px;
    background-color: #ffffff;
    border-top: 1px solid #edf0f8;
    gap: 16px;
}

.be-projects__metric-col {
    display: flex;
    flex-direction: column;
}

.be-projects__mlbl {
    font-family: var(--be-font-body, 'Manrope', sans-serif);
    font-size: 11px;
    font-weight: 600;
    color: #717a6d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.be-projects__mval {
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 19px;
    font-weight: 800;
    color: #141b2b;
    line-height: 1.2;
}

.be-projects__m3-val {
    color: #1b5e20;
}

/* Bloc Détails Complémentaires & Pied de carte vedette */
.be-projects__fdetails {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 28px 24px 28px;
    background-color: #ffffff;
    border-top: 1px solid #edf0f8;
    gap: 20px;
}

.be-projects__fhighlights-title {
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #717a6d;
    margin-bottom: 14px;
}

.be-projects__fhighlights-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px 24px;
}

@media (min-width: 640px) {
    .be-projects__fhighlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.be-projects__fhighlights-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-family: var(--be-font-body, 'Manrope', sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: #343b33;
}

.be-projects__fhighlights-item .material-symbols-outlined {
    font-size: 18px;
    color: #1b5e20;
    flex-shrink: 0;
    margin-top: 1px;
}

.be-projects__ffooter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #edf0f8;
}

.be-projects__fstatus {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--be-font-body, 'Manrope', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #424940;
}

.be-projects__fstatus .material-symbols-outlined {
    font-size: 18px;
    color: #1b5e20;
}

.be-projects__fcta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 13.5px;
    font-weight: 700;
    color: #1b5e20;
    transition: gap 0.25s ease;
}

.be-projects__fcta .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.be-projects__featured-card:hover .be-projects__fcta .material-symbols-outlined {
    transform: translateX(4px);
}

/* ==========================================================================
   Colonne Droite : 2 Projets Compacts Empilés
   ========================================================================== */
.be-projects__compact-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;
}

.be-projects__compact-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 27, 43, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    flex: 1;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.be-projects__compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(20, 27, 43, 0.10);
}

.be-projects__cmedia-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #1b5e20 0%, #141b2b 100%);
}

.be-projects__cimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.be-projects__compact-card:hover .be-projects__cimg {
    transform: scale(1.06);
}

.be-projects__compact-card .be-projects__badge--dark {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.be-projects__cbody {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.be-projects__ctitle {
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 17px;
    font-weight: 800;
    color: #141b2b;
    margin: 0 0 6px 0;
}

.be-projects__cdesc {
    font-family: var(--be-font-body, 'Manrope', sans-serif);
    font-size: 13px;
    line-height: 1.5;
    color: #424940;
    margin: 0 0 14px 0;
    flex: 1;
}

.be-projects__cfooter {
    padding-top: 12px;
    border-top: 1px solid #edf0f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--be-font-headline, 'Plus Jakarta Sans', sans-serif);
    font-size: 12px;
    font-weight: 700;
    color: #1b5e20;
    margin-top: auto;
}

.be-projects__cfooter .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.be-projects__compact-card:hover .be-projects__cfooter .material-symbols-outlined {
    transform: translateX(4px);
}
