/* ============================= */
/*           Imports & Vars      */
/* ============================= */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

:root {
  --base1: #E6E2D9;
  --base2: #1F1F1F;
}

/* ============================= */
/*           Global              */
/* ============================= */
html, body {
  max-width: 100%;
  overflow-x: hidden; /* Empêche le défilement horizontal */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: black;
}

a {
  text-decoration: none;
  color: rgb(255, 230, 230);
}

/* ============================= */
/*           Header              */
/* ============================= */
header {
  z-index: 10000;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--base2);
  height: 60px;
  display: flex;
  justify-content: space-between; /* Ajuste l'espacement */
  align-items: center;
  width: 100%;
  padding: 0 50px; /* Ajoute du padding pour ne pas coller aux bords */
}

/* Logo */
nav img {
  height: 50px;
}

/* Navigation principale */
nav {
  padding: 0 50px;
  flex: 1;
  display: flex;
  justify-content:space-between;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* Ajoute de l'espace entre les éléments */
  list-style: none;
}

/* Styles des liens */
.nav-links li a {
  color: var(--base1);
  font-size: 1rem;
  text-decoration: none;
}

/* ============================= */
/*           BURGER MENU         */
/* ============================= */
.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 10001;
}

.burger-menu div {
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

/* Menu mobile (caché par défaut) */
.nav-links.mobile {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(31, 31, 31, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.3s ease-in-out;
}

/* Quand le menu est actif */
.nav-links.mobile.active {
  left: 0;
}

/* Animation du burger */
.burger-menu.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.open div:nth-child(2) {
  opacity: 0;
}

.burger-menu.open div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Affichage du burger uniquement sur mobile */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }
  .nav-links {
    display: none;
  }
}

/* ============================= */
/*           #home               */
/* ============================= */
#home {
  position: relative;
  background: url(../images/home/1.jpg);
  background-size: cover;
  background-position: center;
  text-align: center;
  height: 96vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: brightness(0.25) saturate(0);
  z-index: 1;
}
.home-cta {
  position: relative;
  z-index: 2;
  text-align: center;
}
.home-cta h2,
.home-cta h3,
.home-cta a {
  color: var(--base1);
  margin: 10px 0;
}
.home-cta a {
  margin: 20px;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  background: var(--base1);
  color: black;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 500;
  transition: border-radius 0.3s ease-in-out;
}
.home-cta a:last-of-type {
  margin: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0);
  color: white;
  border: 2px solid var(--base1);
  cursor: pointer;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .home-cta {
    display: flex;
    flex-direction: column; /* ✅ Force les éléments à s'empiler */
    align-items: center; /* ✅ Centre les boutons */
  }

  .home-cta a {
    display: block;
    width: 80%; /* ✅ Ajuste la largeur */
    text-align: center; /* ✅ Centre le texte */
    margin: 10px 0; /* ✅ Ajoute de l'espace entre les boutons */
  }
}

@keyframes hoverEffect {
  0% {
    border-radius: 5px;
  }
  50% {
    border-radius: 20px;
  }
  100% {
    border-radius: 15px;
  }
}
.home-cta a:hover {
  animation: hoverEffect 0.5s ease-in-out forwards;
}
.home-to-about {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, rgba(0, 0, 0) 40%, rgba(0, 0, 0, 0) 80%);
  z-index: 2;
}
.home-to-about span {
  display: block;
  width: 1px;
  height: 0;
  background-color: white;
  margin: auto;
  margin-top: 50px;
  z-index: 3;
  animation: fillLine 2s ease-in-out infinite;
}
@keyframes fillLine {
  0% {
    height: 0;
  }
  50% {
    height: 80px;
  }
  100% {
    height: 0;
  }
}

/* ============================= */
/*           #about              */
/* ============================= */
#about {
  background-color: black;
  height: 50vh;
  backdrop-filter: blur(100px);
  z-index: 1;
  color: var(--base1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.about-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  width: 50%;
}
.about-text h1 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 40px;
}
.about-text p {
  font-weight: 200;
  font-size: 15px;
}
.about-card {
  width: 80%;
  display: flex;
  justify-content: space-around;
  padding: 50px;
}
.about-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 200px;
  text-align: center;
  height: 200px;
}
.about-card-item i {
  font-size: 35px;
}
.about-card-item p {
  font-weight: 600;
}

/* ============================= */
/*           #last-design        */
/* ============================= */
#last-design {
  width: 80%;
  margin: 80px auto;
  text-align: center;
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.last-design-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #E6E2D9;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.last-design-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 40px;
}
.last-design-mid-item img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}
.last-design-mid-item img:hover {
  transform: scale(1.05);
}
.last-design-mid-item {
  flex: 1;
  text-align: left;
  color: white;
}
.last-design-mid-item h6 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #E6E2D9;
}
.last-design-mid-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #d1cdc3;
}
.last-design-mid-item i {
  color: #FFD700;
  font-size: 1.2rem;
}

/* ============================= */
/*           #nos-services       */
/* ============================= */
#nos-services {
  position: relative;
  width: 100%;
  padding: 80px 10%;
  background: url("../images/nos-services/1.jpg") center/cover no-repeat;
  color: var(--base1);
  text-align: center;
  overflow: hidden;
}
#nos-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: brightness(0.3) saturate(0.8);
  z-index: 1;
}
.services-container {
  position: relative;
  z-index: 2;
}
.services-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.services-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.service-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  width: 30%;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}
.service-item:hover {
  transform: scale(1.05);
}
.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}
.service-item ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.service-item span {
  display: block;
  height: 1px;
  width: 60%;
  background: var(--base1);
  margin: 10px auto;
}
.cta-button {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0);
  color: white;
  border: 2px solid var(--base1);
  cursor: pointer;
  border-radius: 5px;
}
.cta-button:hover {
  animation: hoverEffect 0.5s ease-in-out forwards;
}

/* ============================= */
/*           #contact            */
/* ============================= */
#contact {
  width: 100%;
  padding: 80px 10%;
  color: var(--base1);
  text-align: center;
  position: relative;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: brightness(0.3) saturate(0.8);
  z-index: 1;
}
.contact-container {
  position: relative;
  z-index: 2;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.contact-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.input-contain {
  width: 100%;
  display: flex;
  

}
.input-group {
  width: 100%;
  position: relative;
  margin: 15px;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid var(--base1);
  background: transparent;
  color: var(--base1);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--base1);
}
.input-group label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: var(--base1);
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.8rem;
  color: var(--base1);
}
.checkbox-group {
  margin-top: 15px;
  font-size: 0.9rem;
}
.checkbox-group input {
  margin-right: 5px;
}
.btn-submit {
  padding: 12px;
  background: var(--base1);
  color: black;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}
.btn-submit:hover {
  background: #d1cdc3;
}
.contact-info {
  height: 150px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.contact-info p {
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--base1);
}
.contact-info p a{
  color: var(--base1);
}
.contact-info span {
  display: inline-block; 
  height: 2px; 
  width: 100px; 
  background-color: var(--base1);
}
@media (max-width: 768px) {
  .contact-container {
    width: 90%;
  }
}

/* Style du fond du modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Contenu du modal */
.modal-content {
  background-color: var(--base2);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Bouton pour fermer le modal */
#close-modal {
  background-color: var(--base1);
  color: black;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}



/* ============================= */
/*           Footer              */
/* ============================= */
footer {
  background-color: #1F1F1F;
  color: white;
  padding: 60px 10%;
  text-align: center;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  text-align: left;
}
.footer-logo {
  width: 30%;
}
.footer-logo img {
  width: 150px;
  margin-bottom: 15px;
}
.footer-logo p {
  font-size: 1rem;
  opacity: 0.8;
}
.footer-links {
  width: 20%;
}
.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center;
}
.footer-links ul li a i {
  margin-right: 8px;
}
.footer-links ul li a:hover {
  color: white;
}
.footer-contact {
  width: 30%;
}
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.footer-contact p {
  margin-bottom: 10px;
  font-size: 1rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
}
.footer-contact p i {
  margin-right: 8px;
}
.footer-contact a {
  color: white;
  transition: color 0.3s ease-in-out;
}

.footer-contact a :hover {
  color: rgba(255, 255, 255, 0.8);
}
.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}
.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: background 0.3s ease-in-out;
  text-decoration: none;
}
.social-icons a:hover {
  background: #E6E2D9;
  color: black;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
  }
  .footer-links ul li a,
  .footer-contact p {
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
}

/* ============================= */
/*           Cookie Banner       */
/* ============================= */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 65%;
  display: none; 
  align-items: center;
  justify-content: space-between;
  width: 30%;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  z-index: 9999;
}

#cookie-banner p {
  flex: 1;
  margin-right: 15px;
  font-size: 0.9rem;
}

#cookie-banner button {
  background: #E6E2D9;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 3px;
  margin-left: 5px;
  transition: background 0.3s ease-in-out;
}

#cookie-banner button:hover {
  background: #d1cdc3;
}


/* ============================= */
/*           Mentions & Politique   */
/* ============================= */
.legal-section {
  width: 80%;
  margin: 80px auto;
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}
.legal-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}
.legal-container p,
.legal-container li {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #ffffff;
  opacity: 0.9;
}
.legal-container h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #E6E2D9;
}
.legal-container ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.legal-container ul li {
  padding-left: 20px;
  position: relative;
}
.legal-container ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E6E2D9;
}
.return-button {
  margin-top: 40px;
  text-align: center;
}
.btn-return {
  text-decoration: none;
  background: #E6E2D9;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}
.btn-return:hover {
  background: #d1cdc3;
}
.privacy-section {
  width: 80%;
  margin: 80px auto;
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}
.privacy-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}
.privacy-container p,
.privacy-container li {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #ffffff;
  opacity: 0.9;
}
.privacy-container h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #E6E2D9;
}
.privacy-container ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.privacy-container ul li {
  padding-left: 20px;
  position: relative;
}
.privacy-container ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E6E2D9;
}


/* ============================= */
/*        RESPONSIVE DESIGN      */
/* ============================= */

/* 📌 TABLETTES & ÉCRANS MOYENS */
@media (max-width: 1024px) {
  header {
    height: 70px;
    padding: 0 20px;
  }
  header ul {
    width: 50%;
  }
  #home {
    height: 80vh;
  }
  .about-text {
    width: 70%;
  }
  .about-card {
    flex-wrap: wrap;
    gap: 20px;
  }
  .about-card-item {
    width: 45%;
  }
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-item {
    width: 80%;
  }
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .input-contain {
    flex-direction: column;
  }
}

/* 📌 PETITS ÉCRANS & TÉLÉPHONES */
@media (max-width: 768px) {
  header {
    justify-content: space-between;
    height: auto;
    padding: 15px;
  }
  header img {
    height: 40px;
  }
  header ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 10px;
  }
  #home {
    height: 75vh;
    padding: 50px 10px;
  }
  .home-cta h2 {
    font-size: 1.5rem;
  }
  .home-cta h3 {
    font-size: 1rem;
  }
  .home-cta a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .about-text {
    width: 90%;
  }
  .about-card {
    width: 100%;
  }
  .about-card-item {
    width: 40%;
  }
  .services-container h2 {
    font-size: 2rem;
  }
  .service-item {
    width: 90%;
  }
  .contact-container {
    width: 90%;
  }
  .contact-info {
    margin-top: 20px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
    text-align: center;
  }
  #cookie-banner {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* 📌 TRÈS PETITS ÉCRANS */
@media (max-width: 480px) {
  .home-cta h2 {
    font-size: 1.3rem;
  }
  .home-cta h3 {
    font-size: 0.9rem;
  }
  .home-cta a {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  .about-text h2 {
    font-size: 1.3rem;
  }
  .about-text p {
    font-size: 0.9rem;
  }
  .services-container h2 {
    font-size: 1.8rem;
  }
  .service-item h3 {
    font-size: 1.2rem;
  }
  .service-item ul {
    font-size: 0.9rem;
  }
  .contact-info p {
    font-size: 1rem;
  }
  .footer-bottom p {
    font-size: 0.8rem;
  }
}


/* ============================= */
/*           #about Fix          */
/* ============================= */
@media (max-width: 1024px) {
  #about {
    height: auto;
    padding: 50px 5%;
  }
  .about-text {
    width: 90%;
    margin-bottom: 30px;
  }
  .about-card {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .about-card-item {
    width: 45%;
    height: auto;
    padding: 20px;
  }
}

/* ============================= */
/*       #last-design Fix        */
/* ============================= */
@media (max-width: 1024px) {
  #last-design {
    width: 90%;
    padding: 40px 10px;
  }
  .last-design-mid {
    flex-direction: column;
    gap: 30px;
  }
  .last-design-mid-item {
    text-align: center;
  }
  .last-design-mid-item img {
    max-width: 100%;
  }
}

.grecaptcha-badge {
  visibility: hidden;
  opacity: 0;
  display: none !important;
}
