.elementor-23070101 .elementor-element.elementor-element-7da7837 > .elementor-widget-container{margin:-35px -145px 0px -145px;}@media(max-width:1024px){.elementor-23070101 .elementor-element.elementor-element-7da7837 > .elementor-widget-container{margin:-35px -65px 0px -65px;}}@media(max-width:767px){.elementor-23070101 .elementor-element.elementor-element-7da7837 > .elementor-widget-container{margin:-35px -41px 0px -40px;}}/* Start custom CSS for html, class: .elementor-element-7da7837 *//* ===============================
   BASE & FOND et fluidité
================================ */
html {
  scroll-behavior: smooth;
}
.section-container {
    background:
        linear-gradient(to bottom right, rgba(255, 255, 214,0.65), rgba(255, 255, 255, 0.65)),
        url('/img/cms/home/panneaux.jpg') no-repeat center center fixed;
    background-size: cover;
    
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: #222222;
}
/* ===============================
   Pour h2 et la ligne
================================ */
/*.title-box{*/
/*    text-align: center;*/
/*    color:#f97902;*/
/*    font-size: 17px;*/
/*}*/


/* ===============================
   BOUTON SCROLL TOP
================================ */
#btnTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    font-size: 20px;
    background-color: #f97902;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    outline: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

#btnTop:hover {
    background-color: #e56e00;
}

button:focus,
#btnTop:focus,
.btn-custom:focus {
    outline: 3px solid #f97902;
    outline-offset: 2px;
}

/* ===============================
   WRAPPER PRINCIPAL
================================ */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 40px;
    gap: 30px;
    flex-wrap: wrap;
    background-color: transparent;
}

/* ===============================
   SLIDER
================================ */
.slider-container {
    width: 660px;
    height: 181px;
    overflow: hidden;
    border-radius: 2px;
    border-left: 2.5px solid #f97902;
    border-right: 2.5px solid #f97902;
    border-top: none;
    border-bottom: none;
    background-color: #fff; /* ou transparent */
    position: relative;
    padding: 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 220px; /* 3 images visibles */
    box-sizing: border-box;
    display: flex;               /* Ajouté */
    justify-content: center;     /* Centrage horizontal */
    align-items: center;         /* Centrage vertical */
    height: 100%;                /* S'assurer que le conteneur remplit bien */
}

.slider-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Flèches slider */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(50, 50, 50, 0.5);
    color: white;
    font-size: 25px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(50, 50, 50, 0.8);
}

.arrow.left { left: 5px; }
.arrow.right { right: 5px; }

/* ===============================
   INFO BOX (TEXTE)
================================ */
.info-box {
    width: 40%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #f97902;
    border-radius: 10px;
    padding: 10px;
    color: #292928;
    font-size: 16px;
    line-height: 1.65;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: none;
    border-right: none;
}

/* ===============================
   IMAGE EN CERCLE
================================ */
.container-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
}

.circle-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: -80px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #F4F8FB, rgb(255, 255, 255));
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.5);
    position: relative;
    z-index: 2;
}

.circle-image.williams {
  background: rgb(255, 255, 255);
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===============================
   RECTANGLE (DESCRIPTION)
================================ */
.rectangle-box {
    padding: 20px 10px 10px 100px;
    background-color: rgba(255, 255, 255, 0.87);
    max-height: 450px;
    color: #292928;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 1;
    border-top: 3px solid #f97902;
    border-bottom: 3px solid #f97902;
    border-radius: 20px;
    border-top-left-radius: 150px;
    border-bottom-left-radius: 150px;
}

/* ===============================
   EFFET HOVER
================================ */
.circle-image:hover,
.rectangle-box:hover {
    transform: translateY(-5px) scale(1.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.5);
    cursor: pointer;
}

/* ===============================
   BOUTON CUSTOM
================================ */
.btn-custom {
    display: block;
    margin: 10px auto;
    text-align: center;
    background-color: #fd902a;
    color: white;
    border-radius: 5px;
    width: 160px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #fff;
    color: #f97902;
    border: 2px solid #f97902;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.4);
}



/* ===============================
   RESPONSIVE : TABLETTE
================================ */
@media (min-width: 770px) and (max-width: 1023px) {
    .rectangle-box {
        max-height: 525px;
    }

    .circle-image {
        width: 300px;
        height: 300px;
    }

    .info-box {
        width: 95%;
    }
}

/* ===============================
   RESPONSIVE : BORDURE 1023-1024px
================================ */
@media (min-width: 1023px) and (max-width: 1024px) {
    .slider-container,
    .info-box {
        width: 45%;
    }

    .circle-image {
        width: 300px;
        height: 300px;
    }
}

/* ===============================
   RESPONSIVE : MOBILE
================================ */
@media (max-width: 768px) {
    .main-wrapper {
        padding: 10px;
        max-width: 100%;
    }

    .section-container,
    .container-custom {
        max-width: 100%;
        flex-direction: column;
    }

    .rectangle-box {
        width: 95%;
        padding: 20px 25px;
        margin: 0;
        border-radius: 20px;
        max-height: none;
    }

    .circle-image {
        width: 300px;
        height: 300px;
        margin: 0 0 20px 0;
    }

    .slider-container,
    .info-box {
        width: 100%;
    }
}/* End custom CSS */