:root {
    --primary: #1e4d8c;
    --primary-light: #2f80ed;
    --secondary: #f5f0e8;
    --accent: #e89b3c;
    --dark: #1f2937;
    --light: #ffffff;
    --gray: #6b7280;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    color: var(--dark);
    background: #fff;
    line-height: 1.6;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    background: white;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 20px rgba(0,0,0,0.05);
}

.logo {
    width: 280px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.header nav {
    display: flex;
    gap: 35px;
}

.header nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: .3s;
}

.header nav a:hover {
    color: var(--primary-light);
}

/* HERO */

.hero {
    min-height: 750px;
    background:
    linear-gradient(
        rgba(30,77,140,.45),
        rgba(30,77,140,.25)
    ),
    url("../img/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 35px;
}

/* BOUTONS */

.btn,
button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .3s;
}

.btn:hover,
button:hover {
    transform: translateY(-3px);
    background: #d98b2b;
}
.btn.dark {
    background: #123c69;
    color: #ffffff;
}

.btn.dark:hover {
    background: #2f80ed;
}
/* ABOUT */

.about {
    padding: 120px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: white;
}

.about-image {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 35px;
    font-size: 18px;
    color: var(--gray);
}

/* IMMOBILIER */

.black-section {
    background: #f7efe5;
    padding: 80px 8%;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.black-section p {
    color: #123c69;
    font-size: 24px;
    font-weight: 600;
    max-width: 1000px;
    margin: auto;
}
/* SERVICES */

.services {
    padding: 120px 8%;
    background: var(--secondary);
}

.services h3 {
    text-align: center;
    color: var(--primary-light);
    margin-bottom: 10px;
    font-size: 20px;
}

.services h2 {
    text-align: center;
    font-size: 52px;
    color: var(--primary);
    margin-bottom: 70px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h4 {
    padding: 25px 25px 10px;
    color: var(--primary);
    font-size: 22px;
}

.service-card p {
    padding: 0 25px 25px;
    color: #666;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,.12);
}



/* CTA */

.cta {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color: white;
    text-align: center;
    padding: 120px 8%;
}

.cta h2 {
    max-width: 900px;
    margin: auto;
    font-size: 46px;
    line-height: 1.3;
    margin-bottom: 35px;
}

/* CONTACT */

.contact {
    background: white;
    padding: 120px 8%;
}

.contact h2 {
    text-align: center;
    font-size: 52px;
    color: var(--primary);
    margin-bottom: 50px;
}

form {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    padding: 18px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    font-size: 16px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

textarea {
    min-height: 180px;
}

.map {
    margin-top: 60px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #ddd;
}

/* FOOTER */

.footer {
    background: #14355d;
    color: white;
    padding: 35px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    opacity: .8;
}
.cgu-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 25px;
}

.cgu-modal.active {
    display: flex;
}

.cgu-box {
    background: white;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 22px;
    padding: 45px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.cgu-box h2 {
    color: #123c69;
    margin-bottom: 25px;
    font-size: 34px;
}

.cgu-content h3 {
    color: #123c69;
    margin-top: 25px;
    margin-bottom: 8px;
}

.cgu-content p {
    color: #555;
    margin-bottom: 12px;
}

.cgu-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: #e89b3c;
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.cgu-close:hover {
    background: #d98b2b;
}
/* RESPONSIVE */

@media (max-width: 1000px) {

    .about {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .hero h1 {
        font-size: 55px;
    }
}

@media (max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 20px;
    }

    .services h2,
    .contact h2,
    .cta h2,
    .about h2 {
        font-size: 36px;
    }

    .footer {
        flex-direction: column;
        gap: 15px;
    }

    .header nav {
        display: none;
    }
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.contact-card {
    background: #f7efe5;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.contact-card h4 {
    color: #123c69;
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #555;
    line-height: 1.7;
}

.contact-card a {
    color: #123c69;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    color: #2f80ed;
}


@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
	    .cgu-box {
        padding: 30px 22px;
    }

    .cgu-box h2 {
        font-size: 26px;
    }
}