/* =========================================================
   SLIFT07 — Design tokens
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root{
  /* couleurs */
  --paper:#F6F8FA;
  --paper-2:#EEF1F5;
  --ink:#10161D;
  --steel:#4B5A6B;
  --steel-soft:#8592A0;
  --line:#DFE4EA;
  --line-strong:#C7CFD8;
  --brand:#123C6B;
  --brand-2:#1B4E8A;
  --signal:#A31E2E;
  --signal-2:#C42A3C;
  --signal-dim:#F7E1E3;
  --good:#1E9E6B;
  --white:#FFFFFF;

  /* typo */
  --display: 'Space Grotesk', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --shaft-w: 64px;
  --shaft-w-mobile: 100%;
  --header-h: 76px;
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html{background:var(--paper);}
body{
  margin:0; background:transparent; color:var(--ink);
  font-family:var(--body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
#bg-layer{
  position:fixed; inset:0; z-index:-1;
  background:var(--paper) url('assets/photos/bg-elevator-interior.jpg') center/cover no-repeat;
}
#bg-layer::after{
  content:''; position:absolute; inset:0;
  background:rgba(246,248,250,.55);
}
h1,h2,h3,h4{
  font-family:var(--display); margin:0 0 .5em; line-height:1.12; letter-spacing:-.015em; font-weight:600;
}
p{margin:0 0 1em; color:var(--steel);}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{font-family:var(--body); cursor:pointer;}
:focus-visible{outline:2px solid var(--brand); outline-offset:3px;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
.eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--signal); font-weight:700; margin-bottom:12px; display:flex; align-items:center; gap:8px;
}
.eyebrow::before{content:''; width:18px; height:2px; background:var(--signal); display:inline-block;}

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:100px;
  font-weight:600; font-size:15px; border:1px solid transparent; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:active{transform:scale(.97);}
.btn-primary{background:var(--brand); color:var(--white);}
.btn-primary:hover{background:var(--brand-2);}
.btn-signal{background:var(--signal); color:var(--white); box-shadow:0 6px 20px -6px rgba(163,30,46,.5);}
.btn-signal:hover{background:var(--signal-2); box-shadow:0 8px 24px -6px rgba(163,30,46,.65);}
.btn-ghost{background:var(--white); color:var(--ink); border-color:var(--line-strong);}
.btn-ghost:hover{border-color:var(--brand);}
.btn-sm{padding:9px 16px; font-size:13px;}

/* =========================================================
   SHAFT — rail d'ascenseur / navigation signature
   ========================================================= */
#shaft{
  position:fixed; top:0; left:0; height:100dvh; width:var(--shaft-w); z-index:200;
  background:var(--white); border-right:1px solid var(--line);
  display:flex; flex-direction:column; align-items:center;
  padding:18px 0;
}
#shaft .logo-mark{
  width:34px; height:34px; border-radius:9px; background:var(--brand);
  color:var(--white); font-family:var(--display); font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center; margin-bottom:8px; flex-shrink:0;
}
.shaft-rail{
  position:relative; flex:1; width:3px; background:var(--paper-2); border-radius:3px; margin:10px 0;
  display:flex; flex-direction:column; justify-content:space-between;
}
.floor-stop{
  position:relative; width:100%; display:flex; align-items:center; justify-content:center;
}
.floor-stop button{
  position:relative; z-index:2; width:22px; height:22px; margin-left:-9.5px; border-radius:50%;
  background:var(--white); border:2px solid var(--line-strong); color:var(--steel-soft);
  font-family:var(--mono); font-size:9px; font-weight:700; display:flex; align-items:center; justify-content:center;
  transition:all .2s ease; padding:0;
}
.floor-stop button:hover{border-color:var(--brand); color:var(--brand);}
.floor-stop.active button{
  border-color:var(--signal); background:var(--signal); color:var(--white);
}
.car{
  position:absolute; left:50%; transform:translate(-50%, 0); width:30px; height:30px;
  background:var(--ink); border-radius:8px; z-index:3; top:0;
  transition:top .75s cubic-bezier(.65,0,.35,1);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(16,22,29,.35);
}
.car::after{
  content:''; width:12px; height:12px; border-radius:3px; background:var(--signal);
}
.floor-readout{
  font-family:var(--mono); font-size:11px; font-weight:700; color:var(--ink);
  background:var(--paper-2); border-radius:6px; padding:5px 4px; letter-spacing:.02em;
  margin-top:8px; min-width:34px; text-align:center; font-variant-numeric:tabular-nums;
}

/* portes de transition */
#doors{position:fixed; inset:0; z-index:300; pointer-events:none;}
#doors .leaf{
  position:absolute; top:0; height:100%; width:50%; background:var(--brand);
}
#doors .leaf.l{left:0; transform:translateX(-100%);}
#doors .leaf.r{right:0; transform:translateX(100%);}
#doors .door-badge{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  opacity:0; transition:opacity .16s ease;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.45));
}
#doors .door-badge img{
  height:clamp(100px, 20vw, 240px); width:auto; display:block;
}
#doors.closing .door-badge{opacity:1; transition:opacity .25s ease .32s;}
#doors.opening .door-badge{opacity:0; transition:opacity .15s ease;}
#doors.closing .leaf.l{transform:translateX(0); transition:transform .38s cubic-bezier(.5,0,.2,1);}
#doors.closing .leaf.r{transform:translateX(0); transition:transform .38s cubic-bezier(.5,0,.2,1);}
#doors.opening .leaf.l{transform:translateX(-100%); transition:transform .42s cubic-bezier(.3,0,.15,1) .05s;}
#doors.opening .leaf.r{transform:translateX(100%); transition:transform .42s cubic-bezier(.3,0,.15,1) .05s;}

/* =========================================================
   HEADER
   ========================================================= */
header.site{
  position:fixed; top:0; left:var(--shaft-w); right:0; height:var(--header-h); z-index:150;
  background:rgba(246,248,250,.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);
  display:flex; align-items:center;
}
header.site .container{display:flex; align-items:center; justify-content:space-between; width:100%;}
.brandname{font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:-.01em;}
.brandname span{color:var(--signal);}
.brand-logo{display:flex; align-items:center; height:100%;}
.brand-logo img{height:58px; width:auto; display:block;}
nav.primary{display:flex; gap:6px; align-items:center;}
nav.primary a{
  padding:9px 14px; border-radius:100px; font-size:14px; font-weight:600; color:var(--steel);
  transition:all .15s ease;
}
nav.primary a:hover{background:var(--paper-2); color:var(--ink);}
nav.primary a.active{background:var(--brand); color:var(--white);}
.header-actions{display:flex; align-items:center; gap:12px;}
.phone-link{font-family:var(--mono); font-size:14px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:6px;}
.phone-link .dot{width:7px; height:7px; border-radius:50%; background:var(--good); box-shadow:0 0 0 3px rgba(30,158,107,.18);}

.burger{display:none; width:38px; height:38px; border-radius:10px; border:1px solid var(--line-strong); background:var(--white); align-items:center; justify-content:center;}

/* =========================================================
   LAYOUT PAGES
   ========================================================= */
main.page{
  margin-left:var(--shaft-w); padding-top:var(--header-h);
  display:none;
}
main.page.active{display:block;}
section{padding:64px 0;}
section.tight{padding:40px 0;}
.hero{padding:96px 0 72px; border-bottom:1px solid var(--line);}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;}
.hero h1{font-size:46px; max-width:14ch;}
.hero .lead{font-size:18px; max-width:46ch;}
.hero-actions{display:flex; gap:12px; margin-top:28px; flex-wrap:wrap;}

.panel-illustration{
  aspect-ratio:4/5; background:var(--white); border:1px solid var(--line); border-radius:20px;
  position:relative; overflow:hidden; display:flex; align-items:flex-end; padding:0;
}
.panel-illustration svg{width:100%; height:100%;}

.trustbar{border-bottom:1px solid var(--line); background:var(--white);}
.trustbar .container{display:flex; gap:36px; padding:26px 24px; overflow-x:auto; align-items:center;}
.trustbar .item{font-family:var(--mono); font-size:12.5px; color:var(--steel-soft); white-space:nowrap; letter-spacing:.03em; display:flex; gap:8px; align-items:center;}
.trustbar .item::before{content:'✓'; color:var(--good); font-weight:700;}

.section-head{max-width:56ch; margin-bottom:44px;}
.section-head h2{font-size:32px;}

.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}

.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  transition:border-color .2s ease, transform .2s ease;
}
.card:hover{border-color:var(--line-strong); transform:translateY(-2px);}
.card .num{font-family:var(--mono); font-size:12px; color:var(--signal); font-weight:700; margin-bottom:14px; display:block;}
.card h3{font-size:19px; margin-bottom:8px;}
.card p{font-size:14.5px; margin-bottom:0;}

/* ---------- Galerie photo (placeholders à remplacer par de vraies photos) ---------- */
.photo-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:18px;}
.photo-placeholder{
  aspect-ratio:4/3; background:
    repeating-linear-gradient(135deg, var(--paper-2), var(--paper-2) 10px, #E4E9EE 10px, #E4E9EE 11px);
  border:1.5px dashed var(--line-strong); border-radius:var(--radius);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  color:var(--steel-soft); text-align:center; padding:20px;
}
.photo-placeholder .ic{font-size:26px; opacity:.7;}
.photo-placeholder .cap{font-size:13px; font-weight:600; color:var(--steel);}
.photo-placeholder .hint{font-size:10.5px; font-family:var(--mono); text-transform:uppercase; letter-spacing:.04em;}
.photo-grid .photo-placeholder:first-child{grid-row:span 2; aspect-ratio:auto;}

.photo-real{
  position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3;
  background:var(--paper-2);
}
.photo-real img{width:100%; height:100%; object-fit:cover; display:block;}
.photo-grid .photo-real:first-child{grid-row:span 2; aspect-ratio:auto;}
.photo-real .cap-overlay{
  position:absolute; left:0; right:0; bottom:0; padding:14px 16px 12px;
  background:linear-gradient(0deg, rgba(10,14,20,.82), rgba(10,14,20,0));
  color:var(--white); font-size:13px; font-weight:600; letter-spacing:.01em;
}

/* ---------- Icônes de service ---------- */
.svc-icon{
  width:40px; height:40px; border-radius:11px; background:var(--paper-2); color:var(--brand);
  display:flex; align-items:center; justify-content:center; margin-bottom:12px;
}
.svc-icon svg{width:20px; height:20px;}

.floorlist{border-top:1px solid var(--line);}
.floorlist .row{
  display:grid; grid-template-columns:80px 1fr 1.2fr 180px; gap:24px; padding:28px 0; border-bottom:1px solid var(--line);
  align-items:start;
}
.floorlist .row .svc-photo{
  width:100%; aspect-ratio:4/3; border-radius:12px; overflow:hidden; background:var(--paper-2);
}
.floorlist .row .svc-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.floorlist .row .fnum{font-family:var(--mono); font-size:13px; color:var(--signal-dim); background:var(--ink); color:var(--white); width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:700;}
.floorlist .row h3{font-size:20px; margin-bottom:6px;}
.floorlist ul{margin:10px 0 0; padding-left:18px; color:var(--steel); font-size:14px;}
.floorlist li{margin-bottom:5px;}

.cta-band{
  background:var(--brand); border-radius:24px; padding:52px; display:flex; justify-content:space-between;
  align-items:center; gap:30px; color:var(--white);
}
.cta-band h2{color:var(--white); font-size:28px; margin-bottom:6px;}
.cta-band p{color:#C7D6E8; margin-bottom:0;}

.stat-row{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:left;}
.stat{border-left:2px solid var(--signal); padding-left:16px;}
.stat .v{font-family:var(--mono); font-size:30px; font-weight:700;}
.stat .l{font-size:12.5px; color:var(--steel-soft); text-transform:uppercase; letter-spacing:.05em;}

.placeholder-flag{
  display:inline-block; background:var(--signal-dim); color:#B5451A; font-family:var(--mono);
  font-size:11px; padding:2px 7px; border-radius:5px; font-weight:700; margin-left:6px; vertical-align:middle;
}

/* about page */
.timeline{border-left:2px solid var(--line); padding-left:28px; margin-left:8px;}
.timeline .tstep{position:relative; padding-bottom:34px;}
.timeline .tstep::before{content:''; position:absolute; left:-34px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--signal); border:3px solid var(--paper);}
.values-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}

/* contact page */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;}
.field{margin-bottom:16px;}
.field label{display:block; font-size:13px; font-weight:600; margin-bottom:6px;}
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--line-strong);
  font-family:var(--body); font-size:15px; background:var(--white);
}
.field textarea{min-height:120px; resize:vertical;}
.contact-info-item{display:flex; gap:14px; margin-bottom:22px;}
.contact-info-item .ic{
  width:42px; height:42px; border-radius:11px; background:var(--paper-2); display:flex; align-items:center;
  justify-content:center; flex-shrink:0; font-size:18px;
}
.contact-info-item h4{font-size:15px; margin-bottom:3px;}
.contact-info-item p{font-size:14px; margin-bottom:0;}
.emergency-card{background:var(--ink); color:var(--white); border-radius:var(--radius); padding:24px; margin-top:8px;}
.emergency-card p{color:#B9C3CD;}
.emergency-card .phone-link{color:var(--white); font-size:20px;}

footer.site{
  margin-left:var(--shaft-w); background:var(--white); border-top:1px solid var(--line); padding:48px 0 32px;
}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px;}
.footer-grid h4{font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--steel-soft); margin-bottom:14px;}
.footer-grid a, .footer-grid p{font-size:14px; color:var(--steel); display:block; margin-bottom:9px;}
.footer-grid a:hover{color:var(--brand);}
.footer-bottom{border-top:1px solid var(--line); padding-top:22px; display:flex; justify-content:space-between; font-size:12.5px; color:var(--steel-soft); flex-wrap:wrap; gap:10px;}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero .panel-illustration{order:-1; aspect-ratio:16/9;}
  .grid-3{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .stat-row{grid-template-columns:1fr 1fr;}
}
@media (max-width: 720px){
  :root{--shaft-w:0px; --header-h:64px;}
  .brand-logo img{height:42px;}
  #shaft{
    top:auto; bottom:0; left:0; right:0; width:100%; height:58px; flex-direction:row;
    border-right:none; border-top:1px solid var(--line); padding:0 14px;
  }
  #shaft .logo-mark{display:none;}
  .shaft-rail{
    flex-direction:row; width:auto; flex:1; height:3px; margin:0 14px; justify-content:space-between;
  }
  .car{transition:left .75s cubic-bezier(.65,0,.35,1); top:50%; transform:translate(0,-50%); left:0;}
  .floor-readout{position:absolute; right:0; top:50%; transform:translateY(-50%); margin-top:0;}
  header.site{left:0;}
  main.page{margin-left:0; padding-bottom:70px;}
  footer.site{margin-left:0;}
  nav.primary{display:none;}
  .burger{display:flex;}
  .hero h1{font-size:32px;}
  .grid-3, .grid-2, .values-grid{grid-template-columns:1fr;}
  .floorlist .row{grid-template-columns:1fr; gap:10px;}
  .cta-band{flex-direction:column; text-align:center; padding:36px 24px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .stat-row{grid-template-columns:1fr 1fr;}
}

/* mobile nav drawer */
#mobilenav{
  position:fixed; inset:0; background:var(--white); z-index:250; display:none; flex-direction:column;
  padding:24px; padding-top:calc(var(--header-h) + 10px);
}
#mobilenav.show{display:flex;}
#mobilenav a{font-family:var(--display); font-size:24px; padding:16px 0; border-bottom:1px solid var(--line); font-weight:600;}
