html,body{height:100%;margin:0;overflow:hidden;font-family:system-ui,Inter,Roboto,Arial,sans-serif;color:#e5edf5;background:#000}
/* Fond */
#bg{position:fixed;inset:0;background:#000 center/cover no-repeat;background-image:url('assets/hero.jpg');z-index:0}
#veil{position:fixed;inset:0;display:block;touch-action:none;z-index:1}
#ui,.hud{display:none!important}

/* --- Hotspots glowy --- */
.hotspot{
  position:absolute; z-index:2;
  width:16px;height:16px;transform:translate(-50%,-50%) scale(.84);
  border-radius:50%;
  border:2px solid rgba(255,255,255,.95);
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 0%, rgba(255,255,255,.25) 60%, rgba(255,255,255,0) 70%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.35),
    0 0 24px rgba(120,180,255,.95),
    0 0 60px rgba(120,180,255,.6),
    0 0 90px rgba(120,180,255,.35);
  animation: glowPulse 2.6s ease-in-out infinite;
  cursor:pointer;
  opacity:0;
  filter: blur(.2px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1), filter .5s ease;
  pointer-events:none;
}
.hotspot.shown{opacity:1;transform:translate(-50%,-50%) scale(1);filter:blur(0);pointer-events:auto}
.hotspot.shown.off{opacity:.95}
.hotspot.revealing{opacity:0;transform:translate(-50%,-50%) scale(.84);filter:blur(.6px)}
@keyframes glowPulse{
  0%,100%{box-shadow:0 0 0 2px rgba(255,255,255,.35),0 0 24px rgba(120,180,255,.9),0 0 60px rgba(120,180,255,.55),0 0 90px rgba(120,180,255,.30)}
  50%{box-shadow:0 0 0 2px rgba(255,255,255,.45),0 0 32px rgba(140,200,255,1),0 0 76px rgba(140,200,255,.75),0 0 110px rgba(140,200,255,.45)}
}
.hotspot.sel{box-shadow:0 0 0 3px rgba(0,150,255,.9),0 0 32px rgba(140,200,255,1),0 0 86px rgba(140,200,255,.85),0 0 120px rgba(140,200,255,.5)!important}

/* --- Labels (rectangles visibles, rétablis) --- */
.hotlabel{
  position:absolute; z-index:3;
  max-width:min(36ch, 38vw);
  line-height:1.35;
  font-size:14px;
  color:#e9f2ff;
  background: rgb(111 125 170 / 18%);
  border-radius:12px;
  padding:10px 12px;
  backdrop-filter: blur(6px) saturate(110%);
  box-shadow: 0 10px 30px rgba(5,10,25,.35), inset 0 0 18px rgba(120,180,255,.08);
  opacity:0;
  transform: translateY(-50%) translateX(8px) scale(.98);
  pointer-events:none;
  transition: opacity .70s ease, transform .70s cubic-bezier(.22,.61,.36,1);
}
.hotlabel p{margin:.35em 0}
.hotlabel.shown{opacity:1;transform: translateY(-50%) translateX(0) scale(1)}
.hotlabel.left{transform: translateY(-50%) translateX(-8px) scale(.98)}
.hotlabel.left.shown{transform: translateY(-50%) translateX(0) scale(1)}

/* Responsive */
@media (max-width: 680px){
  .hotlabel{max-width:min(42ch,86vw);font-size:13px;padding:10px 11px}
}


/* ==== AARTILL Header ==== */
:root{
  --bg:#0b0b0c; --text:#e2e2e6; --muted:#c5c7ce;
  --accent:#7dd3fc; --accent-strong:#22d3ee;
  --card-border:rgba(255,255,255,.06);
  --ring:rgba(125,211,252,.25);
}

.site-header{
  position:fixed; top:0; left:0; right:0; z-index:10;
  backdrop-filter:saturate(120%) blur(10px);
  -webkit-backdrop-filter:saturate(120%) blur(10px);
  background:linear-gradient(180deg,rgba(11,11,12,.85),rgba(11,11,12,.6));
  border-bottom:1px solid var(--card-border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.header-gutter{padding-left:16px;padding-right:24px}
@media(min-width:640px){.header-gutter{padding-left:24px}}
@media(min-width:1024px){.header-gutter{padding-left:32px}}
.brand{display:flex;align-items:center;gap:14px}
.logo-img{height:54px;width:auto;display:block;filter:contrast(110%);opacity:.9;transition:opacity .25s ease}
.logo-img:hover{opacity:1}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Top navigation */
.top-nav{display:flex;gap:20px;flex-wrap:wrap}
.top-nav a{color:var(--muted);text-decoration:none;font-size:14px;padding:.35rem .6rem;border-radius:999px;transition:color .2s ease,background-color .2s ease,box-shadow .2s ease}
.top-nav a:hover{color:#0b0b0c;background:var(--accent);box-shadow:0 0 0 6px var(--ring)}

.top-nav a.active {
  color: #0b0b0c !important;
  background: var(--accent) !important;
  box-shadow: 0 0 0 6px var(--ring) !important;
  cursor: default;
}

.top-nav a { color:#b3b3b3 !important; }

@media (max-height: 520px){
  .hotlabel{ margin-top: 8px; }
}

/* ==== SOUS-MENU — typo strictement identique à architectures.css ==== */
.ss-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 30px 4px 0;
  margin-top: 84px;

  /* Typo identique */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;          /* pas d’espacement supplémentaire */
  text-transform: none;       /* pas de caps */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  position: relative;
  z-index: 5;
}

.ss-nav a,
.ss-nav span {
  color: var(--muted);
  text-decoration: none;
  padding: .28rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, #0e0e11, #0c0c0f);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

/* Survol identique (léger) */
.ss-nav a:hover {
  color: #0b0b0c;
  background: var(--accent);          /* même bleu que architectures.css */
  border-color: transparent;
}

/* Actif : uniquement la bordure bleue, texte reste gris */
.ss-nav span,
.ss-nav a[aria-current="page"],
.ss-nav a.active {
  border-color: var(--accent) !important;   /* #7dd3fc via var */
  color: var(--muted) !important;
  background: linear-gradient(180deg, #0e0e11, #0c0c0f) !important;
  font-weight: 600;
  box-shadow: none;
}

/* ——— Débloquer le scroll ——— */
html, body {
  height: auto !important;
  min-height: 100% !important;
  overflow: auto !important;
  /* iOS */
  -webkit-overflow-scrolling: touch;
}
#main-column{
  margin-left: 400px;
}

#h1text{
  font-size: 18px;
}

#h2text{
  font-size: 15px;
}


/* === Fond vidéo pour toutes les pages Réalisations === */
.video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;         /* toujours sous le reste */
  overflow: hidden;
}
.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.63); /* voile noir lisible */
  z-index: 1;
  pointer-events: none;
}

