/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
 
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(8, 69%, 20%);
  --first-color-alt: hsl(10, 66%, 47%);
  --first-color-light: hsl(21, 89%, 63%);
  --first-color-lighten: hsl(228, 100%, 97%);
  --second-color: hsl(235, 83%, 53%);
  --title-color: hsl(228, 57%, 28%);
  --text-color: hsl(229, 61%, 7%);
  --text-color-light: hsl(228, 12%, 75%);
  --border-color: hsl(228, 99%, 98%);
  --body-color: #fff;
  --container-color: #fff;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .3s; /* For animation dark mode */
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

input,
button {
  font-family: var(--body-font);
  outline: none;
  border: none;
}

/*=============== THEME ===============*/
.change-theme{
  font-size: 1.25rem;
  color: #fff;
  cursor: pointer;
  transition: .3s;
}
.change-theme:hover{
  color: var(--first-color);
}

/*========== Variables Dark theme ==========*/
body.dark-theme{
  --first-color: hsl(19, 72%, 23%);
  --second-color: hsl(25, 57%, 54%);
  --title-color: hsl(228, 8%, 95%);
  --text-color: hsl(228, 8%, 70%);
  --border-color: hsl(228, 16%, 14%);
  --body-color: hsl(228, 12%, 8%);
  --container-color: hsl(228, 16%, 12%);
}
/* Ajustement pour le mode sombre */
body.dark-theme .scroll-header {
    background-color: hsla(228, 12%, 8%, 0.9);
}

/*========== 
    Color changes in some parts of 
    the website, in dark theme 
==========*/
.dark-theme .home__search,
.dark-theme .bx-chevron-left,
.dark-theme .bx-chevron-right{
  border: 3px solid var(--border-color);
}
.dark-theme .home{
  background:linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.533)),
    url('/assets/img/back.png');
  padding-bottom: 0;
}
.dark-theme .nav__menu,
.dark-theme .home__img,
.dark-theme .popular__card:hover,
.dark-theme .value__img,
.dark-theme .accordion-open,
.dark-theme .accordion-open .value__accordion-icon,
.dark-theme .accordion-open .value__accordion-arrow,
.dark-theme .contact__img,
.dark-theme .contact__card-box:hover,
.dark-theme .scrollup{
  box-shadow: none;
}
.dark-theme .value__orbe,
.dark-theme .value__accordion-icon,
.dark-theme .value__accordion-arrow,
.dark-theme .contact__orbe,
.dark-theme .contact__card i,
.dark-theme .contact__card-button,
.dark-theme .subscribe__container{
  background-color: var(--container-color);
}
.dark-theme .subscribe__container{
  border: 6px solid var(--border-color);
}
.dark-theme .subscribe__description{
  color: var(--text-color);
}

.dark-theme ::-webkit-scrollbar{
  background-color: hsl(228, 4%, 15%);
}
.dark-theme ::-webkit-scrollbar-thumb{
  background-color: hsl(228, 4%, 25%);
}
.dark-theme ::-webkit-scrollbar-thumb:hover{
  background-color: hsl(228, 4%, 35%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
}

.section__title span {
  color: var(--first-color-alt);
}

.section__subtitle {
  font-size: var(--small-font-size);
  color: var(--second-color);
}
.section__subtitle,.section__title,.contact__description{
  display: flex;
  align-items: center;
  justify-content: center;
}

.main {
  overflow: hidden; /* For the animations ScrollReveal*/
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s; /* ← SEULEMENT background-color */
    /* Supprimer will-change et transform pour ne pas créer de stacking context */
}
.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.nav__button{
  margin-top: .5rem;
  margin-bottom: .5rem;
}
.nav__logo{
  color: #fff;
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-medium);
  transition: .3s;
}
.nav__logo i{
  font-size: 1rem;
}
.nav__logo:hover{
  color: var(--first-color);
}
@media screen and (max-width:1023px){
  .nav__menu{
    position: fixed;
    bottom: 2rem;
    background-color: var(--container-color);
    box-shadow: 0 8px 24px hsla(228, 66%, 45%, .15);
    width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 1.30rem 3rem;
    border-radius: 1.25rem;
    transition: .4s;
    z-index: 1000;
  }
  .nav__list{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav__link{
    color: var(--text-color);
    display: flex;
    padding: .5rem;
    border-radius: 50%;
  }
  .nav__link i{
    font-size: 1.25rem;
  }
  .nav__link span{
    display: none;
  }
}

/* Change background header */
.scroll-header {
    background-color: rgba(255, 255, 255, 0.9); /* Transparence */
    backdrop-filter: blur(10px); /* Le flou magique */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.scroll-header .nav__logo{
  color: var(--first-color-alt);
}

.scroll-header .change-theme{
  color: var(--title-color);
}

/* Active link */
.active-link{
  background: linear-gradient(101deg,
            hsl(8, 69%, 20%),
            hsl(10, 66%, 47%));
   color: #fff;
   box-shadow: 0 4px 8px hsla(228,66%,45%,.25);
}

/*=============== HOME ===============*/
.home {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.533)),
    url('/assets/img/back.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 0;
  min-height: 100vh; /* si tu veux qu'elle prenne toute la hauteur */
}


.home__container{
  padding-top: 4rem;
  row-gap: 3.5rem;
}
.home__title,.home__value-number{
  color:#fff; 
}
.home__title{
  font-size: var(--biggest-font-size);
  line-height: 120%;
  margin-bottom: 1.25rem;
}
.home__description{
  color: var(--text-color-light);
  margin-bottom: 2rem;
} 
.home__search{
  background-color: var(--body-color);
  padding: .35rem .35rem .35rem .75rem;
  display: flex;
  align-items: center;
  border-radius: .75rem;
  border: 3px solid var(--text-color-light);
  margin-bottom: 2rem;
}
.sp{
  padding-bottom: .1rem;
}
.home__search i{
  font-size: 1.25rem;
  color: var(--first-color);
}
.home__search-input{
  width: 90%;
  background-color: var(--body-color);
  color: var(--text-color);
  margin: 0 .5rem;
}
.home__search-input::placeholder{
  color: var(--text-color-light);
}
.home__value{
   display: flex;
   flex-wrap: wrap;
   column-gap: 2.5rem;
}
.home__value-number{
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
}
.home__value-number span{
  color: var(--first-color-alt);
}
.home_value-description{
  display: flex;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
}
.home__images{
  position: relative;
  display: flex;
  justify-content: center;
}
.home__orbe{
  width: 265px;
  height: 284px;
  background: linear-gradient(180deg,hsl(0, 0%,16%) 93%,hsl(0,0%,67%) 100%);
  border-radius: 135px 135px 0 0;
}
.home__img{
  position:absolute;
  width: 250px;
  height: 300px;
  overflow: hidden;
  border-radius: 125px 125px 12px 12px;
  display: inline-flex;
  align-items: flex-end;
  bottom: -1.5rem;
  box-shadow: 0 16px 32px hsl(228, 66%, 25%, .25);
}


/*=============== BUTTON ===============*/
.button{
  display: inline-block;
  background: linear-gradient(101deg,hsl(8, 69%, 20%),hsl(10, 66%, 47%));
  color: #fff;
  padding: 14px 28px;
  border-radius: .5rem;
  font-size: var(--normal-font-size);
  box-shadow: 0 4px 8px hsla(228, 66%, 45%, .25);
  transition: .3s;
  cursor: pointer;
}

.button:hover{box-shadow: 0 4px 12px hsla(228, 66%, 45%, .25);
}
.nav__button{
  display: flex;
}

/*=============== LOGOS ===============*/
.logos__container{
  padding-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
  gap:3rem 2rem;
  justify-content: center;
}
.logos__img img{
  height: 60px;
  opacity: .2;
  transition: .3s;
}
.logos__img img:hover{
  opacity: .6;
}


/*================FEATURED================*/

.featured__card{
  width: 290px;
  background-color: var(--container-color);
  padding: .5rem .5rem 1.5rem;
  border-radius: 1rem;
  margin: 2rem 0.6rem;
  transition: .4s;
  scroll-snap-align: start;
 }
.featured__content{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  
}
.featured__container{
  padding-top: 1rem;
}
.featured__filters{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  margin-bottom: 1rem;
}

.featured__item{
  min-width: 120px;
  height: 48px;
  border: 2px solid var(--first-color);
  border-radius: .75rem;
  background-color: transparent;
  color: var(--first-color);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: .3s;
  padding-left: 2px;
  padding-right: 2px;
  margin-bottom: .5rem;
}
.featured__item span{
  /*opacity: .3;*/
  transition: .3s;
}
/*.featured__item:hover{
  background-color: var(--first-color);
  color: white;
}*/
button.actived{
  background-color: var(--first-color);
  color: white;
}




/*=============== POPULAR ===============*/
 .popular__container{
  padding: 1rem 0 5rem;
  position: relative;
 }

 .caroussel{
  display: grid;
  grid-auto-flow: column;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  grid-auto-columns: calc((100%/3) -12px);
  scroll-behavior: smooth;
  scrollbar-width: 0;
 }
 .caroussel::-webkit-scrollbar{
  display: none;
 }
 .caroussel.no-transition{
  scroll-behavior: auto;
 }
 .caroussel.dragging{
  scroll-behavior: auto;
  scroll-snap-type: none;
 }
 .caroussel.dragging .popular__card{
   cursor: grab;
   user-select: none;
 }
 .popular__card{
  width: 290px;
  background-color: var(--container-color);
  padding: .5rem .5rem 1.5rem;
  border-radius: 1rem;
  margin: 2rem 0.6rem;
  transition: .4s;
  scroll-snap-align: start;
 }
 .popular__img{
  border-radius: 1rem;
  margin-bottom: 1rem;
  height: 200px;
  width: 100%;
 }
 .popular__data{
  padding: 0 1rem 0 .5rem;
 }
 .popular__price{
  font-size: var(--h2-font-size);
  color: var(--text-color);
  margin-bottom: .25rem;
 }
 .popular__price span{
  color: var(--first-color-alt);
 }
 .popular__title{
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
  text-align: center;
 }
 .popular__description{
  font-size: var(--small-font-size);
 }
 .popular__card:hover{
  box-shadow: 0 12px 16px hsla(228, 66%, 45%, .1);
 }
 .see-more{
  margin-left: auto;
  margin-right: auto;
  display: flex;
 }
 .see-more a{
  color: white;
 }
 @media screen and(max-width: 900px) {
    .caroussel{
      grid-auto-columns: calc((100%/2)-9px);
    }
 }
 @media screen and(max-width: 900px) {
  .caroussel{
    grid-auto-columns: 100%;
  }
}
/* Swiper class */

.bx-chevron-left,
.bx-chevron-right{
 bottom: 7%;
 position: absolute;
 background-color: var(--container-color);
 border: 2px solid var(--text-color-light);
 padding: 6px;
 border-radius: 50%;
 font-size: 1.5rem;
 color: var(--first-color);
 cursor:pointer;
 
}
.bx-chevron-left{
  left: calc(30% );
}
.bx-chevron-right{
  right: calc(30% );
}

/*=============== VALUE ===============*/
.value__container{
  row-gap: 3rem;
}
.value section{
  padding-top:0;
  margin-top: 0;
}
.value__images{
  position:relative;
  display: flex;
  justify-content: center;
}
.value__orbe{
  width: 276px;
  height:266px;
  background-color: hsl(228, 24%, 97%);
  border-radius: 16px 16px 16px 16px;
}
.value__img{
  position: absolute;
  width: 260px;
  height: 250px;
  overflow: hidden;
  border-radius: 12px 12px 12px 12px;
  inset: 0;
  margin: auto;
  box-shadow: 0 16px 32px hsla(228, 66%, 25%, .25);
}
.value__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value__description{
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}
.value__accordion{
  display: grid;
  row-gap: 1.5rem;
}
.value__accordion-item{
  background-color: var(--body-color);
  border: 2px solid var(--border-color);
  border-radius: .5rem;
  padding: 1rem .75rem;
}
.value__accordion-header{
  display: flex;
  align-items: center;
  cursor: pointer;
}
.value__accordion-icon{
  background-color: var(--first-color-lighten);
  padding: 5px;
  border-radius: .25rem;
  font-size: 18px;
  color: var(--first-color);
  margin-right: .75rem;
  transition: .3s;
}
.value--accordion-title{
  font-size: var(--small-font-size);
}
.value__accordion-arrow{
  display: inline-flex;
  background-color: var(--first-color-lighten);
  padding: .25rem;
  color: var(--first-color);
  border-radius: 2px;
  font-size: 10px;
  margin-left: auto;
  transition: .3s;
}
.value__accordion-arrow i{
  transition: .4s;
}
.value__accordion-description{
  font-size: var(--small-font-size);
  padding: 1.25rem 2.5rem 0 2.75rem;
}
.value__accordion-content{
  overflow: hidden;
  height: 0;
  transition: all .25s ease;
}

/*Rotate icon and add shadows*/
.accordion-open{
  box-shadow: 0 12px 32px hsla(228, 66%, 45%, .1);
}
.accordion-open .value__accordion-icon{
  box-shadow: 0 4px 4px hsla(228, 66%, 45%, .1);
}
.accordion-open .value__accordion-arrow{
  box-shadow: 0 2px 4px hsla(228, 66%, 45%, .1);
}
.accordion-open .value__accordion-arrow i{
  transform: rotate(-180deg);
}

/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 2rem;
}
.contact__images{
  position: relative;
  display: flex;
  justify-content: center;
}
.contact__orbe{
  width: 266px;
  height: 316px;
  background-color: hsl(228, 24%, 97%);
  border-radius: 135px 135px 16px 16px;
}
.contact__img{
  position: absolute;
  width: 250px;
  height: 300px;
  overflow: hidden;
  border-radius: 125px 125px 12px 12px;
  inset: 0;
  margin: auto;
  box-shadow: 0 16px 32px hsla(228, 66%, 45%, .25);
}
.contact__data{
  align-items: center;
  justify-content: center;
}
.contact__description{
  font-size: var(--small-font-size);
  margin-bottom: 2.5rem;
}
.contact__card{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem .75rem;
}
.contact__card-box{
  background-color: var(--body-color);
  border: 2px solid var(--border-color);
  padding: 1.25rem .75rem;
  border-radius: .5rem;
  transition: .3s; 
}
.contact__card-info{
  display: flex;
  align-items: flex-start;
  column-gap: .75rem;
  margin-bottom: 1.25rem;
}
.contact__card i{
  padding: 6px;
  background-color: var(--first-color-lighten);
  border-radius: 6px;
  font-size: 1.25rem;
  color: var(--first-color-alt);
}
.contact__card-title{
  font-size: var(--normal-font-size);
}
.contact__card-description{
  font-size: var(--smaller-font-size);
}
.contact__card-button{
  font-size: var(--small-font-size);
  padding: 14px 0;
  width: 100%;
  border-radius: .25rem;
  background: var(--first-color-lighten);
  color: var(--first-color-alt);
  font-weight: var(--font-semi-bold);
  box-shadow: none;
}
.contact__card-button:hover{
  background-color: var(--first-color);
  color: #fff;
}
.contact__card-box:hover{
  box-shadow: 0 8px 24px hsla(228, 66%, 25%, .1);
}
/*=============== SUBSCRIBE ===============*/
.subscribe{
  padding: 2.5rem 0;
}
.subscribe__container{
  background-color: var(--first-color);
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  border: 6px solid var(--first-color-light);
  text-align: center;
}
.subscribe__title{
  font-size: var(--h2-font-size);
  color: #fff;
  margin-bottom: 1rem;
}
.subscribe__description{
  color: hsl(228, 90%, 92%);
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}
.subscribe__button{
  border: 2px solid #fff;
  background: var(--first-color);
  font-size: var(--small-font-size);
}
.subscribe__button:hover{
  background-color: var(--first-color-light);
}
k
/*=============== FOOTER ===============*/
.footer__container{
  row-gap: 2.5rem;
}
.footer__logo{
  color: var(--first-color-alt);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  margin-bottom: .75rem;
}
.footer__logo i{
  font-size: 1.25rem;
}
.footer__description,.footer__link{
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}
.footer__content,.footer_links{
  display: grid;
}
.footer__content{
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 4rem;
}
.footer__title{
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}
.footer__links{
  row-gap: .5rem;
}
.footer__link{
  color: var(--text-color);
  transition : .3s
}
.footer__link:hover{
  color: var(--title-color);
}
.footer__social{
  display: flex;
  column-gap: 1rem;
}
.footer__social-link{
  font-size: 1.25rem;
  color: var(--text-color);
  transition: .3s;
}
.footer__social-link:hover{
  color: var(--title-color);
}
.footer__info,.footer__privacy{
  display: flex;
}
.footer__info{
  padding-bottom: 6rem;
  margin-top:5.5rem;
  flex-direction: column;
  text-align: center;
  row-gap: 1.5rem;
}
.footer__copy,.footer__privacy a{
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}
.footer__privacy{
  justify-content: center;
  column-gap: 1.25rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(225, 14%, 89%);
}
::-webkit-scrollbar-thumb{
  background-color: hsl(228, 8%, 64%);
  border-radius: .5rem;
}
::-webkit-scrollbar-thumb:hover{
  background-color: hsl(228, 8%, 54%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position:fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--container-color);
  box-shadow: 0 8px 12px hsla(228, 66%, 25%, .1);
  display: inline-flex;
  padding: .35rem;
  border-radius: .25rem;
  color: var(--title-color);
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: .3s;
}
.scrollup:hover{
  transform: translateY(-.25rem);
  color: var(--first-color);
}

/* Show Scroll Up*/
.show-scroll{
  bottom: 8rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 350px){
  .container{
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .section{
    padding: 3.5rem 0 1rem;
  }
  .home{
    padding-bottom: 0;
  }
  .contact__card{
    grid-template-columns: repeat(1, 180px);
    justify-content: center;
  }
}
@media screen and (max-width: 320px){
  .nav__menu{
    padding: 1.3rem 1.5rem;
  }
  .home__value{
    column-gap: 1rem;
  }
  .home__img{
    width: 220px;
    height: 200px;
  }
  .home__orbe{
    width: 240px;
    height: 264px;
  }
  .logos__container{
    gap: 2rem 1rem;
  }
  .popular__card{
    width: 230px;
    padding: .5rem .5rem .75rem;
  }
  .featured__card{
    width: 230px;
    padding: .5rem .5rem .75rem;
  }
  .value__img,.contact__img{
    width: 220px;
    height: 260px;
  }
  .value__orbe,.contact__orbe{
    width: 236px;
    height: 280px;
  }
  .subscribe__container{
    padding: 2rem 1rem;
  }
  .footer__content{
    gap:2.5rem
  }
}
/* For medium devices */
@media screen and (min-width: 576px) {
 .nav__menu{
  width: 342px;
 }
 .home__search{
  width: 412px;
 }
 .contact__card{
  grid-template-columns: repeat(2, 192px);
  justify-content: center;
 }
 .footer__content{
  grid-template-columns: repeat(3,max-content);
 }
}

@media screen and (min-width: 767px) {
   .home__container{
    grid-template-columns: repeat(2,1fr);
    padding-top: 2rem;
   }
   .home__orbe{
    align-self: flex-end;
   }
   .home__data{
    padding-bottom: 2rem;
   }
   .logos__container{
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
   }
   
   .contact__container,.value__container{
    grid-template-columns: repeat(2,1fr);
    align-items: center;
   }
   .contact__images{
    order: 1;
   }
   .contact__card{
    display: flex;
    justify-content: space-between;
   }
   .subscribe__container{
    padding: 3rem 5rem;
   }
   .footer__container{
    grid-template-columns: repeat(2,max-content);
    justify-content: space-between;
   }
   
 }

 /*=============== STEPS SECTION ===============*/
.steps {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.steps__container {
    padding-top: 3rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Effet WebGL-like de fond */
.steps__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsla(21, 89%, 63%, 0.2) 0%, hsla(21, 89%, 63%, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    color: var(--first-color-light);
    animation: floatGlow 10s infinite ease-in-out;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-30%, -40%) scale(1.2); }
}

/* Style des cartes */
.steps__card {
    position: relative;
    background: var(--container-color); /* Utilise ta variable de fond de carte */
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    overflow: hidden;
}

/* Effet Glassmorphism au survol */
.steps__card:hover {
    transform: translateY(-10px);
    border-color: var(--first-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.steps__circle {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--first-color);
    opacity: 0.05;
    transition: .4s;
}

.steps__card:hover .steps__circle {
    opacity: 0.2;
    transform: scale(1.2);
}

.steps__icon-box {
    width: 80px;
    height: 80px;
    background: var(--first-color-lighten);
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--first-color);
    transition: .4s;
}

.steps__card:hover .steps__icon-box {
    background: var(--first-color);
    color: #fff;
    transform: rotateY(360deg);
}

.steps__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--title-color);
}

.steps__description {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Effet de brillance (Shine) qui passe sur la carte */
.steps__card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
}

.steps__card:hover .steps__card-shine {
    left: 100%;
}

/* Responsive */
@media screen and (max-width: 968px) {
    .steps__container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
/*=============== SECURITY ===============*/
.security__container {
    row-gap: 3rem;
}

.security__data {
    text-align: left;
}

.security__description {
    margin-bottom: 2.5rem;
}

.security__privileges {
    display: grid;
    gap: 1.5rem;
}

.security__privilege {
    display: flex;
    column-gap: 1rem;
    align-items: center; /* Aligne l'icône verticalement au milieu du titre */
}

/* Style des icônes pour qu'elles soient bien centrées */
.security__icon {
    background: var(--first-color-lighten);
    padding: 12px;
    border-radius: 12px;
    color: var(--first-color);
    font-size: 1.5rem;
    display: grid;
    place-items: center; /* Centre parfaitement l'icône dans son carré */
    min-width: 48px; /* Assure que le carré ne se déforme pas */
    height: 48px;
}

.security__privilege-title {
    font-size: var(--normal-font-size);
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--title-color);
}

.security__privilege-description {
    font-size: var(--small-font-size);
}

/* Correction du conteneur d'image */
.security__images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.security__orbe {
    width: 300px;
    height: 350px;
    background-color: var(--first-color-lighten);
    border-radius: 150px 150px 20px 20px;
    position: absolute;
    bottom: 0;
}

.security__img {
    width: 280px;
    height: 330px;
    overflow: hidden;
    border-radius: 140px 140px 15px 15px;
    z-index: 10;
    display: flex;
    align-items: flex-start; /* Aligne l'image en haut du conteneur arrondi */
}

.security__img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Important : l'image remplira tout le cadre sans se déformer */
    object-position: center;
}

/* Tablette et Desktop */
@media screen and (min-width: 767px) {
    .security__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

@media screen and (min-width: 1024px) {
    .security__img {
        width: 420px;
        height: 480px;
        border-radius: 210px 210px 30px 30px;
    }
    .security__orbe {
        width: 450px;
        height: 510px;
        border-radius: 225px 225px 35px 35px;
    }
}

/*=============== PAIEMENT MARQUEE ===============*/
.payment__marquee {
    margin-top: 1.5rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.payment__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scrollMarquee 15s linear infinite;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Style des badges de paiement */
.pay-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Couleurs spécifiques aux marques */
.tmoney { background: #004a99; } /* Bleu Togocom */
.flooz { background: #e60000; }  /* Rouge Moov */
.wave { background: #1dcaff; }   /* Bleu Wave */
.orange { background: #ff6600; } /* Orange */
.mtn { background: #ffcc00; color: #000; } /* Jaune MTN */

/* Mise en avant de la carte paiement au survol */
.steps__card-payment:hover .payment__track {
    animation-play-state: paused; /* S'arrête au survol pour pouvoir lire */
}

/* Optimisation pour la carte du milieu */
@media screen and (min-width: 1024px) {
    .steps__card-payment {
        transform: scale(1.05);
        border-color: var(--first-color-lighten);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }
    .steps__card-payment:hover {
        transform: scale(1.08) translateY(-10px);
    }
}
/*=============== OWNER SECTION ===============*/
.owner {
    background-color: var(--first-color-lighten); /* Ou une couleur légèrement différente pour casser la monotonie */
    padding: 5rem 0;
}

.owner__container {
    background-color: var(--first-color); /* Fond bleu/vert principal */
    padding: 4rem 2rem;
    border-radius: 2rem;
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.owner__content {
    grid-template-columns: 1fr;
    row-gap: 3rem;
    align-items: center;
}

.owner__title {
    color: #fff;
    font-size: var(--h2-font-size);
    margin-bottom: 1.5rem;
}

.owner__title span {
    color: var(--second-color); /* Une couleur d'accentuation comme du jaune ou orange */
}

.owner__description {
    margin-bottom: 2rem;
    font-size: var(--normal-font-size);
    line-height: 1.6;
}

.owner__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.owner__benefit {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--small-font-size);
}

.owner__benefit i {
    font-size: 1.25rem;
    color: var(--second-color);
}

.owner__button {
    background-color: #fff;
    color: var(--first-color);
    font-weight: 600;
}

.owner__button:hover {
    background-color: var(--title-color);
    color: #1f66f4;
}

/* Image et badge de prix */
.owner__images {
    position: relative;
    display: flex;
    justify-content: center;
}

.owner__img-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
}

.owner__img-1 {
    width: 200px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.owner__price-tag {
    position: absolute;
    top: 10px;
    right: -10px;
    background-color: var(--second-color, #ffcc00);
    color: #000;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-weight: bold;
    font-size: var(--small-font-size);
    transform: rotate(10deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Media Queries Desktop */
@media screen and (min-width: 768px) {
    .owner__content {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4rem;
    }
    .owner__title {
        font-size: 2.5rem;
    }
}

/* Remplacer tout le bloc OWNER RE-DESIGN par ceci */

.owner {
    padding: 4rem 0;
    background-color: var(--body-color);
}

.owner__container {
    position: relative;
    /* Dégradé Premium basé sur ta couleur Primary */
    background: linear-gradient(135deg, hsl(8, 69%, 20%) 0%, hsl(10, 66%, 35%) 100%);
    padding: 4rem 3rem;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px hsla(8, 69%, 20%, 0.3);
}

/* Cercles lumineux en arrière-plan */
.owner__glow-1, .owner__glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsla(21, 89%, 63%, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}
.owner__glow-1 { top: -100px; right: -100px; }
.owner__glow-2 { bottom: -100px; left: -100px; }

.owner__content {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 4rem;
}

/* Textes en Blanc pour le contraste */
.owner__subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 30px;
    color: #ffd8a8; /* Orange très pâle */
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.owner__title {
    color: #fff;
    font-size: 2.5rem; /* Plus grand */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.owner__title span {
    color: #ff922b; /* Orange vif pour le mot clé */
    position: relative;
}

/* Petit soulignement stylé sous le mot clé */
.owner__title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: #ff922b;
    opacity: 0.3;
    z-index: -1;
}

.owner__description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    max-width: 500px;
}

/* Statistiques */
.owner__stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.owner__stat-number {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.owner__stat-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Bouton Blanc contrasté */
.owner__button {
    background: #fff;
    color: var(--first-color); /* Texte couleur bordeaux */
    padding: 1.2rem 2.5rem;
    border-radius: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.owner__button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

/* Carte Image Effet Verre */
.owner__card-glass {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(3deg); /* Légère rotation dynamique */
    transition: transform 0.3s;
}

.owner__card-glass:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Badge Prix */
.owner__badge {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.owner__badge-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--first-color);
}

.owner__badge-time {
    color: var(--text-color-light);
    font-weight: 600;
}

/* Tablette et Desktop */
@media screen and (min-width: 768px) {
    .owner__content {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .section{
    padding: 7.5rem 0 1 rem;
  }
  .section__title{
    font-size: 2.25rem;
  }
  .section__subtitle{
    font-size: var(--normal-font-size);
  }
  .nav{
    height: calc(var(--header-height) +1.5rem);
  }
  .nav__menu{
    width: initial;
    margin-left: auto;
  }
  .nav__list{
    display: flex;
    column-gap: 3rem;
  }
  .nav__link{
    color: var(--text-color-light);
  }
  .nav__link i{
    display: none;
  }
  .nav__button{
    display: inline-block;
  }
  .active-link{
    background: none;
    box-shadow: none;
    color: var(--first-color-light);
    font-weight: var(--font-medium);
  }
  .change-theme{
    margin: 0 3rem;
    color: var(--text-color-light);
  }
  .scroll-header .nav__link,
  .scroll-header .change-theme{
    color: var(--text-color);
  }
  .scroll-header .active-link{
    color: var(--first-color-alt);
  }
  .home{
    padding-bottom: 0;
  }
  .home__container{
    padding-top: 5rem;
    column-gap: 2rem;
  }
  .home__data{
    padding-bottom: 4rem;
  }
  .home__title{
    margin-bottom: 2rem;
  }
  .home__description,.home__search{
    margin-bottom: 3rem;
  }
  .home__value{
    column-gap: 3.5rem;
  }
  .home__orbe{
    width: 504px;
    height: 611px;
    border-radius: 256px 256px 0 0;
  }
  .home__img{
    width: 472px;
    height: 634px;
    border-radius: 236px 236px 12px 12px;
    bottom: -2.5rem;
  }
  .logos__img img{
    height: 100px;
  }
  .popular__container{
    padding-top: 3rem;
  }
  .popular__card{
    width: 250px;
    padding: .75rem .75rem 2rem;
  }
  .featured__card{
    width: 250px;
    padding: .75rem .75rem 2rem;
  }
  .popular__price,.popular__title,.popular__description{
    font-size: 1rem;
  }
  .popular__title,.popular__description{
    font-size: .8rem;
  }
  .popular__data{
    padding: 0 .25rem 0 .75rem;
  }
  .value__container,.contact__container{
    align-items: flex-start;
    column-gap: 5rem;
  }
  .value__orbe,.contact__orbe{
    width: 501px;
    height: 541px;
    border-radius: 16px 16px 16px 16px;
  }
  .value__img,.contact__img{
    width: 461px;
    height: 501px;
    border-radius: 12px 12px 12px 12px;
  }
  .value__img img,.contact__img img{
    max-width: initial;
    width: 490px;
  }
  .value__description,.contact__description{
    font-size: var(--normal-font-size);
    margin-bottom: 2.5rem;
  }
  .value__accordion-title{
    font-size: var(--normal-font-size);
  }
  .value__accordion-item{
    padding: 1.25rem 1.25rem 1.25rem 1rem;
  }
  .value__accordion-description{
    padding-bottom: 1rem;
    font-size: var(--small-font-size);
  }
  .contact__card{
    display: flex;
    justify-content: space-between;
  }
  .contact__card-box{
    padding: 28px 1.5rem 1.5rem;
  }
  .subscribe-container{
    padding: 4rem 18rem 4.5rem;
    border-radius: 2rem;
    border: 12px solid var(--first-color-light);
  }
  .subscribe__title{
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  .subscribe__description{
    font-size: var(--normal-font-size);
    /*padding: 0 8rem;*/
  }
  .subscribe__button{
    font-size: var(--normal-font-size);
  }
  .footer__content{
    grid-template-columns: repeat();
  }
  .footer__title{
    margin-bottom: 1.5rem;
  }
  .footer__links{
    row-gap: 1rem;
  }
  .footer__info{
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 2rem;
  }
  .show-scroll{
    bottom: 3rem;
    right: 3rem;
  }
  @media screen and (min-width:1040px) {
    .container{
      margin-right: auto;
      margin-left: auto;
    }
    .home__container{
      column-gap: 4rem;
    }
  }
 }


/* For 2K & 4K resolutions */
@media screen and (min-width:2048px) {
  body{
    zoom: 1.5;
  }
}
@media screen and (min-width:3840px) {
  body{
    zoom: 2;
  }
}
