﻿@font-face {
  font-family: "KiaOTF";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/KiaSignatureFixRegular.woff2") format("woff2")
}

@font-face {
  font-family: "KiaOTF";
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/KiaSignatureFixLight.woff2") format("woff2")
}

@font-face {
  font-family: "KiaOTF";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/KiaSignatureFixBold.woff2") format("woff2")
}

body {
  font-family: "KiaOTF", sans-serif;
  padding: 0;
  margin: 0;
  color: #fff;
  background: #05141f;
  font-size: 16px
}

input, textarea, select {
  font-size: 14px;
  color: #05141f;
  font-family: "KiaOTF"
}

*, *:after, *:before {
  box-sizing: border-box
}

p, h1 {
  margin: 0
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column
}

.desktop {
  display: none
}

.tablette {
  display: none
}

.illustration {
  width: 100%;
  max-width: 500px;
  margin: 0 auto
}

.illustration h1 {
  width: 100%;
  padding: 22px 25px;
  z-index: 2;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center
}

.illustration h1 img {
  width: 209px
}

.illustration .bg {
  width: 100%;
  aspect-ratio: 320/180;
  background: url("../images/bg.png") no-repeat center/cover;
  position: relative;
  z-index: 1
}

.illustration .bg video {
  width: 100%;
  display: block
}

.illustration .text {
  background: #fff;
  padding: 0 20px;
  max-width: 500px;
  margin: 0 auto
}

.illustration .text .cadre {
  background: #05141f;
  max-width: 320px;
  margin: -23px auto 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 10px 12px 20px 12px;
  row-gap: 8px;
  font-weight: 300;
  position: relative;
  z-index: 2;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px)
}

.illustration .text .cadre .t1 {
  font-size: 21px;
  width: 100%
}

.illustration .text .cadre .t1 strong {
  font-weight: bold
}

.illustration .text .cadre .t2 {
  text-transform: uppercase;
  font-size: 14px;
  width: 96px;
  min-width: 96px;
  border-right: 1px solid #fff;
  display: flex;
  flex-direction: column
}

.illustration .text .cadre .t2 span {
  width: 100%
}

.illustration .text .cadre .t2 span:nth-child(2) {
  font-size: 34px;
  line-height: 34px;
  font-weight: bold
}

.illustration .text .cadre .t2 span sup {
  font-size: 8px
}

.illustration .text .cadre .t3 {
  font-size: 9px;
  padding-left: 11px
}

.illustration .text .cadre .t3 sup {
  font-size: 8px
}

.illustration .lot {
  max-width: 500px;
  margin: 0 auto;
  background: #fff
}

.illustration .lot img {
  width: 100%;
  max-width: 350px;
  position: relative;
  z-index: 3;
  margin: -25px auto 0 auto
}

.form {
  padding: 0 20px 20px 20px;
  background: #fff;
  color: #05141f;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto
}

.form .intro {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 105%
}

.form .intro2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cdd0d2
}

.form .intro2 .titre {
  font-weight: bold;
  font-size: 20px;
  line-height: 105%
}

.form .form-groupe {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.form .bord {
  padding-bottom: 15px;
  border-bottom: 1px solid #05141f
}

.form .form-toggle {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px
}

.form .form-toggle .togglelabel {
  color: #cdd0d2;
  transition: all .45s ease-in-out;
  text-transform: uppercase
}

.form .form-toggle .togglelabel.actif {
  color: #05141f
}

.form .form-toggle span {
  font-size: 10px;
  padding-right: 20px
}

.form .form-toggle span a {
  color: inherit;
  text-decoration: underline
}

.form .form-toggle span a:hover {
  text-decoration: none
}

.form .form-toggle .switch {
  position: relative;
  display: inline-block;
  width: 34px;
  min-width: 34px;
  height: 20px
}

.form .form-toggle .switch input:checked+.slider::before {
  transform: translateY(-50%)
}

.form .form-toggle .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  transition: all .45s ease-in-out;
  border: 1px solid #05141f;
  border-radius: 16px;
  z-index: 1;
  cursor: pointer
}

.form .form-toggle .switch .slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%) translateX(12px);
  background-color: #05141f;
  transition: all .45s ease-in-out;
  border-radius: 50%
}

.form #distributeur {
  display: none
}

.form .distributeurs {
  display: none;
  flex-direction: column;
  width: 100%;
  z-index: 10;
  font-size: 14px;
  height: 226px;
  overflow-y: auto
}

.form .distributeurs .titre {
  font-weight: bold;
  padding: 5px
}

.form .distributeurs label {
  font-size: 12px;
  padding: 5px;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #cdd0d2;
  cursor: pointer
}

.form .form-cadre {
  width: 100%;
  position: relative
}

.form .form-cadre:has(>input:invalid:focus):after, .form .form-cadre:has(>input:not(:placeholder-shown):invalid):after, .form .form-cadre:has(>select:invalid:focus):after {
  content: "❌";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none
}

.form .form-cadre:has(>input:invalid:focus).distri:after, .form .form-cadre:has(>input:not(:placeholder-shown):invalid).distri:after, .form .form-cadre:has(>select:invalid:focus).distri:after {
  top: 10px;
  transform: none
}

.form .form-cadre:has(>input:not([type=checkbox]):not([type=radio]):valid:focus):after, .form .form-cadre:has(>input:not([type=checkbox]):not([type=radio]):not(:placeholder-shown):valid):after, .form .form-cadre:has(>select:valid:focus):after {
  content: "✔️";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none
}

.form .form-cadre:has(>input:not([type=checkbox]):not([type=radio]):valid:focus).distri:after, .form .form-cadre:has(>input:not([type=checkbox]):not([type=radio]):not(:placeholder-shown):valid).distri:after, .form .form-cadre:has(>select:valid:focus).distri:after {
  top: 10px;
  transform: none
}

.form .form-cadre .champ {
  background: rgba(0, 0, 0, 0);
  border: 1px solid #cdd0d2;
  height: 38px;
  line-height: 38px;
  display: block;
  font-size: 16px;
  width: 100%;
  padding: 0 28px 0 11px;
  border-radius: 2px;
  color: #05141f;
  transition: all .45s ease-in-out
}

.form .form-cadre .champ:hover, .form .form-cadre .champ:focus, .form .form-cadre .champ:active {
  outline: none;
  border-color: #05141f
}

.form .form-cadre .champ:valid {
  border-color: #05141f
}

.form .form-cadre .champ:not(select):not(:placeholder-shown):invalid {
  border-color: red
}

.form .form-cadre .champ:invalid:focus {
  border-color: red
}

.form .checkbox.optin {
  padding-bottom: 20px;
  border-bottom: 1px solid #05141f
}

.form .checkbox label {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: flex-start;
  cursor: pointer
}

.form .checkbox label span {
  color: #697279;
  font-size: 11px;
  font-weight: 300
}

.form .checkbox input {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  border: 1px solid #cdd0d2;
  color: #cdd0d2;
  border-radius: 1px;
  background: rgba(0, 0, 0, 0);
  accent-color: #05141f;
  position: relative;
  margin: 0;
  top: 0;
  border-radius: 100%
}

.form .checkbox input::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  background: #05141f;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  scale: 0
}

.form .checkbox input:checked::before {
  scale: 1
}

.form .legend {
  text-align: center;
  font-size: 11px;
  color: #697279;
  margin-top: -11px;
  font-weight: 300
}

.form .button {
  text-decoration: none;
  background: #05141f;
  color: #fff;
  text-align: center;
  height: 54px;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #05141f;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 100%;
  transition: all .45s ease-in-out;
  max-width: 275px;
  margin: 0 auto
}

.form .button:hover {
  background: rgba(0, 0, 0, 0);
  color: #05141f;
  outline: none
}

.merci {
  text-align: center;
  display: none;
  flex-direction: column;
  gap: 17px
}

.merci p {
  font-size: 16px
}

.merci p:nth-child(1) {
  font-size: 28px;
  font-weight: bold
}

.merci p:nth-child(3) {
  padding-top: 17px;
  border-top: 1px solid #05141f
}

.merci a {
  margin-top: 15px
}

footer {
  background: #313b44;
  font-size: 10px;
  font-weight: 300;
  line-height: 138%;
  color: #cdd0d2
}

footer .container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px
}

footer .container a {
  color: inherit;
  text-decoration: underline;
  transition: all .45s ease-in-out
}

footer .container a:hover {
  color: #fff
}

footer .container p {
  padding: 20px 0 0 0;
  border-top: 1px solid #cdd0d2
}

@media(min-width: 1280px) {
  .mobile {
    display: none
  }

  .desktop {
    display: block
  }

  main {
    flex-direction: row;
    padding-bottom: 0;
    position: relative;
    max-width: 1980px;
    margin: 0 auto
  }

  .illustration {
    max-width: 100%
  }

  .illustration h1 {
    height: 120px;
    padding: 0
  }

  .illustration h1 img {
    width: 400px
  }

  .illustration .lot {
    background: rgba(0, 0, 0, 0)
  }

  .illustration .lot img {
    max-width: 912px;
    margin-top: -105px
  }

  .illustration .text {
    max-width: 100%;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 558px;
    padding: 0
  }

  .illustration .text .cadre {
    margin: 0 auto;
    max-width: 100%;
    padding: 20px;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 5px
  }

  .illustration .text .cadre .t1 {
    font-size: 42px
  }

  .illustration .text .cadre .t2 {
    font-size: 16px;
    width: 100%;
    border: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end
  }

  .illustration .text .cadre .t2 span:nth-child(1) {
    width: 100%
  }

  .illustration .text .cadre .t2 span:nth-child(2) {
    width: 194px;
    font-size: 70px;
    line-height: 65px
  }

  .illustration .text .cadre .t2 span:nth-child(3) {
    width: calc(100% - 194px)
  }

  .illustration .text .cadre .t3 {
    font-size: 16px;
    line-height: 120%;
    padding-left: 0
  }

  .illustration .text .cadre .t3 sup {
    line-height: 5px
  }

  .illustration .lot {
    max-width: 100%
  }

  .form {
    width: 618px;
    min-width: 618px;
    padding: 330px 30px 30px 30px
  }

  .form .intro {
    font-size: 18px;
    text-align: left
  }

  .form .type {
    height: 38px;
    gap: 5px
  }

  .form .distributeurs {
    width: calc(200% + 10px);
    height: 126px
  }

  .form .form-groupe {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 18px 10px
  }

  .form .form-groupe .form-cadre {
    width: calc(50% - 5px)
  }

  .form .form-groupe .form-cadre.civilite {
    width: 100%
  }

  .form .form-groupe .form-cadre.civilite select {
    width: calc(50% - 5px)
  }

  .form .bord {
    padding-bottom: 20px
  }

  .form .form-toggle>span {
    font-size: 12px;
    padding-right: 40px
  }
}