:root {
    --bleu-fonce: #002360;
    --orange: #ca8200;
    --bleu-moyen: #1a4a8a;
    --bleu-clair: #2a6db5;
    --blanc: #ffffff;
    --gris-fonce: #333333;
    --gris-moyen: #666666;
    --gris-clair: #f5f5f5;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--gris-fonce);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
header {
    background: var(--blanc);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
}

nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav.desktop-nav a {
    font-size: 12px;
    font-weight: 600;
    color: var(--gris-fonce);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

nav.desktop-nav a:hover,
nav.desktop-nav a.active {
    color: var(--orange);
}

nav.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--orange);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--bleu-fonce);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Off-canvas nav */
.offcanvas-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bleu-fonce);
    z-index: 9999;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3);
}

.offcanvas-nav.open {
    right: 0;
}

.offcanvas-nav a {
    display: block;
    color: var(--blanc);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s;
}

.offcanvas-nav a:hover {
    color: var(--orange);
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.offcanvas-overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-offcanvas {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--blanc);
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== HERO (page d'accueil) ===== */
.hero {
    margin-top: 92px;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    135deg,
    rgba(0, 35, 96, 0.55) 0%,
    rgba(0, 35, 96, 0.35) 100%
);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--blanc);
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--bleu-clair);
    color: var(--blanc);
}

.btn-primary:hover {
    background: var(--bleu-moyen);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,35,96,0.3);
}

.btn-orange {
    background: var(--orange);
    color: var(--blanc);
}

.btn-orange:hover {
    background: #b07200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202,130,0,0.3);
}

/* ===== BANNIERE PAGES INTERIEURES ===== */
.page-banner {
    margin-top: 92px;
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-banner .hero-bg {
    z-index: -2;
}

.page-banner .hero-overlay {
    z-index: -1;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    color: var(--blanc);
}

.page-banner h1 {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-banner .breadcrumb {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.page-banner .breadcrumb a {
    color: var(--blanc);
    font-weight: 600;
}

.page-banner .breadcrumb a:hover {
    color: var(--orange);
}

/* ===== SECTION TITLES ===== */
.section-title {
    position: relative;
    padding-left: 15px;
    margin-bottom: 40px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--orange);
}

.section-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--bleu-fonce);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--gris-moyen);
}

/* ===== QUI SOMMES NOUS ===== */
.about {
    padding: 80px 0 60px;
    background: var(--blanc);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gris-fonce);
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 14px;
    color: var(--gris-moyen);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text .link-suite {
    display: inline-block;
    color: var(--bleu-clair);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    transition: color 0.3s;
}

.about-text .link-suite:hover {
    color: var(--orange);
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

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

.mission-list {
    list-style: none;
    margin-top: 10px;
}

.mission-list li {
    font-size: 14px;
    color: var(--gris-moyen);
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid var(--gris-clair);
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--orange);
    font-weight: 700;
}

/* ===== VISION ===== */
.vision {
    background: var(--bleu-fonce);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 800;
    color: rgba(255,255,255,0.04);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 10px;
}

.vision h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--blanc);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.vision p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.vision p strong {
    color: var(--blanc);
    font-weight: 700;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.vision-item {
    text-align: center;
}

.vision-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.5;
}

.vision-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--blanc);
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 0 60px;
    background: var(--blanc);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bleu-fonce);
    color: var(--blanc);
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-label::after {
    content: '→';
    font-size: 18px;
    color: var(--orange);
}

.services-list {
    padding: 20px 0 80px;
    background: var(--blanc);
}

.service-detail {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid var(--gris-clair);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gris-clair);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.5;
}

.service-detail h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--bleu-fonce);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-detail p {
    font-size: 14px;
    color: var(--gris-moyen);
    line-height: 1.8;
}

/* ===== RÉALISATIONS ===== */
.realisations {
    padding: 0 0 60px;
    background: var(--blanc);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 40px;
}

.real-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.real-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.real-item:hover img {
    transform: scale(1.05);
}

.real-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,35,96,0.75);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.real-item:hover .overlay {
    opacity: 1;
}

.real-item .overlay span {
    color: var(--blanc);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.realisations .btn-container {
    text-align: center;
}

/* ===== PARTENAIRES ===== */
.partenaires {
    padding: 80px 0;
    background: var(--gris-clair);
}

.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partenaire-item {
    background: var(--blanc);
    padding: 35px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.partenaire-item:hover {
    transform: translateY(-5px);
}

.partenaire-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partenaire-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.5;
}

.partenaire-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--bleu-fonce);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== PROJETS / SECTEURS ===== */
.projets {
    padding: 80px 0;
    background: var(--blanc);
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.projet-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--gris-clair);
    border-left: 4px solid var(--orange);
    border-radius: 2px;
    transition: background 0.3s;
}

.projet-tag:hover {
    background: #eee;
}

.projet-tag span {
    font-size: 14px;
    font-weight: 600;
    color: var(--bleu-fonce);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===== CTA ===== */
.cta {
    background: var(--bleu-fonce);
    padding: 50px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--blanc);
    line-height: 1.4;
}

.cta-text h3:first-child {
    font-weight: 400;
    font-size: 20px;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 80px 0;
    background: var(--blanc);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-card {
    background: var(--gris-clair);
    padding: 40px;
    border-radius: 4px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--bleu-fonce);
    text-transform: uppercase;
    margin-bottom: 25px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-row .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bleu-fonce);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-row p {
    font-size: 14px;
    color: var(--gris-moyen);
}

.contact-row a {
    color: var(--gris-moyen);
    transition: color 0.3s;
}

.contact-row a:hover {
    color: var(--orange);
}

/* ===== MAP ===== */
.map-section {
    padding: 60px 0 0;
    background: var(--blanc);
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-info-card {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--blanc);
    padding: 20px 25px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    max-width: 300px;
}

.map-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gris-fonce);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-info-card p {
    font-size: 13px;
    color: var(--gris-moyen);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bleu-fonce);
    color: var(--blanc);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--blanc);
}

.footer-col p,
.footer-col a,
.footer-col li {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col .contact-info p {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

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

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

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

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

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    nav.desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 60px;
    }

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

    .hero {
        height: 450px;
    }

    .page-banner {
        height: 180px;
    }

    .page-banner h1 {
        font-size: 22px;
    }

    .vision h2 {
        font-size: 24px;
    }

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

    .vision-bg-text {
        font-size: 60px;
    }

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

    .service-card img {
        height: 220px;
    }

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

    .real-item img {
        height: 220px;
    }

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

    .service-detail {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-info-card {
        left: 15px;
        top: 15px;
        max-width: 220px;
        padding: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .section-title h2 {
        font-size: 22px;
    }
}
