/* NouvelR Light */
@font-face {
  font-family: "NouvelR";
  src: url("../assets/fonts/NouvelRLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* NouvelR Regular */
@font-face {
  font-family: "NouvelR";
  src: url("../assets/fonts/NouvelRRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* NouvelR Book */
@font-face {
  font-family: "NouvelR";
  src: url("../assets/fonts/NouvelRBook.ttf") format("truetype");
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

/* NouvelR Semibold */
@font-face {
  font-family: "NouvelR";
  src: url("../assets/fonts/NouvelRSemibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* NouvelR Bold */
@font-face {
  font-family: "NouvelR";
  src: url("../assets/fonts/NouvelRBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* NouvelR Extrabold */
@font-face {
  font-family: "NouvelR";
  src: url("../assets/fonts/NouvelRExtrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html{
    scroll-behavior: smooth;
}

body {
  font-family: "NouvelR", Arial, sans-serif;
  margin: 0;
}

a , input , button{
    font-family: "NouvelR", Arial, sans-serif;
}

.main{
    padding: 0 120px;
    background: black;
    display: flex;
    justify-content: space-between;
    min-height: 800px;
    background-image: url(../assets/img/main-hero-desk.jpg);
    padding-right: 0;
}

.main-txt{
    display: flex;
    flex-direction: column;
    max-width: 485px;
    margin-top: 45px;
    h1{
        color: white;
        font-size: 48px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        margin: 0;
        margin-top:30px;
    }
    p{
        color: white;
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 125.1%;
        margin: 1rem 0;
        margin-top: 12px;
        span{
            font-size: 22px;
        }
        sup{
            font-size: 19px;
        }
    }
    .price-ctn{
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 257px;
        width: 100%;
        padding-top: 1.5rem;
        border-top: 1px solid white;
        font-size: 50px;
        font-style: normal;
        font-weight: 400;
        line-height: 125.1%;
        color: white;
        span{
            font-size: 16px;
            color: white;
            font-weight: 400;
            line-height: 125.1%;
        }
        div{
            display: flex;
            align-items: center;
            gap: 12px;
            span{
                font-size: 32px;
                sup{
                    font-size: 19px;
                }
            }
        }
    }
    .price-legal{
        max-width: 243px;
        color: white;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 125.1%;
        margin-top: 1.5rem;
        span{
            font-weight: 700;
        }
    }
}

.main-form{
    max-width: 444px;
    width: 100%;
    background: rgba(255, 250, 250, 0.07);
    backdrop-filter: blur(14.5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding-left: 40px;
    .form-heading{
        font-size: 27px;
        font-style: normal;
        font-weight: 700;
        line-height: 125.1%;
        color: white;
        text-align: center;
        margin-bottom: 12px;
    }
    form{
        display: flex;
        flex-direction: column;
        max-width: 284px;
        .field{
            display: flex;
            flex-direction: column;
            margin-top: 12px;
            input{
              padding: 13px 20px;
              border: 1px solid white;
              border-radius: 2px;
              background: transparent;
              font-size: 16px;
              font-style: normal;
              font-weight: 400;
              line-height: 125.1%;
              color: white;
            }
        }
        .field input::placeholder{
          color: #F0F0F0 !important;
        }
        .legal-text{
            font-size: 10px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.4px;
            color: white;
            margin: 1.5rem 0;
        }
        .checkbox{
            font-size: 9px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.45px;
            color: white;
            display: flex;
            gap: 6px;
            align-items: center;
            input{
                margin: 0;
                width: 12px;
                height: 12px;
                min-width: 12px;
                min-height: 12px;
                border-radius: 2px;
                border: 0.75px solid #FFF;
                background: transparent;
            }
        }
        button{
            padding: 15px 24px;
            border-radius: 2px;
            background: #FFF;
            color: #000;
            font-size: 19px;
            font-style: normal;
            font-weight: 700;
            letter-spacing: 0.6px;
            border: none;
            cursor: pointer;
            margin-top: 1.5rem;
            border: 1px solid #FFF;
        }
        .form-message{
            display: none;
        }
    }
}

.lead-form[data-source="hero"] button:hover{
  background: #000;
  color: #FFF;
  border: 1px solid #FFF;
  transition: all 0.3s ease;
}

.lead-form[data-source="footer"] button:hover{
  background: white;
  color: #000;
  border: 1px solid #000;
  transition: all 0.3s ease;
}

.sec2{
    padding: 80px 0;
    padding-bottom: 60px;
    background: #000;
    display: flex;
    flex-direction: column;
    gap: 32px;
    h2{
        margin: 0;
        font-size: 42px;
        font-style: normal;
        font-weight: 700;
        line-height: 134%;
        color: white;
        max-width: 782px;
        margin: 0 auto;
        width: 100%;
        span{
            color: #FE0100;
        }
    }
    p{
        margin: 0;
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 134%;
        color: white;
        max-width: 782px;
        margin: 0 auto;
    }
}

.sec3{
    background-image: url(../assets/img/sec3-bg-desk.jpg);
    min-height: 623px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 52px;
    h2{
        font-size: 42px;
        font-style: normal;
        font-weight: 700;
        line-height: 134%;
        color: white;
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    .bullets-ctn{
        display: flex;
        gap: 2rem;
        .bullet{
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            margin: 0;
            text-align: center;
            color: white;
            min-width: 256px;
            span{
                font-size: 63px;
                font-weight: 700;
            }
        }
    }
}

.sec-ext{
    background: white;
    padding: 80px 0px;
    max-width: 1200px;
    margin: 0 auto;
    h2{
        font-size: 48px;
        font-style: normal;
        font-weight: 700;
        line-height: 125.1%;
        color: #000;
        margin: 0;
        margin-bottom: 1rem;
    }
    p{
        margin: 0;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 125.1%;
        color: #000;
        max-width: 560px;
        margin-bottom: 40px;
    }
    .ext-img-ctn{
        display: flex;
        justify-content: space-between;
        margin-bottom: 40px;
    }
    a{
      padding: 14.5px 24px;
      background: #000;
      border-radius: 2px;
      font-size: 17px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      color: white;
      text-decoration: none;
      border: 1px solid #000;
    }
}

.vid-txt-ctn{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  padding: 0;
}

.sec-ext a:hover{
  background: white;
  color: #000;
  transition: all 0.3s ease;
}

.sec-int a:hover{
  background: white;
  color: #000;
  transition: all 0.3s ease;
}

.ext-img-mob , .int-img-mob{
    display: none;
}

.sec-int{
    background: white;
    padding: 80px 0px;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
    h2{
        font-size: 48px;
        font-style: normal;
        font-weight: 700;
        line-height: 125.1%;
        color: #000;
        margin: 0;
        margin-bottom: 1rem;
    }
    p{
        margin: 0;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 125.1%;
        color: #000;
        max-width: 560px;
        margin-bottom: 40px;
        sup{
            font-size: 12px;
        }
    }
    .int-img-ctn{
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }
    a{
        padding: 14.5px 24px;
        background: #000;
        border-radius: 2px;
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        color: white;
        text-decoration: none;
        border: 1px solid #000;
    }
}

.retour-bg-mob{
    display: none;
}

.video-trigger{
  cursor: pointer;
}

.sec-video{
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    img{
        width: 50%;
    }
    .video-txt-ctn{
        width: 50%;
        display: flex;
        background: #000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        h2{
            font-size: 48px;
            font-style: normal;
            font-weight: 700;
            line-height: 125.1%;
            color: white;
            max-width: 448px;
            margin: 0 auto;
        }
        p{
            font-size: 24px;
            font-style: normal;
            font-weight: 400;
            line-height: 125.1%;
            color: white;
            max-width: 448px;
            margin: 0 auto;
        }
        a{
            padding: 13px 0;
            display: flex;
            gap: 10px;
            color: white;
            font-size: 19px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            text-decoration: none;
            max-width: 448px;
            width: fit-content;
            align-items: center;
        }
    }
}

/* .video-txt-ctn a:hover{
  background: white;
  color: black;
  padding: 13px;
} */

/* Video Modal */
.video-modal {
    display: none;                  /* hidden by default */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85); /* dark overlay */
    z-index: 1000;                  /* above everything */
    align-items: center;
    justify-content: center;
    padding: 1rem;                  /* breathing room on small screens */
    overflow: auto;                 /* scroll if content overflows (rare) */
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 960px;               /* max size on large screens */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.modal-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;           /* forces 16:9 – change if your video is different */
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(254,1,0,0.8);  /* Renault red hover */
}

.sec-footform{
    background: white;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    h2{
        font-size: 25px;
        font-style: normal;
        font-weight: 200;
        line-height: 125.1%;
        color: #000;
        margin: 0 auto;
        span{
            font-weight: 700;
            font-size: 27px;
        }
    }
    form{
        display: flex;
        flex-direction: column;
        max-width: 395px;
        width: 100%;
        .field{
            display: flex;
            flex-direction: column;
            margin-top: 12px;
            input{
                padding: 13px 20px;
                border: 1px solid #000;
                border-radius: 2px;
                background: transparent;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 125.1%;
                color: #000;
                ::placeholder{
                    color: #F0F0F0 !important;
                }
            }
        }
        .legal-text{
            font-size: 10px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.4px;
            color: white;
            margin: 1.5rem 0;
        }
        .checkbox{
            font-size: 9px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.45px;
            color: #000;
            display: flex;
            gap: 6px;
            align-items: center;
            margin-top: 12px;
            input{
                margin: 0;
                width: 12px;
                height: 12px;
                min-width: 12px;
                min-height: 12px;
                border-radius: 2px;
                border: 0.75px solid #FFF;
                background: transparent;
            }
        }
        button{
            padding: 15px 24px;
            border-radius: 2px;
            background: #000;
            color: white;
            font-size: 17px;
            font-style: normal;
            font-weight: 400;
            letter-spacing: 0.6px;
            border: none;
            cursor: pointer;
            margin-top: 1.5rem;
            border: 1px solid #000;
        }
        .form-message{
            display: none;
        }
    }
}

.vid-trigger-ctn{
  max-width: 448px;
  width: 100%;
}

.sec-legal{
    padding: 50px 120px;
    background: #F0F0F0;
    p{
        font-size: 9px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.45px;
        margin: 0;
        color: #000;
    }
}

footer{
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: white;
    a{
        color: white;
    }
}

.field .error,
.checkbox-error {
    display: none;  
    font-size: 10px;
    margin-top: 4px;
    color: #FE0100;
    min-height: 12px;
}

.main-form input.error-input {
  border-color: #FE0100;
}

.sec-footform input.error-input {
  border-color: #FE0100;
}

.form-message {
  margin-top: 12px;
  font-size: 12px;
}

.form-message.success {
  display: block;
  color: #2ecc71;
}

.form-message.error {
  display: block;
  color: #FE0100;
}

input:focus {
  outline: none;
  border-color: #FE0100;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field.has-error .error,
.checkbox-error.visible {
  display: block;
}

input.error-input {
  border-color: #ff4d4f;
}

.main-form-thnx{
  justify-content: start;
  padding-top: 225px;
  span{
    width: 100%;
    max-width: 282px;
  }
  p{
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 125.1%;
    color: white;
    text-align: center;
    width: 100%;
    margin: 0;
    margin-top: 2px;
    max-width: 282px;
  }
}

.legal-text a{
  color: white;
}


@media (max-width: 1200px) {
  .main,
  .sec-ext,
  .sec-int,
  .sec-legal {
    padding-left: 60px;
    padding-right: 60px;
  }

  .main {
    min-height: auto;
  }
}

@media (max-width: 992px) {
  .main {
    flex-direction: column;
    padding: 40px;
    gap: 40px;
    background-position: center;
  }

  .main-form {
    max-width: 100%;
    padding-left: 0;
    align-items: center;
  }

  .main-form form {
    max-width: 360px;
  }

  .main-txt {
    max-width: 100%;
  }

  .sec3 .bullets-ctn {
    flex-direction: column;
    gap: 24px;
  }

  .sec-video {
    flex-direction: column;
  }

  .sec-video img,
  .sec-video div {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* HERO */
  .main {
    padding: 0;
    background-image: none;
    gap: 0;
    padding-bottom: 44px;
  }

  .main-txt{
    margin-top: 0;
    background-image: url("../assets/img/main-hero-mob.jpg");
    background-size: cover;
    min-height: 780px;
    padding: 0 1.5rem;
  }

  .main-form{
    background: #000;
    backdrop-filter: none;
    form{
        padding: 0 1.5rem;
    }
  }

  .main-txt img{
    max-width: 29px !important;
    margin-top: 19px;
  }

  .main-txt h1 {
    font-size: 32px;
    margin-top: 20px;
  }

  .main-txt p {
    font-size: 22px;
  }

  .price-ctn {
    font-size: 36px;
  }

  /* FORMS */
  .main-form form,
  .sec-footform form {
    max-width: 100%;
  }

  /* SECTIONS */
  .sec2 h2,
  .sec3 h2,
  .sec-ext h2,
  .sec-int h2,
  .sec-video h2 {
    font-size: 32px;
  }

  .sec2 p,
  .sec-video p,
  .sec-ext p,
  .sec-int p {
    font-size: 18px;
  }

  /* IMAGES */
  .ext-img-desk,
  .int-img-desk,
  .retour-bg-desk {
    display: none;
  }

  .ext-img-mob,
  .int-img-mob,
  .retour-bg-mob {
    display: block;
    width: 100%;
  }

  .ext-img-ctn,
  .int-img-ctn {
    flex-direction: column;
    gap: 16px;
  }

  /* FOOTER FORM */
  .sec-footform {
    padding: 32px 24px;
  }

  /* LEGAL */
  .sec-legal {
    padding: 32px 24px;
  }

  .sec2{
    padding: 56px 1rem;
  }

  .sec3{
    min-height: 725px;
    padding: 0 1rem;
    background-image: url(../assets/img/sec3-bg-mob.jpg);
    background-size: cover;
  }

  .sec3 h2{
    font-size: 26px;
  }

  .bullet{
    margin-bottom: 21px !important;
  }

  .sec-ext{
    padding: 2rem 1rem;
  }

  .sec-int{
    padding: 2rem 1rem;
  }

  .sec-video div{
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .main-form-thnx{
    padding-top: 1rem;
  }

  .main-txt h1 {
    font-size: 32px;
  }

  .main-txt p {
    font-size: 22px;
    margin-top: 8.5px;
    margin-bottom: 11px;
    line-height: normal;
    span{
        font-size: 22px !important;
    }
  }

  .main-txt span{
    font-size: 19px !important;
  }

  .price-ctn {
    font-size: 30px;
  }

  .price-ctn{
    padding-top: 1rem !important;
    gap: 6px !important;
    
    span{
        font-size: 11px !important;
    }
    div{
        font-size: 35px !important;
        gap: 8px !important;
        line-height: normal !important;
        span{
            font-size: 22px !important;
            sup{
                font-size: 19px !important;
            }
        }
    }
  }

  .price-legal{
    max-width: none;
    margin-top: 1rem !important;
    font-size: 12px !important;
    line-height: normal;
    span{
        font-size: 12px !important;
    }
  }

  .form-heading{
    font-size: 31px !important;
  }

  .sec2 h2{
    max-width: 80%;
    margin-left: 0;
  }

  .sec2 p{
    font-size: 21px !important;
    font-weight: 600;
  }

  .sec-ext p{
    font-size: 21px;
  }

  .sec-int p{
    font-size: 21px;
  }

  .ext-img-ctn{
    gap: 40px;
  }

  .sec-video h2{
    font-size: 32px !important;
  }

  .sec-video p{
    font-size: 18px !important;
  }

  .sec-video img, .sec-video div{
    width: -webkit-fill-available !important;
  }

  button {
    width: 100%;
  }

  .checkbox {
    font-size: 10px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-align: center;
  }

  .vid-txt-ctn{
    padding: 0 !important;
  }
}
