/* =========================
   RESET & BASE
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
}

/* =========================
   AFFICHAGE RÉDUIT (desktop/tablette)
   Reproduit l'effet "zoom navigateur à 80%"
   sans toucher au design ni au mobile.
========================= */
@media (min-width: 769px) {
    html {
        zoom: 0.8;
    }
}

/* =========================
   HEADER
========================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 26px 40px;
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.header-inner {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-logo img {
    height: 130px;
    width: auto;
    display: block;
    transition: height 0.35s ease;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.header-nav a {
    text-decoration: none;
    color: #111;
    font-size: 18px;
    font-weight: 400;
    transition: font-size 0.35s ease;
}

.header-nav span {
    color: #111;
    font-size: 22px;
    line-height: 1;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #d5bb56;
    color: #fff;
    text-decoration: none;
    padding: 18px 26px;
    font-size: 18px;
    min-width: 245px;
    justify-content: center;
    transition: padding 0.35s ease, font-size 0.35s ease, min-width 0.35s ease;
}

.header-cta:hover {
    opacity: 0.85;
}

.main-header.shrink {
    padding: 14px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.main-header.shrink .header-logo img {
    height: 70px;
}

.main-header.shrink .header-nav a {
    font-size: 16px;
}

.main-header.shrink .header-cta {
    padding: 14px 22px;
    font-size: 16px;
    min-width: 220px;
}

/* =========================
   HAMBURGER (mobile/tablette)
========================= */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger-bar {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #111;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* RIDEAU SOMBRE */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* PANNEAU DE MENU */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: #fff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 130px 0 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav a {
    display: block;
    padding: 18px 30px;
    font-size: 18px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-nav a:hover {
    background: #f7f7f7;
}

.mobile-nav-cta {
    margin: 26px 24px 0;
    width: calc(100% - 48px);
    min-width: unset;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .main-header {
        padding: 16px 24px;
    }

    .header-logo img {
        height: 76px;
    }

    .header-nav,
    .header-inner>.header-cta {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }
}

/* =========================
   BOUTON GLOBAL
========================= */
.mcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d9bc57;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    min-width: 260px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.mcs-btn:hover {
    background: #c6aa48;
    transform: translateY(-2px);
}

/* =========================
   HERO
========================= */
.mcs-top {
    position: relative;
    min-height: 100vh;
    padding-top: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url(/img/index/photo-orly.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.mcs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

.mcs-content {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.h2-title {
    font-size: 60px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 auto 20px;
}

.h2-text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 0 35px;
    color: rgba(255, 255, 255, 0.92);
}

.mcs-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* =========================
   SECTION OUVERTURE
========================= */
.mcs-section {
    text-align: center;
    padding: 90px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.zigzag-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mcs-title {
    color: #5b9fc4;
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 1.5rem;
}

.mcs-text {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.mcs-link {
    color: #5b9fc4;
    text-decoration: underline;
}

.mcs-section .mcs-btn {
    margin-top: 1.25rem;
    min-width: unset;
    padding: 14px 48px;
}

/* =========================
   SECTION FORAGE (section2)
========================= */
.mcs-section2 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 90px 40px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
    column-gap: 48px;
    row-gap: 28px;
}

.text-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 18px;
}

.text-left .zigzag-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0 0 34px 0;
}

.text-left .zigzag-wrapper svg {
    width: 100%;
    max-width: 520px;
    height: 20px;
    display: block;
}

.text-left h2 {
    color: #5b9fc4;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 34px 0;
    max-width: 540px;
}

.text-left p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #2b2b2b;
    margin: 0 0 24px 0;
    max-width: 560px;
    font-family: "Lato", sans-serif;
}

.text-left a:not(.mcs-btn) {
    color: #5b9fc4;
    text-decoration: underline;
}

.mcs-section2 .mcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d3b24a;
    color: #fff;
    text-decoration: none;
    padding: 20px 34px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 8px;
    min-width: 220px;
}

.img-right {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.img-right img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .mcs-section2 {
        grid-template-columns: 1fr;
        padding: 60px 24px;
        row-gap: 30px;
    }

    .text-left {
        padding-top: 0;
    }

    .text-left .zigzag-wrapper svg {
        max-width: 100%;
    }

    .text-left h2 {
        font-size: 2.4rem;
        max-width: 100%;
    }

    .text-left p {
        font-size: 1rem;
        max-width: 100%;
    }

    .mcs-section2 .mcs-btn {
        margin-top: 0;
    }

    .img-right img {
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 576px) {
    .mcs-section2 {
        padding: 45px 18px;
    }

    .text-left h2 {
        font-size: 2rem;
    }

    .text-left .zigzag-wrapper {
        margin-bottom: 24px;
    }

    .text-left p {
        line-height: 1.75;
    }

    .mcs-section2 .mcs-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
    }
}

/* =========================
   GALERIE
========================= */

.img-gal {
    width: 100%;
    padding: 90px 20px 120px;
    background: white;
    text-align: center;
}

.img-gal .gal-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.img-gal .img-content {
    width: 290px;
    text-align: center;
}

.img-gal .img-content img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

.img-gal .gal-text {
    margin: 18px 0 22px;
    font-size: 15px;
    line-height: 1.4;
    color: #6b5730;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
}

.img-gal .mcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 46px;
    padding: 0 22px;
    background: #d4b24c;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    transition: 0.3s ease;
}

.img-gal .mcs-btn:hover {
    background: #bf9c38;
}

@media (max-width: 1024px) {
    .img-gal .gal-content {
        gap: 22px;
    }

    .img-gal .img-content {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .img-gal {
        padding: 70px 20px 90px;
    }

    .img-gal .gal-content {
        flex-direction: column;
        align-items: center;
    }

    .img-gal .img-content {
        width: 100%;
        max-width: 340px;
    }

    .img-gal .img-content img {
        height: 210px;
    }
}

/* =========================
    MAP
========================= */
.map-section {
    width: 100%;
    padding: 80px 0 0;
    background: white;
    text-align: center;
}

.map-section p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

/* CONTENEUR MAP */
.map-frame {
    width: 100%;
    height: 420px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: white;
}

/* IFRAME (quand chargée) */
.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* BLOC CONSENTEMENT */
.map-consent-box {
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
}

/* TEXTE */
.map-consent-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    max-width: 500px;
}

/* BOUTON */
.map-consent-btn {
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    color: white;
    background-color: #5f89b6;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* HOVER */
.map-consent-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* NOTE RGPD */
.map-consent-note {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    max-width: 500px;
}

/* =========================
   CARTE (page accueil uniquement)
========================= */
.map-section--home {
    padding-bottom: 100px;
}

.map-section--home .map-address {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.map-section--home .map-frame {
    max-width: 700px;
    height: 380px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid #ececec;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
}

.map-section--home .map-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 2;
}

.map-section--home .map-consent-box {
    padding-top: 36px;
}

/* =========================
    SECTION BLEU
========================= */
.blue-section {
    width: 100%;
    padding: 95px 20px 105px;
    background: #5f89b6;
    text-align: center;
    color: #fff;
}

.blue-section .zigzag-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.blue-section h2 {
    margin: 0 auto 65px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 400;
    color: #fff;
}

.blue-features {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 110px;
    flex-wrap: wrap;
}

.feature {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.feature .icon {
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-svg {
    width: 58px;
    height: 58px;
    fill: #fff;
    display: block;
    flex-shrink: 0;
}

.feature p {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 300;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .blue-section {
        padding: 80px 20px 90px;
    }

    .blue-section h2 {
        font-size: 2.4rem;
        margin-bottom: 50px;
    }

    .blue-features {
        gap: 60px;
    }

    .feature {
        width: 200px;
    }
}

@media (max-width: 767px) {
    .blue-section h2 {
        font-size: 1.9rem;
    }

    .blue-features {
        flex-direction: column;
        align-items: center;
        gap: 38px;
    }

    .feature {
        width: 100%;
        max-width: 260px;
    }

    .icon-svg {
        width: 54px;
        height: 54px;
    }

    .feature p {
        font-size: 0.95rem;
    }
}

/* =========================
    DERNIERE SECTION
========================= */
.last {
    width: 100%;
    padding: 90px 20px 120px;
    background: white;
    text-align: center;
}

.last p {
    margin-bottom: 20px;
}

/* =========================
   FOOTER
========================= */
.main-footer {
    width: 100%;
    background: #1f1f1f;
    color: #fff;
    padding: 40px 40px 20px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.footer-item a {
    color: inherit;
}

.footer-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.footer-center {
    text-align: center;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0d5aa3;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.reviews-count {
    font-size: 22px;
    margin-bottom: 8px;
}

.reviews-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px 0 8px;
}

.reviews-stars .star {
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    color: transparent;
    -webkit-text-stroke: 2px #d8d8d8;
    transition: 0.2s ease;
}

.reviews-stars .star.active {
    color: #d8d8d8;
    -webkit-text-stroke: 2px #d8d8d8;
}

.reviews-link {
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-brand {
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-bottom p {
    margin-bottom: 4px;
    font-size: 13px;
}

.footer-bottom a {
    color: #fff;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-right a {
    color: #fff;
    font-size: 15px;
    text-decoration: underline;
}

.link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .mcs-section2 {
        grid-template-columns: 1fr;
        grid-template-areas:
            "img"
            "text"
            "btn";
    }

    .img-right {
        grid-row: unset;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mcs-top {
        padding-top: 100px;
        min-height: 85vh;
    }

    .h2-title {
        font-size: 32px;
    }

    .h2-text {
        font-size: 1rem;
    }

    .mcs-btn {
        width: 100%;
        max-width: 320px;
        min-width: unset;
    }

    .map-section--home .map-frame {
        height: 300px;
        border-radius: 16px;
    }
}