/* ═══════════════════════════════════════════════════════════
   HACKANDSHIELD — NEURAL FORTRESS
   Fonts: Syne (headings) · JetBrains Mono (code/accent) · DM Sans (body)
═══════════════════════════════════════════════════════════ */

/* font-display: swap via Google Fonts param (already in URL) */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img, svg { display: block; }

/* ── TOKENS ── */
:root {
  --void:      #020810;
  --deep:      #050E1D;
  --surface:   #091629;
  --glass:     rgba(9,22,41,0.75);
  --electric:  #00C8FF;
  --neon:      #00FF9D;
  --plasma:    #0055FF;
  --danger:    #FF3366;
  --amber:     #FF8C00;
  --purple:    #9B59B6;
  --text:      #E2EEFF;
  --muted:     #4A6080;
  --border:    rgba(0,200,255,0.1);
  --r:         14px;
  --r-sm:      8px;
  --r-lg:      20px;
}

/* ── BASE ── */
body {
  background: var(--void);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--electric); border-radius: 2px; }
::selection { background: rgba(0,200,255,0.25); color: #fff; }

/* ── LOGO IMG ── */
.logo-img {
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,200,255,0.5));
  transition: filter 0.3s;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 12px rgba(0,255,157,0.7));
}

/* Hero watermark */
.hero-wm {
  position: absolute; z-index: 1;
  right: -60px; top: 50%; transform: translateY(-50%);
  opacity: 0.025; pointer-events: none; user-select: none;
  animation: floatFrame 10s ease-in-out infinite;
}

/* About full logo */
.about-full-logo {
  width: 100%; max-width: 340px;
  margin-bottom: 28px;
  opacity: 0.85;
  filter: drop-shadow(0 0 20px rgba(0,200,255,0.2));
}

/* ── CUSTOM CURSOR ── */
.cur {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--electric);
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s, background 0.2s;
  box-shadow: 0 0 12px var(--electric);
}
.cur-ring {
  position: fixed; z-index: 9998; pointer-events: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(0,200,255,0.5);
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(.25,.46,.45,.94), width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover .cur { width: 12px; height: 12px; background: var(--neon); }
body.cursor-hover .cur-ring { width: 56px; height: 56px; border-color: var(--neon); }

/* ── LOADER ── */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--void);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Syne', sans-serif;
  font-size: 52px; font-weight: 800;
  background: linear-gradient(135deg, var(--electric), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
  animation: loaderPulse 1.2s ease-in-out infinite alternate;
}
.loader-logo span { opacity: 0.6; }
@keyframes loaderPulse { from { filter: brightness(1); } to { filter: brightness(1.5); } }
.loader-line {
  width: 260px; height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px; overflow: hidden;
  margin: 0 auto 16px;
}
.loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--electric), var(--neon));
  border-radius: 1px;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px var(--electric);
}
.loader-msg {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.05em;
}

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2.5rem;
  transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}
.nav.solid {
  background: rgba(2,8,16,0.9);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--electric), var(--plasma));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 13px;
  color: #fff; letter-spacing: -1px;
  box-shadow: 0 0 20px rgba(0,200,255,0.35);
}
.logo-mark.sm { width: 32px; height: 32px; font-size: 11px; }
.logo-mark span { opacity: 0.65; }
.logo-name {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px;
  background: linear-gradient(90deg, #fff 40%, var(--electric));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-name.sm { font-size: 15px; }
.nav-list { display: flex; gap: 2.2rem; }
.nl {
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: color 0.2s; letter-spacing: 0.01em;
  position: relative;
}
.nl::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--electric);
  transform: scaleX(0); transition: transform 0.25s;
}
.nl:hover { color: #fff; }
.nl:hover::after, .nl.active::after { transform: scaleX(1); }
.nl.active { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--muted); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 13px;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--electric); border-color: var(--electric); }
.cta-btn {
  font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, var(--electric), var(--plasma));
  color: #fff; border-radius: var(--r-sm);
  padding: 10px 22px;
  box-shadow: 0 0 24px rgba(0,200,255,0.3);
  transition: all 0.25s; white-space: nowrap;
}
.cta-btn:hover { box-shadow: 0 0 40px rgba(0,200,255,0.5); transform: translateY(-1px); }
.burger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── BUTTONS ── */
.btn-e {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--electric), var(--plasma));
  color: #fff; border-radius: var(--r);
  padding: 14px 32px;
  box-shadow: 0 0 30px rgba(0,200,255,0.3);
  transition: all 0.3s; white-space: nowrap;
}
.btn-e:hover { box-shadow: 0 0 50px rgba(0,200,255,0.55); transform: translateY(-2px); }
.btn-e.full { width: 100%; justify-content: center; }
.btn-g {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600;
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r); padding: 14px 32px;
  transition: all 0.3s; white-space: nowrap;
}
.btn-g:hover { border-color: var(--electric); color: var(--electric); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 2.5rem 80px; overflow: hidden;
}
#pCanvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4;
}
.hero-body {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

/* Reveal */
.reveal-col > * {
  opacity: 0; transform: translateY(30px);
  animation: revealUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
}
.reveal-col > *:nth-child(1) { animation-delay: 0.2s; }
.reveal-col > *:nth-child(2) { animation-delay: 0.35s; }
.reveal-col > *:nth-child(3) { animation-delay: 0.5s; }
.reveal-col > *:nth-child(4) { animation-delay: 0.65s; }
.reveal-col > *:nth-child(5) { animation-delay: 0.8s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

.tag, .glitch-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.25);
  color: var(--electric); border-radius: 999px;
  padding: 7px 16px; font-size: 12px; font-weight: 500;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 6vw, 78px); font-weight: 800; line-height: 1.04;
  color: #fff; margin-bottom: 22px;
  display: flex; flex-direction: column;
}

/* Glitch lines */
.glitch-line {
  position: relative; display: inline-block;
}
.glitch-line.accent {
  background: linear-gradient(90deg, var(--electric), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.glitch-line::before,
.glitch-line::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: transparent;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}
.glitch-line::before {
  color: #ff003c; opacity: 0;
  animation: glitch1 6s infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
}
.glitch-line::after {
  color: #00fff9; opacity: 0;
  animation: glitch2 6s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}
@keyframes glitch1 {
  0%,94%,100%  { opacity: 0; transform: translate(0); }
  95%          { opacity: 0.7; transform: translate(-3px, 1px); }
  96%          { opacity: 0.7; transform: translate(3px, -1px); }
  97%          { opacity: 0; transform: translate(0); }
  98%          { opacity: 0.5; transform: translate(-2px, 0); }
}
@keyframes glitch2 {
  0%,92%,100%  { opacity: 0; transform: translate(0); }
  93%          { opacity: 0.6; transform: translate(3px, 0); }
  94%          { opacity: 0.6; transform: translate(-3px, 1px); }
  95%          { opacity: 0; }
}

.hero-p { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 460px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; gap: 3px; }
.hstat b {
  font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: #fff;
  display: inline;
}
.hstat sup { font-size: 16px; color: var(--electric); font-weight: 700; }
.hstat span { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.03em; }
.hstat-div { width: 1px; height: 40px; background: var(--border); }

/* Terminal frame */
.hero-right {
  opacity: 0; transform: translateX(40px) scale(0.97);
  animation: revealRight 1s cubic-bezier(.22,1,.36,1) 0.5s forwards;
}
@keyframes revealRight { to { opacity: 1; transform: translateX(0) scale(1); } }
.terminal-frame {
  background: var(--surface);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 80px rgba(0,200,255,0.1), 0 40px 80px rgba(0,0,0,0.6);
  animation: floatFrame 7s ease-in-out infinite;
}
@keyframes floatFrame { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
.tf-top {
  background: rgba(0,0,0,0.4); padding: 11px 16px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(0,200,255,0.08);
}
.td { width: 11px; height: 11px; border-radius: 50%; }
.td.red    { background: #FF5F57; }
.td.yellow { background: #FEBC2E; }
.td.green  { background: #28C840; }
.tf-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); margin-left: 6px; }
.tf-body { padding: 20px; min-height: 200px; }
.tline {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  line-height: 1.9; margin-bottom: 2px;
  opacity: 0;
  animation: termReveal 0.3s ease forwards;
}
.tline:nth-child(1)  { animation-delay: 1.2s; }
.tline:nth-child(2)  { animation-delay: 1.5s; }
.tline:nth-child(3)  { animation-delay: 1.8s; }
.tline:nth-child(4)  { animation-delay: 2.1s; }
.tline:nth-child(5)  { animation-delay: 2.4s; }
.tline:nth-child(6)  { animation-delay: 2.7s; }
.tline:nth-child(7)  { animation-delay: 3.0s; }
.tline:nth-child(8)  { animation-delay: 3.3s; }
.tline:nth-child(9)  { animation-delay: 3.6s; }
@keyframes termReveal { from{opacity:0;transform:translateX(-6px);} to{opacity:1;transform:none;} }
.tp  { color: var(--electric); }
.tv  { color: var(--neon); }
.tw  { color: var(--text); opacity: 0.7; }
.tb  { color: var(--electric); letter-spacing: 0.05em; }
.td2 { color: var(--danger); }
.tr  { color: var(--danger); }
.ty  { color: var(--amber); }
.tc  { color: var(--neon); }
.tline-cursor .tc { animation: curBlink 1s infinite 4s; }
@keyframes curBlink { 0%,100%{opacity:1;} 50%{opacity:0;} }

.tf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid rgba(0,200,255,0.08); }
.tfc {
  padding: 14px 16px; display: flex; flex-direction: column; gap: 5px;
  background: rgba(0,0,0,0.3);
}
.tfc + .tfc { border-left: 1px solid rgba(0,200,255,0.06); }
.tfc-n {
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700;
}
.tfc-a .tfc-n { color: var(--danger); }
.tfc-b .tfc-n { color: var(--neon); }
.tfc span:last-child { font-size: 10px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* Radar mini */
.tfc-c { align-items: center; flex-direction: row; gap: 10px; }
.radar-mini {
  position: relative; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(0,200,255,0.04);
  border: 1px solid rgba(0,200,255,0.15);
  flex-shrink: 0; overflow: hidden;
}
.rm-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,255,157,0.2);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.r1 { width: 60%; height: 60%; }
.r2 { width: 80%; height: 80%; }
.r3 { width: 100%; height: 100%; }
.rm-sweep {
  position: absolute; top: 50%; left: 50%; width: 50%; height: 1px;
  background: linear-gradient(90deg, var(--neon), transparent);
  transform-origin: left center;
  animation: sweep 2s linear infinite;
}
@keyframes sweep { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }
.rm-dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--neon); }
.d1 { top: 28%; left: 55%; animation: dotFade 3s ease-in-out infinite 0.5s; }
.d2 { top: 62%; left: 35%; animation: dotFade 3s ease-in-out infinite 1.2s; }
.d3 { top: 45%; left: 70%; animation: dotFade 3s ease-in-out infinite 2s; }
@keyframes dotFade { 0%,100%{opacity:0.3;} 50%{opacity:1;box-shadow:0 0 6px var(--neon);} }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: revealUp 0.6s ease 2s forwards;
}
.scroll-hint span { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--electric), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:0.5;} 50%{transform:scaleY(0.6);opacity:1;} }

/* ── SERVICES NAV ── */
.svc-nav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(2,8,16,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; gap: 0; white-space: nowrap;
  width: max-content; min-width: 100%;
}
.sn-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--muted); padding: 14px 24px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.sn-pill:hover, .sn-pill.active { color: var(--electric); border-bottom-color: var(--electric); }

/* ── SERVICE SECTIONS ── */
.svc-section {
  min-height: clamp(560px, 100vh, 1000px);
  display: flex; align-items: center;
  padding: 100px 2.5rem; position: relative; overflow: hidden;
}
.svc-section::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,200,255,0.04), transparent);
}
.svc-section.svc-flip::before {
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(0,200,255,0.04), transparent);
}
.svc-wrap {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.svc-section:nth-child(even) .svc-wrap { }

.svc-num {
  font-family: 'Syne', sans-serif; font-size: 80px; font-weight: 800;
  color: rgba(255,255,255,0.03); line-height: 1;
  position: absolute; top: -10px; left: -5px;
  pointer-events: none; user-select: none;
}
.svc-text { position: relative; }
.svc-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--electric);
  margin-bottom: 16px;
}
.svc-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(30px, 3.5vw, 48px); font-weight: 800;
  color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.svc-p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; max-width: 440px; }
.svc-list { margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.svc-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(226,238,255,0.7);
}
.svc-list li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 1px;
  background: var(--electric);
}
.svc-cta { }

/* Accent colors per service */
#svc-pentest { background: linear-gradient(180deg, var(--deep) 0%, #0d0510 100%); }
#svc-pentest .svc-tag, #svc-pentest .svc-list li::before { color: var(--danger); background: var(--danger); }
#svc-pentest .btn-e { background: linear-gradient(135deg, var(--danger), #c0002a); box-shadow: 0 0 30px rgba(255,51,102,0.3); }

#svc-dev { background: linear-gradient(180deg, #060f1d 0%, var(--deep) 100%); }


/* ── ÉQUIPEMENTS ── */
#svc-equip { background: linear-gradient(180deg, #100800 0%, var(--deep) 100%); }
#svc-equip .svc-tag  { color: #FF8C00; }
#svc-equip .svc-list li::before { background: #FF8C00; }
#svc-equip .btn-e    { background: linear-gradient(135deg, #FF8C00, #cc5500); box-shadow: 0 0 30px rgba(255,140,0,0.3); }

.equip-visual { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 14px; }

/* Grille 2×2 cartes produits */
.eq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.eq-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(var(--acc-rgb, 255,140,0), 0.15);
  border-radius: 14px; padding: 20px 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.eq-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--acc, #FF8C00), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.eq-card:hover {
  border-color: color-mix(in srgb, var(--acc, #FF8C00) 50%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.eq-card:hover::before { opacity: 1; }

.eq-card-icon {
  width: 44px; height: 44px;
  background: color-mix(in srgb, var(--acc, #FF8C00) 12%, transparent);
  border-radius: 10px; padding: 8px;
  color: var(--acc, #FF8C00);
  display: flex; align-items: center; justify-content: center;
}
.eq-card-icon svg { width: 28px; height: 28px; }
.eq-card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.eq-card-label {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; color: #fff;
}
.eq-card-sub { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.eq-card-badge {
  display: inline-block; align-self: flex-start;
  background: color-mix(in srgb, var(--acc, #FF8C00) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc, #FF8C00) 35%, transparent);
  color: var(--acc, #FF8C00);
  font-size: 10px; font-weight: 600; font-family: 'JetBrains Mono', monospace;
  padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em;
}

/* Badges statut en bas */
.eq-badges-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.eq-status-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; color: var(--text-dim, #4A6080);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.eq-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c, #FF8C00);
  box-shadow: 0 0 6px var(--c, #FF8C00);
  animation: blink 2s ease-in-out infinite; flex-shrink: 0;
}

/* Rack LEDs blink */
.eq-led  { animation: blink 1.8s ease-in-out infinite; }
.eq-led2 { animation: blink 1.8s ease-in-out infinite 0.9s; }

/* Rack float */
.eq-rack    { animation: floatFrame 8s ease-in-out infinite; }
.eq-laptop  { animation: floatFrame 6s ease-in-out infinite 1s; }
.eq-router  { animation: floatFrame 5s ease-in-out infinite 0.5s; }
.eq-monitor { animation: floatFrame 7s ease-in-out infinite 1.5s; }

/* Badges float */
.eq-badge  { animation: floatBadge 4s ease-in-out infinite; }
.eb1 { animation-delay: 0s; }
.eb2 { animation-delay: 1s; }
.eb3 { animation-delay: 2s; }

/* Cables animate */
.eq-cable {
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: drawLine 1.5s ease forwards;
}

/* ── N8N ── */
#svc-n8n { background: linear-gradient(180deg, #0a0616 0%, var(--deep) 100%); }
#svc-n8n .svc-tag, #svc-n8n .svc-list li::before { color: var(--purple); background: var(--purple); }
#svc-n8n .btn-e { background: linear-gradient(135deg, var(--purple), #6c3483); box-shadow: 0 0 30px rgba(155,89,182,0.3); }

#svc-audit { background: linear-gradient(180deg, #030f0a 0%, var(--deep) 100%); }
#svc-audit .svc-tag, #svc-audit .svc-list li::before { color: var(--neon); background: var(--neon); }
#svc-audit .btn-e { background: linear-gradient(135deg, var(--neon), #00c87a); box-shadow: 0 0 30px rgba(0,255,157,0.3); color: #000; }

/* ── PENTEST VISUAL ── */
.svc-visual { display: flex; justify-content: center; align-items: center; }
.hex-scan { position: relative; width: 100%; max-width: 520px; }
.hex-svg { width: 100%; filter: drop-shadow(0 0 20px rgba(255,51,102,0.15)); }

.hx-line { stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawLine 1.5s ease forwards; }
.hx-line:nth-child(1)  { animation-delay: 0.3s; }
.hx-line:nth-child(2)  { animation-delay: 0.5s; }
.hx-line:nth-child(3)  { animation-delay: 0.7s; }
.hx-line:nth-child(4)  { animation-delay: 0.9s; }
.hx-line:nth-child(5)  { animation-delay: 1.1s; }
.hx-line:nth-child(6)  { animation-delay: 1.3s; }
.hx-line:nth-child(7)  { animation-delay: 1.5s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hex-node { animation: nodePop 0.4s cubic-bezier(.34,1.56,.64,1) both; }
.hex-node:nth-child(8)  { animation-delay: 1.0s; }
.hex-node:nth-child(9)  { animation-delay: 1.2s; }
.hex-node:nth-child(10) { animation-delay: 1.4s; }
.hex-node:nth-child(11) { animation-delay: 1.6s; }
.hex-node:nth-child(12) { animation-delay: 1.8s; }
@keyframes nodePop { from{opacity:0;transform:scale(0.5);} to{opacity:1;transform:scale(1);} }

.scan-ring  { animation: scanRotate 4s linear infinite; transform-origin: 240px 210px; }
.scan-ring2 { animation: scanRotate 7s linear infinite reverse; transform-origin: 240px 210px; }
@keyframes scanRotate { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.data-pkt { opacity: 0; }
.pkt1 { animation: movePacket1 3s ease-in-out infinite 2s; }
.pkt2 { animation: movePacket2 3.5s ease-in-out infinite 2.5s; }
.pkt3 { animation: movePacket3 4s ease-in-out infinite 3s; }
@keyframes movePacket1 {
  0%   { opacity:0; cx: 240; cy: 210; }
  10%  { opacity:1; }
  50%  { opacity:1; cx: 100; cy: 100; }
  60%  { opacity:0; cx: 100; cy: 100; }
  100% { opacity:0; cx: 100; cy: 100; }
}
@keyframes movePacket2 {
  0%   { opacity:0; cx: 240; cy: 210; }
  10%  { opacity:1; }
  50%  { opacity:1; cx: 400; cy: 280; }
  60%  { opacity:0; }
  100% { opacity:0; }
}
@keyframes movePacket3 {
  0%   { opacity:0; cx: 80; cy: 280; }
  10%  { opacity:1; }
  50%  { opacity:1; cx: 240; cy: 210; }
  60%  { opacity:0; }
  100% { opacity:0; }
}

.scan-terminal {
  position: absolute; bottom: 0; right: -20px;
  background: rgba(2,8,16,0.92);
  border: 1px solid rgba(255,51,102,0.2);
  border-radius: 10px; padding: 14px 18px;
  min-width: 280px; backdrop-filter: blur(10px);
}
.st-line { font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.8; }
.st-k { color: var(--electric); }
.st-v { color: rgba(255,255,255,0.6); }
.st-r { color: var(--danger); }
.st-y { color: var(--amber); }
.st-g { color: var(--neon); }
.st-anim  { animation: fadeIn 0.5s ease 1.5s both; }
.st-anim2 { animation: fadeIn 0.5s ease 2.2s both; }
.st-anim3 { animation: fadeIn 0.5s ease 2.9s both; }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

/* ── DEV VISUAL ── */
.dev-visual { position: relative; width: 100%; max-width: 520px; height: 360px; contain: layout; }
.code-editor {
  position: absolute; top: 0; left: 0; right: 60px;
  background: #0d1117; border: 1px solid rgba(0,200,255,0.15);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 60px rgba(0,200,255,0.08), 0 30px 60px rgba(0,0,0,0.5);
  animation: floatFrame 6s ease-in-out infinite;
}
.ce-header { background: #161b22; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ce-tabs { display: flex; gap: 4px; }
.ce-tab {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); padding: 4px 12px; border-radius: 4px;
  cursor: default; transition: all 0.2s;
}
.ce-tab.active { background: rgba(0,200,255,0.1); color: var(--electric); }
.ce-body { display: flex; padding: 16px; gap: 12px; }
.ce-nums { display: flex; flex-direction: column; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #3d4f6e; gap: 0; line-height: 1.85; text-align: right; padding-right: 8px; border-right: 1px solid #1f2937; }
.ce-code { flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.85; }
.ck { color: #FF7B72; }
.cv { color: #FFA657; }
.cs { color: #A5D6FF; }
.cf { color: #D2A8FF; }
.cp { color: var(--text); opacity: 0.6; }
.ce-status {
  display: flex; gap: 12px; padding: 8px 14px;
  background: #0d1117; border-top: 1px solid rgba(255,255,255,0.05);
}
.ce-ok { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--neon); }
.ce-info { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); margin-left: auto; }

.phone-frame {
  position: absolute; right: 0; bottom: 0;
  width: 90px; background: #1a1a2e;
  border: 2px solid rgba(0,200,255,0.2);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 30px rgba(0,200,255,0.15);
  animation: floatFrame 5s ease-in-out infinite 1s;
}
.pf-screen { padding: 6px; }
.pf-status { height: 6px; background: rgba(0,200,255,0.15); border-radius: 3px; margin-bottom: 6px; }
.pf-app { display: flex; flex-direction: column; gap: 5px; }
.pf-bar { height: 6px; border-radius: 3px; background: rgba(0,200,255,0.2); }
.pf-bar1 { width: 60%; }
.pf-bar2 { width: 40%; background: rgba(0,255,157,0.2); }
.pf-row { display: flex; gap: 4px; }
.pf-card { flex: 1; height: 30px; border-radius: 6px; background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.1); }
.pf-card2 { background: rgba(155,89,182,0.1); border-color: rgba(155,89,182,0.15); }
.pf-btn-m { height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--electric), var(--plasma)); margin: 4px 10px; }

.tech-badges { position: absolute; top: -10px; right: -10px; display: flex; flex-direction: column; gap: 7px; }
.tb {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  animation: floatBadge 4s ease-in-out infinite;
}
.tb.react  { background: rgba(97,218,251,0.1); border: 1px solid rgba(97,218,251,0.3); color: #61DAFB; animation-delay: 0s; }
.tb.next   { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: #fff; animation-delay: 0.5s; }
.tb.flutter{ background: rgba(84,182,255,0.1); border: 1px solid rgba(84,182,255,0.3); color: #54B6FF; animation-delay: 1s; }
.tb.node   { background: rgba(104,160,99,0.1); border: 1px solid rgba(104,160,99,0.3); color: #68A063; animation-delay: 1.5s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-5px);} }


/* ── N8N VISUAL ── */
.n8n-visual { position: relative; width: 100%; max-width: 520px; }
.workflow-svg { width: 100%; }
.wf-node { transition: opacity 0.3s; }
.wf-center rect { animation: nodeGlow 2s ease-in-out infinite; }
@keyframes nodeGlow { 0%,100%{filter:drop-shadow(0 0 4px rgba(155,89,182,0.4));} 50%{filter:drop-shadow(0 0 14px rgba(155,89,182,0.8));} }

.wf-path { animation: drawWfPath 1.5s ease forwards; }
#p1 { animation-delay: 0.5s; }
#p2 { animation-delay: 0.7s; }
#p3 { animation-delay: 0.9s; }
#p4 { animation-delay: 1.1s; }
#p5 { animation-delay: 1.3s; }
@keyframes drawWfPath { to { stroke-dashoffset: 0; } }

.wd1,.wd2,.wd3 { opacity: 0; }
.wd1 { animation: flowDot1 3s ease-in-out infinite 2s; }
.wd2 { animation: flowDot2 3.5s ease-in-out infinite 2.5s; }
.wd3 { animation: flowDot3 2.5s ease-in-out infinite 3s; }
@keyframes flowDot1 {
  0%   { opacity:0; transform:translate(85px,260px); }
  10%  { opacity:1; }
  50%  { opacity:1; transform:translate(215px,160px); }
  60%  { opacity:0; }
  100% { opacity:0; }
}
@keyframes flowDot2 {
  0%   { opacity:0; transform:translate(215px,160px); }
  10%  { opacity:1; }
  50%  { opacity:1; transform:translate(400px,95px); }
  60%  { opacity:0; }
  100% { opacity:0; }
}
@keyframes flowDot3 {
  0%   { opacity:0; transform:translate(215px,160px); }
  10%  { opacity:1; }
  50%  { opacity:1; transform:translate(400px,295px); }
  60%  { opacity:0; }
  100% { opacity:0; }
}

.n8n-badge {
  position: absolute; bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(2,8,16,0.9); border: 1px solid rgba(155,89,182,0.3);
  border-radius: 999px; padding: 7px 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--purple);
}
.n8n-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple); animation: blink 1.5s infinite;
}

/* ── AUDIT VISUAL ── */
.audit-visual { position: relative; width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.radar-wrap { display: flex; justify-content: center; }
.radar-screen {
  position: relative; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(0,255,157,0.03);
  border: 1px solid rgba(0,255,157,0.2);
  overflow: hidden;
}
.radar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(0,255,157,0.12);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.rr1 { width: 25%;  height: 25%; }
.rr2 { width: 50%;  height: 50%; }
.rr3 { width: 75%;  height: 75%; }
.rr4 { width: 100%; height: 100%; border-color: rgba(0,255,157,0.2); }
.radar-cross {
  position: absolute; background: rgba(0,255,157,0.1);
  top: 50%; left: 50%;
}
.rc-h { width: 100%; height: 1px; transform: translate(-50%,-50%); }
.rc-v { width: 1px; height: 100%; transform: translate(-50%,-50%); }
.radar-sweep-arm {
  position: absolute; top: 50%; left: 50%; width: 50%; height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  transform-origin: left center;
  animation: sweep 3s linear infinite;
  box-shadow: 0 0 8px var(--neon);
}
.radar-sweep-arm::after {
  content: ''; position: absolute; top: -60px; right: 0;
  width: 120px; height: 120px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 75%, rgba(0,255,157,0.08) 100%);
  transform: translate(0, 0);
  pointer-events: none;
}
.radar-blip {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 20px rgba(0,255,157,0.4);
  animation: blipPulse 3s ease-in-out infinite;
}
.rb1 { top: 30%; left: 60%; animation-delay: 0s; }
.rb2 { top: 65%; left: 35%; animation-delay: 1s; }
.rb3 { top: 20%; left: 30%; animation-delay: 2s; }
.rb4 { top: 70%; left: 68%; animation-delay: 0.5s; }
@keyframes blipPulse { 0%,100%{opacity:0.3;transform:scale(1);} 50%{opacity:1;transform:scale(1.5);} }
.radar-center {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--neon); top: 50%; left: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 16px var(--neon);
  animation: blipPulse 1.5s ease-in-out infinite;
}

.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.cg-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 8px; border: 1px solid;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.cg-item.done { background: rgba(0,255,157,0.05); border-color: rgba(0,255,157,0.2); color: var(--neon); }
.cg-item.warn { background: rgba(255,140,0,0.05); border-color: rgba(255,140,0,0.2); color: var(--amber); }
.cg-score { font-weight: 600; }

/* ── ABOUT ── */
.about-sec {
  background: var(--deep); padding: 120px 2.5rem;
  position: relative; overflow: hidden;
}
.about-sec::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.04), transparent);
  pointer-events: none;
}
.about-wrap {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.a-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--electric); margin-bottom: 16px;
}
.a-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 44px); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 20px;
}
.about-left > p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }
.a-pillars { display: flex; flex-direction: column; gap: 18px; }
.a-pill {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 20px; border-radius: var(--r);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.a-pill:hover { border-color: var(--electric); }
.ap-num {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 800;
  color: var(--electric); flex-shrink: 0; padding-top: 2px;
}
.a-pill div { display: flex; flex-direction: column; gap: 4px; }
.a-pill strong { font-size: 15px; font-weight: 600; color: #fff; }
.a-pill span { font-size: 13px; color: var(--muted); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.sg-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; text-align: center;
  background: rgba(255,255,255,0.02);
  transition: background 0.3s;
}
.sg-item:hover { background: rgba(0,200,255,0.04); }
.sg-num {
  font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; color: #fff;
  display: inline;
}
.sg-item sup { font-size: 22px; color: var(--electric); }
.sg-item span { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── CONTACT VISUAL ── */
.contact-visual {
  margin-bottom: 32px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(9,22,41,0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
/* ── CONTACT VISUAL HTML/CSS ── */
.contact-visual { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 460px; }

/* Carte principale */
.cv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 50px rgba(0,200,255,0.06), 0 20px 40px rgba(0,0,0,0.4);
  animation: floatFrame 7s ease-in-out infinite;
}
.cv-card-header {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.cv-shield-icon { width: 48px; height: 55px; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(0,200,255,0.4)); }
.cv-shield-icon svg { width: 100%; height: 100%; }
.cv-card-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.cv-online { display: flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--neon); margin-top: 4px; }
.cv-dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--neon);
  box-shadow: 0 0 8px var(--neon); animation: blink 1.5s infinite; flex-shrink: 0;
}

/* Lignes de contact */
.cv-rows { display: flex; flex-direction: column; }
.cv-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.04);
  color: inherit; text-decoration: none; transition: background 0.2s;
}
.cv-row:last-child { border-bottom: none; }
.cv-row:hover { background: rgba(0,200,255,0.04); }
.cv-row-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: color-mix(in srgb, var(--c,#00C8FF) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c,#00C8FF) 25%, transparent);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: var(--c, #00C8FF);
}
.cv-row-icon svg { width: 16px; height: 16px; }
.cv-row-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-row-label { font-size: 10px; font-weight: 600; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.cv-row-val { font-size: 13px; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-row-arrow { color: var(--muted); font-size: 14px; flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.cv-row:hover .cv-row-arrow { color: var(--electric); transform: translateX(3px); }

/* Badges pills */
.cv-badges { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 24px; background: rgba(0,0,0,0.2); }
.cv-badge-pill {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--c, #00C8FF);
  background: color-mix(in srgb, var(--c,#00C8FF) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--c,#00C8FF) 25%, transparent);
  border-radius: 999px; padding: 4px 12px;
}
.cv-dot-s { width: 5px; height: 5px; border-radius: 50%; animation: blink 2s infinite; flex-shrink: 0; }

/* Terminal mini */
.cv-terminal-mini {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.cv-tm-bar { background: rgba(0,0,0,0.3); padding: 8px 14px; display: flex; gap: 6px; border-bottom: 1px solid var(--border); }
.cv-tm-dot { width: 10px; height: 10px; border-radius: 50%; }
.cv-tm-line { padding: 6px 14px; color: rgba(226,238,255,0.5); line-height: 1.6; }
.cv-tm-blink span:last-child { animation: curBlink 1s infinite; }

/* ── CONTACT ── */
.contact-sec {
  background: var(--void); padding: 120px 2.5rem;
  position: relative;
}
.contact-sec::before {
  content: ''; position: absolute; bottom: 0; left: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.03), transparent);
  pointer-events: none;
}
.contact-wrap {
  position: relative; z-index: 1;
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start;
}
/* Mode simplifié sans formulaire */
.contact-wrap--simple {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.contact-wrap--simple .contact-left { display: contents; }

/* Boutons CTA contact */
.contact-ctas { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.contact-cta-btn {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--acc,#00C8FF) 20%, transparent);
  border-radius: var(--r); padding: 20px 24px;
  color: inherit; text-decoration: none;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.contact-cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--acc,#00C8FF) 6%, transparent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.contact-cta-btn:hover { border-color: var(--acc,#00C8FF); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.contact-cta-btn:hover::before { opacity: 1; }
.cta-btn-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: color-mix(in srgb, var(--acc,#00C8FF) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc,#00C8FF) 25%, transparent);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--acc, #00C8FF);
}
.cta-btn-icon svg { width: 20px; height: 20px; }
.cta-btn-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cta-btn-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--acc,#00C8FF); letter-spacing: 0.08em; text-transform: uppercase; }
.cta-btn-val { font-size: 15px; font-weight: 600; color: #fff; }
.cta-btn-arrow { font-size: 18px; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.contact-cta-btn:hover .cta-btn-arrow { color: var(--acc,#00C8FF); transform: translateX(4px); }
.c-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--electric); margin-bottom: 14px;
}
.c-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3vw, 44px); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 16px;
}
.contact-left > p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }
.c-info { display: flex; flex-direction: column; gap: 16px; }
.ci-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--muted); transition: color 0.2s;
}
.ci-item:hover { color: var(--electric); }
.ci-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,200,255,0.06); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--electric);
}
.ci-icon svg { width: 16px; height: 16px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-group { display: flex; flex-direction: column; gap: 8px; }
.cf-group label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; }
.cf-group input,
.cf-group select,
.cf-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--r-sm);
  padding: 14px 16px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.08);
}
.cf-group select { appearance: none; cursor: pointer; }
.cf-group select option { background: var(--deep); }
.cf-group textarea { resize: vertical; min-height: 120px; }
.cf-note { font-size: 12px; color: var(--muted); text-align: center; font-family: 'JetBrains Mono', monospace; }

/* Form feedback states */
.form-feedback {
  padding: 14px 18px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; text-align: center;
  animation: revealUp 0.4s ease;
}
.form-feedback.success {
  background: rgba(0,255,157,0.08);
  border: 1px solid rgba(0,255,157,0.3);
  color: var(--neon);
}
.form-feedback.error {
  background: rgba(255,51,102,0.08);
  border: 1px solid rgba(255,51,102,0.3);
  color: #FF3366;
}
/* Submit button loading state */
#formSubmitBtn.loading {
  opacity: 0.75; pointer-events: none;
}
#formSubmitBtn .btn-spinner { display: inline-flex; align-items: center; }
@keyframes spin { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

/* Input validation highlight */
.cf-group input:invalid:not(:placeholder-shown),
.cf-group textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255,51,102,0.4);
}
.cf-group input:valid,
.cf-group textarea:valid {
  border-color: rgba(0,255,157,0.25);
}

/* ── FAQ ── */
.faq-sec { background: var(--deep); padding: 80px 2.5rem; }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 48px; }
.section-badge-sm {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--electric); text-transform: uppercase; margin-bottom: 12px;
}
.faq-header h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; color: #fff;
}
.faq-grid { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(0,200,255,0.3); }
.faq-item summary {
  padding: 18px 22px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: #fff;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--electric); font-size: 20px; font-weight: 300;
  transition: transform 0.3s; flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.75;
  margin: 0;
}
@media (max-width: 768px) { .faq-sec { padding: 60px 1.25rem; } }

/* ── FOOTER ── */
.footer {
  background: #010608;
  border-top: 1px solid var(--border);
  padding: 40px 2.5rem;
}
.footer-wrap {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.f-brand { display: flex; flex-direction: column; gap: 10px; }
.f-brand .logo { display: flex; align-items: center; gap: 10px; }
.f-brand p { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
.f-links { display: flex; gap: 28px; flex-wrap: wrap; }
.f-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.f-links a:hover { color: var(--electric); }
.f-copy { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* ── SCROLL REVEAL ── */
.sr {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}
.sr.vis { opacity: 1; transform: translateY(0); }
.sr-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1); }
.sr-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1); }
.sr-left.vis, .sr-right.vis { opacity: 1; transform: translateX(0); }

/* ── MAGNETIC BUTTON EFFECT ── */
.mag-btn { transition: transform 0.3s cubic-bezier(.22,1,.36,1); }

/* ══════════════════════════════════════
   RESPONSIVE — mobile-first corrections
   1200 · 1080 · 768 · 480 · 360
══════════════════════════════════════ */

/* ── 1200px : large tablet / small laptop ── */
@media (max-width: 1200px) {
  .nav-list { gap: 1.4rem; }
  .hero-body { gap: 3rem; }
  .svc-wrap  { gap: 4rem; }
}

/* ── 1080px : tablet landscape ── */
@media (max-width: 1080px) {
  /* Hero */
  .hero-body  { grid-template-columns: 1fr; }
  .hero-right { width: 100%; max-width: 600px; }
  .hero-h1    { font-size: clamp(36px, 8vw, 60px); }
  .hero-wm    { display: none; } /* watermark too intrusive on smaller screens */

  /* Services: stack all to 1 col, visual always on top */
  .svc-section { min-height: auto; padding: 80px 2rem; }
  .svc-wrap    { grid-template-columns: 1fr; gap: 3rem; }
  .svc-visual  { order: -1; }           /* visual always first */
  .svc-num     { font-size: 52px; top: -6px; } /* smaller ghost number */

  /* Dev visual: contain absolute children */
  .dev-visual  { height: auto; min-height: 340px; }
  .code-editor { position: relative; right: auto; left: 0; width: 100%; }
  .phone-frame { position: absolute; right: 0; bottom: 0; }
  .tech-badges { right: 0; top: 0; }


  /* About / Contact */
  .about-wrap   { grid-template-columns: 1fr; gap: 50px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid   { max-width: 500px; }

  /* Scan terminal: don't overflow right */
  .scan-terminal { right: 0; min-width: auto; width: 100%; box-sizing: border-box; }
}

/* ── 768px : mobile landscape / tablet portrait ── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 1.25rem; }
  .nav-list { display: none; flex-direction: column; gap: 0; }
  .nav-list.open {
    display: flex;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(2,8,16,0.98); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem; z-index: 999;
    overflow-y: auto;
  }
  .nav-list.open .nl {
    padding: 15px 0; font-size: 20px; color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .burger  { display: flex; }
  .cta-btn { display: none; }

  /* Hero */
  .hero { padding: 88px 1.25rem 60px; }
  .hero-h1 { font-size: clamp(32px, 9vw, 48px); }
  .hero-p  { font-size: 15px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .btn-e, .btn-g { width: 100%; justify-content: center; }
  .hero-stats { gap: 14px; }
  .hstat b  { font-size: 22px; }
  .terminal-frame { font-size: 10px; }
  .tf-body  { padding: 12px; }

  /* Services nav */
  .svc-nav { top: 72px; padding: 0; }
  .svc-nav-inner { padding: 0 1.25rem; gap: 0; }
  .sn-pill { font-size: 10px; padding: 13px 14px; }

  /* Service sections */
  .svc-section { padding: 64px 1.25rem; }
  .svc-wrap    { gap: 2.5rem; }
  .svc-h2      { font-size: clamp(24px, 6vw, 36px); }
  .svc-p       { font-size: 14px; }

  /* Pentest: scan terminal inline */
  .hex-scan        { max-width: 100%; }
  .scan-terminal   {
    position: relative; right: auto; bottom: auto;
    margin-top: 16px; width: 100%;
  }

  /* Dev: simplify layout */
  .dev-visual      { height: 260px; overflow: hidden; }
  .code-editor     { right: 0; font-size: 10px; }
  .ce-body         { padding: 10px; }
  .phone-frame     { display: none; } /* hidden — too cramped */
  .tech-badges     { position: relative; flex-direction: row; flex-wrap: wrap; top: auto; right: auto; margin-top: 12px; gap: 6px; }


  /* n8n */
  .workflow-svg    { max-width: 100%; height: auto; }
  .n8n-badge       { bottom: 4px; right: 4px; font-size: 10px; padding: 5px 10px; }

  /* Audit */
  .radar-screen    { width: 200px; height: 200px; }
  .compliance-grid { grid-template-columns: 1fr 1fr; }
  .cg-item         { font-size: 10px; padding: 8px 10px; }

  /* About */
  .about-sec { padding: 72px 1.25rem; }
  .a-h2 { font-size: clamp(22px, 6vw, 36px); }
  .stats-grid { max-width: 100%; }
  .sg-num { font-size: 36px; }
  .about-full-logo { max-width: 260px; }

  /* Contact */
  .contact-sec  { padding: 72px 1.25rem; }
  .contact-wrap { gap: 36px; }
  .c-h2 { font-size: clamp(22px, 6vw, 36px); }
  .cf-row { grid-template-columns: 1fr; }
  .contact-visual { max-width: 100%; }

  /* Footer */
  .footer { padding: 32px 1.25rem; }
  .footer-wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .f-links { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 20px; }
  .f-copy  { font-size: 11px; }
}

/* ── 480px : mobile portrait ── */
@media (max-width: 480px) {
  /* Hero */
  .hero-h1 { font-size: clamp(28px, 10vw, 40px); line-height: 1.1; }
  .tag { font-size: 10px; padding: 6px 12px; }
  .hstat-div { display: none; }        /* remove dividers, just stack */
  .hero-stats { gap: 18px; }

  /* Terminal */
  .tf-cards { grid-template-columns: 1fr 1fr; }
  .tfc-c    { display: none; }
  .tfc      { padding: 10px 12px; }
  .tfc-n    { font-size: 16px; }

  /* Service sections */
  .svc-section { padding: 52px 1rem; }
  .svc-num { display: none; } /* hide ghost number at very small sizes */

  /* Dev visual: simpler at 480 */
  .dev-visual  { height: auto; }
  .code-editor { position: relative; right: auto; }
  .ce-nums, .ce-status { display: none; } /* simplify */

  /* Audit */
  .radar-screen    { width: 160px; height: 160px; }
  .compliance-grid { grid-template-columns: 1fr; }

  /* About */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .sg-item { padding: 28px 16px; }
  .sg-num  { font-size: 32px; }
  .a-pill  { padding: 12px 14px; }

  /* Contact visual: smaller on tiny phones */
  .contact-visual { display: none; } /* on 480, hide the SVG illustration */

  /* Footer */
  .f-links { grid-template-columns: repeat(3, auto); gap: 10px 16px; }
}

/* ── 360px : small phones ── */
@media (max-width: 360px) {
  .hero   { padding: 80px 1rem 50px; }
  .svc-section, .about-sec, .contact-sec { padding: 48px 1rem; }
  .hero-h1 { font-size: 26px; }
  .svc-h2, .a-h2, .c-h2 { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .f-links    { grid-template-columns: repeat(2, auto); }
  .nav-list.open .nl { font-size: 17px; }
}
