/* ============================================================================
 * Architekte · Accueil v2 "cinema sombre" (28/09/2026)
 * ----------------------------------------------------------------------------
 * Refonte de la page d'accueil inspiree de la video "Claude DESIGN + Claude
 * CODE : creer un site anime de A a Z" (Tony Lotis) : design system d'abord,
 * sections animees facon 21st.dev, split reveal au scroll (la maquette 3D
 * Sketchfab a ete retiree le 29/09/2026). Les styles de l'agent (.ak-*) restent dans architekte.css et sont
 * seulement re-habilles ici pour coller a la nouvelle identite.
 *
 * Amelioration progressive : sans JavaScript (ou avec "reduire les
 * animations"), la page reste complete et lisible. Les mises en page animees
 * (split, defilement horizontal...) ne s'activent que sous html.ax-anim.
 * ==========================================================================*/

/* ---------- Polices (auto-hebergees) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/InterTight-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Design system ---------- */
:root {
  --ax-bg: #0E0E0C;
  --ax-bg-2: #161614;
  --ax-bg-3: #1E1E1B;
  --ax-ink: #EEE9E0;
  --ax-dim: rgba(238, 233, 224, 0.62);
  --ax-faint: rgba(238, 233, 224, 0.38);
  --ax-line: rgba(238, 233, 224, 0.14);
  --ax-paper: #EEE9E0;
  --ax-paper-ink: #14140F;
  --ax-paper-dim: rgba(20, 20, 15, 0.62);
  --ax-paper-line: rgba(20, 20, 15, 0.14);
  --ax-accent: #E8622C;
  --ax-accent-2: #F0895C;

  --ax-serif: "Instrument Serif", "Times New Roman", serif;
  --ax-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --ax-gutter: clamp(20px, 4.4vw, 72px);
  --ax-ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Re-habillage de l'agent (variables lues par architekte.css) */
  --ink2: #121210;
  --bg: #EEE9E0;
  --accent: #E8622C;
  --accent2: #F0895C;
}

/* ---------- Base ---------- */
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ax-bg);
  color: var(--ax-ink);
  font-family: var(--ax-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--ax-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--ax-accent); outline-offset: 3px; }

.ax-wrap { width: 100%; padding-left: var(--ax-gutter); padding-right: var(--ax-gutter); }

.ax-label {
  margin: 0 0 22px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ax-dim);
}
.ax-h2 {
  margin: 0;
  font-family: var(--ax-serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.01em;
}
.ax-h2 em, .ax-hero__statement em, .ax-cta__title em, .ax-work__end-title em { color: var(--ax-accent); }
.ax-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ax-line > span { display: block; will-change: transform; }

/* ---------- Boutons ---------- */
.ax-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em; cursor: pointer; overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ax-btn span { position: relative; z-index: 1; }
.ax-btn--accent { background: var(--ax-accent); color: #fff; }
.ax-btn--accent:hover { background: var(--ax-accent-2); }
.ax-btn--line { background: transparent; border-color: var(--ax-line); color: var(--ax-ink); }
.ax-btn--line:hover { border-color: var(--ax-ink); }

.ax-arrow-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 0 6px;
  background: none; border: none; border-bottom: 1px solid currentColor;
  font-size: 15px; font-weight: 500; cursor: pointer;
}
.ax-arrow-link span { transition: transform 0.4s var(--ax-ease); }
.ax-arrow-link:hover span { transform: translateX(6px); }

/* ---------- Ecran d'intro ---------- */
.ax-loader { display: none; }
.ax-js .ax-loader {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: var(--ax-bg); color: var(--ax-ink);
}
.ax-js.ax-seen .ax-loader { display: none; }
.ax-loader__word {
  margin: 0; display: flex; overflow: hidden;
  font-family: var(--ax-serif); font-size: clamp(48px, 10vw, 150px); line-height: 1; letter-spacing: 0.02em;
}
.ax-loader__word span { display: block; }
.ax-loader__meta { margin: 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ax-dim); }
.ax-loader__num {
  position: absolute; right: var(--ax-gutter); bottom: 28px; margin: 0;
  font-family: var(--ax-serif); font-size: clamp(40px, 6vw, 88px); line-height: 1; color: var(--ax-accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- Curseur + grain ---------- */
.ax-cursor { display: none; }
@media (pointer: fine) {
  .ax-anim .ax-cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 90; width: 0; height: 0;
    pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  }
  .ax-anim .ax-cursor.is-on { opacity: 1; }
  .ax-cursor__ring {
    position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(238, 233, 224, 0.55);
    transition: transform 0.45s var(--ax-ease), background-color 0.3s ease, border-color 0.3s ease;
  }
  .ax-cursor.is-link .ax-cursor__ring { transform: scale(1.6); border-color: var(--ax-accent); }
  .ax-cursor.is-label .ax-cursor__ring { transform: scale(2.6); background: var(--ax-accent); border-color: var(--ax-accent); }
  .ax-cursor__label {
    position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.6); opacity: 0;
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: #fff; white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.45s var(--ax-ease);
  }
  .ax-cursor.is-label .ax-cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.ax-grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ax-anim .ax-grain { animation: axGrain 1.2s steps(6) infinite; }
@keyframes axGrain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Nav ---------- */
.ax-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--ax-gutter);
  transition: transform 0.6s var(--ax-ease), background-color 0.4s ease, backdrop-filter 0.4s ease;
}
.ax-nav.is-solid { background: rgba(14, 14, 12, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ax-nav.is-hidden { transform: translateY(-110%); }
.ax-nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; letter-spacing: 0.22em; }
.ax-nav__links { display: flex; gap: 28px; margin-left: auto; }
.ax-nav__links a { position: relative; font-size: 14px; color: var(--ax-dim); transition: color 0.3s ease; }
.ax-nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ax-ease);
}
/* Sur la photo du hero (feuillage clair), un leger halo garde les liens lisibles. */
.ax-nav:not(.is-solid) .ax-nav__links a { color: rgba(238, 233, 224, 0.9); text-shadow: 0 1px 10px rgba(14, 14, 12, 0.75); }
.ax-nav__links a:hover, .ax-nav:not(.is-solid) .ax-nav__links a:hover { color: var(--ax-ink); }
.ax-nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.ax-nav__burger {
  display: none; margin-left: auto; height: 42px; padding: 0 18px; border-radius: 999px;
  background: rgba(238, 233, 224, 0.08); border: 1px solid var(--ax-line); cursor: pointer; font-size: 14px;
}

.ax-menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 90px var(--ax-gutter) 40px; background: var(--ax-bg);
}
.ax-menu[hidden] { display: none; }
.ax-menu nav { display: flex; flex-direction: column; gap: 6px; }
.ax-menu nav a { font-family: var(--ax-serif); font-size: clamp(44px, 12vw, 72px); line-height: 1.1; }
.ax-menu .ax-btn { align-self: flex-start; }

@media (max-width: 960px) {
  .ax-nav__links, .ax-nav__cta { display: none; }
  .ax-nav__burger { display: inline-flex; align-items: center; }
}

/* ---------- Hero (mise en page de base, sans animation) ---------- */
.ax-hero { position: relative; }
.ax-hero__sticky { position: relative; display: flex; flex-direction: column; }
.ax-hero__behind { order: 2; } /* sans animation : la photo d'abord, le texte ensuite */
.ax-hero__half--r, .ax-hero__seam, .ax-hero__scroll { display: none; }
.ax-hero__half--l { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.ax-hero__frame { position: absolute; inset: 0; }
.ax-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.ax-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 14, 12, 0.72) 0%, rgba(14, 14, 12, 0) 30%),
    linear-gradient(90deg, rgba(14, 14, 12, 0.45) 0%, rgba(14, 14, 12, 0) 55%),
    linear-gradient(0deg, rgba(14, 14, 12, 0.85) 0%, rgba(14, 14, 12, 0.3) 45%, rgba(14, 14, 12, 0) 70%);
}
.ax-hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--ax-gutter) clamp(36px, 6vh, 64px);
}
.ax-hero__kicker {
  position: absolute; top: clamp(96px, 16vh, 150px); left: var(--ax-gutter); margin: 0;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(238, 233, 224, 0.8);
}
.ax-hero__title {
  margin: 0; font-family: var(--ax-serif); font-weight: 400;
  font-size: clamp(64px, 12.5vw, 210px); line-height: 0.9; letter-spacing: -0.02em;
}
.ax-hero__title em { color: var(--ax-ink); }
.ax-hero__sub { margin: 26px 0 0; max-width: 380px; font-size: 16px; color: rgba(238, 233, 224, 0.78); }

.ax-hero__behind { position: relative; display: flex; align-items: center; padding: 110px var(--ax-gutter) 90px; background: var(--ax-bg); }
.ax-hero__behind-inner { width: 100%; max-width: 1180px; margin: 0 auto; }
.ax-hero__statement {
  margin: 0; max-width: 16ch;
  font-family: var(--ax-serif); font-size: clamp(38px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -0.01em;
}
.ax-hero__behind-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: end; }
.ax-hero__plan { margin: 0; }
.ax-hero__plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(0.35) contrast(1.05); }
.ax-hero__plan figcaption { margin-top: 12px; font-size: 13px; color: var(--ax-faint); }
@media (max-width: 760px) {
  .ax-hero__behind-top { grid-template-columns: 1fr; }
  .ax-hero__plan { display: none; }
}
.ax-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(44px, 7vh, 80px); border-top: 1px solid var(--ax-line); }
.ax-stat { padding-top: 22px; }
.ax-stat__num { margin: 0; font-family: var(--ax-serif); font-size: clamp(48px, 5.4vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; }
.ax-stat__num sup { font-size: 0.34em; margin-left: 4px; color: var(--ax-accent); vertical-align: 1.4em; font-family: var(--ax-sans); }
.ax-stat__label { margin: 10px 0 0; font-size: 14px; color: var(--ax-dim); }
@media (max-width: 760px) {
  .ax-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}

/* ---------- Hero anime : split reveal ---------- */
.ax-anim .ax-hero { height: 280vh; }
.ax-anim .ax-hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ax-anim .ax-hero__behind { position: absolute; inset: 0; padding-top: 80px; padding-bottom: 40px; }
.ax-anim .ax-hero__half { position: absolute; top: 0; bottom: 0; width: 50%; height: auto; min-height: 0; overflow: hidden; display: block; will-change: transform; }
.ax-anim .ax-hero__half--l { left: 0; }
.ax-anim .ax-hero__half--r { right: 0; }
.ax-anim .ax-hero__frame { left: 0; right: auto; width: 100vw; }
.ax-anim .ax-hero__half--r .ax-hero__frame { left: auto; right: 0; }
.ax-anim .ax-hero__frame img { transform: scale(1.12); transform-origin: 50% 60%; will-change: transform; }
.ax-anim .ax-hero__seam {
  display: block; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -0.5px; z-index: 3;
  background: var(--ax-accent); transform: scaleY(0); transform-origin: top;
}
.ax-anim .ax-hero__scroll {
  display: flex; align-items: center; gap: 12px; position: absolute; right: var(--ax-gutter); bottom: clamp(36px, 6vh, 64px); z-index: 4; margin: 0;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(238, 233, 224, 0.8);
}
.ax-hero__scroll span { position: relative; display: block; width: 1px; height: 46px; background: rgba(238, 233, 224, 0.25); overflow: hidden; }
.ax-hero__scroll span::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--ax-ink);
  animation: axScrollLine 2.2s var(--ax-ease) infinite;
}
@keyframes axScrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 760px) {
  .ax-anim .ax-hero { height: 240vh; }
  .ax-anim .ax-hero__scroll { display: none; }
}

/* Etats initiaux avant l'animation d'entree */
.ax-js .ax-hero__title .ax-line > span { transform: translateY(110%); }
.ax-js .ax-hero__kicker, .ax-js .ax-hero__sub { opacity: 0; }

/* ---------- Bandeau defilant ---------- */
.ax-marquee { overflow: hidden; padding: clamp(30px, 5vw, 60px) 0; border-bottom: 1px solid var(--ax-line); }
.ax-marquee__track {
  display: flex; align-items: center; gap: 0.5em; width: max-content;
  font-family: var(--ax-serif); font-size: clamp(56px, 9vw, 150px); line-height: 1; white-space: nowrap;
  animation: axMarquee 38s linear infinite;
}
.ax-marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(238, 233, 224, 0.55); }
.ax-marquee__track i { font-style: normal; font-size: 0.3em; color: var(--ax-accent); }
@keyframes axMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Studio ---------- */
.ax-studio { padding: clamp(90px, 14vw, 200px) 0 clamp(70px, 10vw, 140px); }
.ax-studio__grid { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 40px; }
.ax-bigtext { margin: 0; font-family: var(--ax-serif); font-size: clamp(32px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -0.005em; }
.ax-bigtext .ax-word { display: inline; }
.ax-studio__cols { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: clamp(40px, 6vw, 80px); max-width: 880px; }
.ax-studio__cols p { margin: 0; max-width: 460px; color: var(--ax-dim); }
.ax-studio__media { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(20px, 3vw, 48px); align-items: end; margin-top: clamp(60px, 9vw, 130px); }
.ax-media { margin: 0; }
.ax-clip { overflow: hidden; }
.ax-clip img { width: 100%; height: 100%; object-fit: cover; }
.ax-media--tall .ax-clip { aspect-ratio: 4 / 5; }
.ax-media--wide .ax-clip { aspect-ratio: 3 / 2; }
.ax-anim .ax-clip img[data-speed] { height: 118%; margin-top: -9%; }
.ax-media figcaption { margin-top: 14px; font-size: 13px; color: var(--ax-faint); }
@media (max-width: 760px) {
  .ax-studio__grid, .ax-studio__cols, .ax-studio__media { grid-template-columns: 1fr; }
  .ax-studio__grid { gap: 0; }
}

/* ---------- Projets ---------- */
.ax-work { position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 8vw, 100px); background: var(--ax-bg); }
.ax-work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.ax-work__count { margin: 0; font-family: var(--ax-serif); font-size: clamp(28px, 3vw, 44px); color: var(--ax-dim); font-variant-numeric: tabular-nums; }
.ax-work__count span { color: var(--ax-ink); }
.ax-work__track { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 0 var(--ax-gutter); }
.ax-project { margin: 0; }
.ax-project__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ax-bg-2); }
.ax-project--tall .ax-project__img { aspect-ratio: 4 / 5; }
.ax-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ax-ease); }
.ax-project:hover .ax-project__img img { transform: scale(1.04); }
.ax-project__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; margin-top: 18px; }
.ax-project__meta span { grid-row: span 2; font-size: 12px; color: var(--ax-accent); padding-top: 8px; }
.ax-project__meta h3 { margin: 0; font-family: var(--ax-serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; }
.ax-project__meta p { margin: 4px 0 0; font-size: 14px; color: var(--ax-dim); }
.ax-work__end { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 40px 0; }
.ax-work__end-title { margin: 0; font-family: var(--ax-serif); font-size: clamp(40px, 4.4vw, 72px); line-height: 1; max-width: 9ch; }
.ax-work__progress { display: none; }

@media (min-width: 900px) {
  .ax-anim .ax-work { height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .ax-anim .ax-work__head { margin-bottom: 4vh; }
  .ax-anim .ax-work__viewport { overflow: visible; }
  .ax-anim .ax-work__track { display: flex; align-items: flex-end; gap: 4vw; width: max-content; padding-right: 10vw; will-change: transform; }
  .ax-anim .ax-project { flex: 0 0 auto; }
  .ax-anim .ax-project__img { height: 52vh; width: calc(52vh * 4 / 3); aspect-ratio: auto; }
  .ax-anim .ax-project--tall .ax-project__img { height: 60vh; width: calc(60vh * 4 / 5); }
  .ax-anim .ax-project__img img { width: 116%; max-width: none; margin-left: -8%; }
  .ax-anim .ax-work__end { width: 34vw; height: 60vh; padding: 0 0 0 4vw; border-left: 1px solid var(--ax-line); }
  .ax-anim .ax-work__progress { display: block; margin-top: 4vh; }
  .ax-anim .ax-work__progress::before { content: ""; display: block; height: 1px; background: var(--ax-line); }
  .ax-anim .ax-work__progress span { display: block; height: 1px; margin-top: -1px; background: var(--ax-ink); transform: scaleX(0); transform-origin: left; }
}
@media (min-width: 900px) {
  html:not(.ax-anim) .ax-work__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html:not(.ax-anim) .ax-work__end { grid-column: span 3; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .ax-work__track { grid-template-columns: 1fr 1fr; }
  .ax-work__end { grid-column: span 2; }
}

/* ---------- Sections claires ---------- */
.ax-light { background: var(--ax-paper); color: var(--ax-paper-ink); }
.ax-light .ax-label { color: var(--ax-paper-dim); }

/* ---------- Methode ---------- */
.ax-method { padding: clamp(90px, 12vw, 180px) 0; }
.ax-method__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.ax-method__aside { position: sticky; top: 120px; }
.ax-method__intro { margin: 28px 0 0; max-width: 360px; color: var(--ax-paper-dim); }
.ax-method__steps { position: relative; padding-left: 36px; }
.ax-method__steps ol { list-style: none; margin: 0; padding: 0; }
.ax-method__rail { position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--ax-paper-line); }
.ax-method__fill { position: absolute; inset: 0; background: var(--ax-accent); transform-origin: top; }
.ax-anim .ax-method__fill { transform: scaleY(0); }
.ax-step { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 0 0 clamp(56px, 8vw, 110px); }
.ax-step:last-child { padding-bottom: 0; }
.ax-step__num { font-family: var(--ax-serif); font-size: 44px; line-height: 1; color: var(--ax-paper-line); transition: color 0.6s ease; }
.ax-step.is-active .ax-step__num, .ax-static .ax-step__num, html:not(.ax-anim) .ax-step__num { color: var(--ax-accent); }
.ax-step h3 { margin: 4px 0 12px; font-family: var(--ax-serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.ax-step p { margin: 0; max-width: 460px; color: var(--ax-paper-dim); }
.ax-step__time { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--ax-paper-line); border-radius: 999px; font-size: 12px; letter-spacing: 0.06em; }
@media (max-width: 860px) {
  .ax-method__grid { grid-template-columns: 1fr; }
  .ax-method__aside { position: static; }
  .ax-step { grid-template-columns: 56px 1fr; }
  .ax-step__num { font-size: 34px; }
}

/* ---------- Services (bento + spotlight) ---------- */
.ax-services { padding: clamp(90px, 12vw, 180px) 0; }
.ax-services__head { margin-bottom: clamp(40px, 6vw, 80px); }
.ax-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ax-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: 340px; padding: 32px; overflow: hidden; isolation: isolate;
  background: var(--ax-bg-2); border: 1px solid var(--ax-line); border-radius: 4px;
  transition: border-color 0.4s ease, transform 0.6s var(--ax-ease);
}
.ax-card--lg { grid-column: span 2; }
.ax-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 98, 44, 0.16), transparent 60%);
}
.ax-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(232, 98, 44, 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ax-card:hover { transform: translateY(-4px); }
.ax-card:hover::before, .ax-card:hover::after { opacity: 1; }
.ax-card__num { position: absolute; top: 28px; right: 32px; font-size: 12px; color: var(--ax-faint); }
.ax-card__icon { position: absolute; top: 28px; left: 32px; color: var(--ax-accent); }
.ax-card h3 { margin: 0; font-family: var(--ax-serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; }
.ax-card p { margin: 0; max-width: 460px; color: var(--ax-dim); }
.ax-card--img img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; transition: transform 1.4s var(--ax-ease), opacity 0.6s ease; }
.ax-card--img::before { background: linear-gradient(0deg, rgba(14, 14, 12, 0.9) 10%, rgba(14, 14, 12, 0.2) 80%), radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 98, 44, 0.16), transparent 60%); opacity: 1; }
.ax-card--img:hover img { transform: scale(1.05); opacity: 0.5; }
@media (max-width: 860px) {
  .ax-bento { grid-template-columns: 1fr; }
  .ax-card--lg { grid-column: auto; }
  .ax-card { min-height: 280px; padding: 26px; }
  .ax-card__icon { left: 26px; top: 24px; }
  .ax-card__num { right: 26px; top: 24px; }
}

/* ---------- FAQ ---------- */
.ax-faq { padding: clamp(90px, 12vw, 170px) 0; }
.ax-faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.ax-faq__list { border-top: 1px solid var(--ax-paper-line); }
.ax-faq__item { border-bottom: 1px solid var(--ax-paper-line); }
.ax-faq__q {
  position: relative; width: 100%; padding: 28px 56px 28px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--ax-serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; color: var(--ax-paper-ink);
}
.ax-faq__q span { position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.ax-faq__q span::before, .ax-faq__q span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.5s var(--ax-ease); }
.ax-faq__q span::after { transform: rotate(90deg); }
.ax-faq__item.is-open .ax-faq__q span::after { transform: rotate(0deg); }
.ax-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ax-ease); }
.ax-faq__a > div { overflow: hidden; }
.ax-faq__a p { margin: 0; padding: 0 56px 28px 0; max-width: 620px; color: var(--ax-paper-dim); }
.ax-faq__item.is-open .ax-faq__a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .ax-faq__grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.ax-cta { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.ax-cta__bg { position: absolute; inset: 0; }
.ax-cta__bg img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; opacity: 0.55; }
.ax-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 12, 0.9) 0%, rgba(14, 14, 12, 0.35) 70%); }
.ax-cta__inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; }
.ax-cta__title { margin: 0; font-family: var(--ax-serif); font-weight: 400; font-size: clamp(60px, 11vw, 190px); line-height: 0.92; letter-spacing: -0.02em; }
.ax-cta__text { margin: 30px 0 0; max-width: 440px; color: rgba(238, 233, 224, 0.78); }
.ax-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 44px;
  width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(238, 233, 224, 0.4);
  background: rgba(238, 233, 224, 0.06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 16px; font-weight: 500; cursor: pointer; transition: background-color 0.4s ease, border-color 0.4s ease;
}
.ax-cta__btn:hover { background: var(--ax-accent); border-color: var(--ax-accent); }

/* ---------- Footer ---------- */
.ax-footer { padding: clamp(70px, 9vw, 120px) 0 28px; border-top: 1px solid var(--ax-line); overflow: hidden; }
.ax-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ax-footer__grid p { margin: 0 0 6px; font-size: 15px; color: var(--ax-dim); }
.ax-footer__grid a:hover { color: var(--ax-ink); }
.ax-footer__label { margin-bottom: 14px !important; font-size: 12px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ax-faint) !important; }
.ax-footer__cta .ax-arrow-link { color: var(--ax-ink); }
.ax-footer__word {
  display: flex; justify-content: space-between; margin: clamp(50px, 8vw, 110px) 0 0; padding: 0 var(--ax-gutter); overflow: hidden;
  font-family: var(--ax-serif); font-size: clamp(64px, 16.5vw, 300px); line-height: 0.82; color: var(--ax-ink);
}
.ax-footer__word span { display: block; }
.ax-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ax-line); }
.ax-footer__bottom p { margin: 0; font-size: 13px; color: var(--ax-faint); }
@media (max-width: 760px) {
  .ax-footer__grid { grid-template-columns: 1fr 1fr; }
  .ax-footer__bottom { flex-direction: column; }
}

/* ---------- Bouton flottant (re-habille) ---------- */
.ak-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  background: rgba(22, 22, 20, 0.78); color: var(--ax-ink); border: 1px solid var(--ax-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--ax-sans); font-size: 14px; font-weight: 500; cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s var(--ax-ease), opacity 0.4s ease, border-color 0.3s ease;
}
.ak-fab:hover { border-color: var(--ax-accent); transform: translateY(-2px); }
.ak-fab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ax-accent); box-shadow: 0 0 0 4px rgba(232, 98, 44, 0.2); }
.ax-anim .ak-fab { opacity: 0; transform: translateY(20px); pointer-events: none; }
.ax-anim .ak-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ax-anim .ak-fab.is-visible.is-muted { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ---------- Agent (re-habillage) ---------- */
.ak-overlay { background: #121210; font-family: var(--ax-sans); }
.ak-overlay .ak-w-h1, .ak-overlay .ak-w-h2 { font-family: var(--ax-serif); font-weight: 400; letter-spacing: -0.01em; }
.ak-overlay .ak-w-h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; }
.ak-overlay .ak-w-h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
.ak-overlay .ak-w-btn, .ak-overlay .ak-w-field, .ak-overlay .ak-w-link { font-family: var(--ax-sans); }
.ak-overlay .ak-w-btn { border-radius: 999px; padding: 14px 30px; }
.ak-overlay .ak-w-card { border-radius: 4px; border-color: rgba(238, 233, 224, 0.16); }
.ak-overlay .ak-w-card:hover, .ak-overlay .ak-w-card.is-on { border-color: var(--ax-accent); }
.ak-overlay .ak-w-field { border-radius: 4px; border-color: rgba(238, 233, 224, 0.16); }
.ak-overlay .ak-w-field:focus { border-color: var(--ax-accent); }

/* ---------- Reduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
  .ax-marquee__track, .ax-grain, .ax-hero__scroll span::after { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
