/* HAS RP — site vitrine (hasrp.net). Thème : noir bleuté + cyan (comme les interfaces du jeu). */
:root {
  --bg: #05080d; --bg2: #0a1018; --card: rgba(255,255,255,.035); --card2: rgba(255,255,255,.07); --line: rgba(255,255,255,.08);
  --text: #eaf2fa; --muted: #8fa1b6; --accent: #2ad4ff; --accent2: #7c5cff; --ink: #03141d; --red: #ff4d6a; --green: #3ee08f;
  --r: 18px; --max: 1180px;
  --head: "Rajdhani", "Bahnschrift", "Segoe UI", sans-serif; --body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.hidden { display: none !important; }

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 12px; cursor: pointer;
  background: var(--accent); color: var(--ink); font: 700 15px/1 var(--body); letter-spacing: .01em; transition: .18s;
  box-shadow: 0 8px 30px rgba(42,212,255,.25); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(42,212,255,.4); }
.btn.ghost { background: rgba(255,255,255,.06); color: var(--text); box-shadow: none; border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: rgba(42,212,255,.5); background: rgba(42,212,255,.08); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }

/* barre du haut */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 72px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); transition: .25s; }
.nav.solid { background: rgba(5,8,13,.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 0 12px rgba(42,212,255,.35)); }
.links { display: flex; gap: 6px; }
.links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: #c9d6e3; transition: .15s; }
.links a:hover { color: #fff; background: var(--card2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--card2); flex-direction: column; justify-content: center; gap: 6px; padding: 0 11px; }
.burger span { height: 2px; background: #fff; border-radius: 2px; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 45%, rgba(5,8,13,.15) 0%, rgba(5,8,13,.65) 65%, rgba(5,8,13,.95) 100%),
  linear-gradient(180deg, rgba(5,8,13,.5) 0%, rgba(5,8,13,0) 30%, rgba(5,8,13,0) 70%, var(--bg) 100%); }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 120px 20px 90px; max-width: 900px; animation: rise .9s ease-out both; }
.hero-logo { width: min(460px, 80vw); margin: 18px auto 8px; filter: drop-shadow(0 0 40px rgba(42,212,255,.35)); }
.slogan { font: 700 clamp(26px, 4vw, 44px)/1.1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.lead { margin: 18px auto 30px; max-width: 640px; color: #c5d3e2; font-size: clamp(15px, 1.6vw, 18px); }
.lead b { color: var(--accent); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 600;
  background: rgba(5,8,13,.6); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.on i { background: var(--green); box-shadow: 0 0 0 0 rgba(62,224,143,.6); animation: ping 1.8s infinite; }
.status.off i { background: var(--red); }
.status b { color: #fff; }
.f8 { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 9px 12px 9px 9px; border-radius: 12px;
  background: rgba(5,8,13,.55); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 14px; transition: .15s; }
.f8:hover { border-color: rgba(42,212,255,.5); }
.f8 span { padding: 3px 8px; border-radius: 7px; background: var(--card2); font: 700 12px/1.4 var(--body); }
.f8 code { font: 500 14px/1 ui-monospace, Consolas, monospace; color: #c5d3e2; }
.f8 code b { color: var(--accent); font-weight: 600; }
.f8 em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.f8.ok em { color: var(--green); }
.scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }

/* chiffres */
.numbers { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: var(--max); margin: -40px auto 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.num { background: var(--bg2); padding: 26px 22px; text-align: center; }
.num b { display: block; font: 700 46px/1 var(--head); color: var(--accent); }
.num span { font: 700 18px/1.4 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.num small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 20px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { display: inline-block; font: 700 13px/1 var(--head); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.head h2 { font: 700 clamp(32px, 4.4vw, 52px)/1.05 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* fonctionnalités */
.grid.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feat { position: relative; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: .25s; }
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(42,212,255,.12), transparent 40%); opacity: 0; transition: .25s; }
.feat:hover { border-color: rgba(42,212,255,.35); transform: translateY(-4px); }
.feat:hover::before { opacity: 1; }
.feat .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(42,212,255,.18), rgba(124,92,255,.14)); border: 1px solid rgba(42,212,255,.25); }
.feat .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font: 700 21px/1.2 var(--head); letter-spacing: .02em; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }

/* yollar */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.side { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.side h3 { display: flex; align-items: center; gap: 12px; font: 700 28px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 20px; }
.side h3 i { width: 12px; height: 12px; border-radius: 50%; }
.legal h3 i { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.illegal h3 i { background: var(--red); box-shadow: 0 0 14px var(--red); }
.illegal { background: linear-gradient(160deg, rgba(255,77,106,.07), var(--card) 60%); }
.legal { background: linear-gradient(160deg, rgba(42,212,255,.07), var(--card) 60%); }
.side ul { list-style: none; display: grid; gap: 12px; }
.side li { padding: 14px 16px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.side li b { display: block; font-weight: 650; }
.side li span { color: var(--muted); font-size: 14px; }

/* carte */
.mapwrap { border-radius: var(--r); border: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.mapbar { display: flex; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.msearch { position: relative; flex: 0 1 300px; }
.msearch svg { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.msearch input { width: 100%; height: 40px; padding: 0 12px 0 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 14px; outline: none; }
.msearch input:focus { border-color: rgba(42,212,255,.5); }
.mcats { display: flex; gap: 6px; flex-wrap: wrap; }
.mcats button { height: 32px; padding: 0 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: #c9d6e3; transition: .15s; }
.mcats button:hover { border-color: rgba(42,212,255,.4); }
.mcats button.on { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 650; }
.map { position: relative; height: min(72vh, 680px); background: radial-gradient(ellipse at center, #0b131d, #05080d); cursor: grab; touch-action: none; }
.map.drag { cursor: grabbing; }
.map.onpin { cursor: pointer; }
.map canvas { width: 100%; height: 100%; }
.mtip { position: absolute; z-index: 3; pointer-events: none; padding: 7px 11px; border-radius: 10px; background: rgba(5,8,13,.95); border: 1px solid var(--line);
  font-size: 13px; font-weight: 650; white-space: nowrap; transform: translate(-50%, calc(-100% - 18px)); }
.mtip small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.mctrl { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.mctrl button { width: 38px; height: 38px; border-radius: 10px; background: rgba(5,8,13,.85); border: 1px solid var(--line); font-size: 18px; transition: .15s; }
.mctrl button:hover { border-color: rgba(42,212,255,.5); color: var(--accent); }
.mcard { position: absolute; left: 14px; bottom: 14px; z-index: 4; width: min(320px, calc(100% - 80px)); padding: 14px 16px; border-radius: 14px;
  background: rgba(5,8,13,.95); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.mcard h4 { font: 700 18px/1.2 var(--head); }
.mcard p { color: var(--muted); font-size: 13px; }
.mcard button { position: absolute; right: 10px; top: 10px; width: 26px; height: 26px; border-radius: 7px; background: var(--card2); font-size: 11px; }

/* galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery figure { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg2); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; font: 700 15px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(0,0,0,.9); padding: 30px; }
.lightbox img { max-height: 88vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 12px; background: var(--card2); font-size: 16px; }

/* étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.step b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; font: 700 24px/1 var(--head); color: var(--ink); background: var(--accent); }
.step h3 { font: 700 22px/1.2 var(--head); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

/* accordéons */
.acc { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.acc details { border-radius: 14px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-weight: 650; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; color: var(--accent); transition: .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 20px 18px; color: var(--muted); }
.acc .body li { margin: 6px 0 6px 18px; }

/* équipe */
.members { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.member { width: 200px; padding: 28px 20px; text-align: center; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.member b { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; font: 700 30px/1 var(--head);
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--ink); }
.member h3 { font: 700 22px/1.2 var(--head); }
.member span { color: var(--muted); font-size: 14px; }

/* appel final */
.cta { position: relative; max-width: var(--max); margin: 110px auto 0; border-radius: 24px; overflow: hidden; min-height: 340px; display: grid; place-items: center; text-align: center; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.cta > div { position: relative; padding: 50px 20px; }
.cta h2 { font: 700 clamp(40px, 6vw, 72px)/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.cta p { color: #c5d3e2; margin: 12px 0 26px; font-size: 18px; }

/* pied */
.foot { max-width: var(--max); margin: 0 auto; padding: 80px 20px 50px; text-align: center; color: var(--muted); font-size: 14px; }
.foot img { height: 44px; margin: 0 auto 18px; opacity: .9; }
.foot .small { font-size: 12px; margin-top: 8px; opacity: .7; }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* mobile */
@media (max-width: 980px) {
  .links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px 16px; background: rgba(5,8,13,.97); border-bottom: 1px solid var(--line); display: none; }
  .links.open { display: flex; }
  .burger { display: flex; }
  .nav-cta .btn.ghost { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); margin: -30px 16px 0; }
  .split, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery figure:nth-child(6) { grid-column: span 2; }
  .cta { margin: 90px 16px 0; }
}
@media (max-width: 520px) {
  .nav { padding: 0 16px; }
  .brand img { height: 32px; }
  .f8 em { display: none; }
  .num b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-video { display: none; } }
