* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  text-decoration: none;
}

/* SCROLLBAR  */
body::-webkit-scrollbar {
  display: none !important;
}

body {
  scrollbar-width: none !important; /* cache la barre */
}


/* FONT */

@font-face {
  font-family: "headlineThin";
  src: 
  url("/assets/fonts/headlineheritage-Thin.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "headline";
  src: 
  url("/assets/fonts/headlineheritage-ThinItalic.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* BODY */

body {
  margin: 0;
  overflow-x: hidden;
  background: #111112;
  font-family: 'Mona', sans-serif;
  font-weight: 300;
  line-height: 1.8rem;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(255,255,255,0.5) 0px, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: moveBackground 60s linear infinite;
  opacity: 20%;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20% 20%;
  }
}

/* GENERAL */

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

strong {
  font-weight: 600;
}

h1, h2, h3, h4, h5 {
  color: white;
}

h2 {
  margin-bottom: 1rem;
  font-size: 4rem;
  line-height: 3.8rem;
  text-transform: uppercase;
}

.alt-font {
    font-family: "headline", sans-serif;
    font-weight: 200;
  }

section:not(.horizontal-slide) h2 > .alt-font {
font-size: 4.5rem;
}
  
.block {
display: block;
}

a {
  color: white;
}

header a:hover, footer a:hover {
  color: #00eabf;
}

p {
  color: rgb(169, 169, 169);
}

.radius {
    border-radius: 8px;
}

.purple {
    background-color: #5c00ff;
    position: relative;
    overflow: hidden;
  }
  
  .purple > svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: -1;
    filter: blur(30px);
    opacity: 70%;
    transition: all 0.3s ease-in-out;
  }
  
  .purple:hover > svg {
   opacity: 40%;
}

.green-text {
  color: #00eabf;
}

.purple p {
  color: white;
}


/* SECTION 1 */

.zoom-section {
  position: relative;
  height: 100vh; /* visible zone */
  overflow: hidden;
  background: radial-gradient(#111112, #11111200);
}

.zoom-image {
  position: absolute;
  width: 400vw; /* taille initiale */
  height: auto;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  object-fit: cover;
}

/* text */

.double-marquee {
  position: absolute;
  color: white;
  transform: translateY(-50%);
  top: 50%;
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
}

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  font-size: 3rem;
  font-weight: 700;
}

.marquee-inner span {
  padding-right: 2rem;
}

/* Ligne 1 : vers la gauche */
.line1 .marquee-inner {
  animation: scrollLeft 20s linear infinite;
  font-size: 3.5rem;
}

/* Ligne 2 : vers la droite */
.line2 .marquee-inner {
  animation: scrollRight 25s linear infinite;
  color: #00eabf;
  text-transform: uppercase;
  font-size: 3.9rem;
  font-family: "headlineThin", sans-serif;
  font-weight: 100;
}

/* Animations */
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* social */

.social-icons, .corner-logo, .modal, .tarifs {
  position: fixed;
  justify-content: end;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 20px;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.096);
}

.social-icons {
  border-radius: 30px 0 0 0; 
  bottom: 0;
  right: 0;
  border-right: none;
  border-bottom: none;
  height: 50px;
}

.social-icons a {
  width: 30px;
  height: 30px;
}

.social-icons svg {
  fill: white;
  transition: all 0.3s ease-in-out;
  margin: 5px;
  width: 20px;
  height: auto;
}

.social-icons svg:hover {
  fill: #00eabf;
  transform: scale(1.15);
}

.corner-logo {
  left: 0;
  top: 0;
  border-radius: 0 0 30px 0; 
  width: 120px;
  height: 60px;
  padding-top: 15px;
  border-left: none;
  border-top: none;
}

.corner-logo svg {
  fill: white;
  height: 30px;
  width: auto;
  transition: all 0.3s ease-in-out  ;
}

.corner-logo svg:hover {
    fill: url(#gradHover);
}

.contact-box {
  position: fixed;
  top: 0;
  right: 0;
  width: 160px;
  height: 50px;
  border-radius: 0 0 0 30px; 
  z-index: 110;

}

.contact-bg {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.096);
  border-radius: 0 0 0 30px;
  border-right: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.contact-btn {
      position: fixed;
      right: -150px;
      top: 35px;
      width: 200px;
      height: 50px;
      transform: translate(-50%, -50%);
      color: white;
      z-index: 110;
    }

#openBtn {
      padding: 10px 16px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 15px;
    }

#closeBtn {
      display: none;
    }

.modal {
      position: absolute;
      top: 50px; /* juste en dessous du bouton */
      right: 60px;
      margin-top: 8px;
      width: 250px;
      border-radius: 10px;
      padding: 10px;
      display: none; /* cachée par défaut */
      text-align: end;
    }

    .modal a { 
      display: block;
    }

    .modal.active {
      display: block;
      animation: fadeIn 0.15s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }

.tarifs {
    border-radius: 0 30px 0 0;
    border-bottom: none;
    border-left: none;
    bottom: 0;
    left: 0;
    width: 100px;
    text-align: center;
}

/* SECTION 2 horizontal slide */

.horizontal-slide {
  height: 100vh;
  position: relative;
  z-index: 10;
}
.pin-wrap {
  position: relative;
  width: 220vw; /* largeur totale pour le scroll horizontal */
  height: 100%;
}

.horizontal-slide h2 {
    font-size: 2.3rem;
    line-height: 2.3rem;
    position: relative;
    display: inline-block;
    margin: 0;
}

.horizontal-img-container {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  overflow: clip;
  z-index: -1;
}

.horizontal-img {
  pointer-events: none;
  object-fit: cover;
  flex: none;
  width: calc(100% + 4rem);
  max-width: none;
  height: calc(100% + 4rem);
  max-height: none;
}

.horizontal-img1 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 60vw;
}

.horizontal-img2 {
  width: 300px;
  height: 200px;
  top: 60%;
  left: 130vw;
}

.horizontal-img3 {
  width: 200px;
  height: 250px;
  top: 10%;
  left: 122vw;
}

.horizontal-img4 {
  width: 250px;
  height: 250px;
  top: 12vh;
  left: 190vw;
}

.circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    background:radial-gradient(circle at 70% 20%, #00eabf, #5c00ff);
    overflow: hidden;
  }

  .circle-anim {
        top: 0;
    left:-80px;
  }
  
  .circle svg {
    filter: blur(12px);
    opacity: 60%;
  }
  
  .circle-shadow {
  background:radial-gradient(circle at 70% 20%, #00eabf, #5c00ff);
    filter: blur(100px);
    width: 300px !important;
    height: 300px !important;
    z-index: -1;
}


.item {
  position: absolute;
  max-width: 400px;
}

.item1 {
  top: 20%; 
  left: 60vw;
}

.item2 {
top: 60%; 
left: 100vw;
}

.item3 {
  top: 10%; 
  left: 140vw;
}

.item4 {
  top: 50%; 
  left: 180vw;
}

.item p {
  margin: 5px 0 0;
  font-size: 1rem;
}


/* SECTION 3 - presentation */

.presentation {
    width: 96vw;
    margin: auto;
    padding: auto;
    border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.096);
  position: relative;
}
.container {
    padding: 0 8vw;
    height: 70vh;
    margin: auto;
}

.circle-shadow-presentation {
    top: 100%;
    left: -200px;
    position: absolute;
    transform: rotate(180deg);
}

.presentation h2 {
    margin-bottom: 3rem;
}

.left, .right {
    padding: 3rem;
}

.presentation .purple {
    transform: scale(0.1);
}

/* SECTION 4 - CARDS */

.portfolio {
    width: 95vw;
    margin: 15vh auto 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: -20vh;
}

.portfolio-text {
    align-items: start;
}

.portfolio-text > div {
    width: 50vw;
}

.portfolio-text p{
    width: 35vw;
}

.portfolio .flex-column {
  justify-content: start;
}

.portfolio > .flex, .portfolio .flex-column {
    gap: 8px;
    width: 100%;
}

.portfolio h2 {
    margin-bottom: 20vh;
}

.col2, .col4 {
  margin-top: 40vh;
}

.card {
    aspect-ratio: 1 / 1;
    background-color: #111112;
    margin: 5px;
    border-radius: 8px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.096);
}
    .card:hover {
    transform: scale(1.05);
}

.card .img-container {
  width: 100%;
  height: 100%;
}

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

.card-description {
  transition: all 0.4s ease-in-out;
  padding: 20px;
  width: calc(100% - 10px);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: end;
  filter: blur(30px);
  border-radius: 50%;
  background: rgba(79, 67, 101, 0.524);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.096);
  transform: translateY(10%);
  margin: auto;
}

.card:hover .card-description {
  transform: translateY(-100%);
  margin-top: -5px;
  z-index: 999;
  filter: blur(0);
  border-radius: 6px;
  max-height: calc(100% - 10px);
}


.card-description h3 {
  margin-bottom: 10px;
  opacity: 0;
}

.card-description p {
  opacity: 0;
  line-height: 1.1rem;
  font-size: 0.8rem !important;
  color: white;
}

.card:hover .card-description p, .card:hover .card-description h3 {
  opacity: 1;
}

/* SECTION 5 - Customers */

.customers {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  margin: 0 auto 15vh;
}

.customers-text {
    align-items: start;
    gap: 8px;
    align-items: center;

}

.customers-text > div {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 35vw;
    max-width: 410px;
  }
  
  .customers-text p {
    width: 35vw;
    display: block;
    max-width: 410px;
}

.customers-logos-container {
  display: inline-flex;
  align-items: center;
  gap: 6vw;
  animation: scroll 80s linear infinite;
  margin: 10vh 0 10vh -5vw;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* .customers-logo {
  display: grid;
  align-items: center;
  white-space: nowrap;
  max-height: 40px;
  width: 100px;
  background: #5c00ff;
} */


.customers-logos-container img {
  height: 40px; 
  max-width: 100px;
  margin: auto;
  object-fit: contain;
}

.reviews-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 95vw;
  margin: auto;
}

.review {
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.096);
  padding: 20px;
  justify-content: start;
  font-size: 0.9rem;
  line-height: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 20vw;
}

.review > p  {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: white;
}

.rating {
  justify-content: start;
}

.customer-infos {
  /* display: flex; */
  gap: 5px;
  margin-top: 15px;
}

.customer-name {
  color: #00eabf;
  font-weight: bold;
  font-family: "headline", sans-serif;
  font-size: 1rem;
  margin-top: -1px;
}

.customer-occupation {
  font-size: 0.8rem;
  margin-top: -4px;
}

/* SECTION 6 signature */

.signature-section {
  text-align: center;
  position: relative;
}

.signature-logo svg {
  fill: white;
  width: 300px;
}

.signature svg {
  position: absolute;
  stroke: #00eabf;
  width: 300px;
  left: 50%;
  top: 30%;
  transform: translate(-50%,-50%);
}

.signature-section .btn {
  width: 12vw;
  min-width: 120px;
  height: 40px;
  position: relative;
  display: grid;
  align-items: center;
  text-align: center;
  background: #5c00ff;
  overflow: hidden;
  cursor: pointer;
  margin: 4vh auto 8vh;
}

.signature-section .btn svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  z-index: 0;
  filter: blur(15px);
}

.btn a{
    z-index: 2;
    font-weight: 400;
    font-size: 0.9rem
};

.btn:hover {
  width: 200px;
}

/* FOOTER */

.legal-links {
  width: 70vw;
  margin: auto;
  text-align: center;
  margin-bottom: 10px;
}

.legal-links p {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.8rem;
}