body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

html, body {
  margin: 0; /* Supprime les marges par défaut */
  padding: 0; /* Supprime les paddings par défaut */
  overflow-x: hidden; /* Empêche le défilement horizontal */
  width: 100%; /* Fixe la largeur à 100% de la fenêtre */
  box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
}

/* Ajustements globaux pour le zoom 100% */
@media screen and (min-resolution: 96dpi) {
  /* Réduction générale de la taille des éléments */
  .navbar {
    padding: 3px 12px;
  }
  
  .logo {
    font-size: 38px;
  }
  
  .navbar_center {
    height: 50px;
    flex: 0.35;
  }
  
  .navbar_centre_box {
    gap: 12px;
  }
  
  .box_item-right img {
    height: 35px;
  }
  
  .box_item-centre .main-search {
    font-size: 14px;
  }
  
  .box_item-centre p {
    font-size: 9px;
  }
  
  .box-item {
    height: 35px;
    padding: 8px 20px;
    font-size: 13px;
  }
  
  .box-item img {
    height: 20px;
  }
  
  .box-item p {
    font-size: 13px;
  }
  
  .deconnecte img {
    width: 20px;
    height: 20px;
  }
  
  .deconnecte p {
    font-size: 1rem;
  }
  
  /* Header/Swiper adjustments */
  .container {
    padding: 3rem 1rem;
  }
  
  .swiper_container {
    height: 45rem;
    padding: 1.5rem 0;
  }
  
  .swiper-slide {
    width: 32rem;
    height: 36rem;
  }
  
  /* Info section adjustments */
  .Images {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .ImageRight {
    margin-left: 80px;
    width: 350px;
    height: 410px;
  }
  
  .ImgLeft {
    width: 700px;
    height: 200px;
  }
  
  .ImgButtom {
    width: 700px;
    height: 200px;
  }
  
  .ImageRight h1 {
    font-size: 1.3rem;
    margin-left: 80px;
    margin-top: 150px;
  }
  
  .ImageRight button {
    width: 120px;
    margin-left: 70px;
    margin-bottom: 100px;
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  .ImgLeft button {
    width: 130px;
    height: 35px;
    font-size: 14px;
    padding: 8px 16px;
  }
  
  /* ExploreItem adjustments */
  .ExploreItem h1 {
    margin-left: 55px;
    font-size: 18px;
  }
  
  .ExploreItem_list {
    margin: 35px;
    margin-top: 25px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 0.5fr));
  }
  
  .ExploreItem_box {
    width: 200px;
    margin: 12px;
  }
  
  .ExlopreItem_box_Img {
    height: 220px;
  }
  
  .ExlopreItem_box_Info .text {
    font-size: 14px;
  }
  
  .ExlopreItem_box_Info .price {
    font-size: 12px;
  }
  
  /* ExploreCategory adjustments (already handled separately) */
  .ExploreCategory_list_item {
    width: 130px;
    padding: 12px;
  }
  
  .ExploreCategory_list_item img {
    max-height: 80px;
    object-fit: contain;
  }
  
  .ExploreCategory_list_item p {
    font-size: 14px;
  }
  
  .ExploreCategory_list {
    gap: 15px;
  }
  
  .ExploreCategory_list_item.projets img {
    max-height: 50px;
    width: 50px;
    margin: 0 auto 10px auto;
  }
  
  .ExploreCategory_list_item.projets {
    width: 120px;
    padding: 10px;
  }
  
  /* Home page margin adjustment */
  .home {
    margin-top: 80px;
  }
  
  /* Login Page adjustments */
  .login-page {
    width: 80%;
    max-width: 1000px;
    height: 50vh;
    min-height: 180px;
    margin: 80px auto 15px auto;
  }
  
  .login-left {
    padding: 20px 30px;
    gap: 12px;
  }
  
  .login-left h1 {
    font-size: 24px;
    margin-bottom: 6px;
  }
  
  .login-left h1::after {
    width: 50px;
    height: 2px;
  }
  
  .login-left-input {
    gap: 1.2rem;
    max-width: 350px;
  }
  
  .login-left-input label {
    font-size: 13px;
  }
  
  .login-left-input input[type="text"],
  .login-left-input input[type="email"],
  .login-left-input input[type="password"] {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .login-assets {
    gap: 15px;
    margin: 10px 0;
  }
  
  .login-assets img {
    width: 18px;
    height: 18px;
  }
  
  .login-checkbox {
    margin: 15px 0;
    gap: 10px;
  }
  
  .login-checkbox .a,
  .login-checkbox .b {
    padding: 6px;
    gap: 6px;
  }
  
  .login-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
  
  .login-checkbox label {
    font-size: 12px;
  }
  
  button {
    padding: 8px 25px;
    font-size: 13px;
    min-width: 100px;
  }
  
  .login-right-box {
    padding: 15px;
    width: 280px;
  }
  
  .login-right-box-info h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .login-right-box-info p {
    font-size: 12px;
    padding: 0 8px;
  }
  
  .EmailInput {
    margin-bottom: 15px;
  }
  
  .EmailInput label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .EmailInput input {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .passwordInput {
    margin-bottom: 0.8rem;
  }
  
  .passwordInput label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .passwordInput input {
    padding: 12px;
    padding-right: 40px;
    font-size: 13px;
  }
  
  .eye, .hide {
    right: 14px;
    top: 38px;
    width: 16px;
    height: 16px;
  }
  
  .ErreurMessage {
    font-size: 11px;
    margin-top: 3px;
  }
  
  .signup-link p {
    font-size: 13px;
  }
}

/* ===== STYLES POUR MOBILE ===== */
/* Tablettes (768px et moins) */
@media screen and (max-width: 768px) {
  /* Navbar mobile */
  .navbar {
    padding: 8px 10px;
    flex-direction: column;
    gap: 10px;
    height: auto;
    position: relative;
  }
  
  .navbar_right {
    order: 1;
    width: 100%;
    justify-content: center;
  }
  
  .logo {
    font-size: 28px;
  }
  
  .navbar_center {
    order: 2;
    flex: 1;
    width: 100%;
    height: 45px;
    margin: 5px 0;
  }
  
  .navbar_centre_box {
    gap: 8px;
  }
  
  .box_item-right img {
    height: 25px;
  }
  
  .box_item-centre .main-search {
    font-size: 12px;
  }
  
  .box_item-centre p {
    font-size: 8px;
  }
  
  .navbar_left {
    order: 3;
    flex: 1;
    width: 100%;
    justify-content: center;
    gap: 15px;
  }
  
  .box-item {
    height: 30px;
    padding: 6px 15px;
    font-size: 11px;
  }
  
  .box-item img {
    height: 16px;
  }
  
  .box-item p {
    font-size: 11px;
  }
  
  .deconnecte img {
    width: 18px;
    height: 18px;
  }
  
  .deconnecte p {
    font-size: 0.9rem;
  }
  
  /* Header/Swiper mobile */
  .container {
    padding: 2rem 0.5rem;
  }
  
  .swiper_container {
    height: 35rem;
    padding: 1rem 0;
  }
  
  .swiper-slide {
    width: 25rem;
    height: 28rem;
  }
  
  /* Info section mobile */
  .Images {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .ImageRight {
    margin-left: 0;
    width: 100%;
    height: 300px;
  }
  
  .ImageRight h1 {
    font-size: 1.1rem;
    margin-left: 0;
    margin-top: 120px;
    text-align: center;
  }
  
  .ImageRight button {
    width: 100px;
    margin-left: 0;
    margin-bottom: 80px;
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .derection {
    width: 100%;
  }
  
  .ImgLeft {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
  }
  
  .ImgLeft button {
    width: 100px;
    height: 30px;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .ImgButtom {
    width: 100%;
    height: 150px;
  }
  
  /* ExploreItem mobile */
  .ExploreItem h1 {
    margin-left: 20px;
    font-size: 16px;
  }
  
  .ExploreItem_list {
    margin: 20px;
    margin-top: 15px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  
  .ExploreItem_box {
    width: 100%;
    margin: 5px;
  }
  
  .ExlopreItem_box_Img {
    height: 180px;
  }
  
  .ExlopreItem_box_Info .text {
    font-size: 12px;
  }
  
  .ExlopreItem_box_Info .price {
    font-size: 11px;
  }
  
  /* ExploreCategory mobile */
  .ExploreCategory {
    padding: 15px;
  }
  
  .ExploreCategory_text {
    margin-left: 20px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .ExploreCategory_list {
    gap: 10px;
  }
  
  .ExploreCategory_list_item {
    width: 100px;
    padding: 8px;
  }
  
  .ExploreCategory_list_item img {
    max-height: 60px;
  }
  
  .ExploreCategory_list_item p {
    font-size: 12px;
  }
  
  .ExploreCategory_list_item.projets img {
    max-height: 40px;
    width: 40px;
  }
  
  .ExploreCategory_list_item.projets {
    width: 90px;
    padding: 6px;
  }
  
  /* AppDownload mobile */
  .appdownload {
    margin-top: 30px;
    font-size: 28px;
  }
  
  .appdownload p {
    font-size: 24px;
  }
  
  .app-download-platforms {
    height: 50px;
    margin-top: 30px;
    gap: 10px;
  }
  
  .app-download-platforms img {
    height: 100%;
    width: auto;
  }
  
  /* Footer mobile */
  .footer {
    margin-top: 30px;
    padding: 25px 15px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-content-left,
  .footer-content-center,
  .footer-content-right {
    min-width: 100%;
    text-align: center;
  }
  
  .footer-content-left .logo {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .footer-content-left p {
    font-size: 13px;
  }
  
  .footer-social-icons {
    justify-content: center;
    margin-top: 12px;
  }
  
  .footer-social-icons a {
    margin: 0 8px;
    width: 25px;
    height: 25px;
  }
  
  .footer-content-center h2,
  .footer-content-right h2 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .footer-content-center ul li,
  .footer-content-right ul li {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .fotter-copyright {
    font-size: 11px;
    margin-top: 8px;
  }
  
  /* FiltreAvance mobile */
  .FiltreAvance {
    margin-top: 100px;
    flex-direction: column;
    padding: 15px;
  }
  
  .FiltreAvance_left {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .FiltreAvance_right {
    margin-left: 0;
    padding: 8px;
  }
  
  .FiltreAvance_featured {
    padding: 1rem;
  }
  
  .FiltreAvance_featured h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .FiltreAvance_cards {
    height: 280px;
  }
  
  .FiltreAvance_card img {
    max-height: 200px;
  }
  
  .FiltreAvance_card p {
    font-size: 1rem;
  }
  
  .FiltreAvance_buttom {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    margin-top: 20px;
    gap: 10px;
  }
  
  .buttom h2 {
    font-size: 18px;
    margin-left: 0;
    margin-top: 10px;
  }
  
  /* Filtre mobile */
  .hader_left {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .fitre_header {
    font-size: 16px;
  }
  
  .fitre_header_right {
    font-size: 12px;
  }
  
  .price-range {
    flex-direction: column;
    gap: 8px;
  }
  
  .price-range input {
    padding: 8px;
    font-size: 13px;
  }
  
  select {
    padding: 8px;
    font-size: 13px;
  }
  
  .filter-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
  }
  
  /* Home page margin mobile */
  .home {
    margin-top: 120px;
  }
  
  /* Login Page mobile */
  .login-page {
    width: 95%;
    height: auto;
    min-height: 400px;
    margin: 100px auto 15px auto;
    flex-direction: column;
  }
  
  .login-left {
    flex: 1;
    padding: 15px 20px;
    gap: 10px;
  }
  
  .login-left h1 {
    font-size: 20px;
    margin-bottom: 5px;
  }
  
  .login-left h1::after {
    width: 40px;
    height: 2px;
  }
  
  .login-left-input {
    gap: 1rem;
    max-width: 100%;
  }
  
  .login-left-input label {
    font-size: 12px;
  }
  
  .login-left-input input[type="text"],
  .login-left-input input[type="email"],
  .login-left-input input[type="password"] {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  .login-assets {
    gap: 12px;
    margin: 8px 0;
  }
  
  .login-assets img {
    width: 16px;
    height: 16px;
  }
  
  .login-checkbox {
    margin: 12px 0;
    gap: 8px;
  }
  
  .login-checkbox .a,
  .login-checkbox .b {
    padding: 5px;
    gap: 5px;
  }
  
  .login-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
  }
  
  .login-checkbox label {
    font-size: 11px;
  }
  
  button {
    padding: 10px 20px;
    font-size: 12px;
    min-width: 90px;
  }
  
  .login-right {
    flex: 1;
    min-height: 200px;
  }
  
  .login-right-box {
    padding: 12px;
    width: 90%;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
  }
  
  .login-right-box-info h1 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .login-right-box-info p {
    font-size: 11px;
    padding: 0 5px;
  }
  
  .EmailInput {
    margin-bottom: 12px;
  }
  
  .EmailInput label {
    font-size: 12px;
    margin-bottom: 5px;
  }
  
  .EmailInput input {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .passwordInput {
    margin-bottom: 0.6rem;
  }
  
  .passwordInput label {
    font-size: 12px;
    margin-bottom: 5px;
  }
  
  .passwordInput input {
    padding: 10px;
    padding-right: 35px;
    font-size: 12px;
  }
  
  .eye, .hide {
    right: 12px;
    top: 35px;
    width: 14px;
    height: 14px;
  }
  
  .ErreurMessage {
    font-size: 10px;
    margin-top: 2px;
  }
  
  .signup-link p {
    font-size: 12px;
  }
}

/* Téléphones portables (480px et moins) */
@media screen and (max-width: 480px) {
  /* Navbar très petit mobile */
  .navbar {
    padding: 5px 8px;
    gap: 8px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .navbar_center {
    height: 40px;
  }
  
  .box_item-right img {
    height: 20px;
  }
  
  .box_item-centre .main-search {
    font-size: 11px;
  }
  
  .box_item-centre p {
    font-size: 7px;
  }
  
  .box-item {
    height: 28px;
    padding: 5px 12px;
    font-size: 10px;
  }
  
  .box-item img {
    height: 14px;
  }
  
  .box-item p {
    font-size: 10px;
  }
  
  .deconnecte img {
    width: 16px;
    height: 16px;
  }
  
  .deconnecte p {
    font-size: 0.8rem;
  }
  
  /* Header/Swiper très petit mobile */
  .container {
    padding: 1.5rem 0.3rem;
  }
  
  .swiper_container {
    height: 30rem;
    padding: 0.8rem 0;
  }
  
  .swiper-slide {
    width: 20rem;
    height: 24rem;
  }
  
  /* Info section très petit mobile */
  .Images {
    padding: 0.8rem;
    gap: 0.8rem;
  }
  
  .ImageRight {
    height: 250px;
  }
  
  .ImageRight h1 {
    font-size: 1rem;
    margin-top: 100px;
  }
  
  .ImageRight button {
    width: 80px;
    margin-bottom: 60px;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  
  .ImgLeft {
    height: 120px;
  }
  
  .ImgLeft button {
    width: 80px;
    height: 25px;
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .ImgButtom {
    height: 120px;
  }
  
  /* ExploreItem très petit mobile */
  .ExploreItem h1 {
    margin-left: 15px;
    font-size: 14px;
  }
  
  .ExploreItem_list {
    margin: 15px;
    margin-top: 10px;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
  
  .ExploreItem_box {
    margin: 3px;
  }
  
  .ExlopreItem_box_Img {
    height: 150px;
  }
  
  .ExlopreItem_box_Info .text {
    font-size: 11px;
  }
  
  .ExlopreItem_box_Info .price {
    font-size: 10px;
  }
  
  /* ExploreCategory très petit mobile */
  .ExploreCategory {
    padding: 10px;
  }
  
  .ExploreCategory_text {
    margin-left: 15px;
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .ExploreCategory_list {
    gap: 8px;
  }
  
  .ExploreCategory_list_item {
    width: 80px;
    padding: 6px;
  }
  
  .ExploreCategory_list_item img {
    max-height: 50px;
  }
  
  .ExploreCategory_list_item p {
    font-size: 10px;
  }
  
  .ExploreCategory_list_item.projets img {
    max-height: 35px;
    width: 35px;
  }
  
  .ExploreCategory_list_item.projets {
    width: 75px;
    padding: 4px;
  }
  
  /* AppDownload très petit mobile */
  .appdownload {
    margin-top: 25px;
    font-size: 24px;
  }
  
  .appdownload p {
    font-size: 20px;
  }
  
  .app-download-platforms {
    height: 40px;
    margin-top: 25px;
    gap: 8px;
  }
  
  /* Footer très petit mobile */
  .footer {
    margin-top: 25px;
    padding: 20px 10px;
  }
  
  .footer-content {
    gap: 12px;
  }
  
  .footer-content-left .logo {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .footer-content-left p {
    font-size: 12px;
  }
  
  .footer-social-icons a {
    margin: 0 6px;
    width: 22px;
    height: 22px;
  }
  
  .footer-content-center h2,
  .footer-content-right h2 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .footer-content-center ul li,
  .footer-content-right ul li {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .fotter-copyright {
    font-size: 10px;
    margin-top: 6px;
  }
  
  /* FiltreAvance très petit mobile */
  .FiltreAvance {
    margin-top: 120px;
    padding: 10px;
  }
  
  .FiltreAvance_featured {
    padding: 0.8rem;
  }
  
  .FiltreAvance_featured h1 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .FiltreAvance_cards {
    height: 220px;
  }
  
  .FiltreAvance_card img {
    max-height: 150px;
  }
  
  .FiltreAvance_card p {
    font-size: 0.9rem;
  }
  
  .FiltreAvance_buttom {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    margin-top: 15px;
    gap: 8px;
  }
  
  .buttom h2 {
    font-size: 16px;
    margin-top: 8px;
  }
  
  /* Filtre très petit mobile */
  .hader_left {
    padding: 15px;
    gap: 25px;
  }
  
  .fitre_header {
    font-size: 14px;
  }
  
  .fitre_header_right {
    font-size: 11px;
  }
  
  .price-range input {
    padding: 6px;
    font-size: 12px;
  }
  
  select {
    padding: 6px;
    font-size: 12px;
  }
  
  .filter-footer {
    font-size: 12px;
    gap: 6px;
  }
  
  /* Home page margin très petit mobile */
  .home {
    margin-top: 140px;
  }
  
  /* Login Page très petit mobile */
  .login-page {
    width: 98%;
    margin: 120px auto 15px auto;
  }
  
  .login-left {
    padding: 12px 15px;
    gap: 8px;
  }
  
  .login-left h1 {
    font-size: 18px;
    margin-bottom: 4px;
  }
  
  .login-left h1::after {
    width: 35px;
    height: 1px;
  }
  
  .login-left-input {
    gap: 0.8rem;
  }
  
  .login-left-input label {
    font-size: 11px;
  }
  
  .login-left-input input[type="text"],
  .login-left-input input[type="email"],
  .login-left-input input[type="password"] {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .login-assets {
    gap: 10px;
    margin: 6px 0;
  }
  
  .login-assets img {
    width: 14px;
    height: 14px;
  }
  
  .login-checkbox {
    margin: 10px 0;
    gap: 6px;
  }
  
  .login-checkbox .a,
  .login-checkbox .b {
    padding: 4px;
    gap: 4px;
  }
  
  .login-checkbox input[type="checkbox"] {
    width: 12px;
    height: 12px;
  }
  
  .login-checkbox label {
    font-size: 10px;
  }
  
  button {
    padding: 8px 16px;
    font-size: 11px;
    min-width: 80px;
  }
  
  .login-right {
    min-height: 150px;
  }
  
  .login-right-box {
    padding: 10px;
    width: 95%;
  }
  
  .login-right-box-info h1 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .login-right-box-info p {
    font-size: 10px;
    padding: 0 3px;
  }
  
  .EmailInput {
    margin-bottom: 10px;
  }
  
  .EmailInput label {
    font-size: 11px;
    margin-bottom: 4px;
  }
  
  .EmailInput input {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .passwordInput {
    margin-bottom: 0.5rem;
  }
  
  .passwordInput label {
    font-size: 11px;
    margin-bottom: 4px;
  }
  
  .passwordInput input {
    padding: 8px;
    padding-right: 30px;
    font-size: 11px;
  }
  
  .eye, .hide {
    right: 10px;
    top: 32px;
    width: 12px;
    height: 12px;
  }
  
  .ErreurMessage {
    font-size: 9px;
    margin-top: 1px;
  }
  
  .signup-link p {
    font-size: 11px;
  }
}