/* =================================================================== */
/* ======================== STYLES GÉNÉRAUX ========================== */
/* =================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

:root {
  /* ========================================================= */
  /* === COULEURS PRINCIPALES (identité visuelle) ============ */
  /* ========================================================= */
  --color-primary: #278cff; /* Bleu principal (accent, gradient, liens) */
  --color-primary-dark: #003d87; /* Bleu foncé (fond, hover, titres forts) */
  --color-accent: #ff6600; /* Orange accent (texte animé, highlight) */
  --color-accent-hover: #ff9a41;
  /* ========================================================= */
  /* === COULEURS NEUTRES & DE FOND ========================== */
  /* ========================================================= */
  --color-bg-main: #141827; /* Fond général du site (sections, pages) */
  --color-bg-section: #142842; /* Bande bleutée (défilants, zones spéciales) */
  --color-bg-card: rgba(255, 255, 255, 0.1); /* Cartes & blocs transparents */
  --color-bg-overlay: rgba(0, 0, 0, 0.4); /* Overlay sombre / effet glass */
  --color-bg-gradient: linear-gradient(
    45deg,
    var(--color-primary),
    #4180d3,
    var(--color-primary-dark)
  ); /* Fond animé */
  --color-border: rgba(255, 255, 255, 0.2); /* Bordures légères */
  --color-border-strong: rgba(255, 255, 255, 0.4); /* Bordures plus visibles */

  /* ========================================================= */
  /* === COULEURS DE TEXTE =================================== */
  /* ========================================================= */
  --color-text: #ffffff; /* Texte principal */
  --color-text-antiquewhite: antiquewhite;
  --color-text-muted: rgba(
    255,
    255,
    255,
    0.75
  ); /* Sous-titres, infos secondaires */
  --color-text-accent: var(--color-accent); /* Texte mis en avant */
  --color-text-dark: #000000; /* Texte sombre sur fond clair */

  /* ========================================================= */
  /* === OMBRES & EFFETS ===================================== */
  /* ========================================================= */
  --shadow-light: rgba(0, 0, 0, 0.2);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --shadow-strong: rgba(0, 0, 0, 0.5);

  /* ========================================================= */
  /* === SCROLLBAR / DÉTAILS D'INTERFACE ===================== */
  /* ========================================================= */
  --scrollbar-thumb: #555;
  --scrollbar-thumb-hover: #888;
}

/* Reset et styles de base pour le body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

h1 {
  font-family: "Inter", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  color: var(--color-text);
  font-size: 45px;
  font-weight: 500;
}
/* Styles généraux pour les titres */
h2 {
  font-family: "Inter", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  color: var(--color-text);
}

h3 {
  font-family: "Inter", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  color: var(--color-text);
  font-size: small;
  font-family: Arial, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

/* Espacement personnalisé pour les <br> */
br {
  display: block;
  margin-bottom: 10px; /* espace sous le <br> */
}

p {
  font-family: "Inter", Impact, Haettenschweiler, "Arial Narrow Bold",
    sans-serif;
  color: var(--color-text);
}

.lien,
.lien:link,
.lien:visited,
.lien:active {
  text-decoration: none !important;
  color: var(--color-text) !important;
}

.lien:hover {
  text-decoration: underline !important;
  color: var(--color-text) !important;
}

.product-highlight {
  display: flex;
  flex-direction: column; /* empile h3 et img */
  align-items: center; /* centre horizontalement */
  width: 100%;
  box-sizing: border-box; /* inclut le padding dans la largeur */
  text-align: center;
}

.product-highlight h3 {
  color: var(--color-text);
  font-size: 1.5rem;
}

.product-highlight img {
  width: auto;
  height: auto;
  object-fit: contain;
}

/* === Bouton Scroll To Top === */
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 35px;
  right: 20px;
  padding: 15px;
  border: none;
  border-radius: 50%;
  background: rgba(37, 62, 227, 0.7);
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
  animation: pulse 2s infinite;
  z-index: 5000;
}

#scrollToTop:hover {
  background: #1e40af;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* =================================================================== */
/* ======================== ARRIÈRE-PLAN ============================ */
/* =================================================================== */

.background--custom {
  background:
    /* overlay sombre sur les côtés */ linear-gradient(
      to right,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0) 80%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    linear-gradient(45deg, #278cff, #4180d3, #003d87);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}
/* Animation du gradient d'arrière-plan */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* =================================================================== */
/* =================== HEADER ======================================== */
/* =================================================================== */
header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 9%;
  height: 5rem; /* fixe la hauteur */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0; /* ou top:0 si tu veux en haut */
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
}

.glassnav-cont {
  display: flex;
  flex-direction: row;
  position: absolute;
  align-items: center;
  height: 2rem;
  left: 50%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%); /* centre au milieu */
  overflow: hidden;
}

.glassnav-cont header img,
#menuToggle {
  margin: 0;
  padding: 0;
  height: 40px; /* ou auto selon le design */
  display: flex;
  align-items: center; /* centre verticalement le contenu interne */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

header .logo {
  display: flex;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin-right: auto;
}

header .logo-img {
  max-height: 5.5rem;
  height: auto;
  width: auto;
  filter: drop-shadow(0.5px 1px 1px rgba(0, 0, 0, 0.6));
}

/* =================================================================== */
/* ======================== MENU  ==================================== */
/* =================================================================== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  text-shadow: var(--shadow-light);
}

.right-placeholder {
  flex: 1; /* équilibre pour garder le menu vraiment au centre */
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: var(--color-text);
  border-radius: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 0.9rem;
  font-weight: bold;
}

.nav-list a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
/* ================================================================== */
/* ========================= MENU MOBILE ============================ */
/* ================================================================== */
#sidebarMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  margin-top: 4.4rem;
  border-radius: 2rem;
  transform: translateX(100%);
  transition: transform 250ms ease-in-out;
  background: linear-gradient(90deg, rgb(5, 54, 152) 0%, rgb(0, 29, 78) 100%);
  filter: saturate(45%);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.sidebarMenuInner {
  margin: 0;
  padding: 0;
  width: 100%; /* occupe tout le conteneur */
  text-align: right; /* aligne le contenu à droite */
}
.sidebarMenuInner li {
  list-style: none;
  color: #ffffff;
  text-transform: uppercase;
  border-radius: 1rem;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.sidebarMenuInner li span {
  display: block;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.4);
}
.sidebarMenuInner li a {
  color: #fff;
  text-transform: lowercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}
input[type="checkbox"]:checked ~ #sidebarMenu {
  transform: translateX(0);
}

input[type="checkbox"] {
  transition: all 0.3s;
  box-sizing: border-box;
  display: none;
}
.sidebarIconToggle {
  transition: all 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  height: 100%;
  width: 100%;
  top: 28px;
  right: 30px;
  height: 22px;
  width: 22px;
}
.spinner {
  transition: all 0.3s;
  box-sizing: border-box;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #fff;
}
.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}
.diagonal.part-1 {
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
  float: left;
}
.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}
input[type="checkbox"]:checked ~ .sidebarIconToggle > .horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  opacity: 0;
}
input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(135deg);
  margin-top: 8px;
}
input[type="checkbox"]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(-135deg);
  margin-top: -9px;
}
/* ============================================================== */
/* ================== RESPONSIVE MENU & HEADER ================== */
/* ============================================================== */

/* Tablette */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-list {
    gap: 1.5rem;
  }
}

/* =================================================================== */
/* =================== SECTION ACCUEIL =============================== */
/* =================================================================== */
.cta-container {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: calc(140px + 2rem); /* 90px = hauteur header */
  gap: 4rem;
  transform: none;
  align-items: center;
  text-align: center;
  z-index: 1;
  box-sizing: border-box;
  margin-bottom: 2rem;
} /* Styles pour le texte principal */

.text-container h2 {
  font-size: clamp(40px, 10vw, 130px);
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  animation: lights 5s 750ms linear infinite;
}
@keyframes lights {
  0% {
    color: hsl(210, 40%, 80%);
    text-shadow: 0 0 1em hsla(200, 90%, 60%, 0.2),
      0 0 0.125em hsla(210, 100%, 25%, 0.3),
      -1em -0.125em 0.5em hsla(180, 100%, 60%, 0),
      1em 0.125em 0.5em hsla(220, 100%, 60%, 0);
  }

  30% {
    color: hsl(210, 80%, 90%);
    text-shadow: 0 0 1em hsla(200, 100%, 73%, 0.5),
      0 0 0.125em hsla(210, 100%, 60%, 0.5),
      -0.5em -0.125em 0.25em hsla(180, 80%, 30%, 0.2),
      0.5em 0.125em 0.25em hsla(220, 100%, 60%, 0.4);
  }

  40% {
    color: hsl(210, 100%, 95%);
    text-shadow: 0 0 1em hsla(200, 100%, 80%, 0.5),
      0 0 0.125em hsla(210, 100%, 90%, 0.5),
      -0.25em -0.125em 0.125em hsla(180, 100%, 60%, 0.2),
      0.25em 0.125em 0.125em hsla(220, 100%, 60%, 0.4);
  }

  70% {
    color: hsl(210, 80%, 90%);
    text-shadow: 0 0 1em hsla(200, 100%, 70%, 0.5),
      0 0 0.125em hsla(210, 100%, 60%, 0.5),
      0.5em -0.125em 0.25em hsla(180, 100%, 60%, 0.2),
      -0.5em 0.125em 0.25em hsla(220, 100%, 60%, 0.4);
  }

  100% {
    color: hsl(210, 40%, 80%);
    text-shadow: 0 0 1em hsla(200, 100%, 50%, 0.2),
      0 0 0.125em hsla(210, 100%, 60%, 0.3),
      1em -0.125em 0.5em hsla(180, 100%, 60%, 0),
      -1em 0.125em 0.5em hsla(220, 100%, 60%, 0);
  }
}

.text-container p {
  font-size: clamp(1rem, 3vw, 1.4rem);
  margin: 20px 0 0 0;
  color: rgba(255, 255, 255, 0.9);
}
/* =================================================================== */
/* =================== ANIMATION TEXTE CHANGEANT ==================== */
/* =================================================================== */

.text-anime {
  background-color: #003881;
  height: 3rem;
  text-align: center;
  align-content: center;
  border: 0.2px solid var(--color-border);
}

.text-anime h3 {
  color: var(--color-text);
  font-size: 1rem;
  padding: 0 5rem;
}

/* Texte qui change avec animation (highlight) */
.highlight {
  display: inline; /* pas d'inline-block => baseline identique */
  position: relative; /* pour positionner le curseur */
  color: var(--color-accent);
  font-weight: bold;
  white-space: nowrap;
  line-height: inherit; /* même hauteur de ligne que le texte autour */
  vertical-align: baseline; /* force l'alignement sur la baseline */
  border-right: 0; /* on ne met plus de border qui décale */
}

/* Curseur séparé, ne change pas la métrique du texte */
.highlight::after {
  content: "";
  position: absolute;
  right: -0.25ch; /* léger espace après le mot */
  top: 0;
  height: 1em; /* suit la hauteur de la ligne */
  width: 2px;
  background: currentColor;
  animation: blink 0.7s infinite;
}

/* Animation du curseur qui clignote */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* =================================================================== */
/* ========================== LES BOUTONS ============================ */
/* =================================================================== */

/* Conteneur des boutons */
.button-container {
  display: flex;
  gap: 4rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Wrapper principal du bouton avec effet 3D */
.btn-wrapper {
  --width: 220px;
  --height: 60px;
  --padding: 8px;
  --border-radius: 24px;
  --dot-size: 8px;
  --btn-color: #e4e4e4;
  --hue: 142deg;
  --animation-duration: 1.2s;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--width);
  height: var(--height);
  border-radius: var(--border-radius);
  border: none;

  background-color: #00000008;

  box-shadow: 1px 1px 2px 0 #fffd, 2px 2px 2px #0001 inset,
    2px 2px 4px #0001 inset, 2px 2px 8px #0001 inset;

  transition: box-shadow 50ms linear;

  perspective: 150px;
  perspective-origin: center;

  user-select: none;
  z-index: 1;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25em;
  text-align: left;
  padding: 0 var(--height) 0 calc(var(--padding) * 2);

  width: calc(100% - 2 * var(--padding));
  height: calc(100% - 2 * var(--padding));
  border-radius: calc(var(--border-radius) - var(--padding));
  border: none;
  cursor: pointer;

  background: linear-gradient(#fff2, #0001), var(--btn-color);

  box-shadow: 1px 1px 2px -1px #fff inset, 0 2px 1px #00000010,
    0 4px 2px #00000010, 0 8px 4px #00000010, 0 16px 8px #00000010,
    0 32px 16px #00000010;

  transition: transform 0.25s cubic-bezier(0.25, 1.5, 0.5, 2.2),
    box-shadow 0.25s cubic-bezier(0.25, 1.5, 0.5, 1),
    filter 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
  will-change: transform, filter;

  z-index: 2;
}

.btn-txt {
  display: inline-block;

  font-size: 16px;
  font-weight: 500;
  font-family: "Montserrat", "Manrope", sans-serif;

  color: #5550;
  background-image: linear-gradient(#000a, #555);
  background-clip: text;
  filter: drop-shadow(0 1px 0px #fff) drop-shadow(0 -1px 0px #0005);
}

.disclaimer-txt {
  position: absolute;
  left: var(--border-radius);
  bottom: -24px;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: 12px;
  color: #0009;
}

.dot {
  position: absolute;
  top: calc(50% - var(--dot-size) / 2);
  right: calc(var(--height) / 2 - var(--padding) / 2);
  width: var(--dot-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: hsla(var(--hue), 0%, 50%, 0.1);

  border: 1px solid hsla(var(--hue), 0%, 60%, 0.6);
  box-sizing: border-box;

  box-shadow: 1px 1px 2px -1px #fffe inset, 0 2px 1px #00000010,
    0 4px 2px #00000010, 0 8px 4px #00000010;

  pointer-events: none;
  z-index: 3;
}

.dot::before {
  content: "";
  position: absolute;
  top: calc(var(--padding) / -2);
  left: calc(var(--padding) / -2);
  width: calc(100% + var(--padding));
  height: calc(100% + var(--padding));
  border-radius: inherit;
  background-color: #0006;
  mask-image: radial-gradient(circle at 50% 60%, transparent 50%, black);
}

.dot::after {
  content: "";
  position: absolute;
  top: calc(var(--padding) / -2);
  left: calc(var(--padding) / -2);
  width: calc(100% + var(--padding));
  height: calc(100% + var(--padding));
  border-radius: inherit;
  background-color: #0000;

  box-shadow: 0 0 10px 2px hsla(var(--hue), 80%, 50%, 0.3),
    0 0 20px 10px hsla(var(--hue), 80%, 50%, 0.5),
    0 0 50px 20px hsla(var(--hue), 80%, 50%, 0.5),
    0 0 16px 1px hsla(var(--hue), 100%, 60%, 0.9) inset;

  opacity: 0;
}

.pulse {
  transition: transform 200ms ease-in;
}

.pulse.dot {
  animation: bg-anim var(--animation-duration) ease-in-out infinite;
}

.pulse::after {
  animation: opacity-anim var(--animation-duration) ease-in-out infinite;
}

@keyframes bg-anim {
  0%,
  100% {
    background-color: hsla(var(--hue), 50%, 50%, 0);
  }
  50% {
    background-color: hsla(var(--hue), 100%, 50%, 1);
  }
}

@keyframes opacity-anim {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.btn:hover,
.btn:focus-visible {
  filter: drop-shadow(
    var(--padding) 0 var(--padding) hsla(var(--hue), 70%, 60%, 0.6)
  );
  transform: translate3d(0, -2px, 2px);
}

.btn:hover .btn-txt,
.btn:focus-visible .btn-txt {
  background-color: hsla(var(--hue), 50%, 50%, 1);
  background-image: none;
}

.btn:hover .pulse.dot,
.btn:focus-visible .pulse.dot {
  animation: none;
  background-color: hsla(var(--hue), 100%, 50%, 1);
}

.btn:hover .pulse::after,
.btn:focus-visible .pulse::after {
  animation: none;
  opacity: 1;
}

.btn:focus-visible {
  outline: 2px dashed hsla(var(--hue), 70%, 40%, 1);
  outline-offset: var(--padding);
}

.btn:active {
  filter: drop-shadow(
    var(--padding) 0 var(--padding) hsla(var(--hue), 100%, 50%, 1)
  );
  transform: translate3d(0, 0, -4px);
}

.btn:active .btn-txt {
  background-color: hsla(var(--hue), 50%, 50%, 1);
}

.btn:active ~ .dot {
  animation-play-state: paused;
  background-color: hsla(var(--hue), 100%, 50%, 1);
}

.btn-wrapper:has(.btn:active) {
  box-shadow: 1px 1px 2px 0 #fff, 2px 2px 2px #0001 inset,
    2px 2px 4px #0001 inset, 2px 2px 8px #0001 inset,
    0 0 32px 2px hsla(var(--hue), 50%, 50%, 0.5) inset;
}
/* =================================================================== */
/* ===================== GRID INDEX CONTAINER ======================== */
/* =================================================================== */
.grid-index .img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.grid-index > div {
  display: flex;
  position: relative; /* permet d'ancrer le texte */
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}
.grid-index > div > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3.5rem;
  border-radius: 2px;
  background: linear-gradient(to top, #021f4c, #050c16);
  /* Transition douce et naturelle */
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-index > div .grid-text {
  position: absolute;
  top: 8px; /* marge depuis le haut */
  left: 10px;
  right: 10px;
  color: #fff; /* texte blanc */
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 2px 4px var(--shadow-strong); /* lisibilité */
  z-index: 2; /* au-dessus de l’image */
  pointer-events: none; /* clics passent à travers */
  padding: 1.5rem;
}

.grid-index {
  display: grid;
  grid-gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  padding: 1rem 1.5rem;
  margin-bottom: 3rem;
}

.grid-index > div:hover > img {
  transform: scale(1.1); /* zoom à 110% */
}
.grid-index .wide {
  grid-column: span 2;
}
.grid-index .tall {
  grid-row: span 2;
}
.grid-index .big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Tablette */
@media (max-width: 1024px) {
  .grid-index {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    grid-gap: 1rem;
    padding: 1rem;
  }

  .grid-index > div > img {
    padding: 2.5rem;
  }

  .grid-index > div .grid-text {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* Mobile - Grille 2x2 */
@media (max-width: 768px) {
  .grid-index {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    grid-gap: 0.8rem;
    padding: 0.8rem;
  }

  /* Tous les éléments deviennent des cases simples */
  .grid-index .wide,
  .grid-index .tall,
  .grid-index .big {
    grid-column: span 1;
    grid-row: span 1;
  }

  .grid-index > div > img {
    padding: 2rem;
  }

  .grid-index > div .grid-text {
    font-size: 0.9rem;
    padding: 0.8rem;
    top: 5px;
    left: 5px;
    right: 5px;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .grid-index {
    grid-auto-rows: 130px;
    grid-gap: 0.6rem;
    padding: 0.6rem;
  }

  .grid-index > div > img {
    padding: 1.5rem;
  }

  .grid-index > div .grid-text {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
}
/* =================================================================== */
/* ===================== PRODUCT HIGHLIGHT INDEX ===================== */
/* =================================================================== */
#product-highlight-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 40rem;
  margin-top: 0.5rem;
  background-image: url("images/beyerdynamic-banner-image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#left {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
  color: white;
  padding: 0 10rem;
}

#left .img-highlight {
  width: 35rem;
  height: 35rem;
}

.text-left h2 {
  font-size: 3rem;
}

.text-left h3 {
  font-size: 1.5rem;
}

#product-highlight-index img {
  width: 35rem;
  height: 35rem;
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}

/* Tablette */
@media (max-width: 1024px) {
  #product-highlight-index {
    min-height: 25rem;
    padding: 1.5rem;
  }

  #product-highlight-index img {
    width: 20rem;
    height: 20rem;
  }
}

/* Tablette */
@media (max-width: 1024px) {
  #product-highlight-index {
    height: auto;
    min-height: 30rem;
    padding: 2rem 1rem;
  }

  #left {
    flex-direction: column;
    padding: 0 2rem;
    gap: 1.5rem;
  }

  #left .img-highlight,
  #product-highlight-index img {
    width: 18rem;
    height: 18rem;
  }

  .text-left h2 {
    font-size: 2rem;
  }

  .text-left h3 {
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #product-highlight-index {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    padding: 2rem 1rem;
  }

  #left {
    flex-direction: column;
    padding: 0 1rem;
    gap: 1rem;
  }

  #left .img-highlight,
  #product-highlight-index img {
    width: 15rem;
    height: 15rem;
  }

  .text-left h2 {
    font-size: 1.8rem;
  }

  .text-left h3 {
    font-size: 1rem;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  #product-highlight-index {
    padding: 1.5rem 0.5rem;
  }

  #left {
    padding: 0 0.5rem;
  }

  #left .img-highlight,
  #product-highlight-index img {
    width: 12rem;
    height: 12rem;
  }

  .text-left h2 {
    font-size: 1.5rem;
  }

  .text-left h3 {
    font-size: 0.9rem;
  }
}
/* =================================================================== */
/* ===================== INDEX SERVICES ============================== */
/* =================================================================== */
.index-services-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  padding: 3rem;
  justify-items: center;
  background-color: transparent;
  align-content: center;
}

.index-services-container h1 {
  grid-column: 1 / -1;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Conteneur des cards */
.item-card-ctn {
  display: flex; /* ✅ plus grid pour le scroll horizontal */
  flex-wrap: nowrap;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 2rem; /* ajoute de l’espace vertical */
  overflow-x: auto; /* scroll horizontal */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Card */
.item-card {
  flex: 0 0 15rem; /* taille fixe horizontale */
  height: 15rem;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 12px;
  gap: 3px;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 15px;
  box-shadow: 5px 5px 8px #cecece, -5px -5px 8px #535353;
  cursor: pointer;
  transition: 0.4s;
  scroll-snap-align: center;
}

.item-card:hover {
  translate: 0 -10px;
}

.icon-services {
  font-size: 4rem;
}

.item-card p {
  color: var(--color-text);
  font-weight: 600;
}

/* Scrollbar custom (optionnelle) */
.item-card-ctn::-webkit-scrollbar {
  height: 8px;
}
.item-card-ctn::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}
.item-card-ctn::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* ========== Responsive ========== */

/* Tablette */
@media (max-width: 1024px) {
  .index-services-container {
    padding: 2rem;
  }

  .item-card {
    flex: 0 0 13rem;
    height: 13rem;
  }

  .icon-services {
    font-size: 3.5rem;
  }
}

/* Mobile : première card centrée, swipe horizontal */
@media (max-width: 768px) {
  .index-services-container {
    padding: 1.5rem;
  }

  .item-card-ctn {
    justify-content: flex-start; /* commence au début du scroll */
    padding: 2rem 1rem; /* padding horizontal pour centrer la première card */
    align-items: center; /* ✅ cartes centrées verticalement */
  }

  .item-card {
    flex: 0 0 70%; /* carte occupe 70% de l’écran */
    min-height: 12rem;
    height: auto;
  }

  .icon-services {
    font-size: 3rem;
  }

  .index-services-container h1 {
    font-size: 1.6rem;
  }
}

/* =================================================================== */
/* ===================== SECTION DÉFILANTE ========================== */
/* =================================================================== */

/* Conteneur de la section avec texte défilant */
.cont2 {
  display: flex;
  position: relative;
  gap: 1rem;
  width: 100%;
  height: 125px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-section);
}

/* Boîte contenant le texte défilant */
.scroll-left {
  position: relative;
  width: 90%;
  height: 25%;
  max-height: 90%;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
  align-content: center;
  box-shadow: 4px 4px 4px var(--shadow-light);
  border: 0.2px solid var(--color-border);
  backdrop-filter: none;
}

/* Texte qui défile */
.scroll-left p {
  color: var(--color-text);
  white-space: nowrap;
  transform: translateX(100%);
  animation: scroll-left 20s linear infinite;
  margin: 0;
  padding: 0;
  letter-spacing: 5px;
}

/* Style pour certains éléments de texte */
.type1 {
  color: var(--color-text-antiquewhite);
  font-weight: bold;
}

/* Animation du défilement */
@keyframes scroll-left {
  100% {
    transform: translateX(100%);
  }
  0% {
    transform: translateX(-100%);
  }
}

/* =================================================================== */
/* ===================== PAGE A PROPOS =============================== */
/* =================================================================== */
.nouschoisir-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  height: auto;
  width: 100%;
  padding: 8rem 130px;
  box-sizing: border-box;
  background-color: var(--color-bg-main);
  gap: 50px;
}

.nouschoisir-head {
  grid-column: 1 / 3;
  text-align: center;
  height: 5px;
  margin-bottom: 100px;
}

.nouschoisir-left .case1,
.nouschoisir-left .case2,
.nouschoisir-left .case3 {
  line-height: 1.5;
  margin-bottom: 60px;
  padding: 25px 40px;
  border-radius: 25px;
  background-color: var(--color-bg-section);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  box-sizing: border-box;
}

.nouschoisir-left {
  grid-column: 1;
  text-align: left;
}

.nouschoisir-right {
  line-height: 1.5;
  font-size: 15px;
  margin-bottom: 20px; /* espace entre les cases */
  padding: 25px 40px;
  border-radius: 25px;
  background-color: var(--color-bg-section);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  box-sizing: border-box;
}

.nouschoisir-right h2 {
  font-size: 18px;
}

.couleur-lien {
  color: var(--color-accent);
  text-decoration: underline;
}

body.apropos-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.contact-page .contact-container {
  flex: 1;
}
/* =================================================================== */
/* ====================== RÉSEAUX SOCIAUX =========================== */
/* =================================================================== */

/* Conteneur principal des réseaux sociaux */
.cont4 {
  display: flex;
  width: 100%;
  height: 8rem;
  justify-content: center;
  align-items: center;
  align-content: center;
}

/* Section qui se superpose */
.social-overlap {
  position: relative;
  width: 100%;
  transform: translateY(-50%);
}

/* Barre des réseaux sociaux */
.social-bar {
  display: flex;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  align-content: center;
}

/* Styles pour les marges */
.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}

/* Navigation slider pour les réseaux sociaux */
.process-scetion .slider-nav-item {
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
  border-radius: 50%;
  text-align: center;
  background: var(--color-text);
  cursor: pointer;
  transition: all 0.4s ease;
}

/* Icônes des réseaux sociaux */
.cont4 .social-icons a {
  border-radius: 50px;
  display: inline-block;
  line-height: 52px;
  height: 50px;
  width: 50px;
  box-shadow: 0 5px 25px rgba(93, 70, 232, 0.15);
  margin: 15px 15px;
  font-size: 22px;
}

/* Style général des liens */
.cont4 a {
  text-decoration: none !important;
  transition: all 0.3s ease 0s;
}

/* Effet d'ondulation avant pour les items slider */
.slider-nav-item:before {
  position: absolute;
  content: "";
  height: calc(100% + 16px);
  width: calc(100% + 16px);
  top: -8px;
  left: -8px;
  border-radius: 50%;
  border: 1px solid rgba(132, 132, 164, 0.35);
  animation: 1.5s linear 0s normal none infinite focuse;
}

/* Navigation slider */
.slider-nav {
  display: flex;
}

/* Couleurs spécifiques pour chaque réseau social */
.process-scetion .slider-nav-item:nth-child(2) {
  color: #40beff;
}
.process-scetion .slider-nav-item:nth-child(3) {
  color: #311f9b;
}
.process-scetion .slider-nav-item:nth-child(4) {
  color: #ff9259;
}
.process-scetion .slider-nav-item:nth-child(5) {
  color: #38385f;
}

/* Ligne de connexion entre les icônes */
.process-scetion .slider-nav-item:after {
  position: absolute;
  top: 50%;
  left: 100%;
  height: 2px;
  content: "";
  width: 100%;
  background: url(http://demo.themenio.com/ico/assets/images/line.png) repeat 0
    0;
  z-index: 0;
  animation: slide 1s linear infinite;
}

/* Pas de ligne après le dernier item */
.process-scetion .slider-nav-item:last-child:after {
  display: none;
}

/* Icône à l'intérieur */
.process-scetion .slider-nav-item .ikon {
  font-size: 50px;
  line-height: 80px;
}

/* État actif des items slider */
.process-scetion .slider-nav-item.active:before {
  position: absolute;
  content: "";
  height: calc(100% + 16px);
  width: calc(100% + 16px);
  top: -8px;
  left: -8px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  animation: 1.5s linear 0s normal none infinite focuse;
}

/* Ligne après les items slider */
.slider-nav-item:after {
  position: absolute;
  top: 50%;
  left: 100%;
  height: 2px;
  content: "";
  width: 100%;
  background: url(https://1.bp.blogspot.com/--Btu5p654jU/XYmrVd5IcYI/AAAAAAAATQ0/4bX8aZyFBgApbJUf90KrpCfO6RvAaZ6LgCLcBGAsYHQ/s1600/line.png)
    repeat 0 0;
  z-index: 0;
  animation: slide 1s linear infinite;
}

/* Marge du haut */
.mt100 {
  margin-top: 100px;
}

/* Animations pour les réseaux sociaux */
@keyframes focuse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  75% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes slide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 40px 0;
  }
}

/* =================================================================== */
/* ======================= PAGE PRODUITS ============================= */
/* =================================================================== */

/* Conteneur principal des matériels sono */
.pageproduits-container {
  display: flex;
  padding-top: 3rem; /* décale tout le contenu sous le header */
}

.text-presentation-produits {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  line-height: 0.1rem;
  margin-top: 2rem;
}

.text-presentation-produits h2 {
  font-weight: 200;
}

/* Section de recherche et filtres pour la page nos produits */
.nosproduits-page .search-and-filters {
  margin-top: 1rem; /* 90px header + espace */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
  padding: 0 20px;
}

/* Champ de recherche pour la page nos produits */
.nosproduits-page #search-input {
  padding: 10px 15px;
  border-radius: 15px;
  border: none;
  width: 100%;
  max-width: 300px;
}

/* Conteneur des boutons filtres pour la page nos produits */
.nosproduits-page #filter-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Boutons de filtre pour la page nos produits */
.nosproduits-page #filter-buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 12px;
  background: var(--color-bg-card);
  cursor: pointer;
  transition: 0.3s;
}

.nosproduits-page #filter-buttons button:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Section produits pour la page nos produits */
.nosproduits-page .products-section {
  padding-top: 30px; /* espace après filtres */
  margin-bottom: 10rem;
  box-sizing: border-box;
}

/* Section produits générale */
.products-section {
  display: flex;
  justify-content: center;
}

/* Champ de recherche général */
#search-input {
  padding: 10px 15px;
  border-radius: 15px;
  border: none;
  width: 100%;
  max-width: 300px;
}

/* Boutons de filtre généraux */
#filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#filter-buttons button {
  padding: 8px 15px;
  margin: 5px;
  border: none;
  border-radius: 12px;
  background: var(--color-bg-card);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

#filter-buttons button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  justify-items: center;
  padding: 0 0 5rem 0;
  align-items: stretch; /* ✅ toutes les cartes prennent la même hauteur */
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: var(--color-bg-card);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--color-border);
  line-height: 1;
  box-sizing: border-box;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px var(--shadow-light);
}

/* Images */
.product-card img {
  width: 100%;
  aspect-ratio: 16/9; /* ✅ garde une hauteur cohérente */
  object-fit: contain; /* ou “contain” si tu veux tout voir */
  border-radius: 15px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Titre */
.product-card h2 {
  font-size: 1rem;
  color: #e0e0e0;
  margin: 0.5rem 0;
}

/* Texte */
.product-card p {
  font-size: 0.9rem;
  color: #e0e0e0;
  flex-grow: 1; /* ✅ permet au texte de s’étirer sans chevauchement */
  margin-bottom: 1rem;
}

/* Tags sur les produits */
.tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-primary);
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
}

/* Style pour le bouton de filtre actif */
body.nosproduits-page div#filter-buttons button.active {
  background: rgba(255, 255, 255, 0.6) !important;
  color: var(--color-primary) !important;
  font-weight: bold !important;
  box-shadow: 0 4px 12px var(--shadow-light) !important;
}

body.nosproduits-page div#filter-buttons button.active:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  color: var(--color-primary) !important;
}

/* =================================================================== */
/* =================== PAGE CATÉGORIES PRODUITS ==================== */
/* =================================================================== */
.nosproduits-maincontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-overlay);
  padding: 2rem 0;
  margin-top: 1.2rem;
  height: 3.5rem;
}

.products-banner {
  display: flex;
  justify-content: space-evenly; /* répartition égale de l'espace */
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px; /* pour éviter qu’elle soit trop étirée */
  overflow-x: hidden;
  padding-top: 1rem;
}

.icon-products {
  display: flex;
  flex-direction: column;
  flex: 1; /* chaque icône prend la même largeur */
  max-width: 120px; /* limite la largeur maximale */
  align-items: center;
  justify-content: center;
  width: calc((100% / 8) - 1.4rem); /* ajustez pour tenir compte du gap */
  min-width: 80px; /* évite que les icônes deviennent trop petites */
  padding: 0.4rem;
  text-align: center;
  cursor: pointer;
}

.logo-products {
  width: 2.2rem;
  height: 2.2rem; /* ajoutez une hauteur fixe */
  object-fit: contain;
  filter: invert(100%) brightness(100%); /* combinez les filtres sur une seule ligne */
}

#text-icon {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-top: 0.5rem;
  line-height: 1.2;
  height: 2.4rem; /* hauteur fixe pour 2 lignes */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 1px 1px 1px var(--shadow-light);
}

.icon-products-link {
  text-decoration: none; /* enlève le soulignement */
  color: inherit; /* garde la couleur du texte */
  display: flex; /* pour que le lien prenne la forme du contenu */
  transition: transform 0.2s ease, opacity 0.8s ease; /* animation au survol */
}

.icon-products-link:hover #text-icon {
  color: var(--color-accent-hover);
}

.product-highlight-banner {
  display: grid;
  grid-template-columns: 1fr 1fr; /* deux colonnes égales pour le bas */
  grid-template-rows: auto auto; /* une ligne pour le haut, une pour le bas */
  height: 45rem;
  justify-items: center;
  align-content: center;
  gap: 2rem;
  padding: 2rem 0;
  background-image: url("images/sparkle-background2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bloc-top {
  grid-column: 1 / -1; /* occupe toute la largeur (2 colonnes) */
  justify-content: center;
  text-align: center;
}

.titre-bloc-top {
  margin-bottom: 1rem;
}

.bloc-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
  padding: 2rem;
  align-items: center;
  align-content: center;
  justify-content: center; /* pour centrer le contenu dans la grille */
}

.product-highlight-banner h2 {
  font-size: 2.5rem;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.product-highlight-banner a h3 {
  font-size: 1.2rem;
  font-weight: 100;
}

.product-highlight-banner img {
  width: 35rem;
  height: 25rem;
  transition: transform 0.4s ease;
  transform-style: preserve-3d;
}

.product-highlight-banner img:hover {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05);
}

.section2-produits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1rem;
  min-height: 40rem; /* hauteur minimale au lieu de fixe */
}

#highlight-products-left {
  display: flex;
  align-items: center; /* centrer horizontalement */
  background: url("images/light-laser-background.png") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

#highlight-products-right {
  display: flex;
  align-items: center; /* centrer horizontalement */
  background: url("images/music-wallpaper1.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

#highlight-products-left .inner {
  padding: 2rem 2rem;
  line-height: 1.5rem;
}

#highlight-products-right .inner {
  padding: 2rem 1rem;
  line-height: 1.5rem;
}
#highlight-products-right h2 {
  font-size: 3rem;
  font-weight: 600;
}
#highlight-products-left h3,
#highlight-products-right h3 {
  font-size: 2.4rem;
  font-weight: 200;
  margin-bottom: 0.4;
}

#highlight-products-right p,
#highlight-products-left p {
  font-size: 1.4rem;
  padding: 0 4rem;
}

#highlight-products-right img {
  max-width: 80%;
  max-height: 30rem; /* limite la hauteur de l'image */
  width: auto;
  height: auto;
}

#highlight-products-left img {
  max-width: 55%;
  max-height: 30rem; /* limite la hauteur de l'image */
  width: auto;
  height: auto;
}

/* Tablette */
@media (max-width: 1024px) {
  .products-banner {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nosproduits-maincontainer {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    margin-top: 0rem;
  }
  .product-highlight-banner {
    height: auto;
    min-height: 35rem;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .product-highlight-banner h2 {
    font-size: 2rem;
  }

  .product-highlight-banner a h3 {
    font-size: 1rem;
  }

  .bloc-bottom {
    padding: 1.5rem;
    gap: 1rem;
  }

  .product-highlight-banner img {
    width: 25rem;
    height: 18rem;
  }

  .section2-produits {
    min-height: 30rem;
    gap: 0.8rem;
  }

  #highlight-products-left .inner,
  #highlight-products-right .inner {
    padding: 1.5rem 1rem;
  }

  #highlight-products-right h2 {
    font-size: 2.2rem;
  }

  #highlight-products-left h3,
  #highlight-products-right h3 {
    font-size: 1.8rem;
  }

  #highlight-products-right p,
  #highlight-products-left p {
    font-size: 1.2rem;
    padding: 0 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .product-highlight-banner {
    min-height: 20rem;
    gap: 1rem;
    padding: 1.5rem 0.5rem;
  }

  .nosproduits-maincontainer {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    margin-top: 0rem;
  }
  .product-highlight-banner .bloc-bottom {
    grid-template-columns: 1fr; /* une seule colonne sur mobile */
    justify-items: center; /* centre l'image horizontalement */
  }

  .product-highlight-banner .bloc-bottom #img2 {
    display: none; /* cache la 2Ã¨me image sur mobile */
  }

  .product-highlight-banner .bloc-bottom #img1 {
    margin: 0 auto;
    display: block; /* assure un centrage parfait */
    max-width: 100%; /* optionnel, pour Ã©viter quâ€™elle soit trop grande */
  }
  /* Section 2 produits en colonnes sur mobile */
  .section2-produits {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1rem;
  }

  #highlight-products-left,
  #highlight-products-right {
    min-height: 25rem;
  }

  #highlight-products-left .inner,
  #highlight-products-right .inner {
    padding: 2rem 1rem;
  }

  #highlight-products-right h2 {
    font-size: 2rem;
  }

  #highlight-products-left h3,
  #highlight-products-right h3 {
    font-size: 1.6rem;
  }

  #highlight-products-right p,
  #highlight-products-left p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  #highlight-products-right img,
  #highlight-products-left img {
    max-width: 70%;
    max-height: 20rem;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .product-highlight-banner {
    padding: 1.5rem 0.5rem;
    gap: 1rem;
  }

  .bloc-bottom {
    padding: 0.5rem;
    gap: 1rem;
  }

  .product-highlight-banner h2 {
    font-size: 1.5rem;
  }

  .product-highlight-banner a h3 {
    font-size: 0.85rem;
  }

  .product-highlight-banner img {
    max-width: 16rem;
  }

  #highlight-products-left,
  #highlight-products-right {
    min-height: 22rem;
  }

  #highlight-products-left .inner,
  #highlight-products-right .inner {
    padding: 1.5rem 0.8rem;
  }

  #highlight-products-right h2 {
    font-size: 1.7rem;
  }

  #highlight-products-left h3,
  #highlight-products-right h3 {
    font-size: 1.4rem;
  }

  #highlight-products-right p,
  #highlight-products-left p {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  #highlight-products-right img,
  #highlight-products-left img {
    max-width: 80%;
    max-height: 18rem;
  }
}
/* =================================================================== */
/* ======================= NOS SERVICES ============================== */
/* =================================================================== */

.nosservices-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  height: 100vh;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  gap: 1rem;
  line-height: 1.5rem;
}

.icon-services {
  font-size: 4rem;
  color: var(--color-text);
}

.nosservices-top {
  margin-top: 6rem;
  text-align: center;
  margin-bottom: 3rem;
}

.nosservices-top h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px var(--shadow-light);
}

.nosservices-top h2 {
  font-size: 1.8rem;
  font-weight: 200;
}

.nosservices-top h3 {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 82%;
  padding: 0 4rem;
}

.footer-services {
  padding: 2rem;
  background-color: var(--color-bg-overlay);
  border-radius: 10px;
}
.nosservices-container .title-footer-services {
  font-size: 1.8rem;
}
.nosservices-container .text-footer-services {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 85%;
  padding: 0 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start; /* ← important */
}

.service-card {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* seulement la card */
  overflow: hidden;
  position: relative;
  line-height: 1.4rem;
}

.service-card.service-card.location,
.service-card.service-card.vente,
.service-card.service-card.support {
  background-color: rgba(52, 138, 219, 0.4);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-light);
}

.service-card.active {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--shadow-light);
  background: linear-gradient(135deg, #007bff 0%, #003881 100%);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(5px);
  border-radius: 20px;
  z-index: 0;
  /* AUCUNE transition sur l'image */
}

.service-card.active::before {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-size: cover;
  background-position: center;
}

/* Assurer que le contenu reste au-dessus */
.service-card.location .card-header {
  position: relative;
  z-index: 1;
}

.service-card .service-details {
  position: relative;
  z-index: 1;
}

.card-header {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: none;
}

/* Pour assurer la lisibilité du texte */
.service-card.location .service-icon,
.service-card.vente .service-icon,
.service-card.support .service-icon {
  background: rgb(242, 242, 242);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 1rem;
  font-weight: 300;
}

.service-card.active .card-subtitle {
  opacity: 0.9;
}

.card-arrow {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-border-strong);
  border-bottom: 2px solid var(--color-border-strong);
  border-color: var(--color-text);
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s ease;
}

.service-card.active .card-arrow {
  transform: translateY(-50%) rotate(225deg);
}
.service-details {
  background: white;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 2rem;
}

.service-card.active .service-details {
  max-height: 1000px; /* assez grand pour le contenu */
  padding: 1rem 3rem;
}

.details-content {
  margin-top: 1rem;
  padding: auto 2rem;
}

.details-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.details-text {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #555;
}

.feature-list {
  list-style: none;
  color: #2c3e50;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.cta-button {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: var(--color-text);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-strong);
}
@media (max-width: 1024px) {
  .nosservices-container {
    padding: 1rem 2rem;
  }
  .nosservices-top {
    margin-top: 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .nosservices-container {
    padding: 1rem 1.2rem;
  }

  .nosservices-top {
    margin-top: 1rem;
  }

  .nosservices-top h1 {
    font-size: 2rem;
  }

  .nosservices-top h2 {
    font-size: 1.4rem;
  }

  .nosservices-top h3 {
    font-size: 0.9rem;
    padding: 0.05rem;
  }

  .nosservices-container .title-footer-services {
    font-size: 1.4rem;
  }
  .nosservices-container .text-footer-services {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 85%;
    padding: 0 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  .card-header {
    padding: 1.5rem;
  }
}

body.nosservices-page {
  min-height: 100vh; /* occupe toute la hauteur */
  display: flex;
  flex-direction: column;
  margin: 0;
}

body.nosservices-page main {
  flex: 1; /* pousse le footer en bas */
}
/* =================================================================== */
/* ======================= PAGE CONTACT ============================== */
/* =================================================================== */

/* Conteneur principal du contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
  gap: 2rem;
  padding: 50px;
}

.contacts-top {
  display: flex;
  flex-direction: column;
  margin-top: 10rem;
  align-items: center;
  line-height: 0.1rem;
}

.contacts-top h3 {
  font-size: 30px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.contacts-top p {
  padding: 0 10rem;
  text-align: center;
  line-height: 1.5rem;
}

/* Cartes de contact et map */
.contact-card,
.map-card {
  background: var(--color-bg-card);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-text);
}

.contact-card {
  display: flex;
  flex-direction: column; /* <-- passe de row à column */
  justify-content: center;
}

.map-card iframe {
  width: 100%;
  height: 30rem; /* adapte selon ton besoin */
  border: 0;
  margin-top: 30px;
}

/* Titres dans les cartes contact */
.contact-card h1,
.map-card h2 {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Formulaire de contact */
.contact-form .input-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem; /* augmente le padding intérieur */
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

/* Hover sur les boutons du contact */
.contact-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-light);
}

body.contact-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.contact-page .contact-container {
  flex: 1;
}
/* =================================================================== */
/* ======================= FOOTER ==================================== */
/* =================================================================== */
.footer-container {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: repeat(3, auto); /* colonnes à largeur automatique */
  gap: 2rem; /* espacement contrôlé entre colonnes */
  margin: 0 auto;
  padding: 1rem;
  justify-content: center; /* centre l'ensemble des colonnes */
  justify-items: center;
  background-color: rgba(0, 0, 0, 0.3);
}

/* --- Logo en haut sur toute la largeur --- */
.footer-col1 {
  display: flex;
  grid-column: 1 / -1; /* occupe les 3 colonnes */
  text-align: center;
}
.logo-footer {
  max-width: 200px;
  height: auto;
}

/* --- Les 3 colonnes --- */
.footer-col2,
.footer-col3,
.footer-col4 {
  width: 250px;
  text-align: center;
  padding: 0.5rem; /* au lieu d’1rem ou plus */
}

.footer-col2 h3,
.footer-col3 h3,
.footer-col4 h3 {
  text-decoration: underline;
}

/* --- Copyright en bas sur toute la largeur --- */
#copyright {
  color: var(--color-text);
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}
/* === TABLETTE (jusqu’à ~1024px) === */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.1rem;
    text-align: center;
    padding: 1.5rem 1rem;
  }
}

.footer-col1 {
  grid-column: 1 / -1;
}

.footer-col2,
.footer-col3,
.footer-col4 {
  max-width: 100%;
}

/* === MOBILE (jusqu’à ~768px) === */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.1rem;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .footer-col1,
  .footer-col2,
  .footer-col3,
  .footer-col4 {
    grid-column: 1 / -1;
  }

  .logo-footer {
    max-width: 150px;
  }

  #copyright {
    font-size: 0.8rem;
  }
}

/* --- Optionnel : effet fluide sur les espacements --- */
@media (max-width: 480px) {
  .footer-container {
    gap: 0.8rem;
  }
}

/* =================================================================== */
/* ===================== RESPONSIVE DESIGN ========================== */
/* =================================================================== */

/* ======= RESPONSIVE DESKTOP =======*/
/* ======= RESPONSIVE DESKTOP =======*/
/* ======= RESPONSIVE DESKTOP =======*/

/* DESKTOP - Cache le menu hamburger */
@media (min-width: 1025px) {
  .main-nav {
    display: flex;
  }

  .sidebarIconToggle {
    display: none;
  }

  .nosproduits-page {
    padding-top: 60px;
  }
}

/* ======= TABLETTES (768px - 1024px) =======*/
/* ======= TABLETTES (768px - 1024px) =======*/
/* ======= TABLETTES (768px - 1024px) =======*/

@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
  }
  .main-nav {
    display: none;
  }

  .glassnav-cont {
    display: none;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    position: relative;
    height: 70px;
    min-height: 70px;
    width: 100%;
    max-width: 100vw; /* Empêche le débordement */
    box-sizing: border-box;
  }

  /* Logo centré */
  header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
  }

  header .logo-img {
    max-height: 60px;
    width: auto;
  }

  .cta-container {
    padding-top: 5rem;
    padding-left: 15px;
    padding-right: 15px;
    gap: 0.5rem;
  }
  /* Section nous choisir */
  .nouschoisir-container {
    padding: 40px 60px;
    grid-template-columns: 1fr; /* passe en 1 colonne */
    gap: 30px;
  }

  .nouschoisir-head {
    grid-column: 1; /* plus besoin de span sur tablette */
    margin-bottom: 30px;
  }

  .nouschoisir-left,
  .nouschoisir-right {
    grid-column: 1; /* chaque bloc prend toute la largeur */
  }

  /* Boutons moins espacés */
  .button-container {
    gap: 2rem;
    margin-top: 5rem;
  }

  /* Produits - reste en 3 colonnes sur tablette */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .textpresentation h3 {
    display: block; /* comportement normal */
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 30px 40px;
    margin-top: 8rem;
  }

  .contacts-top {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    align-items: center;
    line-height: 0.1rem;
  }

  .contacts-top h3 {
    font-size: 30px;
    font-weight: 500;
  }
  .contacts-top p {
    padding: 0 5rem;
    text-align: center;
    line-height: 2rem;
  }

  .contact-card,
  .map-card {
    padding: 2rem;
  }

  .contact-card h1 {
    font-size: 2.2rem;
  }

  .map-card iframe {
    height: 25rem;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 950px; /* limite la largeur */
    margin: 0 auto; /* centre dans son parent */
    padding: 0 2rem; /* garde une marge intérieure */
  }

  .nouschoisir-container {
    padding: 20px 20px;
    gap: 20px;
  }

  .nouschoisir-head {
    grid-column: 1;
    margin-bottom: 100px;
  }

  .header-container {
    padding: 0 20px;
  }

  .nav-list {
    gap: 1rem;
  }

  .nav-list a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ======= MOBILES (320px - 768px) =======*/
/* ======= MOBILES (320px - 768px) =======*/
/* ======= MOBILES (320px - 768px) =======*/

@media (max-width: 768px) {
  /* Cache le menu desktop */

  html,
  body {
    overflow-x: hidden;
  }
  .main-nav {
    display: none;
  }

  .glassnav-cont {
    display: none;
  }
  header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    position: relative;
    height: 70px;
    min-height: 70px;
    width: 100%;
    max-width: 100vw; /* Empêche le débordement */
    box-sizing: border-box;
  }

  /* Logo centré */
  header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
  }

  header .logo-img {
    max-height: 60px;
    width: auto;
  }

  /* Supprime l'élément spacer qui n'est plus nécessaire */
  .header-left-spacer {
    display: none;
  }

  .text-anime {
    display: none;
  }

  .cta-container {
    padding-top: 50px;
    padding-left: 15px;
    padding-right: 15px;
    gap: 0.5rem;
  }

  .text-container h2 {
    font-size: clamp(30px, 8vw, 80px);
    white-space: normal; /* permet le retour à la ligne */
  }

  .text-container p {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    padding: 0 10px;
  }

  /* Boutons en colonne sur mobile */
  .button-container {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 30px;
  }

  .btn-wrapper {
    --width: 200px;
    --height: 50px;
  }

  .nouschoisir-head {
    margin-bottom: 140px;
  }
  .nouschoisir-container {
    padding: 20px 20px;
    gap: 25px;
  }

  .nouschoisir-left .case1,
  .nouschoisir-left .case2,
  .nouschoisir-left .case3,
  .nouschoisir-right {
    padding: 20px 25px;
    margin-bottom: 30px;
  }

  .cont4 .social-icons a {
    height: 40px;
    width: 40px;
    line-height: 42px;
    margin: 10px 8px;
    font-size: 18px;
  }

  .process-scetion .slider-nav-item .ikon {
    font-size: 40px;
    line-height: 60px;
  }

  .pageproduits-container {
    margin-top: 0.5rem;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 600px; /* limite la largeur */
    margin: 0 auto; /* centre dans son parent */
    padding: 0 1rem; /* garde une marge intérieure */
  }

  .product-card {
    padding: 12px; /* moins de padding intérieur */
    border-radius: 15px; /* coins légèrement moins ronds */
    font-size: 0.9rem; /* réduit le texte */
    transform: scale(0.95); /* rend la carte un peu plus compacte */
  }

  .product-card img {
    width: 100%;
    height: 120px; /* plus petit visuel */
    object-fit: cover;
    border-radius: 10px;
  }

  .nosproduits-page .search-and-filters {
    margin-top: 1rem;
    margin-bottom: 0.2rem;
    padding: 0 2rem;
  }

  .nosproduits-page #search-input {
    max-width: 50%;
  }

  .nosproduits-page #filter-buttons {
    display: grid;
    grid-template-columns: repeat(
      2,
      minmax(120px, 1fr)
    ); /* deux colonnes fixes */
    gap: 0.2rem;
    justify-content: center;
    max-width: 320px; /* pour garder un bloc compact centré */
    margin: 0 auto;
  }

  .nosproduits-page #filter-buttons button {
    font-size: 0.7rem;
    padding: 0.2rem 0.2rem;
    border-radius: 6px;
    width: 100%; /* pour qu’ils s’alignent parfaitement dans les colonnes */
  }
  .text-presentation-produits {
    line-height: 0.2rem;
    margin-top: 1rem;
    padding: 0 2rem;
  }
  .text-presentation-produits h1 {
    font-size: 2rem;
    line-height: 1rem;
    margin-bottom: 1rem;
  }
  .text-presentation-produits h2 {
    font-size: 1rem;
    opacity: 70%;
    line-height: 1.4rem;
  }

  .category-card {
    max-width: 100%;
    height: 10rem;
  }

  .category-card h2 {
    font-size: 1rem;
  }

  .category-card h2 {
    font-size: 0.9rem;
  }

  .category-card img {
    max-height: auto;
  }

  .category-presentation {
    margin-top: 30px;
  }

  .category-presentation h1 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }

  .category-presentation h3 {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1.4;
    min-height: 120px; /* Fixe une hauteur minimale */
    font-size: 12px;
  }

  .highlight {
    display: block;
    margin: 5px 0;
    min-height: 1.4em; /* Hauteur fixe pour la ligne qui change */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .line-1,
  .line-3 {
    display: block;
    height: auto; /* Les lignes fixes gardent leur hauteur naturelle */
  }

  /* Supprime le curseur clignotant sur mobile */
  .highlight::after {
    display: none;
  }

  .line-1,
  .line-3 {
    display: inline;
  }

  .highlight {
    display: inline;
  }
  .contact-container {
    grid-template-columns: 1fr;
    padding: 20px 15px;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .contacts-top {
    margin-top: 2rem;
  }
  .contacts-top h1 {
    font-size: 20px;
  }
  .contacts-top h3 {
    font-size: 15px;
    text-align: center;
    padding: 0 1rem;
  }

  .contacts-top p {
    padding: 0 1rem;
    font-size: 14px;
    line-height: 1.6rem;
    font-weight: 600;
  }
  .contact-card h1 {
    font-size: 2rem;
  }

  /* Scroll top button mobile */
  #scrollToTop {
    bottom: 20px;
    right: 15px;
    padding: 12px;
    font-size: 18px;
  }
}

/* ======= TRÈS PETITS ÉCRANS (480px et moins) =======*/
/* ======= TRÈS PETITS ÉCRANS (480px et moins) =======*/
/* ======= TRÈS PETITS ÉCRANS (480px et moins) =======*/

@media (max-width: 480px) {
  /* Section défilante */
  .scroll-left {
    width: 95%;
    height: 35px;
  }

  .scroll-left p {
    font-size: 14px;
    letter-spacing: 3px;
  }

  /* Boutons très petits écrans */
  .btn-wrapper {
    --width: 180px;
    --height: 45px;
  }

  .btn-txt {
    font-size: 14px;
  }

  /* Réseaux sociaux très petits écrans */
  .social-icons a {
    height: 35px;
    width: 35px;
    line-height: 37px;
    margin: 8px 5px;
    font-size: 16px;
  }
}

/* ======= ÉCRANS EXTRA LARGES (1440px et plus) =======*/
/* ======= ÉCRANS EXTRA LARGES (1440px et plus) =======*/
/* ======= ÉCRANS EXTRA LARGES (1440px et plus) =======*/

@media (min-width: 1440px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes pour les produits */
    max-width: 1400px;
    margin: 0 auto;
  }
}
