
.c2s-header-section {
    background-color: #ffffff !important;
    padding-top: 85px !important;
    padding-bottom: 65px !important;
}
/* ==========================================================================
   2C-2S — Page Réalisations & Carrousels Swiper Modernisés (v1.2.0)
   ========================================================================== */

/* --- 0. Fix Spécifique Container & Isolation Footer --- */
body.page-id-2811 #main-content > article,
body.page-id-2811 #main-content .entry-content > .et-l--post > .et_pb_section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Garantir que le Footer Divi conserve son espacement normal */
body.page-id-2811 .et-l--footer .et_pb_section {
    padding-top: 75px !important;
    padding-bottom: 50px !important;
}

/* --- 1. En-tête Épuré (Fond Blanc Lumineux) --- */
.c2s-realisations-hero-header {
    background-color: #ffffff;
    padding: 85px 20px 65px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(8, 30, 63, 0.08);
}
.c2s-realisations-hero-header .c2s-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}
.c2s-realisations-hero-header .c2s-hero-surtitre {
    display: inline-block;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #93a32a;
    margin-bottom: 12px;
}
.c2s-realisations-hero-header .c2s-hero-h1 {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    color: #081e3f;
    margin: 0 0 16px 0;
}
.c2s-realisations-hero-header .c2s-hero-lead {
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    font-size: 19px;
    line-height: 1.6;
    color: #2c3e50;
    max-width: 760px;
    margin: 0 auto 28px auto;
}
.c2s-realisations-hero-header .c2s-hero-btn {
    display: inline-block;
    background-color: #b6ce36;
    color: #081e3f !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 34px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(182, 206, 54, 0.35);
}
.c2s-realisations-hero-header .c2s-hero-btn:hover {
    background-color: #081e3f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 30, 63, 0.3);
}

/* --- 2. Grand Slider Immersif 100% Fullwidth & Carte Givrée --- */
.c2s-hero-slider-wrap {
    background-color: #081e3f;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.c2s-hero-swiper {
    width: 100% !important;
    max-width: 100% !important;
    height: 72vh;
    min-height: 520px;
    max-height: 750px;
    border-radius: 0 !important;
    overflow: hidden;
    margin: 0;
}
.c2s-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.c2s-hero-slide .c2s-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease-out;
}
.swiper-slide-active .c2s-slide-bg {
    transform: scale(1.04);
}
/* Overlay léger transparent pour préserver l'éclat de la photo */
.c2s-hero-slide .c2s-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 30, 63, 0.15) 0%, rgba(8, 30, 63, 0.35) 100%);
    z-index: 1;
}
.c2s-hero-slide .c2s-slide-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}
/* Carte Givrée Flottante (lisibilité parfaite et photo 100% visible) */
.c2s-slide-frosted-card {
    max-width: 540px;
    background: rgba(8, 30, 63, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 34px 38px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    border-left: 4px solid #b6ce36;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}
.swiper-slide-active .c2s-slide-frosted-card {
    opacity: 1;
    transform: translateY(0);
}
.c2s-slide-badge {
    display: inline-block;
    background-color: rgba(182, 206, 54, 0.18);
    border: 1px solid #b6ce36;
    color: #b6ce36 !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
}
.c2s-slide-badge:hover {
    background-color: #b6ce36;
    color: #081e3f !important;
    border-color: #b6ce36;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(182, 206, 54, 0.35);
}
.c2s-slide-title {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 14px 0;
}
.c2s-slide-desc {
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 22px 0;
}
.c2s-slide-btn {
    display: inline-block;
    background-color: #b6ce36;
    color: #081e3f !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.c2s-slide-btn:hover {
    background-color: #ffffff;
    color: #081e3f !important;
    transform: translateX(3px);
}

/* Flèches Swiper Grand Slider */
.c2s-nav-btn {
    width: 52px !important;
    height: 52px !important;
    background: rgba(8, 30, 63, 0.85);
    border: 2px solid #b6ce36;
    border-radius: 50%;
    color: #b6ce36 !important;
    transition: all 0.3s ease;
    z-index: 10;
}
.c2s-nav-btn:after {
    font-size: 20px !important;
    font-weight: bold;
}
.c2s-nav-btn:hover {
    background: #b6ce36;
    color: #081e3f !important;
    transform: scale(1.1);
}
.c2s-nav-prev { left: 30px !important; }
.c2s-nav-next { right: 30px !important; }

/* Pagination Custom */
.c2s-hero-pagination {
    bottom: 25px !important;
}
.c2s-hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}
.c2s-hero-pagination .swiper-pagination-bullet-active {
    background: #b6ce36 !important;
    width: 30px;
    border-radius: 6px;
}

/* --- 3. Section Vision d'Ensemble Compacte (Grille 4 Colonnes & Voir Plus) --- */
.c2s-compact-grid-section {
    background: #081e3f url('/wp-content/uploads/2019/06/BG-abstract-grain.jpg') repeat;
    padding: 85px 20px 95px 20px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.c2s-compact-grid-section .c2s-section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 40px auto;
}
.c2s-compact-grid-section .c2s-section-surtitre {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b6ce36;
    margin-bottom: 10px;
    display: block;
}
.c2s-compact-grid-section .c2s-section-h2 {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}
.c2s-compact-grid-section .c2s-section-divider {
    width: 80px;
    height: 2px;
    background: #b6ce36;
    margin: 0 auto 24px auto;
}
.c2s-compact-grid-section .c2s-section-desc {
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Filtres par boutons */
.c2s-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 40px auto;
    max-width: 1000px;
}
.c2s-filter-btn {
    background: rgba(20, 46, 85, 0.6);
    border: 1px solid rgba(201, 222, 247, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.c2s-filter-btn:hover {
    border-color: #b6ce36;
    color: #ffffff;
    transform: translateY(-1px);
}
.c2s-filter-btn.active {
    background: #b6ce36;
    border-color: #b6ce36;
    color: #081e3f;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(182, 206, 54, 0.3);
}

/* Grille 4 colonnes */
.c2s-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
}
.c2s-grid-card {
    background: #0d254c;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.c2s-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    border-color: rgba(182, 206, 54, 0.4);
}
.c2s-card-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* Ratio 3:2 */
    overflow: hidden;
    background-color: #081e3f;
}
.c2s-card-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.c2s-grid-card:hover .c2s-card-img-wrap img {
    transform: scale(1.08);
}
.c2s-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(8, 30, 63, 0.85);
    color: #b6ce36;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(182, 206, 54, 0.4);
}
.c2s-card-body {
    padding: 16px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.c2s-card-title {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}
.c2s-grid-card:hover .c2s-card-title {
    color: #b6ce36;
}
.c2s-card-meta {
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: rgba(201, 222, 247, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.c2s-card-arrow {
    color: #b6ce36;
    font-weight: bold;
    transition: transform 0.3s ease;
}
.c2s-grid-card:hover .c2s-card-arrow {
    transform: translateX(4px);
}

/* Pagination & Bouton Voir Plus */
.c2s-grid-card.filtered-out,
.c2s-grid-card.load-more-hidden {
    display: none !important;
}

.c2s-load-more-wrap {
    text-align: center;
    margin-top: 45px;
}
.c2s-load-more-btn {
    background-color: transparent;
    border: 2px solid #b6ce36;
    color: #b6ce36;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.c2s-load-more-btn:hover {
    background-color: #b6ce36;
    color: #081e3f;
    box-shadow: 0 6px 20px rgba(182, 206, 54, 0.35);
    transform: translateY(-2px);
}
.c2s-load-more-btn .c2s-more-count {
    font-size: 13px;
    opacity: 0.85;
    font-weight: normal;
}

/* --- 4. Section Carrousel Prestations (3 Slides / Vue) --- */
.c2s-prestations-section {
    background: rgba(201, 222, 247, 0.41);
    padding: 85px 20px 95px 20px;
    position: relative;
    border-top: 1px solid rgba(8, 30, 63, 0.08);
}
.c2s-prestations-section .c2s-prest-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 45px auto;
}
.c2s-prestations-section .c2s-prest-surtitre {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #93a32a;
    margin-bottom: 10px;
    display: block;
}
.c2s-prestations-section .c2s-prest-h2 {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #081e3f;
    margin: 0 0 16px 0;
}
.c2s-prestations-section .c2s-prest-divider {
    width: 80px;
    height: 2px;
    background: #b6ce36;
    margin: 0 auto 24px auto;
}
.c2s-prestations-section .c2s-prest-desc {
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #2c3e50;
    line-height: 1.6;
}

/* Swiper Prestations */
.c2s-prestations-swiper-wrap {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    padding: 10px 50px;
}
.c2s-prestations-swiper {
    padding: 20px 5px 45px 5px !important;
}
.c2s-prestation-card {
    height: auto !important;
}
.c2s-prestation-card-inner {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(8, 30, 63, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    transition: all 0.35s ease;
    border: 1px solid rgba(8, 30, 63, 0.05);
}
.c2s-prestation-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(8, 30, 63, 0.16);
    border-color: rgba(182, 206, 54, 0.6);
}
.c2s-prestation-img {
    width: 100%;
    padding-top: 58%; /* Ratio ~16:9 */
    position: relative;
    overflow: hidden;
    background-color: #081e3f;
}
.c2s-prestation-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.c2s-prestation-card-inner:hover .c2s-prestation-img img {
    transform: scale(1.08);
}
.c2s-prestation-body {
    padding: 24px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.c2s-prestation-title {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #081e3f;
    margin: 0 0 16px 0;
    transition: color 0.3s ease;
}
.c2s-prestation-card-inner:hover .c2s-prestation-title {
    color: #93a32a;
}
.c2s-prestation-link {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #93a32a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.c2s-prestation-card-inner:hover .c2s-prestation-link {
    color: #081e3f;
    transform: translateX(4px);
}

/* Boutons Swiper Prestations */
.c2s-prest-btn {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff;
    border: 2px solid #081e3f;
    border-radius: 50%;
    color: #081e3f !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.c2s-prest-btn:after {
    font-size: 16px !important;
    font-weight: bold;
}
.c2s-prest-btn:hover {
    background: #081e3f;
    color: #b6ce36 !important;
    border-color: #081e3f;
}
.c2s-prest-prev { left: 0px !important; }
.c2s-prest-next { right: 0px !important; }

.c2s-prest-pagination .swiper-pagination-bullet {
    background: #081e3f;
    opacity: 0.3;
}
.c2s-prest-pagination .swiper-pagination-bullet-active {
    background: #93a32a !important;
    opacity: 1;
    width: 24px;
    border-radius: 6px;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1200px) {
    .c2s-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 980px) {
    .c2s-hero-swiper {
        height: 60vh;
        min-height: 460px;
    }
    .c2s-hero-slide .c2s-slide-container {
        padding: 0 35px;
    }
    .c2s-slide-frosted-card {
        padding: 26px 28px;
        max-width: 460px;
    }
    .c2s-slide-title {
        font-size: 26px;
    }
    .c2s-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .c2s-prestations-swiper-wrap {
        padding: 10px 10px;
    }
}
@media (max-width: 640px) {
    .c2s-realisations-hero-header {
        padding: 55px 15px 40px 15px;
    }
    .c2s-realisations-hero-header .c2s-hero-h1 {
        font-size: 28px;
    }
    .c2s-realisations-hero-header .c2s-hero-lead {
        font-size: 16px;
    }
    .c2s-hero-swiper {
        height: auto;
        min-height: 480px;
    }
    .c2s-hero-slide .c2s-slide-container {
        padding: 40px 20px;
    }
    .c2s-slide-frosted-card {
        padding: 24px 20px;
        max-width: 100%;
    }
    .c2s-slide-title {
        font-size: 22px;
    }
    .c2s-slide-desc {
        font-size: 14px;
    }
    .c2s-nav-btn {
        display: none !important;
    }
    .c2s-grid-container {
        grid-template-columns: 1fr;
    }
    .c2s-compact-grid-section .c2s-section-h2,
    .c2s-prestations-section .c2s-prest-h2 {
        font-size: 26px;
    }
}
/* --- Corrections Précises Rendu Divi Preview --- */
/* 1. Header sous le menu fixe */
.c2s-header-section,
.c2s-header-section.et_pb_section {
    background-color: #ffffff !important;
    padding-top: 85px !important;
    padding-bottom: 75px !important;
    text-align: center !important;
}
.c2s-header-section .et_pb_row {
    margin: 0 auto !important;
    text-align: center !important;
    max-width: 860px !important;
    float: none !important;
}
.c2s-header-section .et_pb_column {
    text-align: center !important;
}
.c2s-header-section .et_pb_text {
    text-align: center !important;
}
.c2s-header-section .et_pb_text h1 {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #081e3f !important;
    margin: 0 0 16px 0 !important;
    text-align: center !important;
}
.c2s-header-section .et_pb_text p {
    text-align: center !important;
}
.c2s-header-section .et_pb_button_wrapper {
    text-align: center !important;
    margin-top: 20px !important;
}
.c2s-header-section .et_pb_button {
    display: inline-block !important;
    background-color: #b6ce36 !important;
    color: #081e3f !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 34px !important;
    box-shadow: 0 4px 15px rgba(182, 206, 54, 0.35) !important;
    transition: all 0.3s ease !important;
}
.c2s-header-section .et_pb_button:hover {
    background-color: #081e3f !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* 2. Slider 100% Pleine Largeur (Edge-to-Edge) */
.c2s-fullwidth-section,
.c2s-fullwidth-section.et_pb_section,
.c2s-fullwidth-section .et_pb_row,
.c2s-fullwidth-section .et_pb_column,
.c2s-fullwidth-section .et_pb_code,
.c2s-fullwidth-section .et_pb_code_inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Slider en première position : ajustement vertical */
.c2s-fullwidth-section .c2s-hero-swiper {
    height: 75vh;
    min-height: 540px;
    max-height: 780px;
}
.c2s-fullwidth-section .c2s-hero-slide .c2s-slide-container {
    padding-top: 30px;
}

/* ==========================================================================
   CORRECTIFS DÉFINITIFS : ZÉRO MARGE SUR SLIDER & FOND BLANC PUR SUR H1
   ========================================================================== */

/* 1. Section Slider : suppression absolue des marges blanches haute et basse */
body.page-id-2811 .c2s-slider-section,
body.page-id-2811 .c2s-slider-section.et_pb_section,
body.page-id-2811 .et_pb_section_0.et_pb_section,
.c2s-slider-section,
.c2s-slider-section.et_pb_section {
    background-color: #081e3f !important;
    background-image: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: none !important;
}

body.page-id-2811 .c2s-slider-section .et_pb_row,
.c2s-slider-section .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-id-2811 .c2s-slider-section .et_pb_column,
body.page-id-2811 .c2s-slider-section .et_pb_code,
body.page-id-2811 .c2s-slider-section .et_pb_code_inner {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 2. Section H1 : Fond Blanc Pur Garanti & Textes Visibles */
body.page-id-2811 .c2s-header-section,
body.page-id-2811 .c2s-header-section.et_pb_section,
body.page-id-2811 .et_pb_section_1.et_pb_section,
.c2s-header-section,
.c2s-header-section.et_pb_section {
    background-color: #ffffff !important;
    background-image: none !important;
    padding-top: 80px !important;
    padding-bottom: 75px !important;
    text-align: center !important;
    border: none !important;
}

body.page-id-2811 .c2s-header-section .et_pb_row,
.c2s-header-section .et_pb_row {
    background-color: transparent !important;
    margin: 0 auto !important;
    max-width: 860px !important;
    text-align: center !important;
    float: none !important;
}

body.page-id-2811 .c2s-header-section .et_pb_column,
.c2s-header-section .et_pb_column {
    background-color: transparent !important;
    text-align: center !important;
}

body.page-id-2811 .c2s-header-section .et_pb_text,
.c2s-header-section .et_pb_text {
    background-color: transparent !important;
    text-align: center !important;
}

/* Textes sur fond blanc */
body.page-id-2811 .c2s-header-section h1,
body.page-id-2811 .et_pb_section_1 h1,
.c2s-header-section h1 {
    color: #081e3f !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 16px 0 !important;
    text-align: center !important;
}

body.page-id-2811 .c2s-header-section p,
body.page-id-2811 .et_pb_section_1 p,
.c2s-header-section p {
    color: #2c3e50 !important;
    font-family: 'Karla', Helvetica, Arial, sans-serif !important;
    font-size: 19px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

/* Surtitre */
body.page-id-2811 .c2s-header-section .et_pb_text:first-child p,
.c2s-header-section .et_pb_text:first-child p {
    color: #93a32a !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 0 0 12px 0 !important;
}

/* Bouton Contactez-nous */
body.page-id-2811 .c2s-header-section .et_pb_button,
.c2s-header-section .et_pb_button {
    display: inline-block !important;
    background-color: #b6ce36 !important;
    color: #081e3f !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 34px !important;
    box-shadow: 0 4px 15px rgba(182, 206, 54, 0.35) !important;
    transition: all 0.3s ease !important;
}

body.page-id-2811 .c2s-header-section .et_pb_button:hover,
.c2s-header-section .et_pb_button:hover {
    background-color: #081e3f !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}
/* Suppressions de marges et fonds pour modules Divi Texte externes */
.c2s-compact-grid-section.no-header {
    padding-top: 0 !important;
    background: transparent !important;
    border-top: none !important;
}
.c2s-prestations-section.no-header {
    padding-top: 0 !important;
    background: transparent !important;
    border-top: none !important;
}
/* Séparateur vert global pour modules Divi */
.c2s-section-divider {
    width: 80px !important;
    height: 2px !important;
    background-color: #b6ce36 !important;
    margin: 0 auto 24px auto !important;
    display: block !important;
}

/* --- 6. Carrousel Réalisations sur Pages Prestations (Style identique capture d'écran) --- */
.c2s-prestation-realisations-section {
    background: rgba(201, 222, 247, 0.41) !important;
    padding: 85px 20px 95px 20px !important;
    position: relative;
    border-top: 1px solid rgba(8, 30, 63, 0.08);
}
.c2s-prest-real-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 45px auto;
}
.c2s-prest-real-surtitre {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #93a32a;
    margin-bottom: 10px;
    display: block;
}
.c2s-prest-real-h2 {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #081e3f;
    margin: 0 0 16px 0;
}
.c2s-prest-real-divider {
    width: 80px;
    height: 2px;
    background: #b6ce36;
    margin: 0 auto 24px auto;
}
.c2s-prest-real-desc {
    font-family: 'Karla', Helvetica, Arial, sans-serif;
    font-size: 18px;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* Swiper Container */
.c2s-prestation-realisations-swiper-wrap {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    padding: 10px 50px;
}
.c2s-prestation-realisations-swiper {
    padding-bottom: 45px !important;
}

/* Carte Réalisation (Clone visuel exact des cartes prestations) */
.c2s-prest-realisation-card-inner {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(8, 30, 63, 0.08);
    transition: all 0.35s ease;
    height: 100%;
}
.c2s-prest-realisation-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(8, 30, 63, 0.16);
}
.c2s-prest-realisation-img {
    height: 230px;
    overflow: hidden;
    position: relative;
    background-color: #081e3f;
}
.c2s-prest-realisation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.c2s-prest-realisation-card-inner:hover .c2s-prest-realisation-img img {
    transform: scale(1.06);
}
.c2s-prest-realisation-body {
    padding: 24px 22px 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.c2s-prest-realisation-title {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: #081e3f;
    margin: 0 0 18px 0;
    transition: color 0.3s ease;
}
.c2s-prest-realisation-card-inner:hover .c2s-prest-realisation-title {
    color: #b6ce36;
}
.c2s-prest-realisation-link {
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #93a32a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.c2s-prest-realisation-card-inner:hover .c2s-prest-realisation-link {
    color: #081e3f;
    transform: translateX(4px);
}

/* Boutons Navigation Flèches */
.c2s-prest-real-btn {
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 2px solid #081e3f !important;
    border-radius: 50% !important;
    color: #081e3f !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    top: 45% !important;
}
.c2s-prest-real-btn:after {
    font-size: 16px !important;
    font-weight: bold;
}
.c2s-prest-real-btn:hover {
    background: #b6ce36 !important;
    border-color: #b6ce36 !important;
    color: #081e3f !important;
    transform: scale(1.08);
}
.c2s-prest-real-prev { left: 0px !important; }
.c2s-prest-real-next { right: 0px !important; }

/* Pagination Puces */
.c2s-prest-real-pagination .swiper-pagination-bullet {
    background: #081e3f;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.c2s-prest-real-pagination .swiper-pagination-bullet-active {
    background: #b6ce36 !important;
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* Bouton CTA bas de section */
.c2s-prest-real-cta-wrap {
    text-align: center;
    margin-top: 35px;
}
.c2s-prest-real-cta-btn {
    display: inline-block;
    background-color: #b6ce36;
    color: #ffffff !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 32px;
    border-radius: 0px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.c2s-prest-real-cta-btn:hover {
    background-color: #081e3f;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(8, 30, 63, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .c2s-prestation-realisations-swiper-wrap {
        padding: 10px 10px;
    }
    .c2s-prest-real-btn {
        display: none !important;
    }
}
/* --- Optimisation de l'espacement bas sur les pages Prestations --- */
.single-post #main-content article,
.page #main-content article {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.single-post #main-content .et_post_meta_wrapper:last-child {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.et_pb_section.c2s-prestation-realisations-section {
    background-color: rgba(201, 222, 247, 0.41) !important;
    background: rgba(201, 222, 247, 0.41) !important;
    padding-top: 70px !important;
    padding-bottom: 50px !important;
}
.c2s-prest-real-cta-wrap {
    text-align: center;
    margin-top: 25px !important;
    margin-bottom: 0 !important;
}
/* --- Style des titres et légendes de galeries photos sur fond sombre --- */
.single-post .et_pb_gallery .et_pb_gallery_title,
.single-post .et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_title,
.et_pb_section_1 .et_pb_gallery_title {
    color: #ffffff !important;
    font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-top: 12px !important;
    text-align: center !important;
    transition: color 0.3s ease !important;
}
.single-post .et_pb_gallery_grid .et_pb_gallery_item:hover .et_pb_gallery_title {
    color: #b6ce36 !important;
}
.single-post .et_pb_gallery .et_pb_gallery_caption,
.single-post .et_pb_gallery_grid .et_pb_gallery_item .et_pb_gallery_caption,
.et_pb_section_1 .et_pb_gallery_caption {
    color: rgba(201, 222, 247, 0.85) !important;
    font-family: 'Karla', Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    text-align: center !important;
}
/* --- Uniformisation de la hauteur des cartes et titres (calibré pour 3 lignes) --- */
.c2s-prestation-realisations-swiper .swiper-wrapper,
.c2s-prestations-swiper .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
}
.c2s-prestation-realisations-swiper .swiper-slide,
.c2s-prestations-swiper .swiper-slide {
    height: auto !important;
    display: flex !important;
}
.c2s-prest-realisation-card-inner,
.c2s-prestation-card-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}
.c2s-prest-realisation-body,
.c2s-prestation-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
}

/* Hauteur minimale du titre fixée à 3 lignes */
.c2s-prest-realisation-title {
    min-height: 77px !important;
    display: flex !important;
    align-items: flex-start !important;
}
.c2s-prestation-title {
    min-height: 73px !important;
    display: flex !important;
    align-items: flex-start !important;
}

@media (max-width: 767px) {
    .c2s-prest-realisation-title,
    .c2s-prestation-title {
        min-height: auto !important;
    }
}
/* --- Support Thème Sombre pour Carrousel Réalisations (ex: Homepage Section 4) --- */
.home-portfolio-dark .c2s-prestation-realisations-wrapper,
.c2s-prestation-realisations-wrapper.theme-dark {
    padding: 10px 0 20px 0;
}
.home-portfolio-dark .c2s-prest-real-pagination .swiper-pagination-bullet,
.c2s-prestation-realisations-wrapper.theme-dark .c2s-prest-real-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
}
.home-portfolio-dark .c2s-prest-real-pagination .swiper-pagination-bullet-active,
.c2s-prestation-realisations-wrapper.theme-dark .c2s-prest-real-pagination .swiper-pagination-bullet-active {
    background: #b6ce36 !important;
    width: 24px;
    border-radius: 4px;
}
.home-portfolio-dark .c2s-prest-real-btn,
.c2s-prestation-realisations-wrapper.theme-dark .c2s-prest-real-btn {
    background: #ffffff !important;
    border: 2px solid #b6ce36 !important;
    color: #081e3f !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}
.home-portfolio-dark .c2s-prest-real-btn:hover,
.c2s-prestation-realisations-wrapper.theme-dark .c2s-prest-real-btn:hover {
    background: #b6ce36 !important;
    border-color: #b6ce36 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.08) !important;
}
/* ==========================================================================
   GRAND SLIDER IMMERSIF POUR FICHE RÉALISATION SINGLE (Projet)
   ========================================================================== */
.c2s-project-slider-wrapper {
  position: relative;
  width: 100%;
  background: #081e3f;
  overflow: hidden;
}

.c2s-project-hero-swiper {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 720px;
}

.c2s-project-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #041022;
}

/* Fond flouté pour combler les bordures si ratio différent */
.c2s-project-slide-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-position: center center;
  background-size: cover;
  filter: blur(28px) brightness(0.35);
  transform: scale(1.1);
  z-index: 1;
}

/* Image principale nette */
.c2s-project-slide-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Boutons de navigation Flèches */
.c2s-project-hero-swiper .c2s-proj-btn-prev,
.c2s-project-hero-swiper .c2s-proj-btn-next {
  width: 48px;
  height: 48px;
  background: rgba(8, 30, 63, 0.75);
  border: 1px solid rgba(182, 206, 54, 0.5);
  border-radius: 50%;
  color: #ffffff;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.c2s-project-hero-swiper .c2s-proj-btn-prev:hover,
.c2s-project-hero-swiper .c2s-proj-btn-next:hover {
  background: #b6ce36;
  border-color: #b6ce36;
  color: #081e3f;
  transform: scale(1.08);
}

.c2s-project-hero-swiper .c2s-proj-btn-prev::after,
.c2s-project-hero-swiper .c2s-proj-btn-next::after {
  font-size: 18px;
  font-weight: 700;
}

.c2s-project-hero-swiper .c2s-proj-btn-prev { left: 24px; }
.c2s-project-hero-swiper .c2s-proj-btn-next { right: 24px; }

/* Barre inférieure : Compteur + Pagination */
.c2s-project-slider-bar {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  pointer-events: none;
}

.c2s-project-slider-counter {
  font-family: 'Oxygen', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ffffff;
  background: rgba(8, 30, 63, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.c2s-project-slider-counter .c2s-current-slide {
  color: #b6ce36;
  font-weight: 700;
  font-size: 16px;
}

.c2s-project-hero-swiper .c2s-proj-pagination {
  position: relative;
  bottom: auto;
  left: auto;
  width: auto;
  pointer-events: auto;
}

.c2s-project-hero-swiper .c2s-proj-pagination .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.5;
  width: 9px;
  height: 9px;
  margin: 0 4px;
  transition: all 0.25s ease;
}

.c2s-project-hero-swiper .c2s-proj-pagination .swiper-pagination-bullet-active {
  background: #b6ce36;
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* ==========================================================================
   ADAPTATION MOBILE & RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .c2s-project-hero-swiper {
    height: 52vh;
    min-height: 380px;
  }
  .c2s-project-hero-swiper .c2s-proj-btn-prev,
  .c2s-project-hero-swiper .c2s-proj-btn-next {
    display: none; /* Navigation swipe au doigt */
  }
  .c2s-project-slider-bar {
    padding: 0 16px;
    bottom: 12px;
    justify-content: center;
  }
  .c2s-project-hero-swiper .c2s-proj-pagination {
    display: none;
  }
}

@media (max-width: 480px) {
  .c2s-project-hero-swiper {
    height: 42vh;
    min-height: 280px;
  }
}
/* ==========================================================================
   MISE EN PAGE ARCHITECTURALE : PRESENTATION PROJET (Texte + Fiche Récap)
   ========================================================================== */
.c2s-project-presentation-section,
.et_pb_section.c2s-project-presentation-section,
.et_pb_section_1_tb_body.c2s-project-presentation-section {
  background-color: #ffffff !important;
  background-image: none !important;
  padding: 60px 0 50px 0;
}

.c2s-project-presentation-wrap {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-start;
}

.c2s-project-main-info {
  flex: 1 1 60%;
}

.c2s-project-presentation-section .entry-title,
.c2s-project-presentation-section h1,
.c2s-project-main-info h1 {
  font-family: 'Oxygen', Helvetica, Arial, sans-serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  line-height: 1.35em !important;
  margin-top: 0 !important;
  margin-bottom: 22px !important;
}

.c2s-project-main-info .c2s-project-body-text,
.c2s-project-main-info .c2s-project-body-text p {
  font-family: 'Karla', sans-serif;
  font-size: 18px !important;
  line-height: 1.8em !important;
  color: #666666;
}

.c2s-project-main-info .c2s-project-body-text li {
  font-family: 'Karla', sans-serif;
  font-size: 18px !important;
  line-height: 1.8em !important;
}

.c2s-project-main-info .c2s-project-body-text ul {
  margin: 18px 0;
  padding-left: 20px;
}

.c2s-project-main-info .c2s-project-body-text li {
  margin-bottom: 8px;
  list-style-type: square;
  color: #081e3f;
}

/* Carte latérale Fiche Technique & Contact */
.c2s-project-sidebar-card {
  flex: 0 0 340px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #b6ce36;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(8, 30, 63, 0.05);
}

.c2s-project-sidebar-title {
  font-family: 'Oxygen', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #081e3f;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.c2s-project-specs-list {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.c2s-project-specs-list li {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
}

.c2s-project-specs-list li:last-child {
  border-bottom: none;
}

.c2s-project-specs-list strong {
  color: #081e3f;
  font-weight: 700;
}

.c2s-project-cta-btn {
  display: block;
  text-align: center;
  background: #b6ce36;
  color: #ffffff !important;
  font-family: 'Oxygen', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(182, 206, 54, 0.35);
}

.c2s-project-cta-btn:hover {
  background: #081e3f;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(8, 30, 63, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .c2s-project-presentation-wrap {
    flex-direction: column;
    gap: 35px;
  }
  .c2s-project-sidebar-card {
    flex: 1 1 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .c2s-project-presentation-section .entry-title,
  .c2s-project-presentation-section h1,
  .c2s-project-main-info h1 {
    font-size: 26px !important;
    line-height: 1.35em !important;
  }
}

@media (max-width: 600px) {
  .c2s-project-presentation-section {
    padding: 30px 0 35px 0 !important;
  }
  .c2s-project-presentation-section .entry-title,
  .c2s-project-presentation-section h1,
  .c2s-project-main-info h1 {
    font-size: 25px !important;
    line-height: 1.3em !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.2px !important;
  }
  .c2s-project-presentation-section .hero-surtitre h3 {
    font-size: 13px !important;
    letter-spacing: 1px !important;
    margin-bottom: 6px !important;
  }
}

/* ==========================================================================
   GRILLE PHOTOS DÉTAIL DU CHANTIER (Responsive, Haute Résolution & Zoom)
   ========================================================================== */
.c2s-project-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
  margin-top: 30px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.c2s-gallery-card {
  position: relative !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  aspect-ratio: 4/3 !important;
  background: #040f20 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.c2s-gallery-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
}

.c2s-gallery-card a.c2s-gallery-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.c2s-gallery-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.45s ease !important;
}

.c2s-gallery-card:hover img {
  transform: scale(1.08) !important;
}

.c2s-gallery-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(8, 30, 63, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.c2s-gallery-card:hover .c2s-gallery-overlay {
  opacity: 1 !important;
}

.c2s-zoom-icon {
  width: 48px !important;
  height: 48px !important;
  background: #b6ce36 !important;
  color: #081e3f !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transform: scale(0.85) !important;
  transition: transform 0.3s ease !important;
}

.c2s-gallery-card:hover .c2s-zoom-icon {
  transform: scale(1) !important;
}

@media (max-width: 980px) {
  .c2s-project-photo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  .c2s-project-photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }
  .c2s-zoom-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
}
