/*
Theme Name: geninclusif
Author: Chirripo
Author URI: https://chirripo.fr/
*/



/** btn réseaux **/

.container_btn_rs {
    position: absolute;
    top: 15px;
    left: 25px;
    z-index: 2;
    display: flex;
}

.btn_rs {
    width: 30px;
    padding-right: 5px;
}

.btn_rs img {
    box-shadow: 0px 0 11px 1px #00000015;
    background-color: #635ff4;
    border: 1px solid #fff;
    border-radius: 50px;
}


/***/

@media (min-width:1240px) {
    #content {
        padding-top: 7%;
    }
}

@media (max-width:900px) {
    #content {
        padding-top: 15%;
    }

    .campagne-item {
        right: 12px !important;
    }

    .swiperCar-container .swiper-slide {
        max-height: 430px;
    }

    .campagne-item video {
        width: 94% !important;
    }

}

#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1 !important;
}

.cgulink {
    color: #fff;
}

.cgulink:hover {
    color: #fff;
    text-decoration: underline;
}



.wp-block-heading {
    color: #fff;
    padding-bottom: 2%;
    padding-top: 5%;
}

iframe {
    aspect-ratio: 16 / 9;
}


/**  SWIPER CARROUSEL **/
.swiperCar-container {
    width: 100%;
    /* Le conteneur Swiper prend toute la largeur */
    overflow: hidden;
    /* Cache les éléments hors du cadre */
}

.swiperCar-container .swiper-wrapper {
    display: flex;
    /* Assure que les slides sont alignés horizontalement */
    flex-direction: row;
    /* Les slides sont disposées en ligne horizontale */
}

@media (min-width: 901px) {
    .swiperCar-container .swiper-slide {
        width: 100% !important;
    }
}

.swiperCar-container .swiper-slide {

    /* Chaque slide occupe 100% de la largeur du conteneur Swiper */
    flex-shrink: 0;
    /* Empêche les slides de rétrécir si leur contenu est plus petit */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /* Pour éviter que le padding n'affecte la taille des slides */
}

.swiperCar-container .swiper-slide img {
    max-width: 100%;
    /* L'image ne dépasse jamais la largeur de la slide */
    height: auto;
    /* Maintient le ratio d'aspect de l'image */
}

.swiperCar-container .swiper-pagination {
    position: absolute;
    bottom: 10px;
    /* Positionne en bas du carrousel */
    left: 50%;
    transform: translateX(-50%);
    /* Centrer horizontalement */
    z-index: 10;
    /* S'assure que la pagination est au-dessus du contenu */
}

/** **/




/*** POPUP ***/


.btn2 {
    color: #635ff4;
    position: static;
    text-decoration: none;
    border: 1px solid #635ff4;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Basetica';
    font-weight: bold;
    transition: all 0.3s ease-in;
    padding: 10px 15px;
    line-height: 4;
    margin-right: 2%;
}

.btn2:hover {
    background-color: #635ff4;
    color: #fff;
}

#popup-container {
    overflow-y: scroll;
    ;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding-top: 5%;
    padding-bottom: 5%;
}

.popup-content {
    background-color: #fff;
    padding: 1% 2%;
    max-width: 1200px;
    width: 100%;
    position: relative;
    overflow-y: scroll;
    height: fit-content;
    margin-top: auto;
    margin-bottom: auto;
}



.popup-close {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
}

div#popup-inner-content {
    color: #000;
    text-align: left;
}

.swiper-slide button {
    cursor: pointer;
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    padding: 0px 30px;
    border: 1px solid;
    border-radius: 19px;
    margin: auto;
    display: block;
    font-family: 'Basetica';
}

/******/

iframe {
    width: 100% !important;
}

.container-iframe {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


#keyword li:before {
    content: url(/wp-content/themes/geninclusif/img/bulletpoint.svg);
    display: block;
    width: 13px;
    position: relative;
    left: -30px;
    top: 37px;
}


#keyword li a {
    color: #fff;
    padding-left: 5px;
}


#ESAT-et-EA {
    margin-top: 3%;
}


:root {
    --violet: #635FF4;
    --orange: #FF6701;
    --vert: #09A971;
    --grid: #707070;
    --blanc: #ffffff;
}

@font-face {
    font-family: 'Basetica';
    src: url('font/Basetica.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Basetica';
    src: url('font/Basetica-Bold.ttf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Basetica';
    src: url('font/Basetica-Black-Italic.ttf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Basetica';
    src: url('font/BaseticaTrial-Black.ttf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: 'Basetica', sans-serif !important;
    background-color: var(--violet) !important;
}

.ol {

    list-style: none;

}

.br {
    border-radius: 15px;
}

.share {
    color: #fff;
    padding-top: 50px;
}


.share:before {
    content: "";
    padding-right: 10px;
}

.p-relative {
    position: relative !important
}

a {
    transition-duration: 0.3s;
}

#rs img {
    width: 30px;
}

/* === SECTION 1 ===== SECTION 1 ===== SECTION 1 ===== SECTION 1 ===== SECTION 1 ===== SECTION 1 === */
#logo_geninclusive {
    max-width: 350px;
    padding: 10% 0 5% 0;
}

@media (max-width:680px) {
    #logo_geninclusive {
        padding: 10% 15% 5% 15% !important;
    }

    h2 {
        font-size: 33px !important;
    }


    h2 span {
        font-size: 33px !important;
    }

    #section_4 .deco-1 {
        max-width: 135px !important;

    }

    ul {
        text-align: left !important;
    }

    iframe {
        min-height: 70vh !important;
    }

}

#section_1 h2 {
    font-size: 45px;
    font-weight: bold;
}

#section_1 .sp1 {
    display: inline-block;
    color: var(--violet);
    padding: 6px 19px 8px 19px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#section_1 .sp2 {
    display: inline-block;
    color: var(--vert);
    padding: 0px 0px 10px 19px;
    background-color: #fff;
    border-bottom-left-radius: 10px;
}

#section_1 .sp3 {
    display: inline-block;
    color: var(--violet);
    padding: 0px 19px 10px 0px;
    background-color: #fff;
    border-bottom-right-radius: 10px;
}

#imgcamp:after {
    content: url(/wp-content/themes/geninclusif/img/geninclusif_1.svg);
    width: 190px;
    display: block;
    position: absolute;
    margin-right: 0;
    margin-left: 115px;
}

.campagnes-list {
    padding-top: 50px;
}

#section_1 p {
    color: #fff;
    font-size: 19px;
}

.savoir-plus {
    background-color: transparent;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 19px;
    transition-duration: 0.3s;
    font-family: 'Basetica';
}

.savoir-plus:hover {
    color: var(--violet);
}

.scrollable-vertical {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.savoir-plus:after {
    content: "\2039";
    rotate: 270deg;
    font-size: 28px;
    float: right;
    color: var(--blanc);
    transition-duration: 0.3s;
    margin-top: -4px;
    margin-left: 10px;
    font-family: auto;
}

.savoir-plus.collapsed:after {
    content: "\2039";
    rotate: 180deg;
    font-size: 28px;
    margin-left: 10px;
    margin-top: -2px;
}

.btn1 {
    background-color: var(--orange);
    color: #fff;
    padding: 6px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition-duration: 0.3s;
    float: inline-end;
    margin: 5px;
}

.btn1:hover {
    color: var(--violet);
}

@media (max-width:940px) {
    .btn1 {
        margin-bottom: 19px;
    }
}


/* === SECTION 2 ===== SECTION 2 ===== SECTION 2 ===== SECTION 2 ===== SECTION 2 ===== SECTION 2 === */


#section_2 .deco-1 {
    position: absolute;
    left: 10%;
    top: -40px;
    max-width: 190px;
    width: 100%;
}

#section_2 h2 {
    font-size: 45px;
    font-weight: bold;
}



#section_2 .baseline {
    color: #fff;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: bold;
}

#section_2 .sp1 {
    display: inline-block;
    color: var(--violet);
    padding: 8px 15px 0px 15px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#section_2 .sp2 {
    display: inline-block;
    color: var(--violet);
    padding: 8px 0px 10px 15px;
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

#section_2 .sp3 {
    display: inline-block;
    color: var(--orange);
    padding: 8px 15px 10px 0px;
    background-color: #fff;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

.caroussel-partenaires .swiper-wrapper {
    display: inline-flex;
    align-items: center;
}

.caroussel-partenaires .swiper-slide>div {
    padding-top: 40px;
}

.sponsor-slide {
    background-color: var(--orange);
    border-radius: 15px;
    color: #fff;
    font-size: 19px;
    padding: 30px;
    transition-duration: 0.3s;
    scale: 0.8;
    min-height: 400px;
}

.caroussel-partenaires .swiper-slide-active .sponsor-slide {
    scale: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.caroussel-partenaires .previous-slide {
    transform: scale(0.9);
    margin-right: -70px;
    transition: transform 0.5s ease-in-out;
}

.caroussel-partenaires .next-slide {
    transform: scale(0.9);
    margin-left: -70px;
    transition: transform 0.5s ease-in-out;
}

@media (min-width: 940px) {
    .caroussel-partenaires .swiper-wrapper {
        margin-left: 70px;
    }
}

@media (max-width: 940px) {
    .caroussel-partenaires .caroussel-partenaires {
        width: 90%;
        margin: auto;
    }

    .caroussel-partenaires .swiper-pagination {
        margin-top: 19px;
    }
}

.caroussel-partenaires .sponsor-slide img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 19px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-pagination {
    text-align: center;
}

.swiper-pagination span {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: #fff;
    border-radius: 100%;
    margin: 2px;
}

.swiper-pagination span.swiper-pagination-bullet-active {
    background-color: var(--orange);
}

/* === SECTION 3 ===== SECTION 3 ===== SECTION 3 ===== SECTION 3 ===== SECTION 3 ===== SECTION 3 === */
#section_3 {
    overflow: hidden;
}

#section_3 h2 {
    font-size: 45px;
    font-weight: bold;
}

#section_3 .sp1 {
    display: inline-block;
    color: var(--orange);
    padding: 4px 15px 12px 15px;
    background-color: #fff;
    border-radius: 10px;
}

#section_3 p {
    color: #fff;
    font-weight: bold;
}

.campagne-item img,
.campagne-item video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.campagnes-list {
    margin: 0 auto;
    min-width: 1200px;
}

/* clearfix */
.campagnes-list:after {
    content: '';
    display: block;
    clear: both;
}

.campagne-item {
    margin-bottom: 19px;
    /* Pour espacer les éléments verticalement */
}

/* === SECTION 4 ===== SECTION  4 ===== SECTION 4 ===== SECTION 4 ===== SECTION 4 ===== SECTION 4 === */
#section_4 .deco-1 {
    position: absolute;
    right: 10%;
    top: 40px;
    max-width: 290px;
    width: 100%;
}

@media (max-width:940px) {
    #section_4 .deco-1 {
        max-width: 130px !important;
    }
}

#section_4 .deco-2 {
    position: absolute;
    right: 2%;
    top: 180px;
    max-width: 130px;
    width: 100%;
}

#section_4 h2 {
    font-size: 45px;
    font-weight: bold;
}

#section_4 .sp1 {
    display: inline-block;
    color: var(--orange);
    padding: 8px 15px 8px 15px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: inline-block;
}

#section_4 .sp2 {
    display: inline-block;
    color: var(--orange);
    padding: 8px 15px 10px 15px;
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

#section_4 {
    background-color: var(--orange);
}

#section_4 .chiffre span {
    font-size: 80px;
    font-weight: 900;
    -webkit-text-stroke: 2px #ffffff;
    font-family: 'Basetica';
}

#section_4 .chiffre span.vert {
    color: var(--vert);
}

#section_4 .chiffre span.bleu {
    color: var(--violet);
}

#section_4 .chiffre p {
    color: #fff;
    margin-bottom: 0px;
    font-size: 24px;
    margin-top: -10px;
    font-weight: normal;
    margin-right: 25%;
}

#section_5 {
    padding: 5%;
    color: var(--violet);
}

#section_5 .sp1 {
    display: inline-block;
    margin-left: 5%;
    color: #fff;
    padding: 8px 15px 3px 15px;
    background-color: var(--violet);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
}

#section_5 .sp2 {
    display: inline-block;
    color: #fff;
    padding: 11px 15px 10px 15px;
    background-color: var(--violet);
    border-radius: 10px;
    font-weight: bold;
}

#content_5 {
    background-color: #fff;
    border-radius: 25px;
    padding: 2% 3%;
}

.fdo {
    background-color: var(--orange);
    border-radius: 25px;
    color: #fff;
    padding: 20px;
}

#content_5 .col-md-6 {
    width: 48%;
    margin: 1%;
}

.btn_5 {
    color: #fff;
    background-color: #FF6701;
    font-size: 23px;
    border: 0;
    border-radius: 25px;
    padding: 5px 25px;
    margin: auto;
    margin-top: 2%;
    width: fit-content;
    font-family: 'Basetica';

}

.btn_6 {
    color: #fff;
    background-color: #FF6701;
    font-size: 20px;
    border: 0;
    border-radius: 25px;
    padding: 10px 25px;
    margin: auto;
    margin-top: 15%;
    width: fit-content;
    font-family: 'Basetica';

}

.txt_5 {
    padding: 3% 15%;
    text-align: left;
}

.link_v {
    font-size: 22px;
}

#popup h2 {
    font-size: 2vw;
}


@media (max-width:940px) {
    #section_4 .chiffre p {
        font-size: 19px !important;
    }

    #section_4 .chiffre span {
        font-size: 60px !important;
    }

    .chiffre {
        margin-top: 19px;
    }

    #ESAT-et-EA .col-md-6 {
        width: 90% !important;
        margin: 2% auto !important;
    }

    #content_5 .col-md-6 {
        width: 90% !important;
    }

    .txt_5 {
        padding: 3% !important;
        padding-top: 20px !important;
    }

    #content_5 h2 span {
        font-size: 23px !important;
    }

    #content_5 .img-fluid {
        width: 20% !important;
        float: right !important;
        margin-bottom: -10% !important;
    }

    #section_5 .sp2 {
        padding: 0px 28px 3px 30px !important;
    }

    #popup,
    .col-12.faq {
        width: 90% !important;
        margin: auto;
    }

    #popup h2 span {
        font-size: 17px !important;
    }

    #popup .sp1 {
        display: inline-block !important;
        margin-bottom: -30px;
    }

    #popup img {
        width: 70px;
        float: right;
    }

    #popup .col-md-3.col-12.text-start {
        margin-bottom: -40px !important;
    }

    .btn_5 {
        font-size: 16px !important;
    }


}

#ESAT-et-EA .col-md-6 {
    width: 48%;
    margin: 1%;
    padding: 2% 3%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.faq {
    background-color: #fff;
    border-radius: 25px;
    color: #FF6701;
    font-size: 19px;
}

.col-12.faq {
    padding: 3%;
    margin: auto;
    width: 98%;
}

#section_1 ul {
    color: #fff;
    font-size: 19px;
    margin-bottom: 0 !important;
}

#section_1 li:before {
    content: url(/wp-content/themes/geninclusif/img/bulletpoint.svg);
    display: block;
    width: 13px;
    position: absolute;
    left: 15px;
}

#section_1 li {
    padding-bottom: 1.5rem;
}

#section_1 ::marker {
    content: "";
}

/* === FOOTER ===== FOOTER ===== FOOTER ===== FOOTER ===== FOOTER ===== FOOTER === */
footer {
    background-color: var(--violet);
    color: #fff;
    padding-top: 30px;
    padding-bottom: 19px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: var(--orange);
}




body.page-template-default h1 .sp1 {
    display: inline-block;
    border-radius: 10px;
}

body.page-template-default h2 {
    color: #fff;
}




/** POPUP **/

@media (max-width:1300px) {
    #popup {
        width: 100% !important;
    }
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--violet);
    padding: 17px 30px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    z-index: 1000;
    max-width: 75vw;
    width: auto;
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#popup .sp1 {
    display: inline;
    margin-left: 5%;
    color: #fff;
    padding: 8px 15px 3px 15px;
    background-color: var(--violet);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
}

#popup .sp2 {
    display: inline-block;
    color: #fff;
    padding: 11px 15px 10px 15px;
    background-color: var(--violet);
    border-radius: 10px;
    font-weight: bold;
}

#popup p {
    color: var(--violet);
}

#popup .row {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

#popup .img-fluid {
    height: 100%;
    object-fit: contain;
}

/* Popup centrée et large */
#popup {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;

    width: auto !important;
    max-width: min(90vw, 1440px) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Lien et image plein conteneur */
#popup .popup-link {
    display: block !important;
    line-height: 0 !important;
}

#popup .popup-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 900px) {
    #popup {
        width: 900px !important;
        /* largeur visuelle minimale */
    }

    html,
    body {
        overflow: auto;
        /* autorise le défilement pour voir l’ensemble */
    }

}

/* Croix blanche sans fond */
#popup .popup-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    background: none !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 8px !important;
    /* zone cliquable + grande */
    margin: -8px !important;
    z-index: 1 !important;
}

/* Bordure légère sur le popup */
.popup picture,
.popup .popup-img {
    border: 2px solid rgba(0, 0, 0, 0.1);
    /* gris clair et discret */
    border-radius: 8px;
    /* coins arrondis pour un rendu doux */
    box-sizing: border-box;
}

.swiper-button-next, .swiper-button-prev {
    opacity: 0;
}