html {background: #000;} 

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: white;
}

img {max-width:100%; height:auto; display: inline-block;
  vertical-align: middle;}

*, *::before, *::after {
  box-sizing: border-box;
}

a {color:#fff}
a:hover {color:#000}


/* ----- video backgroubnd ----- */
.bg-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; 
    background: rgba(0,0,0,0.19); 
    pointer-events: none;  /* eviter de bloquer click */
}
  #bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    background: #000;
  }
  .no-video-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #2b2b2a;
    display: flex; justify-content: center; align-items: center;
    z-index: -1;
    color: #6a5d00;
    font-size: 2em;
    font-weight: bold;
  }
  #sound-toggle {
    position: fixed;
    bottom: 12px;
    right: 11px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 24px;
    padding: 6px 9px;
    
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.2s;

    display: flex;
    justify-content: center;
    align-items: center;
  }
  #sound-toggle:hover {
    background: rgba(255,255,255,0.2);
  }
  /* Cacher boutons natifs sur iOS/Safari */
  video::-webkit-media-controls-start-playback-button,
  video::-webkit-media-controls-overlay-play-button,
  video::-webkit-media-controls-play-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none !important;
  }
/* */



  /* Importation Acumin VF (Variable Font) */
  @font-face {
    font-family: 'Acumin VF Default';
    src: url('fonts/Acumin/Acumin-VF-Default.ttf') format('truetype');
    font-weight: 100 900; /* Supporte toutes les graisses si variable */
    font-display: swap;
  }

  /* Importation SansPlomb-98 (EOT + fallback) */
  @font-face {
    font-family: 'SansPlomb-98';
    src: url('fonts/SansPlomb_98/SansPlomb-98.eot');
        /* Ajoute aussi un fallback moderne si existant (ex: woff2/woff/ttf) */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  

  
  /* ------- fonts ------ */

    /* ACUMIN */
    .acumin p {
      font-family: 'Acumin VF Default', system-ui, sans-serif;
      margin: 0;
    }
    .acumin .regular {
      font-weight: 400;
    }
    .acumin .bold {
      font-weight: 700;
    }
    .acumin .italic {
      font-style: italic;
    }
    .acumin .extrabold {
      font-weight: 900;
    }
    .acumin .varweight {
      /* Utilise la font variable : astuce pour explorer différentes épaisseurs */
      font-variation-settings: "wght" 300;
    }

    .acumin .varweight[style*='800'] {
      /* Variante 800 si applicable à ta police */
      font-variation-settings: "wght" 800;
    }

    /* SANS PLOMB */
    .sansplomb p {
      font-family: 'SansPlomb-98', Arial, Helvetica, sans-serif;
      margin: 0;
    }
    .sansplomb .regular {
      font-weight: normal;
    }
    .sansplomb .bold {
      font-weight: bold;
      /* Si SansPlomb n'a pas de bold, simulation via font-weight */
    }
    .sansplomb .italic {
      font-style: italic;
    }




/* ----- center texte ----- */
.center-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);*/

    /* On part mobile-first : largeur auto, padding adapté */
    min-width: 0;
    /* max-width: 90vw;          /* Jamais plus large que 90% viewport */
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    z-index: 0;
}

/* Version desktop : largeurs généreuses et centrage plus marqué */
@media (min-width: 768px) {
    .center-text {
        max-width: 900px;
        padding: 0 40px;
    }
}

.center-text h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3em;
  margin: 0 0 0.3em 0;
  letter-spacing: 2px;
}

.center-text h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-family: 'SansPlomb-98', Arial, Helvetica, sans-serif;
  font-size: 2em;
  margin: 0 0 0.2em 0;
  font-weight: 500;
  letter-spacing: 1.5px;
}


.maintenance-message {
    /* styles de base */
    font-family: 'SansPlomb-98', Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 30px;
    margin: 10px;
    letter-spacing: 0.5px;
    line-height: 1.1em;
    position: relative;
    user-select: none;
    outline: none;
    
}

.maintenance-message span {
    display: inline; /* <-- PAS inline-block ! */
    position: relative;
    transition: filter .15s, color .12s, text-shadow .16s;
    /* PAS de white-space ici */
}

/* On cible les caractères/wrappers */
.maintenance-message span.glitch {
  animation: glitch-char 420ms linear;
  filter: blur(1.5px) brightness(1.35);
  color: #fff;
  text-shadow:
     2px 0 2px #0ff,
    -2.5px 0 2px #f00,
     0 1.5px 1px #0ff,
     0 -2px 2px #f0f;
  z-index: 1;
}

@keyframes glitch-char {
  0%   { transform: scale(1) skew(0deg);   opacity: 1; }
  14%  { transform: translateY(-1.7px) skew(-2deg) scaleX(1.01);}
  33%  { transform: translateX(3px) scaleY(1.025) skew(2deg); color: #0ff;}
  58%  { transform: translateY(3px) scale(1.04) skew(-3deg); color: #f0f;}
  72%  { transform: translateX(-3px) skew(3deg);}
  85%  { color: #f00;}
  100% { transform: none; color: #fff; filter: none; opacity: 1; }
}

.maintenance-message span.glitch-alt {
  animation: glitch-char-alt 540ms cubic-bezier(.4,0,.7,1);
  filter: blur(2px) brightness(1.65);
  color: #fff87b;
  text-shadow:
     0px 0px 5px #fbff95,
     0px 3px 12px #fb6cf9,
     2px -3px 4px #4af9a0;
  z-index: 2;
}

@keyframes glitch-char-alt {
  0%   { transform: scale(1) skew(0deg);   opacity: 1; }
  10%  { transform: translateY(-3px) skew(-2deg) scaleX(1.01);}
  25%  { transform: translateX(8px) scaleY(1.035) skew(2deg); color: #fbff95;}
  55%  { transform: translateY(7px) scale(0.99) skew(-4deg); color: #fb6cf9;}
  87%  { color: #4af9a0;}
  100% { transform: none; color: #fff87b; filter: none; opacity: 1; }
}

.maintenance-message:focus-visible {
  outline: 2px solid #0ff;
}


.maintenance-message p {
  padding: 0;
  margin: 0;
}


.social-media {
    text-align: center;
    padding: 20px;
}



@media (max-width: 600px) {

  .maintenance-message { font-size: 24px; }


  #sound-toggle {
    font-size: 1.2em;
    padding: 10px 12px;
    bottom: 20px;
    right: 20px;
  }
}



