@media (prefers-color-scheme: dark) {
  html {
    background-color: #fff !important;
    color-scheme: only light;
  }

  body, body * {
    background: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
  }
}


/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  color-scheme: light only;
  /*========== Font size ==========*/
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(23.3deg 55.68% 63.73%);
  --first-color-alt: hsl(23.3deg 55.68% 63.73%);
  --first-color-light: hsl(26, 35%, 53%);
  --first-color-lighten: hsl(228, 100%, 97%);
  --second-color: hsl(23.3deg 55.68% 63.73%);
  --title-color: hsl(0, 0%, 22%);
  --text-color: hsl(0, 0%, 19%);
  --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;
    --biggest-font-pepe: 3.5rem;
    --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,
  body {
    min-height: 100vh;
    font-family: "Sora";
    background: var(--bg-base);
    color: var(--text-color);
    scroll-behavior: smooth;
    scrollbar-color: #f1a541 transparent;
    scrollbar-width: thin;
  }

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(228, 66%, 62%);
  --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%);
}

/*========== 
    Color changes in some parts of 
    the website, in dark theme 
==========*/
.dark-theme .home__search,
.dark-theme .swiper-button-next,
.dark-theme .swiper-button-prev {
  border: 3px solid var(--border-color);
}

.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(--second-color);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--second-color);
}

.main {
  overflow: visible; /* For the animations ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: .4s; /* For animation dark mode */
}
/* ========== MENU RESPONSIVE ========== */
.nav__menu {
  display: none; /* Caché par défaut */
}
.nav__buttons {
  position: fixed;
  right: 1rem;
  top: 1.2rem;
  font-size: 2rem;
  cursor: pointer;
}
/* Stylisation du bouton hamburger */
/* Style du bouton menu (☰) */
.nav__toggle {
  display: block; /* Visible par défaut */
}
.nav__close {
  display: none; /* Caché par défaut */
}

/* Afficher le menu lorsqu'il est actif */
.nav__menu.show {
  right: 0;
}

/* MENU BAS FIXE */
.bottom-menu {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: white;
  padding: 1rem 0;
  text-align: center;
  transition: transform 0.4s ease-in-out;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}

/* LISTE DES ICONES DU MENU BAS */
.bottom-menu__list {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
}

.bottom-menu__list li {
  font-size: 1.5rem;
}

/* CLASSE POUR AFFICHER LE MENU BAS */
.bottom-menu.open {
  transform: translateY(-100%);
}

/* RESPONSIVE - ACTIVER LE BOUTON MENU */
@media screen and (max-width: 768px) {
  .nav__toggle {
      display: block;
  }

  .nav__menu {
      display: none;
  }
}


.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.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);
}

.nav__menu.show-menu {
  display: block;
}

@media screen and (max-width: 1024px) {
  .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;
  }

  .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;
  }
}

/* Bouton Fermer */
.nav__close {
  font-size: 2rem;
  cursor: pointer;
  display: none; /* Caché par défaut */
  position: fixed;
  top: 1rem;
  right: 1rem;
}


/* RESPONSIVE - Afficher le menu seulement sur mobile */
@media screen and (min-width: 1024px) {
  .nav__menu {
      display: block; /* Toujours visible sur grand écran */
  }

  .nav__toggle,
  .nav__close {
      display: none; /* Pas besoin des boutons sur grand écran */
  }
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 1px 4px hsla(228, 4%, 15%, .1);
}

.scroll-header .nav__logo {
  color: var(--first-color);
}

.scroll-header .change-theme {
  color: var(--title-color);
}

/* Active link */
.active-link {
  background: linear-gradient(101deg,
                hsl(23.3deg 55.68% 63.73%),
                hsl(26, 35%, 53%));
  color: #fff;
  box-shadow: 0 4px 8px hsla(228, 66%, 45%, .25);
}

/*=============== HOME ===============*/
.home {
  background: linear-gradient(170deg, 
                hsl(0, 0%, 22%) 0%,
                hsl(0, 0%, 6%) 30%);
  padding-bottom: 0;
}

.home__container {
  padding-top: 4rem;
  row-gap: 3.5rem;
  /*text-align: center;*/
}

.home__title, 
.home__value-number {
  color: #fff;
}

.home__title {
  font-size: var(--biggest-font-pepe);
  line-height: 120%;
  margin-bottom: 1.25rem;
  /*text-align: center;*/
}

.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;
}

.home__search i {
  font-size: 1.2rem;
  color: #fff;
}

.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;                 
    gap: 20px;                  
}

/* Styles des icônes */
.home__value a i {
    font-size: 2rem;            
    color: white;      
    background-color: transparent;  
    border-radius: 50%;              
    padding: 10px;                  
    border: 3px solid rgba(128, 128, 128, 0.3); 
    transition: 0.3s ease;    
    cursor: pointer;      
}

.home__value a i:hover {
    background-color: var(--first-color);
    color: white;                      
    transform: scale(1.1);             
}

.home__value-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
}

.home__value-number span {
  color: hsl(23, 45%, 58%);
}

.home__value-description {
  display: flex;
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
}

.home__images {
  position: relative;
  display: flex;
  justify-content: center;
}

.home__orbe {
  width: 257px;
  height: 287px;
  background: linear-gradient(180deg,
                    hsl(0, 0%, 16%) 93%,
                    hsl(0, 0%, 67%) 100%);
  border-radius: 135px 135px 0 0;
}

.home__orbe__1 {
  width: 206px;
  height: 287px;
  background: linear-gradient(180deg,
                    hsl(0, 0%, 16%) 93%,
                    hsl(0, 0%, 67%) 100%);
  border-radius: 135px 135px 0 0;
}

.home__orbe__5 {
  width: 260px;
  height: 291px;
  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;
  align-items: flex-end;
  max-width: 108%;
  bottom: -1.5rem;
  box-shadow: 0 16px 32px hsla(228, 66%, 25%, .25);
}

.home_img_specific {
    max-width: 108%; 
    height: auto;    
}

/* Nouvelle section pour les statistiques */
.home__stats {
  display: flex;
  gap: 20px; 
  justify-content: left;
}

.home__stats-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
}

.home__stats-number span {
  color: hsl(23, 45%, 58%);
}

.home__stats-description {
  display: flex;
  color: var(--text-color-light);
  font-size: var(--smaller-font-size);
  text-align: center;
  margin-bottom: 2rem; /* Espace en dessous de l'élément */

}

.home__stats-number{
  font-weight: 600;
  color: #fff;
  text-align: center;  /* Centre l'élément en responsive */
}


/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background: var(--first-color);
  color: #fff;
  padding: 14px 28px;
  border-radius: .5rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  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: none;
}

/*=============== LOGOS ===============*/
.logos__container {
  padding-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  justify-items: center;
}

.logos__img img {
  height: 60px;
  opacity: .2;
  transition: .3s;
}

.logos__img img:hover {
  opacity: .6;
}



/*=============== FOOTER ===============*/

/* Section globale du footer */
.footer {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}
/* Le bloc qui contient la vague */
.footer__wave {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
/* Conteneur principal (grid) qui accueille le logo + colonnes de liens */
.footer__container {
  position: relative;
  z-index: 2;
}

/* Nom / Logo principal du footer */
.footer__logo {
  color: var(--first-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: .75rem;
  text-decoration: none; /* si tu ne veux pas de soulignement */
}

.footer__logo-img {
  display: block;         /* Pour éviter le comportement inline */
  max-width: 80px;        /* Ajuste la taille du logo */
  height: auto;           /* Conserve le ratio */
}

.footer__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: 1rem; /* Espace en dessous du descriptif */
}

/* Bloc qui contient toutes les colonnes de liens (Découvrir, Informations, etc.) */
.footer__content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Titre des colonnes (ex: Découvrir, Informations, etc.) */
.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
  color: var(--title-color);
}

/* Liste de liens à l’intérieur de chaque colonne */
.footer__links {
  display: grid;
  row-gap: .5rem;
}

/* Style de base des liens */
.footer__link {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: .3s;
  text-decoration: none;
}

/* Effet au survol */
.footer__link:hover {
  color: var(--first-color);
}

/* Réseaux sociaux */
.footer__social {
  display: flex;
  gap: 1rem;
}

/* Icônes des réseaux sociaux */
.footer__social-link {
  font-size: 1.25rem;
  color: var(--text-color);
  transition: .3s;
}

.footer__social-link:hover {
  color: var(--first-color);
}

/* Infos du bas : copyright, etc. */
.footer__info {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 1rem; /* Espace si le texte se met à la ligne sur mobile */
}

/* Paragraphe (mention de droits) */
.footer__copy {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
}

/* Lien vers NetNovate ou autre */
.footer__credit-link {
  color: var(--first-color);
  text-decoration: none;
  transition: .3s;
}
.footer__credit-link:hover {
  color: #00000046; /* Ou la couleur que tu souhaites au hover */
}

/* Liens de politique / conditions */
.footer__privacy {
  display: flex;
  column-gap: 1.25rem;
}

.footer__privacy a {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  text-decoration: none;
  transition: .3s;
}
.footer__privacy a:hover {
  color: var(--first-color);
}

/*===== BREAKPOINTS EXEMPLES (si tu veux du responsive plus poussé) =====*/

/* Sur un écran plus large, tu peux augmenter la taille du grid en modifiant .footer__content. 
   Exemple : 2 ou 3 colonnes fixes au lieu de auto-fit. 
*/
@media screen and (min-width: 768px) {
  .footer__content {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(228, 8%, 76%);
}

::-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%, 45%, .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: 280px;
  }
  .home__orbe {
    width: 240px;
    height: 264px;
  }

  .home__orbe__1 {
    width: 240px;
    height: 264px;
  }

  .home__orbe__5 {
    width: 240px;
    height: 264px;
  }

  .logos__container {
    gap: 2rem 1rem;
  }

  .popular__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__orbe__1 {
    align-self: flex-end;
  }
  .home__orbe__5 {
    align-self: flex-end;
  }
  .home__data {
    padding-bottom: 2rem;
  }

  .logos__container {
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
  }

  .value__container,
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .contact__images {
    order: 1;
  }
  .contact__card {
    justify-content: initial;
  }

  .subscribe__container {
    padding: 3rem 13rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .section {
    padding: 7.5rem  0 6rem;
  }
  .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);
    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);
  }

  .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: 2.1rem;
  }
  .home__orbe {
    width: 504px;
    height: 611px;
    border-radius: 256px 256px 0 0;
  }
  .home__orbe__1 {
    width: 504px;
    height: 611px;
    border-radius: 256px 256px 0 0;
  }
  .home__orbe__5 {
    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: 320px;
    padding: .75rem .75rem 2rem;
  }
  .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: 641px;
    border-radius: 258px 258px 16px 16px;
  }
  .value__img,
  .contact__img {
    width: 461px;
    height: 601px;
    border-radius: 238px 238px 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 {
    grid-template-columns: repeat(2, 200px);
  }
  .contact__card-box {
    padding: 28px 1.5rem 1.5rem;
  }

  .subscribe__container {
    padding: 4rem 10rem 4.5rem;
    border-radius: 2rem;
    border: 12px solid hsl(240, 9%, 91%);
  }
  .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(4, max-content);
  }
  .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-left: auto;
    margin-right: 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;
  }
}

/* Image resolution télphone, tablette, ordinateur correct */
@media (max-width: 768px) {
  .home__img img,
  .article img {
    max-height: 300px; 
    object-fit: contain;
  }
}

@media (max-width: 1024px) {
  .article img,
  .home__img img {
    max-height: 300px;
    object-fit: contain;
  }
}
/* Pour centrer les éléments sur mobile */
@media screen and (max-width: 768px) {
    .home__value {
      display: flex;
      justify-content: center; /* Centrer les éléments verticalement */    
      gap: 15px;               /* Espacement entre les icônes */
      padding: 10px;           /* Espacement autour des icônes */
    }
  
    /* Styles des icônes de réseaux sociaux */
    .home__value a i {
      font-size: 1.2rem;         /* Ajuste la taille des icônes */
      padding: 12px;           /* Ajuste l'espacement autour des icônes */
      border-radius: 50%;      /* Icônes rondes */
      background-color: transparent;
      border: 3px solid rgba(128, 128, 128, 0.3); /* Bord gris transparent */
      transition: 0.3s ease;   /* Transition fluide */
      cursor: pointer;
    }
  
    .home__value a i:hover {
      background-color: var(--first-color);
      color: white;
      transform: scale(1.1);    /* Effet d'agrandissement au survol */
    }
  
    /* Pour les images sur mobile */
    .some-other-class img {
      max-height: 300px;       /* Limite la hauteur pour mobile */
      width: 100%;             /* L'image s'ajuste à la largeur disponible */
      object-fit: contain;     /* Garde les proportions de l'image */
    }
    /* Assure-toi que l'élément qui contient le footer est bien centré */
footer {
    display: flex;
    justify-content: center;    /* Centre horizontalement */
    align-items: center;        /* Centre verticalement */
    flex-direction: column;     /* Organise les éléments en colonne */
    text-align: center;         /* Centre le texte */
    padding: 2rem;              /* Espacement autour du footer */
  }
  
  /* Pour centrer les éléments à l'intérieur des sections (ex: About, Company, etc.) */
  footer .footer__container {
    display: flex;
    flex-direction: column;     /* Met les éléments les uns sous les autres */
    justify-content: center;    /* Centre les éléments */
    align-items: center;        /* Centre les éléments */
    gap: 2rem;                  /* Espacement entre les éléments */
  }
  
  /* Si tu veux que chaque icône de réseau social soit centrée */
  footer .footer__social {
    display: flex;
    justify-content: center;
    column-gap: 2rem;           /* Espacement entre les icônes */
  }
  
  /* Pour les liens dans le footer, les centrer également */
  footer .footer__link {
    display: flex;
    justify-content: center;
    text-align: center;
    column-gap: 2rem;
  }
  
  }

 /*==================== JUG-INSPIRE ====================*/
.JUG-inspire {
  position: relative;
  background: linear-gradient(135deg, rgba(209, 154, 117, 0.9), rgba(165, 93, 45, 0.9)); /* Dégradé orange */
  padding: 5rem 20px;
  text-align: center;
  overflow: hidden;
  border-radius: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Arrière-plan quadrillé */
.JUG-inspire__grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px; /* Taille des carrés */
  opacity: 0.7; /* Effet subtil */
  z-index: 1;
  pointer-events: none; 
}

/* Effet de flou sur tout l'arrière-plan */
.JUG-inspire__blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px); /* Applique le flou */
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.2; /* Reste subtil */
  z-index: 2;
  pointer-events: none; 
}

/* Contenu principal */
.JUG-inspire__container {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: auto;
  color: #fff;
  gap: 2rem;
  position: relative;
  z-index: 3; /* Passe devant le flou */
}

/* Image circulaire avec effet */
.JUG-inspire__image {
  flex: 1;
  max-width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 5px solid rgba(255, 255, 255, 0.2);
}

.JUG-inspire__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu textuel */
.JUG-inspire__content {
  flex: 2;
  text-align: left;
}

.JUG-inspire__title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.JUG-inspire__date {
  font-size: 1rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 1rem;
}

.JUG-inspire__quote {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.6;
}

/*==================== RESPONSIVE ====================*/
@media screen and (max-width: 768px) {
  .JUG-inspire__container {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
      padding: 0 1.5rem; /* Ajout d’un padding pour éviter que le texte touche les bords */
  }

  .JUG-inspire__image {
      max-width: 120px;
      height: 120px;
      border-radius: 50%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .JUG-inspire__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%; /* Maintient l’image dans un cercle parfait */
  }

  .JUG-inspire__content {
      text-align: center;
      padding-left: 0; /* Enlève l’espace sur la gauche en mobile */
  }

  .JUG-inspire__title {
      font-size: 1.8rem;
  }

  .JUG-inspire__quote {
      font-size: 1rem;
  }
}

  /*==================== JUG-EXPOSITION ====================*/
.JUG-exposition {
  position: relative;
  background: #f5f5f5;
  padding: 6rem 0; /* Plus d'espace en haut et en bas */
  text-align: center;
  overflow: hidden; /* Assure que l'effet reste dans la section */
}

/* Ajout de l'effet quadrillage */
.JUG-exposition::before {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 40px 40px; /* Taille des carrés */
  opacity: 0.7; /* Effet subtil */
  z-index: 1;
}

/* Ajout du flou */
.JUG-exposition::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.2;
  z-index: 2;
}

/* Conteneur principal */
.JUG-exposition__container {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: auto;
  color: #333;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 3; /* Pour que le contenu soit au-dessus des effets */
}

/* Image de l'exposition */
.JUG-exposition__image {
  flex: 1;
  max-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.JUG-exposition__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenu de l'exposition */
.JUG-exposition__content {
  flex: 2;
  text-align: left;
}

.JUG-exposition__title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.JUG-exposition__date {
  font-size: 1rem;
  color: #777;
  display: block;
  margin-bottom: 1rem;
}

.JUG-exposition__description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.JUG-exposition__link {
  font-size: 1rem;
  color: var(--first-color);
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.JUG-exposition__link:hover {
  color: #2e2c2c;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .JUG-exposition__container {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
      padding: 0 1.5rem
  }

  .JUG-exposition__content {
      text-align: center;
  }
}
