/* Vue : resources/views/site/modules.blade.php */

.modules-liste {
    padding: 4rem 1.5rem;
    background-color: #ffffff;
}

.modules-liste__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-fiche {
    display: flex;
    gap: 1.6rem;
    padding: 1.8rem;
    border: 1px solid #e3ece9;
    border-radius: 12px;
    align-items: flex-start;
}

.module-fiche--materiel {
    background-color: var(--hd-light);
    border-color: var(--hd-mint);
    border-style: dashed;
}

.module-fiche__repere {
    font-family: var(--hd-police-titres);
    font-size: 1.6rem;
    color: var(--hd-mint);
    font-weight: bold;
    min-width: 3rem;
}

.module-fiche__contenu h2 {
    font-size: 1.25rem;
    color: var(--hd-text);
    margin-bottom: 0.15em;
}

.module-fiche__role {
    color: var(--hd-teal);
    font-weight: bold;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6em;
}

.module-fiche__contenu p:last-child {
    color: var(--hd-text-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .module-fiche {
        flex-direction: column;
        gap: 0.6rem;
    }
}
