/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: 'Inter', sans-serif;
    background: #121212;
    color: #F5F5F5;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* TITRES */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

h2 {
    font-size: 30px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #39FF14;
    margin: 10px auto 0;
}

p {
    color: #ccc;
    margin-bottom: 15px;
}

/* HEADER */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(18,18,18,0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
    transition: 0.3s;
}

.header.scrolled {
    background: rgba(10,10,10,0.95);
    padding: 15px 40px;
}

/* LOGO */
.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
}

.logo-mm {
    color: white;
}

.logo-construct {
    color: #39FF14;
    margin-left: 5px;
}

/* NAV */
nav a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a:hover {
    color: #39FF14;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #39FF14;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("../images/banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #121212);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.95));
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 52px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #bbb;
}

/* BUTTONS PREMIUM */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid #39FF14;
    color: white;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
}

.btn:hover {
    color: #39FF14;
    box-shadow: 0 0 15px rgba(57,255,20,0.4);
    transform: translateY(-2px);
}

/* BOUTON SECONDAIRE */
.btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid #555;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    color: #39FF14;
    border-color: #39FF14;
}

/* SECTIONS */
.section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section p {
    max-width: 700px;
    margin: 0 auto;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(145deg, #1a1a1a, #222);
    padding: 35px;
    border-radius: 16px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
    transform: translateY(-10px);
    border: 1px solid #39FF14;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #aaa;
}

/* CTA (PROPRE, PAS AGRESSIF) */
.cta {
    padding: 100px 20px;
    background: #181818;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta h2 {
    margin-bottom: 20px;
}

/* FOOTER */
.footer {
    background: #1E1E1E;
    padding: 50px 40px;
    margin-top: 50px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #39FF14;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    margin-bottom: 15px;
    color: #39FF14;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 13px;
}

/* LISTE */
.advantages {
    list-style: none;
    margin-top: 30px;
}

.advantages li {
    margin: 10px 0;
    font-size: 16px;
}

/* RESPONSIVE */
@media(max-width: 768px){
    h1 {
        font-size: 32px;
    }

    .header {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* HERO FIX (IMPORTANT) */
.hero {
    height: 100vh;
    background: url("../images/banner.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* ⚠️ FIX BANNIÈRE */
.hero img,
.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* OVERLAY */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.95));
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
}

/* ANIMATIONS */
.hero h1 {
    animation: fadeUp 1s ease;
}
.hero p {
    animation: fadeUp 1.5s ease;
}
.btn {
    animation: fadeUp 2s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PROJECT CARDS IMAGE FIX */
.project .img-wrap {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s;
}

.project:hover img {
    transform: scale(1.08);
}

/* SECTION DARK FIX */
.section-dark {
    background: #181818;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* INTRO TEXT */
.intro {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #aaa;
}

/* FIX HEADER OFFSET */
.section:first-of-type {
    padding-top: 160px;
}