/** END FONCTIONS **/
#main {
  background-color: #F2F1F2;
}
#bandeau_home {
  position: relative;
  height: 50vw;
  min-height: 300px;
  min-height: 210px;
  max-height: 400px;
  /*margin-bottom: 100px;*/
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(1920px,100vw);
  display: flex;
  align-items: center;
}
#bandeau_home img.cliping {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  /*filter: brightness(.65);*/
  max-width: inherit;
  object-fit: cover;
  width: min(1920px,100vw);
}

#bandeau_home p {
  font-size: 12pt;
  color: #FFF;
  text-align:center;
  font-family: 'neulis-neue';
  font-weight: 400;
  font-style: normal;
    background-image: url("https://www.mutualite16.fr/wp-content/uploads/2025/03/FORME-DEGRADE-BANDEAU-HOME-PAGE.png") ;
    background-repeat: no-repeat;
    background-position: left;
    background-size: 6%;
  padding-top : 30px;
  height:80px;
  color : #000F46;
}

#bandeau_home p span {
  font-family: 'neulis-neue';
  font-weight: 700;
  font-style: normal;
  color: #FFF;
  font-size: 12pt;
  color : #000F46;
}
#bandeau_home .carte {
  position: absolute;
  z-index: 10;
  bottom: -160px;
  right: -15px;
  right: 0;
}
#bandeau_home .carte.journal {
  right: 130px;
  bottom: -194px;
}
#racontez_h {
  text-align: center;
  margin: 30px auto 0 auto;
  padding: 0 20px;
}
#racontez_h #titre_hist {
  color: #006978;
  font-weight: 700;
  font-size: 1.25em;
  margin-bottom: 20px;
}
#racontez_h .lien_partage {
  background: #a79250;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 35px 7px 35px;
  font-size: 1.25em;
  max-width: 240px;
  line-height: 1.2;
  border-radius: 10px;
  position: relative;
  transition: all 0.25s;
}
#racontez_h .lien_partage:hover {
  background: #DE0000;
}
#racontez_h .lien_partage:before {
  display: inline-block;
  width: 50px;
  height: 50px;
  content: "";
  background: url(../images/fleche-partage-histoire.webp) center center no-repeat;
  background-size: 50px 50px;
  position: absolute;
  top: -26px;
  left: -31px;
}
#mutualite {
  padding: 50px 0;
}
#mutualite .titre_section {
  font-size: 42px;
  font-weight: bold;
}
#mutualite .titre_section span {
  font-family: 'October Storm';
  font-size: 86px;
  display: block;
  font-weight: normal;
}
#mutualite .chiffres {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding-block: 50px;
  justify-content: center;
  margin-bottom: min(50px,10vw);
  & .chiffre {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    display: block;
    color: #ffffff;
    cursor: pointer;
    aspect-ratio: 1/1;
    text-align: center;
    transition: all .3s;
    align-content: center;
    margin-inline: -15px;
    width: min(220px,45vw);
    &:hover {scale: 1.02;}
    &:nth-child(odd) {
      bottom: -50px;
    }
    &:nth-child(even) {
      color: #000;
      top: -50px;
      &::after {
        position: absolute;
        inset: 4px;
        content: '';
        background-color: #fff;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-image: url(../images/mask-polygon.webp);
        mask-image: url(../images/mask-polygon.webp);
        /* clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); */
      }
    }
    &::before {
      position: absolute;
      inset: 0;
      content: '';
      background: linear-gradient(90deg,#ff0000 0%, #ff009d 100%);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-position: center;
      mask-position: center;
      -webkit-mask-image: url(../images/mask-polygon.webp);
      mask-image: url(../images/mask-polygon.webp);
      /* clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); */
    }
    & .content {
      position: relative;
      z-index: 1;
      display: flex;
      row-gap: 10px;
      padding: min(20px,5vw);
      flex-direction: column;
      font-size: min(18px,4vw);
      font-family: 'Amino', sans-serif;
      & span {
        display: block;
        line-height: .32;
        font-size: min(100px,13vw);
        font-family: "October Storm";
        &::before {
          position: relative;
          content: '';
          display: block;
          height: 0.32em;
          pointer-events: none;
        }
      }
    }
    @media screen and (width>=1200px) {
      & {margin-inline: -5.5%;}
      &:nth-child(odd) {
        bottom: 0;
        margin-top: 27%;
      }
      &:nth-child(even) {
        top: 0;
        margin-bottom: 27%;
      }
    }
  }
  @media screen and (width>=1200px) {
    & {
      padding-block: 0;
      padding-left: 7%;
      flex-wrap: nowrap;
      justify-content: start;
    }
  }
  /* clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); */
}
/*
#mutualite .chiffres .chiffre {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  position: relative;
}
#mutualite .chiffres .chiffre:before {
  content: "";
  clip-path: polygon(7.3% 25.5%, 50% 0.9%, 92.3% 25.5%, 92.3% 75%, 50% 99.1%, 7.3% 74.5%);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}
#mutualite .chiffres .chiffre .content {
  padding: 0 15%;
  position: relative;
}
#mutualite .chiffres .chiffre span {
  font-family: 'October Storm';
  margin-bottom: 10px;
  line-height: 0.5;
  margin-top: 0.2em;
  display: block;
}
#mutualite .chiffres .chiffre:nth-of-type(1) {
  width: 265px;
  height: 265px;
  font-size: 18px;
}
#mutualite .chiffres .chiffre:nth-of-type(1):before {
  background-color: #A0AAAF;
}
#mutualite .chiffres .chiffre:nth-of-type(1) span {
  font-size: 100px;
}
#mutualite .chiffres .chiffre:nth-of-type(2) {
  width: 195px;
  height: 195px;
  font-size: 16px;
}
#mutualite .chiffres .chiffre:nth-of-type(2):before {
  background-color: #47BCC6;
}
#mutualite .chiffres .chiffre:nth-of-type(2) span {
  font-size: 85px;
}
#mutualite .chiffres .chiffre:nth-of-type(3) {
  width: 200px;
  height: 200px;
  font-size: 16px;
}
#mutualite .chiffres .chiffre:nth-of-type(3):before {
  background-color: #DE0000;
}
#mutualite .chiffres .chiffre:nth-of-type(3) span {
  font-size: 76px;
}
#mutualite .chiffres .chiffre:nth-of-type(4) {
  width: 295px;
  height: 295px;
  font-size: 18px;
}
#mutualite .chiffres .chiffre:nth-of-type(4):before {
  background-color: #24DDE1;
}
#mutualite .chiffres .chiffre:nth-of-type(4) span {
  font-size: 110px;
}
  */
#mutualite #yt-mutu16 {
  position: relative;
  z-index: 1;
}
#poles {
  padding: 50px 0;
}
#poles .titre_section {
  font-size: 42px;
  font-weight: bold;
}
#poles .titre_section small {
  font-weight: normal;
  font-size: 30px;
  display: block;
}
#poles .titre_section span {
  font-family: 'October Storm';
  font-size: 86px;
  display: block;
  font-weight: normal;
}
#poles .pole {
  box-shadow: 14px -14px 57px 0 rgba(0, 0, 0, 0.15);
  padding: 30px 20px;
  margin-top: 30px;
  z-index: 1;
  position: relative;
}
#poles .pole_2 .services {
  flex-wrap: wrap;
}
#poles .pole_2 .services a {
  width: 50%;
  margin-bottom: 20px;
}
#poles .titre_pole {
  font-size: 30px;
  font-weight: bold;
}
#poles .texte_pole {
  margin-top: 20px;
}
#poles .services {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
#poles .services a {
  width: 30%;
  text-align: center;
}
#poles .services .titre {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
}
#poles .services .texte {
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: 0;
}
#poles .services img {
  width: 100%;
  max-width: 75px;
  margin: 0 auto;
}
#poles .plus {
  width: 33px;
  height: 33px;
  background-color: #C8CB00;
  clip-path: polygon(7.3% 25.5%, 50% 0.9%, 92.3% 25.5%, 92.3% 75%, 50% 99.1%, 7.3% 74.5%);
  position: relative;
  margin-top: 10px;
}
#poles .plus.vert {
  background-color: #C8CB00;
}
#poles .plus.bleu {
  background-color: #47BCC6;
}
#poles .plus:before {
  width: 29px;
  height: 29px;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(7.3% 25.5%, 50% 0.9%, 92.3% 25.5%, 92.3% 75%, 50% 99.1%, 7.3% 74.5%);
}
#section_actus {
  padding: 50px 0;
}
#section_actus .titre_section {
  font-size: 42px;
  font-weight: bold;
}
#section_actus .titre_section small {
  font-weight: normal;
  font-size: 30px;
  display: block;
}
#section_actus .titre_section span {
  font-family: 'October Storm';
  font-size: 86px;
  display: block;
  font-weight: normal;
}
#section_actus .conteneur {
  z-index: 2;
}
#offres {
  padding: 50px 0;
  background-color: #242B39;
  background-image: url(../images/fond_bandeau_emploi.webp);
  background-size: 1170px;
  background-position: right top;
  background-repeat: no-repeat;
}
#offres .titre_section {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  position: relative;
}
#offres .titre_section:after {
  content: '';
  position: absolute;
  top: -50px;
  left: 60px;
  width: 56px;
  height: 156px;
  background-image: url(../images/mi-hexagone-bleu.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 56px;
}
#offres .titre_section small {
  font-weight: normal;
  font-size: 24px;
  display: block;
  color: #fff;
}
#offres .titre_section span {
  font-family: 'October Storm';
  font-size: 86px;
  display: block;
  font-weight: normal;
  color: #24DDE1;
}
#offres .btn {
  margin-top: 30px;
}
#offres .categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
#offres .categories a {
  text-transform: uppercase;
  color: #fff;
  font-size: 15px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  position: relative;
  font-weight: bold;
  letter-spacing: 1px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 30px;
}
#offres .categories a .nbr {
  position: absolute;
  bottom: -13px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 26px;
  height: 26px;
  line-height: 26px;
  background-color: #fff;
  border-radius: 50%;
  font-size: 14px;
  text-align: center;
  color: #000;
}
#offres .categories a:before {
  content: '';
  background-image: url(../images/sprite_menu_hover.png);
  background-size: 250px;
  background-repeat: no-repeat;
  background-position: 0 0;
  display: block;
  margin: 0 auto;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  filter: brightness(10) grayscale(1) contrast(10);
}
#offres .categories a#optique:before {
  background-position: -112px 2px;
}
#offres .categories a#audition:before {
  background-position: -23px 2px;
}
#offres .categories a#dentaire:before {
  background-position: -55px 2px;
}
#offres .categories a#ehpad:before {
  background-position: 4px 2px;
}
#offres .categories a#ssiad:before {
  background-position: -141px 2px;
}
#offres .categories a#had:before {
  background-position: -141px 2px;
}
#offres .categories a#crt:before {
  background-position: -224px 2px;
}

/* Version 768 */
@media (min-width: 768px) {
  #bandeau_home {
    overflow: hidden;
    margin-bottom: 20px;
  }
  #bandeau_home .carte {
    right: -15px;
    bottom: -180px;
  }

  #bandeau_home p {
    font-size: 20pt;
    height:80px;
    background-size: 6%;
    padding-top: 26px;
    padding-left: 0px;
    margin-left:16%;
  }

  #bandeau_home p span {
    font-size: 20pt;
  }
  .les_articles {
    display: flex;
    justify-content: space-between;
  }
  .les_articles li {
    width: calc(33.33% - 20px);
  }
  #section_actus .btn {
    position: absolute;
    top: 60px;
    right: 20px;
  }
  /*#mutualite .chiffres {
    position: relative;
    max-width: 800px;
    height: 360px;
    overflow: hidden;
  }*/

  /* #mutualite .chiffres .chiffre {
    margin: 0;
    position: absolute;
  }
  #mutualite .chiffres .chiffre:before {
    opacity: 0.8;
  }
  #mutualite .chiffres .chiffre:after {
    content: '';
    position: absolute;
    opacity: 0.8;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(7.3% 25.5%, 50% 0.9%, 92.3% 25.5%, 92.3% 75%, 50% 99.1%, 7.3% 74.5%);
  }
  #mutualite .chiffres .chiffre:nth-of-type(1) {
    left: 0;
    top: 40px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(1):after {
    background-color: #47BCC6;
    bottom: -25px;
    width: 50px;
    height: 50px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(2) {
    left: 220px;
    top: 145px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(2):after {
    background-color: #DE0000;
    top: -25px;
    width: 50px;
    height: 50px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(3) {
    left: 360px;
    top: 00px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(3):after {
    background-color: #47BCC6;
    bottom: -15px;
    width: 35px;
    height: 35px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(4) {
    left: 510px;
    top: 60px;
  }
  #mutualite .chiffres .chiffre:nth-of-type(4):after {
    background-color: #DE0000;
    top: -25px;
    width: 50px;
    height: 50px;
  } */
  #poles .poles {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
  }
  #poles .poles .pole {
    width: calc(50% - 25px);
  }
}
/* Version > 1024 */
@media (min-width: 1024px) {

  #bandeau_home {
    margin-bottom: 0;
  }
  #bandeau_home p {
    padding-left: 10px;
  }
  #bandeau_home .conteneur {
    height: 100%;
    display: flex;
    align-items: center;
  }

  #bandeau_home .carte {
    bottom: -100px;
    right: 5px;
  }
  #bandeau_home .carte img {
    width: 230px !important;
  }
  #bandeau_home .carte.journal {
    right: 210px;
    bottom: -58px;
  }
  #bandeau_home .carte.journal img {
    width: 210px !important;
  }

  #racontez_h {
    margin: 50px auto 0 auto;
    max-width: 430px;
  }
  #racontez_h #titre_hist {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
}
/* Version > 1200 */
@media (min-width: 1200px) {
  #bandeau_home {
    height: 500px;
    /* 900px */
    max-height: initial;
    position: relative;
    margin-bottom: -100px;
  }
  #bandeau_home img.cliping {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 80%);
  }
  #bandeau_home .carte {
    bottom: 0px;
  }
  #bandeau_home .carte img {
    width: 270px !important;
  }
  #bandeau_home .carte.journal {
    bottom: 43px;
    right: 230px;
  }
  #bandeau_home p {
    display:block;
    font-size: 43px;
    width: 835px;

    align-items: center;
    height: 150px;
    background-size: 10%;
    padding-top: 56px;
    padding-left: 30px;
    margin-left:10%;
  }
  #bandeau_home p span {
    font-size: 33pt;
  }
  /* #bandeau_home:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 1920px;
    height: 266px;
    background-image: url(../images/masque_bandeau_home.png);
    background-size: 1920px;
    background-repeat: no-repeat;
    background-position: center bottom;
  } */
  #bandeau_home:not(.no_kal):before {
    content: '';
    position: absolute;
    bottom: 97px;
    right: 50%;
    transform: translateX(-540px);
    width: 413px;
    height: 473px;
    background-image: url(../images/kaleidoscope_bandeau_metier.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 413px;
  }
  #racontez_h {
    margin-top: 0;
  }
  #mutualite {
    padding: 100px 0;
    background-image: url(../images/fond_mutualite_mains.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1920px;
    background-color: #f2f1f2;
  }
  #mutualite .texte {
    width: 730px;
    max-width: 100%;
  }
  #mutualite .conteneur:after {
    content: '';
    position: absolute;
    top: -100px;
    right: -110px;
    background-image: url(../images/hexagone_blanc.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 496px;
    height: 573px;
    width: 496px;
  }
  #mutualite .conteneur {
    display: flex;
    flex-wrap: wrap;
  }
  #mutualite .conteneur .droite {
    width: 52%;
    margin: 130px 0 0 0;
    padding: 0;
    max-width: 600px;
  }
  #mutualite .conteneur .gauche {
    width: 48%;
    margin-right: 0px;
    padding: 0 3% 0 0;
  }
  #poles {
    background-image: url(../images/fond_poles_home.webp);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 1920px;
    padding: 100px 0;
    position: relative;
    background-color: #fff;
  }
  #poles:before {
    content: '';
    position: absolute;
    bottom: -70px;
    right: 0;
    left: 0;
    height: 400px;
    background-image: url(../images/bandeau_bleu.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1920px;
    z-index: 1;
  }
  #poles:after {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    /*background-image: url(../images/kaleidoscope2.png);*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 640px;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
    z-index: 2;
  }
  #poles .titre_section {
    font-size: 53px;
    margin-bottom: 30px;
    margin-left: -40px;
  }
  #poles .titre_section small {
    padding-left: 40px;
    font-size: 38px;
  }
  #poles .titre_section span {
    padding-left: 40px;
    font-size: 126px;
  }
  #poles .top {
    padding-left: calc(50% + 50px);
    height: 480px;
  }
  #poles .titre_pole {
    font-size: 40px;
  }
  #poles .services {
    margin-top: 80px;
  }
  #poles .services a {
    width: 33.33%;
  }
  #poles .services .titre {
    font-size: 17px;
  }
  #poles .services .texte {
    font-size: 14px;
    line-height: 1.2;
  }
  #poles .pole {
    position: relative;
    box-shadow: none;
    padding: 30px;
    height: 420px;
    filter: drop-shadow(14px -14px 57px rgba(0, 0, 0, 0.15));
  }
  #poles .pole * {
    position: relative;
  }
  #poles .pole:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #fff;
  }
  #poles .pole.pole_1 {
    padding-right: 100px;
  }
  #poles .pole.pole_1:before {
    left: 0;
    width: 630px;
    clip-path: polygon(0 0, 445px 0, 100% 100%, 0 100%);
  }
  #poles .pole.pole_2 {
    padding-left: 70px;
    margin-top: 100px;
  }
  #poles .pole.pole_2:before {
    right: 0;
    width: 630px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 445px) 100%);
  }
  #poles .pole.pole_2 .services a {
    width: 25%;
    margin-bottom: 0;
  }
  #section_actus {
    padding-top: 130px;
    background-color: #F2F1F2;
  }
  #section_actus .titre_section {
    padding-left: 500px;
    position: absolute;
    padding-top: 35px;
  }
  #section_actus .les_articles li {
    width: 315px;
    margin-top: 190px;
  }
  #section_actus .les_articles li .visuel {
    height: 330px;
  }
  #section_actus .les_articles li:nth-of-type(1) {
    margin-top: 0;
    width: 475px;
  }
  #section_actus .les_articles li:nth-of-type(1) .visuel {
    height: 520px;
  }
  #section_actus .les_articles .titre {
    font-size: 24px;
  }
  #section_actus .les_articles .resume {
    font-size: 16px;
  }
  #section_actus .btn {
    top: 90px;
  }
  #offres {
    position: relative;
    background: none;
    background-color: #fff;
    background: linear-gradient(0deg, #DE0000 30%, #fff 30%);
    margin-top: 120px;
  }
  #offres:before {
    content: '';
    background-color: #242B39;
    background-image: url(../images/fond_bandeau_emploi.webp);
    background-size: 1170px;
    background-position: right 120px;
    background-repeat: no-repeat;
    position: absolute;
    top: -230px;
    width: 1920px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    clip-path: polygon(200px 0, 700px 240px, 100% 240px, 100% 100%, 200px 100%);
  }
  #offres .titre_section {
    font-size: 40px;
  }
  #offres .titre_section span {
    font-size: 135px;
  }
  #offres .titre_section:after {
    width: 102px;
    background-size: 102px;
  }
  #offres .conteneur {
    margin-top: -150px;
  }
  #offres .categories {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
  }
  #offres .groupe-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 170px;
  }
  #offres .groupe-btn .btn {
    margin-left: 30px;
    margin-top: 0;
  }
}
