/* ===============================
   RESET
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f6f8;
    color: #1a1a1a;
    line-height: 1.6;
}

/* VERROUILLAGE LOGOS SVG (anti-logo géant) */
header .logo img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    max-width: 200px !important;
    display: block !important;
}

.hero .hero-logo img {
    height: 120px !important;
    width: auto !important;
    max-height: 120px !important;
    max-width: 320px !important;
    display: block !important;
    margin: 0 auto 30px auto !important;
}

/* ===============================
   LAYOUT
================================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ===============================
   HEADER
================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO HEADER */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    display: block;
}

/* NAV */
nav a {
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    transition: 0.3s;
}

nav a:hover {
    background: linear-gradient(90deg, #00D4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===============================
   HERO
================================= */

.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
    background: white;
}

.hero-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;

    background: linear-gradient(90deg, #00D4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    max-width: 750px;
    margin: auto;
}

/* ===============================
   SECTION
================================= */

.section {
    padding: 100px 0;
}

.section-white {
    background: white;
}

.section-gray {
    background: #f4f6f8;
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    text-align: center;
    margin-bottom: 40px;
}

/* ===============================
   GRID / CARDS
================================= */

.grid {
    display: grid;
    gap: 40px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #00D4FF, #A855F7);
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    margin-top: 20px;
}

.card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00D4FF;
    font-weight: bold;
}

/* ===============================
   BUTTONS
================================= */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(90deg, #00D4FF, #A855F7);
    color: white;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ===============================
   FOOTER
================================= */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 14px;
}

footer a {
    color: #00D4FF;
    text-decoration: none;
}

/* ===============================
   RESPONSIVE
================================= */

/* Tablette */
@media (max-width: 1024px) {

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */
@media (max-width: 768px) {

    /* Navigation */
    nav {
        display: none;
    }

    /* Hero */
    .hero h1 {
        font-size: 40px;
    }

    .hero-logo img {
        height: 90px;
    }

    /* Grilles */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

}
/* ============================= */
/* BURGER MENU MOBILE */
/* ============================= */

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #111;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile */
@media (max-width: 900px) {

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: #fff;
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        gap: 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav a {
        padding: 10px 30px;
        font-size: 18px;
    }

    nav.active {
        right: 0;
    }

    .burger {
        display: flex;
    }
}
/* ========================= */
/* CTA RESPONSIVE */
/* ========================= */

.cta-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}


.cta-group.center {
    justify-content: center;
}

/* Mobile */
@media (max-width: 900px) {
    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}
