/* =========================================
   1. GLOBAL & RESET
   ========================================= */
* {
    box-sizing: border-box; /* Permet de mieux gérer les tailles */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Police plus moderne */
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.main-header {
    background-color: white;
    border-bottom: 3px solid #fe7000; /* Ligne Orange Basic-Fit */
    padding: 15px 0;
    position: sticky; /* Le menu reste accroché en haut */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 26px;
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo span {
    color: #fe7000;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #444;
    font-weight: 600;
    font-size: 0.95em;
}

.main-nav a:hover {
    color: #fe7000;
}

.link-coach {
    background-color: #333;
    color: white !important;
    padding: 8px 18px;
    border-radius: 30px; /* Bord arrondis */
}

.link-coach:hover {
    background-color: #fe7000;
}

.user-welcome {
    color: #fe7000;
    font-weight: bold;
}

.btn-logout {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9em;
    text-decoration: underline;
}

.btn-logout:hover {
    color: red;
}

/* =========================================
   3. SECTION HERO (BANNIÈRE AVEC IMAGE)
   ========================================= */
.hero {
    /* Image chargée directement depuis Internet (Unsplash) */
    /* Le linear-gradient sert à assombrir l'image pour qu'on lise le texte */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1920&auto=format&fit=crop');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet parralax sympa */
    height: 600px; /* Hauteur de la bannière */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Petit trait orange sous le titre */
.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #fe7000;
    margin: 20px auto;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* =========================================
   4. BOUTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px; /* Boutons bien ronds */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    margin: 10px;
    cursor: pointer;
}

.btn-primary {
    background-color: #fe7000;
    color: white;
    border: 2px solid #fe7000;
    box-shadow: 0 4px 15px rgba(254, 112, 0, 0.4); /* Ombre orange */
}

.btn-primary:hover {
    background-color: #e06000;
    border-color: #e06000;
    transform: translateY(-2px); /* Le bouton monte un peu */
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #333;
}

/* Bouton outline version orange pour fond blanc */
a.btn-outline.orange-border {
    border-color: #fe7000;
    color: #fe7000;
}

.btn-secondary {
    background-color: #444;
    color: white;
    border: 2px solid #444;
}

/* =========================================
   5. SECTIONS CONTENU (Concept, Programmes)
   ========================================= */
.concept {
    text-align: center;
    padding: 80px 20px;
}

.concept h2 {
    font-size: 2.5em;
    color: #333;
}

.programmes {
    padding: 60px 20px 100px;
    background-color: white;
}

.programmes h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.programmes-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* CARTES PROGRAMMES */
.card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    width: 320px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Ombre douce */
    border-top: 5px solid #fe7000; /* Ligne colorée en haut de la carte */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px); /* Animation au survol */
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.card p {
    color: #666;
    font-size: 0.95em;
}

/* =========================================
   8. FORMULAIRES (Connexion / Inscription)
   ========================================= */

/* Section qui centre le formulaire sur la page */
.form-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh; /* Prend au moins 60% de la hauteur de l'écran */
}

/* La carte blanche du formulaire */
.form-card {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px; /* Largeur max pour ne pas être trop large */
    border-top: 5px solid #fe7000; /* Petite touche orange en haut */
}

.form-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

/* Espacement entre les champs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* Les champs de saisie (input) */
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: 0.3s;
}

.form-input:focus {
    border-color: #fe7000; /* Bordure orange quand on clique dedans */
    outline: none;
    box-shadow: 0 0 5px rgba(254, 112, 0, 0.2);
}

/* Zone de texte (textarea) pour l'inscription */
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Message d'erreur */
.alert-error {
    background-color: #ffe6e6;
    color: #d63031;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #d63031;
}

/* Lien en bas du formulaire */
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.form-footer a {
    color: #fe7000;
    font-weight: bold;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Bouton pleine largeur */
.full-width {
    width: 100%;
    display: block;
    text-align: center;
}
/* =========================================
   10. STYLE PAGE PROGRAMME
   ========================================= */

/* Hero spécifique avec image de fond */
.prog-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.badge-hero {
    background: #fe7000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 15px;
    display: inline-block;
}

/* Layout 2 colonnes (Gauche: Contenu, Droite: Résumé) */
.prog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
}

.prog-main {
    flex: 2; /* Prend 2/3 de la largeur */
    min-width: 300px;
}

.prog-sidebar {
    flex: 1; /* Prend 1/3 de la largeur */
    min-width: 300px;
}

/* Texte */
.prog-desc {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Le Tableau des exos */
.table-wrapper {
    overflow-x: auto; /* Scroll si sur mobile */
}

.prog-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.prog-table th {
    background: #333;
    color: white;
    padding: 15px;
    text-align: left;
}

.prog-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.prog-table tr:nth-child(even) {
    background-color: #fcfcfc; /* Une ligne sur deux un peu grise */
}

/* La Carte Résumé (Sidebar) */
.summary-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #fe7000;
    position: sticky; /* Reste affiché quand on scroll */
    top: 100px; /* Décalage par rapport au haut */
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.summary-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.summary-list .icon {
    font-size: 1.5em;
    margin-right: 15px;
    background: #fff4e6;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.summary-list strong {
    display: block;
    color: #333;
}

.summary-list small {
    color: #fe7000;
    font-weight: bold;
    font-size: 1.1em;
}
/* =========================================
   6. SECTION COACH (FONCÉE)
   ========================================= */
.section-coach {
    background-color: #222; /* Très foncé */
    color: white;
    text-align: center;
    padding: 80px 20px;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Petite texture carbone subtile */
}

.section-coach h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.section-coach p {
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 40px;
}

.form-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Changé de center à flex-start pour éviter de couper le haut sur petit écran */
    min-height: 80vh; 
    padding-top: 100px; /* Un peu d'espace avec le header */
}
/* Style pour les tables de programmes */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden; /* Pour que les coins ronds marchent sur le header */
}

.custom-table th {
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: left;
}

.custom-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

/* Style pour que la carte prenne toute la largeur en mode détail */
.full-width-card {
    width: 100% !important; /* Force la largeur */
    max-width: 100%;
}
/* --- BOUTON SPÉCIAL POUR LES CARTES BLANCHES --- */
.btn-card {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 2px solid #fe7000; /* Contour Orange */
    color: #fe7000;            /* Texte Orange */
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-card:hover {
    background-color: #fe7000; /* Devient Orange au survol */
    color: white;              /* Texte devient Blanc */
}
/* =========================================
   7. FOOTER
   ========================================= */
.main-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-col h3 span { color: #fe7000; }
.footer-col h4 { 
    color: white; 
    margin-bottom: 20px; 
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #888; transition: 0.3s; }
.footer-col a:hover { color: #fe7000; padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
    color: #555;
    background-color: #111;
}

/* =========================================
   11. PAGE PROGRAMME & ESPACE CLIENT (CLEAN)
   ========================================= */

/* --- IMAGES DE FOND (Gérées en CSS maintenant) --- */
.bg-prise_masse {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?q=80&w=1920&auto=format&fit=crop');
}

.bg-seche {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?q=80&w=1920&auto=format&fit=crop');
}

.bg-remise_forme {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?q=80&w=1920&auto=format&fit=crop');
}

/* --- HERO SPÉCIFIQUE --- */
.prog-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.badge-hero {
    background: #fe7000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 15px;
    display: inline-block;
}

/* --- CONTENEUR FLEXIBLE (2 Colonnes) --- */
.prog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 60px;
}

.prog-main {
    flex: 2;
    min-width: 300px;
}

.prog-sidebar {
    flex: 1;
    min-width: 300px;
}

/* --- BLOC VERROUILLÉ (Cadenas) --- */
.locked-content {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #fe7000;
    margin-top: 20px;
}

.locked-overlay {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.lock-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 10px;
}

/* --- SIDEBAR RÉSUMÉ --- */
.summary-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #fe7000;
    position: sticky;
    top: 100px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.summary-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.summary-list .icon {
    font-size: 1.5em;
    margin-right: 15px;
    background: #fff4e6;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- ESPACE CLIENT --- */
.padding-container {
    padding: 40px 20px;
}

.coach-found {
    text-align: left;
}

.programme-actions {
    margin-top: 20px;
    text-align: right;
}

/* --- STYLE FICHE CLIENT (COACH) --- */
.card-body-detail {
    font-size: 0.95em;
    color: #555;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.motivation-box {
    background-color: #fff3e0; /* Fond orange très clair */
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-style: italic;
    font-size: 0.9em;
    border-left: 3px solid #fe7000;
}

.programme-assigned {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    color: #333;
}

/* =========================================
   STYLE "DÉCOUVERTE PROGRAMMES" (Longue Carte)
   ========================================= */

.discover-card {
    display: flex; /* Met l'image et le texte côte à côte */
    background: white;
    border-radius: 15px;
    overflow: hidden; /* Empêche l'image de dépasser */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    margin-top: 30px;
    border-left: 8px solid #fe7000; /* Belle ligne orange sur le côté */
    min-height: 350px;
}

/* Partie Image (Gauche) */
.discover-image {
    flex: 1; /* Prend 50% de la largeur */
    
    /* On force une hauteur minimale pour être sûr qu'elle s'affiche */
    min-height: 400px; 
    
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* Partie Texte (Droite) */
.discover-content {
    flex: 1; /* Prend 50% de la largeur */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: flex-start; /* Aligne le texte à gauche */
    text-align: left;
}

.discover-content h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.discover-content p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* RESPONSIVE : Sur mobile, on empile l'image au-dessus du texte */
@media (max-width: 768px) {
    .discover-card {
        flex-direction: column;
    }
    .discover-image {
        height: 250px; /* Hauteur fixe sur mobile */
        width: 100%;
    }
    .discover-content {
        padding: 30px;
        align-items: center;
        text-align: center;
    }
}

/* =========================================
   11. NOUVEAU LAYOUT CLIENT (Bas de page)
   ========================================= */

/* Ligne du haut (Coach + Dispo côte à côte) */
.dashboard-split-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.coach-section {
    flex: 2; /* Le coach prend plus de place */
    min-width: 300px;
}

.info-card {
    flex: 1; /* Les dispos prennent moins de place */
    min-width: 250px;
    background: white; /* Fond blanc comme les autres */
    border: 1px solid #eee;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Profil Coach Horizontal (plus compact pour le haut) */
.coach-profile-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.coach-details h4 { margin: 0 0 5px 0; }
.btn-text { color: #fe7000; font-weight: bold; font-size: 0.9em; margin-top: 5px; display: inline-block; }

/* Petite recherche */
.coach-searching-small {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #fffaf5;
    border-radius: 8px;
}
.pulse-icon-small { font-size: 1.5em; animation: pulse 2s infinite; }

/* --- PROGRAMME LARGE (EN BAS) --- */
.programme-large {
    width: 100%;
    min-height: 500px; /* On force une belle hauteur */
    padding: 40px;
    border-top: 5px solid #fe7000; /* Rappel visuel */
}

/* Zone verrouillée large */
.locked-zone-large {
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 12px;
    border: 2px dashed #ddd;
    margin-top: 20px;
}

/* =========================================
   10. DESIGN CLIENT MODERNE (NEW)
   ========================================= */

/* --- BANNIÈRE BIENVENUE --- */
.dashboard-welcome {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.welcome-text h1 { margin: 0; font-size: 1.8em; color: white; }
.welcome-text p { margin: 5px 0 0; color: #ccc; }
.welcome-icon { font-size: 2.5em; }

/* --- BARRE DE STATS (KPI) --- */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.stat-card:hover { transform: translateY(-3px); }

.stat-icon { font-size: 2em; background: #fff5eb; padding: 10px; border-radius: 50%; }
.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 0.85em; color: #888; text-transform: uppercase; font-weight: bold; }
.stat-value { font-size: 1.2em; font-weight: bold; color: #333; }
.stat-value.orange { color: #fe7000; }

/* --- LAYOUT ASYMÉTRIQUE --- */
.dashboard-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sidebar-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-section {
    flex: 2; /* Le programme prend plus de place */
    min-width: 300px;
}

/* --- PROFIL COACH --- */
.coach-profile { text-align: center; padding: 10px 0; }

.avatar-circle {
    width: 80px;
    height: 80px;
    background: #fe7000;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid #fff5eb;
}

.coach-actions { margin-top: 20px; }

.info-card {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #ddd;
}
.info-card h4 { margin: 0 0 10px; color: #555; font-size: 1em; }
.info-card p { margin: 0; color: #333; font-weight: 500; }

/* --- ETAT RECHERCHE --- */
.coach-searching { text-align: center; padding: 30px 0; }
.pulse-icon { font-size: 3em; margin-bottom: 10px; animation: pulse 2s infinite; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- PROGRAMME CARD --- */
.programme-card { min-height: 400px; }

.card-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.card-header-clean h3 { margin: 0; }

/* --- ZONE VERROUILLÉE MODERNE --- */
.locked-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #e0e0e0;
}

.lock-circle {
    width: 70px;
    height: 70px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #888;
}

.locked-zone h3 { color: #555; margin-bottom: 10px; }
.locked-zone p { color: #888; max-width: 80%; margin: 0 auto; }

/* =========================================
   12. MODERN COACH DASHBOARD (NEW DESIGN)
   ========================================= */

/* --- BANNIÈRE D'ENTÊTE --- */
.dashboard-banner {
    background: white;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-left: 6px solid #fe7000; /* Accent orange */
}

.banner-info h1 { margin: 0; font-size: 2em; color: #222; }
.banner-info p { margin: 8px 0 0; color: #777; font-size: 1.1em; }

.banner-stat {
    text-align: right;
    background: #fffaf5; /* Fond orange très pâle */
    padding: 15px 25px;
    border-radius: 12px;
}
.banner-stat .stat-label { display: block; font-size: 0.9em; color: #888; text-transform: uppercase; font-weight: bold; }
.banner-stat .stat-value.orange { font-size: 1.5em; color: #fe7000; font-weight: 800; }

/* --- TITRES DE SECTION --- */
.section-title-modern {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.count-badge {
    background: #eee;
    color: #555;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7em;
    vertical-align: middle;
}
.count-badge.gray { background: #e0e0e0; }

/* --- SÉPARATEUR --- */
.section-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 60px 0;
}

/* --- CARTES MODERNES (Structure de base) --- */
.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* En-tête de carte */
.modern-card-header {
    padding: 20px 25px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.client-identity h3 { margin: 0 0 5px 0; font-size: 1.3em; }
.client-goal, .client-email { font-size: 0.95em; color: #fe7000; font-weight: 600; display: block;}
.client-email { color: #777; transition: 0.3s; }
.client-email:hover { color: #fe7000; text-decoration: underline; }

/* Badges Modernes */
.badge-modern {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-modern.new { background: #e6fcf5; color: #0ca678; } /* Vert menthe frais */
.badge-modern.orange { background: #fff4e6; color: #fe7000; }

/* Corps de carte */
.modern-card-body {
    padding: 25px;
    flex-grow: 1;
    background: #fcfcfc;
}

/* Grille de statistiques internes */
.card-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    gap: 15px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 15px 10px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.stat-item.full-width-stat { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; text-align: left;}

.stat-item .icon { font-size: 1.4em; display: block; margin-bottom: 5px; }
.stat-item .label { font-size: 0.8em; color: #999; text-transform: uppercase; font-weight: bold; display: block;}
.stat-item .value { font-weight: 700; color: #333; font-size: 1.1em; }
.stat-item .value.small { font-size: 0.95em; font-weight: 500; }

/* Blocs d'infos et citation */
.info-block { margin-bottom: 20px; color: #555; font-size: 0.95em; }
.info-block p { margin: 5px 0 0; }

.motivation-quote {
    background: #fffbf6; /* Orange très très pâle */
    padding: 20px 25px;
    border-radius: 12px;
    font-style: italic;
    color: #666;
    position: relative;
    border-left: 4px solid #fe7000;
}
/* Petite icône de guillemet en arrière-plan */
.motivation-quote::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3em;
    color: rgba(254, 112, 0, 0.1);
    font-family: serif;
}

/* Footer et Boutons Modernes */
.modern-card-footer {
    padding: 20px 25px;
    background: white;
    border-top: 1px solid #f5f5f5;
}

.btn-modern {
    padding: 12px 20px;
    border-radius: 8px; /* Coins moins arrondis pour un look plus "tech" */
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-align: center;
    display: inline-block;
}

.btn-modern.success {
    background-color: #27ae60;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* =========================================
   13. STYLES FICHES CLIENTS DÉTAILLÉES
   ========================================= */

/* Ligne Email / Info */
.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: #f4f4f4;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9em;
}
.info-icon { font-size: 1.2em; }
.info-text { font-weight: 500; color: #333; }

/* Grille de données (Poids/Taille/Salle) */
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    margin-bottom: 15px;
}

.data-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
}

.data-item .lbl {
    font-size: 0.75em;
    text-transform: uppercase;
    color: #888;
    font-weight: bold;
    margin-bottom: 4px;
}

.data-item .val {
    font-size: 1em;
    font-weight: 700;
    color: #222;
}

/* Séparateur interne */
.card-divider {
    border: 0;
    border-top: 1px dashed #ddd;
    margin: 15px 0;
}

/* Texte petit pour la motivation dans les clients actifs */
.small-text {
    font-size: 0.9em;
    font-style: italic;
    color: #666;
    margin-top: 2px;
}