@charset "utf-8";
/* CSS Document */


:root {
    --main-color-beige: #f3f3e9;
    --main-color-bleu: #6b9fdb;
    --main-color-vert: #75a692;
    --main-color-noir: #313235;
    
    --main-radius: 15px;
}



* {margin: 0; padding: 0; border: 0;}
img {display: block;}

html { scroll-behavior: smooth; -webkit-scroll-behavior: smooth;}

body {font-family: "Google Sans Flex", sans-serif; line-height: 1.3; background-color: #fff; color: var(--main-color-noir);}

h2, h3, h4 {line-height: 1.15;}

h2 {font-size: 80px; font-weight: 800;
    background: linear-gradient(
        180deg,
        var(--main-color-bleu) 0%,
        var(--main-color-vert) 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

h3 {font-size: 65px; font-weight: 500; margin-bottom: 40px;}
h4 {text-transform: uppercase; font-size: 26px; font-weight: 400; letter-spacing: 1px;}

p, .carrousel-element-liste-item-date, .carrousel-element-liste-item-texte, .carrousel-element-texte {font-size: 24px; margin-bottom: 30px;}
.carrousel-element-liste-item-date, .carrousel-element-liste-item-texte, .carrousel-element-texte {margin-bottom: 0;}
p:last-child {margin-bottom: 0;}
p .espace-signature {font-family: "Borel", cursive;
display: inline-block;
line-height: 0;}



header {
    position: absolute;
    top: 3vw;
    width: 100%;
    z-index: 99;
}

header .div-inner {
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: stretch;
}

#header-logo,
#header-menu {
    background-color: var(--main-color-beige);
    border-radius: var(--main-radius);
    padding: 1vw 2vw;
    box-sizing: border-box;
}

#header-logo {
    flex: 0 0 33%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-logo picture {
    display: block;
    width: 100%;
}

#header-logo picture img {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
}

#header-menu {
    flex: 1;
    display: flex;
    align-items: center;
}

#header-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

#header-menu li {
    flex: 1;
    text-align: center;
}

#header-menu a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: var(--main-color-noir);
    letter-spacing: 2px;
    line-height: 1;
}

#header-menu a:hover {
    font-weight: bold; color: var(--main-color-bleu);
}

#bloc-top {height: 70vh; min-height: 600px; position: relative; overflow: hidden; background-position: center center; background-repeat: no-repeat; background-size: cover; background-attachment: fixed;}
#bloc-top-texte { padding-top: 25vh; color: #fff; font-size: 65px; width: 70%; z-index: 1; position: relative; font-weight: 500; line-height: 1.2;}
#bloc-top::after {position: absolute; content: ""; bottom: 2vw; left: 50%; transform: translateX(-50%); width: 70px; height: 70px; background: url("../images/fleche.svg") no-repeat; background-size: contain;}
#bloc-top::before {position: absolute; content: ""; width: 100%; height: 100%; z-index: 0; top: 0; left: 0;
background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.6) 100%
    );
}


.bloc-intro-in {display: flex; gap: 6vw; padding-bottom: 5vw;}
.bloc-intro-separ {margin-bottom: 5vw; position: relative;}
.bloc-intro-separ::after {bottom: 0; left: 0; content: ""; width: 100%; height: 3px; position: absolute;
background: linear-gradient(
  to right,
  var(--main-color-bleu),
  var(--main-color-vert)
);}
.bloc-intro-separ .bloc-tier-un h2 {line-height: 1;}
.bloc-intro-separ p:last-child, .bloc-common-final p:last-child {margin-bottom: 30px !important;}
.bloc-intro-in:last-child {padding-bottom: 0; display: block;}
.citation, .citation-from {padding: 0 10%; text-align: center;}
.citation {font-size: 40px; font-weight: 300; margin-bottom: 20px;}
.citation-from {color: var(--main-color-vert); letter-spacing: 2px; text-transform: uppercase; font-size: 18px; font-weight: 600;}


#bloc-benefices {
    background-color: var(--main-color-beige);
}

/* Structure générale */
#bloc-benefices .div-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5%;
    row-gap: 0;
}

#bloc-benefices .div-inner::after {position: absolute; content: ""; width: 10vw; aspect-ratio: 1 / 1; bottom: 1vw; left: 5vw; background: url("../images/espace-icon1.svg") center center no-repeat; background-size: contain; z-index: 0;}

/* Titres de section */
#bloc-benefices h3,
#bloc-benefices h4 {
    grid-column: 1 / -1;
}

#bloc-benefices h3 {
    margin-bottom: 50px;
}

#bloc-benefices h4 {
    margin-bottom: 15px;
}

/* Cartes */
.benefice-div {
    background-color: #fff;
    border-radius: var(--main-radius);
    box-sizing: border-box;
    position: relative; z-index: 1;
}

/* Les deux premières cartes */
.benefice-div-half {
    width: 100%;
    padding: 32px 36px;
    margin-bottom: 30px;
}

/* En-tête des cartes */
.benefice-div-header {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 65px;
    margin-bottom: 30px;
}

/* Numéro */
.benefice-div-chiffre {
    flex: 0 0 42px;
    width: 42px;
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
    margin-right: 0;
}

/* Titre */
.benefice-div-titre {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    max-width: 75%;
}

/* Icône */
.benefice-div-icon {
    margin-left: auto;
    flex: 0 0 auto;
    width: 85px;
    height: 85px;
}

.benefice-div-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Texte des deux premières cartes */
.benefice-div p {
    margin: 0 0 0 42px;
    font-size: 21px;
    line-height: 1.45;
}


/* Couleurs des deux premières cartes */
/* nth-of-type car les h3/h4 sont des enfants avant les div */
#bloc-benefices .benefice-div:nth-of-type(1) .benefice-div-header {
    color: var(--main-color-bleu);
}

#bloc-benefices .benefice-div:nth-of-type(2) .benefice-div-header {
    color: var(--main-color-vert);
}


/* =========================
   TROISIÈME BLOC
   ========================= */

#bloc-benefices .benefice-div:nth-of-type(3) {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: 48% 52%;

    padding: 40px 36px;
    margin-top: 0;
}

/* Partie texte */
.benefice-div-contenu {
    padding-right: 30px;
}

.benefice-div-contenu .benefice-div-header {
    align-items: center;
}

/* Texte de la mutualisation */
.benefice-div-contenu > p {
    margin: 10px 0 0 42px;
}

/* Finalité */
.benefice-div-contenu h4 {
    margin: 85px 0 15px 42px;
}

.benefice-div-contenu > p:last-child {
    margin-top: 0;
}

.benefice-div-contenu > p:last-child strong {
    display: block;
    font-size: 25px;
    line-height: 1.25;
}

/* Graphique */
.benefice-div-graph {
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefice-div-graph img {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
}


/* Couleur du troisième numéro */
#bloc-benefices .benefice-div:nth-of-type(3) .benefice-div-header {
    color: var(--main-color-noir);
}



.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 50px;
    margin: 40px 0;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.logo-item img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: 120px;
    object-fit: contain;
    filter: grayscale(1);
}

@media (max-width: 767px) {
    .logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }
}





/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    #bloc-benefices .div-inner {
        grid-template-columns: 1fr;
    }

    #bloc-benefices h3,
    #bloc-benefices h4 {
        grid-column: 1;
    }

    .benefice-div-half {
        margin-bottom: 20px;
    }

    #bloc-benefices .benefice-div:nth-of-type(3) {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .benefice-div-graph {
        margin-top: 40px;
    }
}


@media (max-width: 600px) {

    .benefice-div-half,
    #bloc-benefices .benefice-div:nth-of-type(3) {
        padding: 25px;
    }

    .benefice-div-header {
        min-height: 55px;
    }

    .benefice-div-titre,
    .benefice-div-contenu .benefice-div-titre {
        font-size: 21px;
    }

    .benefice-div-chiffre,
    .benefice-div-contenu .benefice-div-chiffre {
        font-size: 38px;
        margin-right: 15px;
    }

    .benefice-div-icon {
        width: 52px;
        height: 52px;
    }

    .benefice-div p,
    .benefice-div-contenu > p {
        margin-left: 0;
        font-size: 18px;
    }

    .benefice-div-contenu {
        padding-right: 0;
    }

    .benefice-div-contenu h4 {
        margin-left: 0;
        margin-top: 50px;
    }

    .benefice-div-contenu > p:last-child strong {
        font-size: 21px;
    }
}



#bloc-demarche {
    background: linear-gradient(
        to bottom,
        var(--main-color-bleu),
        var(--main-color-vert)
    );
    overflow: hidden;
}

#bloc-demarche h3 {
    color: #fff;
    position: relative;
}


/* =========================
   CARROUSEL
   ========================= */

#demarche-carrousel {
    width: calc(100% + 12vw);
    position: relative;
    
    padding-bottom: 90px;
}

/* On permet aux slides de dépasser du viewport Flickity */
#demarche-carrousel .flickity-viewport {
    overflow: visible;
    z-index: 5;
}

#demarche-carrousel .flickity-slider {
    display: flex;
    align-items: stretch;
}


/* =========================
   ÉLÉMENTS
   ========================= */

.carrousel-element {
    box-sizing: border-box;
    width: calc((100vw - 24vw - 2vw) / 2);
    margin-right: 2vw;

    border-radius: var(--main-radius);
    background-color: #fff;
    padding: 50px;

    height: auto;
    position: relative;
    
    margin-bottom: 90px;
}

.carrousel-element:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -60px;
    height: 3px;
    width: calc(100% + 2vw);
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

.carrousel-element:last-child::after {
    width: 100%;
}


/* =========================
   CONTENU
   ========================= */

.carrousel-element-date-titre {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main-color-bleu);
}

.carrousel-element-date-titre span {
    margin-right: 24px; padding-right: 20px; position: relative;
}

.carrousel-element-date-titre span::after {position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); width: 6px; height: 6px; border-radius: 50%; content: ""; background-color: var(--main-color-vert);}

.carrousel-element-sous {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 2px;
}

.carrousel-element-texte {
    margin-top: 25px;
}


/* =========================
   LISTES
   ========================= */

.carrousel-element-liste {
    margin-top: 25px;
}

.carrousel-element-liste-item {
    display: grid;
    grid-template-columns: 75px 1fr;
    column-gap: 10px;

    padding: 0 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #bcbcbc;
}

.carrousel-element-liste-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

#demarche-carrousel .flickity-button {
    top: -70px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--main-color-beige);
    opacity: 1;
}

#demarche-carrousel .flickity-button.previous {
    left: auto;
    right: calc(12vw + 60px);
}

#demarche-carrousel .flickity-button.next {
    right: 12vw;
}

#demarche-carrousel .flickity-button:hover {
    background-color: var(--main-color-beige);
}

#demarche-carrousel .flickity-button-icon {
    fill: var(--main-color-noir);
    width: 40%; height: 40%; top: 30%; left: 30%;
}

#demarche-carrousel .flickity-button:disabled {
    background-color: #3a80cf;
    cursor: default;
}



/* Zone de la pastille */
.carrousel-element-timeline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -84px;

    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    pointer-events: none;
    z-index: 2;
}


/* Pastille */
.timeline-point {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--main-color-noir);
    color: #fff;

    box-sizing: border-box;
}


/* Complété */
.timeline-complete span {
    font-size: 25px;
    line-height: 1;
    font-weight: bold;
}


/* En cours */
.timeline-current span {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 3px;
    margin-left: 3px;
}




#bloc-communaute .div-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5vw;
}


#bloc-communaute h3 {
    grid-column: 1 / -1;
    padding-right: 15%;
    margin-bottom: 2vw;
    position: relative;
}

#bloc-communaute h3::after {position: absolute; content: ""; width: 8vw; aspect-ratio: 1 / 1; top: 50%; right: 0; background: url("../images/espace-icon1.svg") center center no-repeat; background-size: contain; z-index: 0; transform: translateY(-50%);}

#bloc-communaute .bloc-tier-un {
    width: 100%;
    grid-column: span 1;
}

#bloc-communaute .bloc-tier-un .wysiwyg-content {margin-bottom: 60px;}

#bloc-communaute .bloc-tier-deux {
    width: 100%;
    grid-column: span 2;
}



#bloc-degrade {position: relative; padding: 2.5vw 0;}
#bloc-degrade::before, #bloc-degrade::after {left: 0; content: ""; width: 100%; height: 3px; position: absolute;
background: linear-gradient(
  to right,
  var(--main-color-bleu),
  var(--main-color-vert)
);}
#bloc-degrade::before {bottom: 0;}
#bloc-degrade::after {top: 0;}



.bloc-common-final .div-inner {display: flex; gap: 4vw; align-items: center;}
.bloc-common-final .div-inner:first-child {flex-direction: row-reverse; margin-bottom: 6vw;}



#bloc-ca {border-radius: var(--main-radius); background-color: var(--main-color-beige); padding: 1.5vw;}
#bloc-ca h4 {margin-bottom: 30px;}
.membre-ca {margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.1);}
.membre-ca:last-of-type {border: 0; margin: 0; padding: 0;}
.ca-nom {font-size: 18px; font-weight: bold;}
.ca-poste { font-size: 13px;}
.ca-titre {}





footer {background-color: var(--main-color-noir); color: #fff;}
footer .div-inner {display: flex; gap: 5vw; align-items: flex-end;}
footer a {color: #fff;}
footer p a:hover {text-decoration: none;}
footer .bloc-tier-deux img {margin-bottom: 50px;}
footer .bloc-tier-un {margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end;}
#lien-social {display: flex; text-decoration: none; text-align: left; align-items: center; font-size: 22px; margin-bottom: 50px;}
#lien-social-img {width: 60px; height: 60px; margin-right: 10px;}
#lien-social-img img {width: 100%; height: 100%; filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(239deg) brightness(107%) contrast(101%);}
#lien-social-titre {}
#lien-social-titre span {font-weight: bold; text-transform: uppercase;}
#lien-social:hover #lien-social-img img {filter: brightness(0) saturate(100%) invert(71%) sepia(14%) saturate(629%) hue-rotate(104deg) brightness(84%) contrast(92%);}
#lien-social:hover {color: var(--main-color-vert);}
#lien-politique {font-size: 20px;}
#lien-politique:hover {text-decoration: none;}


.div-inner {padding: 0 12vw; position: relative;}
.marges-bloc {padding: 6vw 0;}
.bloc-tier-un {width: calc(100% / 3);}
.bloc-tier-deux {width: calc((100% / 3)*2);}
.btn-arrondi {display: inline-block; background-color: var(--main-color-beige); color: var(--main-color-noir); border-radius: var(--main-radius); font-size: 17px; text-transform: uppercase; letter-spacing: 1px; padding: 20px 30px; font-weight: 700; text-decoration: none;}
.btn-arrondi:hover {background-color: var(--main-color-bleu); color: #fff;}
.photo {border-radius: var(--main-radius); overflow: hidden; width: 100%; height: auto; aspect-ratio: 1 / 1;}


