/* Page d'accueil de la formation — extraite de index.html */

:root {
    --seanergy-blue: #0066cc;
    --seanergy-dark-blue: #003d7a;
    --seanergy-light-blue: #4d94ff;
    --seanergy-orange: #ff6b35;
    --seanergy-green: #00d084;
    --seanergy-yellow: #ffd93d;
    --border-color: #d5dbdb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    min-height: 100vh;
    padding: 2rem;
}

.container { max-width: 1400px; margin: 0 auto; }

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 600;
    letter-spacing: -1px;
}

.header p {
    font-size: 1.5rem;
    color: var(--seanergy-yellow);
    margin-bottom: 1rem;
    font-weight: 400;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.info-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-box h3 {
    color: var(--seanergy-yellow);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box p { opacity: 0.95; }

.section-label {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    padding: 0.8rem 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    border-left: 4px solid var(--seanergy-yellow);
    color: var(--seanergy-yellow);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.module-card {
    background: white;
    color: #232f3e;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1a1a2e, #0066cc);
}

.module-card.gitlab::before {
    background: linear-gradient(90deg, #fc6d26, #fca326);
}

.module-card.podman::before {
    background: linear-gradient(90deg, #ff6b35, #ffd93d);
}

.module-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.module-number {
    background: var(--seanergy-blue);
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.module-card.m1 .module-number { background: #4d94ff; }
.module-card.m2 .module-number { background: #ffd93d; color: #333; }
.module-card.m3 .module-number { background: #00d084; }
.module-card.m4 .module-number { background: #ff6b35; }
.module-card.m5 .module-number { background: #a855f7; }
.module-card.m6 .module-number { background: #14b8a6; }
.module-card.m7 .module-number { background: #fc6d26; }
.module-card.m8 .module-number { background: #fca326; color: #333; }
.module-card.m9 .module-number { background: #00d084; }
.module-card.m10 .module-number { background: #ff6b35; }
.module-card.m11 .module-number { background: #a855f7; }
.module-card.m12 .module-number { background: #14b8a6; }
.module-card.m13 .module-number { background: #e53e3e; }
.module-card.m14 .module-number { background: #38a169; }
.module-card.m15 .module-number { background: #805ad5; }
.module-card.m16 .module-number { background: #d69e2e; }
.module-card.m17 .module-number { background: #3182ce; }
.module-card.m18 .module-number { background: #dd6b20; }
.module-card.m19 .module-number { background: #718096; }

.module-title {
    font-size: 1.5rem;
    color: var(--seanergy-dark-blue);
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.module-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-git { background: #f0f0f0; color: #333; }
.badge-gitlab { background: #fef3e7; color: #fc6d26; }
.badge-podman { background: #fff3e0; color: #ff6b35; }

.module-slides {
    color: var(--seanergy-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.module-description {
    color: #455a64;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
    font-weight: 300;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.back-link:hover { color: white; }

@media (max-width: 768px) {
    .header h1 { font-size: 2rem; }
    .modules-grid { grid-template-columns: 1fr; }
}


/* Badge générique pour les parties sans style dédié */
.badge-default { background: #e8f1fc; color: var(--seanergy-dark-blue); }
.module-slides .fa-clock { margin-left: 0.3rem; }
