/* Police Melbourne Bold */
@font-face {
  font-family: 'Melbourne';
  src: url("../../fonts/melbournebold.ttf") format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Melbournethin';
  src: url("../../fonts/melbourne.ttf") format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Andaluz';
  src: url("../../fonts/Andaluz-Regular.otf") format('truetype');
  font-weight: bold;
}

.Menugrand {display:none;

}body {
  overflow-x: hidden;
  display: block;
  font-family: 'Melbourne', sans-serif;
  background-color: #020411;
}
/* Conteneur fixe : aligne logo et menu */
.fixed-container {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 2000px;
  max-height:73px;
  padding: 0 60px;
  display: flex;
  align-items: flex-start; /* aligne en haut */
  justify-content: space-between;
  z-index: 1000;
  box-sizing: border-box;
  pointer-events: none;
}

.fixed-container .logo-bar,
.fixed-container .menu {
  pointer-events: auto;
}

/* Logo */
.logo-bar {
  height: 73px;
  width: 240px;
  background: url(../../Image/Grand.webp) no-repeat center/contain;
}
.menu a{text-decoration:none;}
/* Menu */
.menu {
  display: flex;
  gap: 23px;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.menu-item {
  color: white;
  font-family: 'Melbourne', sans-serif;
  font-size: 25px;
  width: 166px;
  min-height: 53px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.3s ease;
  height: 53px;
}

.menu-item.expanded {
  height: 159px;
}

/* Bouton aide */
.help-button {
  color:white;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  font-family: 'Melbourne', sans-serif;
  transition: background-color 0.2s ease;
}

.help-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Boîte d’aide */
.help-box {
  position: absolute;
  top: 125%; /* juste en dessous du menu */
  right: 55px; /* aligné à droite du menu */
  width: 360px;
  height: 160px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  padding: 16px;
  font-family: 'Melbourne', sans-serif;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 998;
}

.help-box.visible {
  opacity: 1;
  pointer-events: auto;
}
.Partie {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height:50%;
  margin: 2%;
  margin-left: 0%;
}
.Piece{
  height:90%;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-lines {
  margin-left: -10%;
  display: flex;
  flex-direction: column;
}
.line {
transition: all 0.3s ease;
white-space: nowrap;
min-height: 1.2em;
/* dégradé texte vertical : top blanc, bottom couleur fond */
background: linear-gradient(to bottom, white 0%,  #020411 85%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;}
.line:hover {
  transform: translateY(-1%);
  background:white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-button {
  width: 645px;
  height: 96px;
  margin: 0 auto;
  border-radius: 90px;
  border: 5px solid white;
  box-shadow: 0px 4px 4px rgba(160, 171, 255, 0.5);
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
  font-family: 'Melbourne', sans-serif;
  font-size: 24px;
  color: white;
  background: transparent;
  cursor: pointer;
  transition-duration: 1000ms;
}

.cta-button:hover {
  color: #020411;
  font-size: 30px;
  background-color: white;
}
.blur-wrapper {
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body.blur-active .blur-wrapper {
  filter: blur(3px) brightness(0.7);
}
.carrousel-section {
  margin-top: 200px;
  margin-bottom:200px;
  width: 100vw;
  text-align: center;
  color: white;
}

.section-title {
  margin: 10vh;
  font-size: 90px;
  font-family: 'Andaluz', serif;
}

.carrousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  position: relative;
}

.carrousel-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  width: 100vw;
}

.carrousel-item {
  position: relative;
  width: 12%;
  max-height: 500px;
  aspect-ratio: 0.707;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.carrousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.piece {
  text-align: center;
  margin: 2rem auto;
}

.text-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.big-price {
  font-size: 450px;
}

.small { 
  font-size: 120px;
  margin-top: -0.6em;
}

.medium {
  font-size:160px;
  margin-top: -0.3em;
}

.site-footer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  color: white;
  font-family: 'Melbourne';
  font-size: 16px;
  line-height: 1.5;
  z-index: 9999;
}
.footer-toggle {
  font-size: 25px;
  color:white;
  font-family: 'Andaluz', sans-serif;
  position: fixed;       /* fixé indépendamment */
  bottom: 10px;
  right: 10px;
  padding: 8px 14px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 16px;
  z-index: 10000;         /* au-dessus du footer */
  transition: color 0.5s ease;
}
.footer-panel {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  padding: 0 20px;
}

.footer-panel.open {
  background-color: rgba(2, 4, 17, 0.95); /* fond sombre semi-transparent */
  max-height: 500px; /* reduit grace aux colonnes */
  padding: 20px;
  overflow-y: scroll;
}

.footer-columns {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1 1 300px; /* responsive */
  min-width: 300px;
}

.footer-column h2 {
  font-family: 'Melbourne', sans-serif;
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-column p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.4;
}

.footer-column a {
  color: #7893FF;
  text-decoration: underline;
}

.footer-panel .copyright {
  margin-top: 20px;
  font-size: 0.85em;
  opacity: 0.7;
}
.footer-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  color: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
  font-family: 'Melbourne', sans-serif;
  z-index: 10001;
  transition: color 0.5s ease;
}

.footer-close:hover {
  color: #FF64D1; /* rose du gradient par exemple */
}
.footer-toggle:hover {
  color: #FF64D1; /* rose du gradient par exemple */
}
.footer-toggle.hidden {
  display: none;
}
@media (pointer: coarse) and (max-width: 800px) {
  body{
     display:flex;
     width: 100%;
     margin: 0px -10px 0px 0px;
    }
   main {
    margin-top: 100px;
   }
     .logo-bar {
       background-position: center center;
       margin-top:0px ;
       background: url("../../Image/S.webp") no-repeat center / contain;
       height: 100%;
       width: 5vw;
     }
     .fixed-container{
     z-index:10000;
     top: 40px;
     min-width: 100px;
     width: 100%;
     max-width: 100vw;
     justify-content:space-between;
     gap:auto;
     height: 50px;
     }
  
    .menu {
     flex-direction: flex-start;
     background-image: url(../../Image/MenuMobile.webp);
     background-size: 25%;
     background-position:center;
     background-repeat:no-repeat;
       background-color:rgba(27, 29, 40, 1) ;
       color: none;
       height: 70%;
       aspect-ratio: 1;
       padding:5px;
     }
     .menu-item, .help-button, .help-box {display:none;}
     .Menugrand {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
    
      /* état fermé */
      transform: translateX(100%);
      opacity: 0;
      pointer-events: none;
    
      background-color: rgba(2, 4, 17, 0.95);
      color: white;
      z-index: 9999;
    
      display: flex;
      justify-content: center;
      align-items: center;
    
      transition: transform 0.5s ease, opacity 0.5s ease;
    }
  .carrousel-section {
    margin-top: 5vh;
    margin-bottom:5vh;
    width: 100vw;
    text-align: center;
    color: white;
  }
  
  .section-title {
    margin: 10vh;
    font-size: 90px;
    font-family: 'Andaluz', serif;
  }
  
  .carrousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
  }
  
  .carrousel-track {
    display: flex;
    gap: 20px;
    overflow: hidden;
    width: 100vw;
  }
  
  .carrousel-item {
    position: relative;
    width: 35%;
    max-height: 500px;
    aspect-ratio: 0.707;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
  }
  .carrousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
   
   /* Quand .clicked est activé → visible */
   .Menugrand.clicked {
     opacity: 1;
     position:fixed;
     display: flex;
     justify-content: center;
     align-items: center;
     transform: translateX(0);
     width: 100vw;
     height: 100vh;
   }
   
   .Menugrand ul {
     list-style: none;
     padding: 0;
     text-align: center;
   }
   
   .Menugrand ul li {
     margin: 20px 0;
   }
   
   .Menugrand ul li a {
     color: white;
     font-size: 28px;
     text-decoration: none;
   }
   
   .Menugrand ul li a:hover {
     color: #FF64D1;
   }
     .cta-button {
       width: 300px;
       font-size: 20px;
     }
     .cta-button:hover {
       font-size: 27px;;
     }
     a {
      height:100%;
      width: 100%;
       text-decoration: none;
     }
     .section-title {
      margin: 0px;
      margin-top:10vh;
      font-size: 90px;
      font-family: 'Andaluz', serif;
    }
    .Partie {
      overflow: hidden;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      width: 100%;
      height:50%;
      margin: 2%;
      margin-left: 0%;
    }
    .Piece{
      height:90%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .text-lines {
      margin-left: -10%;
      display: flex;
      flex-direction: column;
    }
    .line {
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 1.2em;
    /* dégradé texte vertical : top blanc, bottom couleur fond */
    background: linear-gradient(to bottom, white 0%,  #020411 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;}
    .line:hover {
      transform: translateY(-1%);
      background:white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .big-price {
      font-size: 180px;
    }
    model-viewer {display: none;}
       .small { 
      font-size: 40px;
      margin-top: -0.6em;
    }
    
    .medium {
      font-size:50px;
      margin-top: -0.3em; 
    }
    } 