/* ==============================================
   home.css — Styles spécifiques à index.html
   Phase 5 Creative Coding — Arthur Viaud Portfolio
   DA : #0A0F1E · #00F2EA · #8A2BE2 · glassmorphism
============================================== */

/* ==============================================
   LOADING SCREEN
============================================== */
#loader {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all;
}
.loader-curtain {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: #0A0F1E;
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.lc-left  { left: 0; }
.lc-right { right: 0; }
#loader.dismissing .lc-left  { transform: translateX(-101%); }
#loader.dismissing .lc-right { transform: translateX(101%); }

.loader-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}

#loader-logo {
  display: flex; gap: 1px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 92px);
  letter-spacing: 4px;
  color: var(--teal);
  filter: drop-shadow(0 0 24px rgba(0, 242, 234, 0.45)) drop-shadow(0 0 60px rgba(138, 43, 226, 0.3));
}
.ll {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: loaderLetter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
/* Delays set inline via CSS custom property --li */
.ll:nth-child(1) { animation-delay: 0.00s; }
.ll:nth-child(2) { animation-delay: 0.03s; }
.ll:nth-child(3) { animation-delay: 0.06s; }
.ll:nth-child(4) { animation-delay: 0.09s; }
.ll:nth-child(5) { animation-delay: 0.12s; }
.ll:nth-child(6) { animation-delay: 0.15s; }
.ll:nth-child(7) { animation-delay: 0.18s; color: rgba(138,43,226,0.9); }
@keyframes loaderLetter {
  to { opacity: 1; transform: translateY(0); }
}

.loader-bar-wrap {
  width: min(280px, 60vw); height: 2px;
  background: rgba(240, 236, 226, 0.07);
  border-radius: 2px; overflow: hidden;
  opacity: 0; animation: loaderBarFade 0.3s ease forwards 0.35s;
}
@keyframes loaderBarFade { to { opacity: 1; } }

#loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), rgba(138, 43, 226, 0.8));
  border-radius: 2px;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(0, 242, 234, 0.6);
}

/* ==============================================
   SPOTLIGHT CURSOR
============================================== */
#spotlight {
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none;
  will-change: background;
}

/* ==============================================
   GRID OVERLAY (§5.11)
============================================== */
.grid-overlay {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 79px, rgba(240,236,226,0.025) 80px),
    repeating-linear-gradient(90deg,  transparent, transparent 79px, rgba(240,236,226,0.025) 80px);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(0,0,0,0.8) 0%, transparent 100%);
  mask-image:         radial-gradient(ellipse 80% 70% at 50% 30%, rgba(0,0,0,0.8) 0%, transparent 100%);
  will-change: transform;
}
@media (max-width: 768px) { .grid-overlay { display: none; } }

/* ==============================================
   HERO
============================================== */
.hero {
  position: relative; z-index: 10;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 110px 56px 70px;
  overflow: hidden;
}

/* Parallax layers */
.hero-layer {
  position: absolute; inset: 0;
  pointer-events: none; will-change: transform;
}

/* Couche 1 — mini grille */
.hero-grid-layer {
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 59px, rgba(240,236,226,0.03) 60px),
    repeating-linear-gradient(90deg,  transparent, transparent 59px, rgba(240,236,226,0.03) 60px);
  opacity: 0.6;
}

/* Couche 2 — halos */
.hero-halos { will-change: transform; }
.halo {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.h1 {
  width: 380px; height: 380px;
  background: var(--teal); opacity: 0.14;
  top: 5%; right: 8%;
}
.h2 {
  width: 300px; height: 300px;
  background: var(--mauve); opacity: 0.18;
  top: 30%; right: 22%;
}
.h3 {
  width: 220px; height: 220px;
  background: var(--teal); opacity: 0.09;
  bottom: 15%; right: 5%;
}

/* Hero layout */
.hero-wrap {
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 290px;
  gap: 72px; align-items: center;
  position: relative; z-index: 5;
}

/* Text column — parallax target */
.hero-text-col { will-change: transform; }

/* Entrée hero — tous les éléments partent à opacity:0, JS les révèle */
.hero-enter { opacity: 0; }

/* Eyebrow */
.h-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.e-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 242, 234, 0.55); }
  50%       { box-shadow: 0 0 0 8px rgba(0, 242, 234, 0); }
}
.e-txt {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal);
}

/* Hero name */
.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(84px, 12vw, 152px);
  line-height: 0.87; letter-spacing: 2px;
  will-change: transform;
}
.hn-line { display: block; overflow: hidden; }
.hn-solid { color: var(--cream); display: inline-block; }
.hn-stroke {
  -webkit-text-stroke: 2px rgba(240, 236, 226, 0.2);
  color: transparent; display: inline-block;
}
.hn-teal { color: var(--teal); display: inline-block; }

/* Tagline */
.hero-tagline {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300; font-style: italic;
  color: var(--muted); line-height: 1.7;
  max-width: 520px; margin-top: 24px;
  will-change: transform;
}
.hero-tagline strong { font-style: normal; font-weight: 500; color: var(--cream); }

/* Buttons */
.hero-btns {
  margin-top: 42px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.dispo-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--glass-bg); border: var(--glass-bd);
  backdrop-filter: var(--glass-blur);
  padding: 7px 16px; border-radius: 100px;
  font-size: 12px; color: var(--teal);
}
.dp-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); animation: pulseDot 2s ease infinite 0.4s;
}

/* CTA enhanced hover (§5.5) */
.btn-primary {
  box-shadow: 0 0 0 0 rgba(0, 242, 234, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 24px 4px rgba(0, 242, 234, 0.25);
}
.btn-ghost {
  border: 1px solid rgba(138, 43, 226, 0.5);
  padding: 14px 0; padding-bottom: 3px;
  color: var(--muted);
}
.btn-ghost:hover {
  border-color: rgba(138, 43, 226, 0.9);
  box-shadow: 0 0 20px 2px rgba(138, 43, 226, 0.2);
  color: var(--cream);
}

/* ==============================================
   PHOTO ZONE (§5.9)
============================================== */
.photo-zone { will-change: transform; }

.photo-frame {
  width: 100%; aspect-ratio: 0.78;
  border-radius: 8px 50px 8px 50px;
  background: var(--glass-bg);
  border: var(--glass-bd);
  backdrop-filter: var(--glass-blur);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
/* Si une vraie photo est ajoutée */
.photo-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; z-index: 1;
}
.photo-frame::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,242,234,0.06), transparent 55%);
  z-index: 2; pointer-events: none;
}
.photo-frame::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 38%;
  background: linear-gradient(to top, rgba(10,15,30,0.55), transparent);
  z-index: 2; pointer-events: none;
}

/* Corners */
.corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--teal); border-style: solid; opacity: 0.4; z-index: 3;
}
.c-tl { top: 13px; left: 13px;    border-width: 1px 0 0 1px; }
.c-tr { top: 13px; right: 13px;   border-width: 1px 1px 0 0; }
.c-bl { bottom: 13px; left: 13px;  border-width: 0 0 1px 1px; }
.c-br { bottom: 13px; right: 13px; border-width: 0 1px 1px 0; }

/* SVG Silhouette */
.ph-silhouette {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; z-index: 1;
}
.ph-silhouette svg {
  width: 55%; height: auto; opacity: 0.9;
}
.sil-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawSilhouette 8s ease-in-out infinite;
}
@keyframes drawSilhouette {
  0%   { stroke-dashoffset: 900; }
  45%  { stroke-dashoffset: 0;   }
  80%  { stroke-dashoffset: 0;   }
  100% { stroke-dashoffset: 900; }
}

/* Particules flottantes */
.ph-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.ph-particle {
  position: absolute; border-radius: 50%;
  animation: particleFloat var(--dur, 6s) ease-in-out infinite var(--del, 0s);
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-12px) scale(1.2); }
}

/* Label discret */
.ph-lbl {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(240, 236, 226, 0.18); z-index: 3; white-space: nowrap;
}

/* ==============================================
   STATS BAR + SLOT MACHINE (§5.6)
============================================== */
.stats-bar {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: var(--glass-bd); border-bottom: var(--glass-bd);
  background: rgba(255, 255, 255, 0.015);
}
.stat-item {
  padding: 32px 0; text-align: center;
  border-right: var(--glass-bd);
}
.stat-item:last-child { border-right: none; }

.stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; line-height: 1; color: var(--cream);
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
  overflow: hidden; height: 56px;
}
.stat-n em { font-style: normal; font-size: 26px; color: var(--teal); opacity: 0; }
.stat-n em.visible { opacity: 1; transition: opacity 0.3s ease; }

/* Slot machine elements */
.slot-window {
  display: inline-block; overflow: hidden;
  height: 56px; line-height: 56px;
  vertical-align: top;
}
.slot-reel {
  display: flex; flex-direction: column;
  will-change: transform;
}
.slot-digit {
  display: block; height: 56px; line-height: 56px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; color: var(--cream); text-align: center;
}

.stat-l {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* ==============================================
   SCROLL CARET
============================================== */
.scroll-caret {
  position: relative; z-index: 10;
  padding: 28px 56px;
  display: flex; align-items: center; gap: 14px;
}
.sc-line {
  width: 44px; height: 1px;
  background: rgba(240, 236, 226, 0.12);
  position: relative; overflow: hidden;
}
.sc-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 1px; background: var(--teal);
  animation: lineSweep 2.6s ease infinite;
}
@keyframes lineSweep { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }
.sc-lbl {
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(240, 236, 226, 0.27);
}

/* ==============================================
   SECTION UTILITY
============================================== */
.section { position: relative; z-index: 10; padding: 80px 56px; }
.s-alt { background: rgba(255, 255, 255, 0.018); border-top: var(--glass-bd); }
.s-head {
  display: flex; align-items: center; gap: 18px; margin-bottom: 52px;
}
.s-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; color: rgba(240, 236, 226, 0.18); letter-spacing: 2px;
}
.s-sep { color: rgba(138, 43, 226, 0.6); } /* §5.12 mauve électrique */
.s-title { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: 3px; }
.s-rule { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.07); }

/* ==============================================
   GLASS CARD
============================================== */
.glass-card {
  background: var(--glass-bg);
  border: var(--glass-bd);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(138, 43, 226, 0.35);
}

/* ==============================================
   TOOLS GRID
============================================== */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 13px; }
.tool-card { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.tl {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.tl-ps { background: #001e2a; color: #31a8ff; }
.tl-pr { background: #250028; color: #ea77ff; }
.tl-cc { background: #111;    color: #fe2c55; font-size: 11px; }
.tl-fr { background: #080808; color: #fff;    font-size: 16px; }
.tl-xl { background: #0a240a; color: #1d7a42; }
.tl-st { background: rgba(0,242,234,0.08); color: var(--teal); font-size: 16px; }
.tool-name { font-size: 13px; font-weight: 500; color: var(--cream); }
.tool-cat  { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ==============================================
   MARQUEE (§5.7)
============================================== */
.marquee-section {
  position: relative; z-index: 10;
  height: 56px; overflow: hidden;
  background: rgba(138, 43, 226, 0.06);
  border-top:    1px solid rgba(138, 43, 226, 0.15);
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
  display: flex; align-items: center;
}
.marquee-inner {
  display: flex; white-space: nowrap; align-items: center;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-section:hover .marquee-inner { animation-play-state: paused; }
.marquee-track {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 4px;
  color: rgba(240, 236, 226, 0.25);
  padding-right: 0;
}
.m-dot { color: var(--teal); }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .marquee-inner { animation-duration: 50s; }
}

/* ==============================================
   PROJETS — HORIZONTAL SCROLL (§5.8)
============================================== */
.proj-h-section {
  position: relative; z-index: 10;
  height: 320vh; /* 3 cartes × ~100vh scroll */
}

.proj-track {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}

.proj-track-header {
  display: flex; align-items: center; gap: 18px;
  padding: 52px 56px 24px;
  flex-shrink: 0;
}

.proj-cards-wrap {
  flex: 1; overflow: hidden;
  display: flex; align-items: center;
  position: relative;
}

.proj-inner {
  display: flex; flex-direction: row;
  align-items: stretch;
  gap: 32px;
  padding: 0 56px;
  will-change: transform;
  /* width is content-driven, never shrinks */
  flex-shrink: 0;
}

/* Projet card — redesign §5.8 */
.proj-card {
  min-width: min(480px, 80vw);
  height: 68vh;
  flex-shrink: 0;
  border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(138,43,226,0.08), rgba(0,242,234,0.04));
  border: 1px solid rgba(138, 43, 226, 0.2);
  text-decoration: none;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.proj-card:hover {
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 24px 64px rgba(138, 43, 226, 0.15), 0 4px 16px rgba(0,0,0,0.4);
}

/* Background emoji */
.proj-bg-emoji {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 130px; opacity: 0.06;
  pointer-events: none; user-select: none;
  transition: opacity 0.3s, transform 0.3s;
}
.proj-card:hover .proj-bg-emoji { opacity: 0.1; transform: translate(-50%, -50%) scale(1.05); }

/* Arrow */
.proj-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  border: var(--glass-bd); display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--cream); background: var(--glass-bg);
  transition: background 0.25s, border-color 0.25s, transform 0.3s;
}
.proj-card:hover .proj-arrow {
  background: var(--teal); border-color: var(--teal);
  color: #0A0F1E; transform: rotate(45deg);
}

/* Tag + title */
.proj-tag {
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
  position: relative; z-index: 1;
}
.proj-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 4vw, 58px);
  letter-spacing: 2px; color: var(--cream); line-height: 0.95;
  position: relative; z-index: 1;
}

/* Specular highlight / glare */
.proj-glare {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle 200px at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.proj-card:hover .proj-glare { opacity: 1; }

/* Progress indicator */
.proj-progress-track {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 11;
}
.proj-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--mauve));
  transition: none;
  will-change: width;
}

/* ==============================================
   DISPONIBILITÉS (§5.10 — améliorations)
============================================== */
.dispo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dispo-card { padding: 36px 32px; }

/* Card prime — halo teal animé */
.dispo-card.prime {
  border-color: rgba(0, 242, 234, 0.3);
  background: rgba(0, 242, 234, 0.04);
  animation: dispoHalo 4s ease infinite;
}
@keyframes dispoHalo {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 242, 234, 0.15); }
  50%       { box-shadow: 0 0 32px 8px rgba(0, 242, 234, 0.08); }
}

.d-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), #00c4be);
  color: #0A0F1E; font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 18px;
}
.d-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px; letter-spacing: 1.5px; line-height: 1; color: var(--cream);
}
.dispo-card.prime .d-date {
  background: linear-gradient(90deg, var(--teal), var(--mauve));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.d-dur { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.d-locs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.loc-tag {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(240, 236, 226, 0.45);
  border: var(--glass-bd);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.loc-tag:hover {
  border-color: rgba(0, 242, 234, 0.5);
  color: rgba(0, 242, 234, 0.9);
  background: rgba(0, 242, 234, 0.06);
}
.dispo-card.prime .loc-tag {
  border-color: rgba(0, 242, 234, 0.2);
  color: rgba(0, 242, 234, 0.65);
}
/* Stagger sur loc-tags dans prime */
.dispo-card.prime .loc-tag:nth-child(even) {
  border-color: rgba(138, 43, 226, 0.2);
  color: rgba(138, 43, 226, 0.65);
}
.dispo-card.prime .loc-tag:nth-child(even):hover {
  border-color: rgba(138, 43, 226, 0.5);
  color: rgba(138, 43, 226, 0.9);
  background: rgba(138, 43, 226, 0.06);
}

/* ==============================================
   RESPONSIVE — MOBILE (§5.14)
============================================== */
@media (max-width: 960px) {
  .hero { padding: 90px 24px 52px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 44px; }
  .photo-zone { max-width: 260px; margin: 0 auto; order: -1; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: var(--glass-bd); }
  .stat-item:nth-child(odd)  { border-right: var(--glass-bd); }
  .stat-item:nth-child(even) { border-right: none; }
  .section { padding: 60px 24px; }
  .dispo-grid { grid-template-columns: 1fr; }
  .scroll-caret { padding: 22px 24px; }
  .proj-track-header { padding: 36px 24px 16px; }
}

@media (max-width: 768px) {
  /* Horizontal scroll → scroll snap natif */
  .proj-h-section { height: auto !important; }
  .proj-track { position: static; height: auto; overflow: visible; }
  .proj-cards-wrap {
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    display: block;
    /* hide scrollbar */
    scrollbar-width: none;
  }
  .proj-cards-wrap::-webkit-scrollbar { display: none; }
  .proj-inner {
    flex-direction: row; width: max-content;
    transform: none !important;
    padding: 0 24px; gap: 16px;
    align-items: stretch;
  }
  .proj-card {
    min-width: min(340px, 85vw);
    height: auto; min-height: 300px;
    scroll-snap-align: start;
  }
  .proj-progress-track { display: none; }
  .proj-track-header { padding: 36px 24px 16px; }
}

/* Mesh blobs plus prononcés sur home (§5.12) */
body.page-home .mb2 { opacity: 0.18 !important; }
body.page-home .mb4 { opacity: 0.12 !important; }
