/* ============================================================================
 * Atelier Vermont · Accueil (29/09/2026)
 * ----------------------------------------------------------------------------
 * Site de demonstration Solane IA pour prospecter les entreprises de
 * menuiserie. Memes animations que l'accueil Architekte (split reveal au
 * scroll, titres ligne par ligne, texte mot par mot, projets en defilement
 * horizontal, cartes lumineuses, curseur, grain), mais en version CLAIRE :
 * palette "lin & foret" avec un accent cuivre, Fraunces + Inter Tight
 * auto-hebergees dans fonts/.
 *
 * Amelioration progressive : sans JavaScript (ou avec "reduire les
 * animations"), la page reste complete et lisible. Les mises en page animees
 * ne s'activent que sous html.vx-anim.
 * ==========================================================================*/

/* ---------- Polices (auto-hebergees) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-var.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-var-italic.woff2") format("woff2"); font-weight: 300 600; 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 {
  --vx-bg: #F5F1E8;          /* lin */
  --vx-bg-2: #ECE5D6;        /* sable */
  --vx-card: #FBF9F4;
  --vx-ink: #16241D;         /* encre foret */
  --vx-dim: rgba(22, 36, 29, 0.68);
  --vx-faint: rgba(22, 36, 29, 0.46);
  --vx-line: rgba(22, 36, 29, 0.14);

  --vx-forest: #1D352A;      /* sections sombres */
  --vx-forest-2: #24402F;
  --vx-on-forest: #F3EFE3;
  --vx-on-forest-dim: rgba(243, 239, 227, 0.7);
  --vx-on-forest-line: rgba(243, 239, 227, 0.16);

  --vx-accent: #A9502A;      /* cuivre (contraste suffisant sur le lin) */
  --vx-accent-2: #C4683F;
  --vx-accent-soft: rgba(169, 80, 42, 0.12);

  --vx-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --vx-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

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

/* ---------- 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(--vx-bg);
  color: var(--vx-ink);
  font-family: var(--vx-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(--vx-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--vx-accent); outline-offset: 3px; }

.vx-wrap { width: 100%; padding-left: var(--vx-gutter); padding-right: var(--vx-gutter); box-sizing: border-box; }

.vx-label {
  margin: 0 0 22px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--vx-dim);
}
.vx-h2 {
  margin: 0;
  font-family: var(--vx-serif); font-weight: 350; font-variation-settings: "opsz" 144;
  font-size: clamp(42px, 6vw, 96px); line-height: 1; letter-spacing: -0.015em;
}
.vx-h2 em, .vx-hero__statement em, .vx-cta__title em, .vx-work__end-title em { color: var(--vx-accent); font-weight: 350; }
.vx-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.vx-line > span { display: block; will-change: transform; }

/* ---------- Boutons ---------- */
.vx-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;
}
.vx-btn span { position: relative; z-index: 1; }
.vx-btn--accent { background: var(--vx-accent); color: #fff; }
.vx-btn--accent:hover { background: var(--vx-accent-2); }
.vx-btn--line { background: transparent; border-color: var(--vx-line); color: var(--vx-ink); }
.vx-btn--line:hover { border-color: var(--vx-ink); }

.vx-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;
}
.vx-arrow-link span { transition: transform 0.4s var(--vx-ease); }
.vx-arrow-link:hover span { transform: translateX(6px); }

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

/* ---------- Curseur + grain ---------- */
.vx-cursor { display: none; }
@media (pointer: fine) {
  .vx-anim .vx-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;
  }
  .vx-anim .vx-cursor.is-on { opacity: 1; }
  .vx-cursor__ring {
    position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(22, 36, 29, 0.5); mix-blend-mode: multiply;
    transition: transform 0.45s var(--vx-ease), background-color 0.3s ease, border-color 0.3s ease;
  }
  .vx-cursor.is-link .vx-cursor__ring { transform: scale(1.6); border-color: var(--vx-accent); }
  .vx-cursor.is-label .vx-cursor__ring { transform: scale(2.6); background: var(--vx-accent); border-color: var(--vx-accent); mix-blend-mode: normal; }
  .vx-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(--vx-ease);
  }
  .vx-cursor.is-label .vx-cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.vx-grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  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");
}
.vx-anim .vx-grain { animation: vxGrain 1.2s steps(6) infinite; }
@keyframes vxGrain {
  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 ---------- */
/* Transparente (texte clair) sur la photo du hero, puis barre lin opaque (texte fonce) apres. */
.vx-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--vx-gutter);
  color: var(--vx-on-forest);
  transition: transform 0.6s var(--vx-ease), background-color 0.4s ease, color 0.4s ease, backdrop-filter 0.4s ease;
}
.vx-nav.is-solid { background: rgba(245, 241, 232, 0.86); color: var(--vx-ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--vx-line); }
.vx-nav.is-hidden { transform: translateY(-110%); }
.vx-nav__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; letter-spacing: 0.22em; }
.vx-nav__links { display: flex; gap: 28px; margin-left: auto; }
.vx-nav__links a { position: relative; font-size: 14px; opacity: 0.82; transition: opacity 0.3s ease; }
.vx-nav:not(.is-solid) .vx-nav__logo, .vx-nav:not(.is-solid) .vx-nav__links a { text-shadow: 0 1px 10px rgba(10, 18, 14, 0.6); }
.vx-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(--vx-ease);
}
.vx-nav__links a:hover { opacity: 1; }
.vx-nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.vx-nav__burger {
  display: none; margin-left: auto; height: 42px; padding: 0 18px; border-radius: 999px;
  background: rgba(243, 239, 227, 0.14); border: 1px solid currentColor; cursor: pointer; font-size: 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vx-nav.is-solid .vx-nav__burger { background: transparent; border-color: var(--vx-line); }

.vx-menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 90px var(--vx-gutter) 40px; background: var(--vx-bg); color: var(--vx-ink);
}
.vx-menu[hidden] { display: none; }
.vx-menu nav { display: flex; flex-direction: column; gap: 6px; }
.vx-menu nav a { font-family: var(--vx-serif); font-weight: 350; font-size: clamp(40px, 11vw, 68px); line-height: 1.12; }
.vx-menu .vx-btn { align-self: flex-start; }
/* Menu ouvert : la nav passe en texte fonce au-dessus du fond lin */
.vx-nav.is-menu { color: var(--vx-ink); }
.vx-nav.is-menu .vx-nav__logo { text-shadow: none; }
.vx-nav.is-menu .vx-nav__burger { background: transparent; border-color: var(--vx-line); }

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

/* ---------- Hero (mise en page de base, sans animation) ---------- */
.vx-hero { position: relative; }
.vx-hero__sticky { position: relative; display: flex; flex-direction: column; }
.vx-hero__behind { order: 2; }
.vx-hero__half--r, .vx-hero__seam, .vx-hero__scroll { display: none; }
.vx-hero__half--l { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.vx-hero__frame { position: absolute; inset: 0; }
.vx-hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.vx-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 22, 17, 0.6) 0%, rgba(12, 22, 17, 0) 26%),
    linear-gradient(90deg, rgba(12, 22, 17, 0.42) 0%, rgba(12, 22, 17, 0) 58%),
    linear-gradient(0deg, rgba(12, 22, 17, 0.82) 0%, rgba(12, 22, 17, 0.28) 45%, rgba(12, 22, 17, 0) 70%);
}
.vx-hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--vx-gutter) clamp(36px, 6vh, 64px); color: #F6F3EA;
}
.vx-hero__kicker {
  position: absolute; top: clamp(96px, 16vh, 150px); left: var(--vx-gutter); margin: 0;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246, 243, 234, 0.86);
}
.vx-hero__title {
  margin: 0; font-family: var(--vx-serif); font-weight: 330; font-variation-settings: "opsz" 144;
  font-size: clamp(60px, 11.5vw, 196px); line-height: 0.92; letter-spacing: -0.025em;
}
.vx-hero__title em { font-weight: 330; }
.vx-hero__sub { margin: 26px 0 0; max-width: 420px; font-size: 16px; color: rgba(246, 243, 234, 0.84); }

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

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

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

/* ---------- Bandeau defilant ---------- */
.vx-marquee { overflow: hidden; padding: clamp(30px, 5vw, 60px) 0; border-bottom: 1px solid var(--vx-line); background: var(--vx-bg); }
.vx-marquee__track {
  display: flex; align-items: center; gap: 0.5em; width: max-content;
  font-family: var(--vx-serif); font-weight: 330; font-size: clamp(54px, 8.6vw, 144px); line-height: 1.05; white-space: nowrap;
  animation: vxMarquee 40s linear infinite;
}
.vx-marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(22, 36, 29, 0.5); }
.vx-marquee__track i { font-style: normal; font-size: 0.3em; color: var(--vx-accent); }
@keyframes vxMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

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

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

/* ---------- Section foret (outils en ligne) ---------- */
.vx-dark { background: var(--vx-forest); color: var(--vx-on-forest); }
.vx-dark .vx-label { color: var(--vx-on-forest-dim); }
.vx-dark .vx-h2 em { color: var(--vx-accent-2); }

.vx-services { padding: clamp(90px, 12vw, 180px) 0; }
.vx-services__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.vx-services__intro { margin: 0; max-width: 420px; color: var(--vx-on-forest-dim); }
.vx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vx-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: 360px; padding: 32px; overflow: hidden; isolation: isolate;
  background: var(--vx-forest-2); border: 1px solid var(--vx-on-forest-line); border-radius: 4px; color: var(--vx-on-forest);
  transition: border-color 0.4s ease, transform 0.6s var(--vx-ease);
}
.vx-card--lg { grid-column: span 2; }
.vx-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(196, 104, 63, 0.2), transparent 60%);
}
.vx-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(196, 104, 63, 0.95), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.vx-card:hover { transform: translateY(-4px); }
.vx-card:hover::before, .vx-card:hover::after { opacity: 1; }
.vx-card__num { position: absolute; top: 28px; right: 32px; font-size: 12px; color: var(--vx-on-forest-dim); }
.vx-card__icon { position: absolute; top: 28px; left: 32px; color: var(--vx-accent-2); }
.vx-card__tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--vx-on-forest-line); font-size: 12px; letter-spacing: 0.04em; color: var(--vx-on-forest-dim); }
.vx-card h3 { margin: 0; font-family: var(--vx-serif); font-weight: 380; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.06; }
.vx-card p { margin: 0; max-width: 460px; color: var(--vx-on-forest-dim); }
.vx-card__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--vx-on-forest); }
.vx-card__cta span { transition: transform 0.4s var(--vx-ease); }
.vx-card:hover .vx-card__cta span { transform: translateX(6px); }
.vx-card--img img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transition: transform 1.4s var(--vx-ease), opacity 0.6s ease; }
.vx-card--img::before { background: linear-gradient(0deg, rgba(20, 38, 29, 0.94) 12%, rgba(20, 38, 29, 0.25) 85%), radial-gradient(420px circle at var(--mx) var(--my), rgba(196, 104, 63, 0.2), transparent 60%); opacity: 1; }
.vx-card--img:hover img { transform: scale(1.05); opacity: 0.55; }
@media (max-width: 860px) {
  .vx-services__head { grid-template-columns: 1fr; }
  .vx-bento { grid-template-columns: 1fr; }
  .vx-card--lg { grid-column: auto; }
  .vx-card { min-height: 300px; padding: 26px; }
  .vx-card__icon { left: 26px; top: 24px; }
  .vx-card__num { right: 26px; top: 24px; }
}

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

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

/* ---------- CTA final (photo claire, voile lin) ---------- */
.vx-cta { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.vx-cta__bg { position: absolute; inset: 0; }
.vx-cta__bg img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; }
.vx-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245, 241, 232, 0.95) 0%, rgba(245, 241, 232, 0.82) 45%, rgba(245, 241, 232, 0.2) 85%); }
.vx-cta__inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 120px; }
.vx-cta__title { margin: 0; font-family: var(--vx-serif); font-weight: 330; font-variation-settings: "opsz" 144; font-size: clamp(56px, 10vw, 176px); line-height: 0.94; letter-spacing: -0.025em; }
.vx-cta__text { margin: 30px 0 0; max-width: 460px; color: var(--vx-dim); }
.vx-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 44px; }
.vx-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 170px; height: 170px; border-radius: 50%; border: 1px solid var(--vx-accent);
  background: var(--vx-accent); color: #fff;
  font-size: 16px; font-weight: 500; text-align: center; line-height: 1.3; cursor: pointer; transition: background-color 0.4s ease, border-color 0.4s ease;
}
.vx-cta__btn:hover { background: var(--vx-accent-2); border-color: var(--vx-accent-2); }

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

/* ---------- Bouton flottant ---------- */
.vx-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(29, 53, 42, 0.92); color: var(--vx-on-forest); border: 1px solid rgba(243, 239, 227, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--vx-sans); font-size: 14px; font-weight: 500; cursor: pointer;
  box-shadow: 0 12px 34px rgba(22, 36, 29, 0.28);
  transition: transform 0.6s var(--vx-ease), opacity 0.4s ease, border-color 0.3s ease;
}
.vx-fab:hover { border-color: var(--vx-accent-2); transform: translateY(-2px); }
.vx-fab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vx-accent-2); box-shadow: 0 0 0 4px rgba(196, 104, 63, 0.25); }
.vx-anim .vx-fab { opacity: 0; transform: translateY(20px); pointer-events: none; }
.vx-anim .vx-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.vx-anim .vx-fab.is-visible.is-muted { opacity: 0; transform: translateY(20px); pointer-events: none; }

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