:root {
  --fg:#eaeaea;
  --muted:#9b9b9b;
  --panel:#101010;
  --panel2:#161616;
  --radius:10px;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html,body{
  height:100%;
  overflow:hidden;
  font-family:'Inter',sans-serif;
  background:transparent !important;
  color:var(--fg);
}


/* Image de fond */
.bg-image {
  background: url('../images/background.jpg') center/cover no-repeat;
  opacity: .25;
  filter: brightness(0.6) blur(2px);
  animation: bgZoom 40s ease-in-out infinite alternate;
}
@keyframes bgZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}


/* ---------- FOND DIGITAL WORKSPACE GLITCH ---------- */
#digital-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #101010 0%, #000 100%);
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}

/* Lignes horizontales (scanlines) */
.bg-lines {
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.05) 0 1px,
    transparent 2px 4px
  );
  opacity: .22;
  animation: scanShift 8s linear infinite;
}
@keyframes scanShift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 6px; }
}

/* Bruit électronique mouvant */
.bg-noise {
  background:
    repeating-radial-gradient(circle at 10% 20%, rgba(255,255,255,.06) 0 1px, transparent 1px 6px),
    repeating-radial-gradient(circle at 80% 80%, rgba(255,255,255,.05) 0 1px, transparent 1px 5px);
  opacity: .07;
  animation: noiseShift 900ms steps(2,end) infinite;
}
@keyframes noiseShift {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(1px,-1px); }
}

/* Effet glitch : micro-pulsations irrégulières */
.bg-glitch {
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 50%, transparent 50%);
  background-size: 4px 100%;
  opacity: .06;
  animation: glitchPulse 1.6s steps(3,end) infinite;
}
@keyframes glitchPulse {
  0%,100% { transform: translate(0,0); opacity:.04; }
  40% { transform: translate(-2px,1px); opacity:.08; }
  70% { transform: translate(1px,-1px); opacity:.06; }
}

/* Balayage horizontal type CRT */
.bg-scan {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  opacity: .15;
  animation: scanSweep 5s ease-in-out infinite;
}
@keyframes scanSweep {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: .2; }
  50% { transform: translateY(100%); opacity: .15; }
  100% { opacity: 0; }
}

/* ---------- PRELOADER ---------- */
#preloader {
  position: fixed; inset: 0; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 1s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
#preloader-logo { width: 200px; opacity: 0; transform: translateY(20px); animation: logoIn 1.2s ease forwards .5s; }
@keyframes logoIn { to { opacity: 1; transform: none; } }

/* Texte OS style */
.boot-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #a0a0a0;
  margin-top: 30px;
  opacity: 0;
  animation: textFade 1s ease forwards 1.2s;
  letter-spacing: .05em;
}
.boot-text .blink {
  animation: blink 1s steps(2, start) infinite;
  color: #5af7ff;
}
@keyframes blink { to { visibility: hidden; } }

.boot-scan { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 0%,rgba(255,255,255,0.15) 40%,transparent 100%); animation: scanMove 1.8s ease-in-out 2; }
@keyframes scanMove { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes textFade { to { opacity: 1; } }

/* ---------- CONSOLE ---------- */
.console {
  position: fixed;
  top: 60px;
  left: 4px;
  font: 12px "JetBrains Mono", monospace;
  color: var(--muted);
  background: rgba(0,0,0,.45);
  border: 1px solid #1b1b1b;
  border-radius: 6px;
  padding: 8px 10px;
  z-index: 20;
  opacity: 0;
  transform: translateX(-10px);
  animation: consoleIn 1.4s ease forwards 5.2s;
}

@keyframes consoleIn {
  0% { opacity: 0; transform: translateX(-10px); }
  50% { opacity: 0.6; transform: translateX(0); }
  100% { opacity: 1; transform: none; }
}

.console .tag {
  color: #5af7ff;
  margin-right: 6px;
}

@keyframes blink { to { visibility: hidden; } }



/* Style du tag coloré */
.console .tag {
  color: #5af7ff;
  margin-right: 6px;
}


/* ---------- TOPBAR ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: 56px;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1b1b1b;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; z-index: 100;
}
.topbar .brand {
  font: 700 13px "Space Grotesk",sans-serif;
  letter-spacing: .18em;
  background: linear-gradient(90deg, cyan, magenta, yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.menu-group { display: flex; align-items: center; gap: 16px; }
.topbar .menu { display: flex; gap: 18px; }
.topbar button {
  background: none; border: none; color: var(--fg);
  font: 400 13px "Space Grotesk", sans-serif; letter-spacing: .04em;
  cursor: pointer; transition: .2s; padding: 6px 8px;
}
.topbar button:hover { color: #5af7ff; }
#close-all {
  color: #eaeaea;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(0,0,0,0.4);
  cursor: pointer;
  transition: .25s ease;
}
.menu-group > a.mono {
  color: #5af7ff;
  font: 400 13px "Space Grotesk", sans-serif;
  letter-spacing: .04em;
  transition: opacity .2s ease;
}
.menu-group > a.mono:hover {
  opacity: .75;
}
#close-all:hover {
  background: linear-gradient(90deg, cyan, magenta, yellow);
  color: #000;
}

/* ---------- WORKSPACE & WINDOWS ---------- */
#workspace {
  position: relative;
  z-index: 40;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-top: 56px;
  background: transparent !important;
}
.window {
  position: absolute; background: var(--panel2);
  border: 1px solid #222; border-radius: var(--radius);
  width: min(850px,90vw);
  max-height: 85vh;
  box-shadow: 0 10px 60px rgba(0,0,0,.6);
  animation: fadeIn .25s ease; overflow: hidden;
}
.window-works {
  width: min(800px, 92vw);
}
.window-legal {
  width: min(700px, 88vw);
  max-height: 80vh;
}
.window-legal .win-body {
  max-height: calc(80vh - 45px);
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.win-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: #111; border-bottom: 1px solid #222; padding: 8px 12px; cursor: move;
}
.win-bar .title { font: 600 12px "Space Grotesk", sans-serif; letter-spacing: .04em; color: var(--muted); }
.win-close { background: none; border: none; color: var(--fg); font-size: 18px; cursor: pointer; transition: .2s; }
.win-close:hover { color: #5af7ff; }
.win-body { padding: 20px; font-size: 14px; line-height: 1.6; max-height: calc(85vh - 37px); overflow-y: auto; }
.win-body h2 { font: 600 20px "Space Grotesk", sans-serif; letter-spacing: .02em; margin-bottom: 10px; }
.win-body img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.window:focus-within { outline: 1px solid #5af7ff; outline-offset: -1px; }

.footer { position: fixed; bottom: 6px; right: 12px; color: var(--muted); font: 12px "Space Grotesk"; z-index: 40; }

/* ---------- RESPONSIVE MOBILE ---------- */
@media (max-width: 768px) {
  /* Fenêtres bridées, avec marge en bas pour ne pas cacher le footer */
  .window,
  .window-works,
  .window-article,
  .window-legal {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    top: 56px !important;
    height: calc(100dvh - 56px - 60px) !important;
    max-height: calc(100dvh - 56px - 60px) !important;
    border-radius: 14px !important;
    transform: none !important;
  }

  .win-body,
  .window-legal .win-body {
    max-height: calc(100dvh - 56px - 60px - 45px) !important;
    overflow-y: auto;
  }

  .article-body {
    flex-direction: column !important;
    height: calc(100dvh - 56px - 60px - 45px) !important;
    max-height: none !important;
    overflow-y: auto !important;
  }

  .article-images {
    display: flex !important;
    flex: none !important;
    flex-direction: row !important;
    height: 42vh;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
  }

  .article-images img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
  }

  .article-info {
    overflow-y: visible !important;
    flex: none;
  }

  .works-grid-wrapper {
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  .works-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-auto-flow: unset !important;
    grid-template-rows: unset !important;
    height: auto !important;
    gap: 14px !important;
  }

  .work-item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
  }

  .win-close {
    font-size: 24px;
    padding: 6px 10px;
  }

  .win-bar {
    padding: 10px 14px;
  }

  /* Topbar compacte + menu hamburger */
  .topbar {
    height: 56px;
    padding: 0 12px;
  }

  .topbar .brand {
    font-size: 12px;
    letter-spacing: .1em;
  }

  .topbar .menu {
    display: none;
  }

  .topbar .menu.mobile-open {
    display: flex;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    gap: 0;
    border-bottom: 1px solid #1b1b1b;
    z-index: 150;
  }

  .topbar .menu.mobile-open button {
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid #1e1e1e;
    font-size: 15px;
  }

  .topbar .menu.mobile-open button:last-child {
    border-bottom: none;
  }

  #hamburger-btn {
    display: flex;
    background: none;
    border: none;
    color: var(--fg);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 8px;
  }

  #close-all {
    display: none;
  }

  .footer {
    position: fixed;
    bottom: 4px;
    right: 8px;
    font-size: 9px;
  }

  .legal-links {
    bottom: 4px;
    font-size: 11px;
  }

  .legal-dropdown {
    bottom: 26px;
  }

  .menu-group {
    gap: 8px;
  }

  .corner-logo {
    width: 60px;
    bottom: 4px;
    left: 6px;
  }
}

@media (min-width: 769px) {
  #hamburger-btn {
    display: none;
  }
}

/* ---------- DASHBOARD ADMIN ---------- */
.dashboard-header {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-end;
}

.dash-btn {
  background: linear-gradient(90deg, cyan, magenta, yellow);
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font: 600 12px "Space Grotesk", sans-serif;
  letter-spacing: .03em;
  transition: opacity .2s ease, transform .2s ease;
}
.dash-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font: 13px "JetBrains Mono", monospace;
}

.dashboard-table th {
  text-align: left;
  padding: 10px 8px;
  color: var(--muted);
  font: 600 11px "Space Grotesk", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid #262626;
}

.dashboard-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #1e1e1e;
  color: var(--fg);
}

.dashboard-table tr:hover td {
  background: rgba(90, 247, 255, 0.04);
}

.dash-status-active {
  color: #5af7ff;
}
.dash-status-archived {
  color: var(--muted);
  font-style: italic;
}

.dash-actions {
  white-space: nowrap;
}
.dash-actions a,
.dash-actions button {
  margin-right: 10px;
  background: none;
  border: none;
  color: #5af7ff;
  cursor: pointer;
  font: 12px "Space Grotesk", sans-serif;
  padding: 0;
  transition: color .2s ease;
  text-decoration: none;
}
.dash-actions a:hover,
.dash-actions button:hover {
  color: #fff;
}
.dash-actions .dash-reorder {
  color: var(--muted);
  font-size: 13px;
}
.dash-actions .dash-reorder:hover {
  color: #5af7ff;
}
.dash-actions .dash-delete {
  color: #ff5a5a !important;
}
.dash-actions .dash-delete:hover {
  color: #ff8080 !important;
}

.dashboard-empty {
  color: var(--muted);
  font: 13px "JetBrains Mono", monospace;
  padding: 20px 0;
}

/* ---------- PRESTATIONS ---------- */
.prestation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prestation-card {
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s ease, transform .15s ease;
}
.prestation-card:hover {
  border-color: #5af7ff;
  transform: translateX(2px);
}
.prestation-card .p-dates {
  font: 12px "JetBrains Mono", monospace;
  color: #5af7ff;
  margin-bottom: 4px;
}
.prestation-card .p-nom {
  font: 600 15px "Space Grotesk", sans-serif;
}
.prestation-card .p-lieu {
  font: 400 13px "Space Grotesk", sans-serif;
  color: var(--muted);
  margin-top: 2px;
}
.prestation-card .p-client {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.prestation-detail h3 {
  font: 600 13px "Space Grotesk", sans-serif;
  color: #5af7ff;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 18px 0 6px;
}
.prestation-detail h3:first-child { margin-top: 0; }
.prestation-detail p { margin: 2px 0; font-size: 14px; }
.prestation-detail .back-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  cursor: pointer;
  font: 12px "JetBrains Mono", monospace;
}
.prestation-detail .back-link:hover { color: #5af7ff; }
.prestation-detail .p-files a {
  display: block;
  color: #5af7ff;
  margin: 4px 0;
  font-size: 13px;
}
.prestation-detail .p-person {
  padding: 10px 0;
  border-bottom: 1px solid #262626;
}
.prestation-detail .p-person:last-child {
  border-bottom: none;
}
.p-person-nom {
  font: 600 14px "Space Grotesk", sans-serif;
  color: var(--fg);
}
.p-person-poste {
  font-size: 12px;
  color: #5af7ff;
  margin-top: 2px;
}
.p-person-tel {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.prestation-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.prestation-actions a, .prestation-actions button {
  font: 12px "Space Grotesk", sans-serif;
  padding: 7px 12px;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-edit { background: #5af7ff; color: #000; }
.btn-archive { background: #333; color: #fff; }
.btn-delete { background: #ff5a5a; color: #fff; }

/* ---------- CONSOLE DYNAMIQUE ---------- */
.console-dynamic-line {
  font: 12px "JetBrains Mono", monospace;
  margin-top: 4px;
  opacity: 0;
  animation: consoleLineIn .3s ease forwards;
}
.console-dynamic-line .tag {
  color: #5af7ff;
  margin-right: 6px;
}
.console-dynamic-line .label {
  color: var(--muted);
}
@keyframes consoleLineIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- PRESTATION DETAIL LAYOUT ---------- */
.prestation-detail-layout {
  display: flex;
  gap: 24px;
}
.personnel-sidebar {
  flex: 0 0 220px;
  border-left: 1px solid #262626;
  padding-left: 20px;
  max-height: 60vh;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.personnel-sidebar::-webkit-scrollbar {
  width: 6px;
}
.personnel-sidebar::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}
.personnel-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.personnel-sidebar h3 {
  margin-top: 0 !important;
  position: sticky;
  top: 0;
  background: var(--panel2);
  padding-bottom: 4px;
}
.prestation-main {
  flex: 1;
  min-width: 0;
}

@media (max-width: 700px) {
  .prestation-detail-layout {
    flex-direction: column;
  }
  .personnel-sidebar {
    border-left: none;
    border-bottom: 1px solid #262626;
    padding-left: 0;
    padding-bottom: 16px;
  }
}

/* ---------- SETTINGS GEAR MENU ---------- */
.settings-menu {
  position: relative;
}
#settings-gear {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color .2s ease, transform .3s ease;
}
#settings-gear:hover {
  color: #5af7ff;
  transform: rotate(45deg);
}
.settings-dropdown {
  display: none;
  position: absolute;
  top: 32px;
  right: 0;
  background: var(--panel2);
  border: 1px solid #262626;
  border-radius: 6px;
  min-width: 160px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  overflow: hidden;
  z-index: 200;
}
.settings-dropdown.open {
  display: block;
}
.settings-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--fg);
  font: 13px "Space Grotesk", sans-serif;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.settings-dropdown a:hover {
  background: rgba(90, 247, 255, 0.08);
  color: #5af7ff;
}
.settings-dropdown a + a {
  border-top: 1px solid #262626;
}

/* ---------- WORKS GRID / SLIDER ---------- */
.works-grid-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.works-grid-wrapper::-webkit-scrollbar {
  display: none;
}

.works-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: max-content;
  gap: 18px;
  height: 420px;
}

.work-item {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  content-visibility: auto;
  contain-intrinsic-size: 300px 200px;
}

.work-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

.work-item img,
.work-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter .3s ease;
}

.work-item:hover img,
.work-item:hover video {
  filter: brightness(1);
}

.work-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 10px 12px;
  font: 600 14px "Space Grotesk", sans-serif;
  color: #fff;
  pointer-events: none;
}

/* ---------- ARTICLE (WORK DETAIL) ---------- */
.window-article {
  width: min(1000px, 92vw);
}
.article-body {
  padding: 0 !important;
  display: flex;
  height: min(80vh, 700px);
}
.article-images {
  flex: 0 0 45%;
  overflow-y: auto;
  background: #0a0a0a;
}
.article-images img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
}
.article-info {
  flex: 1;
  padding: 24px 28px;
  overflow-y: auto;
}
.article-info h2 {
  font: 600 22px "Space Grotesk", sans-serif;
  margin-bottom: 10px;
}
.article-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 24px;
}
.article-credits {
  border-top: 1px solid #262626;
  padding-top: 10px;
  padding-left: 60px;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0;
}
.credit-row {
  display: contents;
}
.credit-nom {
  font: 600 13px "Space Grotesk", sans-serif;
  letter-spacing: .03em;
  white-space: nowrap;
  padding: 10px 24px 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
.credit-poste {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn .2s ease;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 60px rgba(0,0,0,.6);
}

/* ---------- PROTECTION BASIQUE DES IMAGES ---------- */
.work-item img,
.article-images img,
.works-grid img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- LOGO COIN BAS GAUCHE ---------- */
.corner-logo {
  position: fixed;
  bottom: 10px;
  left: 12px;
  width: 96px;
  height: auto;
  opacity: .6;
  z-index: 40;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* ---------- CONTACT ---------- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-card {
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 14px 16px;
}
.contact-nom {
  font: 600 15px "Space Grotesk", sans-serif;
  letter-spacing: .02em;
}
.contact-poste {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 10px;
}
.contact-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-links a {
  color: #5af7ff;
  font-size: 13px;
  text-decoration: none;
  transition: opacity .2s ease;
}
.contact-links a:hover {
  opacity: .75;
  text-decoration: underline;
}
.contact-social {
  border-top: 1px solid #262626;
  padding-top: 16px;
}
.instagram-icon {
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14px "Space Grotesk", sans-serif;
  text-decoration: none;
  transition: color .2s ease;
}
.instagram-icon:hover {
  color: #5af7ff;
}

/* ---------- ABOUT ---------- */
.about-text {
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 14px;
}
.about-text:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-style: italic;
}

/* ---------- PRELOADER — LIGNE UTILISATEUR ---------- */
.boot-user {
  margin-top: 10px !important;
  color: #5af7ff;
  animation: textFade 1s ease forwards 1.8s;
}

/* ---------- FOOTER LINKS ---------- */
.legal-links {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
}
.footer-link {
  background: none;
  border: none;
  color: var(--muted);
  font: 12px "Space Grotesk", sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color .2s ease;
}
.footer-link:hover {
  color: #5af7ff;
}

.legal-dropdown {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel2);
  border: 1px solid #262626;
  border-radius: 6px;
  min-width: 190px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  overflow: hidden;
  white-space: nowrap;
}
.legal-dropdown.open {
  display: block;
}
.legal-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--fg);
  font: 12px "Space Grotesk", sans-serif;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.legal-dropdown button:hover {
  background: rgba(90, 247, 255, 0.08);
  color: #5af7ff;
}
.legal-dropdown button + button {
  border-top: 1px solid #262626;
}

/* ---------- LEGAL PAGES ---------- */
.legal-h3 {
  font: 600 13px "Space Grotesk", sans-serif;
  color: #5af7ff;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 20px 0 6px;
}
.legal-h3:first-of-type {
  margin-top: 4px;
}

/* ---------- CONTENU SEO (masqué visuellement, lisible par Google) ---------- */
.seo-content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- ARTICLE - LIEU ---------- */
.article-lieu {
  text-align: right;
  font: 600 13px "Space Grotesk", sans-serif;
  color: #d4af37;
  letter-spacing: .04em;
  margin-bottom: 12px;
}

/* ---------- FICHIERS PRESTATION (Voir / Télécharger) ---------- */
.p-file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  flex-wrap: wrap;
}
.p-file-name {
  font-size: 13px;
  color: var(--fg);
  flex: 1;
  min-width: 120px;
}
.p-file-action {
  font: 600 12px "Space Grotesk", sans-serif;
  color: #5af7ff;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #333;
  border-radius: 4px;
  transition: background .15s ease, color .15s ease;
}
.p-file-action:hover {
  background: rgba(90, 247, 255, 0.1);
}