/* ==================================================
   IDENTITÃ‰ ET TYPOGRAPHIE â€” page QHSE
=================================================== */
.qhse-page .hamburger { border: 0; background: transparent; min-width: 44px; min-height: 44px; }
.qhse-page .logo-area a { display: block; }
.qhse-page a:focus-visible, .qhse-page button:focus-visible { outline: 3px solid #d99b00; outline-offset: 5px; }
.qhse-main { color: #102e48; overflow-wrap: anywhere; }
.qhse-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.qhse-section { padding-block: 72px; }
.qhse-main section[id] { scroll-margin-top: 24px; }
.qhse-main p { line-height: 1.8; }
.qhse-main h2 { margin-bottom: 28px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
.qhse-main h3, .qhse-main h4 { line-height: 1.5; }
.qhse-eyebrow { margin-bottom: 16px; color: #0a4e9b; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.qhse-soft { background: #f2f6fb; }
.qhse-intro { max-width: 990px; font-size: 1.1rem; }
/* ==================================================
   HERO â€” seule image prÃ©vue, fournie ultÃ©rieurement
   Chemin depuis la page : ../assets/images/licence-qhse.jpg
=================================================== */
.qhse-hero {
    padding: 68px 0 0;
    color: #fff;
    background: linear-gradient(110deg, rgba(6,35,55,.97), rgba(16,92,80,.88)), url('../images/licence-qhse.jpg') center / cover;
}
.qhse-partner { display: inline-block; padding: 9px 16px; border: 1px solid #ffffff50; border-radius: 6px; margin-bottom: 32px; }
.qhse-partner strong { color: #ffd200; }
.qhse-hero .qhse-eyebrow { color: #b8dcff; }
.qhse-hero h1 { max-width: 950px; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.1; margin-bottom: 26px; letter-spacing: -.035em; }
.qhse-hero h1 span { color: #ffd200; }
.qhse-lead { max-width: 820px; font-size: 1.12rem; color: #e0ebf8; }
.qhse-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.qhse-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 16px 22px; border: 1px solid transparent; border-radius: 7px; color: #102e48; background: #ffd200; text-align: center; text-decoration: none; font-weight: 700; transition: background .2s; }
.qhse-btn:hover { background: #ffe467; }
.qhse-btn-outline { border-color: #bed1e8; background: transparent; color: #fff; }
.qhse-btn-outline:hover { background: #ffffff18; }
.qhse-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-block: 26px; border-top: 1px solid #ffffff40; }
.qhse-facts p { display: flex; gap: 16px; align-items: center; }
.qhse-facts i { color: #ffd200; font-size: 1.5rem; }
.qhse-facts span { font-size: .85rem; color: #d4e4f8; }
.qhse-facts strong { display: block; color: #fff; font-size: 1.2rem; }
/* ==================================================
   OBJECTIFS ET UNITÃ‰S â€” cartes du programme
=================================================== */
.qhse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.qhse-card { padding: 26px; border: 1px solid #dbe5ef; border-radius: 12px; background: #fff; }
.qhse-card i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #eaf2fc; color: #0a4e9b; font-size: 1.2rem; }
.qhse-objectives .qhse-card > i { margin-bottom: 18px; }
.qhse-objectives .qhse-card { border-top: 3px solid #0a4e9b; }
.qhse-semester-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.qhse-semester-nav a { padding: 15px 22px; color: #0a4e9b; background: #edf4fc; border-radius: 6px; font-weight: 700; text-decoration: none; }
.qhse-semester-nav a:hover { background: #dbeaff; }
.qhse-semester { padding-block: 32px; border-top: 1px solid #dbe5ef; }
.qhse-semester h3 { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.qhse-semester h3 > span { color: #0a4e9b; font-size: 1.5em; }
.qhse-units { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qhse-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.qhse-card-top span { color: #4c6580; font-size: .85rem; font-weight: 700; }
.qhse-units h4 { font-size: 1.05rem; }
#semestre-2 .qhse-card i { color: #176b68; background: #e7f5f2; }
/* ==================================================
   PRATIQUE, PROJET ET ADMISSION
=================================================== */
.qhse-practice { background: #103e43; color: #fff; }
.qhse-practice .qhse-eyebrow { color: #ffd200; }
.qhse-project { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 28px; padding: 36px; border: 1px solid #dbe5ef; border-left: 5px solid #ffd200; border-radius: 12px; }
.qhse-project > i { font-size: 3.5rem; color: #0a4e9b; }
.qhse-project h2 { margin-bottom: 18px; }
.qhse-admission { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 36px; }
.qhse-bac { display: block; font-size: 4rem; color: #0a4e9b; }
.qhse-documents { list-style: none; display: grid; gap: 12px; }
.qhse-documents li { display: flex; align-items: center; gap: 22px; padding: 19px 24px; border: 1px solid #dbe5ef; border-radius: 8px; line-height: 1.6; }
.qhse-documents span { color: #0a4e9b; font-weight: 800; }
.qhse-info { border: 1px solid #dbe5ef; border-radius: 12px; background: #fff; padding-inline: 28px; }
.qhse-info > div { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; padding-block: 22px; border-bottom: 1px solid #e3ebf3; line-height: 1.7; }
.qhse-info > div:last-child { border-bottom: 0; }
.qhse-info dt { color: #46627d; font-weight: 700; }
.qhse-info dd { margin: 0; }
.qhse-download { background: #092d52; color: #fff; border-top: 5px solid #ffd200; }
/* ==================================================
   RESPONSIVE â€” tablette puis smartphone
=================================================== */
@media (min-width: 768px) and (max-width: 1199px) {
    .qhse-page .header-content { flex-direction: column; gap: 15px; padding-block: 10px; }
    .qhse-page .menu > ul { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .qhse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qhse-section { padding-block: 56px; }
}
@media (max-width: 767px) {
    .qhse-shell { width: calc(100% - 32px); }
    .qhse-section { padding-block: 44px; }
    .qhse-hero { padding-top: 36px; }
    .qhse-grid, .qhse-facts, .qhse-project, .qhse-admission, .qhse-info > div { grid-template-columns: minmax(0, 1fr); }
    .qhse-facts { gap: 18px; margin-top: 32px; }
    .qhse-actions { flex-direction: column; }
    .qhse-btn { width: 100%; }
    .qhse-card, .qhse-project { padding: 22px; }
    .qhse-project { gap: 20px; }
    .qhse-info { padding-inline: 20px; }
    .qhse-info > div { gap: 7px; }
    .qhse-semester h3 { gap: 12px; }
    .qhse-page .header-content { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 10px 16px; }
    .qhse-page .logo-area img { width: 190px; max-width: 100%; }
    .qhse-page .hamburger { display: block; }
    .qhse-page .menu { display: none; width: 100%; }
    .qhse-page .menu.active { display: block; }
    .qhse-page .menu > ul { flex-direction: column; padding: 20px 0; gap: 16px; }
    .qhse-page .menu > ul > li > a { white-space: normal; text-align: center; }
    .qhse-page .top-bar .container { flex-direction: column; flex-wrap: wrap; gap: 10px; padding: 10px; }
    .qhse-page .top-bar .left { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .qhse-page .footer-col { min-width: 0; overflow-wrap: anywhere; }
}

/* ==================================================
   QHSE â€” environnement, compÃ©tences et dÃ©bouchÃ©s
=================================================== */
.qhse-objectives { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qhse-objectives .qhse-card { border-top-color: #197363; }
.qhse-objectives .qhse-card > i { color: #176b58; background: #e9f5ef; }
.qhse-skills { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; }
.qhse-skills li { display: flex; align-items: baseline; gap: 14px; line-height: 1.75; }
.qhse-skills i { color: #197363; flex-shrink: 0; }
.qhse-jobs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qhse-jobs li { padding: 22px; border: 1px solid #d6e7df; border-left: 4px solid #197363; border-radius: 8px; background: #f4f9f6; line-height: 1.6; font-weight: 600; }
.qhse-study { margin-top: 28px; padding-top: 22px; border-top: 1px solid #dbe5ef; }
@media (min-width: 768px) and (max-width: 1199px) {
    .qhse-objectives, .qhse-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .qhse-objectives, .qhse-skills, .qhse-jobs { grid-template-columns: minmax(0, 1fr); }
}
