/* VB Links — page de liens de Vincent Blasini, dans la DA du portfolio
   Monochrome, angles droits, Satoshi 500 en capitales, marges de 20 px, liste à filets (comme « À propos »). */
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
/* Inter 400 réduite aux caractères de l'heure et des numéros (même police que l'horloge du portfolio) */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Clock.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Medium.woff") format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --line: #262626;          /* filets : le #1a1a1a du site est trop discret sur une page aussi courte */
  --text: #ffffff;
  --muted: #7d7d7d;         /* 4,6:1 sur #0f0f0f */
  --muted-2: #999999;
  --font: "Satoshi", "Inter", system-ui, -apple-system, sans-serif;
  --clock-font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 20px;
  --col: 560px;
  --strip-h: 150px;
  color-scheme: dark;
}
/* Ressort Framer (bounce 0), identique au portfolio */
@supports (transition-timing-function: linear(0, 1)) {
  :root { --ease: linear(0, 0.0003 0.3%, 0.0028 0.8%, 0.0097 1.6%, 0.0231 2.5%, 0.0442 3.6%, 0.0736 4.8%, 0.1114 6.1%, 0.1569 7.6%, 0.2089 9.2%, 0.2660 10.9%, 0.3266 12.7%, 0.3891 14.6%, 0.4518 16.6%, 0.5134 18.6%, 0.5725 20.8%, 0.6284 23.1%, 0.6802 25.4%, 0.7274 27.9%, 0.7699 30.4%, 0.8076 33.0%, 0.8406 35.7%, 0.8691 38.4%, 0.8934 41.3%, 0.9139 44.2%, 0.9311 47.1%, 0.9453 50.2%, 0.9569 53.3%, 0.9663 56.5%, 0.9739 59.8%, 0.9799 63.1%, 0.9846 66.5%, 0.9883 70.0%, 0.9912 73.5%, 0.9934 77.1%, 0.9951 80.8%, 0.9964 84.5%, 0.9974 88.3%, 0.9981 92.1%, 0.9986 96.0%, 1); }
}

* { box-sizing: border-box; }
/* barre de défilement classique (Windows, souris) : place réservée des deux côtés pour garder la colonne au centre exact */
html { -webkit-text-size-adjust: 100%; background: var(--bg); scrollbar-gutter: stable both-edges; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--text); color: var(--bg); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, p { margin: 0; font-weight: 500; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }

/* ---------- Une seule colonne : tout s'aligne sur les mêmes bords ---------- */
.page {
  width: 100%; max-width: calc(var(--col) + var(--gutter) * 2); margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom));
  padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right));
  display: flex; flex-direction: column;
}

/* En-tête : heure de Paris à gauche, partager à droite (styles de la nav du portfolio) */
.top { height: 72px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.share { font-size: 15px; font-weight: 400; text-transform: uppercase; }
/* horloge identique au portfolio : « PARIS 23:20:45 », Inter 400, blanc, chiffres à chasse fixe */
.clock { font-family: var(--clock-font); font-size: 15px; font-weight: 400; letter-spacing: -0.04em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.share { display: inline-flex; align-items: center; min-height: 44px; transition: color 0.4s var(--ease); }
.share:hover { color: var(--muted-2); }
/* FR / EN : même bouton que le pied de page du portfolio (langue active en blanc, l'autre en gris) */
.tools { display: flex; align-items: center; gap: 28px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 400; text-transform: uppercase; color: var(--muted-2); }
.lang-btn [data-lang] { transition: color 0.4s var(--ease); }
.lang-btn [data-lang].on { color: var(--text); }
.lang-btn:hover [data-lang]:not(.on) { color: var(--text); }

.main { flex: 1 0 auto; display: flex; flex-direction: column; gap: 40px; padding-block: 24px 56px; }

/* ---------- Profil : logo à plat dans un carré, texte à gauche ---------- */
.profile { display: flex; align-items: center; gap: 16px; }
.mark { flex: none; width: 72px; height: 72px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.mark img { width: 40px; height: auto; }
.id { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.handle { font-size: 22px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.tagline { font-size: 15px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; color: var(--muted-2); }

/* ---------- Liens : liste à filets, pleine largeur de colonne ---------- */
.links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row { display: block; border-bottom: 1px solid var(--line); color: var(--text); }
.row-line { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 16px; min-height: 64px; }
.row-num { font-family: var(--clock-font); font-size: 13px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--muted); transition: color 0.4s var(--ease); }
.row-label { font-size: clamp(13px, 3.46vw, 15px); font-weight: 500; letter-spacing: 0; line-height: 1.15; text-transform: uppercase; padding-block: 2px; text-wrap: balance; transition: transform 0.6s var(--ease), color 0.4s var(--ease); }
.row-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: square; transition: transform 0.6s var(--ease); }
/* survol : comme les lignes « À propos » du portfolio, le libellé glisse de 8 px et le numéro s'allume */
@media (hover: hover) {
  .row:hover .row-label { transform: translateX(8px); }
  .row:hover .row-num { color: var(--text); }
  .row:hover .row-icon { transform: translate(2px, -2px); }
  .row:hover .row-icon.down { transform: translateY(2px); }
  /* affiches : noir et blanc sur ordinateur, couleur au survol ; toujours en couleur sur mobile (pas de survol) */
  .strip img { filter: grayscale(1); transition: filter 0.6s var(--ease); }
  .row-feature:hover .strip img, .row-feature:focus-visible .strip img { filter: grayscale(0); }
  .insta img { filter: grayscale(1); transition: filter 0.6s var(--ease); }
  .row-insta:hover .insta img, .row-insta:focus-visible .insta img { filter: grayscale(0); }
}
.row:active .row-label { color: var(--muted-2); }

/* 01 mis en avant : bandeau de créations qui défile en continu, fondu sur les bords */
.strip { display: block; overflow: hidden; padding-top: 20px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); }
.strip-track { display: flex; gap: 8px; width: max-content; animation: strip 50s linear infinite; }
.strip img { flex: none; height: var(--strip-h); width: calc(var(--strip-h) * 0.7); object-fit: cover; background: var(--surface); }
@keyframes strip { to { transform: translateX(calc(-50% - 4px)); } }

/* 06 : derniers posts Instagram (flux Behold), une rangée de 3 ; cases vides en attendant le flux */
/* grille de 3 comme le profil Instagram : cases 3:4, filets de 3 px */
.insta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding-top: 14px; }
.insta > span { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.insta > span:has(img.ok) { background: none; }
/* posts entiers (4:5 ou 3:4) : rien n’est rogné, la case garde le format le plus haut */
.insta img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.8s var(--ease); }
.insta img.ok { opacity: 1; }
.no-insta .insta { display: none; }

/* ---------- Pied de page ---------- */
.foot { flex: none; display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 20px; font-size: 13px; font-weight: 400; text-transform: uppercase; color: var(--muted); }

/* Message « lien copié » */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 10; margin: 0; transform: translate(-50%, 12px); padding: 12px 16px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 500; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apparitions (paramètres du portfolio) ---------- */
.reveal { opacity: 0.001; transform: translateY(10px) scale(0.95); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 100ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.blur { filter: blur(10px); transition: opacity 1.8s var(--ease), filter 1.8s var(--ease), transform 1.8s var(--ease); transition-delay: var(--d, 100ms); }
.reveal.blur.in { filter: blur(0); }
.reveal.fade { transform: none; transition: opacity 1.4s var(--ease); transition-delay: var(--d, 100ms); }
.reveal.done { transition-delay: 0s; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- Mobile : 6 lignes, il faut tenir dans un écran de 390 × 844 et garder chaque libellé sur une ligne ---------- */
@media (max-width: 809px) {
  :root { --strip-h: 110px; }
  .main { gap: 24px; padding-block: 16px 36px; }
  .row-line { gap: 12px; min-height: 52px; }
  .strip { padding-top: 16px; }
}

/* ---------- Grand écran ---------- */
@media (min-width: 810px) {
  /* réglé pour tenir sans défilement dans 1440 × 900 */
  :root { --strip-h: 128px; }
  .main { justify-content: center; padding-block: 12px 24px; gap: 32px; }
  .mark { width: 88px; height: 88px; }
  .mark img { width: 48px; }
  .handle { font-size: 28px; }
  .tagline { font-size: 16px; }
  .row-line { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .strip-track { animation: none; }
  .row-label, .row-icon { transition: none; }
}
