@charset "UTF-8";
* {
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: 10px;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 1.2rem;
  font-family: "Inter", "Arial", sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 10000s ease-in-out 0s, box-shadow 10000s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.6) inset !important;
  -webkit-text-fill-color: #000000 !important;
}

::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}

.nowrap {
  white-space: nowrap;
}

/* Popup modale de récupération d'identifiants */
#modalRecupId {
  display: none;
  width: 600px;
}

#modalRecupId .modal-content {
  padding: 0;
}

#modalRecupId iframe {
  border: none;
  width: 100%;
  height: 280px;
}

#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
}

#page {
  background: #ffffff;
  /*background: url(../images/volkswagen_group_background.jpg) no-repeat center center;*/
  /*background-size: cover;*/
}


.small-only {
  display: block;
}
.large-only {
  display: none;
}

.contenu {
  width: 100%;
  background-color: transparent;
  flex: 1 1 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;

  text-align: center;
  max-width: 700px;
}

.bg {
  order: -1;
  width: 100%;
  height: 17vh;

  flex: 0 0 auto;
  /*display: none;*/

  background: url(../images/img_1.png) no-repeat top center;
  background-size: cover !important;

  display: none;

}

.bg .img {
  display: none;
}

header, footer, main {
  width: 90%;
  margin: 0 auto;
  max-width: 450px;
}

main {
  /* query container */
  container-type: inline-size;
  container-name: main;
}


div.hr {
  margin: 1.33rem 0;
}

#logo {
  width: 100%;
  /*max-width: 28.6rem;*/
  min-width: 150px;
  margin-bottom: 0;
  /*margin-top: 2rem;*/
}

#logo img {
  max-width: 100%;
  height: auto;
  border: 0;
}

.titre {
    font-family: 'Inter', sans-serif;
    color: #000190;
    font-size: clamp(18px, 1.5vw, 2.2rem);
    /*font-weight: bold;*/
    line-height: 1.1;
    margin: 0;
    margin-bottom: clamp(40px, 8vh, 8.5rem);
}

h2 {
  margin: 0;
  color: #fc1708;
  font-size: clamp(45px, 3vw, 4.6rem);
  font-weight: bold;
  line-height: 1.1;
  font-family: 'Cardo', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}


@container main (width < 370px) {
  h2 {
    letter-spacing: 0;
  }
}

h3 {
  font-family: 'Cardo', sans-serif;
  margin: 0;
  margin-bottom: 3rem;
  color: #282828;
  font-size: clamp(30px, 2.1vw, 3rem);
  font-weight: normal;
  line-height: 1;

}

.instructions {
  color: #282828;
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 300;
  margin: auto;
  margin-bottom: 3rem;
  /*max-width: 80%;*/
}

.instructions .color {
  font-weight: bold;
}

#fields {
  box-sizing: border-box;
  overflow: hidden;
  /*max-width: 36.33rem;*/
}

#fields .field {
  position: relative;
  background-color: rgb(238, 239, 240);
  margin: 0;
  height: 4.27rem;
  /*border-radius: 5px;*/
}

#fields .field:not(:last-child) {
  margin-bottom: 1.33rem;
}

#fields .field:first-of-type {
  border-top: 0;
}

#fields .field:first-of-type label {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email],
#fields .field:first-of-type input[type=text],
#fields .field:first-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:first-of-type input[type=email] + span.label,
#fields .field:first-of-type input[type=text] + span.label,
#fields .field:first-of-type input[type=password] + span.label {
  margin-left: 0;
}

#fields .field:last-of-type label {
  margin-left: 0;
}

#fields .field:last-of-type input[type=email],
#fields .field:last-of-type input[type=text],
#fields .field:last-of-type input[type=password] {
  margin-left: 0;
}

#fields .field:last-of-type input[type=email] + span.label,
#fields .field:last-of-type input[type=text] + span.label,
#fields .field:last-of-type input[type=password] + span.label {
  margin-left: 0;
}

#fields label {
  position: absolute;
  top: 0;
  left: 0;
  width: 4.27rem;
  width: 4.27rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  height: 100%;
  text-align: center;
  margin-left: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fields label img {
  height: 24px;
  width: auto;
}

#fields input[type=email], #fields input[type=text], #fields input[type=password] {
  font-size: 1.6rem !important;
  font-weight: normal;
  font-family: "The group TEXT", "Arial", sans-serif !important;
  color: #000000 !important;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 90% !important;
  border-bottom: 0;
  box-sizing: border-box;
  margin-bottom: 0;
}

#fields input[type=email]:focus, #fields input[type=email].valid, #fields input[type=email].invalid, #fields input[type=text]:focus, #fields input[type=text].valid, #fields input[type=text].invalid, #fields input[type=password]:focus, #fields input[type=password].valid, #fields input[type=password].invalid {
  color: rgba(0, 0, 0, 0.6);
  box-shadow: none;
  outline: 0;
}

#oubli_form {
  text-align: right;
  font-family: "The group TEXT", sans-serif;
  font-weight: normal;
  font-size: 1.5rem;
  color: #000000;
  position: relative;
  margin-top: 1rem;
}

#oubli_form a {
  color: unset;
  color: #000000;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

#oubli_form a .color {
  /*transition: all 0.3s;*/
}

#oubli_form a:hover  {
  color: #fe1708;
}

.button_form {
  /*width: 14rem;*/

  font-family: "The Group TEXT", sans-serif;
  color: #ffffff;
  display: inline-flex;
  margin: 1rem 0 0;
  transition: all 0.3s ease-in-out;
  margin-top: 2rem;
  align-items: center;
  background-color: #0e00a4;
  border: none;
  border-radius: 0;
  font-size: 1.6rem;
  font-weight: 500;
  justify-content: center;
  line-height: 1.1em;
  overflow: hidden;
  position: relative;
  text-align: start;
  width: 100%;

  padding: 2rem 1.5rem 1.8rem;
  /*width: -moz-fit-content;*/
  transition: all .4s;

  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;

  &:hover {
   letter-spacing: 0.05em;
    background: rgba(14, 0, 164, 0.86);
  }
}                                                                                              

.button_form:hover {
  /*background-color: #5058b7;*/
}

.button_form .arrow {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: 38%;
  position: relative;
  margin-left: 1.5rem;
}

.button_form .arrow svg {
  fill: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (min-height: 800px) {
  .contenu {
    /*justify-content: center;*/
  }
}

@media screen and (min-width: 600px) {
  #page {
    /*padding: 2rem 0;*/
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
    /*background: #002733;*/
    /*background: linear-gradient(to right, #002733, transparent) no-repeat left top,  url(../images/volkswagen_group_background.jpg) no-repeat center center;*/
    /*background-size: cover;*/
  }
  .small-only {
    display: none;
  }

  div.hr {
    margin: 30px 0;
  }
  
  .contenu {
    /*justify-content: center;*/
    height: 60%;
    /*flex: 0 0;*/
    flex: 1 1 auto;
    margin: auto;
    width: 100%;
    padding:  clamp(20px, 6vh, 8rem);
    text-align: left;
  }

  .instructions {
    margin-left: 0;
  }

  
  .bg {
       order: 1;
    width: 40vw;

    flex: 0 0 auto;


    height: initial;
    position: relative;
    overflow: hidden;

    background: none;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr 1fr 1fr;
    gap: 1rem;
    padding:  clamp(20px, 6vh, 8rem);
    padding-left: 0;
  }

  .bg .img {
    display: block;
  }

  #img_1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background: url(../images/img_1.png) no-repeat center center;
    background-size: cover !important;
  }

  #img_2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background: url(../images/img_2.png) no-repeat top center;
    background-size: cover !important;
  }

  #img_3 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background: url(../images/img_3.png) no-repeat center center;
    background-size: cover !important;
  }

  #img_4 {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    background: url(../images/img_4.png) no-repeat center center;
    background-size: cover !important;
  }


  header, main, footer {
    /*width: 80%;*/
  }
}

/*@media screen and (max-width: 959px) and (max-height: 840px) {*/
/*  .bg {*/
/*    display: none;*/
/*  }*/
/*}*/

@media screen and (min-width: 960px) {
  html {
    /*font-size: 11px;*/
  }
  #logo {
    margin-top: 0;
  }
  
  #page {
    min-height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  #page .bg {
    background: none;

    display: grid;
    grid-template-columns: 0.7fr 1fr;
    grid-template-rows: 2fr 1fr 1fr;
  }

 .bg .img {
   display: block;
  }

 #img_1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    background: url(../images/img_1.png) no-repeat center center;
    background-size: cover !important;
 }

 #img_2 {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    background: url(../images/img_2.png) no-repeat top center;
    background-size: cover !important;
 }

 #img_3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background: url(../images/img_3.png) no-repeat center center;
    background-size: cover !important;
 }

 #img_4 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    background: url(../images/img_4.png) no-repeat center center;
    background-size: cover !important;
 }

  #page .contenu {
    background: none;
  }

  .contenu {
    width: 40%;
    flex: 1 1 auto;
    height: initial;
    margin: initial;
    background: none;
    background-color: transparent;
    box-shadow: none;


  }
  .bg {
    display: block;
    width: 60%;
    flex: 1 1 60%;
    order: 1;
    background: transparent;
    height: initial;
    position: relative;
    overflow: hidden;
  }
}

@media screen and (min-width: 1200px) {
  html {
    /*font-size: 11px;*/
  }

  .large-only {
    display: block;
  }
  
  .contenu {
    width: 40%;
    /*flex: 1 1 45.3%;*/
    /*max-width: 76rem;*/

  }
  .bg {
    width: 60%;
    flex: 1 1 60%;
  }
  header, main, footer {
    /*width: 62%;*/
  }
  header .hr {
    margin: 2rem 0 2.87rem;
  }
  #fields .field {
    height: 4.93rem;
  }
  #fields label {
    width: 4.93rem;
  }
  #fields input[type=email], #fields input[type=text], #fields input[type=password] {
    left: 6.67rem;
    width: calc(100% - 6.67rem);
  }
  footer {
    margin-top: 6.6rem;
  }
}

@media screen and (min-width: 1600px) {
  html {
    /*font-size: 13px;*/
  }
}

@media all and (-ms-high-contrast: none) and (max-width: 961px), (-ms-high-contrast: active) and (max-width: 961px) {
  #page {
    display: block;
  }
  .contenu {
    box-shadow: none;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 960px), (-ms-high-contrast: active) and (min-width: 960px) {
  #page, .contenu {
    min-height: 100vh;
  }
  .bg {
    min-height: 100vh;
  }
}