/* e-labo — Styles spécifiques (bootstrap.css + css/common.css chargés avant) */

.header-icone { color: #e74c3c; }

main {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
}

.app-card {
    position: relative;
    background: #f5f7fa;
    border: 1px solid #dce1e6;
    border-bottom: 4px solid var(--app-couleur);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px var(--app-ombre);
}

.app-banner {
    height: 100px;
    color: #fff;
}

.app-title {
    font-family: "Cairo Play", sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--app-debut);
    margin: 0 0 8px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.app-title:hover,
.app-card:hover .app-title {
    color: var(--app-couleur);
}

.app-btn {
    background: var(--app-debut);
    border-color: var(--app-debut);
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.app-btn:hover,
.app-card:hover .app-btn {
    background: var(--app-couleur);
    border-color: var(--app-couleur);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--app-ombre);
}

/* Responsive smartphone — cards horizontales */
@media (max-width: 600px) {
    .app-card {
        display: flex;
        flex-direction: row;
        border-bottom-width: 0;
        border-right: 4px solid var(--app-couleur);
    }
    .app-card:hover {
        transform: none;
        box-shadow: none;
    }
    .app-banner {
        height: auto;
        width: 80px;
        min-height: 80px;
        flex-shrink: 0;
        border-radius: 0;
    }
    .app-banner svg {
        width: 40px;
        height: 40px;
    }
    .card-body {
        padding: 10px 12px !important;
        text-align: left !important;
        justify-content: center;
    }
    .app-title {
        font-size: 1.1em;
        margin-bottom: 2px;
    }
    .card-body p {
        margin-bottom: 6px !important;
    }
    .card-body .d-flex {
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    .app-btn {
        font-size: 0.85em;
        padding: 4px 12px !important;
    }
}
