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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background: #f8f9fa;
    line-height: 1.8;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #e63848;
    transition: width 0.3s;
    border-radius: 10px;
}

nav a:hover::after {
    width: 100%;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: black;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

#lang-buttons {
    display: flex;
    gap: 0.5rem;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    padding-left: 1.5rem;
    margin-left: 1rem;
}

.lang-btn:hover,
.lang-btn.active {
    background: #e63848;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

#imgLogo {
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

.lang-section {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.lang-section.active {
    display: block;
}

.back-link {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: background 0.3s, transform 0.2s;
}

.back-link:hover {
    background: linear-gradient(135deg, #e63848 0%, #764ba2 100%);
    transform: translateY(-2px) scale(1.03);
}

#imgLogo {
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

.how-it-works {
    padding: 5rem 2rem;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: #764ba2;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(102, 126, 234, 0.08);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    color: #e63848;
    opacity: 0.2;
    margin-bottom: -2rem;
    letter-spacing: 2px;
}

.step-content {
    padding: 2rem;
    background: linear-gradient(135deg, #fff 80%, #f8f9fa 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
    border: 2px solid #764ba2;
    border-radius: 50px;
    transition: all 0.4s;
}

.adapteHauteur {
    min-height: 280px;
    height: auto;
}

.step-content:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 20px 50px rgba(230, 56, 72, 0.2);
    border-color: #e63848;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0063a3;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: #666;
    line-height: 1.6;
}

.footer {
    /* background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); */
    background: linear-gradient(135deg, #4a7fd6 0%, #5e8eea 100%);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

/* ── Hamburger button ─────────────────────────────────────────── */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #764ba2;
    padding: 0.3rem 0.5rem;
    line-height: 1;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: rgba(118, 75, 162, 0.1);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.2rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hamburger-btn {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1rem 0;
        border-top: 1px solid #eee;
        margin-top: 0.3rem;
    }

    nav.nav-open {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 0.3rem 0;
    }

    #lang-buttons {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .how-it-works {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step {
        min-width: unset;
        width: 100%;
    }

    .adapteHauteur {
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .step-number {
        font-size: 3.5rem;
    }

    .step-content {
        padding: 1.5rem;
        border-radius: 25px;
    }

    .logo {
        font-size: 1.5rem;
    }

    #imgLogo {
        height: 30px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.08);
        filter: brightness(1.2);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}