/* ===== CSS global du site FCM ===== */

:root {
    --primary-blue: #2e4eef;
    --primary-blue-rgb: 46, 78, 239;
    --primary-blue-dark: #243fd1;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---------- Liens : pas de violet visité, pas de soulignement par défaut ---------- */

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a:visited {
    color: inherit;
}

a:hover {
    text-decoration: none;
}

a:focus {
    outline: none;
}

a:active {
    color: inherit;
}

.link-unstyled {
    color: inherit;
    text-decoration: none;
}

.link-unstyled:visited {
    color: inherit;
}

.link-unstyled:hover {
    color: inherit;
    text-decoration: none;
}

.link-unstyled:focus {
    outline: none;
    text-decoration: none;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background: #f8f9fc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- Header ---------- */

.site-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 42px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 1.2rem;
}

.header-nav a,
.link-primary {
    color: var(--primary-blue);
}

.header-nav a:hover,
.link-primary:hover {
    color: var(--primary-blue-dark);
}

.header-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}

.header-nav a:visited {
    color: #374151;
}

/* ---------- Main ---------- */

.site-main {
    flex: 1;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #f1f3f8;
    border-top: 1px solid #e5e7eb;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
}

/* ---------- Boutons réutilisables ---------- */

.btn,
a.btn,
.btn-primary,
a.btn-primary {
    color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition:
        transform 0.15s ease-out,
        box-shadow 0.15s ease-out,
        background 0.15s ease-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #5066ff);
    box-shadow: 0 16px 35px rgba(var(--primary-blue-rgb), 0.45);
}

a.btn:visited,
a.btn-primary:visited,
a.btn:hover,
a.btn-primary:hover,
a.btn:active,
a.btn-primary:active {
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 20px 40px rgba(var(--primary-blue-rgb), 0.6);
}

.btn-primary:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 10px 22px rgba(var(--primary-blue-rgb), 0.45);
}
