/* ============================================
   ALGORIS — cybersecurite.css
   Styles exclusifs à la page cybersécurité
   ============================================ */


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.cyber-hero {
  position: relative;
  min-height: var(--vh-stable, 100svh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 40px;
  background: var(--bg-primary);
}

#shieldCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ─── Sweep lumineux ─── */

.cyber-hero__sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.cyber-hero__sweep::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(34,197,94,0.02) 45%,
    rgba(34,197,94,0.05) 50%,
    rgba(34,197,94,0.02) 55%,
    transparent 100%
  );
  animation: cyberSweep 10s ease-in-out infinite;
}

@keyframes cyberSweep {
  0%   { left: -60%; }
  100% { left: 160%; }
}

/* ─── Glows ─── */

.cyber-hero__glow {
  position: absolute;
  bottom: -25%; left: -15%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 60%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.cyber-hero__glow2 {
  position: absolute;
  top: -20%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(34,197,94,0.04) 0%, transparent 60%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 1;
}

/* ─── Scan line ─── */

.cyber-hero__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.cyber-hero__scan::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(34,197,94,0.3) 50%, transparent 90%);
  box-shadow: 0 0 20px rgba(34,197,94,0.2);
  animation: scanLine 6s ease-in-out infinite;
}

@keyframes scanLine {
  0%   { top: -2%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}

/* ─── Layout split : contenu gauche + shield droite ─── */

.cyber-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: var(--space-xl) var(--space-3xl);
}

/* Desktop: top-left, shield-right spanning 2 rows, bottom-left */
.cyber-hero__top {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
}

.cyber-hero__shield-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  perspective: 1200px;
  overflow: visible;
  animation: cyberFadeUp 1.2s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

.cyber-hero__bottom {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
}

/* ─── Shield canvas dédié ─── */

/* Floating */
.cyber-hero__shield-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
}

/* Face avant */
.cyber-hero__shield-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.3s ease;
}

.cyber-hero__shield-wrap:hover .cyber-hero__shield-front {
  filter: brightness(1.15);
}

#shieldIcon {
  width: 100%;
  height: 100%;
}

/* Face arrière — logo dans le bouclier */
.cyber-hero__shield-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* Canvas dessiné en JS pour le bouclier arrière */
.cyber-hero__shield-back-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* Glow behind */
.cyber-hero__shield-glow {
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 60%);
  filter: blur(50px);
  animation: shieldGlowPulse 4s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.cyber-hero__shield-wrap:hover .cyber-hero__shield-glow {
  opacity: 1.3;
  transform: scale(1.1);
}

@keyframes shieldGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* ─── Contenu ─── */

.cyber-hero__service {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  animation: cyberFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.05s both;
}

.cyber-hero__service-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: cyberPulse 2.4s ease-in-out infinite;
}

.cyber-hero__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--text-primary);
  cursor: default;
  user-select: none;
  animation: cyberFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.12s both;
}

.cyber-hero__letter {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), color 0.3s ease;
  will-change: transform;
}

.cyber-hero__letter:hover {
  transform: translateY(-8px) scale(1.05);
  color: var(--accent);
}

/* ─── Status bar sous le titre ─── */

.cyber-hero__status-bar {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  animation: cyberFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}

.cyber-hero__status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cyber-hero__status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cyber-hero__status-dot--green  { background: #22C55E; animation: cyberPulse 1.8s ease-in-out infinite; }
.cyber-hero__status-dot--blue   { background: var(--accent); animation: cyberPulse 2s ease-in-out infinite 0.3s; }
.cyber-hero__status-dot--yellow { background: #FBBF24; animation: cyberPulse 2.2s ease-in-out infinite 0.6s; }

.cyber-hero__status-item strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ─── Chips version badges ─── */

.cyber-hero__chips {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: cyberFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.35s both;
}

.cyber-hero__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: default;
  user-select: none;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.cyber-hero__chip:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(59,130,246,0.1);
}

.cyber-hero__chip-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

.cyber-hero__chip-sep { display: none; }

.cyber-hero__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 520px;
  animation: cyberFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.42s both;
}

.cyber-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: cyberFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.55s both;
}

.cyber-hero__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cyber-hero__scroll-line {
  width: 28px; height: 1px;
  background: var(--text-muted);
  opacity: 0.4;
}

[data-theme="light"] .cyber-hero__status-bar {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.06);
}

[data-theme="light"] .cyber-hero__chip {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.07);
  color: rgba(0,0,0,0.5);
}

/* ─── Keyframes ─── */

@keyframes cyberPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

@keyframes cyberFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Hero transition ─── */

.cyber-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 4;
}

/* ─── Light theme ─── */

[data-theme="light"] .cyber-hero__chip {
  background: rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.18);
}

/* ─── Responsive ─── */

@media (max-width: 1100px) {
  .cyber-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
    max-width: 700px;
  }

  /* Stack: top (title) → shield → bottom (status, chips, desc, actions) */
  .cyber-hero__top {
    grid-column: 1;
    grid-row: 1;
    align-items: center;
  }

  .cyber-hero__shield-wrap {
    grid-column: 1;
    grid-row: 2;
    width: 260px;
    height: 260px;
    margin: 0 auto;
    perspective: 800px;
  }

  .cyber-hero__bottom {
    grid-column: 1;
    grid-row: 3;
    align-items: center;
  }

  .cyber-hero__status-bar { justify-content: center; }
  .cyber-hero__chips { justify-content: center; }
  .cyber-hero__desc { text-align: center; }
  .cyber-hero__actions { justify-content: center; }
}

@media (max-width: 700px) {
  .cyber-hero { padding-top: 80px; }
  .cyber-hero__inner { padding: 0 var(--space-lg); gap: var(--space-lg); }
  .cyber-hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  .cyber-hero__shield-wrap { width: 220px; height: 220px; }
  .cyber-hero__status-bar { flex-wrap: wrap; justify-content: center; gap: var(--space-md); }
}

@media (max-width: 400px) {
  .cyber-hero { padding-top: 64px; }
  .cyber-hero__inner { padding: 0 var(--space-md); }
  .cyber-hero__title { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .cyber-hero__shield-wrap { width: 180px; height: 180px; }
  .cyber-hero__chip { font-size: 0.6rem; padding: 6px 12px; }
}


/* ═══════════════════════════════════════════
   SECTIONS DÉTAILLÉES
   ═══════════════════════════════════════════ */

.cyber-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.cyber-section__grid--reverse .cyber-section__visual { order: -1; }

.cyber-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.cyber-section__label-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  animation: cyberPulse 2.4s ease-in-out infinite;
}

.cyber-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.cyber-section__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
}

.cyber-section__visual { position: relative; }

/* ─── Feature cards ─── */

.cyber-section__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.cyber-section__feature {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cyber-section__feature:hover {
  border-color: var(--border-accent);
  transform: translateX(5px);
  box-shadow: -3px 0 20px var(--accent-glow);
}

.cyber-section__feature--glow:hover {
  background: rgba(59,130,246,0.03);
  box-shadow: -3px 0 20px var(--accent-glow), 0 0 30px rgba(59,130,246,0.04);
}

.cyber-section__feature-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.8;
  padding: 7px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  margin-top: 1px;
  transition: box-shadow 0.3s, opacity 0.3s;
}

.cyber-section__feature:hover .cyber-section__feature-icon {
  opacity: 1;
  box-shadow: 0 0 16px rgba(59,130,246,0.3);
}

.cyber-section__feature-icon svg { width: 100%; height: 100%; }

.cyber-section__feature div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cyber-section__feature strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.cyber-section__feature span {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── Protection section ─── */

.cyber-section--protection {
  position: relative;
  overflow: hidden;
}


/* ─── Responsive sections ─── */

@media (max-width: 960px) {
  .cyber-section__grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .cyber-section__grid--reverse .cyber-section__visual { order: 0; }
}

@media (max-width: 700px) {
  .cyber-section__feature { padding: var(--space-md) var(--space-lg); }
}


/* ═══════════════════════════════════════════
   TERMINAL DE SCAN — section 01
   ═══════════════════════════════════════════ */

.cyber-terminal {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.08),
    0 32px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: cyberFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

.cyber-terminal__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cyber-terminal__dots { display: flex; gap: 5px; flex-shrink: 0; }
.cyber-terminal__dots span { width: 8px; height: 8px; border-radius: 50%; }
.cyber-terminal__dots span:nth-child(1) { background: rgba(255,95,87,0.7); }
.cyber-terminal__dots span:nth-child(2) { background: rgba(254,188,46,0.7); }
.cyber-terminal__dots span:nth-child(3) { background: rgba(40,200,64,0.7); }

.cyber-terminal__title {
  flex: 1;
  text-align: center;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

.cyber-terminal__status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  color: #86efac;
  flex-shrink: 0;
}

.cyber-terminal__status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22C55E;
  animation: cyberPulse 1.8s ease-in-out infinite;
}

.cyber-terminal__body {
  padding: 16px 18px;
  min-height: 280px;
  max-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  line-height: 1.65;
}

.cyber-terminal__line {
  opacity: 0;
  animation: terminalLineIn 0.3s ease forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cyber-terminal__line--prompt { color: #22C55E; }
.cyber-terminal__line--info   { color: rgba(59,130,246,0.7); }
.cyber-terminal__line--ok     { color: #22C55E; }
.cyber-terminal__line--warn   { color: #FBBF24; }
.cyber-terminal__line--error  { color: #EF4444; }
.cyber-terminal__line--dim    { color: rgba(255,255,255,0.25); }

@keyframes terminalLineIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.cyber-terminal__progress {
  height: 2px;
  background: rgba(255,255,255,0.05);
}

.cyber-terminal__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22C55E, var(--accent));
  border-radius: 1px;
  transition: width 0.3s ease;
}

/* CRT scanlines */
.cyber-terminal__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  border-radius: inherit;
}

/* Score card — fin de scan */
.cyber-terminal__score {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 14px 18px;
  border-top: 1px solid rgba(34,197,94,0.15);
  background: rgba(34,197,94,0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.cyber-terminal__score.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cyber-terminal__score-ring {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
}

.cyber-terminal__score-ring svg { width: 100%; height: 100%; }

.cyber-terminal__score-ring circle {
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16,1,0.3,1);
}

.cyber-terminal__score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #22C55E;
}

.cyber-terminal__score-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cyber-terminal__score-info strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #22C55E;
}

.cyber-terminal__score-info span {
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

/* Light theme terminal */
[data-theme="light"] .cyber-terminal {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.06), 0 32px 80px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95);
}

[data-theme="light"] .cyber-terminal__body { background: rgba(0,0,0,0.03); }
[data-theme="light"] .cyber-terminal__line--dim { color: rgba(0,0,0,0.3); }
[data-theme="light"] .cyber-terminal__header { border-bottom-color: rgba(0,0,0,0.06); }


/* ═══════════════════════════════════════════
   HEX GRID BACKGROUND — section 02
   ═══════════════════════════════════════════ */

.cyber-hexgrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

#protection .container { position: relative; z-index: 1; }


/* ═══════════════════════════════════════════
   SOC DASHBOARD — section 02
   ═══════════════════════════════════════════ */

.cyber-soc {
  position: relative;
  max-width: 920px;
  margin: 0 auto var(--space-3xl);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.042);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.10),
    0 32px 80px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: visible;
}

.cyber-soc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,0.07) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.cyber-soc__header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 11px var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  z-index: 2;
}

.cyber-soc__dots { display: flex; gap: 6px; flex-shrink: 0; }
.cyber-soc__dots span { width: 9px; height: 9px; border-radius: 50%; }
.cyber-soc__dots span:nth-child(1) { background: rgba(255,95,87,0.6); }
.cyber-soc__dots span:nth-child(2) { background: rgba(254,188,46,0.6); }
.cyber-soc__dots span:nth-child(3) { background: rgba(40,200,64,0.6); }

.cyber-soc__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.cyber-soc__logo {
  height: 38px;
  width: auto;
  opacity: 0.65;
  filter: brightness(0) invert(1);
}

.cyber-soc__logo--light { display: none; }
[data-theme="light"] .cyber-soc__logo--dark  { display: none; }
[data-theme="light"] .cyber-soc__logo--light { display: block; filter: none; }

.cyber-soc__title {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.32);
}

[data-theme="light"] .cyber-soc__title { color: rgba(0,0,0,0.28); }

.cyber-soc__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: #86efac;
  flex-shrink: 0;
}

.cyber-soc__badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22C55E;
  animation: cyberPulse 1.8s ease-in-out infinite;
}

/* Body */
.cyber-soc__body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Metrics */
.cyber-soc__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.cyber-soc__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  position: relative;
}

.cyber-soc__metric--accent {
  border-color: rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.05);
}

.cyber-soc__metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.cyber-soc__metric--accent .cyber-soc__metric-val { color: #22C55E; }

.cyber-soc__metric-suffix {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
}

.cyber-soc__metric-label {
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Info tooltip positionnée en absolute pour ne pas affecter le layout */
.cyber-soc__metric .cyber-info {
  position: absolute;
  bottom: 8px;
  right: 8px;
  margin: 0;
  width: 20px; height: 20px;
  font-size: 0.5rem;
}

/* Le dernier metric : tooltip aligné à droite pour ne pas sortir de l'écran */
.cyber-soc__metric:last-child .cyber-info::after {
  left: auto;
  right: 0;
  transform: translateY(4px);
}

.cyber-soc__metric:last-child .cyber-info:hover::after {
  transform: translateY(0);
}

/* Threat feed */
.cyber-soc__feed {
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.cyber-soc__feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.25);
}

.cyber-soc__feed-live {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #22C55E;
}

.cyber-soc__feed-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22C55E;
  animation: cyberPulse 1.5s ease-in-out infinite;
}

.cyber-soc__feed-body {
  padding: 10px 14px;
  min-height: 120px;
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.6;
}

.cyber-soc__feed-line {
  display: flex;
  gap: 8px;
  opacity: 0;
  animation: terminalLineIn 0.3s ease forwards;
}

.cyber-soc__feed-time { color: rgba(255,255,255,0.2); flex-shrink: 0; }
.cyber-soc__feed-tag  { font-weight: 700; flex-shrink: 0; }
.cyber-soc__feed-tag--blocked { color: #22C55E; }
.cyber-soc__feed-tag--alert   { color: #FBBF24; }
.cyber-soc__feed-tag--info    { color: rgba(59,130,246,0.7); }
.cyber-soc__feed-msg  { color: rgba(255,255,255,0.45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Light theme SOC */
[data-theme="light"] .cyber-soc {
  background: rgba(255,255,255,0.65);
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.08), 0 32px 80px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

[data-theme="light"] .cyber-soc__header { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-soc__badge { color: #15803d; }
[data-theme="light"] .cyber-soc__metric { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-soc__feed { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-soc__feed-header { color: rgba(0,0,0,0.3); border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-soc__feed-msg { color: rgba(0,0,0,0.45); }
[data-theme="light"] .cyber-soc__feed-time { color: rgba(0,0,0,0.2); }

.cyber-soc__feed-body::-webkit-scrollbar { width: 0; }
.cyber-soc__feed-body { scrollbar-width: none; }

@media (max-width: 700px) {
  .cyber-soc__metrics { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════
   PROTECTION LIST — section 02
   ═══════════════════════════════════════════ */

.cyber-protection-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.cyber-prot__row {
  display: grid;
  grid-template-columns: 40px 1fr 1.4fr;
  align-items: baseline;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.cyber-prot__row:hover { background: rgba(59,130,246,0.03); }

.cyber-prot__num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  opacity: 0.7;
}

.cyber-prot__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cyber-prot__text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .cyber-prot__row { grid-template-columns: 32px 1fr; }
  .cyber-prot__text { grid-column: 2; }
}


/* ═══════════════════════════════════════════
   STATS BAND — cyber version
   ═══════════════════════════════════════════ */

.cyber-stats-band {
  padding: var(--space-3xl) 0;
  position: relative;
}

.cyber-stats-band .stats-band__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.cyber-stats-band .stats-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
}

.cyber-stats-band .stats-band__val {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.cyber-stats-band .stats-band__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
}

.cyber-stats-band .stats-band__label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cyber-stats-band .stats-band__sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  /* 2×2 grid instead of random wrap — cleaner rhythm */
  .cyber-stats-band .stats-band__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .cyber-stats-band .stats-band__sep  { display: none; }
  .cyber-stats-band .stats-band__item { min-width: auto; }
}


/* ═══════════════════════════════════════════
   CHECKLIST CONFORMITÉ — section 03
   ═══════════════════════════════════════════ */

.cyber-checklist {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.08),
    0 32px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.cyber-checklist__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cyber-checklist__dots { display: flex; gap: 5px; flex-shrink: 0; }
.cyber-checklist__dots span { width: 8px; height: 8px; border-radius: 50%; }
.cyber-checklist__dots span:nth-child(1) { background: rgba(255,95,87,0.7); }
.cyber-checklist__dots span:nth-child(2) { background: rgba(254,188,46,0.7); }
.cyber-checklist__dots span:nth-child(3) { background: rgba(40,200,64,0.7); }

.cyber-checklist__title {
  flex: 1;
  text-align: center;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
}

.cyber-checklist__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cyber-checklist__item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s, background 0.3s;
}

.cyber-checklist__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.cyber-checklist__item:hover {
  border-color: rgba(59,130,246,0.2);
  background: rgba(59,130,246,0.03);
}

.cyber-checklist__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1.5px solid rgba(34,197,94,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #22C55E;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s ease 0.3s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.3s;
}

.cyber-checklist__item.is-visible .cyber-checklist__check {
  opacity: 1;
  transform: scale(1);
}

.cyber-checklist__check svg { width: 12px; height: 12px; }

.cyber-checklist__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cyber-checklist__info strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cyber-checklist__info span {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.cyber-checklist__badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.44rem;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.cyber-checklist__badge--ok {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22C55E;
}

.cyber-checklist__badge--progress {
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.25);
  color: #FBBF24;
}

/* Light theme checklist */
[data-theme="light"] .cyber-checklist {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 32px 80px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
}

[data-theme="light"] .cyber-checklist__header { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-checklist__title { color: rgba(0,0,0,0.25); }
[data-theme="light"] .cyber-checklist__item { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.05); }

@media (max-width: 700px) {
  .cyber-checklist__badge { display: none; }
}


/* ═══════════════════════════════════════════
   INFO TOOLTIPS
   ═══════════════════════════════════════════ */

.cyber-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--accent);
  cursor: help;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
  margin-top: 4px;
}

.cyber-info--inline {
  width: 18px; height: 18px;
  font-size: 0.48rem;
  margin-top: 0;
  vertical-align: middle;
  margin-left: 5px;
}

.cyber-info:hover {
  background: rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.4);
}

.cyber-info::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 220px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(17,17,22,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  letter-spacing: normal;
  text-transform: none;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  z-index: 50;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.cyber-info:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[data-theme="light"] .cyber-info::after {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.7);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}


/* ═══════════════════════════════════════════
   BAR CHART — SOC section 02
   ═══════════════════════════════════════════ */

.cyber-soc__chart {
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.cyber-soc__chart-header {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.25);
}

.cyber-soc__chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 16px 14px 8px;
  height: 120px;
  gap: 6px;
}

.cyber-soc__bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.cyber-soc__bar-col > span {
  font-size: 0.44rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
}

.cyber-soc__bar {
  width: 100%;
  max-width: 28px;
  height: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(59,130,246,0.5), rgba(59,130,246,0.2));
  transition: height 0.8s cubic-bezier(0.16,1,0.3,1);
}

[data-theme="light"] .cyber-soc__chart { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-soc__chart-header { color: rgba(0,0,0,0.25); border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-soc__bar-col > span { color: rgba(0,0,0,0.25); }


/* ═══════════════════════════════════════════
   CHECKLIST PROGRESS BAR
   ═══════════════════════════════════════════ */

.cyber-checklist__progress-wrap {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cyber-checklist__progress-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.cyber-checklist__progress-track {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.cyber-checklist__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, #22C55E, var(--accent));
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}

[data-theme="light"] .cyber-checklist__progress-wrap { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .cyber-checklist__progress-info { color: rgba(0,0,0,0.3); }
[data-theme="light"] .cyber-checklist__progress-track { background: rgba(0,0,0,0.06); }


/* ═══════════════════════════════════════════
   BADGE PCI-DSS PULSE
   ═══════════════════════════════════════════ */

.cyber-checklist__badge--progress {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.2); }
  50%      { box-shadow: 0 0 12px 2px rgba(251,191,36,0.15); }
}


/* ═══════════════════════════════════════════
   FLOATING THREAT COUNTER
   ═══════════════════════════════════════════ */

.cyber-float-counter {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(17,17,22,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}

.cyber-float-counter.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cyber-float-counter__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: cyberPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.cyber-float-counter__val {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.7rem;
}

[data-theme="light"] .cyber-float-counter {
  background: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.07);
  color: rgba(0,0,0,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}


/* ═══════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════ */

.cyber-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.2) 30%, rgba(59,130,246,0.2) 70%, transparent);
  pointer-events: none;
}
