﻿body {
    background: #0c1324;
    color: white;
    font-family: Arial,Helvetica,sans-serif;
}

.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 10%;
}

:root {
    --primary: #0ebfe3;
    --dark: #001540;
    --light: #f8f6f2;
    --text: #555;
    --radius: 15px;
    --shadow: 0 10px 30px rgba(0,0,0,.15);
}

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

html {
    scroll-behavior: smooth;
}

.hero-content {
    max-width: 900px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===================================
   BAR
=================================== */

header {
    position: sticky;
    top: 0;
    background: black;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ddd;
    z-index: 100;
}

.navbar {
    width: min(1100px,100%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    font-family: 'DM Sans', sans-serif;
    background-color: black;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 40px;
}

    .menu a {
        transition: .3s;
    }

        .menu a:hover,
        .menu a.active {
            color: var(--primary);
        }

    .menu p {
        color:black;
    }

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: #2d6cff33;
    color: #8fc2ff;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero p {
    max-width: 700px;
    margin: auto;
    color: #c9d4eb;
    font-size: 1.3rem;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 45px;
}

.hero button {
    padding: 16px 35px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px;
    transition: .3s;
    }

        .hero button:hover {
            transform: scale(1.08);
        }

.primary {
    background: #2979ff;
    color: white;
}

.secondary {
    background: rgb(205, 205, 206);
    color: #061a3d;
    border-radius: 40px;
    padding: 16px 35px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px;
    transition: .3s;
}

    .secondary:hover {
        transform: scale(1.08);
    }

.stats {
    display: flex;
    justify-content: center;
    gap: 70px;
    padding: 80px 10%;
    text-align: center;
}

    .stats h2 {
        color: black;
        font-size: 4rem;
        font-weight:bold;
    }

.stat p {
    color: #666;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
    padding: 60px 10%;
}

.white-section {
    background: white;
    color: #222;
    padding: 60px 0;
}

.card {
    background: var(--dark);
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .3s;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 45px rgba(0,0,0,.15);
    }

    .card h2 {
        color: white;
    }

    .card p {
        color: whitesmoke;
        font-style:italic;
    }

.card-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    padding: 12px;
    background: white;
    border-radius: 18px;
    margin-bottom: 25px;
    transition: .3s;
}

.card:hover .card-icon {
    transform: scale(1.08) rotate(-5deg);
}


.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 120px 10%;
    align-items: center;
}

    .showcase h2 {
        font-size: 3rem;
        margin-bottom: 30px;
    }

    .showcase p {
        color: #cfd8e8;
        line-height: 2;
        font-size: 1.1rem;
    }

.fake-browser {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.4);
}

.browser-top {
    background: #ececec;
    padding: 15px;
}

    .browser-top span {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 8px;
        background: #ff5c5c;
    }

        .browser-top span:nth-child(2) {
            background: #ffb54a;
        }

        .browser-top span:nth-child(3) {
            background: #47d764;
        }

.browser-content {
    padding: 40px;
}

    .browser-content h3 {
        color: #222;
    }

.line {
    height: 14px;
    background: #ddd;
    margin: 20px 0;
    border-radius: 20px;
}

.short {
    width: 60%;
}

.screen {
    height: 220px;
    background: linear-gradient(135deg,#2979ff,#62d4ff);
    border-radius: 12px;
    margin-top: 35px;
}

.cta {
    text-align: center;
    padding: 120px 10%;
    background: linear-gradient(135deg,#1d4ed8,#2563eb);
}

    .cta h2 {
        font-size: 3rem;
    } 
    .cta p {
        max-width: 700px;
        margin: 30px auto;
        line-height: 1.8;
    }

    .cta button {
        padding: 15px 40px;
        font-size: 1.1rem;
        border: none;
        border-radius: 50px;
        background: white;
        color: #1d4ed8;
        cursor: pointer;
        transition: .3s;
    }

        .cta button:hover {
            transform: scale(1.08);
        }

/*===================================
        PAGE DEVIS
===================================*/

.quote-page {
    padding: 120px 10%;
}

.container {
    max-width: 900px;
    margin: auto;
}

.quote-page h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.1;
}

.quote-page .intro {
    max-width: 700px;
    margin-bottom: 50px;
    color: #c9d4eb;
    font-size: 1.15rem;
    line-height: 1.8;
}

/*===================================
        FORMULAIRE
===================================*/

.quote-form {
    position: relative;
    overflow: hidden;
    padding: 50px;
    background: #fff;
    color: #222;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

    .quote-form::before {
        content: "";
        position: absolute;
        inset: 0;
        height: 6px;
        background: linear-gradient(90deg,#2979ff,var(--primary));
    }

.quote-formSpecial {
    position: relative;
    overflow: hidden;
    padding: 50px;
    background: #fff;
    color: #222;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
}

    .quote-form::before {
        content: "";
        position: absolute;
        inset: 0;
        height: 6px;
        background: linear-gradient(90deg,#2979ff,var(--primary));
    }

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.field {
    display: flex;
    flex-direction: column;
    margin: 0 0 25px;
}

    .field label {
        margin-bottom: 10px;
        font-weight: 600;
        color: #1d3557;
    }

    .field input,
    .field textarea,
    .field select {
        width: 100%;
        padding: 15px 18px;
        font: inherit;
        color: #222;
        background: #fafcff;
        border: 2px solid #e5ecf8;
        border-radius: 14px;
        outline: none;
        transition: .3s;
    }

    .field textarea {
        resize: vertical;
        min-height: 180px;
    }

        .field input::placeholder,
        .field textarea::placeholder {
            color: #8b96ab;
        }

        .field input:hover,
        .field textarea:hover,
        .field select:hover {
            border-color: #bdd8ff;
        }

        .field input:focus,
        .field textarea:focus,
        .field select:focus {
            border-color: #2979ff;
            background: #fff;
            box-shadow: 0 0 0 5px rgba(41,121,255,.12);
        }

    /* Select personnalisé */

    .field select {
        appearance: none;
        cursor: pointer;
        padding-right: 50px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.5L8 10.3l4.8-4.8' stroke='%232979ff' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center, #fafcff;
    }

        .field select option {
            color: #222;
        }

.quote-form .primary {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg,#2979ff,var(--primary));
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 18px 35px rgba(41,121,255,.35);
}

    .quote-form .primary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 28px 45px rgba(41,121,255,.45);
    }

.quote-form .secondary {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    border: none;
    border-radius: 50px;
    background: rgb(217, 217, 217);
    color: #111;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 18px 35px rgba(0,0,0,.15);
}

    .quote-form .secondary:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 28px 45px rgba(0,0,0,.25);
        background: #f0f0f0;
    }

/*===================================
        POURQUOI NOUS
===================================*/

.why-us {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
    padding: 110px 10%;
    background: #081120;
}

.feature {
    padding: 35px;
    background: #13203a;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    transition: .3s;
}

    .feature:hover {
        transform: translateY(-8px);
        border-color: var(--primary);
    }

    .feature h2 {
        margin-bottom: 18px;
    }

    .feature p {
        color: #c6d2e8;
        line-height: 1.8;
    }

/*===================================
            FAQ
===================================*/

.faq {
    padding: 100px 10%;
    background: #081120;
}

    .faq h2 {
        margin-bottom: 60px;
        text-align: center;
        font-size: 2.8rem;
    }

.faq-item {
    max-width: 900px;
    margin: 0 auto 25px;
    padding: 30px;
    background: #13203a;
    border-left: 4px solid var(--primary);
    border-radius: 15px;
    transition: .3s;
}

    .faq-item:hover {
        background: #1a2b4b;
        transform: translateX(8px);
    }

    .faq-item h3 {
        margin-bottom: 15px;
    }

    .faq-item p {
        color: #c6d2e8;
        line-height: 1.8;
    }

/*===================================
        RESPONSIVE
===================================*/

@media(max-width:768px) {
    
    .menu{
            display: none;
    }

    .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero p {
    max-width: 300px;
    margin: auto;
    color: #c9d4eb;
    font-size: 0.75rem;
    line-height: 1.7;
} 
    .logo {
        position: absolute;
    right:35vw;
}
    .card p {
        display: none;
    }

    .cta h2 {
        font-size: 2rem;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    .stats p {
        font-size: 1.25rem;
    }

    .stats h2 {
        font-size: 3rem;
    }

    .fake-browser {
        display: none;
    }

    .quote-page,
    .why-us,
    .faq {
        padding: 70px 7%;
    }

        .quote-page h1 {
            font-size: 2.4rem;
        }

    .quote-form {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .faq h2 {
        font-size: 2rem;
    }


}
