/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --bg:          #ffffff;
  --bg-alt:      #fff5fa;
  --rose:        #ff1493;
  --rose-vif:    #ff44bb;
  --rose-pale:   #ffb3d9;
  --corail:      #ff55aa;
  --jaune:       #ffd700;
  --blue:        #5599ff;
  --lavande:     #cc66ff;
  --texte:       #3a0030;
  --texte-sec:   #aa4488;
  --card-bg:     #ffffff;
  --card-border: rgba(255, 20, 147, 0.3);
  --header-h:    72px;
  --ticker-h:    32px;
  --font-mono:   'VT323', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }

/* Scrollbar Y2K 3D */
::-webkit-scrollbar { width: 16px; }
::-webkit-scrollbar-track {
  background: linear-gradient(to right, #ffe0f2, #ffcce8);
  border-left: 1px solid #ffaadd;
  box-shadow: inset 2px 0 4px rgba(255,20,147,0.08);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff99dd 0%, #ff44aa 45%, #cc0077 100%);
  border: 2px solid #ffe0f2;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.6), inset -1px -1px 0 rgba(0,0,0,0.15);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ffbbee 0%, #ff66cc 45%, #dd0088 100%);
}
::-webkit-scrollbar-button:single-button {
  background: linear-gradient(to bottom, #ffd0ee, #ff88cc);
  border: 1px solid #cc0077;
  height: 16px;
  display: block;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.55), inset -1px -1px 0 rgba(0,0,0,0.12);
}


body {
  background: var(--bg);
  color: var(--texte);
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============================================================
   FLEURS FLOTTANTES
   ============================================================ */
.flowers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.flower {
  position: absolute;
  bottom: -150px;
  animation: floatFlower linear infinite;
}

.flower-inner {
  will-change: transform;
}

/* Tailles et positions — bord gauche (2–17 %) et bord droit (80–96 %) */
.fl-1  { width: 88px;  left:  2%; animation-duration: 22s; animation-delay:  0s; }
.fl-2  { width: 110px; left: 83%; animation-duration: 28s; animation-delay:  4s; }
.fl-3  { width: 72px;  left:  7%; animation-duration: 19s; animation-delay:  7s; }
.fl-4  { width: 100px; left: 89%; animation-duration: 25s; animation-delay:  2s; }
.fl-5  { width: 82px;  left: 13%; animation-duration: 21s; animation-delay:  9s; }
.fl-6  { width: 95px;  left: 93%; animation-duration: 30s; animation-delay:  5s; }
.fl-7  { width: 68px;  left:  4%; animation-duration: 20s; animation-delay:  1s; }
.fl-8  { width: 105px; left: 86%; animation-duration: 26s; animation-delay: 11s; }
.fl-9  { width: 115px; left: 17%; animation-duration: 24s; animation-delay: 13s; }
.fl-10 { width: 78px;  left: 80%; animation-duration: 18s; animation-delay:  6s; }
.fl-11 { width: 92px;  left: 10%; animation-duration: 27s; animation-delay:  3s; }
.fl-12 { width: 98px;  left: 96%; animation-duration: 23s; animation-delay: 15s; }

@keyframes floatFlower {
  0%   { transform: translateY(0) rotate(0deg);    opacity: 0; }
  8%   { opacity: 0.45; }
  90%  { opacity: 0.28; }
  100% { transform: translateY(-115vh) rotate(480deg); opacity: 0; }
}

/* ============================================================
   TICKER / MARQUEE Y2K 3D
   ============================================================ */
.marquee-bar {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 98;
  height: var(--ticker-h);
  background: linear-gradient(to bottom, #cc0077 0%, #aa0055 100%);
  border-bottom: 3px solid #880050;
  box-shadow: 0 3px 0 #660040;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee-track {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  color: #ffccee;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: marqueeScroll 28s linear infinite;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER 3D
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  border-bottom: 3px solid #aa0060;
  box-shadow: 0 4px 0 #880050, 0 6px 18px rgba(255,20,147,0.35);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  background-clip: unset;
  flex-shrink: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 0 16px rgba(255,255,255,0.5);
  filter: none;
}

.nav { display: flex; gap: 8px; align-items: center; }

.nav-link {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  border-radius: 8px;
  border: 1px solid #aa0060;
  box-shadow: 0 3px 0 #880050, inset 0 1px 0 rgba(255,255,255,0.45);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: all 0.15s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0));
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

.nav-link::after { display: none; }

.nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #880050, 0 7px 18px rgba(255,20,147,0.4), inset 0 1px 0 rgba(255,255,255,0.45);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-link:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #880050, inset 0 1px 0 rgba(255,255,255,0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, #fff0fa 0%, #ffe8f6 50%, #ffd8f0 100%);
  padding: calc(var(--header-h) + var(--ticker-h) + 40px) 24px 80px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff1493;
  margin-bottom: 20px;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ff1493 0%, #ff66aa 35%, #ff6699 65%, #ff1493 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s linear infinite;
  filter: drop-shadow(0 2px 8px rgba(255,20,147,0.3));
}

.hero-name-light {
  font-style: italic;
  font-weight: 400;
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--texte-sec);
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #ff1493, #ff66aa, #ff6699);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.88rem;
  color: var(--texte-sec);
  margin-bottom: 40px;
  box-shadow: 0 3px 0 rgba(255,105,180,0.45), 0 4px 12px rgba(255,20,147,0.1), inset 0 1px 0 #ffffff;
}

.badge-pulse {
  width: 8px; height: 8px;
  background: #ff1493;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,20,147,0.8);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,20,147,0.6); }
  50%       { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255,20,147,0); }
}

/* Bouton CTA 3D shiny */
.btn-cta {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 20px 60px;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid #aa0060;
  transition: all 0.15s ease;
  box-shadow: 0 5px 0 #880050, 0 7px 22px rgba(255,20,147,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.0));
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #880050, 0 10px 30px rgba(255,20,147,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-cta:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #880050, 0 2px 8px rgba(255,20,147,0.3), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Anneaux décoratifs */
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spinRing linear infinite;
}

.deco-ring-1 {
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 20, 147, 0.18);
  animation-duration: 30s;
}

.deco-ring-2 {
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 102, 170, 0.12);
  animation-duration: 45s;
  animation-direction: reverse;
}

.deco-ring-3 {
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 105, 153, 0.08);
  animation-duration: 60s;
}

@keyframes spinRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: 90px 0;
  background: var(--bg);
  border-top: 1px solid rgba(255, 20, 147, 0.1);
}

.section-alt { background: var(--bg-alt); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(90deg, #ff1493 0%, #ff66aa 50%, #ff6699 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: var(--font-mono);
  color: var(--texte-sec);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* ============================================================
   FILTRES 3D
   ============================================================ */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  color: var(--texte-sec);
  background: linear-gradient(to bottom, #ffffff 0%, #ffe8f4 100%);
  border: 1px solid #ffaadd;
  transition: all 0.2s ease;
  min-height: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 0 #ffaadd, 0 4px 10px rgba(255,20,147,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

.filter-btn:hover {
  color: #ff1493;
  border-color: #ff88cc;
  background: linear-gradient(to bottom, #fff5fc 0%, #ffd0ee 100%);
  box-shadow: 0 4px 0 #ff88cc, 0 6px 14px rgba(255,20,147,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

.filter-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #ffaadd, inset 0 1px 0 rgba(255,255,255,0.9);
}

.filter-btn.active {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  color: #fff;
  border: 1px solid #aa0060;
  box-shadow: 0 3px 0 #880050, 0 5px 14px rgba(255,20,147,0.35), inset 0 1px 0 rgba(255,255,255,0.45);
}

.filter-btn.active::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0.0));
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

/* ============================================================
   GRILLE COMPÉTENCES — DOSSIERS 3D
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 4px;
}

.comp-card {
  background: linear-gradient(to bottom, #ffffff 0%, #fff5fb 100%);
  border: 1px solid rgba(255, 105, 180, 0.35);
  border-radius: 0 16px 16px 16px;
  padding: 32px 28px;
  cursor: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  opacity: 0;
  transform: translateY(30px);
  min-height: 44px;
  margin-top: 28px;
  box-shadow: 0 4px 0 rgba(255,105,180,0.5), 0 6px 18px rgba(255,20,147,0.08), inset 0 1px 0 #ffffff;
}

.comp-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.comp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,20,147,0.5);
  box-shadow: 0 8px 0 rgba(255,20,147,0.4), 0 12px 28px rgba(255,20,147,0.18), inset 0 1px 0 #ffffff;
}

.comp-card.hidden { display: none; }

/* Onglet dossier */
.comp-card::before {
  content: '';
  position: absolute;
  top: -28px; left: -1px;
  width: 44%; height: 28px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  pointer-events: none;
  transition: background 0.3s ease;
}

.comp-card[data-pole="Bloc 1"]::before {
  content: 'Bloc 1';
  color: #ffffff;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 100%);
  border: 1px solid #ff44aa;
  border-bottom: none;
  box-shadow: 0 -2px 6px rgba(255,20,147,0.2), inset 0 1px 0 rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.comp-card[data-pole="Bloc 2"]::before {
  content: 'Bloc 2';
  color: #ffffff;
  background: linear-gradient(to bottom, #ffaaee 0%, #ff77cc 100%);
  border: 1px solid #dd0099;
  border-bottom: none;
  box-shadow: 0 -2px 6px rgba(255,85,170,0.2), inset 0 1px 0 rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.comp-card[data-pole="Bloc 3"]::before {
  content: 'Bloc 3';
  color: #ffffff;
  background: linear-gradient(to bottom, #ffd0ee 0%, #ff99cc 100%);
  border: 1px solid #ee88bb;
  border-bottom: none;
  box-shadow: 0 -2px 6px rgba(255,153,204,0.2), inset 0 1px 0 rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.comp-card[data-pole="Bloc 1"]:hover::before { background: linear-gradient(to bottom, #ffbbee 0%, #ff77cc 100%); }
.comp-card[data-pole="Bloc 2"]:hover::before { background: linear-gradient(to bottom, #ffbbee 0%, #ff88dd 100%); }
.comp-card[data-pole="Bloc 3"]:hover::before { background: linear-gradient(to bottom, #ffd0ee 0%, #ff88cc 100%); }

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.card-icon-sm {
  width: 20px;
  height: 20px;
  color: #ff1493;
  flex-shrink: 0;
  opacity: 0.7;
}

.card-icon-sm svg { width: 100%; height: 100%; }

.card-pole {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.pole-1 { background: rgba(255,20,147,0.1);  color: #cc0077; border: 1px solid rgba(255,20,147,0.3); }
.pole-2 { background: rgba(255,85,170,0.1);   color: #cc0066; border: 1px solid rgba(255,85,170,0.3); }
.pole-3 { background: rgba(255,153,204,0.1);  color: #cc4499; border: 1px solid rgba(255,153,204,0.3); }

.card-id {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff1493;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #ff1493;
  background-clip: unset;
  margin-bottom: 0;
  line-height: 1;
  text-shadow: none;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texte);
  line-height: 1.5;
  margin-bottom: 16px;
  margin-top: 8px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,20,147,0.12);
}

.card-count { font-size: 0.8rem; color: var(--texte-sec); }
.card-count.en-cours { color: #ff99cc; font-style: italic; }

.card-arrow {
  font-size: 1rem;
  color: #ff1493;
  transition: transform 0.3s ease;
  display: inline-block;
  font-weight: 600;
  text-shadow: none;
}

.comp-card:hover .card-arrow { transform: translateX(6px); }

/* ============================================================
   À PROPOS
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  padding: 8px 0;
}

.about-left {
  position: relative;
  padding-right: 32px;
}

.about-left::after {
  content: '';
  position: absolute;
  right: 0; top: 4px;
  height: 80px; width: 1px;
  background: linear-gradient(to bottom, #ff1493, transparent);
  opacity: 0.5;
}

.about-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--texte);
  background: none;
  -webkit-text-fill-color: var(--texte);
  margin-bottom: 10px;
  line-height: 1.15;
  text-shadow: none;
}

.about-role {
  font-size: 0.82rem;
  color: #ff1493;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
  text-shadow: none;
}

.about-meta {
  font-size: 0.78rem;
  color: var(--texte-sec);
  font-style: italic;
  opacity: 0.8;
  line-height: 1.6;
}

.about-desc { color: var(--texte-sec); font-size: 0.95rem; line-height: 1.85; }
.about-desc strong { color: var(--texte); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-content { max-width: 480px; margin: 0 auto; text-align: center; }
.contact-text { color: var(--texte-sec); font-size: 1rem; margin-bottom: 32px; line-height: 1.85; }
.contact-info { display: flex; flex-direction: column; gap: 6px; }
.contact-line { font-size: 0.88rem; color: var(--texte-sec); opacity: 0.8; }

/* ============================================================
   VUE DÉTAIL
   ============================================================ */
#view-detail {
  padding-top: calc(var(--header-h) + var(--ticker-h) + 40px);
  padding-bottom: 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Bouton retour 3D */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(to bottom, #ffffff 0%, #fff0f8 100%);
  border: 1px solid rgba(255,20,147,0.35);
  border-radius: 50px;
  color: #ff1493;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  margin-bottom: 40px;
  min-height: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 0 rgba(255,105,180,0.5), 0 4px 12px rgba(255,20,147,0.1), inset 0 1px 0 #ffffff;
}

.btn-back::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

.btn-back:hover {
  background: linear-gradient(to bottom, #fff5fc 0%, #ffe0f4 100%);
  border-color: #ff88cc;
  transform: translateX(-2px);
  box-shadow: 0 4px 0 rgba(255,105,180,0.55), 0 6px 16px rgba(255,20,147,0.18), inset 0 1px 0 #ffffff;
}

.detail-header { margin-bottom: 48px; }

.detail-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.detail-id {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff1493, #ff66aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--texte);
}

.detail-sep {
  height: 3px; width: 80px;
  background: linear-gradient(90deg, #ff1493, #ff66aa);
  border-radius: 3px;
  margin-bottom: 48px;
  box-shadow: 0 2px 8px rgba(255,20,147,0.4);
}

.travaux-list { display: flex; flex-direction: column; gap: 32px; }

/* ============================================================
   SLIDE CARDS 3D — structure CCF E1
   ============================================================ */
.slide-card {
  background: linear-gradient(to bottom, #ffffff 0%, #fff8fc 100%);
  border: 1px solid rgba(255, 105, 180, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 0 rgba(255,105,180,0.45), 0 6px 20px rgba(255,20,147,0.08), inset 0 1px 0 #ffffff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,20,147,0.45);
  box-shadow: 0 7px 0 rgba(255,105,180,0.5), 0 12px 36px rgba(255,20,147,0.14), inset 0 1px 0 #ffffff;
}

.slide-header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(255, 105, 180, 0.15);
  background: linear-gradient(160deg, rgba(255,200,230,0.2) 0%, rgba(255,255,255,0.05) 100%);
}

.slide-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.slide-type-icon { width: 20px; height: 20px; color: rgba(255,20,147,0.5); flex-shrink: 0; }
.slide-type-icon svg { width: 100%; height: 100%; }

.slide-titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--texte);
  line-height: 1.35;
  flex: 1;
}

.slide-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; }

.slide-meta-row {
  margin-top: 12px;
  padding-left: 46px;
  font-size: 0.82rem;
  color: var(--texte-sec);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  line-height: 1.6;
}

.slide-meta-label { font-weight: 600; color: #ff1493; margin-right: 4px; }
.slide-meta-sep { color: rgba(255,20,147,0.35); margin: 0 10px; font-size: 1rem; }

.slide-field {
  padding: 0 0 20px 0;
  border-left: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,20,147,0.08);
}

.slide-field:last-child { padding-bottom: 0; border-bottom: none; }
.slide-field-realise { background: none; }
.slide-field-appris  { background: none; }
.slide-field-progres { background: none; }

.slide-field-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-field-label::before { content: '✦'; font-size: 0.5rem; font-style: normal; flex-shrink: 0; opacity: 0.85; }

.slide-field-realise .slide-field-label { color: #ff1493; }
.slide-field-realise .slide-field-label::before { color: #ff1493; }
.slide-field-appris  .slide-field-label { color: #cc0066; }
.slide-field-appris  .slide-field-label::before { color: #cc0066; }
.slide-field-progres .slide-field-label { color: #ff99cc; }
.slide-field-progres .slide-field-label::before { color: #ff99cc; }

.slide-field-text { font-size: 0.9rem; color: var(--texte-sec); line-height: 1.75; padding-left: 18px; }

.slide-footer {
  padding: 16px 28px 22px;
  border-top: 1px solid rgba(255,20,147,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.slide-annexes { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }

.slide-annexes-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--texte-sec);
  opacity: 0.8;
}

.slide-annexes-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* Bouton annexe 3D */
.btn-annexe {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: linear-gradient(to bottom, #ffffff 0%, #fff0f8 100%);
  border: 1px solid rgba(255,20,147,0.25);
  border-radius: 50px;
  color: var(--texte-sec);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
  min-height: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(255,105,180,0.4), inset 0 1px 0 #ffffff;
}

.btn-annexe::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

.btn-annexe:hover {
  background: linear-gradient(to bottom, #fff5fc 0%, #ffe0f4 100%);
  border-color: #ff88cc;
  color: #ff1493;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(255,105,180,0.45), inset 0 1px 0 #ffffff;
}

.btn-annexe-icon { width: 14px; height: 14px; color: #ff88cc; flex-shrink: 0; }
.btn-annexe-icon svg { width: 100%; height: 100%; }

.travaux-grid { display: flex; flex-direction: column; gap: 24px; }
.travail-icon-wrap { width: 36px; height: 36px; color: #ff1493; }
.travail-icon-wrap svg { width: 100%; height: 100%; }
.travail-title { font-size: 1rem; font-weight: 600; color: var(--texte); line-height: 1.4; }
.travail-desc  { font-size: 0.85rem; color: var(--texte-sec); line-height: 1.7; flex-grow: 1; }

.travail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.badge-type {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.badge-pdf { background: rgba(255,20,147,0.08);  color: #cc0077; border: 1px solid rgba(255,20,147,0.25); }
.badge-odt { background: rgba(204,0,102,0.08);    color: #aa0055; border: 1px solid rgba(204,0,102,0.25); }
.badge-ods { background: rgba(255,153,204,0.08);  color: #cc4499; border: 1px solid rgba(255,153,204,0.25); }

.slide-header-inner .badge-type {
  background: transparent; border: none;
  font-size: 0.62rem; color: var(--texte-sec);
  opacity: 0.55; padding: 0 2px; letter-spacing: 0.5px;
}

/* Bouton consulter 3D */
.btn-consulter {
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid #aa0060;
  transition: all 0.15s;
  box-shadow: 0 3px 0 #880050, 0 5px 12px rgba(255,20,147,0.35), inset 0 1px 0 rgba(255,255,255,0.45);
  min-height: 44px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.btn-consulter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0.0));
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

.btn-consulter:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #880050, 0 8px 18px rgba(255,20,147,0.45), inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn-consulter:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #880050, inset 0 1px 0 rgba(255,255,255,0.45);
}

.no-travaux { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--texte-sec); }
.no-travaux-icon { width: 56px; height: 56px; margin: 0 auto 20px; color: rgba(255,20,147,0.35); }
.no-travaux-icon svg { width: 100%; height: 100%; }
.no-travaux p { font-size: 1.05rem; font-style: italic; }

/* ============================================================
   FOOTER 3D
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  border-top: 3px solid #aa0060;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1rem;
  box-shadow: 0 -4px 0 #880050;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0));
  pointer-events: none;
}

.footer-sub { margin-top: 6px; font-size: 0.78rem; opacity: 0.85; position: relative; }

/* ============================================================
   STATS HERO (legacy conservé)
   ============================================================ */
.hero-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,20,147,0.2);
  border-radius: 60px;
  padding: 12px 0;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(255,20,147,0.08), inset 0 1px 0 #ffffff;
}

.stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 24px; }

.stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #ff1493, #ff66aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--texte-sec); font-weight: 500; }
.stat-sep { width: 1px; height: 32px; background: rgba(255,20,147,0.2); flex-shrink: 0; }

/* ============================================================
   STATS Y2K (section compétences)
   ============================================================ */
.stats-y2k {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.stat-y2k {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 36px;
  background: linear-gradient(to bottom, #ffffff 0%, #fff0f8 100%);
  border: 2px solid;
  position: relative;
  min-width: 120px;
}

.stat-y2k::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-top: 1px solid rgba(255,255,255,0.95);
  border-left: 1px solid rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.08);
  pointer-events: none;
}

.stat-y2k + .stat-y2k { border-left: none; }

.stat-y2k-p1, .stat-y2k-p2, .stat-y2k-p3 { border-color: #ff1493; box-shadow: 0 3px 0 #cc0077, 0 5px 14px rgba(255,20,147,0.18); }

.stat-y2k-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.stat-y2k-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

.stat-y2k-p1 .stat-y2k-num, .stat-y2k-p1 .stat-y2k-label,
.stat-y2k-p2 .stat-y2k-num, .stat-y2k-p2 .stat-y2k-label,
.stat-y2k-p3 .stat-y2k-num, .stat-y2k-p3 .stat-y2k-label { color: #ff1493; }

/* ============================================================
   SECTIONS PÔLE
   ============================================================ */
.pole-section { margin-bottom: 60px; }
.pole-section:last-child { margin-bottom: 0; }

.pole-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding: 12px 22px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.pole-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  border-radius: 10px 10px 0 0;
  pointer-events: none;
  z-index: 0;
}

.pole-header-p1, .pole-header-p2, .pole-header-p3 {
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 40%, #ff1493 60%, #cc0077 100%);
  border: 1px solid #aa0060;
  box-shadow: 0 4px 0 #880050, 0 5px 14px rgba(255,20,147,0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}

.pole-label { font-family: var(--font-mono); font-size: 1rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; position: relative; z-index: 1; }
.pole-label-p1 { background: none; color: rgba(255,255,255,0.85); }
.pole-label-p2 { background: none; color: rgba(255,255,255,0.85); }
.pole-label-p3 { background: none; color: rgba(255,255,255,0.85); }

.pole-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0; position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }

.pole-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.comp-card[data-pole="Bloc 1"] { border-left: 2px solid rgba(255,20,147,0.4); }
.comp-card[data-pole="Bloc 2"] { border-left: 2px solid rgba(255,85,170,0.4); }
.comp-card[data-pole="Bloc 3"] { border-left: 2px solid rgba(255,153,204,0.4); }

.comp-card[data-pole="Bloc 2"] .card-id { color: #cc0066; -webkit-text-fill-color: #cc0066; }
.comp-card[data-pole="Bloc 3"] .card-id { color: #cc4499; -webkit-text-fill-color: #cc4499; }

/* ============================================================
   VUE PÔLE
   ============================================================ */
#view-pole {
  padding-top: calc(var(--header-h) + var(--ticker-h) + 40px);
  padding-bottom: 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

#view-pole .pole-grid { margin-top: 16px; }

/* ============================================================
   DOSSIERS PÔLES — grille principale
   ============================================================ */
.pole-folders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding-top: 4px;
}

.pole-folder {
  background: linear-gradient(to bottom, #ffffff 0%, #fff5fb 100%);
  border: 1px solid rgba(255, 105, 180, 0.35);
  border-radius: 0 24px 24px 24px;
  padding: 44px 32px 36px;
  position: relative;
  overflow: visible;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.35s ease;
  margin-top: 44px;
  box-shadow: 0 5px 0 rgba(255,105,180,0.5), 0 7px 24px rgba(255,20,147,0.08), inset 0 1px 0 #ffffff;
}

.pole-folder.visible { opacity: 1; transform: translateY(0); }

.pole-folder:hover {
  transform: translateY(-8px);
  border-color: rgba(255,20,147,0.5);
  box-shadow: 0 10px 0 rgba(255,20,147,0.35), 0 16px 40px rgba(255,20,147,0.18), inset 0 1px 0 #ffffff;
}

/* Onglet dossier pôle */
.pole-folder::before {
  position: absolute;
  top: -44px; left: -1px;
  width: 52%; height: 44px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  pointer-events: none;
}

.pole-folder-p1::before, .pole-folder-p2::before, .pole-folder-p3::before {
  color: #ffffff;
  background: linear-gradient(to bottom, #ff99dd 0%, #ff55bb 100%);
  border: 1px solid #ff44aa; border-bottom: none;
  box-shadow: 0 -3px 10px rgba(255,20,147,0.2), inset 0 1px 0 rgba(255,255,255,0.5);
}
.pole-folder-p1::before { content: 'Bloc 1'; }
.pole-folder-p2::before { content: 'Bloc 2'; }
.pole-folder-p3::before { content: 'Bloc 3'; }

.pole-folder-p1:hover::before,
.pole-folder-p2:hover::before,
.pole-folder-p3:hover::before { background: linear-gradient(to bottom, #ffbbee 0%, #ff77cc 100%); }

.pole-folder-p1, .pole-folder-p2, .pole-folder-p3 { border-left: 2px solid rgba(255,20,147,0.5); }

.pole-folder-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}

.pole-folder-icon { width: 36px; height: 36px; flex-shrink: 0; opacity: 0.75; }
.pole-folder-icon svg { width: 100%; height: 100%; }
.pole-folder-p1 .pole-folder-icon,
.pole-folder-p2 .pole-folder-icon,
.pole-folder-p3 .pole-folder-icon { color: #ff1493; }

.pole-folder-id {
  font-family: var(--font-mono);
  font-size: 1.1rem; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase;
}
.pole-folder-p1 .pole-folder-id,
.pole-folder-p2 .pole-folder-id,
.pole-folder-p3 .pole-folder-id { color: #ff1493; }

.pole-folder-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--texte); line-height: 1.3; margin-bottom: 12px;
}

.pole-folder-desc {
  font-size: 0.8rem; color: var(--texte-sec); line-height: 1.75; margin-bottom: 24px;
}

.pole-folder-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,20,147,0.12);
}

.pole-folder-count { font-family: var(--font-mono); font-size: 0.95rem; color: var(--texte-sec); }

.pole-folder-arrow {
  font-size: 1.1rem; font-weight: 700; transition: transform 0.3s; display: inline-block;
}
.pole-folder-p1 .pole-folder-arrow,
.pole-folder-p2 .pole-folder-arrow,
.pole-folder-p3 .pole-folder-arrow { color: #ff1493; }

.pole-folder:hover .pole-folder-arrow { transform: translateX(6px); }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.hidden { display: none !important; }

.fade-in { animation: fadeIn 0.45s ease forwards; }

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

/* ============================================================
   RESPONSIVE — Tablette
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid         { grid-template-columns: repeat(2, 1fr); }
  .travaux-grid       { grid-template-columns: repeat(2, 1fr); }
  .pole-grid          { grid-template-columns: repeat(3, 1fr); }
  .pole-folders-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; gap: 28px; }
  .about-left { padding-right: 0; }
  .about-left::after { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 300px;
    height: 100vh;
    background: linear-gradient(to bottom, #ff99dd, #ff55bb, #ff1493);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    transition: right 0.4s ease;
    border-left: 3px solid #aa0060;
    z-index: 105;
    box-shadow: -4px 0 24px rgba(255,20,147,0.35);
  }

  .nav.open { right: 0; }
  .nav-link {
    background: linear-gradient(to bottom, #ffffff 0%, #ffe0f0 100%);
    color: #cc0077;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 3px 0 rgba(170,0,80,0.2), inset 0 1px 0 rgba(255,255,255,0.95);
    text-shadow: none;
    font-size: 0.82rem;
    padding: 12px 36px;
    border-radius: 8px;
    display: block;
    width: 80%;
    text-align: center;
  }
  .nav-link:hover {
    background: linear-gradient(to bottom, #fff5fa 0%, #ffccee 100%);
    color: #aa0055;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(170,0,80,0.25), inset 0 1px 0 rgba(255,255,255,0.95);
  }
  .nav-toggle { display: flex; }

  .cards-grid         { grid-template-columns: 1fr; gap: 32px; }
  .travaux-grid       { flex-direction: column; }
  .pole-grid          { grid-template-columns: 1fr; gap: 32px; }
  .pole-folders-grid  { grid-template-columns: 1fr; gap: 40px; }
  .stats-y2k    { flex-direction: column; align-items: center; }
  .stat-y2k + .stat-y2k { border-left: 2px solid; border-top: none; }
  .stat-y2k-p2, .stat-y2k-p3 { border-left-color: #ff1493; }
  .slide-meta-row { padding-left: 0; margin-top: 10px; }
  .slide-header   { padding: 18px 20px 14px; }
  .slide-body     { padding: 18px 20px; }
  .slide-footer   { padding: 14px 20px 18px; }
  .slide-annexes  { width: 100%; }
  .pole-header    { padding: 10px 12px; gap: 12px; }
  .pole-name      { font-size: 1rem; }
  .about-content  { gap: 20px; }
  .contact-content { padding: 0 4px; }
  .detail-title   { font-size: 1.5rem; }
  .section        { padding: 60px 0; }
  .hero           { padding: calc(var(--header-h) + var(--ticker-h) + 20px) 16px 60px; }
  .deco-ring-1    { width: 300px; height: 300px; }
  .deco-ring-2    { width: 420px; height: 420px; }
  .deco-ring-3    { display: none; }
}

@media (max-width: 400px) {
  .btn-cta    { padding: 16px 32px; font-size: 1rem; }
  .filter-btn { padding: 8px 18px; font-size: 0.82rem; }
}
