/* Styles de la page d'accueil.
   Ils etaient en ligne dans index.php : pres de 2000 lignes retelechargees
   a chaque visite de la page publique, sans mise en cache possible. */

    ::-webkit-scrollbar {
        display: none;
    }
    
    html {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    @media (max-width: 1024px) {
        body {
            overflow-x: hidden;
        }
        
        .pdm-panel-hero {
            min-height: 100vh;
            height: 100vh;
        }
    }
    
    body.no-scroll {
        overflow: hidden;
        touch-action: none;
        height: 100vh;
    }
    
    .user-dropdown {
        position: relative;
        display: inline-block;
    }
    .user-dropdown-toggle {
        cursor: pointer;
        display: flex;
        align-items: center;
        min-width: 140px;
        justify-content: center;
    }
    .user-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #222;
        min-width: 180px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        border-radius: 10px;
        z-index: 2000;
        padding: 0.5rem 0;
        margin-top: 0;
        min-width: 100%;
        left: 0;
        right: 0;
        min-width: 100px;
    }
    .user-dropdown.open .user-dropdown-menu {
        display: block;
    }
    .user-dropdown-menu a {
        display: block;
        padding: 0.7rem 1.5rem;
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        transition: background 0.2s;
    }
    .user-dropdown-menu a:hover {
        background: var(--primary-color);
        color: #fff;
    }
    .user-dropdown-menu hr {
        border: none;
        border-top: 1px solid #444;
        margin: 0.3rem 0;
    }
    .user-dropdown-menu a.logout-link {
        white-space: nowrap;
    }
    
    /* Styles pour la cloche de notification */
    .notification-bell-container {
        position: relative;
        display: inline-flex;
        align-items: center;
        margin-left: 1rem;
        vertical-align: middle;
        margin-top: -4px;
    }

    .notification-bell-wrapper {
        position: relative;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        box-sizing: border-box;
        transform: translateY(-4px);
    }
    
    .notification-bell-wrapper:hover {
        background: rgba(255, 107, 107, 0.1);
    }
    
    .notification-bell-wrapper i {
        font-size: 1.2rem;
        color: #fff;
        transition: transform 0.3s ease;
    }
    
    .notification-bell-wrapper:hover i {
        transform: scale(1.1);
    }
    
    .notification-badge-client {
        position: absolute;
        top: 0;
        right: 0;
        background: #ff6b6b;
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
        border: 2px solid #1a1a1a;
        transform: translate(25%, -25%);
        animation: pulse-notification 2s infinite;
    }
    
    .notification-badge-client.hidden {
        display: none !important;
    }
    
    @keyframes pulse-notification {
        0%, 100% {
            transform: translate(25%, -25%) scale(1);
            box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
        }
        50% {
            transform: translate(25%, -25%) scale(1.1);
            box-shadow: 0 0 0 4px rgba(255, 107, 107, 0);
        }
    }
    
    /* Dropdown des notifications */
    .notification-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: 350px;
        max-width: 90vw;
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        z-index: 3000;
        overflow: hidden;
    }
    
    .notification-dropdown.open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .notification-dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 107, 107, 0.05);
    }
    
    .notification-dropdown-header h3 {
        margin: 0;
        color: #fff;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .notification-close {
        background: none;
        border: none;
        color: #888;
        cursor: pointer;
        font-size: 1.1rem;
        padding: 0.25rem;
        transition: color 0.2s;
    }
    
    .notification-close:hover {
        color: #fff;
    }
    
    .notification-dropdown-content {
        max-height: 400px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 107, 107, 0.3) transparent;
    }
    
    .notification-dropdown-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .notification-dropdown-content::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .notification-dropdown-content::-webkit-scrollbar-thumb {
        background: rgba(255, 107, 107, 0.3);
        border-radius: 3px;
    }
    
    .notification-loading {
        padding: 2rem;
        text-align: center;
        color: #888;
    }
    
    .notification-loading i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .notification-empty {
        padding: 2rem;
        text-align: center;
        color: #888;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .notification-loading i,
    .notification-empty i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .notification-list {
        padding: 0.5rem 0;
    }
    
    .notification-item {
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .notification-item:hover {
        background: rgba(255, 107, 107, 0.1);
    }
    
    .notification-item.unread {
        background: rgba(255, 107, 107, 0.05);
        border-left: 3px solid #ff6b6b;
    }
    
    .notification-icon {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, #ff6b6b 0%, #e63946 100%);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .notification-content {
        flex: 1;
        min-width: 0;
    }
    
    .notification-title {
        font-weight: 600;
        color: #fff;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .notification-message {
        color: #aaa;
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .notification-time {
        color: #666;
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
    
    .notification-dropdown-footer {
        padding: 0.75rem 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .notification-mark-all-read {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: rgba(255, 107, 107, 0.1);
        border: 1px solid rgba(255, 107, 107, 0.3);
        color: #ff6b6b;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
        width: 100%;
    }
    
    .notification-mark-all-read:hover {
        background: rgba(255, 107, 107, 0.2);
        border-color: rgba(255, 107, 107, 0.5);
        color: #fff;
    }
    
    .notification-mark-all-read:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .notification-view-all {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: #ff6b6b;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.2s;
    }
    
    .notification-view-all:hover {
        color: #fff;
    }
    
    /* Sur mobile, forcer le dropdown à droite */
    @media (max-width: 768px) {
        .notification-bell-container {
            position: relative;
            z-index: 3001;
        }
        
        .notification-dropdown {
            right: -4rem !important;
            left: auto !important;
            transform-origin: top right !important;
            width: calc(100vw - 2rem);
            max-width: 350px;
        }
        
        .notification-dropdown.open {
            right: -4rem !important;
            left: auto !important;
        }
        
        /* S'assurer que le nav-menu permet l'overflow sur mobile */
        #nav-menu {
            overflow: visible !important;
        }
        
        #user-menu {
            overflow: visible !important;
        }
    }
    
    @media (max-width: 480px) {
        /* Sur très petit écran, dropdown pleine largeur avec marge à droite */
        .notification-dropdown {
            width: calc(100vw - 1rem) !important;
            max-width: calc(100vw - 1rem) !important;
            right: -3rem !important;
        }
        
        .notification-dropdown.open {
            right: -3rem !important;
            left: auto !important;
        }
    }
    
    @media (max-width: 900px) {
        .pdm-panel-hero {
            margin-top: 60px;
            margin-bottom: 80px;
        }
        .user-dropdown-menu a.logout-link {
            white-space: nowrap;
        }
    }
    
    /* Position du banner de recrutement pour PC et tablette */
    @media (min-width: 481px) {
        .recrutement-banner {
            top: 105px !important;
        }
    }
    
    @media (max-width: 480px) {
        .pdm-panel-hero {
            margin-top: 20px;
        }
        
        /* Ajuster la position du banner de recrutement sur mobile */
        .recrutement-banner {
            top: 70px !important;
        }
    }
    
    .pdm-panel-hero {
        margin-bottom: 0;
        padding: 2rem 0;
        min-height: 100vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    @media (min-width: 1025px) {
        .pdm-panel-hero {
            margin-bottom: 0;
            padding-bottom: 1rem;
        }
        
        .footer {
            margin-top: 2rem !important;
            padding: 0.5rem 1rem !important;
        }
    }
    .pdm-panel.panel-1 img,
    .pdm-panel.panel-3 img {
        object-fit: cover;
        object-position: center 14%;
    }
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      z-index: 4000;
    }
    ::selection {
        background: #757575;
        color: #fff;
    }
    ::-moz-selection {
        background: #757575;
        color: #fff;
    }
    
    .profile-completion-notification {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: rgba(17, 17, 17, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 320px;
        width: auto;
        padding: 12px 16px;
        z-index: 10000;
        animation: slideInRight 0.3s ease-out;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .profile-completion-notification:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideOutRight {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .notification-content {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notification-icon {
        font-size: 1.2rem;
        color: #e74c3c;
        flex-shrink: 0;
    }

    .notification-text {
        flex: 1;
        color: #fff;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .notification-title {
        font-weight: 600;
        margin: 0 0 2px 0;
        font-size: 0.9rem;
        color: #fff;
    }

    .notification-message {
        margin: 0;
        color: #ccc;
        font-size: 0.8rem;
    }

    .notification-close {
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 1.2rem;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
        transition: color 0.2s;
        line-height: 1;
        padding: 0;
        width: auto;
        height: auto;
    }

    .notification-close:hover {
        color: #e63946;
    }

    .notification-action {
        margin-top: 8px;
        text-align: right;
    }

    .notification-btn {
        background: #e74c3c;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.75rem;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        transition: all 0.2s ease;
        font-weight: 500;
    }

    .notification-btn:hover {
        background: #c0392b;
        color: white;
        text-decoration: none;
        transform: translateY(-1px);
    }

    @media (max-width: 768px) {
        .profile-completion-notification {
            bottom: 10px;
            right: 10px;
            left: 10px;
            max-width: none;
        }
    }
    
    /* Styles pour la flèche de scroll */
    .scroll-indicator {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        z-index: 10;
        animation: bounce 2s infinite;
        pointer-events: none;
    }
    
    .scroll-arrow {
        pointer-events: all;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .scroll-arrow:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.1);
    }
    
    .scroll-text {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        40% {
            transform: translateX(-50%) translateY(-10px);
        }
        60% {
            transform: translateX(-50%) translateY(-5px);
        }
    }
    
    /* Styles pour la section employés en service */
    .employees-service-section {
        padding: 3rem 2rem 4rem 2rem;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: 60vh;
    }
    
    .employees-service-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
        z-index: 0;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .section-header h2 i {
        color: #e63946;
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
    }
    
    /* Styles pour la section FAQ */
    .faq-section {
        padding: 3rem 2rem 4rem 2rem;
        background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
        position: relative;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .faq-container {
        max-width: 900px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .faq-item:hover {
        border-color: rgba(230, 57, 70, 0.4);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .faq-question {
        width: 100%;
        padding: 1.25rem 1.5rem;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        gap: 1rem;
        transition: color 0.3s ease;
    }
    
    .faq-question:hover {
        color: #ff6b6b;
    }
    
    .faq-icon {
        font-size: 0.9rem;
        color: #e63946;
        transition: transform 0.3s ease;
    }
    
    .faq-item.active .faq-icon {
        transform: rotate(180deg);
    }
    
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 1.5rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        max-height: 500px;
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .no-faq {
        text-align: center;
        color: rgba(255, 255, 255, 0.5);
        padding: 2rem;
        font-size: 1.1rem;
    }

    /* Grille des employés */
    .employees-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    
    /* Quand il n'y a qu'une seule carte, la centrer et limiter sa largeur */
    .employees-grid.single-card {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .employees-grid.single-card .employee-card {
        max-width: 400px;
        width: 100%;
    }
    
    /* Cartes d'employés - Nouveau design moderne */
    .employee-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .employee-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(230, 57, 70, 0.25);
        border-color: rgba(230, 57, 70, 0.3);
    }
    
    /* Header de la carte */
    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        gap: 1rem;
    }
    
    .employee-avatar-wrapper {
        position: relative;
    }
    
    .status-pulse {
        position: absolute;
        bottom: 2px;
        right: 2px;
        width: 16px;
        height: 16px;
        background: #10b981;
        border: 3px solid #1a1a1a;
        border-radius: 50%;
        animation: statusPulse 2s infinite;
    }
    
    @keyframes statusPulse {
        0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
        70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
        100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }
    
    .employee-status-badge {
        background: rgba(16, 185, 129, 0.15);
        border: 1px solid rgba(16, 185, 129, 0.3);
        padding: 0.4rem 0.8rem;
        border-radius: 12px;
        color: #10b981;
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
    
    .employee-status-badge i {
        font-size: 0.7rem;
    }
    
    /* Body de la carte */
    .card-body {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    
    /* Avatar large pour les cartes */
    .employee-avatar-large {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e63946, #ff6b6b);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .employee-avatar-large img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .employee-avatar-large::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e63946, #ff6b6b);
        opacity: 0.3;
        z-index: -1;
    }
    
    
    .grade-badge-modern {
        background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 107, 107, 0.15));
        color: #ff6b6b;
        padding: 0.5rem 1.2rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        border: 1px solid rgba(230, 57, 70, 0.3);
        display: inline-block;
    }
    
    .employee-name {
        margin: 0;
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.3;
    }
    
    /* Section Rating */
    .employee-rating {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .stars-display {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    
    .star {
        color: #ffd700;
        font-size: 1.2rem;
        transition: all 0.2s ease;
    }
    
    .star.empty {
        color: rgba(255, 255, 255, 0.2);
    }
    
    .star.half {
        position: relative;
        color: rgba(255, 255, 255, 0.2);
    }
    
    .star.half::before {
        content: '\f005';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 0;
        color: #ffd700;
        overflow: hidden;
        width: 50%;
    }
    
    .rating-info {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
    }
    
    .rating-average {
        font-weight: 600;
        color: #ffd700;
        font-size: 1.1rem;
    }
    
    .rating-count {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.5);
        transition: color 0.2s ease;
    }
    
    .rating-count:hover {
        color: #ff6b6b;
    }
    
    .leave-review-btn {
        margin-top: 0.8rem;
        background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(255, 107, 107, 0.15));
        color: #ff6b6b;
        border: 1px solid rgba(230, 57, 70, 0.3);
        padding: 0.6rem 1.2rem;
        border-radius: 12px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .leave-review-btn:hover {
        background: linear-gradient(135deg, rgba(230, 57, 70, 0.3), rgba(255, 107, 107, 0.25));
        border-color: rgba(230, 57, 70, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    }
    
    .leave-review-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }
    
    /* Popup discret : invitation à laisser un avis */
    .review-prompt-toast {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 9999;
        width: 340px;
        max-width: calc(100vw - 32px);
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 1.25rem;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        transform: translateY(150%);
        opacity: 0;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    }

    .review-prompt-toast.active {
        transform: translateY(0);
        opacity: 1;
    }

    .review-prompt-close {
        position: absolute;
        top: 10px;
        right: 12px;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.95rem;
        cursor: pointer;
        transition: color 0.2s;
    }

    .review-prompt-close:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .review-prompt-body {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        margin-bottom: 1rem;
        padding-right: 1rem;
    }

    .review-prompt-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        flex-shrink: 0;
        background: linear-gradient(135deg, #e63946, #b02a37);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 700;
        font-size: 1.05rem;
        overflow: hidden;
    }

    .review-prompt-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .review-prompt-title {
        margin: 0 0 0.15rem;
        color: #fff;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .review-prompt-sub {
        margin: 0;
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.82rem;
    }

    .review-prompt-actions {
        display: flex;
        gap: 0.6rem;
    }

    .review-prompt-btn {
        flex: 1;
        padding: 0.55rem 0.75rem;
        border-radius: 10px;
        border: none;
        font-size: 0.88rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .review-prompt-btn-later {
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
    }

    .review-prompt-btn-later:hover {
        background: rgba(255, 255, 255, 0.14);
    }

    .review-prompt-btn-give {
        background: linear-gradient(135deg, #e63946, #b02a37);
        color: #fff;
    }

    .review-prompt-btn-give:hover {
        filter: brightness(1.1);
    }

    @media (max-width: 480px) {
        .review-prompt-toast {
            left: 16px;
            right: 16px;
            bottom: 16px;
            width: auto;
        }
    }

    /* Modal pour laisser un avis */
    .review-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        /* Pas de backdrop-filter : sur un calque plein écran, il force le
           navigateur à reflouter tout le viewport à chaque frame tant que
           quelque chose bouge derrière. Le voile opaque fait le même effet. */
        z-index: 10000;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    
    .review-modal.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .review-modal-content {
        background: #1a1a1a;
        border-radius: 20px;
        max-width: 500px;
        width: 100%;
        padding: 2rem;
        position: relative;
        animation: slideUp 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .review-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .review-modal-header h3 {
        margin: 0;
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    .review-modal-close {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.5rem;
        cursor: pointer;
        transition: color 0.2s;
        padding: 0.5rem;
    }
    
    .review-modal-close:hover {
        color: white;
    }
    
    .review-employee-info {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .review-employee-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e63946, #ff6b6b);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        font-weight: 700;
    }
    
    .review-employee-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .review-employee-details h4 {
        margin: 0 0 0.25rem 0;
        color: white;
        font-size: 1.1rem;
    }
    
    .review-employee-details p {
        margin: 0;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }
    
    .review-form-group {
        margin-bottom: 1.5rem;
    }
    
    .review-form-group label {
        display: block;
        color: white;
        font-weight: 600;
        margin-bottom: 0.8rem;
        font-size: 1rem;
    }
    
    .stars-input {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .star-input {
        color: rgba(255, 255, 255, 0.2);
        font-size: 2rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .star-input:hover,
    .star-input.active {
        color: #ffd700;
        transform: scale(1.1);
    }
    
    .review-textarea {
        width: 100%;
        min-height: 120px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1rem;
        color: white;
        font-size: 0.95rem;
        font-family: 'Inter', sans-serif;
        resize: vertical;
        transition: all 0.3s ease;
    }
    
    .review-textarea:focus {
        outline: none;
        border-color: rgba(230, 57, 70, 0.5);
        background: rgba(255, 255, 255, 0.08);
    }
    
    .review-textarea::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }
    
    .review-actions {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .review-btn {
        flex: 1;
        padding: 0.9rem;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .review-btn-submit {
        background: linear-gradient(135deg, #e63946, #ff6b6b);
        color: white;
    }
    
    .review-btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
    }
    
    .review-btn-cancel {
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.8);
    }
    
    .review-btn-cancel:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .review-error {
        background: rgba(230, 57, 70, 0.2);
        border: 1px solid rgba(230, 57, 70, 0.4);
        color: #ff6b6b;
        padding: 0.8rem;
        border-radius: 10px;
        margin-bottom: 1rem;
        font-size: 0.9rem;
        display: none;
    }
    
    .review-error.active {
        display: block;
    }
    
    /* Modal pour voir les avis */
    .reviews-list-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        /* Pas de backdrop-filter : sur un calque plein écran, il force le
           navigateur à reflouter tout le viewport à chaque frame tant que
           quelque chose bouge derrière. Le voile opaque fait le même effet. */
        z-index: 10000;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    
    .reviews-list-modal.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    .reviews-list-modal-content {
        background: #1a1a1a;
        border-radius: 20px;
        max-width: 600px;
        width: 100%;
        max-height: 80vh;
        position: relative;
        animation: slideUp 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
    }
    
    .reviews-list-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 107, 107, 0.05);
    }
    
    .reviews-list-modal-header h3 {
        margin: 0;
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    .reviews-list-employee-info {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .reviews-list-content {
        flex: 1;
        overflow-y: auto;
        padding: 1rem;
    }
    
    .reviews-loading {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 3rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .reviews-loading i {
        font-size: 2rem;
        color: #ff6b6b;
    }
    
    .reviews-empty {
        text-align: center;
        padding: 3rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
    .reviews-empty i {
        font-size: 3rem;
        color: rgba(255, 255, 255, 0.3);
        margin-bottom: 1rem;
    }
    
    .review-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .review-item:last-child {
        margin-bottom: 0;
    }
    
    .review-item-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .review-item-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e63946, #ff6b6b);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        font-weight: 700;
        flex-shrink: 0;
    }
    
    .review-item-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .review-item-info {
        flex: 1;
    }
    
    .review-item-name {
        color: white;
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .review-item-rating {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .review-item-stars {
        display: flex;
        gap: 0.2rem;
    }
    
    .review-item-stars .star {
        font-size: 0.9rem;
    }
    
    .review-item-date {
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.85rem;
    }
    
    .review-item-comment {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .review-item-delete {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(230, 57, 70, 0.1);
        border: 1px solid rgba(230, 57, 70, 0.3);
        color: #ff6b6b;
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .review-item-delete:hover {
        background: rgba(230, 57, 70, 0.2);
        border-color: rgba(230, 57, 70, 0.5);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    }
    
    .review-item {
        position: relative;
    }
    
    /* Modal de confirmation de suppression */
    .delete-confirm-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 10001;
        align-items: center;
        justify-content: center;
        /* Pas de backdrop-filter : sur un calque plein écran, il force le
           navigateur à reflouter tout le viewport à chaque frame tant que
           quelque chose bouge derrière. Le voile opaque fait le même effet. */
        animation: fadeIn 0.2s ease;
    }
    
    .delete-confirm-modal.active {
        display: flex;
    }
    
    .delete-confirm-content {
        background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
        border: 1px solid rgba(230, 57, 70, 0.3);
        border-radius: 16px;
        padding: 2rem;
        max-width: 450px;
        width: 90%;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: slideDown 0.3s ease;
    }
    
    .delete-confirm-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(230, 57, 70, 0.1);
        border: 2px solid rgba(230, 57, 70, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 1.8rem;
        color: #ff6b6b;
    }
    
    .delete-confirm-title {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .delete-confirm-message {
        color: rgba(255, 255, 255, 0.7);
        font-size: 1rem;
        text-align: center;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .delete-confirm-warning {
        background: rgba(255, 107, 107, 0.1);
        border-left: 3px solid #ff6b6b;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 2rem;
    }
    
    .delete-confirm-warning p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .delete-confirm-warning i {
        color: #ff6b6b;
    }
    
    .delete-confirm-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    
    .delete-confirm-btn {
        padding: 0.75rem 1.5rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .delete-confirm-btn-cancel {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .delete-confirm-btn-cancel:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }
    
    .delete-confirm-btn-delete {
        background: linear-gradient(135deg, #e63946, #ff6b6b);
        color: white;
        box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    }
    
    .delete-confirm-btn-delete:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    }
    
    .delete-confirm-btn-delete:active {
        transform: translateY(0);
    }
    
    @media (max-width: 768px) {
        .delete-confirm-content {
            padding: 1.5rem;
        }
        
        .delete-confirm-actions {
            flex-direction: column;
        }
        
        .delete-confirm-btn {
            width: 100%;
            justify-content: center;
        }
    }
    
    @media (max-width: 768px) {
        .reviews-list-modal-content {
            max-width: 100%;
            max-height: 90vh;
        }
        
        .reviews-list-modal-header {
            padding: 1rem;
        }
        
        .reviews-list-employee-info {
            padding: 0.75rem 1rem;
        }
        
        .review-item {
            padding: 1rem;
        }
        
        .review-item-avatar {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }
    }
    
    /* États de chargement et d'erreur */
    .employees-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 3rem;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.1rem;
    }
    
    .employees-loading i {
        font-size: 1.5rem;
        color: #e63946;
    }
    
    .no-employees {
        text-align: center;
        padding: 3rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .no-employees i {
        font-size: 3rem;
        color: rgba(255, 255, 255, 0.3);
        margin-bottom: 1rem;
    }
    
    .no-employees h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: white;
    }
    
    .no-employees p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .employees-service-section {
            padding: 2rem 1rem;
        }
        
        .section-header h2 {
            font-size: 2rem;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .employees-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        /* Sur mobile aussi, limiter la largeur de la carte unique */
        .employees-grid.single-card .employee-card {
            max-width: 100%;
        }
        
        .employee-avatar-large {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }
        
        .status-pulse {
            width: 12px;
            height: 12px;
            bottom: 0;
            right: 0;
        }
        
        .employee-name {
            font-size: 1.2rem;
        }
        
        .grade-badge-modern {
            padding: 0.4rem 1rem;
            font-size: 0.8rem;
        }
        
        .employee-status-badge {
            font-size: 0.75rem;
            padding: 0.3rem 0.6rem;
        }
        
        .card-header {
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .stars-display {
            gap: 0.2rem;
        }
        
        .star {
            font-size: 1rem;
        }
        
        .rating-info {
            font-size: 0.8rem;
        }
        
        .scroll-indicator {
            bottom: 20px;
        }
        
        .scroll-arrow {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
        
        .scroll-text {
            font-size: 0.8rem;
        }
    }
    
    /* Podium Logo Link - Toujours visible */
    .podium-logo-link {
        display: inline-flex;
        align-items: center;
        margin-left: -1rem;
        text-decoration: none;
        vertical-align: middle;
        margin-top: -4px;
    }
    
    .podium-logo-wrapper {
        position: relative;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
        border: 1px solid rgba(255, 215, 0, 0.2);
        width: 40px;
        height: 40px;
        box-sizing: border-box;
    }

    .podium-logo-wrapper:hover {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
        border-color: rgba(255, 215, 0, 0.4);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    }

    .podium-logo-wrapper i {
        font-size: 1.2rem;
        color: #ffd700;
        transition: transform 0.3s ease;
    }

    .podium-logo-wrapper:hover i {
        transform: scale(1.15) rotate(-5deg);
        color: #ffed4e;
    }

    /* ------------------------------------------------------------------
       Gel de l'arrière-plan pendant qu'un modal est ouvert

       Les trois animations en boucle de la page continuaient à tourner
       derrière le voile. Elles animent box-shadow et transform, donc elles
       forcent un repeint permanent d'une zone que personne ne regarde.
       Combiné au voile plein écran, cela occupait le compositeur en continu
       — au point de faire saccader une vidéo dans un AUTRE onglet, le
       processus GPU étant partagé.
       ------------------------------------------------------------------ */
    body.modal-ouvert .notification-badge-client,
    body.modal-ouvert .scroll-indicator,
    body.modal-ouvert .status-pulse {
        animation-play-state: paused;
    }
