/* ===== Tokens =====
   Rayons : cartes 24px, boutons/pills 999px. Rien d'autre. */
:root {
  --bg: #0f1012;
  --bg-2: #16171a;
  --surface: #1b1c20;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1efec;
  --muted: #9c9da4;
  --accent: #f39c9b;
  --accent-ink: #2a1111;
  --accent-text: #f6b0af;
  --glow: rgba(243, 156, 155, 0.16);
  --ok: #4ade80;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);

  --f-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-card: 24px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f2f3f5;
  --bg-2: #e8eaee;
  --surface: #ffffff;
  --line: rgba(18, 19, 22, 0.1);
  --line-2: rgba(18, 19, 22, 0.2);
  --text: #121316;
  --muted: #5a5e67;
  --accent-text: #b13f3e;
  --glow: rgba(243, 156, 155, 0.28);
  --ok: #16a34a;
  --shadow: 0 30px 70px -35px rgba(40, 30, 40, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
/* Grain fixe, hors flux */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.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;
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.label {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 20px;
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.035em; overflow-wrap: break-word; }
/* Le padding horizontal évite de rogner les glyphes qui débordent (letter-spacing négatif) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.1em; margin: 0 -0.08em -0.1em; }
.wi { display: inline-block; will-change: transform; }

/* ===== Boutons ===== */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font: 600 15px/1 var(--f-body);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn i { font-size: 18px; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #f7b3b2; }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform 0.5s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__bar {
  margin: 12px auto 0;
  width: calc(100% - 24px); max-width: var(--maxw);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.is-scrolled .nav__bar {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.nav__brand { display: inline-flex; align-items: center; color: var(--text); }
.nav__brand svg { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 15px; color: var(--muted);
  transition: color 0.25s, background-color 0.25s;
}
.nav__links a:hover { color: var(--text); background: var(--line); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--f-mono); color: var(--muted);
  padding: 0 8px;
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  animation: ping 2.4s infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-2); cursor: pointer;
  font-size: 18px;
  transition: border-color 0.25s, transform 0.4s var(--ease);
}
.icon-btn:hover { border-color: var(--text); }
.theme-toggle .ph-sun { display: none; }
[data-theme="light"] .theme-toggle .ph-sun { display: inline; }
[data-theme="light"] .theme-toggle .ph-moon { display: none; }
.menu-btn { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: grid; gap: 6px; }
.menu nav a {
  font: 700 clamp(40px, 11vw, 64px)/1.05 var(--f-display);
  letter-spacing: -0.04em;
  transform: translateY(30px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.menu-open .menu nav a { transform: none; opacity: 1; }
.menu nav a:nth-child(2) { transition-delay: 0.05s; }
.menu nav a:nth-child(3) { transition-delay: 0.1s; }
.menu nav a:nth-child(4) { transition-delay: 0.15s; }
.menu nav a:nth-child(5) { transition-delay: 0.2s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

@media (max-width: 960px) {
  .nav__links, .nav__right .status, .nav__right .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .menu-open .menu-btn i::before { content: "\e4f6"; } /* ph-x */
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: 120px 0 64px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px circle at var(--gx, 70%) var(--gy, 35%), var(--glow), transparent 60%);
  transition: background 0.2s;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.hero__sig { width: clamp(190px, 22vw, 320px); height: auto; color: var(--text); margin-bottom: 28px; display: block; }
.hero__title {
  font-size: clamp(2.7rem, 6.2vw, 6rem);
  line-height: 0.98;
  font-variation-settings: "opsz" 96;
  max-width: 13ch;
}
.hl {
  color: var(--accent-text);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 94% / var(--u, 100%) 0.07em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__sub {
  margin: 28px 0 0;
  max-width: 44ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__media { margin: 0; position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
/* Conteneur de la photo, calé sur tout le cadre (sa hauteur vient de
   aspect-ratio : un height:100% ne s'y résout pas). */
.hero__parallax {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%;
  transform-origin: 50% 40%;
  filter: grayscale(1) contrast(1.05);
}
.hero__caption {
  margin-top: 16px;
  display: flex; justify-content: space-between; gap: 12px;
  font: 400 13px/1.4 var(--f-mono); color: var(--muted);
}
.js .hero-anim { opacity: 0; }
.no-anim .hero-anim { opacity: 1; }

@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; }
  .hero__frame { aspect-ratio: 5 / 4; }
}

/* ===== Marquee ===== */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  user-select: none;
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 36px; padding-right: 36px;
  font: 600 clamp(26px, 3.4vw, 44px)/1 var(--f-display);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__item i { color: var(--accent); font-size: 0.7em; }
.marquee__item:nth-child(even) span { color: transparent; -webkit-text-stroke: 1px var(--muted); }

/* ===== Manifeste ===== */
.manifesto { padding: clamp(110px, 18vw, 220px) 0; }
.manifesto p {
  margin: 0 auto;
  max-width: 22ch;
  text-align: center;
  font: 600 clamp(2rem, 4.6vw, 4.3rem)/1.08 var(--f-display);
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}
.manifesto .w { overflow: visible; }
.manifesto strong { color: var(--accent-text); font-weight: inherit; }

/* ===== Projets (pan horizontal sur desktop) ===== */
.work { position: relative; overflow: hidden; }
.work__track {
  display: flex; align-items: center; gap: 28px;
  height: 100dvh;
  width: max-content;
  padding: 96px var(--gutter) 64px;
  will-change: transform;
}
.work__intro { flex: none; width: min(460px, 34vw); padding-right: 24px; }
.work__intro h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1; font-variation-settings: "opsz" 96; }
.work__intro p { color: var(--muted); max-width: 34ch; margin: 22px 0 0; }
.work__hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; color: var(--muted); font: 400 13px var(--f-mono); }
.work__hint i { font-size: 18px; color: var(--accent); }
.work__progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  height: 2px; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--accent);
}

.proj {
  position: relative;
  flex: none;
  width: min(56vw, 760px);
  height: min(70vh, 640px);
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.proj--wide { width: min(68vw, 940px); }
.proj:hover { border-color: var(--line-2); }
.proj__media { position: relative; overflow: hidden; background: var(--bg-2); }
.proj__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.proj:hover .proj__media img { transform: scale(1.045); }
.proj__media--inazu { background: #070a0f; }
.proj__media--tile { display: grid; place-items: center; }
.proj__media--tile i { font-size: clamp(90px, 12vw, 160px); transition: transform 1.2s var(--ease); }
.proj:hover .proj__media--tile i { transform: rotate(-8deg) scale(1.08); }
.tile-coral {
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--accent) 70%, transparent), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 30%, var(--bg-2)), var(--bg-2));
  color: var(--accent-ink);
}
[data-theme="dark"] .tile-coral i { color: var(--bg); }
.tile-dots {
  background-color: var(--bg-2);
  background-image: radial-gradient(var(--line-2) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--accent);
}
.proj__body {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px;
  padding: 24px 28px 28px;
}
.proj__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  font: 500 12px/1 var(--f-mono);
  padding: 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted);
}
.proj h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; }
.proj p { margin: 10px 0 0; color: var(--muted); max-width: 52ch; font-size: 15px; }
.proj__go {
  width: 56px; height: 56px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); font-size: 22px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s, transform 0.5s var(--ease);
}
.proj__go::after { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.proj:hover .proj__go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(45deg); }
.proj__go i { transform: rotate(-45deg); transition: transform 0.5s var(--ease); }
.proj:hover .proj__go i { transform: rotate(-45deg); }

@media (max-width: 899px) {
  .work__track { flex-direction: column; align-items: stretch; height: auto; width: auto; padding: 96px var(--gutter); gap: 20px; }
  .work__intro { width: auto; padding: 0 0 20px; }
  .work__hint, .work__progress { display: none; }
  .proj, .proj--wide { width: 100%; height: auto; }
  .proj__media { aspect-ratio: 16 / 10; }
  .proj__body { padding: 20px; }
  .proj__go { width: 48px; height: 48px; }
}

/* ===== Approche ===== */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  padding-block: clamp(110px, 14vw, 200px);
}
.approach__head { position: sticky; top: 120px; align-self: start; }
.approach__head h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; }
.approach__head p { color: var(--muted); max-width: 36ch; margin: 22px 0 0; font-size: 17px; }
.steps { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; display: grid; gap: clamp(64px, 9vw, 120px); }
.steps::before, .steps__line {
  content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px;
  background: var(--line);
}
.steps__line { background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); }
.no-anim .steps__line { transform: none; }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: -44px; top: 0.55em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2);
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.step.is-on::before, .no-anim .step::before { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.step h3 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; font-weight: 600; letter-spacing: -0.045em; }
.step p { margin: 18px 0 0; color: var(--muted); font-size: 18px; max-width: 42ch; }
@media (max-width: 900px) {
  .approach { grid-template-columns: 1fr; }
  .approach__head { position: static; }
}

/* ===== FAQ ===== */
.faq { padding-bottom: clamp(100px, 12vw, 180px); }
.faq__inner { max-width: 880px; margin-inline: auto; }
.faq h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font: 600 clamp(18px, 1.8vw, 22px)/1.3 var(--f-display);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  flex: none; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s;
}
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { margin: 0; padding: 0 64px 28px 0; color: var(--muted); font-size: 17px; max-width: 64ch; }

/* ===== Contact ===== */
.contact {
  position: relative;
  padding: clamp(110px, 14vw, 200px) 0 48px;
  border-top: 1px solid var(--line);
  isolation: isolate;
}
.contact::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 30%; width: min(900px, 100%); height: 600px; translate: -50% -50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.contact__title { font-size: clamp(2.6rem, 8.2vw, 8rem); line-height: 0.95; letter-spacing: -0.05em; font-variation-settings: "opsz" 96; }
.contact__lead { color: var(--muted); max-width: 46ch; font-size: 18px; margin: 32px 0 0; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 0.3em;
  margin-top: 48px;
  font: 600 clamp(1.5rem, 4.2vw, 3.6rem)/1.1 var(--f-display);
  letter-spacing: -0.03em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0% 3px;
  padding-bottom: 6px;
  transition: background-size 0.6s var(--ease), color 0.3s;
  overflow-wrap: anywhere;
}
.contact__mail:hover { background-size: 100% 3px; color: var(--accent-text); }
.contact__mail i { font-size: 0.8em; transition: transform 0.5s var(--ease); }
.contact__mail:hover i { transform: translate(6px, -6px); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.footer {
  margin-top: clamp(90px, 12vw, 160px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  color: var(--muted); font-size: 14px;
}
.footer svg { height: 26px; width: auto; color: var(--text); }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ===== Nav : lien de la page courante ===== */
.nav__links a[aria-current="page"] { color: var(--text); }

/* ===== Hero des pages secondaires ===== */
.page-hero { min-height: auto; padding: 160px 0 clamp(64px, 8vw, 110px); }
.page-hero .hero__title { max-width: 16ch; }
.page-hero .label { margin-bottom: 28px; }

/* ===== Extensions : une rangée par extension ===== */
.exts { display: grid; gap: clamp(24px, 3vw, 40px); padding-bottom: clamp(100px, 12vw, 180px); }
.ext {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.ext:hover { border-color: var(--line-2); }
.ext--flip .ext__media { order: 2; }
.ext__media { position: relative; min-height: 420px; overflow: hidden; }
.ext__media:has(img) { background: var(--bg-2); }
.ext__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ext:hover .ext__media img, .ext:hover .ext__media > i { transform: scale(1.05); }
.ext__media.proj__media--tile > i { transition: transform 1.2s var(--ease); }
.ext__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.ext__head { display: flex; align-items: center; gap: 16px; }
.ext__icon { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex: none; background: var(--bg-2); display: grid; place-items: center; font-size: 28px; color: var(--accent); }
.ext h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; }
.ext__desc { margin: 0; color: var(--muted); font-size: 17px; max-width: 46ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks i { color: var(--accent); font-size: 18px; transform: translateY(3px); }
.ext__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 8px; }
.note { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--f-mono); color: var(--muted); }
.note i { font-size: 16px; }
@media (max-width: 860px) {
  .ext { grid-template-columns: 1fr; }
  .ext--flip .ext__media { order: 0; }
  .ext__media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ===== Freelance : services empilés au scroll ===== */
.services { padding-block: clamp(100px, 12vw, 180px) 40px; }
.services__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.services__head h2, .audience h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; }
.services__head p { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 22px 0 0; }
.stack { display: grid; gap: 28px; }
.svc {
  position: sticky; top: calc(100px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  min-height: min(520px, 70vh);
  border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform-origin: 50% 0;
}
.svc::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--dim, 0); pointer-events: none; }
.svc__media { display: grid; place-items: center; }
.svc__media i { font-size: clamp(90px, 11vw, 150px); }
.svc__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.svc h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.02; }
.svc p { margin: 0; color: var(--muted); font-size: 17px; max-width: 50ch; }
.svc .proj__tags { margin: 6px 0 0; }
.tile-plain { background: var(--bg-2); color: var(--text); }
@media (max-width: 860px) {
  .svc { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .svc__media { aspect-ratio: 16 / 9; }
}

/* ===== Freelance : pour qui (rangées) ===== */
.audience { padding-block: clamp(100px, 12vw, 180px); }
.audience h2 { margin-bottom: clamp(40px, 5vw, 64px); max-width: 16ch; }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.row h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; display: flex; gap: 16px; align-items: baseline; transition: color 0.3s, transform 0.6s var(--ease); }
.row h3 i { color: var(--accent); font-size: 0.8em; }
.row:hover h3 { color: var(--accent-text); transform: translateX(8px); }
.row p { margin: 0; color: var(--muted); font-size: 17px; max-width: 54ch; }
.row p + p { margin-top: 12px; color: var(--text); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }
.hero__title--long { font-size: clamp(2.4rem, 4.8vw, 4.6rem); max-width: 18ch; line-height: 1.02; }

/* ===== AnyEmoji : bento des fonctionnalités (4 colonnes, 6 cellules) ===== */
.feats { padding-block: clamp(100px, 12vw, 180px); }
.feats > h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; max-width: 16ch; }
.feats > p { color: var(--muted); font-size: 18px; max-width: 48ch; margin: 22px 0 clamp(40px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cell {
  position: relative; overflow: hidden;
  min-height: 260px; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  border-radius: var(--r-card); border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.cell:not([class*="tile-"]) { background: var(--surface); }
.cell h3 { color: var(--text); }
.cell:hover { border-color: var(--line-2); }
.cell--wide { grid-column: span 2; }
.cell > i { position: absolute; top: 24px; left: 28px; font-size: 32px; color: var(--accent); transition: transform 0.8s var(--ease); }
.cell:hover > i { transform: rotate(-10deg) scale(1.15); }
.cell--wide > i { font-size: clamp(70px, 8vw, 110px); top: 20px; left: auto; right: 28px; }
.cell.tile-coral > i { color: var(--accent-ink); }
.cell h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; }
.cell p { margin: 0; color: var(--muted); font-size: 15px; max-width: 44ch; }
.cell.tile-coral h3, .cell.tile-coral p { color: var(--accent-ink); }
[data-theme="dark"] .cell.tile-coral h3, [data-theme="dark"] .cell.tile-coral p { color: var(--text); }
[data-theme="dark"] .cell.tile-coral > i { color: var(--bg); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .cell--wide { grid-column: auto; } }

/* Logo animé : Axel monte lettre par lettre, Wauters s'écrit (carte temporelle + seuil animé), puis la barre du t */
.logo-anim { overflow: visible; }
.logo-anim .lg-tip { stroke: var(--accent, #f39c9b); opacity: 0; }
.intro .logo-anim:not(.is-play) .lg-l { opacity: 0; }
@keyframes lg-rise { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes lg-tr0-0 { 0% { stroke-dashoffset: 0.1589; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.8411; opacity: 0; } }
@keyframes lg-tr0-1 { 0% { stroke-dashoffset: 0.1006; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.8994; opacity: 0; } }
@keyframes lg-tr0-2 { 0% { stroke-dashoffset: 0.0583; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9417; opacity: 0; } }
@keyframes lg-tr0-3 { 0% { stroke-dashoffset: 0.0254; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9746; opacity: 0; } }
@keyframes lg-tr0-4 { 0% { stroke-dashoffset: 0.0074; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9926; opacity: 0; } }
@keyframes lg-tr1-0 { 0% { stroke-dashoffset: 0.0968; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9032; opacity: 0; } }
@keyframes lg-tr1-1 { 0% { stroke-dashoffset: 0.0613; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9387; opacity: 0; } }
@keyframes lg-tr1-2 { 0% { stroke-dashoffset: 0.0355; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9645; opacity: 0; } }
@keyframes lg-tr1-3 { 0% { stroke-dashoffset: 0.0155; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9845; opacity: 0; } }
@keyframes lg-tr1-4 { 0% { stroke-dashoffset: 0.0045; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9955; opacity: 0; } }
@keyframes lg-tr2-0 { 0% { stroke-dashoffset: 0.5625; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.4375; opacity: 0; } }
@keyframes lg-tr2-1 { 0% { stroke-dashoffset: 0.3562; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.6438; opacity: 0; } }
@keyframes lg-tr2-2 { 0% { stroke-dashoffset: 0.2062; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.7938; opacity: 0; } }
@keyframes lg-tr2-3 { 0% { stroke-dashoffset: 0.0900; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9100; opacity: 0; } }
@keyframes lg-tr2-4 { 0% { stroke-dashoffset: 0.0262; opacity: 0; } 3% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -0.9738; opacity: 0; } }
.logo-anim.is-play .lg-l { animation: lg-rise 1s cubic-bezier(.16,1,.3,1) both; }
.logo-anim.is-play .lg-l0 { animation-delay: 0.08s; }
.logo-anim.is-play .lg-l1 { animation-delay: 0.17s; }
.logo-anim.is-play .lg-l2 { animation-delay: 0.26s; }
.logo-anim.is-play .lg-l3 { animation-delay: 0.35s; }
.logo-anim.is-play .lg-t0-0 { animation: lg-tr0-0 1.05s linear 0.75s both; }
.logo-anim.is-play .lg-t0-1 { animation: lg-tr0-1 1.05s linear 0.75s both; }
.logo-anim.is-play .lg-t0-2 { animation: lg-tr0-2 1.05s linear 0.75s both; }
.logo-anim.is-play .lg-t0-3 { animation: lg-tr0-3 1.05s linear 0.75s both; }
.logo-anim.is-play .lg-t0-4 { animation: lg-tr0-4 1.05s linear 0.75s both; }
.logo-anim.is-play .lg-t1-0 { animation: lg-tr1-0 1.72s linear 1.84s both; }
.logo-anim.is-play .lg-t1-1 { animation: lg-tr1-1 1.72s linear 1.84s both; }
.logo-anim.is-play .lg-t1-2 { animation: lg-tr1-2 1.72s linear 1.84s both; }
.logo-anim.is-play .lg-t1-3 { animation: lg-tr1-3 1.72s linear 1.84s both; }
.logo-anim.is-play .lg-t1-4 { animation: lg-tr1-4 1.72s linear 1.84s both; }
.logo-anim.is-play .lg-t2-0 { animation: lg-tr2-0 0.30s linear 3.68s both; }
.logo-anim.is-play .lg-t2-1 { animation: lg-tr2-1 0.30s linear 3.68s both; }
.logo-anim.is-play .lg-t2-2 { animation: lg-tr2-2 0.30s linear 3.68s both; }
.logo-anim.is-play .lg-t2-3 { animation: lg-tr2-3 0.30s linear 3.68s both; }
.logo-anim.is-play .lg-t2-4 { animation: lg-tr2-4 0.30s linear 3.68s both; }

/* ===== Intro (accueil) ===== */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background: var(--bg);
}
.no-anim .intro, .no-intro .intro { display: none; }
.intro__logo { width: min(80vw, 760px); height: auto; color: var(--text); transform-origin: 0 0; }
.intro__skip {
  position: absolute; right: var(--gutter); bottom: 28px;
  background: none; border: 0; cursor: pointer;
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); padding: 12px 4px;
}
.intro__skip:hover { color: var(--text); }
html.intro-on, html.intro-on body { overflow: hidden; }
