/* Conteneur principal avec ombre et fond */
.shadow-div {
  background-image: url(../img/bg-2026.png);
  border: 1px solid #0000000f;
  padding: 50px;
  box-shadow: 0 14px 28px rgb(24 66 182 / 12%), 0 10px 10px rgb(24 66 182 / 16%);
  border-radius: 5px;
  width: 100%;
}

/* Image du directeur */
img.directeur {
  max-width: 80%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* Titres "Pr. ALI AHAITOUF" et "Directeur de l’École..." */
.title_page_dr {
  padding: 0 20px;
  color: #1f5793;
  margin-bottom: 30px;
}

/* Fond gris clair pour ces titres */
.bg-gree {
  background-color: #f1f1f1;
  width: 330px;
}

/* Paragraphes justifiés (tout le texte du mot du directeur) */
p.justify {
  text-align: justify;
  color: #2a2a2a;
}

/* Le paragraphe en italique (citation en encadré) */
p.mot_directeur {
  font-family: "Saira", sans-serif;
  display: block;
  text-align: justify;
  font-style: italic;
  color: #1f5793;
  font-size: 22px;
  line-height: 50px;
  font-weight: 500;
  margin: 12% 0;
}

@media (max-width: 767px) {
  p.mot_directeur {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    margin: 0 0px;
  }
}

/* Ligne de séparation <hr class="ref"> */
hr.ref {
  /* Vous pouvez ajouter une règle si nécessaire, par défaut c’est une ligne standard */
}

/* Références en bas de page */
p.ref {
  font-size: 12px;
}

/* Animation wow fadeIn (si vous utilisez WOW.js) */
.wow.fadeIn {
  /* Les animations sont gérées par la bibliothèque WOW.js / Animate.css */
  /* Rien de spécifique à ajouter ici sauf si vous voulez personnaliser */
}

.page-header {
    background: linear-gradient(rgb(30 115 190 / 81%), rgb(0 86 168 / 52%)), url(../img/bg_cover.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}


/* Tablettes : largeur max 991px */
@media (max-width: 991px) {
    .shadow-div {
        padding: 30px;
    }

    img.directeur {
        max-width: 60%;
        margin-bottom: 15px;
    }

    .title_page_dr {
        padding: 0 10px;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .bg-gree {
        width: 330px;
    }

    p.justify {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Mobiles : largeur max 767px */
@media (max-width: 767px) {
    .shadow-div {
        padding: 20px;
    }

    .row > .col-xl-4,
    .row > .col-xl-8,
    .row > .col-lg-4,
    .row > .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    img.directeur {
        max-width: 100%;
        margin: 0 auto 15px;
        display: block;
    }

    .title_page_dr {
        font-size: 16px;
        text-align: center;
        padding: 5px 0;
        margin-bottom: 15px;
    }

    .bg-gree {
        width: 100%;
    }

    p.justify {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Tablettes grand format : largeur entre 992px et 1366px */
@media (min-width: 992px) and (max-width: 1366px) {
    .shadow-div {
        padding: 40px; /* moins que desktop mais plus que petites tablettes */
    }

    .row > .col-xl-4,
    .row > .col-lg-4 {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .row > .col-xl-8,
    .row > .col-lg-8 {
        flex: 0 0 65%;
        max-width: 65%;
    }

    img.directeur {
        max-width: 70%; /* ajustement visuel */
        margin-bottom: 20px;
    }

    .title_page_dr {
        font-size: 20px;
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .bg-gree {
        width: 90%;
    }

    p.justify {
        font-size: 17px;
        line-height: 1.7;
    }
}

