* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette marque */
    --primary-color:   #ea6e6e;
    --secondary-color: #6e9eea;
    --accent-color:    #9b6eea;
    --success-color:   #6eea9e;
    --dark-color:      #232323;
    --light-gray:      #f7f7f7;
    --text-color:      #626262;
    --white:           #ffffff;

    /* Design system dark & tech */
    --bg-dark:        #0d0d14;
    --bg-white:       #ffffff;
    --bg-light:       #f7f8fc;
    --text-on-dark:   #f1f1f5;
    --text-dark:      #0d0d14;
    --text-muted:     #6b7280;
    --border-light:   rgba(255,255,255,0.08);
    --border-dark:    rgba(0,0,0,0.08);
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--bg-white);
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 64px;
}

/* Logo texte */
.logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
}

.logo-main {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 22px 18px;
    display: block;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
}

.nav-menu a.active {
    color: var(--secondary-color);
}

/* Switch langue */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-light);
}

.lang-switch a,
.lang-switch span {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 2px;
}

.lang-switch .lang-current {
    color: #ffffff;
    cursor: default;
}

.lang-switch .lang-sep {
    color: var(--border-light);
    color: rgba(255,255,255,0.2);
}

.lang-switch .lang-other {
    color: var(--text-muted);
}

.lang-switch .lang-other:hover {
    color: var(--secondary-color);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

/* ═══════════════════════════════
   SECTIONS UTILITAIRES
═══════════════════════════════ */

.hero-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section-light {
    background: var(--bg-white);
    color: var(--text-dark);
}

.section-alt {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

/* ═══════════════════════════════
   BOUTONS
═══════════════════════════════ */

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(110,158,234,0.3);
}

.btn-primary {
    display: inline-block;
    padding: 13px 30px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #5a8fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(110,158,234,0.35);
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
}

.btn-outline-dark {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid var(--border-dark);
    border-color: rgba(0,0,0,0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline-dark:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* ═══════════════════════════════
   CARDS
═══════════════════════════════ */

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-dark);
    border-color: rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    transition: background 0.2s ease;
}

.card-dark:hover {
    background: rgba(255,255,255,0.07);
}

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */

footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 64px 30px 32px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.footer-section .footer-brand-name {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-section .footer-brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.footer-section p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        gap: 0;
        padding: 20px 0;
        border-top: 1px solid var(--border-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-menu a {
        padding: 14px 20px;
        font-size: 12px;
    }

    .lang-switch {
        justify-content: center;
        border-left: none;
        border-top: 1px solid var(--border-light);
        margin-left: 0;
        padding-left: 0;
        padding-top: 16px;
        margin-top: 8px;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
