```css
/* ═══════════════════════════════════════════
   Portail d'accueil — Cour des Comptes
   Fond institutionnel net, overlay bleu, cartes glass.
   Charte : bleu #0095C9 (dominant), jaune #FFF24B / rouge #DB3832 (accents).
   ═══════════════════════════════════════════ */

/* ── Structure plein écran ─────────────────────────────────────── */
.portal {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Image de fond NETTE.
   Aucun flou n'est appliqué afin de préserver la qualité originale. */
.portal-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 35%;
}

/* Copie du fond sans flou.
   Elle conserve exactement la netteté de l'image source. */
.portal-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit;
    background-repeat: inherit;
    background-position: inherit;
    filter: none;
    transform: none;
}

/* Overlay bleu institutionnel léger.
   L'image reste visible et nette tout en assurant la lisibilité du contenu. */
.portal-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 40, 65, 0.30),
        rgba(0, 80, 120, 0.24)
    );
}

/* ── Contenu ───────────────────────────────────────────────────── */
.portal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
}

.portal-header {
    max-width: 860px;
    width: 100%;
    margin-bottom: 0.75rem;
}

.portal-logo {
    height: auto;
    max-width: min(150px, 24vw);
    margin-bottom: 0.55rem;
}

.portal-institution {
    color: #eef6fb;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    max-width: 100%;
    text-shadow: 0 1px 5px rgba(0, 40, 65, 0.4);
}

@media (max-width: 767.98px) {
    .portal-institution {
        font-size: 1.1rem;
    }
}

.portal-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0.6rem auto 0;
    text-align: center;

    /* Le titre sort du conteneur de 860 px et du padding horizontal du
       contenu : il est centré sur l'axe central réel du viewport. */
    display: block;
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    white-space: nowrap;

    /* Espace entre le titre et la première rangée de cartes */
    margin-bottom: 1.75rem;

    text-shadow: 0 1px 6px rgba(0, 40, 65, 0.45);
}

.portal-intro {
    color: #e8f4fa;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto;
}

.portal-intro strong {
    color: #ffffff;
}

/* ── Cartes glass ──────────────────────────────────────────────── */
.portal-cards {
    width: 100%;
    max-width: 980px;

    /* Compense la marge négative verticale de Bootstrap */
    margin-top: 0.4rem !important;
}

.portal-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 40, 65, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 40, 65, 0.35);
}

.portal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 4px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(
        90deg,
        var(--cdc-blue),
        var(--cdc-yellow) 60%,
        var(--cdc-red)
    );
}

.portal-card-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    color: var(--cdc-blue);
    background: rgba(0, 149, 201, 0.12);
}

.portal-card-icon svg {
    width: 1.9rem;
    height: 1.9rem;
}

.portal-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cdc-blue-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal-card-text {
    color: #35404a;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* ── Boutons des cartes ────────────────────────────────────────── */
.portal-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    padding: 0.85rem 1.6rem;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 0.6rem;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.portal-card-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.portal-card-btn:focus-visible {
    outline: 3px solid rgba(255, 242, 75, 0.85);
    outline-offset: 2px;
}

/* Bouton GED : bleu institutionnel dominant */
.portal-card-btn[href*="connexion"],
.portal-card-btn[href*="tableau-de-bord"] {
    background: var(--cdc-blue);
    color: #ffffff;
}

.portal-card-btn[href*="connexion"]:hover,
.portal-card-btn[href*="tableau-de-bord"]:hover {
    background: var(--cdc-blue-dark);
    color: #ffffff;
}

/* Bouton rendez-vous */
.portal-card-btn-primary {
    background: var(--cdc-blue);
    color: #ffffff;
}

.portal-card-btn-primary:hover {
    background: var(--cdc-blue-dark);
    color: #ffffff;
}

/* Module en cours de finalisation */
.portal-card-soon {
    align-self: flex-start;
    display: inline-block;
    padding: 0.8rem 1.4rem;
    font-size: 0.92rem;
    color: #4a535c;
    background: rgba(255, 242, 75, 0.32);
    border: 1px solid rgba(230, 218, 67, 0.75);
    border-radius: 0.6rem;
    line-height: 1.5;
}

/* ── Sigles dominants des cartes ──────────────────────────────── */
.module-card-acronym {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    margin: 0 0 0.35rem;
}

.module-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a3c52;
    margin-bottom: 0.1rem;
    min-height: 2.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
}

.module-card-title-long {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mod-gec-acronym,
.mod-gpg-acronym {
    color: #0077a3;
}

.mod-grdv-acronym {
    color: #8a8400;
}

.mod-ged-acronym,
.mod-tbpi-acronym {
    color: #0095C9;
}

.mod-email-acronym,
.mod-gdcav-acronym {
    color: #b02c28;
}

.mod-gcev-acronym {
    color: #00a86b;
}

/* ── Pied de page ──────────────────────────────────────────────── */
.portal-footer {
    margin-top: 1.75rem;
    color: #d9ecf5;
    font-size: 0.82rem;
}

.portal-footer a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portal-footer a:hover {
    color: #fff7c2;
}

/* ── Responsive : tablette / smartphone ────────────────────────── */
@media (max-width: 767.98px) {
    .portal-content {
        padding: 1.5rem 1rem;
    }

    .portal-header {
        margin-bottom: 1.75rem;
    }

    .portal-card {
        padding: 1.5rem 1.25rem;
    }

    .portal-card-btn,
    .portal-card-soon {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .portal-background {
        background-position: center 30%;
    }
}
```
