/* ─── VARIABLES ─────────────────────────────────────── */
:root {
  --bg:            #0e0a1f;
  --bg-elevated:   #17122e;
  --surface:       #1e1838;
  --surface-2:     #2a2348;
  --accent:        #7c6bd1;
  --accent-l:      #a599ea;
  --green:         #4ade80;
  --text:          #f5f5f7;
  --muted:         #9d99b8;
  --text-dim:      #6b6790;
  --border:        rgba(165, 153, 234, 0.12);
  --border-strong: rgba(165, 153, 234, 0.25);
  --success:       #4ade80;
  --error:         #ef4444;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Empêche la sélection/copier-coller du texte à la souris (esthétique) */
html { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
/* On garde les champs de formulaire sélectionnables et utilisables */
input, textarea, select { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, p { overflow-wrap: break-word; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-elevated); }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-l);
  margin-bottom: 18px;
  display: block;
  text-align: center;
}
h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-align: center;
}
h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 70px;
  line-height: 1.7;
  text-align: center;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  /* Légèrement assombri vs --accent pour garantir ≥4.5:1 avec le texte blanc (WCAG AA) */
  background: #6f5cc4;
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 107, 209, 0.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14, 10, 31, 0.75);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em; flex-shrink: 0;
}
.logo-hex { color: var(--accent-l); font-size: 20px; }
.nav-links { display: flex; gap: 32px; flex: 1; justify-content: center; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--text); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav {
  display: none; flex-direction: column; align-items: center;
  gap: 20px; padding: 28px 24px;
  background: var(--bg); border-top: 1px solid var(--border);
}
.mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mobile-nav a { font-size: 15px; color: var(--muted); }
.mobile-nav.open { display: flex; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 107, 209, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(74, 222, 128, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(124, 107, 209, 0.1), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(165, 153, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 153, 234, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
}
.hero-content h1 {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 16px 0 22px;
}
.h1-accent {
  background: linear-gradient(135deg, var(--accent-l), var(--green));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 70px;
}

/* ─── MAC HERO SCENE ─────────────────────────────────── */
.hero-visual {
  position: relative; z-index: 1;
  width: 100%; max-width: 1280px; margin: 0 auto;
}
.mac-scene {
  position: relative; width: 100%; height: 800px; text-align: left;
  background: linear-gradient(135deg, #4F46E5 0%, #9333EA 50%, #1E1B4B 100%);
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(124,107,209,0.1);
  user-select: none;
}

/* macOS Menubar */
.mac-menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 42px; z-index: 10;
  background: rgba(15, 11, 34, 0.45);
  backdrop-filter: blur(20px);
  display: flex; align-items: center;
  padding: 0 18px; gap: 20px;
  border-bottom: 1px solid rgba(165,153,234,0.12);
  font-size: 14px;
}
.mac-apple-icon { color: var(--accent-l); font-size: 17px; }
.mac-menu-brand { font-weight: 700; color: var(--text); font-size: 15px; letter-spacing: -0.01em; }
.mac-menu-item  { color: var(--text); opacity: 0.7; font-weight: 500; }
.mac-menubar-right {
  margin-left: auto; display: flex; align-items: center; gap: 14px;
  color: var(--text); opacity: 0.9; font-size: 13px;
}
.mac-menu-icon { font-size: 13px; }
.mac-deploy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-l));
  color: #fff; border: none; border-radius: 8px;
  padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(124,107,209,0.8);
}
.mac-deploy-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
#macDeployLabel { transition: opacity 0.25s ease; }

/* Shared window base */
.mac-win {
  position: absolute; border-radius: 10px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
}
.mac-dots { display: flex; gap: 6px; align-items: center; }
.mac-win-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; height: 34px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mac-win-title {
  flex: 1; text-align: center;
  font-size: 11px; color: var(--muted);
}

/* Desktop wallpaper */
.mac-desktop {
  position: absolute; inset: 42px 0 0 0; z-index: 1;
  background: transparent;
}

/* Windows open/close on cursor click */
.mac-code-win, .mac-term-win, .mac-browser-win, .mac-sec-win, .mac-mon-win {
  opacity: 0; transform: scale(0.9) translateY(16px);
  transform-origin: 50% 100%; pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.mac-code-win.open, .mac-term-win.open, .mac-browser-win.open,
.mac-sec-win.open, .mac-mon-win.open {
  opacity: 1; transform: scale(1) translateY(0);
}

/* Minimize-to-dock animation */
.mac-win.minimizing {
  transition: transform 0.5s cubic-bezier(0.5,0,0.75,0.25), opacity 0.5s ease !important;
  transform: translateY(560px) scale(0.12) !important;
  opacity: 0 !important; pointer-events: none;
}

/* Code editor window */
.mac-code-win {
  left: 10%; top: 90px; width: 80%; z-index: 4;
}
.mac-code-body {
  display: flex; background: #0b0a17; height: 560px; overflow: hidden;
  counter-reset: ln;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.75;
}
.code-rail {
  width: 34px; flex-shrink: 0; background: #110d24;
  border-right: 1px solid rgba(165,153,234,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-top: 12px; color: var(--accent-l); opacity: 0.7;
}
.code-rail svg { width: 17px; height: 17px; }
.code-rail .ico-on { opacity: 1; color: var(--accent-l); }
.code-main { flex: 1; padding: 12px 14px; overflow: hidden; }
.code-line { position: relative; padding-left: 30px; white-space: pre; color: #c9c5e6; }
.code-line::before {
  counter-increment: ln; content: counter(ln);
  position: absolute; left: 0; width: 20px; text-align: right; color: #4a4570;
}
.ct-kw   { color: #c78bff; }
.ct-fn   { color: #7cc4ff; }
.ct-tag  { color: #4ade80; }
.ct-attr { color: #f5b34a; }
.ct-str  { color: #ff9ec4; }
.code-caret {
  display: inline-block; width: 7px; height: 14px; vertical-align: text-bottom;
  background: var(--accent-l); margin-left: 1px;
  animation: blink 1s steps(2,start) infinite;
}

/* Terminal window */
.mac-term-win {
  left: 10%; top: 90px; width: 80%; z-index: 3;
}
.mac-term-body {
  background: #080613; padding: 18px 20px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.9;
  height: 556px; overflow: hidden;
}
.mac-prompt-row { display: flex; align-items: center; margin-bottom: 0; }
.mac-prompt-sign { color: var(--green); font-weight: 700; margin-right: 6px; flex-shrink: 0; }
.mac-cmd-text    { color: var(--text); }
.mac-out-line    { display: block; color: var(--text-dim); }
.mac-ok-line     { display: block; color: var(--green); }
.mac-cursor-span {
  display: inline-block; width: 7px; height: 14px;
  background: var(--accent-l); vertical-align: middle;
  margin-left: 1px;
  animation: blink 1s steps(2,start) infinite;
}

/* Browser window */
.mac-browser-win {
  left: 10%; top: 90px; width: 80%; height: 600px; z-index: 3;
}
/* Security audit window */
.mac-sec-win {
  left: 10%; top: 96px; width: 80%; height: 600px; z-index: 6;
}
/* Monitoring window */
.mac-mon-win {
  left: 10%; top: 92px; width: 80%; height: 604px; z-index: 7;
}
.mac-browser-chrome {
  justify-content: space-between;
}
.mac-addr-bar {
  flex: 1; max-width: 220px; margin: 0 auto;
  background: rgba(0,0,0,0.4);
  border-radius: 6px; padding: 3px 10px;
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--muted);
  border: 1px solid rgba(165,153,234,0.12);
  font-family: "SF Mono", Menlo, Consolas, monospace;
}
.mac-addr-lock { font-size: 9px; color: var(--green); }

/* Fake mini website inside browser */
.mac-fake-site {
  background: #0e0a1f; height: calc(100% - 34px); overflow: hidden;
}

/* Dock */
.mac-dock {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 8; display: flex; align-items: flex-end; gap: 16px;
  padding: 9px 16px; border-radius: 22px;
  background: rgba(30, 22, 60, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(165,153,234,0.18);
  box-shadow: 0 14px 36px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.dock-app {
  position: relative;
  width: 54px; height: 54px; border-radius: 15px; padding: 0;
  border: 1px solid rgba(165,153,234,0.28);
  background: linear-gradient(150deg, rgba(124,107,209,0.5), rgba(124,107,209,0.12));
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.dock-app svg { width: 29px; height: 29px; }
/* "App is open" indicator dot, like macOS */
.dock-app.active::after {
  content: ""; position: absolute; bottom: -7px; left: 50%;
  width: 5px; height: 5px; border-radius: 50%; margin-left: -2.5px;
  background: var(--accent-l); box-shadow: 0 0 6px var(--accent-l);
}
/* Click bounce — jumps up then settles back into the dock */
.dock-app.click { animation: dockBounce 0.5s ease; }
@keyframes dockBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  35%      { transform: translateY(-15px) scale(1.08); }
  65%      { transform: translateY(-2px)  scale(1); }
}

/* Animated cursor */
.mac-cursor {
  position: absolute; top: 0; left: 0; z-index: 20;
  width: 22px; height: 22px; pointer-events: none;
  transform: translate(40%, 40%);
  transition: transform 0.95s cubic-bezier(0.55,0.06,0.3,0.95);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.5));
}
.mac-cursor svg { display: block; width: 22px; height: 22px; }
.mac-cursor.press svg { animation: cursorPress 0.26s ease; }
@keyframes cursorPress { 50% { transform: scale(0.75); } }

/* Security audit page */
.mac-sec-body {
  background: #0f0a22; height: calc(100% - 34px);
  padding: 30px 34px; overflow: hidden;
}
.sec-header { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.sec-shield {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.35);
  box-shadow: 0 0 18px rgba(74,222,128,0.25);
}
.sec-shield svg { width: 28px; height: 28px; }
.sec-headtext { display: flex; flex-direction: column; gap: 3px; }
.sec-title { font-size: 20px; font-weight: 700; color: var(--text); }
.sec-sub   { font-size: 13px; color: var(--muted); }
.sec-score {
  margin-left: auto; font-size: 30px; font-weight: 800; color: var(--green);
  line-height: 1; padding: 12px 18px; border-radius: 14px;
  background: rgba(74,222,128,0.10); border: 1px solid rgba(74,222,128,0.35);
}
.sec-list {
  list-style: none; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 14px 18px;
}
.sec-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text);
  padding: 14px 16px; border-radius: 12px;
  background: rgba(124,107,209,0.07); border: 1px solid var(--border);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sec-item.show { opacity: 1; transform: none; }
.sec-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--green);
  background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.4);
}

/* Monitoring / status page */
.mac-mon-body {
  background: #0f0a22; height: calc(100% - 34px);
  padding: 30px 34px; overflow: hidden;
}
.mon-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.mon-pulse {
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: monPulse 1.8s ease-out infinite;
}
@keyframes monPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  100% { box-shadow: 0 0 0 12px rgba(74,222,128,0); }
}
.mon-title { font-size: 20px; font-weight: 700; color: var(--text); }
.mon-uptime { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--green); }
.mon-bars { display: flex; gap: 4px; align-items: flex-end; height: 92px; margin-bottom: 28px; }
.mon-bar {
  flex: 1; height: 100%; border-radius: 4px;
  background: var(--green); opacity: 0.85;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mon-bar.show { transform: scaleY(1); }
.mon-bar.warn { background: #f5b34a; }
.mon-list { list-style: none; display: flex; flex-direction: column; }
.mon-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px; color: var(--text);
  padding: 13px 2px; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mon-item:last-child { border-bottom: none; }
.mon-item.show { opacity: 1; transform: none; }
.mon-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 7px var(--green); }
.mon-status { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--green); }
.mon-ms { font-size: 12.5px; color: var(--muted); min-width: 64px; text-align: right; }

/* Desktop logo on the wallpaper */
.desk-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.16; pointer-events: none; user-select: none;
}
.desk-logo-hex { font-size: 132px; line-height: 1; color: #fff; opacity: 0.9; }
.desk-logo-word {
  font-size: 42px; font-weight: 800; letter-spacing: 0.34em; color: #fff;
  color: var(--text); padding-left: 0.32em;
}

/* Menubar status icons (iOS style) */
.mac-menu-wifi { width: 17px; height: 13px; opacity: 0.9; color: var(--text); }
.mac-menu-batt { width: 25px; height: 12px; opacity: 0.9; color: var(--text); }

/* Toast notifications */
.mac-toasts {
  position: absolute; top: 54px; right: 16px; z-index: 30;
  display: flex; flex-direction: column; gap: 9px; align-items: flex-end;
}
.mac-toast {
  display: flex; align-items: center; gap: 9px;
  background: rgba(20,14,40,0.94); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: 11px;
  padding: 10px 14px; font-size: 12.5px; color: var(--text);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5); white-space: nowrap;
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1),
              transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.mac-toast.show { opacity: 1; transform: none; }
.mac-toast .t-ico {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--green);
  background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.4);
}

/* Lighthouse performance gauge (inside the browser window) */
.mac-lh {
  position: absolute; right: 14px; bottom: 14px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mac-lh.show { opacity: 1; transform: none; }
.lh-ring {
  position: relative; width: 66px; height: 66px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--green) calc(var(--p,0) * 1%), rgba(255,255,255,0.10) 0);
}
.lh-ring::after {
  content: ""; position: absolute; width: 52px; height: 52px;
  border-radius: 50%; background: #0e0a1f;
}
.lh-num { position: relative; z-index: 1; font-size: 19px; font-weight: 800; color: var(--green); }
.lh-label { font-size: 10px; color: var(--muted); }
.fake-nav {
  height: 44px; background: rgba(14,10,31,0.98);
  border-bottom: 1px solid rgba(165,153,234,0.1);
  display: flex; align-items: center; padding: 0 18px; gap: 10px;
}
.fake-nav-logo {
  font-size: 13px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 6px; letter-spacing: -0.01em;
}
.fake-nav-hex   { color: var(--accent-l); }
.fake-nav-spacer { flex: 1; }
.fake-nav-links { display: flex; gap: 10px; }
.fake-nav-link  { width: 38px; height: 6px; border-radius: 3px; background: rgba(157,153,184,0.25); }
.fake-nav-btn   { width: 70px; height: 24px; border-radius: 6px; background: var(--accent); opacity: 0.85; }

.fake-hero-area {
  padding: 40px 24px 26px; text-align: center;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(124,107,209,0.18), transparent 70%);
}
.fake-hero-label {
  font-size: 10px; letter-spacing: 0.12em; color: var(--accent-l);
  text-transform: uppercase; font-weight: 700; margin-bottom: 12px;
}
.fake-hero-h1 {
  font-size: 30px; font-weight: 700; line-height: 1.18;
  letter-spacing: -0.02em; margin-bottom: 12px; color: var(--text);
}
.fake-hero-h1 em {
  background: linear-gradient(135deg, var(--accent-l), var(--green));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-style: normal;
}
.fake-hero-sub {
  font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.5;
  max-width: 360px; margin-left: auto; margin-right: auto;
}
.fake-hero-ctas { display: flex; gap: 10px; justify-content: center; margin-bottom: 0; }
.fake-cta-p { width: 110px; height: 30px; border-radius: 8px; background: var(--accent); }
.fake-cta-o { width: 92px; height: 30px; border-radius: 8px; border: 1px solid var(--border-strong); }

.fake-cards-row { display: flex; gap: 14px; padding: 16px 22px 0; }
.fake-card {
  flex: 1; height: 86px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); padding: 14px 16px;
}
.fake-card-line {
  height: 7px; border-radius: 4px;
  background: rgba(157,153,184,0.3); margin-bottom: 9px;
}
.fake-card-line.short   { width: 65%; }
.fake-card-line.shorter { width: 45%; margin-bottom: 0; background: rgba(157,153,184,0.18); }

/* ─── DOTS (shared) ──────────────────────────────────── */
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }

/* ─── COMPARISON ─────────────────────────────────────── */
.comparison {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 24px; align-items: stretch;
  max-width: 1050px; margin: 0 auto 56px;
}
.cmp-col {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.cmp-bad { opacity: 0.85; }
.cmp-good {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px rgba(124, 107, 209, 0.4);
}
.cmp-title {
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 24px;
}
.cmp-good .cmp-title { color: var(--accent-l); }
.cmp-col ul { display: flex; flex-direction: column; }
.cmp-col li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--muted);
}
.cmp-col li:last-child { border-bottom: none; }
.cmp-good li { color: var(--text); }
.x  { color: var(--error);  font-weight: 600; flex-shrink: 0; }
.ck { color: var(--green);  font-weight: 600; flex-shrink: 0; }
.cmp-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--accent);
}
.diff-prose {
  text-align: center; font-size: 18px; color: var(--muted);
  max-width: 700px; margin: 0 auto; line-height: 1.7;
}
.diff-prose strong em { color: var(--text); font-style: italic; font-weight: 600; }

@keyframes blink { to { opacity: 0; } }

/* ─── NUMBERED CARDS (Services) ──────────────────────── */
.num-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.num-card { grid-column: span 2; }
/* 5 cards: top row spans cols 1-6, center the 2 bottom cards (cols 2-5) */
.num-card:nth-child(4) { grid-column: 2 / span 2; }
.num-card:nth-child(5) { grid-column: 4 / span 2; }
.num-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: all 0.3s;
}
.num-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  background: var(--surface-2);
  box-shadow: 0 20px 40px -20px rgba(124, 107, 209, 0.3);
}
.num-badge {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--accent-l); margin-bottom: 20px;
  display: flex; align-items: baseline; gap: 4px;
}
.num-badge-total { color: var(--muted); }
.num-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.num-card p  { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ─── ENTERPRISE / SECURITY ──────────────────────────── */
.ent-layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.ent-list { list-style: none; }
.ent-item {
  padding: 20px 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start;
}
.ent-item:last-child { border-bottom: none; }
.ent-dot {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-top: 2px;
}
.ent-dot-purple { background: rgba(124,107,209,0.15); border: 1px solid var(--border-strong); }
.ent-dot-red    { background: rgba(239,68,68,0.12);   border: 1px solid rgba(239,68,68,0.3); }
.ent-dot-shield { background: rgba(74,222,128,0.12);  border: 1px solid rgba(74,222,128,0.3); }
.ent-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ent-item p  { font-size: 14px; color: var(--muted); line-height: 1.55; }
.ent-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  border-radius: 20px; padding: 36px; position: sticky; top: 100px;
}
.ent-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 100px; font-size: 12px; color: var(--green);
  margin-bottom: 20px; font-weight: 500;
}
.ent-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  position: relative;
}
.ent-badge-dot::after {
  content: ''; pointer-events: none;
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--green); opacity: 0;
  animation: status-pulse 2s ease-out infinite;
}
@keyframes status-pulse {
  0%   { transform: scale(1); opacity: 0.55; }
  70%  { transform: scale(3); opacity: 0;    }
  100% { transform: scale(3); opacity: 0;    }
}
.ent-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; line-height: 1.3; }
.ent-card p  { font-size: 15px; color: var(--muted); margin-bottom: 26px; line-height: 1.6; }

/* ─── PORTFOLIO ──────────────────────────────────────── */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.port-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.3s;
  position: relative;
}
.port-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(124, 107, 209, 0.3);
}
.port-cover { height: 180px; }
.port-c1 { background: url('../assets/portfolio/lenouvel-alchemiste.webp?v=2') center top / cover no-repeat, linear-gradient(135deg, #7C3AED, #3b0764); }
.port-c2 { background: linear-gradient(135deg, #3d5a1e, #7a9c2e); }
.port-c3 { background: url('../assets/portfolio/sekuryn.webp') center top / cover no-repeat, linear-gradient(135deg, #1e1b4b, #4338ca); }
.port-info { padding: 24px; }
.port-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-l);
  background: rgba(124,107,209,0.15); padding: 3px 9px;
  border-radius: 20px; display: inline-block; margin-bottom: 10px;
}
.port-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.port-info p  { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.port-link { font-size: 14px; font-weight: 600; color: var(--accent-l); cursor: pointer; text-decoration: none; }
.port-link.disabled { color: var(--muted); pointer-events: none; }
.port-link[href]::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* ─── CONTACT ────────────────────────────────────────── */
.contact-win {
  max-width: 680px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(124,107,209,0.08);
}
.cw-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.cw-title {
  flex: 1; text-align: center;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; color: var(--muted);
}
.cw-body { padding: 40px 40px 32px; position: relative; }
.cw-body::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(124,107,209,0.12), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(74,222,128,0.06), transparent 60%);
  pointer-events: none;
}
.cw-body h2 {
  font-size: 30px; font-weight: 700;
  margin-bottom: 14px; letter-spacing: -0.01em;
  text-align: left;
}
.cw-sub { font-size: 16px; color: var(--muted); margin-bottom: 28px; line-height: 1.6; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; gap: 0;
  letter-spacing: 0.02em;
}
.lbl-arrow { color: var(--green); font-weight: 600; }
.form-group input, .form-group textarea {
  background: #0a0718; border: 1px solid var(--border);
  border-radius: 8px; padding: 13px 16px;
  color: var(--text);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 107, 209, 0.18);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-dim);
  font-family: "SF Mono", Menlo, Consolas, monospace;
}
.btn-send {
  width: 100%; padding: 14px 24px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px; font-weight: 500;
  cursor: pointer; letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 6px; display: flex; justify-content: center;
}
.btn-send:hover { background: var(--accent-l); box-shadow: 0 8px 24px rgba(124,107,209,0.35); }
.btn-send:disabled { opacity: 0.6; cursor: not-allowed; }
.form-privacy {
  font-size: 12px; color: var(--text-dim);
  text-align: left; margin-top: 14px; line-height: 1.5;
}
.form-feedback { margin-top: 10px; font-size: 14px; min-height: 18px; border-radius: 10px; }
.form-feedback.ok {
  padding: 14px 16px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green);
}
.form-feedback.err {
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 50px 24px 0;
}
.footer-top {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; margin-bottom: 18px;
}
.footer-tagline { font-size: 14px; color: var(--muted); }
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: center;
}
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 13px; color: var(--muted);
  margin-top: 24px; text-align: center;
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
}

/* ─── SECURITY / UTILITY ─────────────────────────────── */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important; overflow: hidden !important;
  pointer-events: none !important;
}
.mac-nav-filler { width: 44px; flex-shrink: 0; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .ent-layout { grid-template-columns: 1fr; }
  .ent-card { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .comparison { grid-template-columns: 1fr; gap: 20px; }
  .cmp-arrow { transform: rotate(90deg); }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-card, .num-card:nth-child(4), .num-card:nth-child(5) { grid-column: auto; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .cw-body { padding: 32px 28px 28px; }
  .cw-body h2 { font-size: 26px; }
  .section { padding: 80px 0; }
  .hero { padding: 110px 24px 60px; }
}
@media (max-width: 480px) {
  .num-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
}
