/* =============================================
   HOME.CSS — V3 Stitch — Page d'accueil
   ============================================= */

/* -----------------------------------------
   HERO — Image de fond + overlay bleu
   ----------------------------------------- */

.lbe-hero-v3 {
    background: var(--lbe-bleu) center / cover no-repeat;
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.lbe-hero-v3__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 90, 130, 0.6);
    z-index: 0;
}

.lbe-hero-v3 .lbe-container {
    position: relative;
    z-index: 1;
}

/* Décoration courbe en bas du hero */
.lbe-hero-v3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--lbe-gris-clair);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

.lbe-hero-v3__titre {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lbe-hero-v3__soustitre {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.lbe-hero-v3 .btn-lbe {
    margin-top: 2rem;
}

/* -----------------------------------------
   BLOCS V3 — Cards avec cercle icône débordant
   ----------------------------------------- */

.lbe-blocs-v3 {
    background: var(--lbe-gris-clair);
    padding-top: 2rem;
}

.lbe-bloc-v3 {
    background: #fff;
    border-radius: var(--lbe-radius-lg, 1rem);
    padding: 3rem 1.75rem 2rem;
    box-shadow: 0 4px 16px rgba(6, 90, 130, 0.08);
    height: 100%;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lbe-bloc-v3:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(6, 90, 130, 0.14);
}

/* Cercle icône qui déborde en haut */
.lbe-bloc-v3__circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.lbe-bloc-v3__circle--bleu {
    background: var(--lbe-bleu);
}

.lbe-bloc-v3__circle--turquoise {
    background: var(--lbe-turquoise);
}

.lbe-bloc-v3__circle--dore {
    background: var(--lbe-dore);
}

.lbe-bloc-v3__titre {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lbe-bleu);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.lbe-bloc-v3__texte {
    font-size: 0.9rem;
    color: var(--lbe-gris);
    line-height: 1.6;
}

/* -----------------------------------------
   CARDS ACTUALITÉS V3
   ----------------------------------------- */

.lbe-card-v3 {
    background: #fff;
    border-radius: var(--lbe-radius-lg, 1rem);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lbe-card-v3:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 90, 130, 0.12);
}

.lbe-card-v3__image {
    display: block;
    overflow: hidden;
}

.lbe-card-v3 .lbe-card-v3__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lbe-card-v3__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.lbe-card-v3:hover .lbe-card-v3__image img {
    transform: scale(1.03);
}

.lbe-card-v3__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

h2.lbe-card-v3__titre,
h3.lbe-card-v3__titre,
.lbe-card-v3__titre {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.lbe-card-v3 .lbe-card-v3__titre a {
    color: var(--lbe-noir);
    text-decoration: none;
}

.lbe-card-v3 .lbe-card-v3__titre a:hover {
    color: var(--lbe-turquoise);
}

.lbe-card-v3__date {
    font-size: 0.8rem;
    color: var(--lbe-gris);
    margin-bottom: 0.75rem;
}

.lbe-card-v3__excerpt {
    font-size: 0.875rem;
    color: var(--lbe-gris);
    line-height: 1.5;
    margin-top: auto;
}

/* -----------------------------------------
   RESPONSIVE
   ----------------------------------------- */

@media (max-width: 768px) {
    .lbe-hero-v3 {
        padding: 3.5rem 0 3rem;
        min-height: 280px;
    }

    .lbe-hero-v3__titre {
        font-size: 1.85rem;
    }

    .lbe-hero-v3::after {
        height: 30px;
    }

    .lbe-bloc-v3 {
        padding: 2.5rem 1.25rem 1.5rem;
    }
}

/* Accessibilité — min 44px */
.btn-lbe,
.lbe-card-v3__titre a {
    min-height: 44px;
}
