
/*=== MEDIA QUERY ===*/
@import url("https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Montserrat:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Poppins:300,400,500,600,700|Work+Sans:400,500,600");
@font-face {
  font-family: 'Sofia Pro Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Regular'), url('../fonts/sofia-pro-webfont/Sofia Pro Regular Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Regular Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro ExtraLight';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro ExtraLight'), url('../fonts/sofia-pro-webfont/Sofia Pro ExtraLight Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro UltraLight';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro UltraLight'), url('../fonts/sofia-pro-webfont/Sofia Pro UltraLight Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro ExtraLight Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro ExtraLight Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro ExtraLight Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro UltraLight Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro UltraLight Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro UltraLight Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Light';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Light'), url('../fonts/sofia-pro-webfont/Sofia Pro Light Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Light Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Light Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Light Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Medium'), url('../fonts/sofia-pro-webfont/Sofia Pro Medium Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Medium Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Medium Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Medium Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro SemiBold';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro SemiBold'), url('../fonts/sofia-pro-webfont/Sofia Pro Semi Bold Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro SemiBold Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro SemiBold Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Semi Bold Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Bold'), url('../fonts/sofia-pro-webfont/Sofia Pro Bold Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Bold Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Bold Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Bold Italic Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Black';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Black'), url('../fonts/sofia-pro-webfont/Sofia Pro Black Az.woff') format('woff');
  }
  

  @font-face {
  font-family: 'Sofia Pro Black Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Sofia Pro Black Italic'), url('../fonts/sofia-pro-webfont/Sofia Pro Black Italic Az.woff') format('woff');
  }
  
html {
  overflow-x: hidden;
}

body {
  line-height: 1.5;
  font-family: 'Sofia Pro Medium';
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: hidden;
  background: #08080c !important;
  
}
/* GENRAL STYLE */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: #eee;
}

h1, .h1 {
  font-size: 3.5rem;
  font-family: 'Sofia Pro Black';
  line-height: 3.5rem;
}

h2, .h2 {
  font-size: 3rem;
  font-family: 'Sofia Pro Light';
}

h3, .h3 {
  font-size: 2rem;
  font-family: 'Sofia Pro Bold';
}

h4, .h4 {
  font-size: 1.5rem;
  line-height: 30px;
  font-family: 'Sofia Pro Bold';
}

h5, .h5 {
  font-size: 1.5rem;
  font-family: 'Sofia Pro Regular';
}

h6, .h6 {
  font-size: 1rem;
  font-family: 'Sofia Pro Light';
}
 hr{
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  max-width: auto;
  margin: 2rem 0rem
  }
p {
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: 'Sofia Pro Regular';
  color: #fff;
}
strong{
  font-family: 'Sofia Pro Medium' !important;
}
.bolder{
  font-family: 'Sofia Pro Bold';
}
.navbar-toggle .icon-bar {
  background: #F0195D;
}

input[type=email], input[type=password], input[type=text], input[type=tel], textarea, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
input[type=email]:focus, input[type=password]:focus, input[type=text]:focus, input[type=tel]:focus {
  box-shadow: none;
  border: 1px solid #2785FF;
}

.form-control {
  box-shadow: none;
  border-radius: 0;
  color: #000;
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid #2785FF;
}

.py-7 {
  padding: 7rem 0px;
}
.py-160 {
  padding: 20vh 0;
}
.rounded {
    border-radius: 1.25rem !important;
}
.border-secondary {
    border: 0.5px solid rgba(255, 255, 255, 0.25) !important;
}
@media (max-width: 480px)  {
  h1, .h1{
    font-size: 2.5rem;
  }
  .py-160 {
    padding: 20vh 0;
  }
  p{
    font-size: 1.25rem;
  }
  .btn-solid-border{
    font-size: 1rem !important;
  }
 
}

/* GENRAL STYLE */
 #canvas-container 
 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    z-index: 1;
}

#canvas-container:active {
    cursor: grabbing;
}

 #loader-overlay {
      position: fixed;
      top: 0; left: 0; width: 100vw; height: 100vh;
     background: radial-gradient(
  circle at 40% 75%,
  #c79435 0%,   
  #b6893b 15%,  
  #ad741f 55%,  
  #a7721e 85%,  
  #b06a0f 100%
);
      z-index: 999;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: opacity 0.5s ease;
    }
    .spinner {
      width: 60px; height: 60px;
      border: 5px solid rgba(255, 255, 225, 0.15);
      border-top-color: #462804;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 1rem;
    }
.section-title h1{
    font-size: 8rem;
  font-family: 'Sofia Pro Black';
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}
.section-title h4{
    font-size: 2rem;
  font-family: 'Sofia Pro Black';
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}
#loader .h2
{
    font-size: 3rem;
     font-family: 'Sofia Pro Black';
}
#teleport-loader {
   
    position: fixed;
    z-index: 10;
    background: #b06a0f;
    display: none;
}
.teleport-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
     width: 100vw;
    height: 100vh;
}
#teleport-loader.active {
    opacity: 1;
}
.hidden{
    display: none;
}
#instructions {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#minimap-container {
    position: absolute;
    bottom: 20px;
    right: 20px; /* Changé de right à left pour libérer le côté droit des commandes tactiles */
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 10;
}

#minimap-canvas {
    display: block;
    border-radius: 8px;
}

.css2d-renderer {
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
    z-index: 5;
}

.hotspot-wrapper {
    position: relative;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.hotspot-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Bouton icône façon bijou / or brossé */
.hotspot-btn {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 0 8px rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
    position: relative;
}

/* Effet d'aura lumineuse dorée en pulsations lentes */
.hotspot-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    animation: palacePulse 3s infinite ease-in-out;
    pointer-events: none;
}

.hotspot-wrapper:hover .hotspot-btn {
    transform: scale(1.1);
    background: #d4af37;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

.hotspot-wrapper:hover .hotspot-btn::before {
    animation: none;
    opacity: 0;
}

/* Symbole central épuré (losange ou étoile de conciergerie) */
.hotspot-btn::after {
    content: '◆';
    color: #d4af37;
    font-size: 10px;
    transition: color 0.3s;
}

.hotspot-wrapper:hover .hotspot-btn::after {
    color: #111111;
}

/* Badge de label façon carte de palace (Verre dépoli + liseré or) */
.product-label-card {
    background: rgba(15, 15, 15, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 8px 16px;
    border-radius: 4px; /* Forme rectangulaire plus chic / corporate luxe */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hotspot-wrapper:hover .product-label-card {
    background: rgba(235, 230, 220, 0.92);
    border-color: #d4af37;
    transform: translateX(4px);
}

.label-category {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4af37;
    font-weight: 500;
    transition: color 0.3s;
}

.hotspot-wrapper:hover .label-category {
    color: #665215;
}

.label-title {
    font-size: 12px;
    letter-spacing: 0.8px;
    color: #f5f5f5;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.3s;
}

.hotspot-wrapper:hover .label-title {
    color: #111111;
}

@keyframes palacePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
.navspot-wrapper {
    position: relative;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}
.navspot-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.navspot-btn {
    width: 42px;
    height: 42px;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 0 10px rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: luxuryPulse 2.5s infinite ease-in-out;
    flex-shrink: 0;
}

.navspot-btn:hover {
    transform: scale(1.15);
    background: rgba(212, 175, 55, 0.95);
    border-color: #fff;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.9);
}

.navspot-btn:hover ~ .navspot-label {
    background: rgba(212, 175, 55, 0.95);
    color: #111;
    border-color: #fff;
}

.navspot-btn::after {
    content: '✦';
    color: #d4af37;
    font-size: 16px;
    transition: color 0.3s;
}

.navspot-btn:hover::after {
    color: #111;
}

.navspot-label {
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f0f0f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    pointer-events: none;
}

@keyframes luxuryPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6), inset 0 0 10px rgba(212, 175, 55, 0.2);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0), inset 0 0 15px rgba(212, 175, 55, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), inset 0 0 10px rgba(212, 175, 55, 0.2);
    }
}

#info-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(18, 18, 18, 0.95);
    color: #f0f0f0;
    padding: 25px 30px;
    border-radius: 12px;
    width: 420px;
    max-width: 90%;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

#info-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

#info-modal h2 {
    margin: 5px 0 12px 0;
    color: #d4af37;
    font-size: 20px;
    font-weight: 500;
}

#close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
}

#close-modal:hover { color: #fff; }

.modal-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.modal-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity 0.2s;
}

.btn-web { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-config { background: #3498db; color: #fff; }
.btn-order { background: #d4af37; color: #111; }

.dpad-container {
position: fixed;
bottom: 30px;
left: 30px;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
z-index: 100;
touch-action: none;
user-select: none;
    }
.dpad-middle {
    display: flex;
    gap: 40px;
}
.dpad-btn {
    width: 55px;
    height: 55px;
    background: rgba(25, 25, 25, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.2s, transform 0.1s;
}
.dpad-btn:active, .dpad-btn.active {
    background: rgba(212, 175, 55, 0.3);
    transform: scale(0.95);
}
@media (min-width: 1024px) {
    .dpad-container { display: none; } /* Masqué sur grand écran si utilisation clavier */
}
@media (max-width: 1024px) {
/* Remplace '.instructions' par la classe ou l'ID exact de ton bloc d'instructions HTML */
#instructions, #instructions-box { 
    display: none !important; 
}
 .section-title h1 {
    font-size: 3.5rem;
  }
  .section-title h4 {
    font-size: 1.2rem;
  }
}

/* Bouton Info B2B */
#b2b-info-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    font-family: serif;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}
#home-info-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    font-family: serif;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}
#home-info-btn:hover,
#b2b-info-btn:hover {
    background: rgba(40, 40, 40, 0.85);
    transform: scale(1.05);
    text-decoration: none;
}

/* Modale Overlay */
.b2b-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.b2b-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenu de la modale */
.b2b-modal-content {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 5vw;
    width: 90%;
    max-width: 70vw;
    max-height: 85vh; /* Empêche la modale de dépasser de l'écran */
    overflow-y: auto;  /* Permet de scroller à l'intérieur si le texte est trop long */
    color: #f0f0f0;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    font-family: sans-serif;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .b2b-modal-content {
        max-width: 95vw;
        max-height: 90vh;
        padding: 3vw;
    }
}

.b2b-modal-content h2 {
    margin-top: 0;
    font-size: 2rem;
    font-family: 'Sofia Pro Bold';
    color: #ffffff;
    letter-spacing: 0.5px;
}
.b2b-modal-content p {
    margin-top: 0;
    font-size: 1.25rem;
    font-family: 'Sofia Pro Regular';
    color: #ffffff;
    line-height: 1.25;
}

.b2b-subtitle {
    font-size: 1.25rem;
    color: #d4af37; /* Couleur dorée signature */
    margin-bottom: 20px;
    font-weight: 500;
}

.b2b-text-block, .b2b-contact-block {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 15px;
}

.b2b-contact-block {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.b2b-contact-block a {
    color: #3498db;
    text-decoration: none;
}

.b2b-contact-block a:hover {
    text-decoration: underline;
}

/* Bouton de fermeture de la modale */
#b2b-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #aaaaaa;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

#b2b-close-btn:hover {
    color: #ffffff;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    background-color: #25d366;
    color: #ffffff !important;
    padding: 10px 16px;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    font-family: 'Sofia Pro Bold';
}
.whatsapp-btn i{
    font-size: 2rem;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    color: #ffffff;
}

.whatsapp-btn svg {
    stroke: #ffffff;
    fill: none;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee !important;
    text-decoration: none;
    font-size:1.75rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    text-decoration: none !important;
}