/* ============================
   FONTS
============================ */
@font-face {
  font-family: "SuisseIntl";
  font-weight: 300;
  src: url(fonts/SuisseIntl/SuisseIntl-Ultralight.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntl";
  font-weight: 400;
  src: url(fonts/SuisseIntl/SuisseIntl-Thin.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntl";
  font-weight: 500;
  src: url(fonts/SuisseIntl/SuisseIntl-Light.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntl";
  font-weight: 600;
  src: url(fonts/SuisseIntl/SuisseIntl-Regular.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntlIta";
  font-weight: 600;
  src: url(fonts/SuisseIntl/SuisseIntl-RegularItalic.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntl";
  font-weight: 700;
  src: url(fonts/SuisseIntl/SuisseIntl-SemiBold.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntl";
  font-weight: 800;
  src: url(fonts/SuisseIntl/SuisseIntl-Bold.otf) format("opentype");
}
@font-face {
  font-family: "SuisseIntl";
  font-weight: 900;
  src: url(fonts/SuisseIntl/SuisseIntl-Black.otf) format("opentype");
}

/* ============================
   GLOBAL
============================ */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: white;
  overflow-x: hidden;
}

a,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"],
.card img {
  cursor: crosshair;
}

/*
██╗  ██╗███████╗ █████╗ ██████╗ ███████╗██████╗ 
██║  ██║██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗
███████║█████╗  ███████║██║  ██║█████╗  ██████╔╝
██╔══██║██╔══╝  ██╔══██║██║  ██║██╔══╝  ██╔══██╗
██║  ██║███████╗██║  ██║██████╔╝███████╗██║  ██║
╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═════╝ ╚══════╝╚═╝  ╚═╝
*/  
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 3.5vh;
  z-index: 100;
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.3s ease;
  will-change: transform;
  opacity: 1;
}

body.scroll-down .main-header {
  transform: translateY(-100%);
}
body.scroll-up .main-header {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  height: 2.7vh;
  padding-top: 0.7vh;
}

.header-logo {
  display: flex;
  width: 30vw;
}

.header-logo a {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #628aed;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.header-logo a:hover {
  opacity: 0.6;
  color: #000;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 15%;
}

.header-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #628aed;
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.header-nav a:hover {
  color: #000;
}


/*

 /$$$$$$ /$$   /$$ /$$$$$$$$ /$$$$$$   /$$$$$$ 
|_  $$_/| $$$ | $$| $$_____//$$__  $$ /$$__  $$
  | $$  | $$$$| $$| $$     | $$  \ $$| $$  \__/
  | $$  | $$ $$ $$| $$$$$  | $$  | $$|  $$$$$$ 
  | $$  | $$  $$$$| $$__/  | $$  | $$ \____  $$
  | $$  | $$\  $$$| $$     | $$  | $$ /$$  \ $$
 /$$$$$$| $$ \  $$| $$     |  $$$$$$/|  $$$$$$/
|______/|__/  \__/|__/      \______/  \______/ 
                                               
                                               
                                               
*/
.case {
  width: 100%;
  overflow: hidden;
  margin-bottom: 3vh;
  position: relative;
}

.item1 {
  width: 100%;
  margin: auto;
  margin-top: 2vh;
}

.textes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
  align-items: start;
  justify-items: center;
  text-align: left;
}

.item1 h1 {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #628aed;
  font-size: 1.1rem;
  margin-left: 3vw;
}

.textes h2 {
  font-family: 'SuisseIntl', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: #000;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.3;
}

.textes p {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 500;
  color: #000;
  font-size: 0.95rem;
  line-height: 0.9;
  max-width: 35ch;
}

        /*
 ██████╗  █████╗ ██╗     ███████╗██████╗ ██╗███████╗
██╔════╝ ██╔══██╗██║     ██╔════╝██╔══██╗██║██╔════╝
██║  ███╗███████║██║     █████╗  ██████╔╝██║█████╗  
██║   ██║██╔══██║██║     ██╔══╝  ██╔══██╗██║██╔══╝  
╚██████╔╝██║  ██║███████╗███████╗██║  ██║██║███████╗
 ╚═════╝ ╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═╝╚═╝╚══════╝
*/
    
.contenair {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
}

.item2 {
  width: 100%;
  height: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

.item2::-webkit-scrollbar {
  display: none;
}

.group {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.5vw;
}

.card {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease-out;
}

.card img,
.card video {
  height: 100%;
  width: auto;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.card:hover img,
.card:hover video {
  transform: scale(0.95);
  opacity: 1;
}

/* ============================
   ANIMATION FADE + SLIDE
============================ */
.item1,
.card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.item1.visible,
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   LIGHTBOX
============================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
}

/* /$$$$$$$$ /$$$$$$   /$$$$$$  /$$$$$$$$ /$$$$$$$$ /$$$$$$$ 
| $$_____//$$__  $$ /$$__  $$|__  $$__/| $$_____/| $$__  $$
| $$     | $$  \ $$| $$  \ $$   | $$   | $$      | $$  \ $$
| $$$$$  | $$  | $$| $$  | $$   | $$   | $$$$$   | $$$$$$$/
| $$__/  | $$  | $$| $$  | $$   | $$   | $$__/   | $$__  $$
| $$     | $$  | $$| $$  | $$   | $$   | $$      | $$  \ $$
| $$     |  $$$$$$/|  $$$$$$/   | $$   | $$$$$$$$| $$  | $$
|__/      \______/  \______/    |__/   |________/|__/  |__/
*/
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3vh;
  background-color: #628aed;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background-color: #628aed;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
}

.marquee-content a,
.marquee-content span {
  margin: 0.5vh 1.5vw;
  text-decoration: none;
  font-family: 'SuisseIntl';
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: white;
}

.marquee-content a:hover {
  color: #000;
}

.footer:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/*
   /$$$$$$$  /$$$$$$$$  /$$$$$$  /$$$$$$$   /$$$$$$  /$$   /$$  /$$$$$$  /$$$$$$ /$$    /$$ /$$$$$$$$
| $$__  $$| $$_____/ /$$__  $$| $$__  $$ /$$__  $$| $$$ | $$ /$$__  $$|_  $$_/| $$   | $$| $$_____/
| $$  \ $$| $$      | $$  \__/| $$  \ $$| $$  \ $$| $$$$| $$| $$  \__/  | $$  | $$   | $$| $$      
| $$$$$$$/| $$$$$   |  $$$$$$ | $$$$$$$/| $$  | $$| $$ $$ $$|  $$$$$$   | $$  |  $$ / $$/| $$$$$   
| $$__  $$| $$__/    \____  $$| $$____/ | $$  | $$| $$  $$$$ \____  $$  | $$   \  $$ $$/ | $$__/   
| $$  \ $$| $$       /$$  \ $$| $$      | $$  | $$| $$\  $$$ /$$  \ $$  | $$    \  $$$/  | $$      
| $$  | $$| $$$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$ \  $$|  $$$$$$/ /$$$$$$   \  $/   | $$$$$$$$
|__/  |__/|________/ \______/ |__/       \______/ |__/  \__/ \______/ |______/    \_/    |________/  
 */  


@media (max-width: 992px) {

.main-header{
      background-color: #628aed;
}

  /* structure interne */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  height: 2vh;
  padding-top: 0.7vh;
}

/* logo */
.header-logo{
  display: flex;
  width: 40%;
}

.header-logo a {
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  color: white;
}

.header-logo a:hover {
  opacity: 0.6;
  color: #000;
}

/* nav */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 30%; /* répartit les liens équitablement */
}

.header-nav a {
  text-align: center;
  text-decoration: none;
  color: white;
  font-family: 'SuisseIntl', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.header-nav a:hover {
    color: #000;
}

  .group {
    flex-direction: column;
    gap: 2vh;
    /* Scroll fluide mobile */
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
  }

  

  .card {
    width: 100%;
    height: auto;
    scroll-snap-align: start; /* chaque image s’aligne proprement */
  }

  .card img,
  .card video {
    width: 100%;
    height: auto;
    object-fit: cover;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
  }


  .case {
    display: flex;
    flex-direction: column;  
  }
  /* === texte au-dessus de la galerie === */
  .item1 {
    width: 90vw;               
    max-width: 500px;         
    order: -1;
    margin:  auto;
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
    position: relative;
  }

  .item1 h1{
    text-align: center;
    margin-bottom: 1vh;
  }

  .item1 .textes{
  display: block;
  text-align: center;

  }
  .item1 h2{
    margin: 1vh auto;
    text-align: center;
  }

  .item1 p{
text-align: center;
  }
   .footer {
    display: none !important;
    
  }
}



/* Désactivation hover sur appareils tactiles */
@media (hover: none) and (pointer: coarse) {
  *:hover {
    background: none !important;
    color: inherit !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .hover-effect,
  a:hover,
  button:hover {
    all: unset !important;
  }
}