*,
*::after,
*::before {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}

body{
    margin: 0%;
    
}

body.no-scroll {
  overflow: hidden;
}


.navbar {
    position : fixed;
    display: flex;
    align-items: center;
    padding: 0.5em 1em;
    background-color: #000000;
    color: #EFECE3;
    z-index: 100;
    width: 100%;
    height: 70px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
}

.nav-links li {
  text-align: center;
  margin-inline: 50px;
}
.nav-links a {
  text-decoration: none;
  color: #EFECE3;
  transition: color 0.3s;
}

.nav-links a:hover {
    color: #4A70A9;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.container {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 100vh;
  gap: 6px;
  transition: 0.3s;
  overflow: hidden;
  background-color: #000000;
}

.container  li{
  position: relative;
  overflow: hidden;
  flex: 1;
  border-radius: 10px;
  transform-origin: center;
  filter:grayscale(100%);
}

.container  li img{
  position:absolute;
  top:50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
 

}

.container li,
.container  li img {
  transition: 0.3s;
}

.container li .content {
  transition: 1.2s ease;
}

.container span{
  text-align:center;
  width: 75%;
  
}
.container a {
  text-decoration: none;
  line-height: 4px;
  margin-bottom: 3px;
  white-space: nowrap;
  color: #EFECE3;
  font-family: "gloridot", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5rem;
  transition: color 0.3s;
}

.container li .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: #fff;
  padding: 15px;
  background:
  linear-gradient(
    0deg, rgb(0 0 0 / 70%) 10%,
    rgb(255 255 255/ 0%) 100%);
  opacity: 0;
  visibility: hidden;
}

.container:hover{
  gap:0;
}

.container li .content span{
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 45%;
  translate: -50%;
  scale: 0.85;
  visibility: hidden;
}
.container a:hover {
 color: #4A70A9;
}

.container li:hover{
  flex: 1;
  scale: 1.1;
  z-index: 10;
  opacity: 1;
   filter:grayscale(0%);

}

.container li:hover .content { 
  opacity: 1;
  visibility: visible;
}

.container li:hover span {
  scale: 1;
  opacity: 1;
  visibility: visible;
  
}


.fondu {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;  
  z-index: 30;  
  background: linear-gradient(to bottom, #000 0%, #4A70A9 100%);  
  opacity: 1; 
}


.blocA {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 30; 
  background: linear-gradient(to bottom, #000 0%, #4A70A9 100%);  
  opacity: 1;  
  display: flex;  
  justify-content: center;  
  align-items: center;  
}

.textea{
  text-align: left;
  padding: 80px 120px;
  font-size: 2rem;
  color: #EFECE3;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.blocB{
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 30;  
  background: linear-gradient(to top, #000 0%, #4A70A9 100%);  
  opacity: 1;  
  display: flex;  
  justify-content: center;  
  align-items: center;  
}

.wrapperB {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 60px;
  height: 100vh;
  align-items: center;
}

.contentB {
  position: relative;
  width: 240px;
  height: 240px;
  overflow: visible;
  z-index: 1;
  transition: transform 0.4s ease;
  cursor:pointer;
}

.contentB::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
  opacity: 0.7;
  border-radius: 16px;
  z-index: -1;
}

.contentB::before {
  content: "";
  position: absolute;
  inset: -5px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
  border-radius: 20px;
  filter: blur(1.5rem);
  z-index: -2;
  opacity: 0.5;
}

.card-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: black;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contentB:hover {
  transform: translateY(-10px) scale(1.10);
}


.texteB{
  position: absolute;
  text-align: left;
  padding: 80px 120px;
  font-size: 2rem;
  color: #EFECE3;
  display: flex;  
  bottom: 65%;
  left: 0%;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.overlay-popup{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.active-popup{
  display: flex;
}

.content-popup{
  display: flex;             
  flex-direction: row;       
  justify-content: flex-start; 
  position: relative;
  width: 1000px;
  height: 500px;
  border-radius: 15px;
  background-color: #000000;
  padding: 20px;            
  gap: 30px;                  
}


.content-popup::after{
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
  opacity: 0.7;
  border-radius: 16px;
  z-index: -1;

}

.content-popup::before {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
  border-radius: 20px;
  filter: blur(1.5rem);
  z-index: -2;
  opacity: 0.5;
}


.content-popup img{
  scale: 0.7;
  border-radius: 15px;
}

.content-popup h3{
  padding: 30px;
  font-size: 1.6rem;
  color: #EFECE3;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.content-popup p{

  font-size: 1.3rem;
  color: #EFECE3;
  margin-right: 5px; 
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.content-popup button{
  border:0px;
  background-color: #000;
  color: #EFECE3;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -40px;
  top: -50px;
  cursor:pointer;
  border: solid 1px #EFECE3;
}
.formPlacement {
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-wrapper {
    position: relative;
    max-width: 700px;
    width: 100%;
}


.glow-effect {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
    border-radius: 40px;
    filter: blur(1.5rem);
    opacity: 0.7;
    z-index: 0;
}

.border-effect {
    position: absolute;
    inset: -3px; 
    background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
    border-radius: 13px;
    z-index: 1;
}


.form-container {
    position: relative;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}


.form-container .title {
    font-size: 25px;
    font-weight: 500;
    position: relative;
    margin-bottom: 25px;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.form-container .title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 3px;
    width: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

.user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input-box {
    width: calc(50% - 20px);
    margin-bottom: 15px;
}

.input-box.full {
    width: 100%;
}

.details {
    display: relative;
    font-weight: 500;
    margin-bottom: 5px;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    border-bottom-width: 2px;
    outline: none;
    transition: all 0.3s ease;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: #9b59b6;
}

textarea {
    resize: vertical;
}

.button {
    margin-top: 30px;
}

.button input {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6, #4A70A9);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.button input:hover {
    background: linear-gradient(-135deg, #71b7e6, #9b59b6, #4A70A9);
}

.help-form {
  display: none;
}

.user-details span{
  color: red;
}


.popup-form{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.active-popup{
  display: flex;
}

.content-popup-form{
  display: flex;
  align-items: center;      
  justify-content: center;  
  position: relative;
  width: 600px;
  height: 100px;
  border-radius: 15px;
  background-color: #ffffff;
}

.content-popup-form::after{
  content: "";
  position: absolute;
  inset: -2px;
  opacity: 0.7;
  border-radius: 16px;
  z-index: -1;

}

.content-popup-form.errorA::after{
 background: red;
}

.content-popup-form.succesA::before {
  background: green; 
}

.content-popup-form::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 40px;
  filter: blur(1.7rem);
  z-index: -2;
  opacity: 0.5;
}


.content-popup-form.errorB::before {
  background: red; 
}

.content-popup-form.succesB::before {
  background: green; 
}

.content-popup-form p{
  size: 1.3rem;
  margin: 0;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.content-popup-form button{
  border:0px;
  background-color: #ffffff;
  color: #000000;
  font-size: 1rem;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -30px;
  top: -30px;
  cursor:pointer;
  border: solid 1px #000;
}

footer {
  background-color: #000;
}
.mentions-legales {
  max-width: 1000px;
  margin: 0 auto; 
  padding: 40px 20px;
  color: #EFECE3;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.mentions-legales h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #EFECE3;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.mentions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  color: #EFECE3;
}

.mentions-legales p,
.mentions-legales li {
  text-align: left;
  line-height: 1.6;
  color: #EFECE3;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

.legend{

  color: #EFECE3;
  display: block;
  text-align: center;
  margin-top: 15px; /* plus grand = plus d'espace depuis l'image */
  font-size: 1.4rem;
}


