/* =====================================================================
   PROPOSITION UNSLOP · méthode « unslop » de Damir Sokolovsky
   (@heydamir, CC BY 4.0). Se charge après styles.css, ne touche pas au site.

   Direction
   - Produit : vidéaste et monteur à Paris, formats courts et films
     d'événement pour marques et associations
   - Caractère : rythmé, exact, chaleureux
   - Univers : la salle de montage, timeline, timecode, écran dans le noir
   - Moments : les vidéos (carrousel, aftermovie) et le portrait
   - Signature : timecodes en mono (durées réelles, numéros de section)
   ===================================================================== */

/* ---------- 2. Couleur : une rampe encre teintée marine, un accent ---------- */
body.unslop {
  --page: #0c1220;
  --card: #121a2b;
  --raised: #1a2336;
  --t1: #eef0f5;
  --t2: #a3a9b8;
  --t3: #7a8296;
  --accent: #d2ae72;          /* sable, l'accent déjà présent sur le site */
  --accent-ink: #7d5f2c;      /* même teinte, lisible en texte sur fond clair */
  --hair: rgba(238, 240, 245, 0.09);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* réaffectation des jetons du site */
  --navy-950: #080d18;
  --navy-900: var(--page);
  --navy-800: var(--card);
  --navy-700: var(--raised);
  --cream: var(--t1);
  --sand: var(--accent);
  --bg: var(--page);
  --fg: var(--t1);
  --fg-muted: var(--t2);
  --line: var(--hair);
  --grad-title: linear-gradient(var(--t1), var(--t1));
  --grad-accent: linear-gradient(var(--accent), var(--accent));
  --display-weight: 500;
}
body.unslop.is-light,
body.unslop .hero {
  --bg: #f4f5f7;
  --fg: #111827;
  --fg-muted: #4b5565;
  --line: rgba(17, 24, 39, 0.09);
  --grad-title: linear-gradient(#111827, #111827);
  --grad-accent: linear-gradient(var(--accent-ink), var(--accent-ink));
}

/* ---------- Retrait de la décoration (couleur, visuels, mouvement) ---------- */
body.unslop .grain,
body.unslop .cursor,
body.unslop .loader,
body.unslop .orbs,
body.unslop .hero-wall,
body.unslop .hero-veil,
body.unslop .reel-bigtype,
body.unslop .marquee,
body.unslop .scroll-cue,
body.unslop .hint-swipe,
body.unslop .dot { display: none !important; }

/* verre liquide → surfaces mates avec un filet */
body.unslop .glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hair);
}
body.unslop .glass::before,
body.unslop .glass::after { display: none; }
body.unslop.is-light .glass,
body.unslop .hero .glass {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.09), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ---------- 5. Typographie ---------- */
body.unslop .hero-title { font-weight: 500; letter-spacing: -0.03em; filter: none; line-height: 1.04; }
body.unslop .section-title { font-weight: 500; letter-spacing: -0.02em; }
body.unslop .service-name,
body.unslop .step-card h3,
body.unslop .reel-side-title,
body.unslop .project-caption-title,
body.unslop .portrait-name { font-weight: 500; }
/* étiquettes : casse normale, mono, sans espacement large */
body.unslop .label {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-muted);
  white-space: pre;
}
body.unslop .reel-sound,
body.unslop .hero-sub { letter-spacing: 0; }
body.unslop .reel-sound { text-transform: none; font-size: 12px; }
body.unslop .project-time,
body.unslop .service-num,
body.unslop .node,
body.unslop .us-timecode { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- 7. Détails : rayons cohérents ---------- */
body.unslop .btn { border-radius: 10px; height: 44px; padding: 0 20px; box-shadow: none; }
body.unslop .btn-sm { height: 36px; padding: 0 16px; border-radius: 8px; }
body.unslop .btn:hover { translate: none; }
body.unslop .btn:active { scale: 0.98; }
body.unslop .btn-solid { background: var(--t1); color: var(--page); }
body.unslop .btn-solid:hover { background: #ffffff; }
body.unslop.is-light .btn-solid,
body.unslop .hero .btn-solid { background: #111827; color: #ffffff; }
body.unslop.is-light .btn-solid:hover,
body.unslop .hero .btn-solid:hover { background: #000000; }
body.unslop .hero .btn-glass { color: #111827; }
body.unslop .btn { transition: background-color 160ms var(--ease), color 160ms var(--ease), scale 120ms var(--ease); }

/* ---------- 6. Mise en page : menu calme sur toute la largeur ---------- */
body.unslop .nav { top: 0; padding: 0; }
body.unslop .nav-bar {
  width: 100%;
  border-radius: 0;
  padding: 12px var(--gutter);
  background: var(--bg) !important;
  box-shadow: inset 0 -1px 0 var(--line) !important;
  backdrop-filter: none !important;
}
body.unslop .nav-logo { font-size: 17px; font-weight: 500; }
body.unslop .nav-logo-dot { color: var(--accent); }

/* ---------- Haut de page ---------- */
body.unslop .hero { background: #f4f5f7; min-height: 100svh; padding-bottom: 128px; }
body.unslop .hero-fade {
  height: 96px;
  background: linear-gradient(to bottom, rgba(12, 18, 32, 0), var(--page));
}
body.unslop .hero-sub { font-size: 18px; line-height: 28px; max-width: 36rem; color: #4b5565; }
body.unslop .hero-actions { margin-top: 32px; }
body.unslop .portrait-panel {
  border-radius: 16px;
  background: #1b2a4a;   /* le marine choisi pour le site, en aplat */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
body.unslop .hero-portrait img { clip-path: inset(-60% 0 0 0 round 0 0 16px 16px); }
body.unslop .hero .portrait-tag.glass {
  left: 12px; right: 12px; bottom: 12px;
  border-radius: 8px;            /* 16 − 8 de marge, rayon imbriqué */
  padding: 12px 16px;
  background: rgba(12, 18, 32, 0.86);
  box-shadow: none;
}
body.unslop .portrait-role { color: var(--t2); gap: 0; }

/* ---------- Portfolio : les vidéos portent la couleur, le reste se tait ---------- */
body.unslop .reel { background: var(--page); }
body.unslop .reel-frame { border-radius: 12px; }
body.unslop .reel-side.glass { border-radius: 16px; padding: 24px; }
body.unslop .reel-arrow.glass {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: background-color 160ms var(--ease);
}
body.unslop .reel-arrow:hover { scale: 1; background: var(--raised); }
body.unslop .reel-arrow.is-nudging svg { animation: none; }
body.unslop .reel-hint.glass { background: transparent; box-shadow: none; color: var(--t3); padding: 0; gap: 16px; }
body.unslop .reel-dots span { background: rgba(238, 240, 245, 0.22); }
body.unslop .reel-dots span.is-on { background: var(--t1); width: 16px; }
body.unslop .reel-sound.glass {
  border-radius: 8px;
  background: rgba(8, 13, 24, 0.78);
  box-shadow: none;
}
body.unslop .reel-sound:hover { scale: 1; }
body.unslop .reel-progress span,
body.unslop .project-progress span { background: var(--accent); }
/* signature : timecode du reel affiché */
body.unslop .us-timecode { font-size: 12px; color: var(--t3); }
body.unslop .us-timecode b { color: var(--t1); font-weight: 500; }

/* ---------- Vidéaste (02) ---------- */
body.unslop .project-meta li.glass {
  border-radius: 6px;
  padding: 4px 10px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: 13px;
  font-weight: 400;
  color: var(--t2);
}
body.unslop .project-caption.glass {
  border-radius: 12px;
  background: rgba(8, 13, 24, 0.82);
  box-shadow: none;
}
body.unslop .project-card-media { border-radius: 12px; box-shadow: none; }

/* ---------- Services ---------- */
body.unslop .service::before { background: var(--page); }
body.unslop .service:hover .service-name { translate: none; }

/* ---------- Méthode : pas de lueur ---------- */
body.unslop .node { background: var(--bg); box-shadow: inset 0 0 0 1px var(--hair); color: var(--t3); font-weight: 500; }
body.unslop .step.is-active .node { background: var(--t1); color: var(--page); box-shadow: none; scale: 1; }
body.unslop .rail-fill { background: var(--accent); box-shadow: none; }
body.unslop .rail-tip { color: var(--accent); filter: none; }
body.unslop .step-card.glass { border-radius: 12px; padding: 20px; text-align: left; }
body.unslop .step.glass:hover,
body.unslop .step-card:hover { transform: none; }
body.unslop .step-card p { color: var(--t2); }

/* ---------- Contact ---------- */
body.unslop .contact { padding-top: 96px; }
body.unslop .contact-card.glass { border-radius: 16px; }
body.unslop .contact-mail::after { background: var(--accent); }

/* ---------- 9. Mouvement : rien en boucle sans raison ---------- */
body.unslop .about-chip,
body.unslop .wall-track,
body.unslop .orb { animation: none !important; }
/* le texte du haut ne fuit plus au scroll (parallaxe retirée) */
body.unslop .hero-content { transform: none !important; opacity: 1 !important; visibility: visible !important; }
/* le carrousel n'est plus zoomé au scroll : on fixe son état final */
body.unslop .reel-carousel-wrap { transform: none !important; }
body.unslop .reel-side { opacity: 1 !important; visibility: visible !important; transform: none !important; }
