/* splash.css — écran d'accueil : logo MF + choix du portfolio */

body.splash-mode {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(1200px 600px at 50% -10%, #fff0f6 0%, #ffffff 60%),
        #ffffff;
    overflow-x: hidden;
}

.splash {
    width: 100%;
    max-width: 920px;
    padding: 40px 24px 100px;
    text-align: center;
}

/* --- Logo MF --- */
.mf-logo {
    font-family: var(--font-title), serif;
    font-weight: 700;
    font-size: clamp(5rem, 18vw, 9rem);
    line-height: 1;
    letter-spacing: 0.05em;
    color: #111;
    display: inline-flex;
    gap: 0.04em;
}
.mf-logo span {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    animation: mf-letter 0.8s cubic-bezier(.2, .7, .2, 1) forwards;
}
.mf-logo .mf-m { animation-delay: 0.15s; }
.mf-logo .mf-f { animation-delay: 0.40s; color: #f5a8c7; }
@keyframes mf-letter {
    to { opacity: 1; transform: translateY(0); }
}
.mf-underline {
    height: 4px;
    width: 0;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #f5a8c7, #880e4f);
    animation: mf-line 0.7s ease 0.9s forwards;
}
@keyframes mf-line { to { width: 120px; } }

.splash-sub {
    margin-top: 18px;
    font-family: var(--font-body);
    color: #555;
    font-size: 1.05rem;
    opacity: 0;
    animation: splash-fade 0.6s ease 1.1s forwards;
}
.splash-prompt {
    margin-top: 42px;
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #111;
    opacity: 0;
    animation: splash-fade 0.6s ease 1.3s forwards;
}

/* --- Cartes de choix --- */
.mode-cards {
    margin-top: 26px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.mode-card {
    flex: 1 1 280px;
    max-width: 340px;
    text-decoration: none;
    color: #111;
    background: #fff;
    border: 1px solid #f5a8c7;
    border-radius: 20px;
    padding: 30px 26px;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    opacity: 0;
    animation: splash-rise 0.6s ease forwards;
}
.mode-card.acad { animation-delay: 1.45s; }
.mode-card.pro  { animation-delay: 1.60s; }
.mode-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(136, 14, 79, 0.15);
    border-color: #880e4f;
}
.mode-card .mode-ico { font-size: 2.4rem; }
.mode-card h2 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin: 12px 0 8px;
}
.mode-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px;
}
.mode-card .mode-go {
    font-family: var(--font-body);
    font-weight: 600;
    color: #880e4f;
}

.splash-note {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #999;
    opacity: 0;
    animation: splash-fade 0.6s ease 1.8s forwards;
}

@keyframes splash-fade { to { opacity: 1; } }
@keyframes splash-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .mf-logo { font-size: clamp(4rem, 26vw, 7rem); }
    .splash { padding-top: 20px; }
    .mode-card { text-align: center; }
}
