/**
 * ============================================================================
 * RAUCIMS & PARTNERS — PAGE BANNER (MINI-HERO)
 * ============================================================================
 *
 * Stylisation premium de la mini-bannière utilisée sur toutes les pages internes.
 *
 * Palette de couleurs :
 * - Orange principal : #FF6B35
 * - Bleu marine : #1A2E4A
 * - Blanc : #FFFFFF
 * - Noir : #000000
 *
 * Structure HTML (page-banner.php) :
 * - .page-banner (section)
 *   - .container
 *     - .page-banner-content
 *       - .page-banner-title (h1)
 *       - .page-banner-subtitle (p)
 *       - .page-banner-breadcrumb
 *         - a (lien Accueil)
 *         - .separator
 *         - .current (page actuelle)
 */

/* ============================
   VARIABLES CSS
   ============================ */
:root {
    --raucims-orange: #FF6B35;
    --raucims-orange-hover: #FF8555;
    --raucims-blue-marine: #1A2E4A;
    --raucims-blue-dark: #0F1A2E;
    --raucims-white: #FFFFFF;
    --raucims-black: #000000;
    --raucims-transition: all 0.3s ease-in-out;
}

/* ============================
   SECTION PAGE BANNER
   ============================ */

.page-banner {
    position: relative;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Dégradé bleu marine premium */
    background: linear-gradient(135deg, #0F1A2E 0%, #1A2E4A 50%, #1d3557 100%);

    /* Alternative : Image de fond avec overlay (à décommenter si image ajoutée) */
    /* background-image: url('../images/page-banner-bg.jpg'); */
    /* background-size: cover; */
    /* background-position: center center; */
    /* background-repeat: no-repeat; */
}

/* Overlay sombre pour améliorer la lisibilité du texte */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 26, 46, 0.75);
    z-index: 1;
}

/* ============================
   CONTENU DE LA BANNIÈRE
   ============================ */

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner-content {
    text-align: center;
    padding: 0 20px;
}

/* ============================
   TITRE PRINCIPAL
   ============================ */

.page-banner-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--raucims-white);
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-transform: none;

    /* Animation d'apparition subtile */
    animation: fadeInUp 0.6s ease-out;
}

/* ============================
   SOUS-TITRE
   ============================ */

.page-banner-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px 0;
    line-height: 1.6;
    letter-spacing: 0.3px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    /* Animation d'apparition subtile avec délai */
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

/* ============================
   BREADCRUMB (FIL D'ARIANE)
   ============================ */

.page-banner-breadcrumb {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;

    /* Animation d'apparition subtile avec délai */
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.page-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--raucims-transition);
    position: relative;
}

.page-banner-breadcrumb a:hover {
    color: var(--raucims-orange);
}

/* Soulignement subtil au survol */
.page-banner-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--raucims-orange);
    transition: width 0.3s ease-out;
}

.page-banner-breadcrumb a:hover::after {
    width: 100%;
}

.page-banner-breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.page-banner-breadcrumb .current {
    color: var(--raucims-orange);
    font-weight: 600;
}

/* ============================
   ANIMATIONS
   ============================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   RESPONSIVE
   ============================ */

/* Tablette (≤991px) */
@media (max-width: 991px) {
    .page-banner {
        height: 240px;
    }

    .page-banner-title {
        font-size: 36px;
    }

    .page-banner-subtitle {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .page-banner-breadcrumb {
        font-size: 13px;
    }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .page-banner {
        height: 220px;
    }

    .page-banner-content {
        padding: 0 15px;
    }

    .page-banner-title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .page-banner-subtitle {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .page-banner-breadcrumb {
        font-size: 12px;
    }

    .page-banner-breadcrumb .separator {
        margin: 0 8px;
    }
}

/* Petit mobile (≤480px) */
@media (max-width: 480px) {
    .page-banner {
        height: 200px;
    }

    .page-banner-title {
        font-size: 26px;
    }

    .page-banner-subtitle {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .page-banner-breadcrumb {
        font-size: 11px;
    }

    .page-banner-breadcrumb .separator {
        margin: 0 6px;
    }
}
