/* Stylesheet */

:root {
  --color--teal: #12E0AF;
  --color--beige: #FCFCF0;
  --color--black: #333333;

  --font-family--ello: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  max-width: 100%;
  margin: auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--color--black);
  line-height: 1.4;
  background-color: var(--color--teal);

}

header {
  padding: 75px 0 200px;
  background-color: var(--color--teal);
  background-image: url('../images/bg.png');
  background-position: center right;
  background-size: contain;
  background-repeat: no-repeat;
  @media screen and (max-width: 1200px) {
    background-image: none;
  }
}

.container {
  width: 1640px;
  max-width: 100%;
  margin: auto;
}

header .container.top-header{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

header .container.top-header h2 {
  font-size: 46px;
  color: #36413e;
  font-weight: 300;
  margin: 0;
  position: relative;
  z-index: 1;
  display: inline-block;
}

header .container.top-header h2:before {
  content: '';
  position: absolute;
  left: -90px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 172px;
  height: 112px;
  background: url('../img/quote_icon.svg') no-repeat;
  z-index: -1;
}

header .container.top-header h2 span {
  color: #0095ac;
  font-weight: 400;
}

header .container .logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

header .container .logo h1 {
  color: #36413e;
  font-size: 60px;
  font-weight: 400;
  padding-left: 100px;
  margin: 0;
}

header .container .logo h1 span{
  display: block;
  color: #36413e;
  font-size: 46px;
  font-weight: 300;
}

header .container .chiffres {
  display: flex;
  justify-content: space-between;
  padding-top: 75px;
}

header .container .chiffres .chiffre {
  display: flex;
  align-items: center;
}

header .container .chiffres .chiffre .ico:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-image: url('../img/icones_sprite.svg');
  background-size: cover;
}

header .container .chiffres .sepa {
  width: 2px;
  height: 50px;
  background: var(--color--black);
}

header .container .chiffres .chiffre p {
  font-size: 20px;
  margin: 0;
}

header .container .chiffres .chiffre p span {
  margin-right: 6px;
  font-weight: 700;
}

header .container .chiffres .chiffre .ico {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--color--black);
  margin-right: 15px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--color--beige);
}

main {
  display: grid;
  grid-template-columns: 35fr 65fr;
  margin-top: -130px;
  margin-left: calc((100% - 1640px) /2);
  @media screen and (max-width: 1280px) {
    grid-template-columns: 1fr;
  }
}

main .implantations {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

main .implantations:after {
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  /* content: ''; */
  height: 100%;
  width: 100dvw;
  background-color: var(--color--black);
}

main .implantations .title {
  padding: 50px 30px;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--color--black);
  text-transform: uppercase;
}

main .implantations h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  color: var(--color--teal);
  text-align: center;
  width: 100%;
}

main .implantations h2 span {
  font-weight: 700;
}

main .implantations .implantation {
  -ms-flex: 0 0 33.333%;
  flex: 0 0 33.333%;
  max-width: 33.333%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

main .implantations .implantation {
  background-size: cover;
  background-color: #cfebef;
  position: relative;
}

main .implantations .implantation:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 1;
  transition: all .5s;
  height: 8px;
  width: 85px;
  z-index: 12;
  max-width: 100%;
}

main .implantations .implantation:hover:after {
  width: 237px;
  background-color: var(--color--teal);
}

main .implantations .implantation .content {
  padding: 30px;
  text-align: center;
}

main .implantations .implantation .content:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.0);
  top: 0;
  left: 0;
  z-index: 10;
  transition: all .3s;
}

main .implantations .implantation:hover .content:before {
  background: rgba(0,0,0,0.6);
}

main .implantations .implantation img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all .5s;
  object-position: center;
  object-fit: cover;
}

.texte h3 {
  color: var(--color--teal);
}

main .implantations .implantation h3 {
  font-size: 32px;
  position: relative;
  z-index: 13;
  margin: 0;
  font-weight: 700;
  color: var(--color--beige);
}

main .implantations .implantation h3 span {
  color: #fff;
  font-weight: 400;
}

main .implantations a {
  text-decoration: none;
  color: #2e2e3a;
}

main .implantations .implantation.actif img {
  opacity: 1;
}

main .implantations .implantation.actif:after {
  opacity: 1;
}

main .implantations .implantation h3 span {
  display: block;
  font-size: 18px;
}


main .texte {
  position: relative;
  background: var(--color--beige);
  padding: 65px 50px;
  -webkit-border-top-left-radius: 60px;
  -webkit-border-bottom-left-radius: 60px;
  -moz-border-radius-topleft: 60px;
  -moz-border-radius-bottomleft: 60px;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
}

main .texte p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 15px;
}

main .texte h2 {
  color: var(--color--beige);
  font-size: 32px;
  font-weight: 400;
}

main .texte p {
  max-width: 100%;
}

footer {
  background: var(--color--black);
  text-align: center;
  color: var(--color--beige);
  padding: 105px 15px 30px;
  margin-top: -75px;
}

footer a {
  color: var(--color--beige);
}

@media(max-width: 1639px) {
  main {
    margin-left: 0;
    margin-top: -185px;
  }
  header {
    padding: 75px 15px 255px;
  }
}

@media(max-width: 1440px) {
  main .texte {
    width: 100%;
  }
  main .implantations {
    width: 100%;
  }
  .slogan {
    width: 100%;
    margin-top: 35px;
    text-align: center;
  }
}

@media(max-width: 1280px) {
  .slogan {
    margin-top: 15px;
  }
  header .container .logo, header .container .chiffres {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  header {
    padding: 50px 15px;
  }
  header .container .logo {
    margin-bottom: 35px;
  }
  header .container .chiffres {
    justify-content: start;
  }
  header .container .chiffres .chiffre {
    margin-right: 50px;
  }
  main {
    margin-top: 0;
    flex-direction: column;
    /* align-items: stretch; */
  }
  main .texte {
    height: 100%;
  }

  main .texte .content .info {
    position: relative;
    padding: 0;
  }

  main .texte .content {
    padding: 15px;
  }
  header .container .chiffres .sepa {
    display: none;
  }
}

@media(max-width: 1280px) {
  main .texte .content {
    margin-top: 35px;
    margin-bottom: 50px;
  }
  main .texte {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 100%;
    padding: 35px 50px
  }
}

@media(max-width: 1000px) {
  main {
    flex-wrap: wrap;
  }
  main .texte {
    width: 100%;
  }
  header .container .chiffres {
    justify-content: center;
    flex-wrap: wrap;
  }
  header .container .chiffres .chiffre {
    margin: 15px 20px;
  }
  header .container .chiffres {
    padding-top: 35px;
  }
  main .implantations {
    width: 100%;
  }
  footer {
    margin-top: 0;
  }
}

@media(max-width: 991px) {
  header .container .logo h1 {
    padding-left: 25px;
    font-size: 48px;
  }
  main .implantations .title {
    justify-content: center;
    width: 100%;
  }
  main .implantations {
    height: 100%;
  }
  main .implantations .implantation .content {
    padding: 30px;
  }
  main .implantations .implantation {
    height: auto;
  }
  footer {
    padding: 25px 15px;
  }
}

@media(max-width: 767px) {
  header img {
    max-width: 100%;
    height: auto;
  }
  header .container .logo {
    justify-content: center;
    text-align: center;
  }
  main .implantations .implantation .content {
    min-height: 0;
  }
}

@media(max-width: 575px) {
  header .container .chiffres {
    flex-wrap: wrap;
  }
  header .container .logo h1 {
    font-size: 32px;
    margin-top: 15px;
  }
  header .container.top-header h2 {
    font-size: 28px;
  }
  header .container .logo h1 span {
    font-size: 28px;
  }
  header .container .chiffres .chiffre {
    width: 100%;
  }
  main .implantations .implantation {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  main .implantations {
    justify-content: center;
  }
  main .implantations .implantation.arlon::before {
    content: none;
  }
  main .implantations .implantation::after, main .implantations .implantation img {
    opacity: 1;
  }
  main .texte {
    padding: 35px 15px;
  }

}

@media(max-width: 420px) {
  main .implantations .implantation {
    -ms-flex: 0 0 1000%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.chooser {
  flex-basis: 100%;
}

.option-type.active {
  display: block;
}

.option-type {
  display: none;
}

.chooser-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  padding: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--color--teal);
  background-color: var(--color--black);
}

.formation-type {
  background-color: var(--color--teal);
  padding: 24px;
  text-align: center;
}

.formation-type {

}

.formation-type-button {
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color--beige);
  background-color: var(--color--black);
  border: 3px solid var(--color--black);
  cursor: pointer;
  transition: all .3s;
}

.formation-type-button.active {
  background-color: transparent;
  color: var(--color--black);
}

.formation-type-title {
  margin-top: 0;
}

.option-type {
  padding: 0 24px 24px;
}

.option-type-title {
  text-align: center;
}

.options-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.options-title {
  font-size: 14px;
  font-weight: 700;
}

.options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.options-list li {
  position: relative;
  background-color: var(--color--black);
  color: var(--color--beige);
  padding: 13px 20px 12px 40px;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  user-select: none;
}

.options-list li:before {
  content: "";
  position: absolute;
  top: 14.5px;
  left: 13px;
  width: 16px;
  height: 16px;
  background-color: var(--color--beige);
  transition: all .3s;
}

.options-list li:after {
  content: "\f00c";
  position: absolute;
  top: 4px;
  left: 14px;
  display: none;
  font-size: 24px;
  font-weight: 900;
  font-family: "Font Awesome 6 Pro";
  color: var(--color--teal);
  transition: all .3s;
}

.options-list li.active:after {
  display: block;
}

.implantation {
  filter: grayscale(50) brightness(0.5);
  transition: filter .3s linear;
  pointer-events: none;
}

.implantation.active {
  filter: none;
  pointer-events: all;
}

.formation-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  @media screen and (max-width: 1440px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 1280px) {
    grid-template-columns: repeat(4, 1fr);
  }
  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 1000px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 660px) {
    grid-template-columns: 1fr;
  }
}