body {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
}
.background {
    position: fixed;
    inset: 0;
    z-index: -1; /* placer derrière tout le contenu */
    pointer-events: none; /* laisser les clics passer */
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.background-image {
    position: absolute;
    inset: -100px; /* marge pour l'animation */
    background-image: url('../../webassets//backgrounds/background-06.svg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1);
}
/* Désactiver l'animation si préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
    .background-image {
        transform: none !important;
    }
}
.temporaire {
  position: fixed;
  top: 75px;
  left: 0;
  width: 80vw;
  max-width: 500px;
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  z-index: 1000;
}
.temporaire a {
  color: blue;
  text-decoration: underline;
}










/* =========================
   SECTION INTRODUCTION - PARALLAX
========================= */
#section-introduction {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 200px; /* Position initiale du block */
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
  overflow: hidden;
  will-change: transform;
}
/* Spacer pour compenser la section fixée */
.parallax-spacer {
  height: 70vh;
  width: 100%;
  pointer-events: none;
}
#block-introduction {
  max-width: 800px;
  align-self: center;
  will-change: transform, opacity;
  width: calc(100% - 8vw);
  color: rgb(245, 245, 247);
  border: 1px solid var(--global-transparent-white-2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  background-image: none;
  background-color: rgba(255, 255, 255, 0);
  position: relative;
  margin: 0;
  padding: 20px 40px 20px 20px;
  gap: 15px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  transition: opacity 0.1s ease;
}
.block-introduction-video {
  position: absolute;
  filter: brightness(2) blur(18px) saturate(0.6) contrast(1.9) sepia(0.25);
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
#colonne-icone {
  width: auto;
}
#colonne-icone svg {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0px 0px 6px rgb(0, 19, 187));
}
#details-nom {
  color: rgba(255, 255, 255, 0.7);
  display: none;
  margin-left: 0.8rem;
  font-family: Inter-italic;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
}
#description-site {
  margin: 0;
  padding: 0;
}
#description-site-texte {
  margin: 0;
  padding: 0;
  font-family: Inter-italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 400;
  text-shadow: 0px 0px 18px rgb(0, 19, 187);
}
.typemachine {
  font-size: clamp(1.3rem, 2.4vw, 1.1rem);
  font-weight: 500;
  color: rgb(0, 0, 0); 
  min-height: 2.3rem;
  display: flex; 
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start  ;
}
.typemachine-text {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0px 0px 6px rgb(255, 255, 255);
  font-family: Intertight;;
  font-weight: 600;
  border-radius: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.85);
  background-image: linear-gradient(90deg, rgba(0, 102, 255, 0.993), rgba(255, 0, 0, 0.151) 20%, rgb(255, 27, 27) 60%); 
  background-position: 0 100%; 
  background-repeat: no-repeat; 
  background-size: 100% 0.12em; 
  padding-bottom: 0.2em; 
}




/* =========================
   SECTION ESSENTIALS - PARALLAX OVERLAY
========================= */
#section-essentials {
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
  padding-bottom: 4rem;
  background-color: rgb(245, 245, 247);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1rem solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

#block-essentials {
  width: 80%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  gap: 0;
}
#block-essentials h1 {
  user-select: none;
  font-family: Intertight;
  font-weight: 500;
  font-size: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 3rem 0 0 0;
  padding: 0;
}
#block-essentials h1 b {
  font-weight: 730;
  margin-right: 0.4rem;
  margin-left: 0.4rem;
}
#block-essentials h1 img {
  height: 1.45rem;
} 
#block-essentials h2 {
  text-align: center;
  max-width: 400px;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
}





/* ACCORDEON */
.answer-image {
  width: 30%;
  border-radius: 12px;
  transition: width 0.3s ease;
}
.answer-image:hover {
  width: 60%;
  transition: width 0.3s ease;
}
#section-essentials-accordion {
  box-sizing: inherit;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 4rem;

  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-container{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.accordion-item{
  border-radius: .4rem;
}
.accordion-item .menu-divider {
  opacity: 0.25;
}
.answer mark {
  opacity: 0.15;
}
.accordion-link{
  margin:0;
  padding: 0;
  box-sizing: inherit;
  font-size: 1.3rem;
  text-decoration: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  cursor: pointer;
}
.accordion-link h3 {
  margin:0;
  padding: 0;
  box-sizing: inherit;
  font-family: Intertight;
  font-size: 1.3rem;
  font-weight: 700;
}
.accordion-link ul {
  display: flex;
  align-items: flex-end;
  list-style-type: none;
  margin-left: 25px;
}
.accordion-link div{
  display: flex;
  align-items: center;
}
/* Icônes accordion */
.accordion-icon {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  transition: transform 0.3s ease;
}
.accordion-icon-inactive {
  display: block;
  color: var(--button-global-color);
}
.accordion-icon-active {
  display: none;
}
.accordion-item.active .accordion-icon-inactive {
  display: none;
}
.accordion-item.active .accordion-icon-active {
  display: block;
}
.accordion-link .ion-md-arrow-down{
  display: none;
}
.answer {
  max-height: 0;
  overflow: hidden;
  position: relative;
  transition: max-height 650ms ease, opacity 300ms ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: flex-start;
}
.answer-description {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.8rem;
  box-sizing: border-box;
}
.answer p {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1rem;
  padding: 0 1rem 0 1rem;  
}
.answer a {
  height: 1.8rem;
}
/* Classe active via JS (remplace :target) */
.accordion-item.active .answer{
  opacity: 1;
}
.accordion-item.active .accordion-link .ion-md-arrow-forward{
  display: none
}
.accordion-item.active .accordion-link .ion-md-arrow-down{
  display: block;
}










/* =========================
   AUTRES CONTENUS
========================= */
#section-autrescontenus {
  position: relative;
  z-index: 10;
  width: 100%;
  top: 0;
  height: auto;
  padding-bottom: 10rem;
  background-color: rgba(245, 245, 247);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
#section-autrescontenus h2 {
  font-family: "Intertight";
  text-align: center;
  font-weight: 500;
  font-size: 2rem;
}
.gallery {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.gallery-item {
  width: 46vw;
  min-width: 300px;
  height: 40vw;
  min-height: 200px;
  max-height: 550px;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  transition: filter 0.3s ease;
}
.gallery-item:hover {
  filter: contrast(1.05);
  transition: filter 0.3s ease;
}



.gallery-item .gi1,
.gallery-item .gi1 a {
  background-color: rgb(222, 241, 243);
}
.gallery-item .gi2,
.gallery-item .gi2 a {
  background-color: rgb(243, 239, 238);
}

.gallery-item .gi1 a:hover,
.gallery-item .gi2 a:hover {
  background-color: var(--button-global-color);
}

#gi1-visual  {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  border-top: 1px solid rgba(0, 0, 0, 0);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-image: url(../../webassets/visuels/visuel-accueil-02_durabilitevetementmedical.png);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 60%;
}
#gi2-visual  {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  border-top: 1px solid rgba(0, 0, 0, 0);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-image: url();
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100%;
}


.gallery-item-header {

  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.041), rgba(0, 0, 0, 0));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding-top: 1vh;
  padding-bottom: 1vh;
}
.gallery-item-header h3 {
  bottom: 0;
  margin: 0;
  padding: 3vh 1vh 0 1vh;
  width: 100%;
  font-size: 1.3rem;
  font-weight: 700;
}
.gallery-item-header p {
  bottom: 0;
  margin: 0;
  padding: 0 1vh 0.5vh 1vh;
  width: 70%;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
}
.btn-gallery-link {
  margin-top: 1rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 800px) {
  .background {
    animation: none;
    background-position: right;
  }

}



