/* ═══════════════════════════════════════════
   PUNKWP — CSS Principal
   Design cyberpunk rouge/orange
   ═══════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --red:          hsl(332, 100%, 50%);
  --red-dark:     #b30000;
  --orange:       #ff6a00;
  --orange-light: #ec8f48;
  --amber:        #FFAA00;
  --dark:         #080808;
  --dark-2:       #0F0F0F;
  --dark-3:       #161616;
  --dark-4:       #1E1E1E;
  --dark-border:  rgba(255, 107, 0, 0.25);
  --dark-border-2:rgba(255, 107, 0, 0.55);
  --text:         #F0EDE8;
  --text-muted:   rgba(240, 237, 232, 0.78);
  --text-faint:   rgba(240, 237, 232, 0.50);
  --flash-cyan:   #00FFFF;
  --flash-green:  #00FF6A;
  --flash-yellow: #FFE600;

  /* Typo */
  --font-display: 'Orbitron', monospace;
  --font-body:    'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;

  /* Layout */
  --max-width:      1400px;
  --gutter:         clamp(24px, 5vw, 80px);
  --radius:         0px;
  --clip-corner:    12px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --trans-fast: 0.15s;
  --trans-base: 0.3s;
  --trans-slow: 0.5s;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  overflow-x: hidden;
}
body :where(.wp-block-button__link) {
  border-radius: initial;
}
body .entry-content a {
  color: #000
}

.wp-block-buttons {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rich-conten0t__body--two-col-asymmetric{
  gap: 60px;
}

.rich-content__col.rich-content__col--wide{
  width: 100%;
}
.rich-content__col.rich-content__col--narrow{
  width: 100%;
}

.rich-content__col.rich-content__col--narrow .rich-content__aside {
  padding-left: 30px;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.home .wp-block-punkwp-team-card {
  max-width: 80%;
  margin-inline: auto;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; background: none; border: none; }

/* ─── ANIMATED BG ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Scanline */
body::after {
  content: '';
  position: fixed;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(transparent, rgba(255, 107, 0, 0.05), transparent);
  z-index: 9999;
  animation: scanline 8s linear infinite;
  pointer-events: none;
}
@keyframes scanline { 0% { top: -5%; } 100% { top: 110%; } }



/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow  { max-width: 800px;  }
.container--wide    { max-width: 1600px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}

h1 { font-size: clamp(3rem, 8vw, 8rem);  font-weight: 900; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2.4rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.8rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.9rem; }

p { margin-bottom: var(--space-sm); color: var(--text-muted); font-size: 1.1rem; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--text); }
em, i { font-style: italic; color: var(--orange); }

blockquote {
  border-left: 2px solid var(--red);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0;
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 26, 26, 0.04);
}

code, pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
}
code { padding: 2px 8px; color: var(--orange); }
pre  { padding: var(--space-md); overflow-x: auto; color: var(--flash-green); }

/* Gradient text utilitaire */
.text-gradient {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 0, 0.5);
}

/* ─── LABEL / TAG ─── */
.label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ─── NAVBAR ─── */
/* ════════════════════════════════════════
   SIDEBAR FIXE GAUCHE — STYLE ENDFIELD
   Collapsed : icônes seules
   Expanded (hover/focus-within) : icônes + labels
   ════════════════════════════════════════ */

:root {
  --sidebar-w-collapsed: 64px;
  --sidebar-w-expanded:  240px;
  --sidebar-transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── SIDEBAR WRAPPER ─── */
#site-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w-collapsed);
  z-index: 500;
  background: rgba(6, 4, 4, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  transition: width var(--sidebar-transition);
  border-right: 1px solid rgba(255, 107, 0, 0.1);
}

/* Expand au hover desktop */
@media (hover: hover) {
  #site-sidebar:hover,
  #site-sidebar:focus-within {
    width: var(--sidebar-w-expanded);
  }
}

/* Trait droit animé */
.sidebar-edge {
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 26, 26, 0.6) 20%,
    rgba(255, 107, 0, 0.4) 50%,
    rgba(255, 107, 0, 0.1) 80%,
    transparent 100%
  );
  pointer-events: none;
}

/* ─── LOGO ─── */
.sidebar-logo {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 72px;
  position: relative;
  border-bottom: 1px solid rgba(255, 107, 0, 0.08);
}

.sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 18px;
  width: 100%;
}

.sidebar-logo svg,
.sidebar-logo img,
.sidebar-logo__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-logo__text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity var(--sidebar-transition),
    transform var(--sidebar-transition);
  pointer-events: none;
}

/* Logo custom WP */
.sidebar-logo .custom-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.sidebar-logo .custom-logo-link {
  padding: 0 18px;
}

/* Révéler le texte quand expanded */
#site-sidebar:hover .sidebar-logo__text,
#site-sidebar:focus-within .sidebar-logo__text {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.05s;
}

/* ─── NAV PRINCIPALE ─── */
.sidebar-nav {
  flex: 1;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 8px 0;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav__item {
  position: relative;
}

.sidebar-nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  text-decoration: none;
  color: rgba(240, 237, 232, 0.70);
  position: relative;
  overflow: hidden;
  transition: color var(--trans-fast);
}

/* Indicateur actif : trait gauche */
.sidebar-nav__link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, var(--red), var(--orange));
  transition: transform 0.25s var(--ease);
  transform-origin: center;
}

/* Hover background sweep */
.sidebar-nav__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.06), transparent);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.sidebar-nav__link:hover,
.sidebar-nav__link:focus-visible {
  color: var(--text);
}
.sidebar-nav__link:hover::after,
.sidebar-nav__link:focus-visible::after { opacity: 1; }

/* Item actif (current-menu-item) */
.sidebar-nav__item.current-menu-item .sidebar-nav__link,
.sidebar-nav__link.is-current {
  color: var(--orange);
}
.sidebar-nav__item.current-menu-item .sidebar-nav__link::before,
.sidebar-nav__link.is-current::before {
  transform: translateY(-50%) scaleY(1);
}

/* Icône */
.sidebar-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  color: inherit;
  transition: color var(--trans-fast), transform 0.2s var(--ease);
}

.sidebar-nav__link:hover .sidebar-nav__icon {
  color: var(--orange);
  transform: scale(1.1);
}

/* Label */
.sidebar-nav__label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity var(--sidebar-transition),
    transform var(--sidebar-transition);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

#site-sidebar:hover .sidebar-nav__label,
#site-sidebar:focus-within .sidebar-nav__label {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger labels */
.sidebar-nav__item:nth-child(1) .sidebar-nav__label  { transition-delay: 0.03s; }
.sidebar-nav__item:nth-child(2) .sidebar-nav__label  { transition-delay: 0.06s; }
.sidebar-nav__item:nth-child(3) .sidebar-nav__label  { transition-delay: 0.09s; }
.sidebar-nav__item:nth-child(4) .sidebar-nav__label  { transition-delay: 0.12s; }
.sidebar-nav__item:nth-child(5) .sidebar-nav__label  { transition-delay: 0.15s; }
.sidebar-nav__item:nth-child(6) .sidebar-nav__label  { transition-delay: 0.18s; }

/* ─── FOOTER SIDEBAR ─── */
.sidebar-footer {
  flex-shrink: 0;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 107, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

/* Point de statut */
.sidebar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

/* Texte décoratif vertical */
.sidebar-deco-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 107, 0, 0.2);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  height: 80px;
  overflow: hidden;
}

/* Langues */
.sidebar-langs {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
}

.sidebar-langs span,
.sidebar-langs a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 107, 0, 0.3);
  text-decoration: none;
  transition: color var(--trans-fast);
}
.sidebar-langs a:hover { color: var(--orange); }
.sidebar-langs__sep { opacity: 0.3; }

/* Footer label générique (status, etc.) */
.sidebar-footer__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 107, 0, 0.25);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--sidebar-transition);
}

#site-sidebar:hover .sidebar-footer__label,
#site-sidebar:focus-within .sidebar-footer__label {
  opacity: 1;
}

/* ─── CONTENU DÉCALÉ PAR LE SIDEBAR ─── */
body {
  padding-left: var(--sidebar-w-collapsed);
  transition: padding-left var(--sidebar-transition);
}

@media (hover: hover) {
  body:has(#site-sidebar:hover),
  body:has(#site-sidebar:focus-within) {
    padding-left: var(--sidebar-w-expanded);
  }
}

/* ═══════════════════════════════════════
   MOBILE HEADER + BURGER
   ═══════════════════════════════════════ */
#mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 500;
  background: rgba(6, 4, 4, 0.95);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

#mobile-header .site-logo {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

#mobile-header svg {
  width: 35px;
  height: 35px;
  margin-right: 5px;
}

#mobile-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

/* ─── HAMBURGER ─── */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 600;
}

.menu-toggle__bar {
  display: block;
  height: 1.5px;
  background: var(--orange);
  transition: transform 0.3s var(--ease), opacity 0.3s, width 0.3s;
  transform-origin: left center;
}
.menu-toggle__bar:nth-child(1) { width: 24px; }
.menu-toggle__bar:nth-child(2) { width: 18px; }
.menu-toggle__bar:nth-child(3) { width: 24px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
  width: 26px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0; width: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
  width: 26px;
}

/* ═══════════════════════════════════════
   OVERLAY MOBILE (slide depuis gauche)
   ═══════════════════════════════════════ */
#mobile-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 85vw);
  z-index: 490;
  background: #060404;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 36px 40px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 107, 0, 0.12);
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-overlay.is-open {
  transform: translateX(0);
  pointer-events: all;
}

/* Trait droit animé */
#mobile-overlay::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--red), var(--orange), transparent);
  transition: height 0.5s var(--ease) 0.2s;
}
#mobile-overlay.is-open::after { height: 100%; }

/* ─── BACKDROP ─── */
#menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 489;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(3px);
}
#menu-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ─── NAV OVERLAY ─── */
.overlay-nav { margin-bottom: 40px; }
.overlay-nav__list { list-style: none; }

.overlay-nav__item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
#mobile-overlay.is-open .overlay-nav__item:nth-child(1) { opacity:1; transform:none; transition-delay:0.08s; }
#mobile-overlay.is-open .overlay-nav__item:nth-child(2) { opacity:1; transform:none; transition-delay:0.13s; }
#mobile-overlay.is-open .overlay-nav__item:nth-child(3) { opacity:1; transform:none; transition-delay:0.18s; }
#mobile-overlay.is-open .overlay-nav__item:nth-child(4) { opacity:1; transform:none; transition-delay:0.23s; }
#mobile-overlay.is-open .overlay-nav__item:nth-child(5) { opacity:1; transform:none; transition-delay:0.28s; }
#mobile-overlay.is-open .overlay-nav__item:nth-child(6) { opacity:1; transform:none; transition-delay:0.33s; }

.overlay-nav__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  text-decoration: none;
  color: rgba(240, 237, 232, 0.65);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 5vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.25s var(--ease);
  border-bottom: 1px solid rgba(255, 107, 0, 0.06);
}

.overlay-nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--orange), transparent);
  transition: width 0.5s var(--ease);
}

.overlay-nav__link:hover { color: var(--text); }
.overlay-nav__link:hover::after { width: 100%; }
.overlay-nav__link:hover .overlay-nav__num { color: var(--red); }

.overlay-nav__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: rgba(255, 107, 0, 0.60);
  min-width: 32px;
  transition: color 0.25s;
}

.overlay-nav__text { position: relative; z-index: 1; }

/* Footer overlay */
.overlay-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 107, 0, 0.1);
}
.overlay-footer a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.25);
  text-decoration: none;
  transition: color var(--trans-fast);
}
.overlay-footer a:hover { color: var(--orange); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Cacher sidebar desktop */
  #site-sidebar { display: none; }

  /* Afficher header mobile */
  #mobile-header { display: flex; }

  /* Décalage corps : aucun sur mobile, on a la topbar */
  body {
    padding-left: 0 !important;
    padding-top: 56px;
  }

  /* Scroll progress + dots : ajuster top */
  #scroll-progress { top: 56px; }
  .admin-bar #scroll-progress { top: calc(56px + 46px); }
}

/* ─── SKIP TO CONTENT ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  background: var(--orange);
  color: var(--dark);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ─── MAIN CONTENT ─── */
/* main-content */
#main-content {
  padding-top: 0;
  min-height: 60vh;
}

/* ─── SECTION COMMONS ─── */
.section {
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.section--dark   { background: var(--dark-2); }
.section--darker { background: var(--dark-3); }

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.section-header__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: rgba(255, 107, 0, 0.4);
  white-space: nowrap;
}

.section-header h2 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  white-space: nowrap;
}

.section-header__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--dark-border-2), transparent);
}

/* ─── CLIP-PATH SHAPES ─── */
.clip-corner {
  clip-path: polygon(
    0 0,
    calc(100% - var(--clip-corner)) 0,
    100% var(--clip-corner),
    100% 100%,
    var(--clip-corner) 100%,
    0 calc(100% - var(--clip-corner))
  );
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-base) var(--ease);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: var(--dark);
  border-color: transparent;
}
.btn--primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--orange);
  border-color: rgba(255, 107, 0, 0.4);
}
.btn--ghost:hover {
  background: rgba(255, 107, 0, 0.08);
  border-color: var(--orange);
}

.btn--outline-red {
  background: transparent;
  color: var(--red);
  border-color: rgba(255, 26, 26, 0.4);
}
.btn--outline-red:hover {
  background: rgba(255, 26, 26, 0.06);
  border-color: var(--red);
}

/* ─── CARDS ─── */
.card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  padding: var(--space-md) var(--space-md);
  position: relative;
  transition: border-color var(--trans-base) var(--ease);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-slow) var(--ease);
}

.card:hover { border-color: var(--dark-border-2); }
.card:hover::before { transform: scaleX(1); }

/* Corner brackets */
.card .bracket-tl,
.card .bracket-br {
  position: absolute;
  width: 20px; height: 20px;
  pointer-events: none;
}
.card .bracket-tl {
  top: 10px; left: 10px;
  border-top: 1px solid rgba(255, 107, 0, 0.4);
  border-left: 1px solid rgba(255, 107, 0, 0.4);
}
.card .bracket-br {
  bottom: 10px; right: 10px;
  border-bottom: 1px solid rgba(255, 107, 0, 0.4);
  border-right: 1px solid rgba(255, 107, 0, 0.4);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--text);
}

.card__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ─── TICKER STRIP ─── */
.ticker-strip {
  background: var(--red);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.ticker-strip__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 25s linear infinite;
}

.ticker-strip__item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 600;
  padding: 0 40px;
}
.ticker-strip__item::after {
  content: ' // ';
  opacity: 0.4;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── HERO BLOCK ─── */
.wp-block-punkwp-hero-block {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px var(--gutter) var(--space-xl);
  overflow: hidden;
}

.hero-block__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-block__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-block__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--red);
}

.hero-block__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 28px;
}

.hero-block__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-block__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero SVG deco */
.hero-block__deco {
  position: absolute;
  right: clamp(-60px, -5vw, -20px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 40vw, 560px);
  height: clamp(300px, 40vw, 560px);
  opacity: 0.6;
  pointer-events: none;
}

/* Hero title spans */
.hero-block__title .line1,
.hero-block__title .line2,
.hero-block__title .line3 {
  display: block;
}

.hero-block__title .line1 {
  font-size: 80px;
}

.hero-block__title .line2 {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-block__title .line3 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 0, 0.4);
  font-size: 60px;
}

/* Hero block positioning */
.wp-block-punkwp-hero-block {
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px var(--gutter) var(--space-xl);
  overflow: hidden;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 2px;
}

/* Post card */
.post-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.post-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-slow) var(--ease);
}

.post-card:hover { border-color: var(--dark-border-2); }
.post-card:hover::after { transform: scaleX(1); }

.post-card__thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark-3);
}
.post-card__thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow) var(--ease);
}
.post-card:hover .post-card__thumbnail img { transform: scale(1.04); }

.post-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  flex: 1;
}
.post-card__title a { color: var(--text); transition: color var(--trans-fast); }
.post-card__title a:hover { color: var(--orange); }

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.post-card__link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  transition: color var(--trans-fast);
  align-self: flex-start;
}
.post-card__link:hover { color: var(--amber); }

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: var(--space-lg);
}
.pagination a,
.pagination span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  transition: all var(--trans-fast);
}
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .current { border-color: var(--red); color: var(--red); }

/* ─── SINGLE POST ─── */
.single-header {
  padding: 80px var(--gutter) var(--space-xl);
  border-bottom: 1px solid var(--dark-border);
}

.single-header__kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.single-header__title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 24px;
}

.single-header__meta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.single-header__meta a { color: var(--orange); }

.entry-content {
  padding: var(--space-xl) var(--gutter);
  max-width: 80%;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .entry-content {
    padding: var(--space-xl) 0;
    max-width: 90%;
  }
}


.entry-content h2, .entry-content h3 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.entry-content p { color: var(--text-muted); margin-bottom: var(--space-sm); }
.entry-content ul, .entry-content ol {
  margin-bottom: var(--space-sm);
  padding-left: 20px;
  color: var(--text-muted);
}
.entry-content ul li { list-style: square; }
.entry-content ul li::marker { color: var(--red); }
.entry-content ol li { list-style: decimal; }
.entry-content ol li::marker { color: var(--orange); }

.entry-content a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 0, 0.3);
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--amber); }

/* ══════════════════════════════════════
   FOOTER — GRAND FORMAT PUNK
   ══════════════════════════════════════ */
#site-footer {
  background: var(--dark-2);
  border-top: 2px solid transparent;
  background-image:
    linear-gradient(var(--dark-2), var(--dark-2)),
    linear-gradient(90deg, var(--red), var(--orange), var(--flash-cyan), transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: var(--space-2xl) 0 0;
  position: relative;
  overflow: hidden;
}

/* Fond tramé grunge derrière le footer */
#site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -48deg,
      rgba(255, 26, 26, 0.025) 0px,
      rgba(255, 26, 26, 0.025) 1px,
      transparent 1px,
      transparent 18px
    ),
    radial-gradient(circle at 80% 20%, rgba(255,107,0,0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(139,0,0,0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Forme géométrique déco coin gauche */
#site-footer::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 180px 180px;
  border-color: transparent transparent rgba(255,26,26,0.04) transparent;
  pointer-events: none;
}

/* ─── BLOC HERO FOOTER ─── */
.footer-hero {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -1px;
  position: relative;
}

.footer-hero__title .word-1 {
  display: block;
  color: var(--text);
}
.footer-hero__title .word-2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,107,0,0.5);
}
.footer-hero__title .word-3 {
  display: block;
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Accent flash sur le titre */
.footer-hero__title::before {
  content: '';
  position: absolute;
  left: -16px; top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(to bottom, var(--red), var(--orange));
  clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
}

.footer-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.footer-hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: right;
}

/* ─── GRILLE PRINCIPALE ─── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Séparateurs verticaux entre colonnes */
.footer-grid > * + * {
  border-left: 1px solid var(--dark-border);
  padding-left: var(--space-lg);
}

/* ─── BRAND ─── */
.footer-brand .site-logo {
  display: block;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-brand__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 24px;
}

/* Déco géométrique dans le bloc brand */
.footer-brand__geo {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand__geo-dot {
  width: 8px; height: 8px;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.footer-brand__geo-line {
  flex: 1;
  height: 1px;
  max-width: 60px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.footer-brand__geo-flash {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--flash-cyan);
  letter-spacing: 0.2em;
}

/* Social links */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px;
  border: 1px solid var(--dark-border);
  text-decoration: none;
  transition: all var(--trans-fast);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.footer-social a:hover {
  color: var(--flash-cyan);
  border-color: var(--flash-cyan);
  background: rgba(0, 255, 255, 0.04);
}

/* ─── WIDGETS ─── */
.footer-widget {
  position: relative;
}

.footer-widget__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dark-border);
}

/* Diamond déco devant le titre */
.footer-widget__header::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

.footer-widget h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 4px;
  position: relative;
}

.footer-widget a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color var(--trans-fast), padding-left var(--trans-fast);
  border-bottom: 1px solid rgba(255,107,0,0.05);
}

.footer-widget a::before {
  content: '';
  display: block;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width var(--trans-base);
  flex-shrink: 0;
}

.footer-widget a:hover {
  color: var(--text);
  padding-left: 4px;
}
.footer-widget a:hover::before { width: 12px; }

/* ─── BANDE STATS ─── */
.footer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.footer-stat {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Coin biseauté flash */
.footer-stat::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent var(--red) transparent transparent;
  opacity: 0.6;
}

.footer-stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.footer-stat__num span {
  color: var(--orange);
  font-size: 1.2rem;
}

.footer-stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── BANDE NEWSLETTER ─── */
.footer-newsletter {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* Accent flash magenta */
.footer-newsletter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--flash-yellow), transparent);
}

.footer-newsletter__text {
  flex: 1;
  min-width: 200px;
}

.footer-newsletter__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.footer-newsletter__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.footer-newsletter__form {
  display: flex;
  gap: 0;
  min-width: 300px;
  flex: 1;
}

.footer-newsletter__input {
  flex: 1;
  background: var(--dark);
  border: 1px solid var(--dark-border);
  border-right: none;
  color: var(--text);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  outline: none;
  transition: border-color var(--trans-fast);
}
.footer-newsletter__input:focus { border-color: var(--orange); }
.footer-newsletter__input::placeholder { color: var(--text-faint); }

.footer-newsletter__btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: var(--dark);
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 700;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.footer-newsletter__btn:hover { opacity: 0.85; }

/* ─── FOOTER BOTTOM ─── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--dark-border);
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--trans-fast);
}
.footer-bottom-links a:hover { color: var(--orange); }

/* ─── RESPONSIVE FOOTER ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > * + * { border-left: none; padding-left: 0; }
  .footer-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer-hero { flex-direction: column; align-items: flex-start; }
  .footer-hero__cta { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-newsletter { flex-direction: column; }
  .footer-newsletter__form { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── SEARCH FORM ─── */
.search-form {
  display: flex;
  gap: 0;
}
.search-form input[type="search"] {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-right: none;
  color: var(--text);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--trans-fast);
}
.search-form input[type="search"]:focus { border-color: var(--orange); }
.search-form button {
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--dark);
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--trans-fast);
}
.search-form button:hover { background: var(--orange); border-color: var(--orange); }

/* ─── COMMENTS ─── */
.comments-area {
  border-top: 1px solid var(--dark-border);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
}

.comments-area .comment-form input,
.comments-area .comment-form textarea {
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  color: var(--text);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  transition: border-color var(--trans-fast);
}
.comments-area .comment-form input:focus,
.comments-area .comment-form textarea:focus { border-color: var(--orange); }

.comment-list .comment { border-bottom: 1px solid var(--dark-border); padding: var(--space-md) 0; }
.comment-author { font-family: var(--font-mono); font-size: 0.82rem; color: var(--orange); letter-spacing: 0.1em; }
.comment-metadata { font-size: 0.88rem; color: var(--text-faint); }

/* ─── UTILITY ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.flex   { display: flex; }
.grid   { display: grid; }
.hidden { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --space-xl: 48px; --space-2xl: 80px; }

  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-status { display: none; }

  .hero-block__deco { display: none; }
  .hero-block__content { max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .btn { padding: 10px 20px; font-size: 0.78rem; }
  .hero-block__ctas { flex-direction: column; align-items: flex-start; }
}

/* ─── ANIMATON UTILITIES ─── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s var(--ease-out) forwards;
  }
  @keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .stagger-1 { animation-delay: 0.1s; }
  .stagger-2 { animation-delay: 0.2s; }
  .stagger-3 { animation-delay: 0.35s; }
  .stagger-4 { animation-delay: 0.5s; }
}

/* ─── HERO TITLE LINE SPANS ─── */
.hero-block__title .line1,
.hero-block__title .line2,
.hero-block__title .line3 { display: block; }

.hero-block__title .line2 {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-block__title .line3 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 0, 0.4);
}

/* ─── POST NAVIGATION ─── */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: var(--space-lg);
  border-top: 1px solid var(--dark-border);
  padding-top: var(--space-lg);
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  padding: var(--space-md);
  transition: border-color var(--trans-base) var(--ease);
  overflow: hidden;
}
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover { border-color: var(--dark-border-2); }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { display: block; color: var(--text); }
.post-navigation .meta-nav {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.post-navigation .post-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--trans-fast);
}
.post-navigation a:hover .post-title { color: var(--orange); }
@media (max-width: 600px) { .post-navigation { grid-template-columns: 1fr; } }

/* ─── COMMENT THREAD ─── */
.comment-list { list-style: none; margin-bottom: var(--space-lg); }
.comment-list .comment { border-bottom: 1px solid var(--dark-border); padding: var(--space-md) 0; }
.comment-list .children { list-style: none; padding-left: var(--space-md); border-left: 1px solid var(--dark-border); margin-top: var(--space-md); }
.comment-meta { display: flex; align-items: center; gap: var(--space-md); margin-bottom: 12px; flex-wrap: wrap; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 0; border: 1px solid var(--dark-border); filter: grayscale(60%); }
.comment-author .fn { font-family: var(--font-mono); font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.comment-metadata { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faint); }
.comment-metadata a { color: var(--text-faint); }
.comment-metadata a:hover { color: var(--orange); }
.comment-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.comment-reply-link { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); transition: color var(--trans-fast); }
.comment-reply-link:hover { color: var(--orange); }
.comment-respond { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--dark-border); }
.comment-form p { margin-bottom: var(--space-sm); }
.comment-form label { display: block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { display: block; width: 100%; background: var(--dark-3); border: 1px solid var(--dark-border); color: var(--text); padding: 10px 14px; font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: border-color var(--trans-fast); -webkit-appearance: none; }
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--orange); }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .form-submit { margin-bottom: 0; }

/* ─── WIDGETS ─── */
.widget { margin-bottom: var(--space-lg); }
.widget-title { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-sm); padding-bottom: 10px; border-bottom: 1px solid var(--dark-border); }
.widget ul { list-style: none; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid rgba(255,107,0,0.06); font-size: 0.9rem; color: var(--text-muted); }
.widget ul li a { color: var(--text-muted); transition: color var(--trans-fast); }
.widget ul li a:hover { color: var(--orange); }

/* ─── ADMIN BAR OFFSET ─── */
.admin-bar #site-sidebar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-sidebar { top: 0; }
  .admin-bar #mobile-header { top: 0; }
}

/* ─── GUTENBERG ALIGN ─── */
.alignwide { margin-inline: calc(-1 * var(--gutter)); }
.alignfull { margin-inline: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); max-width: none; }

/* ─── WP CORE BLOCKS ─── */
.wp-block-quote { border-left: 2px solid var(--red); padding: var(--space-sm) var(--space-md); margin: var(--space-lg) 0; font-family: var(--font-mono); font-size: 1rem; color: var(--text-muted); background: rgba(255,26,26,0.04); }
.wp-block-quote cite { font-size: 0.88rem; color: var(--text-faint); font-style: normal; letter-spacing: 0.1em; }
.wp-block-separator { border: none; border-top: 1px solid var(--dark-border); margin: var(--space-lg) 0; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.wp-block-table th { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); padding: 10px 12px; border-bottom: 1px solid var(--dark-border); text-align: left; }
.wp-block-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,107,0,0.06); color: var(--text-muted); }
.wp-block-table tr:hover td { background: rgba(255,107,0,0.03); }
.wp-block-code { background: var(--dark-3); border: 1px solid var(--dark-border); padding: var(--space-md); overflow-x: auto; font-family: var(--font-mono); font-size: 0.875rem; color: var(--flash-green); }
.wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.wp-block-button__link { font-family: var(--font-mono); font-size: 0.88rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 12px 24px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); background: linear-gradient(90deg, var(--red), var(--orange)); color: var(--dark); text-decoration: none; transition: opacity 0.2s; }
.wp-block-button__link:hover { opacity: 0.85; }

/* ════════════════════════════════════════
   SCROLL SNAP + SECTION TRACKER
   ════════════════════════════════════════ */

/* Conteneur scroll snap — à mettre sur <main> ou #main-content */
.snap-wrapper {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

/* Chaque section snappée */
.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ─── NUMÉRO DE SECTION ─── */
#section-counter {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 200;
  display: flex;
  align-items: baseline;
  gap: 2px;
  pointer-events: none;
  line-height: 1;
}

#section-current {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 0, 0.35);
  line-height: 1;
  transition: opacity 0.3s var(--ease);
  width: 160px;
}

@media (max-width: 768px) {
  #section-current {
    width: 80px;
  }
}

#section-total {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: rgba(255, 107, 0, 0.3);
  align-self: flex-end;
  padding-bottom: 12px;
}

/* ─── BARRE DE PROGRESSION VERTICALE ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 2px;
  bottom: 0;
  z-index: 200;
  background: rgba(255, 107, 0, 0.08);
  pointer-events: none;
}

#scroll-progress-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--red), var(--orange), transparent);
  transition: height 0.4s var(--ease);
}

/* ─── DOTS NAVIGATION ─── */
#section-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.2);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}

.section-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
}

.section-dot.is-active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.5);
}

.section-dot:hover {
  background: rgba(255, 107, 0, 0.5);
  border-color: var(--orange);
}

/* ─── NAV ACTIVE AU SCROLL ─── */
.primary-nav a.is-active-scroll {
  color: var(--orange);
  border-color: rgba(255, 107, 0, 0.4);
}

.primary-nav a.is-active-scroll::after {
  width: 100%;
}

/* Cacher dots et counter sur mobile petit */
@media (max-width: 600px) {
  #section-dots { display: none; }
  #section-counter { bottom: 20px; right: 20px; }
  #section-current { font-size: 48px; }
}

/* Admin bar offset */
.admin-bar #scroll-progress { top: calc(0 + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar #scroll-progress { top: calc(64px + 46px); }
}

/* ════════════════════════════════════════
   REVEAL AU SCROLL
   ════════════════════════════════════════ */

/* Tous les éléments reveal : cachés par défaut */
[data-reveal],
.js-reveal,
.hero-block__eyebrow,
.hero-block__title,
.hero-block__title .line1,
.hero-block__title .line2,
.hero-block__title .line3,
.hero-block__desc,
.hero-block__ctas,
.section-header,
.card,
.post-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

/* Variantes directionnelles */
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="scale"] { transform: scale(0.92); }

/* Clip-in : révèle par masque */
[data-reveal="clip"] {
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s var(--ease-out), opacity 0.4s;
}

/* État visible */
[data-reveal].is-visible,
.js-reveal.is-visible,
.hero-block__eyebrow.is-visible,
.hero-block__title.is-visible,
.hero-block__title.is-visible .line1,
.hero-block__title.is-visible .line2,
.hero-block__title.is-visible .line3,
.hero-block__desc.is-visible,
.hero-block__ctas.is-visible,
.section-header.is-visible,
.card.is-visible,
.post-card.is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0% 0 0);
}

/* Stagger des lignes du titre hero */
.hero-block__title .line1 { transition-delay: 0s; }
.hero-block__title .line2 { transition-delay: 0.12s; }
.hero-block__title .line3 { transition-delay: 0.22s; }

/* Désactiver les reveals si reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .js-reveal,
  .hero-block__eyebrow,
  .hero-block__title,
  .hero-block__title .line1,
  .hero-block__title .line2,
  .hero-block__title .line3,
  .hero-block__desc,
  .hero-block__ctas,
  .section-header,
  .card,
  .post-card {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ════════════════════════════════════════
   LIGNES SVG — DESSIN PROGRESSIF
   ════════════════════════════════════════ */

/* Les SVG dans les blocs déco ont leurs paths
   préparés via JS (strokeDasharray / strokeDashoffset)
   Ce CSS assure que les paths non encore animés
   sont invisibles jusqu'au trigger */
.wp-block-punkwp-deco-section svg line,
.wp-block-punkwp-deco-section svg path,
.wp-block-punkwp-deco-section svg polyline,
.wp-block-punkwp-deco-section svg polygon,
.hero-block__deco svg line,
.hero-block__deco svg circle,
.hero-block__deco svg polygon {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* Une fois visible, le JS applique transition + dashoffset:0 */

/* ════════════════════════════════════════
   PARALLAX
   ════════════════════════════════════════ */

[data-parallax],
.hero-block__deco {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax], .hero-block__deco {
    transform: none !important;
  }
}

/* ══════════════════════════════════════
   PUNK / GRUNGE — ACCENTS GÉOMÉTRIQUES
   Couleurs complémentaires :
   - Cyan flash  #00FFFF (complément orange)
   - Magenta     #FF00AA (complément vert)
   - Jaune flash #FFE600 (complément violet)
   - Vert acide  #39FF14 (complément rouge)
   ══════════════════════════════════════ */

:root {
  --magenta:    #FF00AA;
  --acid-green: #39FF14;
}

/* ─── DÉCO COINS BISEAUTÉS FLASH ─── */
/* Ajouter data-geo="tl|tr|bl|br" sur n'importe quel élément */
[data-geo] { position: relative; }

[data-geo="tl"]::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 28px 28px 0 0;
  border-color: var(--flash-cyan) transparent transparent transparent;
  opacity: 0.6;
}
[data-geo="tr"]::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--red) transparent transparent;
  opacity: 0.7;
}
[data-geo="bl"]::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 28px 0 0 28px;
  border-color: transparent transparent transparent var(--orange);
  opacity: 0.5;
}
[data-geo="br"]::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 28px 28px;
  border-color: transparent transparent var(--flash-yellow) transparent;
  opacity: 0.5;
}

/* ─── LABELS FLASH INLINE ─── */
/* Entourer du texte de <mark class="flash-*"> */
mark.flash-cyan {
  background: transparent;
  color: var(--flash-cyan);
  -webkit-text-stroke: 0.5px rgba(0,255,255,0.3);
  font-style: normal;
}
mark.flash-magenta {
  background: transparent;
  color: var(--magenta);
}
mark.flash-yellow {
  background: transparent;
  color: var(--flash-yellow);
}
mark.flash-green {
  background: transparent;
  color: var(--acid-green);
}

/* ─── CARDS — VERSION PUNK ─── */
/* Variante .card--punk : coins flash + trait animé */
.card--punk {
  border-color: rgba(255,26,26,0.25);
}
.card--punk::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--flash-cyan), transparent);
  opacity: 0;
  transition: opacity var(--trans-base);
}
.card--punk:hover::after { opacity: 1; }

/* Corner flash cyan en haut à gauche */
.card--punk .bracket-tl {
  border-color: var(--flash-cyan);
  opacity: 0.7;
}
.card--punk .bracket-br {
  border-color: var(--orange);
  opacity: 0.7;
}

/* ─── SECTION HEADERS — ACCENTS GÉOMÉTRIQUES ─── */
.section-header__num {
  position: relative;
}
/* Triangle flash derrière le numéro */
.section-header__num::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--flash-cyan);
  opacity: 0.7;
}

/* ─── TITRES H2 — BARRE FLASH ─── */
.section h2,
.snap-section h2 {
  position: relative;
  padding-left: 0;
}
/* Pas de barre sur tous les h2, seulement section-header__num */

/* ─── BLOCS — BORDURE FLASH ALÉATOIRE ─── */
/* Ajouter .has-flash-border sur une section pour l'effet */
.has-flash-border {
  border: 1px solid var(--dark-border);
  position: relative;
}
.has-flash-border::before {
  content: '';
  position: absolute;
  top: -1px; left: 10%;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, var(--flash-cyan), transparent);
}
.has-flash-border::after {
  content: '';
  position: absolute;
  bottom: -1px; right: 10%;
  width: 20%;
  height: 1px;
  background: linear-gradient(-90deg, var(--magenta), transparent);
}

/* ─── DÉCORATION GRUNGE GLOBALE sur body ─── */
/* Trame hachures subtiles */
body::before {
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.05) 1px, transparent 1px),
    repeating-linear-gradient(
      -55deg,
      rgba(139, 0, 0, 0.015) 0px, rgba(139, 0, 0, 0.015) 1px,
      transparent 1px, transparent 22px
    );
  background-size: 60px 60px, 60px 60px, auto;
  animation: gridMove 25s linear infinite;
}

/* ─── HIGHLIGHT GRUNGE SUR TEXTE ─── */
/* Classe utilitaire .text-scratch — effet griffure sous le texte */
.text-scratch {
  position: relative;
  display: inline-block;
}
.text-scratch::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--red);
  clip-path: polygon(
    0% 0%, 8% 100%, 15% 0%, 25% 80%, 35% 20%,
    45% 100%, 55% 0%, 65% 90%, 75% 10%,
    85% 100%, 92% 20%, 100% 60%
  );
  opacity: 0.8;
}

/* ─── PILL LABEL FLASH ─── */
.pill-flash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.pill-flash--cyan  { color: var(--flash-cyan);   border-color: rgba(0,255,255,0.4);  background: rgba(0,255,255,0.05); }
.pill-flash--red   { color: var(--red);           border-color: rgba(255,26,26,0.4);  background: rgba(255,26,26,0.05); }
.pill-flash--mag   { color: var(--magenta);       border-color: rgba(255,0,170,0.4);  background: rgba(255,0,170,0.05); }
.pill-flash--green { color: var(--acid-green);    border-color: rgba(57,255,20,0.4);  background: rgba(57,255,20,0.05); }

/* ─── CARDS — ACCENT COULEUR FLASH EN COIN ─── */
.card {
  --card-flash: var(--flash-cyan);
}
.card:nth-child(2) { --card-flash: var(--orange); }
.card:nth-child(3) { --card-flash: var(--magenta); }
.card:nth-child(4) { --card-flash: var(--flash-yellow); }

/* Petite marque de couleur en bas à droite */
.card .bracket-br {
  border-color: var(--card-flash);
  opacity: 0.5;
  transition: opacity var(--trans-base);
}
.card:hover .bracket-br { opacity: 1; }

/* ─── TITRES H1 HERO — GLITCH SUBTIL ─── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes glitch-shift {
    0%,90%,100% { clip-path: none; transform: none; }
    92% { clip-path: inset(30% 0 50% 0); transform: translateX(-3px); }
    94% { clip-path: inset(60% 0 20% 0); transform: translateX(3px); }
    96% { clip-path: inset(10% 0 70% 0); transform: translateX(-2px); }
    98% { clip-path: none; transform: none; }
  }

  .hero-block__title .line2 {
    animation: glitch-shift 8s linear infinite;
  }
}

/* ─── SVG DÉCO INLINE — FORMES GÉOMÉTRIQUES ─── */
/* Classe pour insérer une forme géo flash en pseudo-élément */
.has-diamond-left {
  position: relative;
  padding-left: 24px;
}
.has-diamond-left::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Diamond flash cyan */
.has-diamond-left--cyan::before { background: var(--flash-cyan); }
.has-diamond-left--red::before  { background: var(--red); }
.has-diamond-left--mag::before  { background: var(--magenta); }

/* ─── SECTION — TRAIT DIAGONAL FLASH ─── */
.section--flash-rule {
  position: relative;
}
.section--flash-rule::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--flash-cyan) 30%,
    var(--orange) 60%,
    transparent 100%
  );
  opacity: 0.2;
}

/* ─── LABEL TAG AVEC POINT FLASH ─── */
.label::before {
  background: linear-gradient(90deg, var(--red), var(--flash-cyan));
}


/* ══════════════════════════════════════
   CARDS GRID — CSS MANQUANT
   ══════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.cards-grid[style*="repeat(1"] { grid-template-columns: 1fr; }
.cards-grid[style*="repeat(2"] { grid-template-columns: repeat(2, 1fr); }
.cards-grid[style*="repeat(4"] { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════
   FORMES GÉOMÉTRIQUES GLOBALES
   Injectées via pseudo-éléments sur
   sections, titres, blocs
   ══════════════════════════════════════ */

/* ── Formes flottantes derrière les sections ── */
.snap-section,
.section {
  isolation: isolate;
}

/* Losange flash en fond de section impaire */
.snap-section:nth-child(odd)::before,
.section:nth-child(odd)::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: rgba(255,26,26,0.04);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
  z-index: 0;
  transform: rotate(15deg);
}

/* Hexagone bordeaux en fond de section paire */
.snap-section:nth-child(even)::before,
.section:nth-child(even)::before {
  content: '';
  position: absolute;
  left: -100px; bottom: -60px;
  width: 400px; height: 400px;
  background: rgba(139,0,0,0.05);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  pointer-events: none;
  z-index: 0;
}

/* Triangle cyan coin haut droit sur tous les blocs hero */
.wp-block-punkwp-hero-block::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 200px 200px 0;
  border-color: transparent rgba(0,255,255,0.04) transparent transparent;
  pointer-events: none;
}

/* ── Formes sur les titres H2 ── */
.section-header h2 {
  position: relative;
  display: inline-block;
}

/* Barre flash sous le dernier mot du titre */
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 0;
  width: 40%; height: 2px;
  background: linear-gradient(-90deg, var(--flash-cyan), transparent);
}

/* ── Losanges décoratifs animés ── */
@keyframes diamondPulse {
  0%,100% { opacity:.4; transform: rotate(45deg) scale(1); }
  50%      { opacity:.8; transform: rotate(45deg) scale(1.15); }
}
@keyframes diamondSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Classe utilitaire : bloc avec losange animé en fond */
.has-geo-bg {
  position: relative;
  overflow: hidden;
}
.has-geo-bg::before {
  content: '';
  position: absolute;
  right: 5%; top: 10%;
  width: 180px; height: 180px;
  border: 1px solid rgba(255,107,0,0.15);
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  animation: diamondPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.has-geo-bg::after {
  content: '';
  position: absolute;
  left: 3%; bottom: 5%;
  width: 100px; height: 100px;
  border: 1px solid rgba(0,255,255,0.12);
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  animation: diamondPulse 6s ease-in-out infinite 2s;
  pointer-events: none;
  z-index: 0;
}

/* ── Croix flash sur les cards ── */
.card::after {
  content: '';
  position: absolute;
  bottom: 16px; right: 16px;
  width: 20px; height: 20px;
  background:
    linear-gradient(var(--card-flash, var(--flash-cyan)), var(--card-flash, var(--flash-cyan))) center/1px 100% no-repeat,
    linear-gradient(var(--card-flash, var(--flash-cyan)), var(--card-flash, var(--flash-cyan))) center/100% 1px no-repeat;
  opacity: 0.3;
  transition: opacity var(--trans-base);
}
.card:hover::after { opacity: 0.8; }

/* ── Triangles sur les section-header ── */
.section-header::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--red);
  margin-right: 12px;
  flex-shrink: 0;
}

/* ── Forme oblique flash en haut des sections ── */
.section--slash {
  position: relative;
}
.section--slash::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0px, var(--red) 20px,
    transparent 20px, transparent 28px,
    var(--flash-cyan) 28px, var(--flash-cyan) 32px,
    transparent 32px, transparent 60px
  );
  opacity: 0.7;
}

/* ── Grandes formes SVG injectées en déco globale ── */
/* Ces shapes sont ajoutées via JS dans main.js */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}


/* ══════════════════════════════════════
   FOOTER FANCY — CARDS DESIGN
   ══════════════════════════════════════ */
#site-footer {
  background: #060404;
  border-top: 1px solid rgba(255,26,26,0.2);
  padding: var(--space-2xl) 0 0;
  position: relative;
  overflow: hidden;
}

/* Fond grunge tramé */
#site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(-48deg, rgba(255,26,26,0.03) 0px, rgba(255,26,26,0.03) 1px, transparent 1px, transparent 22px),
    radial-gradient(ellipse at 80% 0%, rgba(255,107,0,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(139,0,0,0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* SVG déco géométrique en fond */
.footer-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.footer-geo__svg {
  width: 100%;
  height: 100%;
}

/* ── MASTHEAD ── */
.footer-masthead {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,107,0,0.12);
  margin-bottom: var(--space-xl);
}

.footer-masthead__label {
  margin-bottom: 20px;
}

.footer-masthead__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.footer-masthead__line1 {
  display: block;
  color: var(--text);
}

.footer-masthead__line2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,107,0,0.35);
  position: relative;
}

/* Trait flash magenta sous line2 */
.footer-masthead__line2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35%;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), transparent);
  opacity: 0.6;
}

.footer-masthead__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0;
}

/* ── CARDS GRILLE ── */
.footer-cards {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 1fr;
  gap: 2px;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.footer-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,107,0,0.12);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--trans-base);
  min-height: 220px;
}

.footer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.footer-card:hover { border-color: rgba(255,107,0,0.35); }
.footer-card:hover::before { transform: scaleX(1); }

/* Deco SVG flottant en fond de card */
.footer-card__deco {
  position: absolute;
  bottom: 12px; right: 12px;
  opacity: 0.5;
  pointer-events: none;
}

/* Card stat */
.footer-card--stat {
  justify-content: center;
  align-items: flex-start;
}

.footer-card__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-card__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Card tech */
.footer-card--tech { justify-content: flex-start; }

.footer-card__icon { flex-shrink: 0; }

.footer-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.footer-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* Card status */
.footer-card--status { justify-content: flex-start; }

.footer-card__status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acid-green);
  box-shadow: 0 0 8px var(--acid-green);
  animation: statusPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.footer-card__status-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.footer-card__status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,107,0,0.06);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-card__status-val {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.footer-card__status-val.ok { color: var(--acid-green); }

/* Card CTA */
.footer-card--cta {
  background: linear-gradient(135deg, #0f0608, #1a080e);
  border-color: rgba(255,26,26,0.2);
}

.footer-card__cta-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-card__cta-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

/* ── BOTTOM BAR ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,107,0,0.1);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__left,
.footer-bottom__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 1024px) {
  .footer-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-cards { grid-template-columns: 1fr; }
  .footer-masthead__title { letter-spacing: -1px; }
}


/* ══════════════════════════════════════
   FULLSCREEN VISUAL BLOCK
   ══════════════════════════════════════ */
.fullscreen-visual {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.fullscreen-visual.align-center { justify-content: center; text-align: center; }
.fullscreen-visual.align-right  { justify-content: flex-end; text-align: right; }

.fullscreen-visual__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fullscreen-visual__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) contrast(1.1);
}

.fullscreen-visual__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(6,4,4,var(--overlay-opacity,0.7)) 0%,
    rgba(26,4,8,calc(var(--overlay-opacity,0.7)*0.7)) 60%,
    rgba(6,4,4,0.3) 100%
  );
}

.fullscreen-visual__geo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.fullscreen-visual__geo svg {
  width: 100%; height: 100%;
}

.fullscreen-visual__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: var(--space-xl) var(--gutter);
}

.fullscreen-visual__label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.fullscreen-visual__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
}

/* Accent flash sur le titre */
.fullscreen-visual__title::before {
  content: '';
  position: absolute;
  left: -20px; top: 10%;
  height: 80%;
  width: 3px;
  background: linear-gradient(to bottom, var(--red), transparent);
  opacity: 0.8;
}
.align-center .fullscreen-visual__title::before,
.align-right  .fullscreen-visual__title::before { display: none; }

.fullscreen-visual__sub {
  font-size: 1.2rem;
  color: rgba(240,237,232,0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.fullscreen-visual__rule {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--flash-cyan), transparent);
  margin-top: 32px;
}
.align-center .fullscreen-visual__rule { margin-inline: auto; }

.fullscreen-visual__counter {
  position: absolute;
  bottom: 32px; right: 40px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(60px,10vw,120px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,107,0,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ══════════════════════════════════════
   SWIPER BLOCK
   ══════════════════════════════════════ */
.punkwp-swiper-wrapper {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .home .wp-block-punkwp-team-card {
    max-width: 90%;
  }
}

.punkwp-swiper {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: relative;
}

.punkwp-swiper__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.punkwp-swiper__geo svg { width: 100%; height: 100%; }

.punkwp-swiper__slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.punkwp-swiper__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.punkwp-swiper__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

.punkwp-swiper__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, rgba(6,4,4,0.82) 0%, rgba(6,4,4,0.4) 100%);
}

.punkwp-swiper__content {
  position: relative;
  z-index: 3;
  padding: var(--space-xl) var(--gutter);
  max-width: 700px;
}

.punkwp-swiper__label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.punkwp-swiper__label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--red);
}

.punkwp-swiper__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.punkwp-swiper__text {
  font-size: 1.1rem;
  color: rgba(240,237,232,0.7);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}

.punkwp-swiper__cta { display: inline-flex; }

/* Numéro slide */
.punkwp-swiper__num {
  position: absolute;
  bottom: 40px; right: 40px;
  z-index: 3;
  font-family: var(--font-display);
  pointer-events: none;
}
.punkwp-swiper__num span:first-child {
  font-size: clamp(50px,8vw,100px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,107,0,0.2);
  line-height: 1;
  display: block;
}
.punkwp-swiper__num-total {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: rgba(255,107,0,0.4);
  display: block;
  text-align: right;
}

/* Navigation flèches custom */
.punkwp-swiper__prev,
.punkwp-swiper__next {
  position: absolute;
  bottom: 40px;
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(6,4,4,0.7);
  border: 1px solid rgba(255,107,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--trans-fast);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.punkwp-swiper__prev { left: var(--gutter); }
.punkwp-swiper__next { left: calc(var(--gutter) + 56px); }
.punkwp-swiper__prev:hover,
.punkwp-swiper__next:hover {
  background: rgba(255,26,26,0.15);
  border-color: var(--orange);
  color: var(--orange);
}
.punkwp-swiper .swiper-button-prev {
  left: 30px;
}
.punkwp-swiper .swiper-button-next {
  right: 30px;
}

/* Cacher les flèches par défaut de Swiper */
.punkwp-swiper .swiper-button-prev::after,
.punkwp-swiper .swiper-button-next::after { display: none; }

/* Pagination dots custom */
.punkwp-swiper__pagination {
  position: absolute;
  bottom: 56px;
  right: calc(var(--gutter) + 120px);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.punkwp-swiper .swiper-pagination-bullet {
  width: 6px; height: 6px;
  background: rgba(255,107,0,0.3);
  border-radius: 50%;
  opacity: 1;
  transition: all 0.3s;
}
.punkwp-swiper .swiper-pagination-bullet-active {
  background: var(--orange);
  transform: scale(1.4);
}

/* Barre de progression */
.punkwp-swiper__progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,107,0,0.1);
  z-index: 10;
}
.punkwp-swiper__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange));
  width: 33%;
  transition: width 0.4s var(--ease);
}


/* ══════════════════════════════════════
   RICH CONTENT BLOCK
   ══════════════════════════════════════ */
.rich-content {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

/* Snap optionnel */
.rich-content.snap-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SVG géo en fond */
.rich-content__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 30%;
}
.rich-content__geo svg { width: 100%; height: 100%; }

.rich-content__inner { position: relative; z-index: 1; }

/* ─── HEADER ─── */
.rich-content__header { margin-bottom: var(--space-lg); }

.rich-content__label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rich-content__label::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ─── VARIANTES DE TITRE ─── */
.rich-content__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 0;
}

/* Normal */
.rich-content__title--normal  { color: var(--text); }

/* Gradient rouge → orange */
.rich-content__title--gradient {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Outline — couleur accent en text-stroke */
.rich-content__title--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent, rgba(255,107,0,0.5));
}

/* H1 imposant */
.rich-content__title--h1 {
  font-size: clamp(3.5rem, 9vw, 9rem);
  letter-spacing: -3px;
  color: var(--text);
}

/* Split — première moitié couleur, seconde outline */
.rich-content__title--split {
  position: relative;
  color: var(--text);
}
.rich-content__title--split::after {
  content: attr(data-title);
  position: absolute;
  left: 0; top: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent, rgba(255,107,0,0.3));
  clip-path: inset(0 0 0 50%);
  pointer-events: none;
}

/* ─── TRAIT DÉCORATIF ─── */
.rich-content__rule {
  height: 2px;
  width: 140px;
  margin-top: 24px;
  position: relative;
}
.rich-content__rule::after {
  content: '';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--flash-cyan);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ─── LAYOUTS BODY ─── */

/* Single colonne */
.rich-content__body--single .rich-content__col--full {
  max-width: 760px;
}

/* Deux colonnes égales */
.rich-content__body--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Deux colonnes asymétriques 2/3 + 1/3 */
.rich-content__body--two-col-asymmetric {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Titre gauche / contenu droite */
.rich-content__body--title-left {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: start;
}

/* ─── COLONNES ─── */
.rich-content__col {
  position: relative;
}

/* Bordure left accent sur toutes les colonnes */
.rich-content__col > * {
  padding-left: 20px;
  border-left: 2px solid rgba(255,107,0,0.18);
  margin-bottom: var(--space-md);
}
.rich-content__col > *:last-child { margin-bottom: 0; }

/* Retrait du border sur les éléments spéciaux */
.rich-content__col > h2,
.rich-content__col > h3,
.rich-content__col > .rich-content__aside { border-left: none; padding-left: 0; }

/* Titres dans les colonnes */
.rich-content__col h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  margin-bottom: 16px;
  color: var(--text);
}
.rich-content__col h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  padding-left: 16px;
}
.rich-content__col h3::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--orange);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.rich-content__col p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.rich-content__col p:last-child { margin-bottom: 0; }

/* Listes stylisées */
.rich-content__col ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.rich-content__col ul li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(255,107,0,0.07);
  color: var(--text-muted);
  font-size: 1rem;
  position: relative;
}
.rich-content__col ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--orange);
}

.rich-content__col ol {
  padding-left: 0;
  counter-reset: punkwp-ol;
  margin-bottom: 16px;
}
.rich-content__col ol li {
  counter-increment: punkwp-ol;
  padding: 8px 0 8px 36px;
  border-bottom: 1px solid rgba(255,107,0,0.07);
  color: var(--text-muted);
  font-size: 1rem;
  position: relative;
  list-style: none;
}
.rich-content__col ol li::before {
  content: counter(punkwp-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--red);
  top: 10px;
}

/* Bloc aside encadré (layout asymétrique) */
.rich-content__aside {
  border: 1px solid;
  padding: var(--space-md);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.rich-content__aside::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent rgba(255,107,0,0.3) transparent transparent;
}

/* Bloc accent (layout title-left) */
.rich-content__accent-block {
  border: 1px solid;
  padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 4px);
  position: sticky;
  top: 120px;
}
.rich-content__accent-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.8;
}
.rich-content__accent-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
  border: none !important;
  padding: 0 !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .rich-content__body--two-col,
  .rich-content__body--two-col-asymmetric,
  .rich-content__body--title-left {
    grid-template-columns: 1fr;
  }
  .rich-content__accent-block { position: static; }
}



/* ════════════════════════════════════════
   PUNKWP FOOTER BLOCK
   Sticky scroll-over + SVG Endfield style
   ════════════════════════════════════════ */

/* ── EFFECT STICKY SCROLL-OVER ──
   Le footer reste fixe en bas, le contenu
   passe par-dessus au scroll */
.punkwp-footer {
  background: var(--dark);
  z-index: 999;
  position: absolute;
  right: 0;
}

/* ── WRAPPER GLOBAL ── */
.punkwp-footer {
  background: #050303;
  width: 100%;
  overflow: hidden;
  padding-top: 0;
}

/* ── FOND TRAMÉ GRUNGE ── */
.punkwp-footer__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -52deg,
      rgba(255,26,26,0.025) 0px, rgba(255,26,26,0.025) 1px,
      transparent 1px, transparent 24px
    ),
    radial-gradient(ellipse at 15% 50%, rgba(139,0,0,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(255,107,0,0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ── SVG LIGNES BRISÉES (Endfield style) ── */
.punkwp-footer__lines {
  width: 100%;
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: 0;
}
.punkwp-footer__lines svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── FORMES GÉO ÉPAISSES ── */
.punkwp-footer__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 20%;
}
.punkwp-footer__shapes svg {
  width: 100%;
  height: 100%;
}

/* ── CONTENU ── */
.punkwp-footer__inner {
  position: relative;
  z-index: 3;
  padding: 0 clamp(24px,6vw,80px) 0;
}

/* ── GRILLE PRINCIPALE ── */
.punkwp-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px,6vw,100px);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255,107,0,0.12);
}

/* ── COL INFOS ── */
.punkwp-footer__kicker {
  display: block;
  font-family: var(--font-mono,'monospace');
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange,#FF6B00);
  margin-bottom: 16px;
}

.punkwp-footer__title {
  font-family: var(--font-display,'monospace');
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--text,#F0EDE8);
  margin-bottom: 20px;
}

.punkwp-footer__title-accent {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,107,0,0.5);
  display: block;
  font-size: 40px;
}

.punkwp-footer__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(240,237,232,0.65);
  max-width: 420px;
  margin-bottom: 28px;
}

/* ── BADGES ── */
.punkwp-footer__badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.punkwp-footer__badge {
  display: block;
  padding: 14px 16px;
  background: var(--badge-bg, rgba(0,255,255,0.05));
  border: 1px solid var(--badge-border, rgba(0,255,255,0.2));
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.punkwp-footer__badge:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--badge-color,#00FFFF);
}
/* Trait couleur accent en haut */
.punkwp-footer__badge::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, var(--badge-color,#00FFFF), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.punkwp-footer__badge:hover::before { opacity: 1; }

.punkwp-footer__badge strong {
  display: block;
  font-family: var(--font-display,'monospace');
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--badge-color,#00FFFF);
  margin-bottom: 3px;
}
.punkwp-footer__badge div {
  font-size: 0.85rem;
  color: rgba(240,237,232,0.55);
  line-height: 1.5;
}

/* ── LIENS CTA ── */
.punkwp-footer__links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding-top: 4px;
}

.punkwp-footer__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: rgba(240,237,232,0.65);
  position: relative;
  transition: color 0.2s, padding-left 0.25s;
  overflow: hidden;
}

/* Ligne flash gauche au hover */
.punkwp-footer__link::before {
  content:'';
  position:absolute; left:0; top:0; bottom:0;
  width:2px;
  background: var(--link-color,#00FFFF);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.punkwp-footer__link:hover { color: var(--text,#F0EDE8); padding-left: 12px; }
.punkwp-footer__link:hover::before { transform: scaleY(1); }
.punkwp-footer__link:hover .punkwp-footer__link-arrow { color: var(--link-color,#00FFFF); transform: translate(3px,-3px); }

.punkwp-footer__link-num {
  font-family: var(--font-mono,'monospace');
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  min-width: 28px;
  flex-shrink: 0;
  opacity: 0.7;
}

.punkwp-footer__link-text {
  flex: 1;
  font-family: var(--font-display,'monospace');
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.punkwp-footer__link-arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s, transform 0.2s;
}

/* Badge remerciement */
.punkwp-footer__thankyou {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(255,107,0,0.12);
  background: rgba(255,107,0,0.03);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.punkwp-footer__thankyou strong {
  display: block;
  font-family: var(--font-display,'monospace');
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange,#FF6B00);
  margin-bottom: 6px;
}
.punkwp-footer__thankyou div {
  font-size: 0.88rem;
  color: rgba(240,237,232,0.55);
  line-height: 1.6;
}

/* ── BOTTOM BAR ── */
.punkwp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  flex-wrap: wrap;
}

.punkwp-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.punkwp-footer__brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.punkwp-footer__brand span {
  font-family: var(--font-mono,'monospace');
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.4);
}

.punkwp-footer__legal {
  display: flex;
  gap: 20px;
  align-items: center;
}
.punkwp-footer__legal a,
.punkwp-footer__legal li a {
  font-family: var(--font-mono,'monospace');
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.punkwp-footer__legal a:hover,
.punkwp-footer__legal li a:hover { color: var(--orange,#FF6B00); }
.punkwp-footer__legal ul { list-style:none; display:flex; gap:16px; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .punkwp-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .punkwp-footer__desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .punkwp-footer__bottom { flex-direction: column; align-items: flex-start; }
  .punkwp-footer__title { letter-spacing: -0.5px; }
}

/* ════════════════════════════════════════
   TEAM CARD BLOCK
   ════════════════════════════════════════ */

.team-card {
  position: relative;
  overflow: hidden;
  background: #060404;
  padding: 0;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  margin: 24px 0;
}

/* ── FOND : halftone + logo géant + geo ── */
.team-card__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Trame halftone grunge */
.team-card__halftone {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px),
    repeating-linear-gradient(-48deg, rgba(255,26,26,0.02) 0px, rgba(255,26,26,0.02) 1px, transparent 1px, transparent 20px);
  background-size: 20px 20px, auto;
}

/* Logo SVG géant en fond */
.team-card__bg-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 60vw);
  height: min(500px, 60vw);
  opacity: 0.04;
  filter: blur(2px);
}
.team-card__bg-logo svg { width: 100%; height: 100%; fill: var(--tc-primary, #FF1A1A); }

.team-card__geo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 30%; }

/* ── LAYOUT ── */
.team-card__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  align-items: stretch;
}

/* Image à droite (défaut) */
.team-card--right .team-card__layout { direction: ltr; }
/* Image à gauche */
.team-card--left .team-card__layout  { direction: rtl; }
.team-card--left .team-card__content { direction: ltr; }
.team-card--left .team-card__visual  { direction: ltr; }

/* ── CONTENU ── */
.team-card__content {
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* Header */
.team-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-card__code {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Logo inline sur card */
.team-card__logo {
  width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px;
}
.team-card__logo svg { width: 100%; height: 100%; }

/* Nom équipe avec animation entrée */
.team-card__name {
  font-family: var(--font-display, monospace);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -1px;
  margin: 0;
}

.team-card__name-main {
  display: block;
  background: linear-gradient(90deg, var(--tc-primary, #FF1A1A), var(--tc-secondary, #FF6B00));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Effet glitch sur le titre au hover */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .team-card:hover .team-card__name-main {
    animation: tcGlitch 0.4s steps(2) forwards;
  }
  @keyframes tcGlitch {
    0%  { clip-path: none; transform: none; }
    25% { clip-path: inset(40% 0 40% 0); transform: translateX(-4px); }
    50% { clip-path: inset(20% 0 60% 0); transform: translateX(4px); }
    75% { clip-path: inset(60% 0 20% 0); transform: translateX(-2px); }
    100%{ clip-path: none; transform: none; }
  }
}

.team-card__tagline {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-card__tagline::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.team-card__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(240, 237, 232, 0.65);
  max-width: 440px;
  margin: 0;
}

/* ── STATS ── */
.team-card__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card__stat { position: relative; }

.team-card__stat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.team-card__stat-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.55);
}

.team-card__stat-val {
  font-family: var(--font-display, monospace);
  font-size: 1rem;
  font-weight: 900;
  color: var(--tc-primary, #FF1A1A);
}

/* Tier elite : valeur en flash */
.team-card__stat[data-tier="elite"] .team-card__stat-val {
  color: var(--tc-flash, #00FFFF);
}

.team-card__stat-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: visible;
}

.team-card__stat-fill {
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%; /* Animé via JS au reveal */
}

/* Marqueur pointe de diamant */
.team-card__stat-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px; height: 7px;
  border: 1px solid;
  background: #060404;
  transition: left 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── INFOS LISTING ── */
.team-card__infos {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-card__info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 107, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.25s var(--ease, ease);
}

/* Trait flash qui sort au hover */
.team-card__info::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--tc-flash, #00FFFF);
  transform: scaleY(0);
  transition: transform 0.2s;
}
.team-card__info:hover { padding-left: 10px; }
.team-card__info:hover::before { transform: scaleY(1); }

.team-card__info-icon {
  font-size: 14px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  transition: transform 0.2s;
}
.team-card__info:hover .team-card__info-icon { transform: scale(1.3) rotate(20deg); }

.team-card__info-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.4);
  flex-shrink: 0;
}

.team-card__info-sep {
  flex: 1;
  height: 1px;
  background: rgba(255, 107, 0, 0.12);
  margin: 0 6px;
  position: relative;
}
/* Point au milieu du séparateur */
.team-card__info-sep::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px; height: 4px;
  background: rgba(255, 107, 0, 0.2);
}

.team-card__info-val {
  font-family: var(--font-display, monospace);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(240, 237, 232, 0.88);
  flex-shrink: 0;
}

/* ── VISUEL JOUEUR ── */
.team-card__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
}

/* Halo lumineux derrière le joueur */
.team-card__halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Ligne verticale déco */
.team-card__vline {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  pointer-events: none;
}

/* Image wrapper */
.team-card__img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__img-wrap.colormode .team-card__img{
  width: 400px;
  max-height: 688px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
}

.team-card__img-wrap.colormode .team-card__img img,
.team-card__img-wrap.colormode .team-card__img svg {
  position: absolute;
  top: 0;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.team-card__img svg {
  mix-blend-mode: multiply;
}


.team-card__img {
  max-height: 520px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
  position: relative;
  z-index: 1;
  filter: contrast(1.08);
  /* Animation entrée */
  transition: transform 0.6s var(--ease, ease), filter 0.4s;
}

@media (prefers-reduced-motion: no-preference) {
  .team-card__img {
    animation: tcImgFloat 6s ease-in-out infinite;
  }
  @keyframes tcImgFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
  }
}

/* Overlay dégradé bas */
.team-card__img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  z-index: 2;
  pointer-events: none;
}

/* Scan line animée */
.team-card__img-scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--scan-color, rgba(0,255,255,0.15));
  z-index: 3;
  animation: tcScan 4s linear infinite;
  pointer-events: none;
}
@keyframes tcScan {
  0%   { top: 100%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 0%; opacity: 0; }
}

/* Placeholder sans image */
.team-card__img-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  opacity: 0.5;
}

/* Badge numéro flottant */
.team-card__badge {
  position: absolute;
  top: 24px;
  right: 20px;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  z-index: 4;
}

/* ── ANIMATION STATS AU SCROLL ── */
@media (prefers-reduced-motion: no-preference) {
  .team-card.is-visible .team-card__stat-fill {
    /* La largeur est en inline style, on démarre l'animation */
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .team-card.is-visible .team-card__stat-marker {
    transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Reset largeur avant reveal */
.team-card:not(.is-visible) .team-card__stat-fill   { width: 0% !important; }
.team-card:not(.is-visible) .team-card__stat-marker { left: 0% !important; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .team-card__layout {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  .team-card--left .team-card__layout,
  .team-card--right .team-card__layout { direction: ltr; }

  .team-card__visual { min-height: 280px; order: -1; }
  .team-card__img    { max-height: 280px; }
  .team-card__name   { font-size: clamp(1.8rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
  .team-card__content { padding: 24px; gap: 14px; }
  .team-card__badge   { top: 12px; right: 12px; }
}

/* ════════════════════════════════════════
   TEAM NAV — Navigation équipes
   Shortcode [team_nav]
   ════════════════════════════════════════ */

.team-nav-wrap {
  position: relative;
  padding: var(--space-lg, 48px) 0;
}

/* ── HEADER SECTION ── */
.team-nav-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.team-nav-header__kicker {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange, #FF6B00);
  flex-shrink: 0;
}

.team-nav-header__title {
  font-family: var(--font-display, monospace);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text, #F0EDE8);
  letter-spacing: -0.5px;
  margin: 0;
  flex-shrink: 0;
  max-width: 100%;
}

.team-nav-header__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,107,0,0.35), transparent);
  min-width: 40px;
}

.team-nav-header__count {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,107,0,0.4);
  flex-shrink: 0;
}
.team-nav-header__count::before { content: '[ '; }
.team-nav-header__count::after  { content: ' ]'; }

/* ── GRILLE NAV ── */
.team-nav {
  display: grid;
  grid-template-columns: repeat(var(--tn-cols, 4), minmax(0, 1fr));
  gap: 2px;
}

.team-wrapper.is-sticky{
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  right: 0;
  z-index: 9999;
  background-color: #000;
}

.team-wrapper.is-sticky .team-nav{ 
  padding: 0 var(--gutter);
  max-width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  body .team-wrapper.is-sticky,
  body .team-wrapper{
    overflow-y: scroll;
    scroll-behavior: smooth;
    width: auto;
    
    
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  body .team-wrapper .team-nav::-webkit-scrollbar {
    display: none;
  }

  body .team-wrapper.is-sticky .team-nav,
  body .team-wrapper .team-nav{ 
    padding: 0 0;
    max-width: 9999vw;
    margin: 0 auto;
    display: flex;
    white-space: nowrap;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    -webkit-overflow-scrolling: touch;
  }
  .team-wrapper .team-nav__item {
    min-width: 80px;
    padding: 10px 8px;
  }
  .team-wrapper .team-nav__info {
    display: none;
  }
}

/* ── ITEM ── */
.team-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  background: var(--dark-2, #0f0f0f);
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: rgba(240,237,232,0.6);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Barre couleur en haut — scale depuis gauche */
.team-nav__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tn-color, #FF1A1A), var(--tn-secondary, #FF6B00), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fond coloré subtil au hover */
.team-nav__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--tn-color, #FF1A1A)08, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.team-nav__item:hover {
  border-color: var(--tn-color, #FF1A1A);
  color: var(--text, #F0EDE8);
  background: rgba(255,255,255,0.03);
}
.team-nav__item:hover::before { transform: scaleX(1); }
.team-nav__item:hover::after  { opacity: 1; }
.team-nav__item:hover .team-nav__arrow { color: var(--tn-color); transform: translateX(4px); }
.team-nav__item:hover .team-nav__logo  { transform: scale(1.08); }
.team-nav__item:hover .team-nav__num   { color: var(--tn-color); }

/* Item actif (scroll spy) */
.team-nav__item.is-active {
  border-color: var(--tn-color);
  background: rgba(255,255,255,0.04);
}
.team-nav__item.is-active::before { transform: scaleX(1); }
.team-nav__item.is-active .team-nav__name { color: var(--tn-color); }
.team-nav__item.is-active .team-nav__num  { color: var(--tn-color); opacity: 1; }

/* ── NUM ── */
.team-nav__num {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}

/* ── LOGO ── */
.team-nav__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}
.team-nav__logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── INFOS TEXTE ── */
.team-nav__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.team-nav__code {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tn-color, #FF1A1A);
  opacity: 0.8;
  line-height: 1;
}

.team-nav__name {
  font-family: var(--font-display, monospace);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text, #F0EDE8);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.team-nav__tagline {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(240,237,232,0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

/* ── FLÈCHE ── */
.team-nav__arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}

/* ── BARRE BOTTOM (déco) ── */
.team-nav__bar {
  display: none; /* réservé pour future variante */
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .team-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team-nav { grid-template-columns: 1fr; }
  .team-nav__item { clip-path: none; }
  .team-nav__tagline { display: none; }
}


/* ════════════════════════════════════════
   CARD — VIGNETTE EN HAUT + CTA EN BAS
   À ajouter dans theme.css
   ════════════════════════════════════════ */

/* La card est une colonne flex pour pousser le CTA en bas */
.card {
  display: flex;
  flex-direction: column;
}

/* ── CONTENU : flex-grow pour pousser le CTA ── */
.card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  position: relative;
  z-index: 1;
}

/* Card sans image : le content remplit tout */
.card:not(.card--has-thumb) .card__content {
  padding: var(--space-md);
}

/* ── VIGNETTE IMAGE EN HAUT ── */
.card--has-thumb {
  padding: 0; /* l'image prend la place du padding top */
}

/* Quand image présente, le contenu reprend son padding normal */
.card--has-thumb .card__content {
  padding: var(--space-md);
}

.card__thumb {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s;
  filter: grayscale(20%) contrast(1.05);
}

.card:hover .card__thumb img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}

/* Trait flash en bas de la vignette — couleur variable */
.card__thumb-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--card-flash, var(--orange)),
    var(--red),
    transparent
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card__thumb-bar {
  transform: scaleX(1);
}

/* Dégradé subtil en bas de la vignette pour lier image et contenu */
.card__thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--dark-2, #0f0f0f));
  pointer-events: none;
}

/* ── CTA — TOUJOURS EN BAS ── */
body .entry-content .card__cta,
.card__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px var(--space-md);
  border-top: 1px solid var(--dark-border, rgba(255,107,0,0.15));
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange, #FF6B00);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s, gap 0.2s, border-color 0.2s;
  position: relative;
  z-index: 1;
  /* Séparer le texte de la flèche */
  justify-content: space-between;
}

.card__cta svg {
  flex-shrink: 0;
  transition: transform 0.2s;
  margin-left: auto;
}

.card:hover .card__cta {
  color: var(--flash-cyan, #00FFFF);
  background: rgba(0,255,255,0.04);
  border-color: rgba(0,255,255,0.2);
}

.card:hover .card__cta svg {
  transform: translateX(4px);
}

/* ── BRACKETS — z-index au-dessus du thumb ── */
.card .card__bracket-tl,
.card .card__bracket-br,
.card .bracket-tl,
.card .bracket-br {
  z-index: 2;
}

/* ════════════════════════════════════════
   GALLERY PAGE — ef-container, tabs, grid
   ════════════════════════════════════════ */

/* ── TITRE HERO ── */
.ef-container.ef-title-bloc {
  padding: calc(var(--space-xl, 80px) + 64px) var(--gutter, 40px) var(--space-lg, 48px);
  position: relative;
  overflow: hidden;
}

.ef-title-bloc::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red, #FF1A1A), var(--orange, #FF6B00), transparent);
}

.ef-title-bloc .ef-card { position: relative; z-index: 1; }

h1.ef-title {
  font-family: var(--font-display, 'Orbitron', monospace);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.95;
  color: var(--text, #F0EDE8);
  margin: 0;
  position: relative;
  display: inline-block;
}

/* Trait flash sous le titre */
h1.ef-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--red, #FF1A1A), var(--flash-cyan, #00FFFF), transparent);
}

.ef-copy {
  font-size: 1rem;
  color: rgba(240,237,232,0.55);
  margin-top: 20px;
  max-width: 600px;
}

/* ── INNER WRAPPER ── */
.inner {
  display: flex;
  flex-direction: column;
}

.inner--content {
  padding: 0;
}

/* ── TABS — STICKY ── */
.tabs {
  position: sticky;
  top: 55px; /* hauteur navbar / sidebar top */
  z-index: 100;
  background: rgba(6, 4, 4, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
  margin-left: calc(-1 * var(--gutter, 40px));
  margin-right: calc(-1 * var(--gutter, 40px));
  padding: 0 var(--gutter, 40px);
  z-index: 99999;
}

/* Décalage si sidebar desktop visible */
@media (min-width: 769px) {
  .tabs {
    top: 0; /* sidebar prend la place de la navbar */
  }
}

/* Nav principale tabs */
.tabs-sf__nav {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.tabs-sf__btn {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.45);
  text-decoration: none;
  padding: 14px 20px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.tabs-sf__btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red, #FF1A1A), var(--orange, #FF6B00));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.tabs-sf__btn:hover { color: var(--text, #F0EDE8); }
.tabs-sf__btn:hover::after,
.tabs-sf__btn.is-active::after { transform: scaleX(1); }
.tabs-sf__btn.is-active { color: var(--orange, #FF6B00); }

/* Subtabs — sous-navigation */
.subtabs-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  max-height: 100px;
  overflow: hidden;
}
.subtabs-wrapper::-webkit-scrollbar { display: none; }

.subtabs {
  padding-top: 110px;
  width: 110px;
  height: 100vw;
  overflow-y: auto;
  overflow-x: hidden;
   transform: rotate(-90deg);
  transform-origin: right top;
    transform:rotate(-90deg) translateY(-100px);
}

.subtabs a {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.35);
  text-decoration: none;
  padding: 10px 16px;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
  transform: rotate(90deg);
  transform-origin: right top;
  display: block;
  height: 110px;
}

.subtabs a span {
  display: block;
  white-space: normal;
  line-height: 0.7rem;
  font-size: 12px;
}

.subtabs a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--orange, #FF6B00);
  opacity: 0;
  transition: opacity 0.2s;
}

.subtabs a:hover { color: var(--text, #F0EDE8); }
.subtabs a:hover::before,
.subtabs a.is-active::before { opacity: 1; }
.subtabs a.is-active { color: var(--orange, #FF6B00); padding-left: 22px; }

.subtabs-sentinel {
  height: 1px;
  background: rgba(255, 107, 0, 0.08);
}

/* ── CONTENU ── */
.inner--content {
  padding: var(--space-lg, 48px) var(--gutter, 40px);
}

/* ── TITRE DE SECTION sf-title ── */
.sf-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 var(--space-lg, 48px);
  flex-wrap: wrap;
  margin-top: 40px;
}

.sf-title__bar {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.sf-title__bar span:first-child {
  display: block;
  width: 28px; height: 2px;
  background: var(--red, #FF1A1A);
}
.sf-title__bar span:last-child {
  display: block;
  width: 18px; height: 1px;
  background: var(--orange, #FF6B00);
}

.sf-title__index {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255, 107, 0, 0.4);
  flex-shrink: 0;
}

.sf-title__text {
  font-family: var(--font-display, monospace);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--text, #F0EDE8);
  flex: 1;
}

.sf-title__tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flash-cyan, #00FFFF);
  padding: 3px 10px;
  border: 1px solid rgba(0,255,255,0.25);
  background: rgba(0,255,255,0.04);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  flex-shrink: 0;
}

/* ── SOUS-TITRE h3.decorated ── */
h3.decorated {
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 107, 0, 0.6);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

h3.decorated::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--red, #FF1A1A);
  flex-shrink: 0;
}

h3.decorated::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,107,0,0.2), transparent);
  max-width: 200px;
}

/* ── GRILLE 3 COLONNES ── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: var(--space-xl, 80px);
}

/* ── CARD GALERIE ── */
.ef-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-2, #0f0f0f);
  border: 1px solid rgba(255, 107, 0, 0.1);
  display: block;
  transition: border-color 0.3s;
}
.ef-card:hover { border-color: rgba(255, 107, 0, 0.4); }

/* Trait top animé */
.ef-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red, #FF1A1A), var(--orange, #FF6B00));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}
.ef-card:hover::before { transform: scaleX(1); }

/* Coin biseauté flash */
.ef-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent rgba(0,255,255,0.25) transparent;
  z-index: 2;
  transition: border-color 0.3s;
}
.ef-card:hover::after {
  border-color: transparent transparent var(--flash-cyan, #00FFFF) transparent;
}

.ef-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Figure */
.article__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.article__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1),
              filter 0.4s;
  filter: grayscale(15%) contrast(1.05);
}

.ef-card:hover .article__figure img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}

/* Overlay dégradé sur la figure */
.article__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(6,4,4,0.85) 100%
  );
  pointer-events: none;
  transition: opacity 0.3s;
}
.ef-card:hover .article__figure::after {
  background: linear-gradient(
    to bottom,
    rgba(6,4,4,0.1) 30%,
    rgba(6,4,4,0.75) 100%
  );
}

/* Caption */
.article__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  z-index: 1;
}

.article__title {
  font-family: var(--font-display, monospace);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text, #F0EDE8);
  margin: 0;
  transition: color 0.2s;
}
.ef-card:hover .article__title { color: var(--orange, #FF6B00); }

/* ── ANCRES DE SECTION ── */
a[name] {
  display: block;
  position: relative;
  top: calc(-1 * (var(--space-lg, 48px) + 80px));
  visibility: hidden;
  pointer-events: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .tabs { margin-left: -24px; margin-right: -24px; padding: 0 24px; }
  h1.ef-title { letter-spacing: -1px; }
  .sf-title { gap: 10px; }
  .sf-title__tag { display: none; }
}


/* ════════════════════════════════════════
   SINGLE GALLERY — single-gallery.php
   ════════════════════════════════════════ */

.single-gallery-wrap {
  padding: 0 0 var(--space-xl, 80px);
}

/* ── SWIPER : images plein cadre, pas de hauteur fixe ── */
.single-gallery__swiper-wrap {
  width: 100%;
  margin-bottom: var(--space-lg, 48px);
}

.single-gallery__swiper-wrap .punkwp-swiper {
  min-height: 50vh;
}

.single-gallery__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060404;
  min-height: 50vh;
}

.single-gallery__img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;  /* contain : image entière visible */
  display: block;
}

/* ── DESCRIPTION ── */
.single-gallery__desc {
  padding: var(--space-md, 32px) var(--gutter, 40px);
  position: relative;
  border-top: 1px solid rgba(255, 107, 0, 0.12);
  border-bottom: 1px solid rgba(255, 107, 0, 0.08);
  margin-bottom: var(--space-lg, 48px);
}

.single-gallery__desc-bar {
  position: absolute;
  top: 0; left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red, #FF1A1A), var(--orange, #FF6B00));
}

.single-gallery__desc-content {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 237, 232, 0.7);
  max-width: 800px;
  padding-left: var(--gutter, 40px);
}

/* ── NAV PREV / NEXT ── */
.single-gallery__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0 var(--gutter, 40px);
}

.single-gallery__nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--dark-2, #0f0f0f);
  border: 1px solid rgba(255, 107, 0, 0.1);
  text-decoration: none;
  color: rgba(240, 237, 232, 0.6);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

/* Trait top animé */
.single-gallery__nav-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red, #FF1A1A), var(--orange, #FF6B00));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-gallery__nav-item--next::before { transform-origin: right; }

.single-gallery__nav-item:hover {
  border-color: rgba(255, 107, 0, 0.4);
  color: var(--text, #F0EDE8);
  background: rgba(255, 255, 255, 0.02);
}
.single-gallery__nav-item:hover::before { transform: scaleX(1); }

/* Next aligné à droite */
.single-gallery__nav-item--next {
  text-align: right;
  align-items: flex-end;
}

/* Direction label */
.single-gallery__nav-dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange, #FF6B00);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.single-gallery__nav-item:hover .single-gallery__nav-dir { opacity: 1; }

.single-gallery__nav-item--next .single-gallery__nav-dir { flex-direction: row-reverse; }

/* Titre */
.single-gallery__nav-title {
  font-family: var(--font-display, monospace);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text, #F0EDE8);
  line-height: 1.2;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .single-gallery__nav { grid-template-columns: 1fr; }
  .single-gallery__nav-item--next { text-align: left; align-items: flex-start; }
  .single-gallery__nav-item--next .single-gallery__nav-dir { flex-direction: row; }
  .single-gallery__desc-content { padding-left: 0; }
  .single-gallery__desc,
  .single-gallery__nav { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 768px) {
  .hero-block__title .line1{
    font-size: 40px;
  }
  .hero-block__title .line3{
    font-size: 30px;
  }

  .team-card__img-wrap{
    max-height: 60vh;
  }
}

.decorated svg{
  width: 40px;
  height: 40px;
}

.subtabs svg {
  width: 50px;
  height: 50px; 
}

.lang-item {
  list-style: none;
}
.lang-item a {
  font-size: 18px;
}

/* ═══════════════════════════════════════
   FAQ YOAST — PUNKWP STYLE
   ═══════════════════════════════════════ */

.schema-faq {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 80%;
  margin: 0 auto 6rem
}

.schema-faq-section {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans-base) var(--ease);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  cursor: pointer;
}

/* Trait gradient top — se déploie au hover/open */
.schema-faq-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 1;
}

/* Coin biseauté cyan bas-droite */
.schema-faq-section::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent rgba(0,255,255,0.1) transparent;
  transition: border-color var(--trans-base);
}

.schema-faq-section:hover,
.schema-faq-section.is-open {
  border-color: var(--dark-border-2);
}
.schema-faq-section:hover::before,
.schema-faq-section.is-open::before {
  transform: scaleX(1);
}
.schema-faq-section.is-open::after {
  border-color: transparent transparent var(--flash-cyan) transparent;
}

/* Question */
.schema-faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 52px 20px 24px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  width: 100%;
  transition: color var(--trans-fast);
  position: relative;
  cursor: pointer;
}

/* Triangle indicateur gauche */
.schema-faq-question::before {
  content: '';
  flex-shrink: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--red);
  transition: transform 0.3s var(--ease), border-color var(--trans-fast);
}

.schema-faq-section.is-open .schema-faq-question::before {
  transform: rotate(90deg);
  border-color: transparent transparent transparent var(--flash-cyan);
}

/* Croix droite */
.schema-faq-question::after {
  content: '';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background:
    linear-gradient(var(--orange), var(--orange)) center/1px 100% no-repeat,
    linear-gradient(var(--orange), var(--orange)) center/100% 1px no-repeat;
  opacity: 0.3;
  transition: opacity var(--trans-fast), transform 0.3s var(--ease);
}

.schema-faq-section.is-open .schema-faq-question::after {
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}

/* Réponse — accordéon */
.schema-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s;
  padding: 0 24px 0 48px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  position: relative;
}

/* Trait vertical cyan à gauche de la réponse */
.schema-faq-answer::before {
  content: '';
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0,255,255,0.35), transparent);
  pointer-events: none;
}

.schema-faq-section.is-open .schema-faq-answer {
  max-height: 800px;
  padding: 0 24px 24px 48px;
  border-top: 1px solid rgba(255,107,0,0.08);
}


#roofer {position: relative;}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: scrollHintFade 3s ease 2s both;
}

@keyframes scrollHintFade {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-scroll-hint__label {
  font-family: monospace;
  font-size: 9px;
  letter-spacing: .25em;
  color: rgba(255, 107, 0, 0.5);
}

.hero-scroll-hint__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-scroll-hint__arrow > svg {
  width: 22px;
  height: 36px;
}

/* Point qui descend dans le rectangle */
.hero-scroll-dot {
  animation: scrollDot 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes scrollDot {
  0%   { cy: 10; opacity: 1; }
  70%  { cy: 24; opacity: 0.2; }
  100% { cy: 10; opacity: 1; }
}

/* Chevrons en cascade */
.hero-scroll-chevrons {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.hero-scroll-chevrons svg {
  width: 18px;
  height: 9px;
  display: block;
}

.hero-scroll-chevrons svg:nth-child(1) { animation: chevronFade 1.4s ease infinite 0s; }
.hero-scroll-chevrons svg:nth-child(2) { animation: chevronFade 1.4s ease infinite .18s; }
.hero-scroll-chevrons svg:nth-child(3) { animation: chevronFade 1.4s ease infinite .36s; }

@keyframes chevronFade {
  0%,100% { opacity: 0; transform: translateY(-3px); }
  40%     { opacity: 1; transform: translateY(0); }
  70%     { opacity: 0; transform: translateY(3px); }
}