/* Styles de portail.php (extraits de la page, même ordre) */


    /* Déclaration de vos variables et couleurs d'origine */
    :root {
        /* Les variables --dark-color et --secondary-color proviennent de votre thème global */
        --dark-gradient: #34495e; /* La couleur de nuance incluse dans votre dégradé d'origine */
        --secondary-light: #f3be7a; /* Variante lumineuse pour les transitions artistiques */
    }

    body {
        position: relative;
        overflow-x: hidden;
        background-color: #fcfdfd;
        max-width: 100%;
    }

    /* Formes géométriques artistiques d'arrière-plan */
    .art-shape {
        position: fixed;
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.02), rgba(52, 73, 94, 0.02));
        border-radius: 43% 57% 70% 30% / 45% 45% 55% 55%;
        z-index: -1;
        pointer-events: none;
        max-width: 100vw;
        overflow: hidden;
    }
    .shape-1 { width: 400px; height: 400px; top: 15%; left: -50px; animation: rotateShape 25s infinite linear; }
    .shape-2 { width: 500px; height: 500px; bottom: 5%; right: -100px; border-radius: 50% 40% 60% 40%; animation: rotateShape 35s infinite linear reverse; }

    @keyframes rotateShape {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* En-tête de page - Reprise stricte de votre dégradé 135deg d'origine */
    .page-header {
        background: linear-gradient(135deg, var(--dark-color), var(--dark-gradient));
        color: white;
        padding: 6rem 0 5rem;
        margin-bottom: 4rem;
        position: relative;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%); /* Découpe diagonale esthétique */
    }

    .page-header h1 {
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    /* Zone d'action de connexion en haut à droite */
    .auth-bar {
        position: absolute;
        top: 2rem;
        right: 2rem;
        z-index: 10;
    }

    /* Système de filtrage minimaliste par soulignement */
    .filter-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 4rem;
    }

    .filter-container {
        display: inline-flex;
        border-bottom: 2px solid rgba(44, 62, 80, 0.1);
        padding-bottom: 0px;
        gap: 2rem;
    }

    .level-filter {
        border: none;
        background: transparent;
        color: #7f8c8d;
        padding: 0.8rem 0.5rem;
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease;
    }

    .level-filter::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .level-filter:hover { color: var(--dark-color); }
    .level-filter.active { color: var(--secondary-color); }
    .level-filter.active::after { width: 100%; }

    /* Cartes de Services Typographiques et Asymétriques */
    .service-card {
        background: white;
        border: none;
        border-left: 4px solid rgba(217, 162, 89, 0.2); /* Ligne fine d'accentuation d'origine */
        border-radius: 0px 20px 20px 0px;
        padding: 3rem 2.5rem;
        box-shadow: 0 15px 35px rgba(44, 62, 80, 0.03);
        height: 100%;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
    }

    /* Animation de la bordure gauche au survol */
    .service-card::before {
        content: '';
        position: absolute;
        top: 0; bottom: 0; left: -4px; width: 4px;
        background: var(--secondary-color);
        transform: scaleY(0);
        transition: transform 0.4s ease;
        transform-origin: bottom;
    }

    /* Icône - Reprise de votre dégradé Or/Doré d'origine */
    .service-icon {
        width: 75px;
        height: 75px;
        border-radius: 18px;
        background: linear-gradient(135deg, var(--secondary-color), #d9a259);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
        color: white;
        font-size: 1.6rem;
        box-shadow: 0 10px 20px rgba(217, 162, 89, 0.15);
        transition: all 0.4s ease;
    }

    /* Effets dynamiques au survol de la carte */
    .service-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 25px 50px rgba(44, 62, 80, 0.07);
    }

    .service-card:hover::before {
        transform: scaleY(1);
    }

    .service-card:hover .service-icon {
        background: linear-gradient(135deg, var(--dark-color), var(--dark-gradient));
        box-shadow: 0 10px 20px rgba(44, 62, 80, 0.15);
        transform: rotate(-6deg);
    }

    .service-card h4 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--dark-color);
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .service-desc {
        color: #7f8c8d;
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    /* Boutons d'action graphiques */
    .btn-custom-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .btn-artistic {
        border: 2px solid var(--dark-color);
        color: var(--dark-color);
        background: transparent;
        padding: 0.6rem 1.4rem;
        border-radius: 10px;
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 130px;
        transition: all 0.3s ease;
    }

    .btn-artistic:hover {
        background: var(--dark-color);
        color: white;
    }

    .btn-artistic.disabled {
        border-color: #cbd5e1;
        color: #94a3b8;
        pointer-events: none;
    }

    /* Zone d'approbations abstraite */
    .approval-zone {
        margin-top: 2.5rem;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 0.6rem 1.4rem;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        backdrop-filter: blur(5px);
    }

    .btn-role-art {
        background: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 0.3rem 0.9rem;
        border-radius: 20px;
        font-size: 0.82rem;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .btn-role-art:hover {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        color: white;
    }
