* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  background-color: #050816;
  font-family: "Inter", sans-serif;
  color: #fff;
}

body a:not(header a):not(.action_btn) {
  color: #93c5fd;
}

body a:not(header a):not(.action_btn):hover {
  color: #bfdbfe;
}

body a:not(header a):not(.action_btn):focus-visible {
  outline: 2px solid #bfdbfe;
  outline-offset: 3px;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  text-align: center;
  width: 100%;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-align: center;
  width: 100%;
  padding: 0 0.5rem;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  width: 100%;
}

h4 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  text-align: center;
  width: 100%;
}

p,
a,
button,
input,
textarea {
  font-size: clamp(1rem, 2vw, 1.1rem);
}

section {
  background-color: #10182b;
  border: 1px solid #3b82f6;
  border-right: none;
  border-left: none;
}

.produit_main,
.slides,
.confiance_main,
.form {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.main-mention {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  gap: 1.25rem;
}

.titre-page {
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}
.section-mention {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  width: 100%;
  margin: 0 auto;
  border: 1px solid #3b82f6;
  border-radius: 4px;
}

.section-mention p {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  overflow-wrap: anywhere;
}

.titre-section {
  align-self: flex-start;
  padding: 0;
  font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  text-align: left;
}

.section-mention ul {
  padding-left: 1.25rem;
}

.section-mention li {
  margin-bottom: 0.4rem;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
}

.legal-note {
  max-width: 960px;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
  color: #dbeafe;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(21, 33, 87, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.945);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35);
  height: 100px;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.logo figure {
  width: auto;
  height: 100%;
}

.logo img {
  display: block;
  width: auto;
  max-width: 220px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
}

.hero video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.hero_main {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.301);
  height: 100%;
  width: 100%;
  text-align: center;
  z-index: 1000;
  padding: 0 1rem;
  gap: 2rem;
}
.action_btn {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}
.action_btn:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  color: #e0e0e0;
}
.action_btn:active {
  background-color: #1e40af;
  transform: translateY(0);
  color: #c0c0c0;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem 0;
  width: 100%;
}
.bg-probleme {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 70dvh;
  background-image: url("../media/img/bg_problem.webp");
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
}
.probleme_main {
  flex: 1 1 100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.301);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;

  padding: 1rem 0;
}

.probleme_main h3 {
  flex: 0 1 30%;
}

.probleme_main p {
  flex: 2 1 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

#solution,
.solution_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 70dvh;
  margin: 2rem 0;
}

.solution_main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#solution h3 {
  text-align: center;
  flex: 0 0 auto;
  width: 100%;
  padding: 0.5rem;
}
.solution_main {
  flex: 1;
}

.solution_main p {
  padding: 1rem;
}

.solution_img_left,
.solution_img_right {
  flex: 0 0 40%;
}

.solution_img_left picture,
.solution_img_right picture {
  width: 100%;
  height: auto;
}

.solution_img_left img,
.solution_img_right img {
  width: 100%;
  height: auto;
}

.solution_main p {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#produit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 70dvh;
  margin: 2rem 0;
  gap: 2rem;
  width: 100%;
  overflow: hidden;
}

.produit_main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.slides {
  position: relative;
  display: flex;
  flex-direction: row;
  transition: 0.5s;
  width: 100%;
  flex: 1;
}

.slide {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 0 100%;
  margin-bottom: 1rem;
}

.slide figure,
.slide section {
  width: 100%;
}

.slide picture {
  width: 100%;
  height: auto;
}

.slide img {
  width: 100%;
  height: auto;
}

.produit_p h4 {
  padding: 0.5rem;
  flex: 0 0 auto;
}

.produit_p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  flex: 1;
}

.produit_p p {
  padding: 0.5rem;
  flex: 1;
}

.btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex: 0 0 10%;
  padding: 0.5rem;
}

.produit_btn {
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.probleme_btn:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  color: #e0e0e0;
}

.probleme_btn:active {
  background-color: #1e40af;
  transform: translateY(0);
  color: #c0c0c0;
}

.bg_avis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 30dvh;
  margin: 2rem 0;
  gap: 2rem;
  border: none;
  background: none;
}

.bg_avis h3 {
  text-align: center;
  flex: 0 0 auto;
}

.confiance_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  text-align: center;
}

#formulaire {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  margin: 2rem 0;
  gap: 2rem;
}

#formulaire h3 {
  text-align: center;
  flex: 0 0 auto;
  width: 100%;
  padding: 0.5rem;
}

#formulaire p {
  text-align: center;
  padding: 0 2rem;
}

.err {
  width: 100%;
  text-align: center;
  color: rgb(10, 1, 1);
  font-weight: bold;
  font-size: 10px;
}

.form.hidden {
  display: none;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: rgba(60, 135, 255, 0.507);
  backdrop-filter: blur(10px);
  box-shadow: 5px 5px 25px rgba(51, 51, 51, 0.35);
  padding: 1rem;
}

.form input {
  padding: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

small {
  font-size: 10px;
  font-style: italic;
  text-align: center;
  display: block;
}

.form_btn {
  align-self: center;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 0.5rem;
  border-radius: 1rem;
  width: 50%;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.send {
  flex: 1 1 95%;
}

.form_btn:hover,
.appearForm:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  color: #e0e0e0;
}
.form_btn:active,
.appearForm:active {
  background-color: green;
  transform: translateY(0);
  color: #c0c0c0;
}

.loader {
  display: none;
}

.loader.active {
  flex: 0 1 3%;
  display: block;
  height: 10px;
  width: 10px;
  border: 2px solid #10182b;
  border-top: 2px solid white;
  border-radius: 2rem;
  animation: spin 1s linear infinite;
  margin: auto auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.result {
  display: none;
}
.result.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: 30dvh;
}

#titreRe {
  flex: 1 1 5%;
}

#pRe {
  flex: 2 1 90%;
  text-align: center;
  width: 90%;
  align-self: center;
}

.result.active div {
  flex: 1 1 5%;
}

.appearForm {
  height: fit-content;
  width: fit-content;
  margin: auto auto;
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.data {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
}

.data.hidden {
  display: none;
}

.data_main {
  background: rgba(60, 135, 255, 0.507);
  border: 1px solid #3b82f6;
  width: 60%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(21, 33, 87, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.945);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.35);
}
.liens p {
  font-size: clamp(0.95rem, 0.91rem + 0.2vw, 1.05rem);
  text-align: center;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #bfdbfe;
}

footer a:active {
  color: #2563eb;
}

footer .logo {
  height: 100px;
  width: 120px;
}

.footer_fig {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.footer_fig a {
  display: block;
  height: 100%;
  width: 100%;
}

.footer_fig img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.liens {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.liens div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.slogan,
.copyright {
  font-style: italic;
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  text-align: center;
}

.project-notice {
  max-width: 42rem;
  color: #dbeafe;
  font-size: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  text-align: center;
}

.confirmation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: 30dvh;
}

.green {
  align-self: center;
  width: fit-content;
  margin: 0 auto;
}

@media (min-width: 601px) {
  #formulaire,
  #produit {
    min-height: auto;
  }
  .bg-probleme {
    min-height: 70dvh;
  }

  .bg_avis {
    min-height: 20dvh;
  }
  .probleme_main {
    width: 100%;
  }

  .solution_main p {
    padding: 0.5rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    text-align: center;
  }

  .solution_img_left {
    flex: 0 0 20%;
  }

  .solution_img_right {
    flex: 0 0 20%;
  }

  .slide {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex: 0 0 100%;
    margin-bottom: 0;
  }
  .slide figure {
    flex: 0 0 50%;
  }

  .produit_p {
    flex: 0 0 50%;
  }

  .produit_p p {
    padding: 0.5rem;
    flex: auto;
  }

  .liens {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 5rem;
  }
}

@media (min-width: 1000px) {
  #solution,
  .solution_main {
    min-height: auto;
  }

  .solution_main {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: auto;
    height: auto;
  }

  .solution_img_left {
    flex: 0 0 30%;
  }

  .solution_img_right {
    flex: 0 0 30%;
  }

  .form {
    width: 50%;
    margin: 0 auto;
  }

  .liens {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .liens div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-basis: auto;
  }

  .liens div p:after {
    content: "|";
    margin: 0 1rem;
    color: #fff;
  }

  .liens div p:last-child:after {
    content: "";
    margin: 0;
  }

  .slogan {
    margin: 2rem 0;
  }
}

.none {
  display: none !important;
}
