/* ============================================
   PAGE PRINCIPALE
   ============================================ */
.profile-choice-header {
    position: fixed;
    top: 0;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    z-index: 100;
    background-color: transparent;
}

.profile-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
}



/* ============================================
   EN-TÊTE
   ============================================ */

.profile-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.profile-header h1 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.profile-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* ============================================
   GRILLE DES CARTES
   ============================================ */

.profile-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

/* ============================================
   CARTE DE PROFIL
   ============================================ */

.profile-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.profile-card h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.profile-card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.profile-card .btn {
    width: 100%;
}

/* ============================================
   NOTE EN BAS
   ============================================ */

.profile-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

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

@media (max-width: 768px) {

    .profile-choice-header {
        padding: var(--space-sm) var(--space-md);
    }

    .profile-choice-header .text-mode {
        display: none;
    }

    .profile-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .profile-header h1 {
        font-size: 1.5rem;
    }
}