/* ==========================================================================
   GLOBAL CSS — TYPOGRAPHIE & FOOTER UNIFORMISÉ (X DATING)
   ========================================================================== */

:root {
    --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bg-dark: #0b0f19;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --brand-red: #e11d48;
    --brand-red-hover: #be123c;
    --footer-bg: #111827;
    --footer-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: var(--font-family-base) !important;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

/* Typographie standardisée */
h1, h2, h3, h4, h5, h6, .navbar-brand, .card-title {
    font-family: var(--font-family-base) !important;
}

/* ─── FOOTER HARMONISÉ (Correction liens bleus bruts) ────────────────────── */
.footer {
    display: flex;
    justify-content: center;
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 2.5rem 1rem 2rem;
    margin-top: 3.5rem;
    width: 100%;
}

.footer .blocs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
}

.footer .bloc1,
.footer .bloc2 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
}

.footer a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
    color: var(--brand-red) !important;
    text-decoration: none !important;
}

.footer p {
    margin-bottom: 0;
}

.footer .log_out a {
    color: #fda4af !important;
    font-weight: 600;
}

.footer .log_out a:hover {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }
    .footer .blocs {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer .bloc1,
    .footer .bloc2 {
        gap: 0.75rem 1.5rem;
    }
}

/* ─── INTL-TEL-INPUT DARK THEME ────────────────────────────────────────── */
.iti {
    width: 100% !important;
    display: block !important;
}
.iti__country-list {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    max-height: 220px !important;
}
.iti__country {
    padding: 7px 10px !important;
    transition: background-color 0.15s ease !important;
}
.iti__country:hover,
.iti__country.iti__highlight {
    background-color: #334155 !important;
}
.iti__country-name,
.iti__dial-code {
    color: #f8fafc !important;
}
.iti__selected-dial-code {
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
}
.iti__arrow {
    border-top-color: #94a3b8 !important;
}
.iti__arrow--up {
    border-bottom-color: #94a3b8 !important;
}
.iti input.is-invalid {
    border-color: #f43f5e !important;
}

