/* =============================================
   PAGE MAISON BLEUE — STYLES SPÉCIFIQUES
============================================= */

/* --- HEADER ÉTABLISSEMENT --- */
.header-etablissement {
    padding: 40px 0 50px; /* Augmenté pour laisser de la place au badge sous la maison */
    background: linear-gradient(#fff, #88A5BE);
    position: relative;
    z-index: 1;
    overflow: visible; /* Permet à la maison de déborder visuellement sans être coupée */
    height: auto !important;
}

/* Conteneur relatif du clip maison : nécessaire pour positionner le badge */
.header-etablissement .col-lg-5 {
    position: relative;
    z-index: 2;
}



.header-etablissement .section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bs-jean-sombre, #557A99);
    margin-bottom: 10px;
}

.header-etablissement h1 {
    font-family: 'Newsreader', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--bs-bleu, #005CA9);
    margin-bottom: 18px;
    line-height: 1.15;
}

.header-etablissement .description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #3a4a5a;
    max-width: 540px;
    background-color: rgba(239,230,210,0.6);
    border-left: 4px solid var(--bs-jean, #88A5BE);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
}

/* --- MAISON CLIP-PATH --- */
.house-clip {
    width: 320px;
    height: 320px;
    clip-path: polygon(50% 0%, 100% 35%, 100% 100%, 0% 100%, 0% 35%);
    overflow: hidden;
    filter: drop-shadow(0 8px 28px rgba(0,92,169,0.22));
    border-radius: 0 0 10px 10px;
}

.house-clip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 0.6s ease;
}

.house-clip:hover img {
    transform: scale(1.05);
}

.house-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bs-bleu, #005CA9);
    color: #FCF9F4;
    font-family: 'Newsreader', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 6px 22px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,92,169,0.25);
}

/* =============================================
   BANDEAU CHIFFRES CLÉS
============================================= */
.section-chiffres {
    background: var(--bs-bleu, #005CA9);
    padding: 40px 0;
    color: #FCF9F4;
    position: relative;
    z-index: 3; /* Passe au-dessus de la forme maison/arbre du header */
}

.chiffre-bloc {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.chiffre-bloc:last-child { border-right: none; }

.chiffre-bloc .chiffre-val {
    font-family: 'Newsreader', serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.chiffre-bloc .chiffre-label {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* =============================================
   INFOS PRATIQUES
============================================= */
.section-infos {
    background-color: #FCF9F4;
    padding: 60px 0;
}

.info-card {
    background: #fff;
    border: 1px solid #e3ddd3;
    border-top: 4px solid var(--bs-jean, #88A5BE);
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
    box-shadow: 0 6px 20px rgba(0,92,169,0.1);
    transform: translateY(-3px);
}

.info-card .info-icon {
    font-size: 2rem;
    color: var(--bs-jean-sombre, #557A99);
    margin-bottom: 12px;
    background-color: #fff;
}

.info-card h5 {
    font-family: 'Newsreader', serif;
    color: var(--bs-bleu, #005CA9);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.93rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   SECTION PROJET ÉDUCATIF
============================================= */
.section-projet {
    background-color: var(--bs-sable, #EFE6D2);
    padding: 65px 0;
}

.projet-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px 28px;
    height: 100%;
    border-bottom: 4px solid var(--bs-jean, #88A5BE);
    box-shadow: 0 2px 12px rgba(0,92,169,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,92,169,0.13);
}

.projet-card .projet-icon {
    font-size: 2.2rem;
    color: var(--bs-jean-sombre, #557A99);
    margin-bottom: 16px;
}

.projet-card h5 {
    font-family: 'Newsreader', serif;
    color: var(--bs-bleu, #005CA9);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.projet-card p {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
}

/* =============================================
   SECTION PERSONNEL
============================================= */
.section-personnel {
    background-color: #FCF9F4;
    padding: 70px 0;
}

.section-personnel .section-title {
    font-family: 'Newsreader', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--bs-bleu, #005CA9);
    margin-bottom: 8px;
}

.section-personnel .section-subtitle {
    font-size: 0.95rem;
    color: var(--bs-jean-sombre, #557A99);
    margin-bottom: 50px;
}

.staff-card {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 18px rgba(0,92,169,0.08);
    padding: 0 0 28px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.staff-card:hover {
    box-shadow: 0 10px 32px rgba(0,92,169,0.15);
    transform: translateY(-5px);
}

.staff-card .staff-color-band {
    height: 80px;
    width: 100%;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, var(--bs-jean, #88A5BE), var(--bs-bleu, #005CA9));
}

.staff-card .staff-avatar-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-top: -45px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    background: var(--bs-jean-sombre, #557A99);
    color: #FCF9F4;
    font-family: 'Newsreader', serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.staff-card .staff-name {
    font-family: 'Newsreader', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-bleu, #005CA9);
    margin: 14px 0 4px;
    padding: 0 16px;
}

.staff-card .staff-role {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bs-jean-sombre, #557A99);
    margin-bottom: 14px;
}

.staff-card .staff-divider {
    width: 40px;
    height: 2px;
    background: var(--bs-jean, #88A5BE);
    margin: 0 auto 14px;
    border-radius: 2px;
}

.staff-card .staff-bio {
    font-size: 0.88rem;
    color: #5a6a7a;
    line-height: 1.6;
    padding: 0 20px;
}

.staff-tag {
    display: inline-block;
    background-color: var(--bs-azure-clair, #DDEFFF);
    color: var(--bs-bleu, #005CA9);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 12px;
}

/* =============================================
   CTA BAS DE PAGE
============================================= */
.section-cta {
    background: linear-gradient(135deg, var(--bs-jean-sombre, #557A99), var(--bs-bleu, #005CA9));
    padding: 60px 0;
    color: #FCF9F4;
    text-align: center;
}

.section-cta h2 {
    font-family: 'Newsreader', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-cta p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 28px;
}

.btn-sable {
    background-color: var(--bs-sable, #EFE6D2);
    color: var(--bs-bleu, #005CA9);
    font-weight: 700;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-sable:hover {
    background-color: #FCF9F4;
    color: var(--bs-bleu, #005CA9);
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}