/* =====================================================
   CYBERFOLIO 2.0 — STYLES SPÉCIFIQUES À "HORS-SÉRIE"
   (n'impacte pas style.css global ; complète les classes
   .glass, .reveal, .btn-glow, .tech-tag déjà définies)
   Identité dédiée : blanc-titane / bleu-glacier, univers
   "Whitepaper & Security Research".
   ===================================================== */

/* ---------------------------------------------------
   TEXTE DÉGRADÉ GLACIER (titre du hero)
--------------------------------------------------- */
.text-gradient-ice {
  background: linear-gradient(100deg, #E2E8F0 5%, #93C5FD 50%, #CBD5E1 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------
   BADGE DU HERO — pulsation argent/glacier
--------------------------------------------------- */
.badge-pulse span:first-child {
  animation: badge-pulse-glow 2.6s ease-in-out infinite;
}
@keyframes badge-pulse-glow {
  0%, 100% { box-shadow: 0 0 10px 2px rgba(226, 232, 240, 0.7); }
  50%      { box-shadow: 0 0 4px 1px rgba(226, 232, 240, 0.3); }
}

/* ---------------------------------------------------
   INTRODUCTION
--------------------------------------------------- */
.intro-block {
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}
.intro-block p {
  line-height: 1.9;
}

/* Encart "La philosophie d'un espace libre" : bordure gauche argentée */
.philosophy-note {
  background: rgba(226, 232, 240, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.15);
  border-left: 3px solid #CBD5E1;
}
.philosophy-note-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E2E8F0;
}

/* Citation de focus : grande citation centrée, mono, italique, lueur glacier */
.focus-quote {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #F1F5F9;
  text-align: center;
  max-width: 44rem;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
  text-shadow: 0 0 22px rgba(147, 197, 253, 0.25);
}
.focus-quote::before,
.focus-quote::after {
  color: #93C5FD;
  opacity: 0.55;
  font-size: 1.4rem;
  vertical-align: -0.1em;
}
.focus-quote::before { content: "\201C"; margin-right: 0.15em; }
.focus-quote::after  { content: "\201D"; margin-left: 0.15em; }

/* ---------------------------------------------------
   DOUBLE BLOC (Émergence spontanée / Liberté du format)
--------------------------------------------------- */
.duo-block {
  position: relative;
  background: rgba(17, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.duo-block:hover {
  transform: translateY(-5px);
  background: rgba(22, 29, 46, 0.6);
  border-color: rgba(147, 197, 253, 0.3);
}

/* ---------------------------------------------------
   RESEARCH COVER — grande carte de focus contextuel
--------------------------------------------------- */
.research-cover {
  position: relative;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.15);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 60px rgba(147, 197, 253, 0.08), 0 0 120px rgba(226, 232, 240, 0.05);
  overflow: hidden;
}
.research-cover::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -12%;
  width: 55%;
  height: 190%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.1), transparent 70%);
  pointer-events: none;
}

/* ---------------------------------------------------
   HUB DES ANALYSES — connecteur visuel entre les cartes
   Repris des pages mères des autres silos (devsecops.css /
   isr.css / pentest.css / osint.css / reverse.css /
   crypto_analyse.css / exp_pro.css / publications_mitre.css /
   publications_certfr.css / publications_etudes.css) : une
   ligne horizontale discrète, visible à partir du breakpoint
   lg. Les 3 analyses tiennent sur une seule rangée en
   lg:grid-cols-3, le connecteur les relie donc toutes.
--------------------------------------------------- */
.project-hub {
  position: relative;
}
@media (min-width: 1024px) {
  .project-hub::before {
    content: "";
    position: absolute;
    top: 2.75rem;
    left: 16.5%;
    right: 16.5%;
    height: 1px;
    background: linear-gradient(90deg, #E2E8F0, #93C5FD 50%, #CBD5E1);
    opacity: 0.25;
    z-index: 0;
  }
}

/* ---------------------------------------------------
   CARTES "PAPER" — publications de recherche (bibliothèque)
--------------------------------------------------- */
.paper-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid #93C5FD;
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.paper-card:hover {
  transform: translateY(-6px);
  background: rgba(22, 29, 46, 0.6);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 0 36px rgba(147, 197, 253, 0.14);
}

/* Spotlight qui suit le curseur, repris des pages mères des
   autres silos. Ici toutes les cartes partagent la même teinte
   glacier (pas de variable --project-c par carte), donc la
   couleur est fixée directement. Variables --mx / --my mises
   à jour en JS dans publications_hors_serie.js au survol de
   chaque carte. */
.paper-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(147, 197, 253, 0.14),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.paper-card:hover::after {
  opacity: 1;
}

.paper-tag {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(226, 232, 240, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.2);
  color: #E2E8F0;
}

.reading-time {
  font-family: 'JetBrains Mono', monospace;
  color: #9CA3AF;
}

@media (prefers-reduced-motion: reduce) {
  .badge-pulse span:first-child {
    animation: none;
  }
}
