* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f9;
    color: #17212b;
}

/* MENU GAUCHE */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: #102a43;
    color: white;
    padding: 40px 25px;
    z-index: 10;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 60px;
}

.logo span {
    color: #36c5a0;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

nav a {
    text-decoration: none;
    color: #b8c7d4;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    background: #36c5a0;
    color: white;
}

/* CONTENU */
main {
    margin-left: 240px;
    min-height: 100vh;
}

/* HEADER */
header {
    background: white;
    padding: 30px 7%;
    border-bottom: 1px solid #e5e9ed;
}

header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

header p {
    color: #718096;
}

/* HERO */
.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 70px 7%;
    background: linear-gradient(135deg, #edf9f6, #ffffff);
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: #d9f5ed;
    color: #16866d;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h2 strong {
    color: #20a886;
}

.hero-text p {
    color: #637381;
    font-size: 17px;
    line-height: 1.7;
    max-width: 550px;
}

/* IMAGE */
.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(16, 42, 67, 0.18);
}

/* BOUTONS */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background: #20a886;
    color: white;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 9px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #16866d;
    transform: translateY(-2px);
}

.btn.secondary {
    background: #102a43;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 70px 7%;
    background: white;
}

.feature {
    padding: 30px;
    border: 1px solid #e6ebef;
    border-radius: 15px;
}

.icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: #718096;
    line-height: 1.6;
}

/* SERVICES */
.services {
    padding: 70px 7%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #e4e9ed;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h2 {
    margin-bottom: 12px;
}

.service-card p {
    color: #718096;
    line-height: 1.7;
}

/* CONTACT */
.contact-section {
    margin: 0 7% 70px;
    padding: 60px;
    text-align: center;
    background: #102a43;
    color: white;
    border-radius: 20px;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-section p {
    color: #c7d5df;
    margin-bottom: 25px;
}

/* FOOTER */
footer {
    background: #0b1d2d;
    color: white;
    padding: 40px 7%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer strong {
    font-size: 20px;
    color: #36c5a0;
}

footer p {
    color: #aab8c4;
    margin-top: 8px;
}

/* MOBILE */
@media (max-width: 800px) {

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .logo {
        margin-bottom: 20px;
    }

    nav {
        flex-direction: row;
    }

    main {
        margin-left: 0;
    }

    .hero {
        flex-direction: column;
        padding: 50px 7%;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-image img {
        height: 300px;
    }

    .features,
    .services {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
    }
}
