/* =========================================
   1. Reset & Global
========================================= */

html, body {
    padding: 0;
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: radial-gradient(circle at center, #23272a 0%, #1a1c1e 100%);
    color: #ececed;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* =========================================
   2. Header (Midnight Glass)
========================================= */

header {
    background: rgba(35, 39, 42, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 75px;
    max-width: 1200px;
}

.navigation ul li {
    padding: 0 20px;
}

.navigation a {
    text-decoration: none;
    color: #96989d;
    font-weight: 500;
    transition: 0.3s;
}

.navigation a:hover {
    color: #ffffff;
}

/* Bouton Connexion */

.btn-connect {
    margin-left: auto;
    margin-right: 20px;
    background: #5865F2;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-connect a {
    color: white !important;
    font-weight: 600;
    padding: 10px 22px;
    display: block;
}

.btn-connect:hover {
    background: #4752C4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    transform: translateY(-1px);
}

/* =========================================
   3. Hero Section
========================================= */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 75px);
    padding: 0 20px;
    margin-top: 75px; /* corrigé */
}

.hero-content {
    max-width: 900px;
}

.hero-content h3 {
    color: #5865F2;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: clamp(32px, 5vw, 64px);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 20px;
    color: #b9bbbe;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 500;
}

/* Hero Button */

.btn-hero {
    background: #5865F2;
    border: none;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.25);
    display: inline-block;
}

.btn-hero a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
}

.btn-hero:hover {
    background-color: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(88, 101, 242, 0.4);
}

.btn-hero:active {
    transform: translateY(0);
}

/* =========================================
   4. Fonctionnalités
========================================= */

.fonctionalite {
    padding: 120px 20px;
    background: radial-gradient(circle at center, #23272a 0%, #1a1c1e 100%);
    position: relative;
}

.fonctionalite::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.fonctionalite .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feat-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.feat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feat-card .icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.feat-card h4 {
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.feat-card p {
    color: #b9bbbe;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* =========================================
   5. CTA Section
========================================= */

.cta-updates {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #1a1c1e, #23272a);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.separator {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #4f545c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.separator::before,
.separator::after {
    content: "";
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   6. Footer
========================================= */

.footer {
    background-color: #1a1c1e;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

/* =========================================
   7. Responsive
========================================= */

@media (max-width: 768px) {

    .navigation ul {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .navigation ul li {
        padding: 12px 0;
    }

    .btn-connect {
        margin: 10px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content p {
        font-size: 16px;
    }
}
/* =========================================
   FOOTER COMPLET OPTIMISÉ
========================================= */

.footer {
    background-color: #1a1c1e;
    padding: 80px 20px 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

/* ----- Bloc Marque ----- */

.footer-brand p {
    color: #96989d;
    line-height: 1.6;
    max-width: 300px;
    margin-top: 20px;
    font-size: 14px;
}

.footer-logo {
    width: 35px;
    filter: grayscale(0.5) opacity(0.8);
    transition: 0.3s ease;
}

.footer-logo:hover {
    filter: grayscale(0) opacity(1);
}

/* ----- Titres ----- */

.footer h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ----- Listes ----- */

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #96989d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #5865F2;
}

/* ----- Liens légaux ----- */

.footer-legal-links {
    margin-top: 15px;
}

.footer-legal-links a {
    text-decoration: none;
    color: #96989d;
    font-weight: 500;
    transition: 0.3s;
    font-size: 13px;
    margin: 0 10px;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-legal-links span {
    color: #4f545c;
    user-select: none;
}

/* ----- Bas de footer ----- */

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.footer-bottom p {
    color: #4f545c;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer ul li {
        margin-bottom: 10px;
    }

    .footer-legal-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-legal-links span {
        display: none;
    }
}
