/* ============================================================
   SUKISA.FR — Design system fidèle à Sukisa Hub
   Fond noir bleuté · panneaux vitrés · cyan / violet / or
   ============================================================ */

:root {
  --bg: #04060f;
  --bg-2: #060a1a;
  --panel: rgba(13, 19, 42, 0.55);
  --panel-solid: #0b1128;
  --line: rgba(126, 148, 255, 0.16);
  --line-strong: rgba(126, 148, 255, 0.32);
  --cyan: #2ad6ff;
  --violet: #8b5cf6;
  --gold: #f2b64b;
  --green: #34d399;
  --text: #eef2ff;
  --muted: #93a0c9;
  --muted-2: #6b77a3;
  --grad: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Fond global : nappes lumineuses très discrètes */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(139, 92, 246, 0.13), transparent 60%),
    radial-gradient(800px 550px at -10% 25%, rgba(42, 214, 255, 0.08), transparent 60%),
    radial-gradient(1000px 700px at 50% 115%, rgba(242, 182, 75, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typographie ---------- */
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.kicker.violet { color: #a78bfa; }
.kicker.gold { color: var(--gold); }
h1 { font-size: clamp(42px, 6.5vw, 84px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.12; }
h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); max-width: 720px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4, 6, 15, 0.72);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.08em; font-size: 16px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: conic-gradient(from 210deg, var(--cyan), var(--violet), var(--gold), var(--cyan));
  display: grid; place-items: center; font-size: 15px; font-weight: 900; color: #05070f;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.5);
}
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  padding: 8px 13px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(126, 148, 255, 0.1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(92deg, #19b8e8, var(--violet) 55%, #c084fc);
  color: #fff; box-shadow: 0 6px 28px rgba(139, 92, 246, 0.38);
}
.btn-primary:hover { box-shadow: 0 8px 36px rgba(42, 214, 255, 0.45); transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(92deg, #f2b64b, #e8963a);
  color: #1c1204; box-shadow: 0 6px 28px rgba(242, 182, 75, 0.3);
}
.btn-gold:hover { box-shadow: 0 8px 36px rgba(242, 182, 75, 0.45); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(126, 148, 255, 0.07); color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(126, 148, 255, 0.14); border-color: rgba(126, 148, 255, 0.5); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Panneaux vitrés ---------- */
.panel {
  background: var(--panel);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 38%);
}

/* Badges & puces */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; border: 1px solid;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge-live { color: var(--green); border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); }
.badge-soon { color: var(--gold); border-color: rgba(242, 182, 75, 0.4); background: rgba(242, 182, 75, 0.08); }
.badge-info { color: var(--cyan); border-color: rgba(42, 214, 255, 0.35); background: rgba(42, 214, 255, 0.07); }
.chip {
  display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--muted);
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(126, 148, 255, 0.05);
}
.grad-bar { height: 3px; border-radius: 99px; background: var(--grad); opacity: 0.85; }

/* ---------- Sections ---------- */
section { padding: 104px 0; position: relative; }
.section-head { margin-bottom: 54px; max-width: 780px; }
.section-head .lead { margin-top: 16px; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 150px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { margin: 18px 0 8px; }
.hero .tagline {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 22px;
}
.hero .lead { margin-bottom: 38px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 26px; font-weight: 800; display: block; }
.hero-stats .stat span { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Système orbital ---------- */
.orbital { position: relative; width: min(520px, 90vw); aspect-ratio: 1; margin: 0 auto; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(126, 148, 255, 0.22);
}
.orbit-ring.r2 { inset: 17%; border-style: solid; border-color: rgba(126, 148, 255, 0.13); }
.orbit-ring.r3 { inset: 31%; border-color: rgba(42, 214, 255, 0.14); }
.core {
  position: absolute; inset: 36%; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 38%, rgba(139, 92, 246, 0.85), rgba(42, 100, 246, 0.55) 55%, rgba(10, 16, 40, 0.9) 100%);
  box-shadow:
    0 0 60px rgba(139, 92, 246, 0.55),
    0 0 140px rgba(42, 214, 255, 0.28),
    inset 0 0 40px rgba(255, 255, 255, 0.12);
  animation: corePulse 4.5s ease-in-out infinite;
}
.core b { font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: 0.02em; }
.core small { display: block; font-size: 9px; letter-spacing: 0.22em; font-weight: 700; color: rgba(238, 242, 255, 0.85); text-transform: uppercase; }
.core .badge { margin-top: 8px; font-size: 8.5px; padding: 4px 10px; }
.halo { position: absolute; border-radius: 50%; border: 1px solid rgba(139, 92, 246, 0.35); animation: haloExpand 4.5s ease-out infinite; }
.halo.h2 { animation-delay: 1.5s; border-color: rgba(42, 214, 255, 0.3); }
.halo.h3 { animation-delay: 3s; border-color: rgba(242, 182, 75, 0.25); }
@keyframes corePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes haloExpand {
  0% { inset: 36%; opacity: 0.9; }
  100% { inset: 8%; opacity: 0; }
}
.orbit-icons { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbit-icons .sat {
  position: absolute; top: 50%; left: 50%;
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  transform: rotate(var(--a)) translateX(min(250px, 43vw)) rotate(calc(-1 * var(--a)));
}
.sat-inner {
  width: 100%; height: 100%; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--panel-solid);
  display: grid; place-items: center;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(126, 148, 255, 0.18);
  transition: transform .2s, box-shadow .2s;
  animation: counterSpin 60s linear infinite;
  font-size: 11px; font-weight: 800; letter-spacing: 0.05em;
}
.sat-inner:hover { transform: scale(1.16); box-shadow: 0 0 26px rgba(42, 214, 255, 0.5); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counterSpin { to { transform: rotate(-360deg); } }

/* ---------- Cartes d'applications ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 22px; }
.app-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.app-card:hover {
  transform: translateY(-5px); border-color: var(--line-strong);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 34px rgba(139, 92, 246, 0.14);
}
.app-head { display: flex; align-items: center; gap: 15px; }
.app-icon {
  width: 58px; height: 58px; border-radius: 14px; overflow: hidden; flex: none;
  border: 1px solid var(--line); background: #070c20;
  display: grid; place-items: center;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon.mono { font-weight: 900; font-size: 17px; background: linear-gradient(135deg, #182050, #0a0f28); color: var(--gold); }
.app-head .titles { min-width: 0; flex: 1; }
.app-head h3 { font-size: 17.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-head .sub { font-size: 12.5px; color: var(--muted); }
.app-desc { font-size: 14px; color: var(--muted); flex: 1; }
.app-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.app-actions { display: flex; gap: 10px; margin-top: 4px; }

/* ---------- Grille de fonctionnalités ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.feature { padding: 26px; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; margin-bottom: 16px;
  background: rgba(126, 148, 255, 0.09); border: 1px solid var(--line);
}
.feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ---------- Vitrine Hub ---------- */
.hub-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: center; }
.hub-list { list-style: none; display: grid; gap: 11px; margin: 26px 0 34px; }
.hub-list li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--muted); }
.hub-list li::before { content: "◆"; font-size: 9px; color: var(--cyan); flex: none; }
.hub-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.12); }
.hub-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.hub-thumbs .thumb { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s; }
.hub-thumbs .thumb:hover { border-color: var(--cyan); transform: translateY(-2px); }
.hub-thumbs .thumb.active { border-color: var(--violet); box-shadow: 0 0 18px rgba(139, 92, 246, 0.35); }

/* ---------- Marketplace ---------- */
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.market-card { padding: 24px; text-align: left; transition: transform .2s, border-color .2s; }
.market-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.market-card .ico { font-size: 26px; margin-bottom: 14px; }
.market-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.market-card p { font-size: 12.5px; color: var(--muted); }
.market-card .grad-bar { margin-top: 18px; }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.price-card { padding: 34px 30px; display: flex; flex-direction: column; gap: 6px; }
.price-card.featured { border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 0 50px rgba(139, 92, 246, 0.2); }
.price-card .plan { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.price-card .price { font-size: 42px; font-weight: 800; margin: 10px 0 2px; }
.price-card .price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.price-card li { font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }

/* ---------- Galerie (pages app) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 20px; }
.gallery .shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.gallery .shot:hover { transform: scale(1.015); border-color: var(--line-strong); }

/* ---------- Hero page app ---------- */
.app-hero { padding: 170px 0 90px; }
.app-hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }
.app-hero .logo-big {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(139, 92, 246, 0.18);
}
.app-hero .meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 22px 0 26px; }
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 26px; display: inline-flex; gap: 8px; }
.breadcrumb a:hover { color: var(--cyan); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec-table td:first-child { font-weight: 700; color: var(--text); width: 190px; }
.spec-table tr:last-child td { border-bottom: none; }

/* ---------- Citations (commandes Angel) ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.quote {
  padding: 18px 24px; font-size: 14.5px; font-style: italic; color: var(--text);
  background: rgba(42, 214, 255, 0.05); border: 1px solid var(--line);
  border-left: 2px solid var(--cyan); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
@media (max-width: 740px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Modal notification ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(3, 5, 12, 0.78); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-back.open { display: flex; }
.modal { max-width: 460px; width: 100%; padding: 38px 34px; border-radius: 22px; }
.modal h3 { font-size: 22px; margin: 14px 0 8px; }
.modal p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.modal input {
  width: 100%; padding: 14px 18px; border-radius: 12px; font-size: 15px; color: var(--text);
  background: rgba(126, 148, 255, 0.06); border: 1px solid var(--line-strong); outline: none;
  font-family: var(--font); margin-bottom: 14px;
}
.modal input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(42, 214, 255, 0.15); }
.modal .row { display: flex; gap: 10px; }
.modal .close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.modal .ok { color: var(--green); font-size: 14px; font-weight: 600; display: none; margin-top: 14px; }

/* ---------- CTA final / footer ---------- */
.cta-final { text-align: center; padding: 120px 0; }
.cta-final h2 { max-width: 860px; margin: 0 auto 20px; }
.cta-final .lead { margin: 0 auto 40px; }
footer { border-top: 1px solid var(--line); padding: 60px 0 44px; font-size: 13px; color: var(--muted-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 44px; }
.foot-grid h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-grid a { display: block; padding: 4px 0; color: var(--muted-2); transition: color .2s; }
.foot-grid a:hover { color: var(--cyan); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }

/* ---------- Révélation au scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .hub-band, .app-hero-grid { grid-template-columns: 1fr; }
  .app-hero-grid { gap: 40px; }
  .app-hero .logo-big { max-width: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .orbital { margin-top: 30px; }
}
@media (max-width: 740px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-sm { padding: 8px 14px; font-size: 12.5px; }
  .brand span:not(.brand-mark) { display: none; }
  section { padding: 72px 0; }
  .hero { padding-top: 120px; }
  .apps-grid, .gallery { grid-template-columns: 1fr; }
  .orbit-icons .sat { transform: rotate(var(--a)) translateX(38vw) rotate(calc(-1 * var(--a))); }
}
