@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --header-height: 100px;
  --colorwhite: #ffffff;
  --bg_black: #000000;
  --custom-purple: #5433ff;
  --custom-red: #ff0000;
  --custom-gray: #cbd5e0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  color: var(--colorwhite);
  position: relative;
  padding: 0;
  margin: 0;
  background: var(--bg_black);
}

/* Custom utility classes not in tailwind.css */
.absolute-block {
  position: relative;
  width: 100%;
}

form input {
  color: #fff;
}
form input:focus {
  outline: none;
}
.flex.beta-div {
  margin-top: 20px;
}
#betatest {
  background-color: var(--custom-purple);
  padding: 31px 0;
}
.beta-test {
  width: 90%;
  margin: 0 auto;
  max-width: 1230px;
  padding: 0 15px;
}

.fm-rubik input::placeholder,
.devis-footer input::placeholder {
  color: var(--colorwhite);
  font-size: 14px;
}
.flex.beta-form input::placeholder {
  font-size: 14px;
  color: var(--bg_black);
}
ul.flex.list-footer a {
  color: var(--colorwhite);
  text-decoration: none;
}
a.linkdin-logo::before {
  content: "";
  width: 40px;
  height: 40px;
  display: inline-block;
  background-image: url(../assets/images/logo-in.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
ul.list-footer {
  padding: 0 !important;
  margin: 0 !important;
}
ul.list-footer li {
  list-style: none;
  margin: 0 10px;
  display: inline-block;
}
.flex.beta-form {
  margin-top: 25px;
}
div#blocinspection {
  padding: 80px 0;
}
.mtb15 {
  margin: 15px 0;
}
.fm-rubik {
  font-family: "Rubik", serif;
}
.iPhone16pro-img {
  max-width: 314px;
  display: block;
  float: right;
}
footer#footer {
  border-top: 1px solid var(--colorwhite);
  padding: 40px 0;
}
.footer-copyright {
  border-top: 1px solid var(--colorwhite);
  padding-top: 30px;
  margin-top: 30px;
}
.color-white {
  color: var(--colorwhite);
}
.btn.btn-secondary {
  border: none;
  padding: 17px 26px;
  cursor: pointer;
  min-width: 268px;
  border-radius: 40px;
  background: var(--custom-purple);
  color: var(--colorwhite);
  transition: 0.5s ease all;
  border: 1px solid var(--colorwhite);
}
.btn.btn-secondary:hover {
  color: var(--custom-purple);
  background: #fff;
  color: var(--custom-purple);
  transition: 0.5s ease all;
}
.fm-rubik input,
.flex.beta-form input,
.devis-footer input {
  background: transparent;
  border-radius: 40px;
  border: 1px solid var(--colorwhite);
  height: 47px;
  text-align: center;
  min-width: 250px;
  max-width: 100%;
  box-sizing: border-box;
}
img.logo-footer {
  max-width: 184px;
}
footer #demodiv {
  justify-content: center;
}
a {
  text-decoration: none;
}
.flex.beta-form input {
  background: var(--colorwhite);
}
.btn {
  border-radius: 40px;
  cursor: pointer;
  transition: 0.5s ease all;
}
.btn.btn-primary {
  background: var(--custom-purple);
  border: none;
  padding: 17px 26px;
  min-width: 268px;
}
.btn.btn-modal {
  border: 1px solid var(--custom-purple);
}
.btn-medium {
  background: transparent;
  border: 1px solid #ffffff;
  padding: 12px 33px;
  color: #ffffff;
}
.btn-small {
  background: var(--custom-purple);
  border: 1px solid var(--custom-purple);
  padding: 12px 23px;
}
.btn-reversed {
  background: #fff;
  border-color: var(--custom-purple);
  color: var(--custom-purple);
}
.btn.btn-primary:hover {
  color: var(--custom-purple);
  background: #fff;
  color: var(--custom-purple);
}
.btn-medium:hover {
  background: var(--custom-purple);
  border-color: var(--custom-purple);
  transition: 0.12s ease-in-out all;
}
.btn-small:hover {
  background: #fff;
  color: var(--custom-purple);
}
.btn-reversed:hover {
  background: var(--custom-purple);
  color: #fff;
}
.video-block.mx-500 img {
  max-width: 100%;
}
.left-slider-block {
  max-width: 500px;
}
.fm-rubik > input {
  margin-right: 15px;
}
.fm-rubik {
  display: flex;
}
.m-block {
  margin: 30px 0px 25px;
}
video.video-tag {
  background-color: #000000;
  position: relative;
  width: 100%;
  height: auto;
}
.video-block {
  border-radius: 20px;
  overflow: hidden;
}
.plyr--video {
  --plyr-color-main: var(--custom-purple);
  --plyr-control-icon-size: 20px;
  max-height: calc(100vh - var(--header-height));
  background-color: #000000;
}
.plyr--video .plyr__controls {
  max-height: 80px;
  overflow: visible;
}
button.plyr__control.plyr__control--overlaid {
  top: 45%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--colorwhite);
}
button.plyr__control.plyr__control--overlaid:hover {
  opacity: 0.75;
}
.plyr__control.plyr__control--overlaid svg {
  left: 56%;
  transform: translateX(-50%);
  width: 27px;
  height: 27px;
}
.f-right {
  float: right;
}
.bloc-slider,
#blocdetection,
#blocantifraude,
#blocsolution {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  background-position: center;
  position: relative;
}
div#blocantifraude > div,
.bloc-slider > div,
#blocdetection > div,
div#blocdetection > div {
  position: relative;
  z-index: 2;
}
div#blocantifraude::before,
#blocdetection::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
}
#blocantifraude {
  background-image: url(../assets/images/antifraude.jpeg);
}
#blocdetection {
  background-image: url(../assets/images/détection-éléments.jpeg);
}
.bloc-slider {
  background-image: url(../assets/images/slider-bg.jpeg);
}
.mx-500 {
  max-width: 500px;
}
.nav-logo {
  padding: 19px 0;
}
.img-responsive {
  display: block;
  max-width: 100%;
}
.container {
  max-width: 1280px !important;
  margin: 0 auto;
  padding: 0 15px;
}
.f-300 {
  font-weight: 300;
}
.f-20 {
  font-size: 20px;
}
img.logo-header {
  max-width: 170px;
}
.f-600 {
  font-weight: 600;
}
.f-36 {
  font-size: 36px;
}
.f-32 {
  font-size: 32px;
}
.f-16 {
  font-size: 16px;
}
.f-14 {
  font-size: 14px;
}
header {
  position: fixed;
  left: 0;
  top: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 999;
  background-color: #000000;
  width: 100%;
}
div#wrapper {
  margin-top: var(--header-height);
  min-height: calc(100vh - 116px);
}
@media (max-width: 910px) {
  footer .flex.justify-between.items-center {
    flex-direction: column;
    gap: 20px;
  }
  footer .flex.justify-between.items-center > div {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .footer-copyright .flex {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  ul.flex.list-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  ul.flex.list-footer li {
    margin: 5px 0;
    display: block;
    text-align: center;
  }
}

@media (max-width: 786px) {
  .order-m-0 {
    order: 0;
  }
  .order-m-1 {
    order: 1;
  }
  .w-1\/2.order-m-1 {
    order: 1;
    padding-top: 15px;
  }
  .w-1\/2.order-m-0 {
    order: 0;
  }
  .flex:not(header .flex, #cookie-banner .flex) {
    flex-direction: column;
  }
  .justify-between {
    justify-content: center;
  }
  .plyr--video {
    max-height: none;
  }
  button.plyr__control.plyr__control--overlaid {
    top: 42%;
    width: 60px;
    height: 60px;
  }
  .plyr__control.plyr__control--overlaid svg {
    width: 20px;
    height: 20px;
  }
  body,
  .f-20 {
    font-size: 16px;
  }
  .f-32 {
    font-size: 25px;
  }
  img {
    max-width: 100%;
  }
  img.logo-header {
    max-width: 170px;
  }
  img.logo-footer {
    max-width: 150px;
  }
  .nav-logo {
    padding: 10px 0;
  }
  .m-block {
    margin: 20px 0px 15px;
  }
  .fm-rubik input,
  .flex.beta-form input,
  .devis-footer input {
    margin-bottom: 15px;
    min-width: 200px;
    width: 100%;
  }
  .f-36 {
    font-size: 26px;
  }
  .bloc-slider,
  #blocdetection,
  #blocantifraude,
  #blocsolution {
    padding: 50px 0;
  }
  .container {
    padding: 0 20px;
  }
  img.iPhone16pro-img {
    display: none;
  }
  form {
    flex-wrap: wrap;
    justify-content: center;
  }
  .flex:not(header .flex) {
    flex-wrap: wrap;
  }
  body .w-1\/2 {
    width: 100%;
  }
  .beta-test {
    text-align: center;
  }
  /* Fix responsive issues */
  .mx-500 {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  .f-right {
    float: none;
    text-align: left;
  }
  .left-slider-block {
    max-width: 100%;
    text-align: left;
  }
  /* Ensure all content sections are properly aligned */
  #blocsolution .mx-500.f-right,
  #blocantifraude .mx-500,
  #blocdetection .mx-500.f-right,
  #blocinspection .mx-500 {
    text-align: left;
    float: none;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  /* Ensure text doesn't go outside screen bounds */
  .w-1\/2 .f-32 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  /* Fix button alignment on mobile */
  .fm-rubik {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  #demodiv {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 1400px) and (min-width: 787px) {
  .container {
    padding: 0 25px;
  }
  .f-36 {
    font-size: 26px;
  }
  .fm-rubik input,
  .flex.beta-form input,
  .devis-footer input {
    min-width: 200px;
    max-width: 100%;
  }
  .nav-logo {
    padding: 9px 0;
  }
  .flex.justify-between {
    align-items: center;
  }
  button.btn.btn-primary {
    padding: 17px 20px;
    min-width: 173px;
  }
  .m-block {
    margin: 20px 0px 15px;
  }
  .f-20,
  body {
    font-size: 16px;
  }
  .bloc-slider,
  #blocdetection,
  #blocantifraude,
  #blocsolution {
    padding: 80px 0;
  }
  .f-32 {
    font-size: 25px;
  }
  .mx-500 {
    padding: 0 10px;
  }
  .iPhone16pro-img {
    pointer-events: none;
  }
}
