/** @format */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Inter";

    cursor: default;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #ffffff;
    font-family: "Segoe UI", "Roboto", sans-serif;
    color: #1f1f1f;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f2f2f2;
}

header > img {
    width: 260px;
    aspect-ratio: 1.61;
}

.logo {
    height: 48px;
}

nav ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
}

section {
    padding: 5rem 2rem;
}

.main-title {
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: #181818;
}

/*   flex-wrap: wrap;
 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

p {
    max-width: 900px;
    margin: 1rem auto;
    font-size: 1.2rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(250px, 1fr)
    );
    gap: 2rem;
    margin-top: 3rem;

    max-width: 1100px;
}

.feature-box {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: transform 0.3s;
    backdrop-filter: blur(12px);
}

.feature-box:hover {
    transform: translateY(-6px);
}

.feature-box h3 {
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    color: #05c26a;
}

.feature-box p {
    font-size: 1.3rem;
    color: #333;
}

.demo-img {
    width: 100%;
    max-width: 960px;
    display: block;
    margin: 3rem auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
}

footer {
    padding: 2rem;
    background-color: #f2f2f2;
    font-size: 1rem;
    text-align: center;
    color: #666;
}

#presentation > .container > p {
    font-size: 1.2rem;
    text-align: left;
}

#presentation {
    width: 50%;
}

#lienInscription {
    height: 100px;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #fff;
}

#lienInscription > div {
    padding: 8px 16px;
    background-color: #05c26a;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s;
}

@media screen and (max-width: 720px) {
    header {
        flex-direction: column-reverse;
        padding-top: 42px;
    }

    header > img {
        width: 160px;
    }

    #lienInscription > div {
        font-size: 0.7rem;
    }

    .main-title {
        font-size: 1.725rem;
    }

    #presentation {
        width: 80%;
        padding-top: 20px;
    }

    #presentation p {
        text-align: center !important;
    }
}
