.mission-img-rect {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background: #fff;
    display: block;
    margin: 0 auto;
}
/* Image rectangle avec border-radius pour la déclaration de travaux */
.mission-img-rect {
    width: 220px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background: #fff;
    display: block;
    margin: 0 auto;
}
/* === CAROUSEL MISSION PLUS === */
.carousel {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-track {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.carousel-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow);
    background: #fff;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}
.carousel-img.active {
    opacity: 1;
    z-index: 2;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 118, 210, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.carousel-btn:hover {
    background: var(--primary-dark);
}
.carousel-btn.prev {
    left: -38px;
}
.carousel-btn.next {
    right: -38px;
}
@media (max-width: 600px) {
    .carousel, .carousel-track {
        width: 120px;
        height: 120px;
    }
    .carousel-img {
        width: 120px;
        height: 120px;
        border-radius: 14px;
    }
    .carousel-btn.prev {
        left: -28px;
    }
    .carousel-btn.next {
        right: -28px;
    }
}
.mission-img img {
    max-width: 120px;
    max-height: 140px;
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 40% / 50%;
    box-shadow: var(--shadow);
    background: #fff;
    display: block;
    margin: 0 auto;
}
.mission-block-flex {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.mission-block-img {
    min-width: 220px;
    max-width: 320px;
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.mission-block-img img {
    width: 220px;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
}
.mission-block-text {
    flex: 1 1 320px;
    min-width: 220px;
}
@media (max-width: 900px) {
    .mission-block-flex {
        flex-direction: column;
        align-items: center;
    }
    .mission-block-img img {
        width: 100%;
        height: auto;
        max-width: 320px;
        margin-bottom: 1.2rem;
    }
    .mission-block-text {
        text-align: center;
    }
}
/* === SERVICES PAGE MODERN DESIGN === */
.services-hero {
    background: linear-gradient(90deg, var(--primary-dark) 60%, var(--primary) 100%);
    color: #fff;
    padding: 3.5rem 0 2.5rem 0;
    margin-bottom: 2.5rem;
}
.services-hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: nowrap;
    flex-direction: row;
    min-height: 320px;
}
.services-hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    margin-bottom: 1.1rem;
    color: #fff;
    text-align: left;
}
.services-hero-text p {
    font-size: 1.18rem;
    color: #e3eafc;
    margin-bottom: 0.7rem;
    text-align: left;
}
.services-hero-img {
    min-width: 220px;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}
.img-placeholder {
    width: 220px;
    height: 220px;
    background: #fff2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-style: italic;
    box-shadow: 0 4px 24px rgba(25, 118, 210, 0.10);
    overflow: hidden;
    margin-left: auto;
    margin-right: 0;
}
.img-placeholder img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .services-hero-flex {
        flex-direction: column;
        align-items: center;
    }
    .services-hero-img {
        justify-content: center;
        margin-top: 1.5rem;
    }
    .services-hero-text, .services-hero-text h1, .services-hero-text p {
        text-align: center !important;
    }
}

.mission-block {
    background: var(--bg-light);
    padding: 2.5rem 0 2rem 0;
    margin-bottom: 2.2rem;
}
.mission-block h2 {
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 1.1rem;
}
.mission-block p {
    font-size: 1.08rem;
    color: var(--text);
}

.missions-incluses {
    background: #fff;
    padding: 2.5rem 0 2rem 0;
    margin-bottom: 2.2rem;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}
.missions-incluses h2 {
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.missions-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}
.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 2.2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(25,118,210,0.07);
    padding: 1.5rem 1.2rem;
    transition: box-shadow 0.18s, transform 0.18s;
}
.mission-item:hover {
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.13);
    transform: translateY(-2px) scale(1.01);
}
.mission-text h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
    font-family: 'Montserrat', sans-serif;
}
.mission-text p {
    color: var(--text);
    font-size: 1.04rem;
}
.mission-img {
    min-width: 120px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-plus {
    background: var(--bg-light);
    padding: 2.5rem 0 2rem 0;
    margin-bottom: 2.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.mission-plus h2 {
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
}
.mission-plus-flex {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    flex-wrap: wrap;
}
.mission-plus-text {
    flex: 2 1 320px;
}
.mission-plus-img {
    min-width: 120px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.missions-supplementaires {
    background: #fff;
    padding: 2.5rem 0 2rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2.2rem;
}
.missions-supplementaires h2 {
    color: var(--primary-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    text-align: center;
}
.missions-supplementaires .missions-list {
    gap: 2.2rem;
}

@media (max-width: 900px) {
    .services-hero-flex,
    .mission-plus-flex {
        flex-direction: column;
        align-items: center;
    }
    .mission-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .mission-img, .mission-plus-img {
        margin-top: 1.2rem;
    }
}
@media (max-width: 600px) {
    .services-hero-text h1 {
        font-size: 1.5rem;
    }
    .mission-block h2, .missions-incluses h2, .mission-plus h2, .missions-supplementaires h2 {
        font-size: 1.1rem;
    }
    .mission-item, .mission-plus-flex {
        padding: 1rem 0.5rem;
        gap: 1.2rem;
    }
    .img-placeholder {
        width: 110px;
        height: 110px;
        font-size: 0.9rem;
    }
}
/* Galerie réalisations - taille images réduite */
.realisations-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
    margin: 2.5rem 0 1.5rem 0;
}
.real-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s, box-shadow 0.18s;
    max-width: 220px;
    margin: 0 auto;
}
.real-card img {
    width: 100%;
    max-width: 180px;
    max-height: 120px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0.5rem;
    background: #f5f5f5;
}
.real-caption {
    padding: 0.5rem 0.7rem 1rem 0.7rem;
    text-align: center;
    font-size: 0.98rem;
    color: var(--primary-dark);
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #1976D2;
    --primary-dark: #1A237E;
    --accent: #FFD600;
    --bg: #fff;
    --bg-light: #F5F5F5;
    --text: #222;
    --text-light: #666;
    --radius: 18px;
    --shadow: 0 4px 24px rgba(25, 118, 210, 0.08);
}

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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}
.logo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}
.nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: nowrap;
}
.nav a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius);
    white-space: nowrap;
    line-height: 1.2;
}
.nav a:hover {
    background: var(--accent);
    color: var(--primary-dark);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
}

.hero {
    background: linear-gradient(90deg, var(--primary-dark) 60%, var(--primary) 100%);
    color: #fff;
    padding: 4rem 0 2rem 0;
}
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.hero-content {
    max-width: 600px;
}
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.cta {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 1rem 2.2rem;
    border-radius: 40px;
    box-shadow: var(--shadow);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.cta-main {
    font-size: 1.2rem;
    background: var(--accent);
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    box-shadow: 0 6px 24px rgba(25, 118, 210, 0.13);
}
.cta:hover, .cta-main:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}
.hero-img img {
    max-width: 320px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
}

.atouts {
    background: var(--bg-light);
    padding: 3rem 0;
}
.atouts h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}
.atouts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.atout {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.atout:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.15);
}
.atout img {
    width: 48px;
    margin-bottom: 1rem;
}
.atout h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: var(--primary);
}

.presentation {
    padding: 3rem 0;
}
.presentation h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}
.presentation-flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.presentation-text {
    flex: 1 1 320px;
    max-width: 500px;
}
.presentation-img img {
    max-width: 320px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
}

.services {
    background: var(--bg-light);
    padding: 3rem 0;
}
.services h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.service {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
}
.service h3 {
    color: var(--primary);
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
}

.contact {
    padding: 3rem 0;
}
.contact h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
}
.contact-form {
    max-width: 500px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
}
.contact-form textarea {
    min-height: 120px;
}
.contact-form button {
    align-self: flex-end;
}
.contact-infos {
    text-align: center;
    color: var(--text-light);
}
.contact-infos a {
    color: var(--primary);
    text-decoration: none;
}

.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 1rem;
}
.footer a {
    color: var(--accent);
    text-decoration: underline;
    margin: 0 0.5rem;
}
.footer-socials {
    margin-top: 1rem;
}
.footer-socials a img {
    width: 32px;
    height: 32px;
    margin: 0 0.5rem;
    vertical-align: middle;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-flex,
    .atouts-list,
    .presentation-flex,
    .services-list {
        flex-direction: column;
        align-items: center;
    }
    .hero-img img {
        margin-top: 2rem;
    }
}
@media (max-width: 600px) {
    .header-flex {
        flex-direction: row;
    }
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        box-shadow: var(--shadow);
        border-radius: 0 0 0 var(--radius);
        z-index: 200;
    }
    .nav.open {
        display: flex;
    }
    .burger {
        display: flex;
    }
}
