/* style.css – Version finale alignée avec votre charte et le nouveau HTML */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #064f94;      /* Bleu foncé corporate */
    --accent: #44c1ed;       /* Bleu clair */
    --light: #ffffff;
    --text: #333333;
    --gray: #666666;
    --header-bg: rgba(6, 79, 148, 0.8); /* Bleu foncé avec transparence */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero & Header */
.hero-container {
    position: relative;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: var(--header-bg);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    border-radius: 50%;
    background: var(--light);
}

/* .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
} */

/* Hamburger menu */
.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

/* Hero Content */
#hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: inline-block;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary);
}

/* Sections générales */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--primary);
}

section p {
    margin-bottom: 1rem;
    text-align: justify;
    color: var(--gray);
    font-size: 1.05rem;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 1.8rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 50px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* Nouvelle section : Partenariats */
#partnerships .partnership-advantages {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

#partnerships .partnership-advantages p {
    margin-bottom: 12px;
}

.call-to-action {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 25px;
}

/* Projets */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-gallery img {
    width: 100%;
    height: 200px;
    object-fit: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.projects-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--gray);
    font-size: 0.95rem;
}


/* Contact */
#contact {
    text-align: center;
}

#contact h2, #contact p {
    max-width: 700px;
    margin: 0 auto 25px;
    text-align: center;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--primary);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav ul {
        flex-direction: column;
        padding: 15px 0;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    section { padding: 2.5rem 0; }
    section h2 { font-size: 1.8rem; }
}