/**
 * Entête de page (page.php)
 * Affiche le fil d'Ariane Yoast, le titre de la page et l'extrait
 */

.page-header {
    position: relative;
    background-color: #F05534;
    padding: 100px 20px 90px;
    overflow: hidden;
}

.page-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    max-width: 600px;
    background-image: url('../images/watermark.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
}

.page-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.page-header__breadcrumb {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    *{
            font-family: 'Comfortaa', 'Montserrat', sans-serif;
            color: rgba(248, 245, 226, 0.5)!important;

    }
}

.page-header__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-header__breadcrumb a:hover,
.page-header__breadcrumb a:focus {
    color: #F8F5E2;
}

.page-header__breadcrumb .breadcrumb_last {
    color: rgba(248, 245, 226, 0.5);
}

.page-header__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
}

.page-header__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 65px;
    line-height: 1.1;
    color: #F8F5E2;
    margin: 0;
}

.page-header__intro {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    color: #F8F5E2;
    margin: 0;
}

.page-header__intro strong,
.page-header__intro b {
    font-weight: 700;
}

.page-header__intro p {
    margin: 0;
    font-size: 19px;
}

.page-header__intro p + p {
    margin-top: 0.5em;
}

@media (max-width: 992px) {
    .page-header {
        padding: 70px 20px 60px;
    }
    .page-header__title {
        font-size: 48px;
    }
    .page-header__intro {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .page-header {
        padding: 50px 16px 40px;
    }
    .page-header__title {
        font-size: 34px;
    }
    .page-header__intro {
        font-size: 16px;
    }
    .page-header__breadcrumb {
        font-size: 14px;
    }
}

/* Bouton retour aux métiers */
.btn-back-metiers {
    min-height: auto;
    padding: 15px 25px;
    gap: 15px;
}

.btn-back-metiers:hover,
.btn-back-metiers:focus-visible {
    gap: 23px;
}

/* Badge domaine */
.page-header__domaines {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-header__domaine-badge {
    display: inline-block;
    background: linear-gradient(90deg, #202E3B 0%, #202E3B 100%);
    color: #F8F5E2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: normal;
    padding: 5px 20px;
    border-radius: 25px;
    white-space: nowrap;
}

