/* =============================================
   Page Header – Design élégant avec filigrane
   ============================================= */

header.page-header,
header.page-header.header-gradient,
header.page-header.page-header-dark {
    position: relative;
    background: linear-gradient(135deg, #315192 0%, #1a3a7a 60%, #0f2454 100%) !important;
    color: white;
    overflow: hidden;
    padding-bottom: 2.5rem;
}

/* Filigrane 1 – Grand cercle en haut à droite */
.page-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -8%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Filigrane 2 – Cercle medium en bas à gauche */
.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -4%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Motif de points en filigrane */
.page-header .container-xl {
    position: relative;
    z-index: 1;
}

.page-header .container-xl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
    pointer-events: none;
}

/* Contenu au-dessus du filigrane */
.page-header-content {
    position: relative;
    z-index: 2;
}

/* Titre de la page */
.page-header-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.3px;
}

/* Icône du header */
.page-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.85rem;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.page-header-icon i {
    width: 26px;
    height: 26px;
    color: white;
}

/* Ligne décorative sous le titre */
.page-header-title::after {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header-title {
        font-size: 1.25rem;
    }
    .page-header-icon {
        width: 42px;
        height: 42px;
    }
    .page-header::before {
        width: 350px;
        height: 350px;
        right: -20%;
    }
    .page-header::after {
        width: 250px;
        height: 250px;
    }
}
