/* ======================= */
/*        IMPORTS        */
/* ======================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* ======================= */
/*        VARIABLES       */
/* ======================= */
:root {
  --text-color: #d8d8d8;
}


/* ======================= */
/*      GLOBAL RESET      */
/* ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 22px;
  font-family: Poppins, 'Segoe UI', sans-serif;
}


/* ======================= */
/*       BODY STYLES      */
/* ======================= */
body {
  min-height: 100vh;
  background-image: linear-gradient(180deg, #dd86b0,#b63b70cf, #a80049c1, #e95074c5);
  background-attachment: fixed;
  position: relative;
  padding-top: 15vh;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  
}

.sans-padding{
  min-height: 100vh;
  background: linear-gradient(180deg, #dd86b0,#b63b70cf, #a80049c1, #e95074c5);
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-top: 0em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;

  --cell-size: clamp(110px, 10vw, 219px);
  --border: rgba(255, 255, 255, 0.2);

  background-image:
    repeating-linear-gradient(
      to right,
      var(--border),
      var(--border) 1px,
      transparent 1px,
      transparent var(--cell-size)
    ),
    repeating-linear-gradient(
      to bottom,
      var(--border),
      var(--border) 1px,
      transparent 1px,
      transparent var(--cell-size)
    );

  background-size: var(--cell-size) var(--cell-size);

  background-position: calc(50% - var(--cell-size) / 2) calc(50% - var(--cell-size) / 2);

  pointer-events: none;
  z-index: -1;
}


/* ======================= */
/*       TYPOGRAPHY       */
/* ======================= */
h1{
  color: #d8d8d8;
  font-size: clamp(2.5rem, calc(10vw+1rem), 1.5rem) ;
  font-weight: 700;
  margin-bottom: 2rem;
  z-index: 1;
}

h2{
  color: #d8d8d8;
  font-size: 2rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  z-index: 1;
}

p{
  color: #d8d8d8;
  font-size: 1rem;
  font-weight: 400;
  text-align: justify;
  z-index: 1;
}

.logo {
  height: 15vh;
  position: fixed;
  top: -2.5vh;
  left: 1vh;
  z-index: 1001;
}

/* ======================= */
/*       NAVIGATION       */
/* ======================= */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 1000;
  height: 10vh;
}



nav ul {
  list-style: none;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
}


nav a {
  display: flex;
  text-decoration: none;
  color: #d8d8d8;
  padding: 0 3vw;
  border-bottom: 3px solid transparent;
  transition: border-color 150ms ease;
  align-items: center;
  font-size: 1rem;
}

nav a.active-link {
  text-decoration: underline;
  text-decoration-color: #d8d8d8;
  text-underline-offset: 0.5rem;
}

.burger{
    position: fixed;
    cursor: pointer;
    display: none;
    top: 5vh;
    transform: translateY(-40%);
    left: 88vw;
    z-index: 1001;
  }


.blur{
  position: fixed;
  height: 10vh;
  width: 100vw;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  top: 0;
  left: 0;
  transform: translateZ(0);
  will-change: backdrop-filter;
}


/* ======================= */
/*     HERO SECTION       */
/* ======================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  z-index: 1;
  border-bottom: 20px solid #d8d8d8;
}

.blob {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  border: none;
  z-index: 0;
}

.offre {
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-size: min(5rem, 10vw);
  letter-spacing: 4vw;
  z-index: 1;
  border: none;
  font-weight: 800;
}


/* ======================= */
/*   STRUCTURE CONTENT    */
/* ======================= */
.but{
  padding: min(1rem, 7%);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content:center;
  align-items: center;
}

.image-left{
  width: 40%;
  z-index: 1;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.image-right{
  position: relative;
  width: 40%;
  z-index: 1;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.image-right.active:hover, .image-left.active:hover {
  transform: translateX(0) translateY(-10px);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-left.active, .image-right.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.texte{
  display: flex;
  flex-direction: column;
  width: 50%;
  align-items: flex-start;
  justify-content: center;
}


/* ======================= */
/*        FOOTER          */
/* ======================= */
footer {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid white;
  font-family: Poppins, sans-serif;
  font-size: 0.75rem;
  padding: 1rem min(2rem, 4%);
  color: #d8d8d8;
  transform: translateZ(0);
  will-change: backdrop-filter;
}

footer > div {
  display: flex;
  width: 50%;
}

.foot {
  text-align: left;
  justify-content: center;
  list-style: none;
  padding-left: 0;
}


.pages, .contact {
  width: 50%;
}

footer h1 {
  font-size: 0.9rem;
  opacity: 0.7;
  text-transform: uppercase;
  margin-right: 20%;
}

.foot a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  color: #d8d8d8;
  display: block;
}

footer p:last-child {
  width: 100%;
  font-size: 0.7rem;  
  opacity: 0.7;
}


/* ======================= */
/*     SECTIONS SPÉCIALES */
/* ======================= */
.loupe{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  background: linear-gradient(270deg, #2d53fbb1,#3071fbcf, #2e67f8);
  padding: 2rem 5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.stat{
  display: flex;
  align-items: stretch;
  padding: 2rem 13%;
  gap: 5%;
  width: 100%;
  justify-content: center;
}

.col{
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  width: 33%;
  background-color: rgba(255,255,255,0.15);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.2);
  padding: min(2rem, 3%);
  overflow: hidden;
  transform: translateZ(0);
}

.col p{
  text-align: center;
  font-size: 0.9rem;
}

.col h1{
  font-size: min(2.5rem, 8vw);
}


/* ======================= */
/*         BOUTONS        */
/* ======================= */
.button{
  display: flex;
  text-decoration: none;
  color: #d8d8d8;
  margin: auto;
  margin-top: 2rem;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 2rem;
  padding: 1rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transform: translateZ(0);
  will-change: backdrop-filter;
  z-index: 0;
}

.button::after{
  content:"";
  z-index: -1;
  background: linear-gradient(45deg, #e852a47d, #88d2e27e,#e15f9784, #e852a47d);
  position: absolute;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  left: -8px;
  top: -8px;
  background-size: 600%;
  border-radius: 20px;
  transition: all 0.4s ease;
  filter: blur(15px);
  opacity: 0;
  animation: glowing 20s linear infinite;
}



.button:hover::after{
  opacity: 1;
}

@keyframes glowing{
  0% {background-position: 0 0;}
  50% {background-position: 400% 0;}
  100% {background-position: 0 0;}
}

.fleche{
  width: 1rem;
  height: auto;
  stroke: #d8d8d8;
  fill: #d8d8d8;
}


/* ======================= */
/*     BOUTONS PRIX       */
/* ======================= */
#boutton{
  width: fit-content;
  margin-bottom: 6rem; 
}

.prix{
  display: inline;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  padding-top: 1rem;
  margin-top: auto;
  font-style: italic;
  margin-bottom: 2rem;
  text-align: right;
}

.petit{
  display: inline;
  font-size: 0.8rem;
}

.barre{
  display: inline;
  font-size: 0.8rem;
  text-decoration: line-through;
}


/* ======================= */
/*         CARDS          */
/* ======================= */
.vente{
  display: flex;
  padding: 5rem 15%;
  gap: 5vw;
  justify-content: center;
  width: 100vw;
}

.browser-window {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  min-width: 400px;
  width: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  overflow: visible;
  color: #d8d8d8;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateZ(0);
  will-change: backdrop-filter;
}

.window-header {
  display: flex;
  align-items: flex-start;
  padding: 10px 10px;
  background: transparent;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.window-header .button2 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 6px;
  display: inline-block;
}

.window-header .red {
  background-color: #ff5f57;
}

.window-header .yellow {
  background-color: #ffbd2e;
}

.window-header .green {
  background-color: #28c940;
}

.window-content{
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  min-height: 50vh;
  text-align: left;
  height: 100%;
  position: relative;
}

.window-content h2{
  display: inline-flex;
  justify-content: space-between;
  margin: 0;
  color: #d8d8d8;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.lancement{
  opacity: 0%;
}


/* ======================= */
/*      DIVERS UI         */
/* ======================= */
.flag{
  height: 0.7rem;
  margin-left: 0.5rem;
  border-radius: 3px;
}


.case ul{
  list-style: disc;
  color: #d8d8d8;
  position: relative;
  z-index: 3;
}

ul.espace li{
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 1rem;
  list-style: none;
}

.tout{
  width: 100%;
}

.droit{
  flex-basis: 100%;
}

.espace{
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0 5%;
}


.qui h1{
  text-transform: uppercase;
  font-size: clamp(2rem, calc(5vw + 1rem), 5rem)  ;
  margin-bottom: auto;
}
.qui p{
  font-size: 1rem;
  width: 50%;
  font-weight: 600;
  text-align: right;
  align-self: flex-end;
  padding-right: 3%;
  margin-top: auto;
  padding-bottom: 3%;
}

.propos{
  padding-left:3%;
  padding-right: 3%;
}

.qui{
  display: flex;
  flex-direction: column;
  height: 85vh;
  width: 100%;
  overflow: hidden;
}

.propos a{
  align-self:center  ;
}

.cesite{
  margin-top: 9rem;
  margin-bottom: 9rem;
  padding: 0 min(3rem, 7%);
}

.bg{
    background: linear-gradient(180deg, #e95074c5,#a80049c1, #b63b70cf,#dd86b0);
    position: relative;
}

.bulle-container{
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
}

.ball {
  position: absolute;
  background: radial-gradient(circle at 50% 55%, rgba(240, 245, 255, 0.225), rgba(240, 245, 255, 0.225) 40%, rgba(225, 238, 255, 0.2) 60%, rgba(43, 130, 255, 0.1));
  border-radius: 50%;
  display: inline-block;
  box-shadow:
    inset 0 0 30px rgba(255, 255, 255, 0.7),
    0 8px 20px rgba(0, 0, 0, 0.25);
}

.ball::before {
  content: '';
  position: absolute;
  height: 90%;
  width: 90%;
  background: radial-gradient(circle at top, white, rgba(255, 255, 255, 0) 60%);
  top: 15px;
  left: 20px;
  border-radius: 100%;
  filter: blur(7px);
  opacity: 0.2;
}

.ball::after {
  content: '';
  position: absolute;
  top: 4%;
  left: 5%;
  height: 80%;
  width: 80%;
  border-radius: 100%;
  z-index: 2;
  transform: rotateZ(-30deg);
  filter: blur(1px);
  background: radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 74%, white 80%, white 84%, rgba(255, 255, 255, 0) 100%);
}

.ball.bubble::before {
  height: 80%;
  width: 40%;
  background: radial-gradient(
    circle at 130% 130%,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 46%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 58%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(130%) translateY(58%) rotateX(10deg) rotateZ(168deg);
  opacity: 0.6;
}

.ball.bubble::after {
  display: block;
  background: radial-gradient(
    circle at 50% 80%,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 74%,
    white 95%,
    white 84%,
    rgba(255, 255, 255, 0) 100%
  );
}

#bulle1{
  top: -5%;
  left: 10%;
  width: 200px;
  aspect-ratio: 1/1;
}

#bulle2{
  top: -20%;
  left: 80%;
  aspect-ratio: 1/1;
  width: 750px;
}

#bulle3{
  top: 20%;
  left: -3%;
  aspect-ratio: 1/1;
  width: 245px;
}

#bulle4{
  top: 27%;
  left: 75%;
  aspect-ratio: 1/1;
  width: 390px;
}

#bulle5{
  top: 50%;
  left: 25%;
  aspect-ratio: 1/1;
  width: 500px;
}

#bulle6{
  top: 5%;
  left: 35%;
  aspect-ratio: 1/1;
  width: 350px;
}

#bulle7{
  top: 40%;
  left: 20%;
  aspect-ratio: 1/1;
  width: 250px;
}

#bulle8{
  top: 57%;
  left: 72%;
  aspect-ratio: 1/1;
  width: 400px;
}

#bulle9{
  top: 5%;
  left: 78%;
  aspect-ratio: 1/1;
  width: 200px;
}


.contact1 h1{
  font-size: min(5rem, 10vw);
  text-align: center;
}

.contact2{
  margin-top: -5rem;
  margin-bottom: 9rem;
  padding: 0 3rem;
}

.cont{
  display: flex;
  padding: 5rem 15%;
  gap: 5vw;
  justify-content: center;
  width: 100vw;
}

.form{
  width: 50%;
}

.form form {
  display: flex;
  flex-direction: column;
}

.form label {
  margin: 1.5rem 0 5px;
  font-size: 1rem;
  color: #d8d8d8;
  font-weight: 500;
}

#topp{
  margin-top: unset;
}

.form input,
.form textarea {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 10px 15px;
  outline: none; /* ✅ supprime la bordure focus */
  width: 100%;
  height: 2.5rem;
  font-size: 0.7rem;
  font-family: inherit;
  color: #d8d8d8;
  opacity: 100%;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateZ(0);
}

input::placeholder,
textarea::placeholder {
  color: #d8d8d8;
  opacity: 60%;
}

.form textarea{
  height: 5rem;
  resize: none;
}

.form input:focus,
.form textarea:focus {
  box-shadow: none; /* ✅ pas de glow ni de bordure au focus */
}

.form input::placeholder,
.form textarea::placeholder {
  color: #ddd;
}

/* ✅ Met e-mail et téléphone sur la même ligne */
.form .row {
  display: flex;
  gap: 10px;
}

.form .row div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form button{
  align-self: flex-start;
  font-size: 1rem;
  font-family: inherit;
}

ul.espace svg{
  transform: translateY(20%);
}

.lien{
  text-decoration: none;
  color: #d8d8d8;
}

@media (max-width: 1500px){
  .cont{
  display: flex;
  padding: 5rem 5%;
  gap: 5vw;
  justify-content: center;
  width: 100vw;
}

  .form{
    width: 60%;
  }

  nav ul{
    justify-content: flex-end;
    padding-right: 7vw;
  }
}

@media (max-width: 1100px){
  .cont{
    flex-direction: column;
    align-items: center;
    padding: unset;
    justify-content: center;
  }

  .form{
    width: 90%;
  }

  .info{
    width: 90%;
  }

    nav{
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.15);
    justify-content: center;
    align-items: center;
    padding-right: unset;
    display: none;
    transform: translateZ(0);
    will-change: backdrop-filter;
  }

  nav.active{
    display: flex !important;

  }
  
  nav ul{
    flex-direction: column;
    gap: 7vh;
    padding-right: 0 !important;
  }


  .burger{
    display: block;
  }

  .top{
    display: block;
  }

}

@media (max-width: 800px) {
  .form .row {
    display: block;
  }

  body{
    padding-top: 10vh;
  }

  .image-left, .image-right{
    display: none;
  }

  .stat{
    flex-direction: column;
    padding: 0 10%;
    margin: 1rem 0;
  }

  .texte{
    width: 100%;
  }

  .col{
    width: 100%;
    margin-top: 1rem;
  }

  .blob{
    min-height: 100vh;
    min-width: 100vw;
    object-fit: cover;
  }

  footer{
    flex-direction: column;
  }   

  .pages{
    margin-bottom: 2rem;
  }

  .pages, .contact{
    width: 100%;
  }

  .pages h1, .contact h1{
    width: 30%; 
  }

  .qui p{
    width: 100%;
  }

  nav{
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.15);
    justify-content: center;
    align-items: center;
    padding-right: unset;
    display: none;
    transform: translateZ(0);
    will-change: backdrop-filter;
  }

  nav.active{
    display: flex !important;

  }
  
  nav ul{
    flex-direction: column;
    gap: 7vh;
    padding-right: 0 !important;
  }


  .burger{
    display: block;
  }

  .top{
    display: block;
  }


}


@media (max-width: 1000px) {
  .vente{
    flex-direction: column;
    row-gap: 2rem;
    padding: 1rem 5%;
  }

  .browser-window{
    width: 100%;
    min-width: 0px;

    }

  #boutton{
    margin-bottom: 3rem;
  }

  nav ul{
    justify-content: flex-end;
    padding-right: 7vw;
  }


}

@supports (-webkit-touch-callout: none){
  body::before {
    display: none !important;
  }
}

@media (pointer: coarse) {
  [data-tilt] {
    pointer-events: none !important;
    touch-action: none;
  }
}