/* ============================================= */
/* CSS SPÉCIFIQUE TECHTINKR V2           */
/* Nouveau modèle : 4 workshops/mois, abonnement */
/* ============================================= */

/* ========== PAGE PROGRAMME ========== */

/* Section Concept */
.mf-section-programme-concept {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--mf-bg-white-base) 0%, var(--mf-bg-white-texture) 100%);
}

.mf-programme-details {
    margin-top: 3rem;
}

.mf-detail-card {
    background-color: white;
    border-radius: var(--mf-border-radius-card);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mf-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.mf-detail-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mf-accent-warm);
    margin-bottom: 0.5rem;
    font-family: var(--mf-font-titles);
}

.mf-detail-card p {
    font-size: 0.9rem;
    color: var(--mf-accent-secondary-subtle);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mf-lead {
    font-size: 1.25rem;
    color: var(--mf-accent-secondary-subtle);
    max-width: 800px;
    margin: 1.5rem auto;
    text-align: center;
}

/* Section Programme Complet */
.mf-section-programme-complet {
    padding: 5rem 0;
    background-color: var(--mf-bg-dark);
}

.mf-section-programme-complet .mf-h2-dark {
    color: var(--mf-text-light);
    text-align: center;
    margin-bottom: 4rem;
}

.mf-bloc-programme {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--mf-border-radius-card);
    padding: 3rem;
    margin-bottom: 3rem;
    border-left: 5px solid var(--mf-accent-warm);
}

.mf-bloc-titre {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--mf-accent-warm);
    margin-bottom: 1rem;
    font-family: var(--mf-font-titles);
}

.mf-bloc-objectif {
    font-size: 1.1rem;
    color: var(--mf-text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.mf-seances-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mf-seance-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mf-seance-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: var(--mf-accent-warm);
}

.mf-seance-numero {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--mf-accent-warm);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.mf-seance-card h4 {
    font-size: 1.1rem;
    color: var(--mf-text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mf-seance-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.mf-sensibilisation-ia {
    color: var(--mf-accent-warm);
    font-style: italic;
    font-size: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(217, 119, 6, 0.1);
    border-radius: 8px;
}

/* Section Fonctionnement */
.mf-section-fonctionnement {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--mf-bg-white-texture) 0%, var(--mf-bg-white-base) 100%);
}

.mf-step-card {
    background-color: white;
    border-radius: var(--mf-border-radius-card);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s;
}

.mf-step-card:hover {
    transform: translateY(-5px);
}

.mf-step-numero {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--mf-accent-warm) 0%, #F59E0B 100%);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
}

.mf-step-card h4 {
    font-size: 1.25rem;
    color: var(--mf-text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.mf-step-card p {
    font-size: 0.95rem;
    color: var(--mf-accent-secondary-subtle);
    margin: 0;
    line-height: 1.6;
}

.mf-cta-centre {
    text-align: center;
    margin-top: 3rem;
}

/* Section Livrables */
.mf-section-livrables {
    padding: 5rem 0;
    background-color: var(--mf-bg-white-base);
}

.mf-livrables-liste {
    list-style: none;
    padding: 0;
}

.mf-livrables-liste li {
    font-size: 1.1rem;
    color: var(--mf-text-dark);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.mf-livrables-liste li:hover {
    color: var(--mf-accent-warm);
    padding-left: 10px;
}

/* ========== CARTES PHASE PROGRAMME (PAGE INDEX) ========== */

.mf-programme-phase-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--mf-border-radius-card);
    padding: 2.5rem 2rem;
    text-center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.mf-programme-phase-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: var(--mf-accent-warm);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
}

.mf-programme-phase-card h4 {
    font-size: 1.35rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mf-programme-phase-card p {
    font-size: 1rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

/* ========== PAGES LÉGALES ========== */

.mf-section-legal {
    padding: 5rem 0;
    background-color: var(--mf-bg-white-base);
}

.mf-legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.mf-legal-content h2 {
    font-size: 2rem;
    color: var(--mf-text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--mf-accent-warm);
}

.mf-legal-content h3 {
    font-size: 1.5rem;
    color: var(--mf-accent-primary-deep);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.mf-legal-content h4 {
    font-size: 1.25rem;
    color: var(--mf-text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mf-legal-content p,
.mf-legal-content li {
    font-size: 1rem;
    color: var(--mf-accent-secondary-subtle);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mf-legal-content ol,
.mf-legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.mf-legal-content ol li,
.mf-legal-content ul li {
    margin-bottom: 0.5rem;
}

.mf-legal-content a {
    color: var(--mf-accent-warm);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.mf-legal-content a:hover {
    border-bottom-color: var(--mf-accent-warm);
}

.mf-last-update {
    font-size: 0.9rem;
    color: var(--mf-accent-secondary-subtle);
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* ========== PAGES AUTHENTIFICATION ========== */

.mf-section-auth {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--mf-bg-white-base) 0%, var(--mf-bg-white-texture) 100%);
    min-height: calc(100vh - 400px);
}

.mf-auth-form {
    background-color: white;
    border-radius: var(--mf-border-radius-card);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.mf-auth-form input[type="text"],
.mf-auth-form input[type="email"],
.mf-auth-form input[type="password"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
    margin-bottom: 1rem;
}

.mf-auth-form input:focus {
    outline: none;
    border-color: var(--mf-accent-warm);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.mf-auth-form label {
    display: block;
    font-weight: 600;
    color: var(--mf-text-dark);
    margin-bottom: 0.5rem;
}

/* ========== ESPACE PARTICIPANT ========== */

.mf-section-app-dashboard {
    padding: 3rem 0;
    background-color: var(--mf-bg-white-texture);
    min-height: calc(100vh - 400px);
}

.mf-dashboard-card {
    background-color: white;
    border-radius: var(--mf-border-radius-card);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.mf-dashboard-card:hover {
    transform: translateY(-5px);
}

.mf-dashboard-card h3 {
    font-size: 1.25rem;
    color: var(--mf-text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.mf-dashboard-card p {
    font-size: 1.5rem;
    color: var(--mf-accent-warm);
    font-weight: 800;
    margin: 0;
}

.mf-quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Section Workshops */
.mf-section-app-cours {
    padding: 3rem 0;
    background-color: var(--mf-bg-white-texture);
    min-height: calc(100vh - 400px);
}

.mf-cours-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mf-filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--mf-border-radius-pill);
    font-weight: 600;
    color: var(--mf-text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.mf-filter-btn:hover {
    border-color: var(--mf-accent-warm);
    color: var(--mf-accent-warm);
}

.mf-filter-btn.active {
    background-color: var(--mf-accent-warm);
    border-color: var(--mf-accent-warm);
    color: white;
}

.mf-cours-liste {
    margin-top: 2rem;
}

.mf-cours-card {
    background-color: white;
    border-radius: var(--mf-border-radius-card);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.mf-cours-card:hover {
    transform: translateY(-5px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .mf-detail-card h3 {
        font-size: 1.75rem;
    }
    
    .mf-detail-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .mf-section-programme-concept,
    .mf-section-programme-complet,
    .mf-section-fonctionnement,
    .mf-section-livrables {
        padding: 3rem 0;
    }

    .mf-detail-card {
        padding: 1.5rem 1rem;
    }

    .mf-detail-card h3 {
        font-size: 1.5rem;
    }
    
    .mf-detail-card p {
        font-size: 0.8rem;
        white-space: normal;
    }

    .mf-bloc-programme {
        padding: 2rem 1.5rem;
    }

    .mf-seances-liste {
        grid-template-columns: 1fr;
    }

    .mf-auth-form {
        padding: 2rem 1.5rem;
    }

    .mf-quick-actions {
        flex-direction: column;
    }

    .mf-quick-actions .mf-pill-button {
        width: 100%;
    }

    .mf-programme-phase-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .mf-lead {
        font-size: 1.1rem;
    }

    .mf-detail-card {
        padding: 1.25rem 0.75rem;
    }
    
    .mf-detail-card h3 {
        font-size: 1.35rem;
    }
    
    .mf-detail-card p {
        font-size: 0.75rem;
    }

    .mf-step-card {
        padding: 2rem 1.5rem;
    }

    .mf-bloc-titre {
        font-size: 1.5rem;
    }

    .mf-programme-phase-card h4 {
        font-size: 1.15rem;
    }
}
