/* ============================================================
   shared.css — Styles communs à toutes les pages du projet C2
   ============================================================ */

/* --- Typographie locale (hors ligne) --- */
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/jetbrains-mono.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* --- Animation d'entrée principale --- */
@keyframes fadeInCascade {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Boutons d'action (haut droite) --- */
.action-buttons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.icon-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.icon-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* --- Footer commun --- */
footer {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* --- Impression --- */
@media print {
    .no-print { display: none !important; }
}
