/* ============================================================
   CREATIK — Studio Hybride
   ============================================================ */
:root {
  --ink: #0d1f1a;
  --surface: #122a24;
  --ink-deep: #091510;
  --bone: #f7f4ef;
  --white: #ffffff;
  --gold: #c9a05f;
  --muted: #8a8f96;
  --display: "Fraunces", Georgia, serif;
  --body: "Space Grotesk", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
section[id] { scroll-margin-top: 76px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}
@media (max-width: 768px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

/* ---------- materials ---------- */
.dark-section { background: var(--ink); color: var(--bone); position: relative; }
.dark-section > * { position: relative; z-index: 2; }
.dark-section::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: var(--grain);
  background-size: 240px 240px;
  opacity: 0.06; pointer-events: none;
}
.dark-section::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, var(--gold) 1px, transparent 1px),
    linear-gradient(to bottom, var(--gold) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.035; pointer-events: none;
}
.light-section { background: var(--bone); color: var(--ink); position: relative; }

/* gold hairline that draws itself */
.hairline {
  height: 1px; background: var(--gold); opacity: 0.55;
  transform-origin: left center; transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}
.hairline.is-visible, .hairline--static { transform: scaleX(1); }

/* ---------- typography ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 3.5rem;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.section-title em { font-style: italic; color: var(--gold); }
.overline {
  font-size: 0.8rem; letter-spacing: 0.32em; color: var(--gold);
  font-weight: 500; margin-bottom: 28px;
}
.group-label {
  font-size: 0.8rem; letter-spacing: 0.28em; color: var(--muted);
  font-weight: 500; margin: 88px 0 8px;
}
.goldlink { color: var(--gold); border-bottom: 1px solid rgba(201,160,95,.4); transition: border-color .3s; }
.goldlink:hover { border-color: var(--gold); }
@media (max-width: 768px) {
  .section-title { font-size: 2.3rem; }
}

/* ---------- reveals ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-num, .reveal-group > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible,
.reveal-num.is-visible, .reveal-group.is-visible > * {
  opacity: 1; transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-num, .reveal-group > *, .hairline {
    opacity: 1 !important; transform: none !important;
  }
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    display: block; position: fixed; z-index: 10000; pointer-events: none;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
    transform: translate(-50%, -50%); top: 0; left: 0;
  }
  .cursor-ring {
    display: block; position: fixed; z-index: 9999; pointer-events: none;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(201,160,95,.55);
    transform: translate(-50%, -50%) scale(1); top: 0; left: 0;
    transition: width .35s var(--ease), height .35s var(--ease), border-color .35s;
  }
  .cursor-ring.is-active { width: 58px; height: 58px; border-color: rgba(201,160,95,.9); }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 31, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(201,160,95,.25);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 18px 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { height: 40px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 0.9rem; letter-spacing: 0.06em; color: var(--bone);
  position: relative; transition: color .3s;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right center;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--gold); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 9px 22px; border-radius: 100px;
  transition: background .35s, color .35s;
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }
.nav__burger {
  display: none; background: none; border: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 7px; cursor: pointer;
}
.nav__burger span { display: block; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease), opacity .3s; }
.nav__burger span:first-child { width: 26px; margin-left: auto; }
.nav__burger span:last-child { width: 18px; margin-left: auto; }
body.menu-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); width: 24px; }
body.menu-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); width: 24px; }
@media (max-width: 900px) {
  .nav__inner { padding: 14px 24px; }
  .nav__logo { height: 34px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: rgba(13,31,26,.97);
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { padding: 0 24px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.mobile-menu a {
  font-family: var(--display); font-size: 2.6rem; font-weight: 500; color: var(--bone);
  padding: 6px 0; opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu a:hover { color: var(--gold); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: .08s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: .16s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: .24s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: .32s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: .4s; }
body.menu-open .mobile-menu a:nth-child(6) { transition-delay: .48s; }
.mobile-menu__cta { color: var(--gold) !important; font-size: 1.6rem !important; margin-top: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  position: relative;
  background: var(--ink);          /* deep field behind the live Vanta NET canvas */
}
/* ---- VANTA NET background ----
   Vanta paints a WebGL canvas of gold points/lines on the deep-green field into
   this layer, mouse-reactive, sitting below the content. z-index keeps it under
   the text; the veil lifts contrast so the solid headline always reads cleanly. */
.hero__vanta {
  position: absolute; inset: 0; z-index: 0;
  background: var(--ink);          /* fallback fill before/without WebGL */
}
.hero__vanta canvas { display: block; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 40%, rgba(9,21,16,0.55) 0%, rgba(9,21,16,0.20) 45%, transparent 75%),
    linear-gradient(to bottom, rgba(13,31,26,0.35), rgba(13,31,26,0.10) 40%, rgba(13,31,26,0.55));
}
.hero__content { position: relative; z-index: 3; }
.hero__title {
  font-family: var(--display); font-weight: 500;
  font-size: 6rem; line-height: 1.04; letter-spacing: -0.015em;
  max-width: 17ch; margin-bottom: 36px; color: var(--white);
  opacity: 0;                       /* GSAP flips this to 1 once the word masks are primed (no FOUC) */
}
.hero__title.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__title { opacity: 1 !important; } }
/* solid, high-contrast headline — legibility first: white main phrase, gold italic accent.
   No texture, no video, no gradient inside the glyphs. */
.hero__line { color: var(--white); }
.hero__gold {
  font-style: italic; color: var(--gold);
  text-shadow: 0 2px 30px rgba(9, 21, 16, 0.45);   /* lift off the animated bg, not a texture inside the letters */
}
/* per-word masks for the GSAP load stagger (words rise out of a clipped box) */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word-inner { display: inline-block; will-change: transform; }
.hero__sub { max-width: 56ch; color: var(--bone); font-size: 1.1rem; margin-bottom: 44px; }
.hero__ctas { display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 16px 34px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em;
  transition: transform .4s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { transform: translateY(-3px); background: #d8b273; }
.btn--ghost { border: 1px solid rgba(247,244,239,.35); color: var(--bone); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }
.hero__scrollline {
  position: absolute; bottom: 0; left: 50%; width: 1px; height: 90px; z-index: 3;
  background: rgba(201,160,95,.18); overflow: hidden;
}
.hero__scrollline span {
  position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--gold);
  animation: scrollline 2.4s var(--ease) infinite;
}
@keyframes scrollline { 0% { top: -40%; } 60%, 100% { top: 110%; } }
@media (max-width: 768px) {
  .hero { padding: 120px 0 80px; }
  .hero__title { font-size: 2.8rem; }
  .hero__sub { font-size: 1rem; }
}

/* ============================================================
   STRIP
   ============================================================ */
.strip {
  background: var(--bone);
  border-top: 1px solid rgba(201,160,95,.5);
  border-bottom: 1px solid rgba(201,160,95,.5);
  overflow: hidden; padding: 18px 0;
}
.strip__track { display: flex; width: max-content; animation: marquee 35s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__seq { display: flex; align-items: center; white-space: nowrap; }
.strip__seq span {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--muted); padding: 0 22px;
}
.strip__seq i { color: var(--gold); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   PRODUITS
   ============================================================ */
.produits { padding: 120px 0; }
.produits .section-title { margin-bottom: 48px; }
.produit-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 96px 0;
}
.produit-row--flip .produit-row__visual { order: 2; }
.produit-row--flip .produit-row__text { order: 1; }
.produit-row__visual { position: relative; }
.produit-index {
  position: absolute; top: -58px; left: -14px; z-index: 3;
  font-family: var(--display); font-weight: 600; font-size: 5.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  opacity: .8; transform: scale(0.85); transform-origin: left bottom;
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.is-visible .produit-index, .reveal-group.is-visible .produit-index { transform: scale(1); }
.produit-row--flip .produit-index { left: auto; right: -14px; transform-origin: right bottom; }
.produit-kicker { font-size: 0.8rem; letter-spacing: 0.3em; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.produit-title {
  font-family: var(--display); font-weight: 500;
  font-size: 2.1rem; line-height: 1.18; margin-bottom: 20px;
}
.produit-body { color: rgba(13,31,26,.72); margin-bottom: 26px; max-width: 48ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(13,31,26,.65);
  border: 1px solid rgba(13,31,26,.22); border-radius: 100px; padding: 7px 16px;
}

/* browser frame */
.browser-frame {
  background: var(--surface); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(13,31,26,.22), 0 4px 14px rgba(13,31,26,.14);
  position: relative;
}
.browser-frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #0f231e;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.browser-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(247,244,239,.16); }
.browser-frame__bar i:first-child { background: rgba(201,160,95,.7); }
.browser-frame__bar em {
  font-style: normal; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--muted);
  margin-left: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* tilt + glow */
.frame-tilt { perspective: 1200px; }
.frame-tilt .browser-frame { transition: transform .9s var(--ease); will-change: transform; }
.frame-tilt--right .browser-frame { transform: rotateY(7deg); }
.frame-tilt--left .browser-frame { transform: rotateY(-7deg); }
.frame-tilt:hover .browser-frame { transform: rotateY(0deg); }
.browser-frame--glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.frame-tilt { position: relative; }
.frame-tilt::before {
  content: ""; position: absolute; inset: 8% -4% -6% -4%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(201,160,95,.35), transparent 68%);
  filter: blur(18px);
}

/* parallax inner */
.parallax-img { will-change: transform; }

/* stacked secondary frames */
.frame-stack { position: relative; }
.browser-frame--back {
  position: absolute; inset: 0; z-index: 0;
  transform: translate(24px, 24px) rotate(2deg) scale(0.85);
  transform-origin: center;
  opacity: 0.55; filter: brightness(0.75) saturate(0.85);
  transition: transform .9s var(--ease), opacity .9s;
  pointer-events: none;
}
.frame-stack:hover .browser-frame--back { transform: translate(42px, 34px) rotate(3.4deg) scale(0.85); opacity: 0.7; }
.frame-stack > .frame-tilt, .frame-stack > .demo-wrap { position: relative; z-index: 1; }

/* oracle mini-chart */
.minichart {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 4;
  background: linear-gradient(to top, rgba(13,31,26,.92), rgba(13,31,26,.55) 70%, transparent);
  cursor: crosshair;
}
.minichart svg { position: absolute; inset: 6px 0 4px; width: 100%; height: calc(100% - 10px); overflow: visible; }
#minichartPath { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.is-visible #minichartPath, .reveal-group.is-visible #minichartPath { stroke-dashoffset: 0; }
.minichart__dot {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px rgba(201,160,95,.9);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.minichart__tip {
  position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: var(--ink); border: 1px solid rgba(201,160,95,.5); border-radius: 6px;
  color: var(--gold); font-size: 0.68rem; letter-spacing: 0.08em; padding: 4px 10px;
  white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.minichart:hover .minichart__dot, .minichart:hover .minichart__tip { opacity: 1; }

/* live demo phone */
.demo-wrap { max-width: 380px; margin: 0 auto; }
.demo-label {
  font-size: 0.72rem; letter-spacing: 0.26em; color: var(--gold); font-weight: 600;
  margin-bottom: 14px; text-align: center;
}
.phone-frame {
  background: var(--ink); border-radius: 34px; padding: 12px;
  border: 1px solid rgba(201,160,95,.35);
  box-shadow: 0 24px 60px rgba(13,31,26,.28), 0 6px 18px rgba(13,31,26,.18);
  position: relative;
}
.phone-frame__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 5;
}
.phone-frame__screen {
  border-radius: 24px; overflow: hidden; height: 560px;
  background: #0e2119; display: flex;
}
@media (max-height: 800px) { .phone-frame__screen { height: 480px; } }

/* the chat component itself */
.ck-chat { display: flex; flex-direction: column; width: 100%; height: 100%; background: #0e2119; }
.ck-chat__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 26px 18px 14px; background: var(--surface);
  border-bottom: 1px solid rgba(201,160,95,.25);
}
.ck-chat__title { font-family: var(--display); font-size: 1.15rem; color: var(--bone); }
.ck-chat__status { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.05em; margin-top: 3px; }
.ck-chat__status i {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #5fc98a; margin-right: 6px;
}
.ck-chat__close {
  background: none; border: none; color: var(--muted); font-size: 26px; line-height: 1;
  cursor: pointer; padding: 0 4px; display: none; transition: color .3s;
}
.ck-chat__close:hover { color: var(--bone); }
.chat-popup .ck-chat__close { display: block; }
.ck-chat__messages { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.ck-msg { max-width: 86%; padding: 11px 15px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; }
.ck-msg--bot { background: var(--surface); color: var(--bone); border-bottom-left-radius: 4px; align-self: flex-start; }
.ck-msg--user { background: var(--gold); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.ck-msg--typing { display: flex; gap: 5px; align-items: center; padding: 14px 15px; }
.ck-msg--typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: ckTyping 1s infinite; }
.ck-msg--typing b:nth-child(2) { animation-delay: .2s; }
.ck-msg--typing b:nth-child(3) { animation-delay: .4s; }
@keyframes ckTyping { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.ck-chat__inputrow {
  display: flex; gap: 8px; padding: 12px 14px 14px;
  background: var(--surface); border-top: 1px solid rgba(255,255,255,.06);
}
.ck-chat__inputrow input {
  flex: 1; min-width: 0; background: #0e2119; border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; color: var(--bone); font-family: var(--body); font-size: 0.92rem;
  padding: 11px 18px; outline: none; transition: border-color .3s;
}
.ck-chat__inputrow input:focus { border-color: var(--gold); }
.ck-chat__inputrow button {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%;
  background: var(--gold); border: none; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s;
}
.ck-chat__inputrow button:hover { transform: scale(1.08); background: #d8b273; }
.ck-chat__inputrow button svg { width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .produit-row { grid-template-columns: 1fr; gap: 44px; padding: 72px 0; }
  .produit-row--flip .produit-row__visual { order: 0; }
  .produit-row--flip .produit-row__text { order: 1; }
  .produit-index { top: -50px; font-size: 4rem; left: 0; }
  .produit-row--flip .produit-index { right: auto; left: 0; transform-origin: left bottom; }
  .produit-row__visual { margin-top: 40px; }
  .frame-tilt--right .browser-frame, .frame-tilt--left .browser-frame { transform: none; }
  .browser-frame--back { display: none; }
  .demo-wrap { max-width: 100%; }
  .phone-frame { border-radius: 22px; }
  .phone-frame__notch { display: none; }
  .phone-frame__screen { border-radius: 14px; height: 500px; }
}
@media (max-width: 768px) {
  .produits { padding: 88px 0; }
  .produit-title { font-size: 1.7rem; }
}

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.realisations { padding: 120px 0; }
.section-intro { max-width: 62ch; color: var(--muted); font-size: 1.1rem; margin-bottom: 72px; }
.realisations .section-intro strong { color: var(--bone); }
/* ---- horizontal snap gallery ---- */
.gallery { position: relative; }
.gallery__track {
  display: flex; gap: 32px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 6px 2px 22px;
  scrollbar-width: none;                 /* Firefox */
  outline: none;
}
.gallery__track::-webkit-scrollbar { display: none; }   /* Chrome/Safari */
.real-card {
  flex: 0 0 680px; max-width: 82vw;   /* wider than half the container so the track peeks + scrolls on desktop too */
  display: block; position: relative;
  scroll-snap-align: start;
}
.gallery__arrow {
  position: absolute; top: calc(50% - 40px); transform: translateY(-50%);
  z-index: 6; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(13,31,26,.72); border: 1px solid rgba(201,160,95,.45);
  color: var(--gold); cursor: pointer; display: none;
  align-items: center; justify-content: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, opacity .3s, transform .3s var(--ease);
}
.gallery__arrow svg { width: 22px; height: 22px; }
.gallery__arrow:hover:not(:disabled) { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.gallery__arrow:disabled { opacity: .25; cursor: default; }
.gallery__arrow--prev { left: -8px; }
.gallery__arrow--next { right: -8px; }
@media (hover: hover) and (pointer: fine) { .gallery__arrow { display: flex; } }
.gallery__progress {
  height: 2px; background: rgba(201,160,95,.16); border-radius: 2px;
  overflow: hidden; margin-top: 4px;
}
.gallery__progress span {
  display: block; height: 100%; width: 0;
  background: var(--gold); border-radius: 2px;
  transition: width .12s linear;
}
.real-card .browser-frame {
  border-color: rgba(255,255,255,.1);
  transition: border-color .5s;
  box-shadow: 0 24px 60px rgba(4,12,10,.5), 0 6px 18px rgba(4,12,10,.3);
}
.real-card:hover .browser-frame { border-color: rgba(201,160,95,.65); }
.real-card__viewport { height: 340px; overflow: hidden; }
.real-card__viewport img {
  width: 100%; height: auto;
  transform: translateY(0); transition: transform 6s linear;
  will-change: transform;
}
.real-card:hover .real-card__viewport img { transform: translateY(calc(-100% + 340px)); }
.real-card__title {
  font-family: var(--display); font-weight: 500; font-size: 1.8rem;
  margin: 26px 0 8px; line-height: 1.2;
}
.real-card__link { color: var(--gold); font-size: 0.92rem; letter-spacing: 0.08em; }
.real-card__link i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.real-card:hover .real-card__link i { transform: translateX(6px); }
@media (max-width: 900px) {
  .realisations { padding: 88px 0; }
  .gallery__track { gap: 20px; }
  .real-card { flex-basis: 84%; max-width: 84vw; }
  .real-card__viewport { height: 280px; }
  .real-card:hover .real-card__viewport img { transform: translateY(calc(-100% + 280px)); }
  .real-card__title { font-size: 1.45rem; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 120px 0; }
.service-rows { margin-top: 26px; }
.service-row {
  display: grid;
  grid-template-columns: 44px 320px 1fr auto;
  align-items: baseline; gap: 24px;
  padding: 26px 0;
  transition: transform .5s var(--ease);
}
.service-row:hover { transform: translateX(8px); }
.service-row__index { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.service-row__name {
  font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1.1;
  transition: color .4s;
}
.service-row:hover .service-row__name { color: var(--gold); }
.service-row__desc { color: rgba(13,31,26,.62); font-size: 0.98rem; }
.service-row__price { font-size: 1.05rem; font-weight: 500; letter-spacing: 0.03em; text-align: right; white-space: nowrap; }
.services__note { margin-top: 30px; color: rgba(13,31,26,.62); }

.devis-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 26px;
}
.devis-card {
  background: var(--surface); color: var(--bone);
  border-radius: 14px; padding: 34px 26px 30px;
  position: relative; overflow: hidden;
  box-shadow: 0 14px 40px rgba(13,31,26,.16), 0 3px 10px rgba(13,31,26,.1);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.devis-card::before, .devis-card::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform .7s var(--ease); opacity: .85;
}
.devis-card::before { top: 0; right: 0; width: 46px; height: 1px; transform: scaleX(0); transform-origin: right; }
.devis-card::after { top: 0; right: 0; width: 1px; height: 46px; transform: scaleY(0); transform-origin: top; }
.devis-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(13,31,26,.26), 0 8px 20px rgba(13,31,26,.14); }
.devis-card:hover::before { transform: scaleX(1); }
.devis-card:hover::after { transform: scaleY(1); }
.devis-card__icon {
  width: 40px; height: 40px; stroke: var(--gold); stroke-width: 1.3; fill: none;
  stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px;
}
.devis-card__tag {
  position: absolute; top: 26px; right: 24px;
  font-size: 0.62rem; letter-spacing: 0.22em; color: var(--gold);
  border: 1px solid rgba(201,160,95,.4); border-radius: 100px; padding: 4px 10px;
}
.devis-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin-bottom: 12px; line-height: 1.2; }
.devis-card p { font-size: 0.94rem; color: rgba(247,244,239,.68); line-height: 1.6; }
@media (max-width: 1100px) {
  .devis-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .service-row { grid-template-columns: 30px 1fr auto; gap: 14px; padding: 22px 0; }
  .service-row__name { font-size: 1.45rem; }
  .service-row__desc { grid-column: 2 / 3; grid-row: 2; margin-top: 4px; }
  .service-row__price { grid-row: 1; }
}
@media (max-width: 640px) {
  .services { padding: 88px 0; }
  .devis-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MÉTHODE
   ============================================================ */
.methode { padding: 120px 0; }
.methode__steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 72px;
}
.reveal-num { transform: translateY(36px); }
.methode__num {
  display: block;
  font-family: var(--display); font-weight: 600; font-size: 7rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 26px;
  transform: rotate(-4deg); transform-origin: left bottom;
  transition: transform 1.2s var(--ease);
}
.reveal-num.is-visible .methode__num { transform: rotate(0deg); }
.methode__step p { font-size: 1.5rem; line-height: 1.4; max-width: 30ch; font-weight: 400; }
.methode__quiet { margin-top: 88px; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) {
  .methode { padding: 88px 0; }
  .methode__steps { grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
  .methode__num { font-size: 5rem; margin-bottom: 16px; }
  .methode__step p { font-size: 1.25rem; }
  .methode__quiet { margin-top: 56px; }
}

/* ============================================================
   FONDATEUR
   ============================================================ */
.fondateur { padding: 120px 0; }
.fondateur__split {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
}
.fondateur__quote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 2.6rem; line-height: 1.25; color: var(--ink);
}
.fondateur__text .hairline--static { margin-bottom: 28px; width: 72px; }
.fondateur__text p { color: rgba(13,31,26,.75); }
.fondateur__text strong { color: var(--ink); }
@media (max-width: 900px) {
  .fondateur { padding: 88px 0; }
  .fondateur__split { grid-template-columns: 1fr; gap: 40px; }
  .fondateur__quote { font-size: 1.9rem; }
}

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact { padding: 120px 0 0; }
.contact__title {
  font-family: var(--display); font-weight: 500;
  font-size: 4.5rem; line-height: 1.05; margin-bottom: 64px; color: var(--white);
}
.contact__title em { font-style: italic; color: var(--gold); }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.contact-card:hover {
  border-color: rgba(201,160,95,.7);
  box-shadow: 0 0 0 1px rgba(201,160,95,.25), 0 20px 55px rgba(4,12,10,.45);
  transform: translateY(-4px);
}
.contact-card__kicker { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; }
.contact-card__value { font-family: var(--display); font-size: 1.7rem; color: var(--bone); word-break: break-word; }
.contact-card__arrow {
  position: absolute; right: 36px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.6rem;
  transition: transform .5s var(--ease);
}
.contact-card:hover .contact-card__arrow { transform: translateY(-50%) translateX(8px); }
@media (max-width: 900px) {
  .contact { padding: 88px 0 0; }
  .contact__title { font-size: 2.6rem; margin-bottom: 40px; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 26px; }
  .contact-card__value { font-size: 1.25rem; }
}

.footer { margin-top: 110px; border-top: 1px solid rgba(201,160,95,.3); padding: 40px 0 46px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; }
.footer__line { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 768px) {
  .footer { margin-top: 72px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ============================================================
   FLOATING CHAT
   ============================================================ */
.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 940;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold); color: var(--ink); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(4,12,10,.35), 0 0 22px rgba(201,160,95,.35);
  transition: transform .4s var(--ease), opacity .4s, visibility .4s, box-shadow .4s;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(4,12,10,.4), 0 0 32px rgba(201,160,95,.55); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: fabPulse 6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%, 78% { transform: scale(1); opacity: 0; }
  80% { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.85); opacity: 0; }
}
body.chat-open .chat-fab { opacity: 0; visibility: hidden; transform: scale(.7); }

.chat-popup {
  position: fixed; right: 26px; bottom: 26px; z-index: 950;
  width: 390px; max-width: calc(100vw - 32px);
  height: 580px; max-height: calc(100dvh - 100px);
  opacity: 0; visibility: hidden; transform: translateY(24px) scale(.97);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
body.chat-open .chat-popup { opacity: 1; visibility: visible; transform: none; }
.chat-popup__panel {
  width: 100%; height: 100%; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(201,160,95,.4);
  box-shadow: 0 30px 80px rgba(4,12,10,.55), 0 8px 24px rgba(4,12,10,.35), 0 0 40px rgba(201,160,95,.12);
  display: flex;
}
@media (max-width: 480px) {
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-popup { right: 16px; bottom: 16px; height: 540px; }
}

/* ============================================================
   DYNAMIC TECHNIQUES — magnetic, odometer
   (scroll-velocity skew/blur warp removed 2026-07-24 — motion sickness)
   ============================================================ */

/* ---- magnetic buttons / links (desktop only) ----
   GSAP quickTo owns the x/y transform (elastic spring), so no CSS transition on
   transform here — it would fight the tween. Links need inline-block to transform. */
.real-card__link.magnetic { display: inline-block; }
/* drop transform from .btn's transition list so the GSAP spring isn't smeared;
   keep the colour/border transitions on hover */
.btn.magnetic { transition: background .35s, color .35s, border-color .35s; }

/* ---- odometer digit-roll ----
   each digit is a vertical 0-9 strip; JS translates the strip by target*10%
   (10 digits => one digit == 10% of strip height). Percentage transform keeps
   the maths independent of the em digit height. */
.odo {
  display: inline-block; overflow: hidden;
  height: 1em; line-height: 1; vertical-align: baseline;
}
.odo__strip {
  display: flex; flex-direction: column;
  transform: translateY(0);
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.odo__d { height: 1em; line-height: 1; display: block; }
@media (prefers-reduced-motion: reduce) {
  .odo__strip { transition: none !important; }
}
