/* =============================================================================
   Hyl's Studio Blog — CSS
   Couleurs, polices et animations EXACTES de hylsstudio.fr
   ============================================================================= */

/* --- Variables (copiées de style.css original) ------------------------------ */
:root {
  --ink:         #0B0E17;
  --ink-2:       #161B2C;
  --ink-3:       #1E2640;
  --blue:        #1B6FFF;
  --blue-2:      #0051D4;
  --glow:        rgba(27, 111, 255, 0.22);
  --cream:       #F4F1EB;
  --cream-2:     #E8E3D8;
  --muted:       rgba(11, 14, 23, 0.52);
  --border:      rgba(11, 14, 23, 0.09);
  --green:       #00B96B;
  --red:         #E8341E;

  /* Couleurs du thème blog (dark) */
  --bg:          #07090F;
  --surface:     #0D1020;
  --surface-2:   #141828;
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-dark2:rgba(255, 255, 255, 0.12);
  --text:        #EEF2FF;
  --text-muted:  rgba(238, 242, 255, 0.65);
  --text-subtle: rgba(238, 242, 255, 0.35);

  /* Accent = blue de hylsstudio.fr */
  --accent:      #1B6FFF;
  --accent-hover:#0051D4;
  --accent-glow: rgba(27, 111, 255, 0.15);

  /* Layout */
  --content-width: 720px;
  --wide-width:    1080px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     20px;

  /* Typography */
  --font-heading: 'Instrument Serif', serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   2rem;
  --text-4xl:   clamp(2rem, 4vw, 2.75rem);
  --text-5xl:   clamp(2.2rem, 5vw, 3.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --t:    0.2s ease;
  --t-md: 0.3s ease;
}

/* --- Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

/* --- Typographie ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }
strong { font-weight: 700; color: var(--text); }

/* --- Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--wide-width); margin-inline: auto; padding-inline: var(--space-md); }
.container--content { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--space-md); }

/* --- Boutons (pill, identiques hylsstudio.fr) ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow), 0 1px 0 rgba(255,255,255,.15) inset;
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,111,255,.45);
}
.btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn--outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-dark);
}
.btn--ghost:hover { border-color: var(--border-dark2); color: var(--text); }

/* =============================================================================
   NAV — TRANSPARENT → SOLID AU SCROLL (identique hylsstudio.fr)
   ============================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  background: transparent;
}
/* Classe .scrolled ajoutée par JS quand scrollY > 60 */
.site-header.scrolled {
  background: rgba(11, 14, 23, 0.95);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--wide-width);
  margin-inline: auto;
  gap: var(--space-lg);
}

/* Logo — identique hylsstudio.fr */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--glow);
  flex-shrink: 0;
}
.site-logo__mark svg { width: 18px; height: 18px; }
.site-logo__name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  transition: color 0.3s;
  white-space: nowrap;
}
.site-logo__name span { color: var(--blue); }

/* Nav links — uppercase, identique hylsstudio.fr */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.site-nav a:hover,
.site-nav a.current-menu-item { color: #fff; }

.site-header__cta { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 10px;
  margin-right: -10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-mobile-drawer.open { opacity: 1; pointer-events: auto; }
.nav-mobile-drawer a {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
}
.nav-mobile-drawer a:hover { color: var(--accent); }

/* Barre de progression lecture */
#pb {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--blue);
  z-index: 9999;
  width: 0%;
  transition: width 0.08s;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-md), transform var(--t-md);
  pointer-events: none;
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }

/* =============================================================================
   GRID BACKGROUND + HERO BG — COPIÉS EXACTEMENT DE hylsstudio.fr
   ============================================================================= */

/* Conteneur du fond hero (positionné en absolu dans la section) */
.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Radial glow bleu — identique .hero-bg */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(27, 111, 255, .18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(27, 111, 255, .07) 0%, transparent 60%);
}

/* Grille CSS — identique .hero-grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

/* =============================================================================
   ANIMATION ORBITALE — CSS EXACT DE hylsstudio.fr
   ============================================================================= */

/* Positionné en absolu à droite dans la section hero */
.hero-visual {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  z-index: 1;
  pointer-events: none;
  max-width: 48vw;
}

/* Grand cercle extérieur — flotte verticalement */
.orb-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(27, 111, 255, 0.2), rgba(0, 40, 120, 0.05) 60%, transparent 80%);
  border: 1px solid rgba(27, 111, 255, 0.2);
  animation: orbFloat 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Cercle intermédiaire */
.orb-inner {
  width: 68%;
  height: 68%;
  border-radius: 50%;
  border: 1px solid rgba(27, 111, 255, 0.3);
  background: radial-gradient(circle at 40% 30%, rgba(27, 111, 255, 0.3), rgba(0, 20, 80, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Noyau central — sphère bleue brillante */
.orb-core {
  width: 45%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4DA3FF, var(--blue-2));
  box-shadow: 0 0 60px rgba(27, 111, 255, 0.6), 0 0 120px rgba(27, 111, 255, 0.2);
}

/* Anneaux orbitaux */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(27, 111, 255, 0.2);
}
.orbit-1 {
  width: 120%;
  height: 120%;
  animation: spinOrbit 12s linear infinite;
}
.orbit-2 {
  width: 145%;
  height: 145%;
  animation: spinOrbit 20s linear infinite reverse;
}

/* Satellite (dot) sur chaque anneau */
.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #4DA3FF;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--blue);
}

/* Keyframes — IDENTIQUES à hylsstudio.fr */
@keyframes spinOrbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes orbFloat {
  0%,  100% { transform: translateY(0); }
  50%        { transform: translateY(-20px); }
}

/* =============================================================================
   SECTION HERO BLOG — HOMEPAGE
   ============================================================================= */
.blog-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--bg);
  color: var(--text);
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: rgba(27, 111, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.4);
  border-radius: 100px;
  margin-bottom: 1.6rem;
}
.hero-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: ping 2s infinite;
}
.hero-badge span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4DA3FF;
}
@keyframes ping {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.blog-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.75rem;
}
.blog-hero__title em { font-style: italic; color: var(--blue); }

.blog-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.blog-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Filtres catégories */
.cat-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  justify-content: center;
}
.cat-filter__item {
  padding: 0.35rem 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all var(--t);
  background: transparent;
}
.cat-filter__item:hover,
.cat-filter__item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* =============================================================================
   ENTÊTE ARTICLES — SECTION AVEC GRID + ORB (style mentions-legales.php)
   ============================================================================= */
.post-hero-band {
  min-height: 50vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding-top: 180px;
  padding-bottom: 50px;
  background: var(--bg);
  color: var(--text);
}

/* Texte à gauche — zone de contenu */
.post-hero-band__left {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

/* Fil d'Ariane */
.post-hero-band__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  color: var(--text-subtle);
  margin-bottom: var(--space-lg);
}
.post-hero-band__breadcrumb a { color: var(--text-subtle); transition: color var(--t); }
.post-hero-band__breadcrumb a:hover { color: var(--accent); }
.post-hero-band__breadcrumb span { opacity: 0.45; }

.post-hero-band__cats {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.post-hero-band__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.post-hero-band__date {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.post-hero-band__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}
.post-hero-band__meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}
.post-hero-band__meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.post-hero-band__meta-item a { color: rgba(255,255,255,0.6); transition: color var(--t); }
.post-hero-band__meta-item a:hover { color: #fff; }

/* Catégorie badge articles */
.post-cat-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6DA8FF;
  background: rgba(27, 111, 255, 0.15);
  border: 1px solid rgba(27, 111, 255, 0.25);
  text-decoration: none;
  transition: background var(--t);
}
.post-cat-badge:hover { background: rgba(27, 111, 255, 0.25); color: #6DA8FF; }

/* Image hero article */
.post-hero-image {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  margin: var(--space-xl) auto;
}
.post-hero-image img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-dark); }

/* =============================================================================
   GRILLE ARTICLES
   ============================================================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 111, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.post-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface-2);
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), rgba(27,111,255,0.05));
}
.post-card__thumb-placeholder svg { opacity: 0.2; }

.post-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4DA3FF;
  margin-bottom: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: color var(--t);
}
.post-card__cat:hover { color: #fff; }
.post-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__title a { color: inherit; text-decoration: none; transition: color var(--t); }
.post-card__title a:hover { color: #4DA3FF; }
.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-bottom: 1rem;
}
.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: var(--text-xs);
  color: var(--text-subtle);
}
.post-card__meta-left { display: flex; align-items: center; gap: 0.75rem; }

/* ── Carte FEATURED — pleine largeur 16/9, texte en overlay éditorial ────── */
.post-card--featured {
  grid-column: 1 / -1;
  flex-direction: column;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  cursor: pointer;
}

.post-card--featured .post-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.post-card--featured .post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card--featured:hover .post-card__thumb img { transform: scale(1.03); }

.post-card--featured .post-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D1020, #141828);
}

/* Gradient sombre bas → haut pour lisibilité */
.post-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 9, 15, 0.95) 0%,
    rgba(7, 9, 15, 0.55) 40%,
    rgba(7, 9, 15, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Corps du texte superposé en bas à gauche */
.post-card--featured .post-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-lg) var(--space-xl);
  z-index: 2;
  background: none;
  flex-direction: column;
  justify-content: flex-end;
}

.post-card--featured .post-card__cat {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4DA3FF;
  margin-bottom: 0.5rem;
}

.post-card--featured .post-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  max-width: 680px;
}

.post-card--featured .post-card__excerpt {
  font-size: var(--text-sm);
  color: rgba(238, 242, 255, 0.72);
  -webkit-line-clamp: 2;
  margin-bottom: 1rem;
  max-width: 580px;
}

.post-card--featured .post-card__meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.65rem;
  max-width: 580px;
}

/* Section headers */
.section-header { margin-bottom: var(--space-lg); }
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4DA3FF;
  margin-bottom: var(--space-xs);
}
.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--space-xs);
}
.section-title em { font-style: italic; color: var(--blue); }
.section-desc { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.7; max-width: 500px; }

.section { padding: var(--space-2xl) 0; }
.section--sm { padding: var(--space-xl) 0; }
.section--alt {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Stats — identiques hylsstudio.fr (48h / 100% / 06) */
.stats-row {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-xl) 0;
}
.stats-row__item {
  flex: 1;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stats-row__item:last-child { border-right: none; }
.stats-row__num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stats-row__label { font-size: var(--text-sm); color: rgba(255,255,255,0.5); line-height: 1.4; }

/* CTA Block */
.cta-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: min(800px, 100vw); height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,111,255,.18) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.cta-block--strong {
  background: var(--bg);
  border-color: rgba(27, 111, 255, 0.15);
  padding: var(--space-2xl) var(--space-lg);
}
.cta-block__badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6DA8FF;
  background: rgba(27, 111, 255, 0.15);
  border: 1px solid rgba(27, 111, 255, 0.25);
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.cta-block__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
  position: relative; z-index: 1;
}
.cta-block__title em { font-style: italic; color: #6DA8FF; }
.cta-block__desc {
  font-size: 1.05rem;
  color: rgba(244,241,235,.6);
  max-width: 500px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.75;
  position: relative; z-index: 1;
}
.cta-block__note {
  font-size: var(--text-xs);
  color: rgba(244,241,235,0.4);
  margin-top: var(--space-sm);
  position: relative; z-index: 1;
}
.cta-block__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* Catégories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-sm);
}
.category-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-decoration: none;
  transition: all var(--t);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.category-card:hover {
  border-color: rgba(27, 111, 255, 0.3);
  background: rgba(27, 111, 255, 0.05);
  transform: translateY(-2px);
  color: #fff;
}
.category-card__icon {
  width: 36px; height: 36px;
  background: rgba(27, 111, 255, 0.1);
  border: 1px solid rgba(27, 111, 255, 0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.category-card__name { font-family: var(--font-heading); font-size: var(--text-base); color: #fff; display: block; margin-bottom: 0.1rem; }
.category-card__count { font-size: var(--text-xs); color: var(--text-muted); }

/* =============================================================================
   CONTENU ARTICLE
   ============================================================================= */
.post-wrap { padding-top: 0; padding-bottom: var(--space-3xl); }

.post-content { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--space-md); }
.post-content h2 { font-size: var(--text-2xl); font-weight: 400; margin: var(--space-2xl) 0 var(--space-md); letter-spacing: -0.02em; scroll-margin-top: 90px; }
.post-content h3 { font-size: var(--text-xl); font-weight: 400; margin: var(--space-xl) 0 var(--space-sm); scroll-margin-top: 90px; }
.post-content h4 { font-size: var(--text-lg); font-weight: 600; margin: var(--space-lg) 0 var(--space-xs); }
.post-content p { font-size: var(--text-lg); line-height: 1.8; color: var(--text-muted); margin-bottom: var(--space-md); }
.post-content a { color: #4DA3FF; text-decoration: underline; text-decoration-color: rgba(27,111,255,0.3); text-underline-offset: 3px; }
.post-content a:hover { text-decoration-color: #4DA3FF; }
.post-content strong { color: #fff; font-weight: 700; }
.post-content ul, .post-content ol { list-style: none; margin: var(--space-md) 0 var(--space-lg); padding-left: 1.5rem; }
.post-content ul li, .post-content ol li {
  position: relative;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
  padding-left: var(--space-sm);
}
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.post-content ol { counter-reset: list-c; }
.post-content ol li { counter-increment: list-c; }
.post-content ol li::before {
  content: counter(list-c) ".";
  position: absolute;
  left: -1.25rem;
  color: #4DA3FF;
  font-weight: 700;
  font-size: var(--text-sm);
}
.post-content blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--blue);
  background: rgba(27, 111, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content blockquote p { font-family: var(--font-heading); font-style: italic; font-size: var(--text-xl); color: #fff; line-height: 1.6; }
.post-content code {
  font-size: 0.875em;
  background: rgba(255,255,255,0.06);
  color: #4DA3FF;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
}
.post-content pre {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: var(--space-md);
  overflow-x: auto;
  margin: var(--space-lg) 0;
}
.post-content pre code { background: none; padding: 0; }
.post-content img { width: 100%; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.07); margin: var(--space-lg) 0; }
.post-content hr { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: var(--space-2xl) 0; }

/* TOC */
.toc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 0;
  margin: var(--space-xl) 0;
  overflow: hidden;
}
.toc__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--t);
}
.toc__toggle:hover {
  background: rgba(255,255,255,0.03);
}
.toc__title { 
  font-size: var(--text-xs); 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  color: var(--text-muted); 
  margin-bottom: 0;
}
.toc__chevron {
  color: var(--text-muted);
  transition: transform var(--t);
}
.toc__toggle[aria-expanded="true"] .toc__chevron {
  transform: rotate(180deg);
}
#toc-list-inner {
  padding: 0 var(--space-md) var(--space-md);
}
.toc__list { list-style: none; }
.toc__list li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.toc__list li:last-child { border-bottom: none; }
.toc__list a { display: block; padding: 0.45rem 0; font-size: var(--text-sm); color: var(--text-muted); text-decoration: none; transition: color var(--t), padding-left var(--t); }
.toc__list a:hover { color: #4DA3FF; padding-left: 0.375rem; }
.toc__list--sub { padding-left: var(--space-sm); }
.toc__list--sub a { font-size: var(--text-xs); }

/* Auteur */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-2xl) auto;
  max-width: var(--content-width);
  padding-inline: var(--space-md);
}
.author-box__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--surface-2); border: 2px solid rgba(255,255,255,0.1); }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box__role { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #4DA3FF; margin-bottom: 0.25rem; }
.author-box__name { font-family: var(--font-heading); font-size: var(--text-lg); margin-bottom: 0.25rem; color: #fff; }
.author-box__bio { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }

.related-posts { margin-top: var(--space-2xl); }

/* =============================================================================
   ARCHIVE / LISTING / SEARCH / 404
   ============================================================================= */
.archive-header {
  padding-top: calc(80px + var(--space-2xl));
  padding-bottom: var(--space-xl);
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.archive-title { font-size: var(--text-5xl); font-style: italic; margin-bottom: var(--space-sm); }
.archive-desc { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.7; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: var(--space-2xl);
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  font-size: var(--text-sm); font-weight: 600;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  transition: all var(--t);
  text-decoration: none;
}
.pagination a:hover { border-color: var(--accent); color: #fff; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Search */
.search-wrap {
  padding-top: calc(80px + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  max-width: 580px;
  margin-inline: auto;
  padding-inline: var(--space-md);
  text-align: center;
}
.search-form { display: flex; gap: var(--space-xs); margin: var(--space-lg) 0; }
.search-form input[type="search"] {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  outline: none;
  transition: border-color var(--t);
}
.search-form input[type="search"]:focus { border-color: rgba(27,111,255,.7); }
.search-form input[type="search"]::placeholder { color: var(--text-subtle); }

/* 404 */
.error-404-wrap {
  padding-top: calc(80px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.error-404-wrap__code {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 7rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  letter-spacing: -0.05em;
  margin-bottom: var(--space-sm);
}
.error-404-wrap__code span { color: var(--accent); }

/* =============================================================================
   FOOTER — identique hylsstudio.fr
   ============================================================================= */
.site-footer {
  background: #060810;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 4rem 2rem 2rem;
  margin-top: var(--space-3xl);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--wide-width);
  margin-inline: auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-footer__brand .site-logo { margin-bottom: 0.75rem; }
.site-footer__brand p { font-size: 0.82rem; color: rgba(244,241,235,.7); margin-top: 0.75rem; max-width: 260px; line-height: 1.65; }
.site-footer__brand .footer-geo { font-size: 0.75rem; color: rgba(244,241,235,.55); margin-top: 1.5rem; line-height: 1.6; }
.site-footer__col h4 { font-size: 0.68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: rgba(244,241,235,.65); margin-bottom: 0.9rem; font-family: var(--font-body); }
.site-footer__col a { display: block; font-size: 0.83rem; color: rgba(244,241,235,.85); text-decoration: none; padding: 0.28rem 0; transition: color 0.18s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  max-width: var(--wide-width);
  margin-inline: auto;
  font-size: 0.73rem;
  color: rgba(244,241,235,.7);
}
.site-footer__bottom a { color: rgba(244,241,235,.8); text-decoration: none; transition: color .2s; }
.site-footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* =============================================================================
   ANIMATIONS reveal
   ============================================================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }

/* =============================================================================
   UTILITAIRES
   ============================================================================= */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px;
}
.alignleft { float: left; margin-right: var(--space-md); margin-bottom: var(--space-sm); }
.alignright { float: right; margin-left: var(--space-md); margin-bottom: var(--space-sm); }
.aligncenter { display: block; margin-inline: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(27,111,255,0.3); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* Widgets */
.widget { margin-bottom: var(--space-xl); }
.widget__title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: var(--space-md); padding-bottom: var(--space-xs); border-bottom: 1px solid rgba(255,255,255,0.07); }

/* =============================================================================
   FAQ BLOCK — shortcode [faq_schema]
   ============================================================================= */
.faq-block {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  margin: var(--space-2xl) auto;
}

.faq-block__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--t);
}

.faq-item:has(.faq-item__q[aria-expanded="true"]) {
  border-color: rgba(27, 111, 255, 0.3);
  background: rgba(27, 111, 255, 0.04);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  transition: color var(--t);
}

.faq-item__q:hover { color: #4DA3FF; }

.faq-item__q[aria-expanded="true"] { color: #4DA3FF; }

.faq-item__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: transform var(--t);
}

.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
  color: #4DA3FF;
}

.faq-item__a {
  padding: 0 1.25rem 1rem;
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item__a[hidden] { display: none; }

/* =============================================================================
   ============================================================================= */
@media (max-width: 900px) {
  .hero-visual { display: none !important; }
  .post-hero-band__visual-wrap { display: none !important; }
}

@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card--featured { grid-column: 1 / -1; max-height: 420px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --space-3xl: 5rem; --space-2xl: 3.5rem; --space-xl: 2.5rem; }
  .site-header { padding: 0.9rem 1.25rem; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__cta { display: none; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-column: 1 / -1; aspect-ratio: 16 / 9; max-height: 380px; }
  .post-card--featured .post-card__body { padding: var(--space-md) var(--space-lg); }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .blog-hero__actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stats-row { flex-direction: column; }
  .stats-row__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stats-row__item:last-child { border-bottom: none; }
  .sticky-cta { display: none; }
  .cat-filter { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .animate-on-scroll { opacity: 1; transform: none; }
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
