/* =====================================
   K-DRE — HEADER GLOBAL (TRÈS FIN)
===================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding-top: 54px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111827;
    overflow-x: hidden;
}

.header {
    width: 100%;
    height: 54px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LOGO COMPACT */

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111827;
    flex-shrink: 0;
}

.logo-symbol {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0077ed;
    color: #ffffff;
    font-size: 15px;
    font-weight: 1000;
    border-radius: 7px;
}

.logo-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1;
}

.logo-text small {
    margin-top: 0;
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #6b7280;
}

/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.navigation a {
    color: #4b5563;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #0077ed;
}

/* BOUTON FIN */

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 15px;
    background: #0077ed;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 119, 237, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-header:hover {
    background: #0062c4;
    transform: translateY(-1px);
}

.btn-header span {
    font-size: 13px;
    line-height: 1;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .logo-text small {
        display: none;
    }

    .navigation {
        gap: 14px;
    }

    .navigation a {
        font-size: 12px;
    }
}

@media (max-width: 760px) {
    body {
        padding-top: 82px;
    }

    .header {
        height: auto;
    }

    .header-content {
        min-height: 46px;
        flex-wrap: wrap;
        padding: 7px 0 6px;
        row-gap: 6px;
        column-gap: 10px;
    }

    .logo-symbol {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 6px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-text small {
        display: none;
    }

    .btn-header {
        gap: 6px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .btn-header span {
        font-size: 12px;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 5px 0 2px;
        gap: 16px;
        border-top: 1px solid #eef3f9;
    }

    .navigation::-webkit-scrollbar {
        display: none;
    }

    .navigation a {
        white-space: nowrap;
        font-size: 11.5px;
        padding: 2px 0;
    }
}

@media (max-width: 380px) {
    .container {
        width: 92%;
    }

    .logo-text {
        font-size: 13.5px;
    }

    .btn-header {
        gap: 5px;
        padding: 6px 10px;
        font-size: 10.5px;
    }

    .navigation {
        gap: 12px;
    }
}

/* =====================================
   K-DRE — FOOTER GLOBAL (STYLE BLEU & BLANC)
===================================== */

.footer {
    background: #0077ed;
    color: #ffffff;
    padding: 65px 0 22px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

/* IDENTITÉ */

.footer-logo {
    color: #ffffff;
}

.footer-logo .logo-symbol {
    background: #ffffff;
    color: #0077ed;
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-logo .logo-text small {
    color: #dbeafe;
}

.footer-brand p {
    max-width: 260px;
    margin-top: 23px;
    margin-bottom: 0;
    color: #e6f2ff;
    font-size: 14px;
    line-height: 1.8;
}

/* LIENS */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-links h4 {
    margin: 4px 0 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.footer-links a {
    color: #dbeafe;
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.4;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

/* BAS DU FOOTER */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-bottom span {
    color: #dbeafe;
    font-size: 11.5px;
    line-height: 1.5;
}

/* RESPONSIVE — TÉLÉPHONE */

@media (max-width: 760px) {
    .footer {
        padding: 40px 0 22px;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
        padding-bottom: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .footer-brand p {
        max-width: 100%;
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.65;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links h4 {
        margin: 0 0 4px;
        font-size: 13.5px;
    }

    .footer-links a {
        font-size: 12.5px;
        padding: 2px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 18px;
    }

    .footer-bottom span {
        font-size: 11px;
    }
}