  /* ===== A PROPOS — EQUINOXE 2830 ===== */

.apropos {
  max-width: 720px;
  margin: auto;
  line-height: 1.7;
  color: #d9faff;
}

.apropos .question {
  font-weight: bold;
  font-size: 1.1rem;
  margin: 1.2em 0;
}

/* ===== MICRO-GLITCH ===== */

.glitch {
  position: relative;
  cursor: default;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.glitch:hover::before {
  color: #6ff3ff;
  animation: glitch1 0.25s linear;
}

.glitch:hover::after {
  color: #ff6f91;
  animation: glitch2 0.25s linear;
}

@keyframes glitch1 {
  0% { transform: translate(0); opacity: 0; }
  30% { transform: translate(-1px, 1px); opacity: 0.6; }
  60% { transform: translate(1px, -1px); opacity: 0.4; }
  100% { transform: translate(0); opacity: 0; }
}

@keyframes glitch2 {
  0% { transform: translate(0); opacity: 0; }
  40% { transform: translate(1px, 0); opacity: 0.5; }
  80% { transform: translate(-1px, 1px); opacity: 0.3; }
  100% { transform: translate(0); opacity: 0; }
}

/* ===== NOCTUA — NOTE CACHÉE ===== */

.hidden-trigger {
  position: relative;
  cursor: help;
  opacity: 0.75;
}

.noctua-note {
  position: absolute;
  bottom: 130%;
  left: 0;
  width: 280px;
  padding: 12px;
  background: rgba(5, 10, 20, 0.95);
  border: 1px solid rgba(111, 243, 255, 0.2);
  color: #6ff3ff;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.hidden-trigger:hover .noctua-note {
  opacity: 1;
}


/* ===== appui long et message caché s'affiche sur mobile ===== */
@media (hover: none) {
  .hidden-trigger:active .noctua-note {
    opacity: 1;
  }
}


/* ===== Noctua légèrement instable (1 pulsation lente) ===== */
.noctua-note {
  animation: noctuaPulse 6s infinite;
}

@keyframes noctuaPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(111,243,255,0); }
  50% { box-shadow: 0 0 12px rgba(111,243,255,0.15); }
}

/* ===== image de fond ===== */
body {
  margin: 0;
  min-height: 100vh;
  background-image: url("images/Background/about.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #050a14;
}


/* ===== voile cinématographique ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    rgba(5,10,20,0.85),
    rgba(5,10,20,0.65)
  );
  z-index: -1;
}

/* ===== image floutée uniquement derrière le texte ===== */
.container.apropos {
  background: rgba(5,10,20,0.55);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 2rem;
}


/* ===== Sur mobile, background-attachment: fixed peut laguer. ===== */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}


/* ===== FOND PARALLAX — ÉQUINOXE ===== */

.bg-parallax {
  position: fixed;
  inset: 0;
  background-image: url("images/Background/about.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: -3;
}


/* ===== FOND PARALLAX — MOBILE — DÉSACTIVATION AUTOMATIQUE (recommandé) ===== */
@media (max-width: 768px) {
  .bg-parallax {
    position: absolute;
    transform: none !important;
  }
}


/* ===== micro mouvement lent autonome (respiration IA) ===== */
.bg-parallax {
  animation: slowFloat 40s ease-in-out infinite;
}

@keyframes slowFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* ===== pour pousser le footer tout en bas quand texte court ===== */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

/* ===== dit au navigateur que Le contenu prend l’espace disponible et le footer reste en bas  ===== */
.container.apropos {
  flex: 1;
}


.footer-links {
  text-align: center;
  padding: 6px 0 14px;
  font-size: 0.78em;
  background: rgba(5,10,20,0.6);
  backdrop-filter: blur(4px);
}
.footer-links a {
  color: rgba(111,243,255,0.5);
  text-decoration: none;
  margin: 0 10px;
  transition: color .18s;
}
.footer-links a:hover {
  color: #6ff3ff;
  text-decoration: underline;
}

/* ===== musique d'ambiance ===== */
#sound-toggle {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background: rgba(5,10,20,0.6);
  color: #6ff3ff;
  border: 1px solid rgba(111,243,255,0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  z-index: 20;
  transition: bottom 0.3s ease;
}

/* état quand on arrive au footer */
#sound-toggle.above-footer {
  position: absolute;
}

/* ===== Changer l’icône au survol ===== */
#sound-toggle:hover {
  box-shadow: 0 0 12px rgba(111,243,255,0.3);
}


/* ===== HEADER CINÉMATIQUE / NOCTUA ===== */
.top-header{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 18px 90px 16px;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% 18%, rgba(0,140,255,0.10), transparent 48%),
    linear-gradient(180deg, rgba(7,13,25,0.96) 0%, rgba(6,12,24,0.86) 100%);

  border-bottom: 1px solid rgba(111,243,255,0.14);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.28),
    inset 0 -1px 0 rgba(111,243,255,0.05);
  backdrop-filter: blur(6px);
}

.header-center{
  position: relative;
  text-align: center;
  z-index: 1;
}

.top-header h1{
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #edf8ff;
  text-align: center;
  text-shadow:
    0 0 10px rgba(111,243,255,0.12),
    0 0 24px rgba(111,243,255,0.08),
    0 2px 10px rgba(0,0,0,0.35);
}

.header-subtitle{
  margin: 8px 0 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(111,243,255,0.70);
  text-shadow: 0 0 6px rgba(111,243,255,0.08);
}

.header-line{
  position: relative;
  margin: 14px auto 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(111,243,255,0.85),
    transparent
  );
  box-shadow: 0 0 10px rgba(111,243,255,0.16);
}

.header-line::after{
  content: "";
  position: absolute;
  top: 0;
  left: -18%;
  width: 18%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.75),
    transparent
  );
  animation: headerScan 3.6s linear infinite;
}

@keyframes headerScan{
  0% { left: -18%; opacity: 0; }
  10% { opacity: 1; }
  100% { left: 118%; opacity: 0; }
}

@media (max-width: 768px){
  .top-header{
    min-height: 102px;
    padding: 16px 58px 14px;
  }

  .top-header h1{
    font-size: clamp(1.2rem, 5.3vw, 1.75rem);
    line-height: 1.12;
  }

  .header-subtitle{
    font-size: 0.50rem;
    letter-spacing: 0.20em;
    margin-top: 6px;
  }

  .header-line{
    width: 135px;
    margin-top: 10px;
  }
}


/* ===== SELECTEUR DE LANGUE MOBILE ===== */
#language-selector {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 101;
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid #0af;
  border-radius: 10px;
  padding: 1px 0px;
  box-shadow: 0 0 12px #0af;
  backdrop-filter: blur(4px);
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
}

#language-selector select {
  background: transparent;
  color: #00ffff;
  border: none;
  outline: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 8px;
  cursor: pointer;
  text-shadow:
    0 0 4px #4dccff,
    0 0 8px #1ea7ff,
    0 0 12px #00cfff;
}

#language-selector select:hover {
  text-shadow:
    0 0 6px #4dccff,
    0 0 10px #1ea7ff,
    0 0 20px #00cfff;
  transform: scale(1.05);
  transition: all 0.25s ease-in-out;
}

#language-selector:hover {
  box-shadow: 0 0 20px #0af, 0 0 40px #05f, 0 0 60px #0ff;
  transition: all 0.3s ease-in-out;
}


/* ============================
   📡 TRANSMISSION NOCTUA
============================ */

.transmission-line {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(6px);

  /* durée par défaut */
  animation: transmitIn var(--transmit-duration, 1.6s) ease forwards;
}

@keyframes transmitIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}


/* ligne parlée par Noctua */
.transmission-line.noctua-voice {
  text-shadow:
    0 0 6px rgba(111,243,255,0.6),
    0 0 14px rgba(111,243,255,0.4);
}



/* ===== MOBILE NAVIGATION ===== */

#menu-toggle{
  display:none;
  position:fixed;
  top:85px;
  left:10px;
  z-index:200;
  background:rgba(5,10,20,0.8);
  border:1px solid rgba(111,243,255,0.3);
  color:#6ff3ff;
  font-size:18px;
  padding:4px 6px;
  border-radius:8px;
  backdrop-filter:blur(6px);
}

/* NAV MOBILE */
@media (max-width:768px){

  #menu-toggle{
    display:block;
  }

  #mobile-nav{
    position:fixed;
    inset:0;
    background:rgba(5,10,20,0.96);
    backdrop-filter:blur(12px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:28px;
    transform:translateY(-100%);
    transition:0.4s ease;
    z-index:150;
  }

  #mobile-nav.open{
    transform:translateY(0);
  }

  #mobile-nav a{
    font-size:1.2rem;
    letter-spacing:.12em;
  }
}


/* STOP SCROLL HORIZONTAL GLOBAL */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}


/* translate pour pc */
@media (min-width: 769px) {
  #language-selector {
  position: fixed;
    top: 130px; /* ⬅️ ajuste ici */
	right: 30px;
    z-index: 999; /* ⬅️ au-dessus de tout */
	
  }
}


/* INTERFACE BTN MOBILE */
#mobile-console-btn{
  display: none;
}

@media (max-width: 900px){
  #mobile-console-btn{
    display: block;
    position: absolute;
    top: 10px;
    left: 8px;
    z-index: 4000;

    background: rgba(0,20,40,0.75);
    border: 1px solid #0af;
    color: #6ff3ff;
    padding: 4px 2px;
    border-radius: 10px;

    font-family: Orbitron, sans-serif;
    letter-spacing: 1.5px;
    font-size: 8px;

    box-shadow: 0 0 10px rgba(0,200,255,0.5);
  }
}

/* NAV STYLE IDENTIQUE */
@media (max-width: 900px){

  #mobile-nav{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3500;

    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(6px);

    transform: translateY(100%);
    transition: transform 0.35s ease;

    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;

    padding: 34px 20px 28px;
  }

  #mobile-nav.open{
    transform: translateY(0);
  }

  #mobile-nav a{
    display: block !important;
    width: 100% !important;
    max-width: 320px;
    margin: 0 !important;
    padding: 16px 0 !important;

    text-align: center !important;
    font-size: 20px;
    letter-spacing: 2px;
    white-space: nowrap;

    float: none !important;
  }
}
