@import url("https://cdn-uicons.flaticon.com/2.6.0/uicons-regular-straight/css/uicons-regular-straight.css");
@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");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  --first-color: #f3f3e0;
  --second-color: #133e87;
  --third-color: #608bc1;
  --fourth-color: #cbdceb;
}

body {
  max-width: 2000px;
  margin: auto;
  position: relative;
}

/* Style pour la scrollbar */
::-webkit-scrollbar {
  width: 12px; /* Largeur de la scrollbar */
  height: 12px; /* Hauteur de la scrollbar pour les éléments horizontaux */
}

/* Style pour le "track" (la partie sur laquelle glisse le pouce) */
::-webkit-scrollbar-track {
  background: var(--fourth-color); /* Couleur du track */
  border-radius: 10px; /* Coins arrondis */
}

/* Style pour le "thumb" (le pouce qui glisse) */
::-webkit-scrollbar-thumb {
  background: var(--third-color); /* Couleur du pouce */
}

/* Style pour le "thumb" au survol */
::-webkit-scrollbar-thumb:hover {
  background: var(--first-color); /* Couleur du pouce au survol */
}

/* Optionnel : Style pour le coin de la scrollbar */
::-webkit-scrollbar-corner {
  background: #f1f1f1; /* Couleur du coin */
}

/* ===========================================
header
========================================== */
header {
  position: relative;
}
.top-adress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  background: var(--second-color);
  overflow: hidden;
  padding: 0 100px;
}
.top-adress li {
  list-style: none;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--first-color);
  background: var(--first-color);
  display: flex;
  align-items: center;
  background: transparent;
  gap: 5px;
}
nav {
  position: fixed;
  z-index: 33333;
  left: 0;
  top: 30px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
  height: 110px;
  background: transparent;

  transition: all 0.7s ease;
}
header.sticky nav {
  top: 0;
  background: #608cc1ab;
  backdrop-filter: blur(7px);
  height: 70px;
}

.logo {
  width: 150px;
  transition: all 0.5s ease;
}
.logo a {
  width: 100%;
}
.logo a img {
  width: 100%;
}
header.sticky nav .logo {
  width: 100px;
}

.nav-links {
  display: flex;
  align-items: center;
}
nav .nav-links a {
  margin-left: 70px;
  display: block;
  text-decoration: none;
  color: white;
  position: relative;
  font-size: 1.4em;
  font-weight: 500;
}
.link:hover {
  color: var(--fourth-color);
}

.link.action::before {
  content: "";
  left: 0;
  width: 100%;
  height: 5px;
  bottom: -9px;
  background: var(--first-color);
  position: absolute;
  z-index: -1;
  animation: action ease-in-out 0.3s both 0.1s;
}

@keyframes action {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

nav .nav-links a:last-child {
  padding: 6px 12px;
  border-radius: 30px;
  background: var(--second-color);
  color: white;
}
.hamburger {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  display: none;
  cursor: pointer;
}
.hamburger .bar {
  height: 5px;
  width: 50px;
  background: white;
}
.hamburger .bar:nth-child(2) {
  background: var(--third-color);
}

@media screen and (max-width: 1155px) {
  .top-adress {
    padding: 0 5%;
  }

  nav {
    padding: 0 5%;
  }
  .hamburger {
    display: flex;
    position: absolute;
    right: 5%;
  }
  .hamburger .bar {
    transition: all 0.2s ease;
  }
  .hamburger.burger .bar:nth-child(1) {
    transform: translateY(15px) rotate(45deg);
  }

  .hamburger.burger .bar:nth-child(3) {
    transform: translateY(-15px) rotate(-45deg);
  }

  .hamburger.burger .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 100%;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 70px;
    transition: all 0.3s ease;
  }
  .nav-links.vertical {
    left: 0;
    background: #608cc1d7;
  }

  .nav-links.vertical a {
    margin: 0;
    font-size: 3em;
  }
  .nav-links.vertical a:last-child {
    width: 300px;
    display: flex;
    justify-content: center;
  }
}
@media screen and (max-width: 500px) {
  .top-adress li {
    font-size: 0.6em;
    font-weight: 500;
  }
  .nav-links.vertical a {
    font-size: 2em;
  }
  .nav-links.vertical a:last-child {
    width: 200px;
    display: flex;
    justify-content: center;
  }
  .logo {
    width: 110px;
  }
}
/* =============================================
banner
============================================== */
#banner {
  background: url("/images/banner-img.jpg");
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 670px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#banner::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #321d0739;
}
.banner__text {
  position: absolute;
  color: white;
  left: 100px;
}
.banner__text h3 {
  font-size: 2.7em;
}
.banner__text p {
  max-width: 900px;
  font-size: 1.1em;
  color: var(--first-color);
}
.banner__btn .btn {
  padding: 9px 18px;
  font-size: 1.3em;
  color: white;
  cursor: pointer;
  margin-top: 50px;
  transition: all 0.15s ease;
}
.banner__btn .btn:hover {
  transform: scale(1.05);
}
.banner__btn a {
  color: white;
  text-decoration: none;
}
.btn.savoir {
  background: transparent;
  border: white solid 2px;
}
.btn.contact {
  background: var(--second-color);
  border: none;
  margin-left: 10px;
}

@media screen and (max-width: 1000px) {
  .banner__text {
    left: 5%;
    right: 5%;
    width: 90%;
  }
}
@media screen and (max-width: 500px) {
  .banner__text h3 {
    font-size: 2.3em;
  }
  .banner__text p {
    font-size: 1em;
  }
  .banner__btn .btn {
    padding: 9px 18px;
    font-size: 1em;
    color: white;
    cursor: pointer;
    margin-top: 50px;
  }
}
/* =========================================
quality
===================================== */
#quality {
  position: relative;
  transform: translateY(-85px);
}
.quality__container {
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  gap: 10px;
}
.quality__elt {
  width: calc(100% / 5);
  height: 170px;
  background: #4d76a8c3;
  color: white;
  padding: 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  border: 2px solid var(--fourth-color);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.quality__elt img {
  width: 30%;
}
.quality__elt p {
  text-align: center;
  font-size: 1.2em;
}

@media screen and (max-width: 850px) {
  .quality__container {
    flex-wrap: wrap;
  }
  .quality__elt {
    width: 180px;
  }
}
@media screen and (max-width: 500px) {
  #quality {
    margin-top: 70px;
  }
}
@media screen and (max-width: 370px) {
  #quality {
    position: relative;
    transform: translateY(-100px);
  }
  .quality__elt {
    width: 90%;
  }
}
/* ====================================
about
===================================== */
#about {
  width: 100%;
  overflow: hidden;
}
.about__container {
  width: 80%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}
.about-img {
  width: 50%;
  height: 400px;
  position: relative;
}
.about-img::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: var(--first-color);
  top: 30px;
  left: 20px;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.about-link {
  align-self: flex-end;
}
.about-link a {
  text-decoration: none;
  color: var(--third-color);
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.about-title {
  align-self: flex-start;
  font-size: 4em;
  color: var(--second-color);
  margin-bottom: 20px;
  position: relative;
}
.about-title::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  z-index: -1;
  left: 50px;
  top: 50px;
  background: var(--first-color);
}
.about-text p {
  color: rgb(29, 29, 29);
  line-height: 1.6em;
}
@media screen and (max-width: 850px) {
  .about__container {
    flex-direction: column-reverse;
  }
  .about-text {
    width: 100%;
  }
  .about-img {
    width: 100%;
  }
}
@media screen and (max-width: 550px) {
  #about {
    padding-bottom: 50px;
    margin-top: 100px;
  }
  .about__container {
    width: 90%;
  }
  .about-title {
    font-size: 3em;
  }
}
/* ====================================
design
===================================== */
#design {
  margin-top: 100px;
  width: 100%;
  height: 500px;
  background: url(/images/design-img.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#design::after {
  content: "";
  background: #133e8770;
  position: absolute;
  width: 100%;
  height: 100%;
}
.design__container {
  position: absolute;
  z-index: 1;
  color: var(--first-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}
.design__container p {
  font-size: 3em;
  font-weight: 500;
  text-align: center;
}
.design__container h4 {
  font-style: italic;
  font-size: 1.3em;
  color: white;
}
.design__container img:nth-child(1) {
  align-self: flex-start;
}
.design__container img:nth-child(3) {
  align-self: flex-end;
}
@media screen and (max-width: 830px) {
  .design__container p {
    font-size: 2.5em;
  }
  .design__container h4 {
    font-style: italic;
    font-size: 1em;
    color: white;
  }
  .design__container img {
    width: 10%;
  }
}
/* ==================================
services
====================================== */
#services {
  width: 100%;
  margin-top: 70px;
}
.service__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  margin: auto;
}
.serv__title {
  font-size: 4em;
  color: var(--second-color);
  position: relative;
}
.serv__title::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  z-index: -1;
  left: 50px;
  top: 50px;
  background: var(--first-color);
}

.services__container {
  width: 85%;
  margin: auto;
  display: flex;
  gap: 5px;
  margin-top: 50px;
}
.services-elt {
  width: calc(100% / 4);
  height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  position: relative;
}
.services-elt:nth-child(even) {
  transform: translateY(50px);
}

.service__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.45) 0px -20px 15px -23px;
  transition: all 0.2s ease;
}
.service_number {
  font-size: 10em;
  position: absolute;
  width: 100%;
  font-weight: 500;
  height: 100%;
  transform: translateY(-80px);
  z-index: -1;
  transition: all 0.2s ease;
  color: var(--third-color);
}
.service__text:hover {
  box-shadow: none;
}
.service__text:hover .service_number {
  transform: translateY(-130px);
  color: var(--second-color);
}
.service__text h4 {
  font-size: 1.3em;
}
.service__text p {
  line-height: 1.7em;
}
.service__text .desc {
  padding: 0 7px;
}
.service-icons {
  background: var(--third-color);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icons img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 1150px) {
  .service_number {
    transform: translateY(-130px);
    color: var(--second-color);
  }
  .services__container {
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .services-elt {
    width: 300px;
  }
  .service__text {
    box-shadow: none;
  }
  .service__text:hover .service_number {
    transform: translateY(-130px);
  }
  .services-elt:nth-child(even) {
    transform: translateY(0);
  }
}
@media screen and (max-width: 690px) {
  .services-elt {
    width: 100%;
    border-bottom: 2px solid black;
  }
  .serv__title {
    font-size: 3em;
  }
  .service_number {
    font-size: 7em;
    transform: translateY(-50px);
  }
}
/* ===============================================
footer
========================================== */
#footer {
  margin-top: 130px;
  width: 100%;
  background: var(--second-color);
  padding: 10px 0;
}
.footer_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.footer_container .logo {
  width: 200px;
}
.footer_container .footer-links {
  display: flex;
  gap: 50px;
  align-items: center;
  font-size: 1.5em;
}
.f-link {
  text-decoration: none;
  color: var(--fourth-color);
}
.footer_container hr {
  width: 500px;
  height: 7px;
  background: var(--third-color);
  border: none;
}
.copyright {
  max-width: 900px;
  text-align: center;
  color: var(--third-color);
  line-height: 1.6em;
}
.copyright span {
  color: var(--first-color);
}
@media screen and (max-width: 610px) {
  .footer_container {
    width: 90%;
    margin: auto;
  }
  .footer-links {
    flex-direction: column;
  }
  .footer_container hr {
    width: 70%;
    margin: auto;
  }
}

/* ===================================================
les differentes pages
================================================ */
#banner_about,
#banner_service,
#banner_contact {
  background: url(/images/about-banner-img.jpg);
  background-size: cover;
  background-position: center;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 50px;
  position: relative;
}
#banner_about::before,
#banner_service::before,
#banner_contact::before {
  content: "";
  background: #321d0739;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}
.banner-about__text {
  position: absolute;
  font-size: 2.7em;
  color: white;
  align-self: start;
  margin: 0 100px;
  margin-top: 50px;
}
#quality_about {
  margin: 50px 0;
}
.qult-about {
  border: none;
  backdrop-filter: none;
  background: var(--third-color);
}

/* ============================== */

#banner_service {
  background: url(/images/service-banner-img.jpg);
  background-size: cover;
  background-position: center;
}
#service_page_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1500px;
  margin: auto;
}
.service_page_elt {
  width: 900px;
  display: flex;
  align-items: center;
  gap: 50px;
  height: 350px;
}
.service_page_elt:nth-child(odd) {
  align-self: flex-start;
}
.service_page_elt:nth-child(even) {
  align-self: flex-end;
  background: #cbdcebe2;
  width: 100%;
  padding-left: 20%;
  padding-right: 10px;
}
.srv_page_number {
  font-weight: 700;
  font-size: 17em;
  color: var(--second-color);
  text-shadow: 15px 20px 0px var(--first-color);
}
.srv_page_content h3 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: var(--third-color);
  position: relative;
}
.srv_page_content h3::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 50%;
  height: 40%;
  top: 35px;
  left: 35px;
  background: var(--first-color);
}
.srv_page_content p {
  font-size: 1.2em;
}
.back-img {
  width: 300px;
  height: 400px;
  position: absolute;
  z-index: -100;
  left: 15%;
  opacity: 0.4;
}
.back-img img {
  width: 100%;
  height: 100%;
}
.back-img2 {
  width: 300px;
  height: 400px;
  position: absolute;
  z-index: -100;
  right: 3%;
  opacity: 0.4;
  bottom: 200px;
}
.back-img2 img {
  width: 100%;
  height: 100%;
}

.back-img3 {
  width: 300px;
  height: 400px;
  position: absolute;
  z-index: -200;
  left: 3%;
  top: 55%;
  left: 50%;
  opacity: 0.4;
  bottom: 200px;
}
.back-img3 img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 975px) {
  .service_page_elt {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 80%;
    gap: 0;
    padding: 20px 20px;
  }
  .srv_page_number {
    font-weight: 700;
    font-size: 10em;
    color: var(--second-color);
    text-shadow: 15px 20px 0px var(--first-color);
  }
  .srv_page_content h3 {
    text-align: center;
  }
  .srv_page_content p {
    text-align: center;
  }
  .service_page_elt:nth-child(odd) {
    align-self: center;
    width: 100%;
  }
  .service_page_elt:nth-child(even) {
    align-self: center;
    padding: 20px 20px;
  }
}
@media screen and (max-width: 700px) {
  .back-img,
  .back-img2,
  .back-img3 {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .srv_page_content h3 {
    font-size: 2em;
  }
  .banner-about__text {
    font-size: 2.2em;
    width: 100%;
    margin: 0;
    text-align: center;
  }
}

/* =============================
about page
======================= */
#team {
  margin-top: 110px;
}
.team-title {
  margin: auto;
  font-size: 4em;
  color: var(--second-color);
  margin-bottom: 70px;
  position: relative;
  width: fit-content;
}
.team-title::before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--first-color);
  position: absolute;
  z-index: -1;
  left: 50px;
  bottom: 0;
  height: 50%;
}
.team-container {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.member {
  display: flex;
  height: fit-content;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.member:nth-child(1) {
  align-self: flex-start;
}
.member:nth-child(2) {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.member-img {
  width: 400px;
  position: relative;
}
.member-img::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: var(--third-color);
  z-index: -1;
  left: 20px;
  top: 20px;
}
.member-img img {
  width: 100%;
}
.member-text {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
}
.member-text h4 {
  font-size: 2em;
  font-style: italic;
}
.member-text p {
  display: flex;
  flex-direction: column;
  font-size: 1.3em;
  color: var(--third-color);
}

@media screen and (max-width: 780px) {
  .member {
    flex-direction: column;
  }

  .member:nth-child(1) {
    align-self: center;
  }
  .member:nth-child(2) {
    align-self: center;
    flex-direction: column;
  }
}
@media screen and (max-width: 560px) {
  .member-img {
    width: 100%;
  }
  .team-title {
    font-size: 3em;
    text-align: center;
  }
  .team-title::before {
    width: 70%;
  }
}

/* animation */

.animation {
  opacity: 0; /* Invisible au départ */
  transform: translateY(50px); /* Décalé vers le bas */
  transition: all 0.5s ease-out; /* Fallback si JS est désactivé */
}

.service_page_elt {
  opacity: 0; /* Invisible au départ */
  transform: translateY(50px); /* Décalé vers le bas */
  transition: all 0.5s ease-out; /* Fallback si JS est désactivé */
}

/* ==============================
contact page
=============================== */
#banner_contact {
  background: url("/images/contact-banner-img.jpg");
  background-size: cover;
  background-position: center;
}
.contact_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 10px;
  box-sizing: border-box;
  align-items: center;
  margin-top: 60px;
}
.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120%;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-info .info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ctc-icon {
  width: 60px;
  height: 60px;
  background: var(--third-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctc-icon i {
  font-size: 1.6em;
  color: white;
}
.ctc-text {
  font-size: 1.2em;
  font-weight: 500;
  color: rgb(65, 65, 65);
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  background: var(--fourth-color);
  padding: 20px;
  box-shadow: 0px 10px 50px -10px #d6d6d6;
}
.contact-form input {
  width: 49%;
}
.contact-form input,
.contact-form textarea {
  font-size: 1.2em;
  margin: 15px 0;
  padding: 10px;
  border: none;
  outline: none;
  border-bottom: 2px solid #e4e4ec;
  transition: 0.2s;
  background: white;
}
.contact-form textarea {
  width: 100%;
  margin-bottom: 20px;
  height: 200px;
  resize: none;
}
.contact-form button {
  width: 150px;
  padding: 10px;
  font-weight: bold;
  font-size: 1.2em;
  background-color: var(--second-color);
  border: none;
  color: white;
  cursor: pointer;
}
.contact-form button:active {
  background: rgb(56, 98, 161);
}
#status-message {
  position: absolute;
  font-size: 1.4em;
  bottom: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield; /* Remplace l’apparence du champ de number par un champ texte */
}

/* about-actu */
#actu {
  height: 200px;
  width: 90%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 600px;
}
.actu-container {
  width: 100%;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.actu_text {
  width: 50%;
}
.actu_text h4 {
  font-size: 1.5em;
  color: var(--second-color);
  margin-bottom: 10px;
}
.actu_img {
  width: 600px;
  height: 500px;
}

.actu_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 800px) {
  #actu {
    margin-bottom: 900px;
  }
  .actu-container {
    flex-direction: column;
  }
  .actu_img {
    width: 100%;
  }
  .actu_text {
    width: 100%;
  }
}
@media screen and (max-width: 430px) {
  #actu {
    margin-bottom: 900px;
    width: 98%;
  }
}
@media screen and (max-width: 380px) {
  #actu {
    margin-bottom: 1000px;
    width: 98%;
  }
}
@media screen and (max-width: 600px) {
  .contact_container {
    width: 90%;
  }
  .contact-form {
    flex-direction: column;
    width: 100%;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }
  .contact-info {
    align-items: flex-start;
    justify-content: flex-start;
    width: 95%;
  }
  .contact-info .info .ctc-icon {
    min-width: 60px;
    min-height: 60px;
  }
  #status-message {
    text-align: center;
    bottom: -50px;
  }
}
