/* USTM — Charte graphique : Bleu marine #16205A · Bleu royal #1E3A8A · Orange #F49425 */

/* ── Smooth scrolling ── */
html { scroll-behavior: smooth; }

/* ── Transition de thème ── */
*, *::before, *::after {
    transition-property: background-color, border-color, color;
    transition-duration: 200ms;
    transition-timing-function: ease;
}

/* ── Carte avec animation d'élévation ── */
.unac-card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.unac-card:hover {
    transform: translateY(-2px);
}

/* ── Typographie personnalisée ── */
.prose h2 { font-family: 'Playfair Display', serif; }
.prose h3 { font-family: 'Playfair Display', serif; }
.prose blockquote {
    border-left: 4px solid #F49425;
    font-style: italic;
    background: rgba(244,148,37,0.06);
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* ── Image lazy-load fade ── */
img[loading="lazy"] { opacity: 0; transition: opacity 400ms ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ── Scrollbar personnalisée ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #16205A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #1E3A8A; }

/* ── Highlight couleurs USTM dans les tableaux ── */
.table-unac tr:hover { background: rgba(22,32,90,0.05); }

/* ── Navigation active indicator ── */
.nav-active::after {
    content: '';
    display: block;
    height: 2px;
    background: #F49425;
    border-radius: 1px;
    margin-top: 2px;
}

/* ── Hero gradient overlay ── */
.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(22,32,90,0.95) 0%,
        rgba(30,58,138,0.80) 60%,
        rgba(0,0,0,0.40) 100%
    );
}

/* ── Print styles ── */
@media print {
    nav, footer, .no-print { display: none !important; }
    body { font-size: 12pt; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
