html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif; /* Remplacez 'Roboto' par la police choisie */
    /* Couleur de texte par défaut */
}

/* Optionnel : appliquer à d'autres éléments */
h1, h2, h3, p, a {
    font-family: 'Lato'; /* Assure que ces éléments utilisent aussi la nouvelle police */
}

.sections {
    padding: 20px 0;
}

header {
    height: auto;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 400;
}



header.logo h2 {
    font-size: 28px; /* Taille réduite */
    color: #fff;
}



.nav-list a {
    padding: 6px 18px;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
    margin-right: 8px; /* espace entre les liens */
}

.nav-list a:last-child {
    margin-right: 0;
}

.nav-list a.active {
    color: yellow;
}

.nav-list a:hover {
    color: yellow;
}

/* Responsive : espace vertical entre les liens */

    .logo-img {
        height: 30px !important;
        width: 80px !important;
    }
    header .logo h2 {
        font-size: 1rem !important;
    }
    
    .nav-list a {
        font-size: 0.8rem !important; /* Police plus petite pour les liens */
        padding: 8px 0;
        margin: 0 0 4px 0;
        width: 100%;
        border-radius: 8px;
        text-align: center;
    }
    


.sticky {
    color: #fff;
    background: #000;
}

header, .sections, .services, .about, .test {
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
}

.home .home-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.home .home {
    color: white;
    font-size: 30px; /* Taille réduite */
    margin-bottom: 20px;
}

.section-header .section-title {
    color: #000;
    font-size: 30px; /* Taille réduite */
}

.section-header .line {
    width: 295px;
    background: #ddd;
    height: 3px;
    margin: auto;
}

.section-header .line span {
    display: block;
    width: 200px;
    height: 4px;
    background-color: purple;
    margin: auto;
    position: relative;
    bottom: 0.5px;
}

.section-header p {
    width: 50%;
    color: #888;
    margin: 20px auto;
    line-height: 1.5;
}

.about .about-info h3 {
    font-size: 24px; /* Taille réduite */
    font-weight: normal;
    margin-bottom: 20px;
}

.about .about-info h3 span {
    color: #7cb62f;
}

.about .about-info .about-info-desc {
    color: #888;
    line-height: 1.5;
    margin-bottom: 20px;
}

.test {
    margin-bottom: 400px;
}

.icon-service {
    font-size: 40px; /* Taille réduite */
    color: green;
    margin-bottom: 10px;
}

.services {
    background: #bfbebe;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='white'/%3E%3Ccircle cx='28' cy='10' r='0.8' fill='white'/%3E%3Ccircle cx='16' cy='24' r='1' fill='white'/%3E%3Ccircle cx='30' cy='30' r='0.7' fill='white'/%3E%3Ccircle cx='12' cy='18' r='0.9' fill='white'/%3E%3Ccircle cx='20' cy='8' r='0.7' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat; 
}

.services .serv {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    height: 350px;
}

.serv-image {
    flex: 1;
}

.service-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
}

.serv-info {
    flex: 1;
    text-align: center;
}

.serv-title {
    font-weight: bold;
    font-size: 20px; /* Taille réduite */
    margin: 10px 0;
}

.serv-desc {
    font-size: 14px; /* Taille réduite */
    color: black;
    word-break: break-word; /* Coupe les mots trop longs */
    overflow-wrap: break-word; /* Support supplémentaire */
    max-height: 190px; /* Ajuste selon la hauteur souhaitée */
    overflow-y: auto;  
}

.boutton-container {
    text-align: center;
    padding: 20px 0 10px 0;
    width: 100%;
    box-sizing: border-box;
    background: #bfbebe;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='white'/%3E%3Ccircle cx='28' cy='10' r='0.8' fill='white'/%3E%3Ccircle cx='16' cy='24' r='1' fill='white'/%3E%3Ccircle cx='30' cy='30' r='0.7' fill='white'/%3E%3Ccircle cx='12' cy='18' r='0.9' fill='white'/%3E%3Ccircle cx='20' cy='8' r='0.7' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.mybutton {
    margin: 0 auto;
    display: inline-block;
    min-width: 140px;
    max-width: 320px;
    width: 100%;
    font-size: 16px; /* Taille réduite */
    box-sizing: border-box;
}

.footer {
    font-family: 'Cinzel', serif;
    background: #222;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 20px; /* Taille réduite */
    margin-bottom: 10px;
    color: yellow;
}

.footer-desc {
    margin-bottom: 10px;
    font-size: 14px; /* Taille réduite */
}

.footer-icon {
    color: #fff;
    font-size: 18px; /* Taille réduite */
    transition: color 0.3s;
}

.footer-icon:hover {
    color: #7cb62f;
}

.footer-anim {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer .row, .footer .container {
    position: relative;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: 0;
    background: #7cb62f;
    border-radius: 50%;
    animation: bubbleUp linear infinite;
}

.boutton-container {
    margin: 20px 0;
}

.mybutton {
    font-size: 16px; /* Taille réduite */
    font-weight: bold;
}

@keyframes bubbleUp {
    to {
        transform: translateY(-120px);
        opacity: 0;
    }
}





    .footer-desc,
    .footer small {
        font-size: 1rem !important; /* Ajusté */
    }
    .footer-icon {
        font-size: 1.5em !important;
    }


/* services.html */

/* Animation bubble pour le header */
.bubble-anim {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

header .container,
header .row,
header .logo,
header nav {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligne à gauche */
}

.bubble {
    position: absolute;
    bottom: 0;
    background: yellow;
    border-radius: 50%;
    animation: bubbleUp 4s linear infinite;
}

@keyframes bubbleUp {
    to {
        transform: translateY(-120px);
        opacity: 0;
    }
}

.carousel-orange-bg {
    background: #bfbebe; /* orange pastel doux */
    min-height: 70vh;
    width: 100vw;
    position: relative;
    padding: 60px 0 80px 0;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='white'/%3E%3Ccircle cx='28' cy='10' r='0.8' fill='white'/%3E%3Ccircle cx='16' cy='24' r='1' fill='white'/%3E%3Ccircle cx='30' cy='30' r='0.7' fill='white'/%3E%3Ccircle cx='12' cy='18' r='0.9' fill='white'/%3E%3Ccircle cx='20' cy='8' r='0.7' fill='white'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.carousel-orange-bg .dot-deco {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.18;
    z-index: 1;
}

.carousel-orange-bg::before,
.carousel-orange-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    pointer-events: none;
}

.carousel-orange-bg::before {
    width: 220px; height: 220px;
    background: #fff;
    top: 40px; left: 60px;
}

.carousel-orange-bg::after {
    width: 140px; height: 140px;
    background: #222;
    bottom: 60px; right: 80px;
}

.carousel-orange-bg .dot-deco {
    position: absolute;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.18;
}

.carousel-orange-bg .dot-deco.dot1 { top: 120px; left: 30vw; }
.carousel-orange-bg .dot-deco.dot2 { top: 300px; left: 80vw; }
.carousel-orange-bg .dot-deco.dot3 { bottom: 80px; left: 10vw; }
.carousel-orange-bg .dot-deco.dot4 { bottom: 160px; right: 20vw; }

.carousel-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 48px 24px;
    background: transparent;
    z-index: 2;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
    gap: 24px;
}

.carousel-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(66,133,244,0.10), 0 2px 8px rgba(0,0,0,0.06);
    min-width: 340px;
    max-width: 340px;

    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 18px 22px 18px;
    margin: 0;
    transition: box-shadow 0.2s, transform 0.2s;
}

.carousel-card:hover {
    box-shadow: 0 12px 32px rgba(66,133,244,0.18);
    transform: translateY(-6px) scale(1.03);
}

.carousel-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
}

.carousel-images img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #fffbe6;
    background: #fff;
}

.carousel-desc {
    text-align: center;
    font-size: 1.18rem;
    color: #222;
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    padding: 16px 8px 10px 8px;
    margin: 0 auto 10px auto;
    max-width: 95%;
}

.carousel-btn-action {
    display: inline-block;
    background: linear-gradient(90deg, #ffb347 60%, #fffbe6 100%);
    color: #1a237e;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1.08rem;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(66,133,244,0.13);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: none;
}

.carousel-btn-action:hover {
    background: linear-gradient(90deg, #fffbe6 60%, #ffb347 100%);
    color: #fff;
    transform: scale(1.06);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff9900;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(66,133,244,0.13);
    width: 54px;
    height: 54px;
    font-size: 2rem; /* Taille réduite */
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn.left { left: -18px; }
.carousel-btn.right { right: -18px; }
.carousel-btn:active,
.carousel-btn:focus { background: #fffbe6; color: #ff9900; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #222;
    opacity: 0.25;
    transition: opacity 0.2s;
    cursor: pointer;
}

.carousel-dot.active {
    opacity: 1;
    background: #222;
}



@media (max-width: 900px) {
    .carousel-card {
        min-width: 220px;
        max-width: 220px;
        flex: 0 0 220px;
    }
.carousel-btn.left { left: -8px; }
    .carousel-btn.right { right: -8px; }

  /* Réduit la taille des textes dans les descriptions du carrousel */
  .carousel-desc p {
    font-size: 0.85rem;      /* taille réduite */
    line-height: 1.3;        /* interligne réduit */
    margin: 6px 0; 
  }

  /* Réduit la hauteur des cartes du carrousel */
  .carousel-card {
    height: 500px !important; /* ajuste selon le rendu souhaité */
    padding: 10px;
  }

  /* Réduit la hauteur globale de la zone image du carrousel */
  .carousel-images img {
    max-height: 100px;
    object-fit: cover;
  }
}





 
    .carousel-desc { font-size: 1.08rem; }


    .carousel-images img {
        width: 50%; /* Adapte les images à la largeur de leur conteneur */
        height: auto; /* Maintient le ratio d'aspect */
    }


@media (max-width: 1100px) {
    .carousel-desc,
    .carousel-btn-action {
        font-size: 1.28rem !important;
    }
}




/* ----------- MEDIA QUERIES ----------- */

@media (max-width: 991px) {
    .mybutton {
        width: 90%;
        font-size: 16px;
        min-width: 120px;
        max-width: 320px;
    }
}

@media (max-width: 900px) {
    .ma-card-horizontale {
        flex-direction: column;
        height: auto;
        min-height: unset;
        padding: 10px 0;
    }
    .ma-card-image-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        width: 100%;
        gap: 8px;
        padding: 10px 0 0 0;
        background: transparent;
    }
    .ma-card-image-grid img {
        width: 80px;
        height: 80px;
    }
    .ma-card-texte {
        padding: 18px 10px;
        text-align: center;
    }
}


    .ma-card-image, .ma-card-texte {
        max-width: 100%;
        padding: 18px 10px;
    }
    .ma-card-image img {
        width: 80px;
        height: 80px;
    }



    .logo-img {
        height: 30px; /* Réduit la hauteur pour les petits écrans */
        width: 90px; /* Ajuste la largeur */
        padding: 2px; /* Réduit le rembourrage */
    }

    header .logo h2 {
        font-size: 1.5rem !important; /* Réduit la taille du texte du logo */
    }

    

    

    
    header .logo {
        text-align: center;
    }
    
    .boutton-container {
        padding: 15px 0 10px 0;
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
    }
    .mybutton {
        width: 98%;
        font-size: 15px; /* Taille réduite */
        min-width: 100px;
        max-width: 320px;
    }
    .section-header p {
        width: 85%;
    }
    body {
        text-align: center;
    }
    .home .home-title {
        font-size: 20px; /* Taille réduite */
    }
    .home .button {
        margin-bottom: 10px;
    }
  
    .about .about-info h3 {
        font-size: 10px; /* Taille réduite */
    }
    .footer-title {
        font-size: 20px; /* Taille réduite */
    }
    .footer-desc {
        font-size: 14px; /* Taille réduite */
    }
    .footer-icon {
        font-size: 18px; /* Taille réduite */
    }


@media (max-width: 575px) {
    .home-desc {
        font-size: 1.1rem !important;
        padding: 0 8px;
    }
}

@media (max-width: 400px) {
    .home-desc {
        font-size: 1rem !important;
        padding: 0 4px;
    }
}

@media (min-width: 576px) {
    .home-desc {
        font-size: 1.3rem !important;
    }
}


    .contact-block-social-col i.fa-2x {
        font-size: 2.2rem !important; /* Taille ajustée */
        margin-top: 8px !important;
    }
    .contact-block-social-col .d-flex {
        margin-bottom: 8px;
    }
@media (max-width: 768px) {
  .contact-block-social-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem;
    margin-left: 42px;
  }

  .contact-block-social-separator {
    display: none !important;
  }

  .contact-block-social-col {
    align-items: center !important;
    text-align: center;
  }

  .contact-block-info-text {
    font-size: 1rem;
  }
}



.services-hero {
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-hero-img-wrapper {
    width: 100vw;
    height: 510px;
    overflow: hidden;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.services-hero-image {
    width: 100vw;
    height: 510px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.services-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    width: 100%;
}

.home-desc {
    color: #e2c63c!important;
    font-size: 1.2rem; /* Taille ajustée */
    font-weight: bold;
    text-shadow: 1px 1px 8px #000;
}

.c {
    padding: 60px 0 40px 0;
    background: #fff;
    margin-top: 50px;
}

.about-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 20px;
    overflow: hidden;
}

.about-img img {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
    margin-top: 0;
}

.about-info {
    padding: 20px 10px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about-info h3 {
    font-size: 24px; /* Taille réduite */
    margin-bottom: 18px;
    color: #222;
}

.about-info-desc {
    color: #555;
    font-size: 16px; /* Taille ajustée */
    line-height: 1.6;
}

.image-servicepage {
    display: block;
    width: 100vw;
    min-width: 100vw;    
    max-width: 100vw;
    height: 510px;    
    object-fit: cover;   
    object-position: center;
    margin: 0 calc(50% - 50vw); 
}

/* contact.html */

    .contact-block-social-separator {
        display: none;
    }
    .contact-block-social-col {
        width: 100%;
        align-items: flex-start !important;
        margin-bottom: 10px;
    }
    .contact-block-info-text {
        font-size: 0.95rem; /* Taille ajustée */
    }
    .contact-block-social-col .fa-2x {
        font-size: 1.3em !important; /* Taille ajustée */
        margin-right: 20px;
    }
    .contact-block-social-col .d-flex {
        margin-bottom: 8px;
    }


.map-container {
    justify-content: center;
    display: flex;
    margin-top: 32px; /* espace entre le titre et la carte */
}

.map-container iframe {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.map-info {
    font-size: 1.15rem; /* Taille ajustée */
    color: #222;
    font-weight: bold;
    line-height: 2;
    min-width: 120px;
    /* Pour centrer verticalement à côté de la carte */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 900px) {
    .map-container {
        flex-direction: column !important;
        align-items: center !important;
    }
    .map-info {
        margin-left: 0 !important;
        margin-top: 18px;
        align-items: center;
    }
}


    .map-info {
        font-size: 1.15rem; /* Taille ajustée */
    }


.btn-agrandir-plan {
    display: block;
    margin: 24px auto 32px auto; /* Ajoute de l'espace en bas */
    padding: 10px 28px;          /* Diminue la hauteur du bouton */
    background: #4285f4;
    color: #fff;
    font-size: 1.25rem; /* Taille ajustée */
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(66,133,244,0.13);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
    max-width: 350px;
}

.btn-agrandir-plan:hover {
    background: #3367d6;
    color: #ffe066;
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 6px 24px rgba(66,133,244,0.18);
    text-decoration: none;
}


}

.split-bg {
    position: relative;
    min-height: 60vh; /* ou 100vh si tu veux toujours la moitié de l'écran */
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.split-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: #fff;
    z-index: -1;
}

.split-bg::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 50%;
    background: #fff;
    z-index: -1;
}

.contact-block-info-text {
    background: #bde4ff;
    border-radius: 20px;
    padding: 2px 8px;
    /* Pour que la taille du fond colle bien au texte */
    display: inline-block;
    /* Optionnel : transition douce au survol */
    transition: background 0.2s;
}

@media (max-width: 700px) {
    

    

    header nav .nav-list.active {
        display: flex;
    }

    .nav-list a {
        font-size: 0.9rem;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        margin: 4px 0;
        border-radius: 6px;
    }
}

/* === Navigation Responsive corrigée === */

/* Par défaut : desktop */
header i.icon {
    display: none;
}

header nav .nav-list {
    display: flex;
    gap: 24px; /* espace entre les liens */
    flex-direction: row;
    justify-content: flex-end;
}

/* Mobile / tablette : < 700px */
@media (max-width: 700px) {
    header i.icon {
        display: block;
        font-size: 1.9rem;
        position: absolute;
        top: 4px;
        right: 14px;
        color: yellow;
        z-index: 1000;
    }

    header nav .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #111;
        width: 100%;
        margin-top: 10px;
        padding: 12px 0;
    }

    header nav .nav-list.active {
        display: flex;
    }

    .nav-list a {
        font-size: 0.9rem;
        padding: 8px 0;
        width: 100%;
        text-align: center;
        margin: 4px 0;
        border-radius: 6px;
    }
}
/* ---- Structure générale ---- */
.section-modern-services {
  padding: 60px 20px;
  background: #bfbebe;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='1.2' fill='white'/%3E%3Ccircle cx='28' cy='10' r='0.8' fill='white'/%3E%3Ccircle cx='16' cy='24' r='1' fill='white'/%3E%3Ccircle cx='30' cy='30' r='0.7' fill='white'/%3E%3Ccircle cx='12' cy='18' r='0.9' fill='white'/%3E%3Ccircle cx='20' cy='8' r='0.7' fill='white'/%3E%3C/svg%3E");
  position: relative;
}


.modern-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel-arrow {
  background-color: #003366;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background-color: #0055aa;
}


.carousel-arrow:hover {
  background-color: #0055aa;
}

.carousel-arrow.left {
  margin-right: 10px;
}

.carousel-arrow.right {
  margin-left: 10px;
}

.modern-slider-viewport {
  overflow: hidden;
  flex: 1;
}

.modern-slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 24px;
}

.modern-service-card {
  flex: 0 0 42%;
  max-width: 42%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.modern-service-card:hover {
  transform: translateY(-4px);
}


/* ---- Galerie d’images ---- */
.modern-service-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5px;
}

.modern-service-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* ---- Texte ---- */
.modern-service-text {
  padding: 16px;
}

.modern-service-text p {
  font-size: 0.95rem;
  color: #111;
  line-height: 1.5;
}

/* ---- Mobile : affichage vertical ---- */
@media (max-width: 767px) {
  .modern-service-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .carousel-arrow {
    display: flex;
  }

  .modern-slider-track {
    flex-direction: row; /* reste horizontal */
  }

  .modern-service-gallery img {
    aspect-ratio: 4/3;
  }

  .modern-service-text p {
    font-size: 0.85rem;
  }
}

