/* ==========================================================================
   S.Lift 07 — ingénierie verticale
   ========================================================================== */
body[data-page="slift"]{
  --accent: #a7afbc;
  --accent-bright: #d3d8e0;
}

/* ---- Hero ---- */
.sl-hero{
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  background:
    radial-gradient(ellipse 640px 460px at 90% 8%, rgba(140,31,46,0.12), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.sl-hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.sl-plaque{ width: 130px; height: 130px; margin-bottom: 26px; }
.sl-plaque img{ max-width: 100%; max-height: 100%; }
.sl-hero-copy h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.06; margin: 20px 0 22px; }
.sl-hero-copy p{ color: var(--parchment-dim); font-size: 16.5px; line-height: 1.8; max-width: 480px; }

/* ---- Elevator shaft (signature element) ---- */
.sl-shaft-wrap{ display: flex; justify-content: center; }
.sl-shaft{
  position: relative;
  width: 170px;
  height: 420px;
  background: linear-gradient(180deg, #0f1218, #14181f);
  border: 1px solid var(--line);
}
.sl-rail{
  position: absolute;
  top: 14px; bottom: 14px;
  left: 24px; right: 24px;
  border-left: 1px dashed rgba(167,175,188,0.28);
  border-right: 1px dashed rgba(167,175,188,0.28);
}
.sl-floor{
  position: absolute;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  transform: translateY(-1px);
}
.sl-floor::before{
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}
.sl-floor em{
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--parchment-faint);
  padding: 3px 8px;
  background: var(--ink);
}
.sl-cabin{
  position: absolute;
  left: 50%;
  top: 4%;
  width: 46px; height: 34px;
  margin-left: -23px;
  background: linear-gradient(155deg, var(--accent-bright), #6a7280);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 10px 18px -8px rgba(0,0,0,0.7), 0 0 22px -4px rgba(140,31,46,0.55);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  animation: liftTravel 9s cubic-bezier(.65,0,.35,1) infinite;
}
.sl-cabin span{
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--crimson-bright);
}
@keyframes liftTravel{
  0%   { top: 4%; }
  12%  { top: 4%; }
  28%  { top: 24%; }
  40%  { top: 24%; }
  52%  { top: 64%; }
  64%  { top: 64%; }
  80%  { top: 94%; }
  92%  { top: 94%; }
  100% { top: 4%; }
}

@media (max-width: 900px){
  .sl-hero-grid{ grid-template-columns: 1fr; }
  .sl-shaft-wrap{ order: -1; }
  .sl-shaft{ width: 150px; height: 340px; }
}

/* ---- Live status ticker ---- */
.sl-status{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
}
.sl-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5ac97a;
  box-shadow: 0 0 0 0 rgba(90,201,122,0.6);
  animation: slPulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes slPulse{
  0%{ box-shadow: 0 0 0 0 rgba(90,201,122,0.55); }
  70%{ box-shadow: 0 0 0 7px rgba(90,201,122,0); }
  100%{ box-shadow: 0 0 0 0 rgba(90,201,122,0); }
}
.sl-status-text{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--parchment-dim);
  transition: opacity .4s var(--ease);
}
.sl-status-text.sl-fade{ opacity: 0; }
@media (prefers-reduced-motion: reduce){
  .sl-dot{ animation: none; }
}

/* ---- Compact hero trust badges (overrides the larger default .tag-row look) ---- */
.sl-badges{
  font-family: var(--font-mono) !important;
  font-style: normal !important;
  font-size: 12px !important;
  letter-spacing: 0.02em;
  margin-top: 26px !important;
  gap: 10px !important;
}
.sl-badges span:nth-child(odd){ color: var(--parchment-dim) !important; }
.sl-badges span:nth-child(even){ color: var(--accent) !important; font-size: 12px !important; }

/* ---- Real values row ---- */
.sl-values{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sl-value{ background: var(--ink); padding: 30px 26px; }
.sl-value h3{ font-size: 16px; margin-bottom: 10px; color: var(--accent-bright); }
.sl-value p{ font-size: 13.5px; color: var(--parchment-dim); line-height: 1.65; }
@media (max-width: 860px){ .sl-values{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .sl-values{ grid-template-columns: 1fr; } }

/* ---- Timeline / parcours ---- */
.sl-timeline{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line-strong);
  padding-left: 32px;
  margin-left: 6px;
}
.sl-tl-item{ position: relative; padding-bottom: 40px; }
.sl-tl-item:last-child{ padding-bottom: 0; }
.sl-tl-item::before{
  content: '';
  position: absolute;
  left: -37px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--accent);
}
.sl-tl-year{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  display: block;
  margin-bottom: 8px;
}
.sl-tl-item h3{ font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.sl-tl-item p{ font-size: 14px; color: var(--parchment-dim); line-height: 1.75; max-width: 620px; }
