:root {
    /* Brand */
    --primary: #1e81e5;        /* Bleu ciel / mobilité */
    --primary-dark: #34d69a;
    --accent: #2e587d;         /* Vert tropical */
    --accent-soft: #e8f5e9;

    /* Backgrounds */
    --bg-page: linear-gradient(135deg, #f9fbff, #eef6ff);
    --bg-alt: #f1f8ff;
    --bg-card: #ffffff;

    /* Text */
    --text-main: #1f2937;
    --text-muted: #6b7280;

    /* UI */
    --border: #e5e7eb;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 12px 28px rgba(0,0,0,0.12);

    --radius: 12px;
    --radius-lg: 18px;

    --transition: 0.25s ease;
}

/* =====================================================
   FOOTER - AVY D LIVRÉ
   Dépend des variables : :root déjà définies
===================================================== */

.main-footer {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding-top: 60px;
    position: relative;
}

/* Container */
.footer-grid {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

/* Brand */
.footer-brand h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Titles */
.main-footer h4 {
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 600;
}

/* Lists */
.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer ul li {
    margin-bottom: 10px;
}

.main-footer a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    transition: var(--transition);
}

.main-footer a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    background: rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}
.main-footer::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom right, transparent 49%, var(--primary) 50%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 30px;
    height: auto;
}

.logo {
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}