@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap");

* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  -webkit-transition: .2s linear;
  transition: .2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

html::-webkit-scrollbar {
  width: 0.5rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: #ed7327;
}

section {
  padding: 3rem 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  background-color: #ed7327bb;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 1.7rem;
  padding: 1rem 3rem;
}

.btn:hover {
  background: #ed7327;
  color: #fff;
}

.heading {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 4rem;
  color: #ed7327;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo img {
  height: 50px;
  /* ✅ ajuste la hauteur comme tu veux (ex : 30px, 40px) */
  width: auto;
  /* conserve les proportions */
}


.header.active {
  background: #fff;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.header .navbar a.active {
  color: #ed7327;
  font-weight: bold;
  border-bottom: 2px solid #ed7327;
}


.header.active .navbar a {
  color: #333;
  /* ou une autre couleur foncée lisible */
}

.header.active .navbar a:hover {
  color: #ed7327bb;
  /* ou une couleur accentuée */
}


.header .logo {
  margin-right: auto;
  font-size: 2.5rem;
  color: #fff;
  font-weight: bolder;
}

.header .navbar a {
  margin-left: 2rem;
  font-size: 1.7rem;
  color: #ffff;
  text-transform: none;
}

.header .navbar a:hover {
  color: #ed7327bb;
}

.header .navbar #nav-close {
  font-size: 5rem;
  cursor: pointer;
  color: #ed7327;
  display: none;
}

.header .icons a,
.header .icons div {
  font-size: 2.3rem;
  margin-left: 2rem;
  cursor: pointer;
  color: #ed7327bb;
}

.header .icons a:hover,
.header .icons div:hover {
  color: #ed7327;
}

.header #menu-btn {
  display: none;
}


.home .box {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.home .box.second {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.home .box .content {
  width: 50rem;
}

.home .box .content span {
  font-size: 4rem;
  color: #ffffff;
  text-transform: none;
}

.home .box .content h3 {
  font-size: 5.24rem;
  color: #fff;
  padding-top: .5rem;
  text-transform: uppercase;
}

.home .box .content p {
  line-height: 2;
  color: #ffff;
  font-size: 1.9rem;
  padding: 1rem 0;
  text-transform: none;
}

.home .box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(68, 68, 68, 0.45);
  /* noir transparent */
  z-index: 0;
}

.home .box .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* noir transparent */
  z-index: 0;
}

.home .box .content {
  position: relative;
  z-index: 1;
}


.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 3rem;
  color: #ed7327;
}

.about-container {
  background-color: #f2f2f2;
}

.about {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 2rem;
}

.about .image {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
  padding-right: 5rem;
  padding-bottom: 10rem;
  padding-top: 10rem;
}

.about .image img {
  width: 100%;
  -webkit-box-shadow: 4rem 4rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 4rem 4rem 0 rgba(0, 0, 0, 0.1);
}

.about .content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 42rem;
  flex: 1 1 42rem;
}

.about .content h3 {
  font-size: 3rem;
  color: #ed7327;
  text-transform: none;
}

.about .content p {
  font-size: 1.5rem;
  color: #003366;
  padding: 1rem 0;
  line-height: 2;
  text-transform: none;
  text-align: justify;
}

.about .content a {
  text-transform: none;
}

.reviews .heading {
  margin-top: 5rem;
}

.reviews .slide {
  margin-bottom: 5rem;
}

.reviews .slide .text {
  padding: 2rem;
  font-size: 1.5rem;
  font-style: italic;
  background: #eee;
  border-radius: .5rem;
  color: #003366;
  line-height: 2;
  position: relative;
  z-index: 0;
  margin-bottom: 3rem;
  text-transform: none;
}

.reviews .slide .text::before {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: .7rem;
  height: 3rem;
  width: 3rem;
  background: #eee;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.reviews .slide .user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
}

.reviews .slide .user img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
}

.reviews .slide .user h3 {
  font-size: 2rem;
  color: #333;
}

.reviews .slide .user span {
  color: #333;
  font-size: 1.5rem;
}

.footer {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url(../images/jantes.jpg) no-repeat;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/jantes.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.footer .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(25rem, 1fr))[auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1.5rem;
}

.footer .box-container .box h3 {
  font-size: 2rem;
  padding: 1.5rem 0;
  color: #fff;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.4rem;
  color: #fff;
  padding: 1rem 0;
  text-transform: none;
}

.footer .box-container .box a i {
  color: #ed7327;
  padding-right: .5rem;
}

.footer .box-container .box a:hover {
  color: #ed7327bb;
}

.footer .box-container .box a:hover i {
  padding-right: 2rem;
}

.footer .credit {
  border-top: .1rem solid #fff;
  text-align: center;
  margin-top: 2.5rem;
  padding: 1rem;
  padding-top: 2.5rem;
  font-size: 2rem;
  color: #fff;
}

.footer .credit span {
  color: #ed7327bb;
}

.footer .legal-button{
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 3px 7px;
  border-radius: 5px;
  background: #ed732794;
  color: #fff;
  font-weight: 300;
  transition: .3s;
}

.footer .legal-button:hover{
  background: #e49869;
}


@media (max-width: 991px) {
  html {
    font-size: 55%;
    scroll-padding-top: 7rem;
  }

  .home .box {
    padding: 2rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-position: right !important;
  }

  .home .box.second {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-position: left !important;
  }

  .home .box .content {
    text-align: center;
  }

  .home .box .content span {
    font-size: 3rem;
  }

  .home .box .content h3 {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .header #menu-btn {
    display: inline-block;
  }

  .header .navbar {
    position: fixed;
    top: 0;
    left: -110%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    width: 35rem;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .header .navbar.active {
    left: 0;
    -webkit-box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.8);
  }

  .header .navbar a {
    margin: 1rem 0;
    font-size: 3rem;
    color: #003366;
  }

  .header .navbar a:hover {
    color: #0162c4;
  }

  .header .navbar #nav-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .heading {
    font-size: 3rem;
  }
}