/* =========================================================
   Akilvisuals — feuille de style principale
   ========================================================= */
:root {
  --ink: #0a0a0a;
  --ink-soft: #6b6b6b;
  --line: #e6e4e1;
  --paper: #ffffff;
  --paper-2: #f3f2f0;
  --paper-3: #ebe9e6;
  --accent: #7b2ff7;
  --accent-soft: #efe6fe;
  --radius: 14px;
  --radius-lg: 22px;
  --pad: clamp(18px, 3vw, 44px);
  --maxw: 1480px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-wide: "Unbounded", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--ink-soft); }
.accent { color: var(--accent); }

/* ---------- Barre de progression ---------- */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .35s var(--ease), padding .35s var(--ease), color .35s var(--ease);
  color: #fff;
}
.nav.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.nav--light { color: var(--ink); }
.nav__logo { position: relative; z-index: 2; }
.nav__logo img { height: 56px; width: auto; transition: filter .35s, height .35s; }
.nav.is-scrolled .nav__logo img, .nav--light .nav__logo img { filter: invert(1); height: 46px; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__link { position: relative; font-size: 15px; font-weight: 500; opacity: .7; transition: opacity .2s; }
.nav__link sup { font-size: 9px; margin-left: 2px; font-family: var(--font-mono); }
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 5px 20px 5px 5px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  font-weight: 500; font-size: 15px; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--paper-3); }
.btn__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; transition: transform .3s var(--ease); }
.btn:hover .btn__dot { transform: rotate(-45deg); }
.btn__dot svg { width: 16px; height: 16px; }
.btn--white { background: #fff; }
.btn--white:hover { background: #f1f1f1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.chip svg { width: 16px; height: 16px; }
.tag { display: inline-flex; padding: 7px 15px; border-radius: 999px; background: var(--paper-3); font-size: 13px; font-weight: 500; }

/* ---------- En-tête de section ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--gray { background: var(--paper-2); }
.section--tight { padding-top: clamp(40px, 5vw, 70px); }
.sec-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: clamp(34px, 5vw, 60px);
  font-size: 15px; position: relative;
}
.sec-head::before { content: "+"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--ink-soft); background: inherit; }
.sec-head__label { display: flex; align-items: center; gap: 10px; }
.sec-head__label::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.sec-head__num { font-family: var(--font-mono); font-size: 14px; }
.sec-head__year { justify-self: end; font-family: var(--font-mono); font-size: 14px; }

.title-xl { font-size: clamp(48px, 8.5vw, 128px); }
.title-l { font-size: clamp(40px, 6vw, 88px); }
.title-m { font-size: clamp(30px, 3.6vw, 52px); }
.lead { font-size: clamp(24px, 2.7vw, 40px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; }
.center { text-align: center; }
.center-block { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.center-block p { max-width: 640px; }

/* ---------- Héros ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: #000; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.65) 100%); }
.hero__inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--pad) clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.hero__kicker { font-size: clamp(22px, 2.3vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: clamp(10px, 2vw, 26px); }
.hero__brand { font-family: var(--font-wide); font-weight: 800; font-size: clamp(44px, 9.6vw, 150px); letter-spacing: -0.02em; line-height: .9; }
.hero__aside { margin-bottom: 46px; max-width: 340px; text-align: right; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.78); }
.hero__aside p + p { margin-top: 14px; }
.hero__bottom { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero__socials { display: flex; gap: 12px; }
.hero__socials a { opacity: .85; transition: opacity .2s; }
.hero__socials a:hover { opacity: 1; }
.hero__socials svg { width: 19px; height: 19px; }
.hero__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.12); }
.hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: #2bd56b; box-shadow: 0 0 0 3px rgba(43,213,107,.25); }
.hero__arrow { position: absolute; right: var(--pad); bottom: clamp(28px, 4vw, 44px); z-index: 3; color: #fff; }
.hero__arrow svg { width: 22px; height: 22px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* Héros de page intérieure */
.page-hero { position: relative; height: clamp(420px, 66svh, 620px); color: #fff; background: #000; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .92; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.05) 40%, rgba(0,0,0,.6)); }
.page-hero--violet::after { background: linear-gradient(180deg, rgba(30,0,70,.55), rgba(60,10,130,.45) 45%, rgba(10,0,30,.85)); }
.page-hero__inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--pad) clamp(26px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.page-hero__year { font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); margin-bottom: 6px; }
.page-hero__title { font-size: clamp(54px, 9vw, 132px); line-height: .95; }
.page-hero__title--sm { font-size: clamp(40px, 6vw, 92px); max-width: 14ch; }
.page-hero__title .star { color: var(--accent); }
.page-hero__side { max-width: 470px; color: rgba(255,255,255,.82); font-size: 15px; display: flex; gap: 34px; align-items: end; }
.page-hero__side svg { width: 22px; height: 22px; flex: none; }

/* ---------- Intro (présentation) ---------- */
.intro { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.intro__label { display: flex; align-items: center; gap: 10px; font-size: 15px; align-self: start; }
.intro__label::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.intro__body { display: flex; flex-direction: column; gap: 40px; }
.intro__text { text-align: right; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); }
.duo__item { border-bottom: 1px solid var(--line); padding: 30px 0 26px; border-top: 1px solid var(--line); }
.duo__item h3 { font-size: 16px; letter-spacing: -0.01em; font-weight: 600; margin-bottom: 14px; }

.trio-img { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(50px, 7vw, 90px); }
.trio-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 4px; }

/* ---------- Bandeau logos ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { flex: none; width: clamp(150px, 14vw, 220px); height: 150px; display: grid; place-items: center; border-right: 1px solid var(--line); }
.logos__item img { max-width: 62%; max-height: 64px; object-fit: contain; filter: saturate(1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--paper-2); border-radius: var(--radius); padding: 22px 20px 26px; min-height: 240px; display: flex; flex-direction: column; }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__num { font-family: var(--font-mono); font-size: 26px; font-weight: 700; }
.step__dots { display: flex; gap: 4px; }
.step__dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8d6d3; }
.step__dots i.on { background: var(--accent); }
.step h3 { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: 16px; letter-spacing: -0.01em; }
.step h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); flex: none; }
.step p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }
.after-steps { margin-top: 44px; }

/* ---------- Bannière photo ---------- */
.banner { position: relative; height: clamp(320px, 62vw, 820px); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Projets ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project { display: block; background: var(--paper-2); border-radius: var(--radius-lg); padding: 9px; transition: background .25s; }
.project:hover { background: var(--paper-3); }
.project__img { overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 8; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__img img { transform: scale(1.04); }
.project__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 12px 10px; }
.project__title { display: flex; align-items: center; gap: 20px; }
.project__dots { display: flex; gap: 4px; }
.project__dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8d6d3; }
.project__dots i.on { background: var(--accent); }
.project__title h3 { font-size: 16px; letter-spacing: -0.01em; }
.project__title span { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.project__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Défilés de visuels ---------- */
.rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rail + .rail { margin-top: 20px; }
.rail__track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.rail--rev .rail__track { animation-direction: reverse; }
.rail:hover .rail__track { animation-play-state: paused; }
.rail__item { flex: none; width: clamp(170px, 14vw, 210px); aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.rail__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Photos (carrousel 3D simplifié) ---------- */
.photo-strip { display: flex; gap: 18px; justify-content: center; align-items: center; perspective: 1400px; margin-top: 50px; }
.photo-strip figure { margin: 0; flex: none; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figure:nth-child(1) { width: 15%; aspect-ratio: 3/5; transform: rotateY(26deg); }
.photo-strip figure:nth-child(2) { width: 11%; aspect-ratio: 3/5; transform: rotateY(18deg); }
.photo-strip figure:nth-child(3) { width: 9%; aspect-ratio: 3/4.4; transform: rotateY(8deg); }
.photo-strip figure:nth-child(4) { width: 9%; aspect-ratio: 3/4.4; }
.photo-strip figure:nth-child(5) { width: 9%; aspect-ratio: 3/4.4; transform: rotateY(-8deg); }
.photo-strip figure:nth-child(6) { width: 11%; aspect-ratio: 3/5; transform: rotateY(-18deg); }
.photo-strip figure:nth-child(7) { width: 15%; aspect-ratio: 3/5; transform: rotateY(-26deg); }

/* ---------- Split (réseaux sociaux) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; max-width: 1060px; margin: 0 auto; }
.split__img { border-radius: 4px; overflow: hidden; aspect-ratio: 9 / 10; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.split__body h4 { font-size: 16px; letter-spacing: -0.01em; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 18px; height: 18px; }
.rating { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--ink-soft); }
.split__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

/* ---------- Statistiques ---------- */
.stats-intro { display: grid; grid-template-columns: 1fr 5fr; gap: 30px; margin-bottom: clamp(50px, 7vw, 90px); }
.stats-intro .lead b { font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 5vw, 70px); }
.stat__num { font-size: clamp(64px, 9vw, 130px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.stat h3 { font-size: clamp(20px, 1.8vw, 26px); margin-top: 26px; letter-spacing: -0.02em; }
.stat p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1.9fr; gap: clamp(30px, 6vw, 90px); }
.services__intro { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.services__intro p { max-width: 360px; }
.plus-list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; font-weight: 500; font-size: 15px; width: 100%; max-width: 360px; }
.plus-list li { display: flex; gap: 12px; }
.plus-list li::before { content: "+"; color: var(--accent); font-weight: 600; }
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc { display: flex; align-items: center; gap: 18px; background: var(--paper-3); border-radius: 10px; padding: 6px; transition: background .25s; }
.svc:hover { background: #e2e0dc; }
.svc img { width: 102px; height: 68px; object-fit: cover; border-radius: 6px; }
.svc h3 { font-size: 16px; letter-spacing: -0.01em; }
.svc p { color: var(--ink-soft); font-size: 15px; margin-top: 3px; }

/* ---------- Pourquoi moi ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why__card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(380px, 34vw, 490px); background: var(--paper-2); }
.why__card--1 { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 50px 24px 30px; }
.why__card--1 h3 { font-size: 17px; letter-spacing: -0.01em; }
.why__card--1 p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.why__card--1 { background: #f7f7f7; }
.why__car { position: absolute; left: 0; top: 34%; width: 72%; mix-blend-mode: multiply; }
.why__magic { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px -8px rgba(123,47,247,.7); }
.why__magic svg { width: 26px; height: 26px; }
.why__sign { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 46px; z-index: 2; }
.why__magic { z-index: 2; }
.why__card--2 { background: linear-gradient(180deg, #fff 10%, #c9a5ff 55%, var(--accent)); padding: 18px 24px 0; }
.why__card--2 .inner { background: var(--paper-2); height: 100%; border-radius: 4px 4px 0 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 26px; position: absolute; inset: 18px 24px 0 24px; overflow: hidden; }
.why__card--2 small { font-size: 11px; letter-spacing: .06em; font-weight: 600; color: var(--ink-soft); }
.why__card--2 h3 { font-size: clamp(34px, 3.4vw, 50px); margin-top: 8px; }
.why__card--2 img { margin-top: auto; width: 62%; filter: grayscale(1); }
.why__card--3 { background: #0b0b0b; color: #fff; padding: 22px; }
.why__card--3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(1); }
.why__card--3 .inner { position: relative; z-index: 2; }
.why__card--3 small { font-size: 11px; letter-spacing: .06em; font-weight: 600; color: rgba(255,255,255,.65); }
.why__card--3 h3 { font-size: 40px; margin: 8px 0 10px; font-weight: 500; }
.why__card--3 p { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 12px; }
.corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent); }
.corner--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.corner--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.faq__label { display: flex; align-items: center; gap: 10px; font-size: 15px; align-self: start; }
.faq__label::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 70px 1fr 24px; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-family: var(--font-mono); font-size: 15px; }
.faq summary .q { padding-left: 15%; }
.faq summary .ic { position: relative; width: 16px; height: 16px; justify-self: end; }
.faq summary .ic::before, .faq summary .ic::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary .ic::after { transform: rotate(90deg); }
.faq details[open] summary .ic::before { transform: rotate(45deg); }
.faq details[open] summary .ic::after { transform: rotate(135deg); }
.faq .a { padding: 0 40px 22px calc(70px + 16px + 15%); color: var(--ink-soft); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 90px); }
.contact__intro { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact__intro h2 { font-size: clamp(44px, 5vw, 76px); }
.contact__intro .facts { width: 100%; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 500; }
.contact__intro .facts li { display: flex; gap: 10px; align-items: center; list-style: none; }
.contact__intro .facts ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact__intro .facts svg { width: 18px; height: 18px; color: var(--accent); }
.form { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 0 0 18px; }
.form::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.form input, .form textarea { width: 100%; border: 0; background: var(--paper-2); border-radius: 8px; padding: 18px 20px; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: background .2s, box-shadow .2s; }
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus { background: #fff; box-shadow: 0 0 0 1.5px var(--accent); }
.form button { align-self: flex-start; border: 0; cursor: pointer; }
.form__note { font-size: 13px; color: var(--ink-soft); }
.form__ok { display: none; padding: 16px 20px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* ---------- Pied de page ---------- */
.footer { background: var(--paper); padding: clamp(60px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: clamp(40px, 6vw, 80px); }
.footer__kicker { font-size: 15px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer__kicker::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.footer__mail { font-size: clamp(30px, 5vw, 76px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; word-break: break-word; transition: color .25s; }
.footer__mail:hover { color: var(--accent); }
.footer__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; justify-content: flex-end; }
.footer__side p { color: var(--ink-soft); max-width: 340px; }
.footer__nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 46px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; }
.footer__nav span { font-family: var(--font-mono); color: var(--ink-soft); font-size: 13px; margin-right: 6px; }
.footer__nav a:hover { color: var(--accent); }
.footer__brand { font-family: var(--font-wide); font-weight: 800; font-size: clamp(90px, 25vw, 400px); line-height: .8; letter-spacing: -0.03em; margin: clamp(30px, 5vw, 60px) 0 18px; text-align: center; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--ink-soft); }
.footer__bottom a:hover { color: var(--ink); }
.footer__socials { display: flex; gap: 14px; }
.footer__socials svg { width: 18px; height: 18px; }

/* ---------- À propos ---------- */
.skills { border-top: 1px solid var(--line); margin-top: 50px; }
.skill { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.skill h3 { font-size: 17px; letter-spacing: -0.01em; }
.skill p { color: var(--ink-soft); font-size: 15px; max-width: 330px; }
.timeline { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 90px); }
.timeline__intro { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.timeline__intro p { max-width: 340px; }
.job { padding: 30px 0; border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job h3 { font-size: clamp(24px, 2.2vw, 32px); }
.job__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.job__row h4 { font-size: 16px; letter-spacing: -0.01em; font-weight: 600; }
.job p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; max-width: 420px; }
.tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.tool { background: #fff; border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.tool__ic { width: 44px; height: 44px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; color: var(--accent); }
.tool__ic svg { width: 22px; height: 22px; }
.tool h3 { font-size: 17px; letter-spacing: -0.01em; margin-top: auto; }
.tool p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Page projet ---------- */
.case { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 90px); }
.case__aside { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.case__aside .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case__body h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 46px 0 16px; }
.case__body h2:first-child { margin-top: 0; }
.case__body p { color: #3c3c3c; font-size: 17px; line-height: 1.6; }
.case__body p + p { margin-top: 14px; }
.case__body ul { color: #3c3c3c; font-size: 17px; line-height: 1.6; padding-left: 20px; }
.case__body li + li { margin-top: 6px; }
.gallery { columns: 3 260px; column-gap: 14px; margin-top: 40px; }
.gallery a { display: block; margin-bottom: 14px; border-radius: 8px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.result { background: var(--paper-2); border-radius: var(--radius); padding: 26px 22px; }
.result strong { display: block; white-space: nowrap; font-size: clamp(32px, 3.2vw, 50px); letter-spacing: -0.04em; line-height: 1; }
.result span { color: var(--ink-soft); font-size: 15px; display: block; margin-top: 10px; }

/* ---------- Albums ---------- */
.albums-intro { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.albums-intro span:first-child { display: flex; align-items: center; gap: 10px; }
.albums-intro span:first-child::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.albums-intro span:last-child { justify-self: end; font-family: var(--font-mono); font-size: 14px; }
.album-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.album-filter button { border: 0; cursor: pointer; padding: 8px 15px; border-radius: 999px; background: var(--paper-2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.album-filter button:hover { background: var(--paper-3); }
.album-filter button.is-on { background: var(--ink); color: #fff; }
.album { padding: clamp(40px, 5vw, 60px) 0; border-bottom: 1px solid var(--line); }
.album:last-child { border-bottom: 0; }
.album__num { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.album__num::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.album__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 10px 0 24px; }
.album__head h2 { font-size: clamp(40px, 5.4vw, 80px); }
.album__head p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.album__count { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.album__grid { columns: 4 220px; column-gap: 12px; }
.album__grid a { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--paper-2); cursor: zoom-in; margin-bottom: 12px; break-inside: avoid; }
.album__grid img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.album__grid a:hover img { transform: scale(1.04); }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--font-mono); font-size: 13px; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 42px 0 14px; }
.legal p { color: #3c3c3c; line-height: 1.65; }
.legal p + p { margin-top: 10px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logos__track, .rail__track, .hero__arrow svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tools { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .why__card--3 { grid-column: span 2; min-height: 300px; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0; background: #0a0a0a; color: #fff; flex-direction: column; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
  .nav__links .nav__link { font-size: 30px; opacity: 1; font-weight: 600; letter-spacing: -0.02em; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; position: relative; z-index: 2; }
  .nav.is-open { color: #fff; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav.is-open .nav__logo img { filter: none; }
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__aside { text-align: left; }
  .intro, .faq, .contact, .services, .timeline, .case, .stats-intro { grid-template-columns: 1fr; }
  .intro__text { text-align: left; }
  .duo, .projects, .split { grid-template-columns: 1fr; }
  .steps, .stats, .results { grid-template-columns: 1fr; }
  .step { min-height: 190px; }
  .trio-img { grid-template-columns: 1fr; }
  .trio-img img { aspect-ratio: 16 / 9; }
  .photo-strip figure:nth-child(1), .photo-strip figure:nth-child(7) { display: none; }
  .photo-strip figure { width: 22% !important; transform: none !important; }
  .faq .a { padding-left: 0; padding-right: 0; }
  .faq summary { grid-template-columns: 44px 1fr 20px; }
  .faq summary .q { padding-left: 0; }
  .skill { grid-template-columns: 1fr; gap: 10px; }
  .case__aside { position: static; }
  .album__grid { columns: 2; column-gap: 8px; }
  .album__grid a { margin-bottom: 8px; }
  .album__head { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr auto; }
  .sec-head__num { display: none; }
  .albums-intro { grid-template-columns: 1fr auto; }
  .albums-intro span:nth-child(2) { display: none; }
  .page-hero__side { gap: 16px; }
}
@media (max-width: 600px) {
  .tools, .why { grid-template-columns: 1fr; }
  .why__card--3 { grid-column: auto; }
  .project__meta { flex-direction: column; align-items: flex-start; }
  .project__tags { justify-content: flex-start; }
  .photo-strip { gap: 8px; }
  .photo-strip figure { width: 30% !important; }
  .photo-strip figure:nth-child(2), .photo-strip figure:nth-child(6) { display: none; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}
