
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #080b14;
    --panel: #111a2b;
    --text: #f4f7ff;
    --muted: #9aa7bd;
    --accent: #9587ff;
    --line: #28334a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(
        ellipse at 75% 5%,
        #282252 0,
        transparent 38%
    ), var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
}

/* NAVIGATION */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 6vw;
    border-bottom: 1px solid #ffffff16;
}

.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
}

header nav {
    display: flex;
    gap: 24px;
}

header nav a,
footer a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.2s;
}

header nav a:hover,
footer a:hover {
    color: white;
}

/* ACCUEIL */

.hero {
    padding: 120px 9vw 105px;
    max-width: 1100px;
}

.tag {
    color: #a99fff;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 11px;
}

.hero h1 {
    font: 700 clamp(48px, 8vw, 84px)/1.05 'Space Grotesk';
    letter-spacing: -3px;
    margin: 25px 0;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 660px;
    color: #b8c3d6;
    font-size: 18px;
}

.button {
    display: inline-block;
    background: #8273f4;
    color: white;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    margin: 25px 0;
    transition: 0.25s;
}

.button:hover {
    background: #a095ff;
    transform: translateY(-3px);
}

.muted {
    color: #8290a8 !important;
    font-size: 13px !important;
}

/* SERVICES */

.services {
    padding: 75px 9vw;
    background: #0d1321;
}

h2 {
    font: 600 36px 'Space Grotesk';
    margin: 15px 0 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cards article {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(
        145deg,
        #172137,
        #101625
    );
    transition: 0.25s;
}

.cards article:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.cards h3 {
    font: 600 20px 'Space Grotesk';
    margin-bottom: 12px;
}

.cards p {
    color: #b9c4d6;
    font-size: 14px;
}

/* À PROPOS */

.about {
    padding: 75px 9vw;
    max-width: 1050px;
}

.about p {
    color: #b9c4d6;
    max-width: 700px;
}

/* FOOTER */

footer {
    border-top: 1px solid #ffffff16;
    padding: 25px 6vw;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 700px) {
    header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    header nav {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 85px 25px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .services,
    .about {
        padding: 60px 25px;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
