/* La Clique — page d'accueil centrale (« Mon espace ») */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;color:#e6f1ff;font-family:'Space Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:#02060d linear-gradient(rgba(2,6,13,.8),rgba(2,6,13,.96)) fixed;line-height:1.5;
  padding-bottom:env(safe-area-inset-bottom,0px)}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:url('../assets/ville-nuit.jpg') center/cover;opacity:.35}
a{color:inherit;text-decoration:none}
.hb-top{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:calc(12px + env(safe-area-inset-top,0px)) 20px 12px;background:rgba(2,6,13,.82);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,255,255,.16)}
.hb-logo{font-weight:700;letter-spacing:.18em;font-size:15px}
.hb-nav{display:flex;gap:22px;font-size:15px;color:#bcd9e0}
.hb-nav a:hover,.hb-nav a[aria-current]{color:#00ffff}
.hb-wrap{max-width:1120px;margin:0 auto;padding:28px 20px 64px;overflow-x:clip}
.hb-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:36px;align-items:center;min-height:420px}
.hb-kick{margin:0 0 10px;font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.1em;color:#00ffff;text-transform:uppercase}
.hb-hero .neon{font-size:clamp(2rem,6.4vw,3.6rem)}
.hb-sub{margin:16px 0 20px;max-width:46ch;font-size:18px;color:#bcd9e0}
.hb-cont,.hb-card{border:1px solid rgba(0,255,255,.26);border-radius:18px;background:rgba(6,14,30,.74);backdrop-filter:blur(8px);
  box-shadow:0 18px 40px rgba(0,0,0,.35)}
.hb-cont{padding:18px 20px;max-width:520px}
.hb-cont small{display:block;color:#93a4be;font-size:13px}
.hb-cont strong{display:block;margin:2px 0 12px;font-size:20px}
.hb-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.hb-bar i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#00ffff,#8338ec);transition:width .8s ease}
.hb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;margin-top:16px;border-radius:999px;
  background:linear-gradient(90deg,#8338ec,#00c8ff);color:#02060d;font-weight:700;font-size:16px}
.hb-btn:focus-visible,.hb-card a:focus-visible,.hb-nav a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hb-btn.ghost{background:transparent;color:#00ffff;border:1px solid rgba(0,255,255,.5)}
.hb-clic{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px}
.hb-clic::before{content:"";position:absolute;left:50%;top:48%;width:120%;height:90%;transform:translate(-50%,-50%);
  background:radial-gradient(closest-side,rgba(0,255,255,.22),rgba(131,56,236,.12) 55%,transparent);pointer-events:none}
.hb-bub{position:relative;margin:0;max-width:320px;padding:12px 16px;border-radius:18px;background:rgba(6,14,30,.86);
  border:1px solid rgba(0,255,255,.45);box-shadow:0 12px 32px rgba(0,0,0,.45),0 0 22px rgba(0,255,255,.16);font-size:16px}
.hb-bub b{display:block;margin-bottom:2px;color:#00ffff;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-family:'JetBrains Mono',monospace;font-weight:500}
.hb-clic img{position:relative;display:block;width:clamp(170px,26vw,300px);height:auto;filter:drop-shadow(0 14px 30px rgba(0,255,255,.28));
  animation:hbFloat 5s ease-in-out infinite}
@keyframes hbFloat{50%{transform:translateY(-8px)}}
.hb-sec{margin-top:56px}
.hb-sec h2.neon{font-size:clamp(1.5rem,4.4vw,2.1rem);margin-bottom:6px}
.hb-lead{margin:0 0 20px;color:#bcd9e0;max-width:60ch}
.hb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hb-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.hb-card{padding:20px;display:flex;flex-direction:column;gap:8px}
.hb-card h3{margin:0;font-size:22px}
.hb-card p{margin:0;color:#bcd9e0}
.hb-meta{display:flex;justify-content:space-between;font-size:14px;color:#93a4be}
.hb-card .hb-btn{align-self:flex-start;margin-top:10px}
.hb-photo{position:relative;height:150px;margin:-20px -20px 8px;border-radius:18px 18px 0 0;overflow:hidden;background:#0a1224}
.hb-photo img{width:100%;height:100%;object-fit:cover;opacity:.75}
.hb-tag{position:absolute;top:10px;right:10px;padding:4px 10px;border-radius:999px;background:rgba(2,6,13,.85);border:1px solid rgba(0,255,255,.4);font-size:12px;color:#00ffff}
.hb-foot{margin-top:56px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;color:#93a4be;font-size:14px}
.hb-foot a{color:#00ffff}
@media (max-width:820px){
  .hb-nav{display:none}
  .hb-hero{grid-template-columns:1fr;gap:24px;min-height:0}
  .hb-clic::before{width:100%}
  .hb-clic{flex-direction:row;align-items:flex-end;justify-content:center;gap:6px}
  .hb-clic img{width:130px;order:-1}
  .hb-bub{font-size:15px;max-width:220px}
  .hb-grid,.hb-grid.three{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.hb-clic img{animation:none}.hb-bar i{transition:none}html{scroll-behavior:auto}}
