﻿:root {
  --secondary: #ADB486;
  --tertiary: #383330;
  --text: #FFFFFF;
}

@font-face {
  font-family: "DIN-Bold";
  src: url("../fonts/DIN-Bold.woff2") format("woff2"), url("../fonts/DIN-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
  font-family: "Roboto-Light";
  src: url("../fonts/Roboto-Light.ttf");
}

@font-face {
  font-family: "Roboto-Black";
  src: url("../fonts/Roboto-Black.ttf");
}

body {
  margin: 0;
  line-height: 1.2;
}

strong {
  font-family: "DIN-Bold", sans-serif;
}

body main {
  display: flex;
  width: 100%;
  height: 100vh;
  background: url(../images/background-crillon.webp) no-repeat left top;
  background-size: 75%;
}

body main section.principal {
  width: 75%;
}

body main section.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5vw;
  overflow-y: scroll;
  background-color: #090E8C;
  color: white;
  font-family: "avenir-next-lt-pro-condensed";
  line-height: 1.2;
}

body main section.form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 1.5vw;
  font-weight: bold;
  text-align: center;
  margin-top: 1.5vw;
}

body main section.form::-webkit-scrollbar,
.formLeads::-webkit-scrollbar {
  display: none;
}

body main .logo-crillon {
  width: 27vw;
  height: auto;
  margin-bottom: 2vw;
  position: absolute;
  bottom: 16vw;
  right: 33vw;
}

body main .main-title {
  color: #090E8C;
  text-align: center;
  font-family: 'Parlare';
  font-size: 2.6vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  transform: rotate(-1.679deg);
  position: absolute;
  bottom: 2vw;
  left: 3vw;
}

#form .titre-form h2 {
  text-align: center;
  font-size: 1.3vw;
  font-family: "avenir-next-lt-pro-condensed";
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#form .titre-form h3 {
  text-align: center;
  font-size: 1vw;
  font-family: "avenir-next-lt-pro-condensed";
  font-weight: 400;
}



footer {
  position: relative;
  z-index: 4;
  width: 100%;
  background-color: #000000;
}

.small-required {
  width: 96%;
  font-size: 0.7vw;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2vw;
}

.optin .mab_radio__label {
  font-size: 0.7vw;
  font-weight: 500;
  text-align: left;
  margin-bottom: 1vw;
}

.formLeads div {
  width: 100%;
}

.formLeads .titre-form {
  padding-top: 3vw;
  margin-bottom: 1.5vw;
}

.formLeads .titre-form h3 {
  margin-bottom: 0.2vw;
  color: white;
  font-family: "Roboto-Black";
  font-size: 1.1vw;
  font-weight: 900;
}

.roboto-black {
  font-family: "Roboto-Black";
}

.roboto-light {
  font-family: "Roboto-Light";
}

.formLeads #container_input {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4%;
}

.formLeads #container_input input,
.oneinput input {
  width: 100%;
  height: 2.5vw;
  padding: 0.5rem;
  margin-bottom: 6%;
  border: 1px solid #030768;
  border-radius: 7px;
  background-color: #030768;
  color: black;
  font-family: "Roboto";
  font-size: 0.875rem;
}

.formLeads .oneinput input {
  height: 2.5vw;
  width: 50%;
}

.formLeads #container_input input::placeholder,
.oneinput input::placeholder {
  color: #fff;
}

.oneinput {
  width: 100%;
}

.formLeads .form-group .control {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4%;
}

.formLeads .projet .control {
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0;
}

.formLeads .mab_radio {
  display: block;
  width: 48%;
  margin: 0;
}

.formLeads .optin.mab_radio {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0;
}

.formLeads .mab_checkbox {
  width: 100% !important;
  height: 2.5vw;
}

.mab_checkbox label {
  border: 1px solid #AAAAAA !important;
  border-radius: 7px !important;
  background-color: white;
  color: black;
  font-family: "Roboto";
  font-size: 0.875rem;
  font-weight: bold;
}

.formLeads #projet .mab_checkbox label {
  height: 2.5vw;
}

.mab_checkbox input:checked + label,
.formLeads #projet .mab_checkbox input:checked + label {
  border-color: var(--secondary);
  background-color: var(--secondary) !important;
  color: white;
}

.mab_radio__control {
  width: max(1.5vw, 20px);
  height: max(1.5vw, 20px);
  border: 1px solid #AAAAAA !important;
  border-radius: 5px !important;
  transition: background 0.3s ease;
}

.mab_radio__label,
.mab_radio__input {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300 !important;
  line-height: 1rem !important;
  text-align: left;
}

.formLeads .mab_radio input:checked + .mab_radio__control {
  background-color: #fff;
  color: white;
}

.formLeads .optin {
  margin-top: 1.5vw;
}

.formLeads .optin input {
  width: 100%;
  height: 2vw;
  padding: 0 max(0.5vw, 15px);
  border: 1px solid var(--secondary);
  border-radius: 5px;
  background-color: white;
  color: black;
  font-family: "klavika-web", sans-serif;
  font-size: 75%;
}

.formLeads .optin.mab_radio2 {
  display: inline-flex;
  gap: 1vw !important;
  width: 100%;
  margin-top: 0.1vw;
  font-size: 1vw;
}

.formLeads .optin.mab_radio2 .mab_radio__input {
  display: inline-flex;
  min-width: 30%;
  justify-content: flex-start;
  gap: 1vw !important;
}

.formLeads .optin.mab_radio2 input {
  position: absolute;
  z-index: -1;
  width: max(1.5vw, 20px);
  height: max(1.5vw, 20px);
  margin: 0;
  opacity: 0;
}

.formLeads .optin.mab_radio2 .mab_radio__control {
  border-radius: 25px !important;
}

.formLeads button {
  padding: 10px 40px;
  margin: 1vw 0;
  border: 1px solid white;
  /* border-radius: 7px; */
  background-color: white;
  text-transform: uppercase;
  color: #090E8C;
  font-family: "avenir-next-lt-pro-condensed";
  font-size: 1.3vw;
  line-height: 1.5;
  cursor: pointer;
  letter-spacing: 1px;
  font-weight: bold;
}

.formLeads button:hover {
  background-color: var(--text);
  color: var(--tertiary);
}

.commercialisation {
  font-size: 0.9vw;
  font-weight: 300;
  margin: 1vw;
  font-family: "avenir-next-lt-pro-condensed";
  text-transform: uppercase;
}

.ratp-logo {
  width: 14vw;
  height: auto;
  margin: 0 0 0 1vw;
}

.form-ml {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1vw 0;
  margin: 1vw 0;
  font-size: 0.7vw;
  font-weight: 300;
  line-height: 1rem;
  text-align: left;
}

#confirmation {
  color: white;
}

#error_message,
div#error_message {
  font-family: "Roboto";
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.mg-2 {
  margin-top: 1.2vw;
  margin-bottom: 1vw;
}

.mg-3 {
  margin-bottom: 0.4vw;
}

.mg-4 {
  margin-top: 0.3vw;
}

@media (min-width: 1025px) {
  body main section {
    width: 25%;
    height: 100%;
  }

  body main section.principal {
    width: 75%;
  }

  body main section.form {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
  }
}

@media (max-width: 1024px) {
  body main {
    flex-direction: column;
    height: unset;
  }

  body main p {
    font-size: 3.6vw;
    line-height: 1.5;
  }

  body main section,
  body main section.principal {
    width: 100%;
    height: unset;
  }

  body main section.form {
    overflow: unset;
    padding-top: 0;
    margin-top: 0;
  }

  body main section.form form {
    padding: 0 5vw;
  }

  .formLeads .titre-form {
    margin: 5vw 0;
  }

  .formLeads .titre-form h3 {
    font-size: 4.1vw;
  }

  .formLeads #container_input {
    column-gap: 2.5vw;
    margin-top: 5vw;
  }

  .formLeads #container_input label {
    margin-bottom: 1vw;
  }

  .formLeads #container_input input,
  .oneinput input {
    height: 10vw;
    padding: 0 3vw;
    font-size: 14px;
  }

  .formLeads .mab_checkbox {
    height: 10vw;
  }

  .formLeads .mab_checkbox label {
    height: 50px;
    font-size: 14px;
  }

  .formLeads #projet .mab_checkbox label {
    height: 40px;
  }

  .formLeads .optin {
    margin-top: 5.5vw;
  }

  .formLeads button {
    padding: 10px 55px;
    margin-top: 7vw;
    font-size: 4.4vw;
    font-weight: bold;
  }

  .small-required {
    font-size: 2.5vw;
    font-weight: 500;
  }

  .form-ml {
    padding: 4vw 0;
    font-size: 2.7vw;
  }

  .mg-2 {
    margin-top: 3vw;
    margin-bottom: 3vw;
  }

  .mg-4 {
    margin-top: 2.5vw;
  }

  .ui-autocomplete {
    z-index: 10000 !important;
  }
}
