/* EOS Audio — Homepage styles (Light / Devialet-inspired)
   White canvas, silver panels, near-black ink, and a signature
   black → grey → silver → gold gradient as the accent. */

html { scroll-behavior: smooth; }

/* Subtle technical "sketch" guide lines — fixed, faint, behind nav & content interactions */
.bg-lines { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.bg-lines line { stroke: rgba(11, 12, 13, 0.09); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* Scroll-reveal — restrained fade + rise, premium easing */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(0.22, 1, 0.36, 1), transform .8s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---- Light theme: semantic variables on the page root ---- */
.eos-page {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --bg-panel: #ececef;

  /* Ink */
  --ink: #0b0c0d;
  --ink-2: #565b60;
  --ink-3: #8b9197;

  /* Lines */
  --line: rgba(0, 0, 0, 0.10);
  --line-2: rgba(0, 0, 0, 0.18);

  /* Gold accent — legible on white */
  --gold: #a07f37;
  --gold-soft: #c6a15b;

  /* Signature gradient: black → grey → silver → gold */
  --grad-sig: linear-gradient(120deg, #0b0c0d 0%, #5e6266 32%, #c7ccd1 58%, #c6a15b 100%);
  --grad-panel: linear-gradient(135deg, #fafbfb, #e9ebed);

  /* Shadows — soft, light-mode elevation */
  --shadow-soft: 0 22px 60px rgba(11, 12, 13, 0.10);
  --shadow-card: 0 12px 34px rgba(11, 12, 13, 0.07);

  /* Repoint legacy tokens used in inline styles */
  --color-twine: var(--gold);
  --color-twine-dark: var(--gold);
  --gradient-primary: var(--grad-sig);

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}
.eos-page ::selection { background: var(--gold-soft); color: #0b0c0d; }

[id] { scroll-margin-top: 84px; }

.container { width: 100%; max-width: var(--container-xxl); margin: 0 auto; }
.section-pad { padding: clamp(5.5rem, 7vw, 9rem) var(--section-x); }
.eyebrow {
  display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 100px;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 8px 24px rgba(11, 12, 13, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.brand-name { font-family: var(--font-display); font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.04em; color: var(--ink-3); }

/* Partner-logo marquee — infinite seamless loop with fading edges */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee-scroll 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; display: flex; align-items: center; justify-content: center; padding: 0 clamp(28px, 4vw, 60px); }
.marquee__item img {
  height: 56px; width: auto; max-width: 220px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: 0.62; transition: filter var(--duration-base) var(--ease-standard), opacity var(--duration-base) var(--ease-standard);
}
.marquee__item img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Gradient text — for big display numbers & accent lines */
.grad-text {
  background: var(--grad-sig);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* Black → grey gradient — hero headline accent */
.grad-ink {
  background: linear-gradient(120deg, #0b0c0d 0%, #9a9fa4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Navbar (fixed, shrinks on scroll) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: transparent; transition: background var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard); border-bottom: 1px solid transparent; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 12, 13, 0.06);
}
.nav { max-width: 1280px; margin: 0 auto; padding: 18px 5%; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding var(--duration-base) var(--ease-standard); }
.site-header.is-scrolled .nav { padding: 9px 5%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 100px; width: auto; display: block; transition: height var(--duration-base) var(--ease-standard); }
.site-header.is-scrolled .brand-logo { height: 54px; }
.brand-tag { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); text-transform: none; }
.brand-logo--footer { height: 76px; }
.brand-tile {
  width: 38px; height: 38px; border-radius: 9px; background: var(--grad-sig);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; color: #fff;
}
.brand-word { font-family: var(--font-display); font-size: 23px; letter-spacing: 0.18em; color: var(--ink); }
.brand-word .muted { color: var(--ink-3); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 26px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 8px 24px rgba(11, 12, 13, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.nav-links a { font-size: var(--text-small); color: var(--ink-2); text-decoration: none; transition: color var(--duration-fast) var(--ease-standard); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-weight: 500; font-size: var(--text-small); color: #fff !important; background: var(--ink);
  border-radius: 100px; padding: 11px 22px; transition: background var(--duration-base) var(--ease-standard);
}
.nav-cta:hover { background: #000; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-small);
  border-radius: 100px; padding: 13px 24px; cursor: pointer; border: 1px solid transparent;
  text-decoration: none; transition: all var(--duration-base) var(--ease-standard);
}
.btn--primary, .btn--alt { background: var(--ink); color: #fff; }
.btn--primary:hover, .btn--alt:hover { background: #000; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn--gold { background: linear-gradient(135deg, #a9823f, #e3c98c); color: #2a2114; }
.btn--gold:hover { filter: brightness(0.96); }

/* ---------- Cards & hover states ---------- */
.card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; transition: border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard); }
/* Liquid-glass service cards — semi-transparent, frosted */
.card--service {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(24px) saturate(185%); backdrop-filter: blur(24px) saturate(185%);
  box-shadow: 0 26px 58px rgba(11, 12, 13, 0.16), 0 0 0 1px rgba(11, 12, 13, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card--service:hover { border-color: rgba(255, 255, 255, 0.95); box-shadow: 0 36px 74px rgba(11, 12, 13, 0.22), 0 0 0 1px rgba(11, 12, 13, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95); transform: translateY(-4px); }
.industry { border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; align-items: center; gap: 24px; min-height: 118px; background: var(--bg); transition: all var(--duration-base) var(--ease-standard); }
.industry:hover { background: var(--bg-soft); border-color: var(--line-2); }
.proj { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--bg); transition: border-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard); }
.proj:hover { border-color: var(--line-2); box-shadow: var(--shadow-card); transform: translateY(-3px); }

/* L'enjeu — liquid-glass text card */
.enjeu-text {
  padding: clamp(28px, 3vw, 46px); border-radius: 28px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 26px 58px rgba(11, 12, 13, 0.12), 0 0 0 1px rgba(11, 12, 13, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Pourquoi EOS — silver liquid frosted-glass cards */
.why-card {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  min-height: 184px; padding: clamp(26px, 2.4vw, 36px); border-radius: 20px;
  background: linear-gradient(150deg, rgba(236, 238, 241, 0.62), rgba(199, 204, 209, 0.30));
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 18px 44px rgba(11, 12, 13, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.why-card__t { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.01em; color: var(--ink); margin: 0; }
.why-card__d { margin: 0; font-size: var(--text-small); color: var(--ink-2); line-height: 1.55; }

.img-frame { border-radius: 32px; overflow: hidden; border: 1px solid var(--line); }
.img-frame img, .ratio img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio { position: relative; overflow: hidden; }

/* Editorial B&W photography (Devialet feel) — colour returns on hover */
.media img { filter: grayscale(1) contrast(1.03); transition: filter var(--duration-slow) var(--ease-standard); }
.card--service:hover .media img,
.proj:hover .media img,
.img-frame.media:hover img { filter: grayscale(0) contrast(1); }

/* ---------- Video card (16:9, click to play) ---------- */
.video-card {
  position: relative; width: 100%; max-width: 1000px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); background: var(--grad-panel);
  box-shadow: var(--shadow-soft);
}
.video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px;
  border-radius: 50%; cursor: pointer; color: #0b0c0d;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14));
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(11, 12, 13, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
.video-play svg { margin-left: 3px; }
.video-play:hover { transform: scale(1.06); }
.video-card.playing .video-play { display: none; }

/* ---------- Grids ---------- */
.grid { display: grid; }
.grid4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { grid-template-columns: 1fr 1fr; }
.two-col { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

/* ---------- Client testimonial video carousel (liquid glass) ---------- */
.tvc { position: relative; max-width: 1180px; margin: 0 auto; }
.tvc__top { display: flex; justify-content: center; margin-bottom: 16px; position: relative; z-index: 6; }
.tvc__stars { text-align: center; color: var(--gold-soft); font-size: 18px; letter-spacing: 6px; margin: 0 0 clamp(26px, 3.5vw, 42px); position: relative; z-index: 6; }
/* "Avis clients" — single liquid-glass pill matching the player bar */
.tvc__topbar {
  display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 16px 40px rgba(11, 12, 13, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.tvc__badge {
  color: var(--ink); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}

.tvc__stage { position: relative; height: clamp(220px, 34vw, 452px); perspective: 1900px; margin: 0 auto; }
.tvc__card {
  position: absolute; top: 50%; left: 50%;
  width: clamp(320px, 56vw, 760px); aspect-ratio: 16 / 9;
  transform: translate(calc(-50% + var(--tx, 0px)), -50%) scale(var(--sc, 1)) rotateY(var(--rot, 0deg));
  transition: transform .55s var(--ease-standard), opacity .55s var(--ease-standard), filter .55s var(--ease-standard), box-shadow .55s var(--ease-standard);
  will-change: transform, opacity; cursor: pointer;
  border-radius: 24px; overflow: hidden; background: #0b0c0d;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 70px rgba(11, 12, 13, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tvc__card.is-active { cursor: default; box-shadow: 0 46px 96px rgba(11, 12, 13, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.tvc__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvc__card-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.58) 100%); }
.tvc__card-label { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; color: #fff; pointer-events: none; }
.tvc__card-label .t { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: 0.01em; }
.tvc__card-label .s { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.78); }

.tvc__bar {
  position: relative; z-index: 6; margin: clamp(28px, 4vw, 48px) auto 0; max-width: 720px;
  display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 18px 44px rgba(11, 12, 13, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.tvc__btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.5); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard);
}
.tvc__btn:hover { border-color: var(--ink); }
.tvc__btn--play { width: 54px; height: 54px; background: var(--ink); color: #fff; border-color: var(--ink); }
.tvc__btn--play:hover { background: #000; }
.tvc__btn--play .ic-pause { display: none; }
.tvc.is-playing .tvc__btn--play .ic-play { display: none; }
.tvc.is-playing .tvc__btn--play .ic-pause { display: flex; }
.tvc__meta { min-width: 0; flex: 0 1 auto; padding-left: 4px; }
.tvc__meta-title { margin: 0; font-size: var(--text-small); font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvc__meta-sub { margin: 1px 0 0; font-size: 12px; color: var(--ink-3); }
.tvc__progress { flex: 1; height: 4px; min-width: 56px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.tvc__progress-fill { display: block; height: 100%; width: 0%; background: var(--ink); border-radius: 2px; transition: width .15s linear; }

@media (max-width: 600px) {
  .tvc__card { width: 86vw; }
  .tvc__stage { height: 50vw; min-height: 196px; }
  .tvc__bar { gap: 12px; padding: 10px 12px; }
  .tvc__progress { display: none; }
}

/* ---------- La méthode EOS — glass horizontal accordion ---------- */
.me { position: relative; overflow: hidden; }
.me__bg { position: absolute; inset: 0; background: url("../assets/methode-eos-background-final.jpg") center / cover no-repeat; }
.me__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.18) 34%, rgba(11, 12, 13, 0.22) 100%); }
/* White fades top & bottom — blend the section into the neighbouring white sections */
.me::before, .me::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(90px, 12vh, 150px); z-index: 1; pointer-events: none; }
.me::before { top: 0; background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%); }
.me::after { bottom: 0; background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%); }
.me__inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.me__head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.me__title { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--ink); margin: 16px 0 0; }
.me__intro { margin: 18px auto 0; max-width: 600px; color: var(--ink-2); font-size: var(--text-regular); line-height: 1.6; }

.me__row { display: flex; gap: 12px; height: clamp(440px, 56vh, 564px); }
.me-card {
  position: relative; flex: 0 1 58px; min-width: 58px; height: 100%; border-radius: 26px; overflow: hidden; cursor: pointer; text-align: left; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64));
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 24px 56px rgba(11, 12, 13, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: flex-grow .6s var(--ease-standard), min-width .6s var(--ease-standard), box-shadow .4s var(--ease-standard), border-color .4s var(--ease-standard);
}
.me-card:hover:not(.is-active) { border-color: rgba(255, 255, 255, 0.9); }
.me-card.is-active { flex-grow: 200; min-width: 300px; cursor: default; box-shadow: 0 38px 84px rgba(11, 12, 13, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.82); }

.me-card__mini { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 0 22px; transition: opacity .3s var(--ease-standard); }
.me-card.is-active .me-card__mini { opacity: 0; pointer-events: none; }
.me-card__num { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.01em; color: var(--ink); }
.me-card__vlabel { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.2em; text-transform: uppercase; font-size: 12px; font-weight: 600; color: var(--ink); }

.me-card__full { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 40px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-standard) .08s; }
.me-card.is-active .me-card__full { opacity: 1; pointer-events: auto; }
.me-step { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; white-space: nowrap; }
.me-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.6rem); letter-spacing: 0.01em; line-height: 1.0; color: var(--ink); margin: 8px 0 14px; }
.me-scroll { flex: 1; overflow-y: auto; padding-right: 14px; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(180deg, #000 88%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }
.me-scroll p { margin: 0; font-size: var(--text-regular); line-height: 1.7; color: var(--ink); }
.me-scroll::-webkit-scrollbar { width: 6px; }
.me-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

.me__selector {
  display: flex; gap: 6px; padding: 7px; margin: clamp(28px, 3.5vw, 44px) auto 0; width: fit-content; max-width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 18px 44px rgba(11, 12, 13, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.me__selector::-webkit-scrollbar { display: none; }
.me-tab { flex: none; padding: 10px 16px; border-radius: 100px; border: none; cursor: pointer; white-space: nowrap; background: transparent; color: var(--ink-2); font-family: var(--font-body); font-size: var(--text-small); font-weight: 500; transition: background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard); }
.me-tab:hover { color: var(--ink); }
.me-tab[aria-selected="true"] { background: var(--ink); color: #fff; }

@media (max-width: 900px) {
  .me-card { flex-basis: 48px; min-width: 48px; }
  .me-card.is-active { min-width: 240px; }
}
@media (max-width: 600px) {
  .me__row { flex-direction: column; height: auto; gap: 10px; }
  .me-card { width: 100%; min-width: 0; flex: 0 0 auto; height: 66px; transition: height .5s var(--ease-standard), box-shadow .4s, border-color .4s; }
  .me-card.is-active { height: auto; min-width: 0; }
  .me-card__mini { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 0 22px; }
  .me-card__vlabel { writing-mode: horizontal-tb; transform: none; }
  .me-card__full { position: relative; inset: auto; }
  .me-card:not(.is-active) .me-card__full { display: none; }
  .me-scroll { max-height: 46vh; }
}

/* ---------- Réalisations 3D wheel carousel ---------- */
.rw { position: relative; }
.rw__stage { position: relative; height: clamp(400px, 50vw, 560px); perspective: 2000px; outline: none; }
.rw__card {
  position: absolute; top: 50%; left: 50%;
  width: clamp(230px, 30vw, 330px); aspect-ratio: 3 / 4;
  transform-origin: 50% 138%;
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) rotate(var(--rotz, 0deg)) scale(var(--sc, 1));
  transition: transform .55s var(--ease-standard), opacity .55s var(--ease-standard), filter .55s var(--ease-standard), box-shadow .55s var(--ease-standard);
  will-change: transform, opacity; cursor: pointer; text-decoration: none;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 64px rgba(11, 12, 13, 0.22);
}
.rw__card.is-active { box-shadow: 0 50px 100px rgba(11, 12, 13, 0.34); }
.rw__media { position: absolute; inset: 0; background: linear-gradient(150deg, #d9dce0, #eef0f2); }
.rw__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rw__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.62) 100%); }
.rw__badges { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; gap: 7px; flex-wrap: wrap; }
.rw__badge {
  padding: 6px 12px; border-radius: 100px; font-size: 11px; letter-spacing: 0.04em; color: #0b0c0d; font-weight: 500;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
}
.rw__caption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; color: #fff; }
.rw__cat { margin: 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.rw__title { margin: 4px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: 0.01em; }
.rw__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; cursor: pointer;
  padding: 9px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.30), rgba(199, 204, 209, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 6px 18px rgba(11, 12, 13, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: background var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.rw__more:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(199, 204, 209, 0.24)); transform: translateY(-1px); }

.rw__arrow {
  position: absolute; top: 40%; z-index: 45; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 12px 30px rgba(11, 12, 13, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform var(--duration-base) var(--ease-standard);
}
.rw__arrow:hover { transform: scale(1.07); }
.rw__arrow--prev { left: 1%; }
.rw__arrow--next { right: 1%; }

.rw__selector {
  display: flex; gap: 6px; padding: 7px; margin: clamp(34px, 4vw, 54px) auto 0; width: fit-content; max-width: 100%;
  border-radius: 100px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 18px 44px rgba(11, 12, 13, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.rw__selector::-webkit-scrollbar { display: none; }
.rw__tab {
  flex: none; padding: 10px 18px; border-radius: 100px; border: none; cursor: pointer; white-space: nowrap;
  background: transparent; color: var(--ink-2); font-family: var(--font-body); font-size: var(--text-small); font-weight: 500;
  transition: background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
}
.rw__tab:hover { color: var(--ink); }
.rw__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .rw__arrow { display: none; } .rw__selector { margin-left: 0; margin-right: 0; justify-content: flex-start; } }

/* ---------- Secteurs coverflow carousel (liquid glass) ---------- */
.cf { position: relative; }
.cf__stage {
  position: relative; height: clamp(420px, 42vw, 500px);
  perspective: 1700px; margin: 0 auto;
}
.cf__card {
  position: absolute; top: 50%; left: 50%;
  width: clamp(258px, 30vw, 358px); height: clamp(360px, 38vw, 444px);
  transform: translate(calc(-50% + var(--tx, 0px)), -50%) scale(var(--sc, 1)) rotateY(var(--rot, 0deg));
  transition: transform .55s var(--ease-standard), opacity .55s var(--ease-standard), box-shadow .55s var(--ease-standard);
  will-change: transform, opacity; cursor: pointer;
  border-radius: 28px; padding: 24px; display: flex; flex-direction: column;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.20));
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 70px rgba(11, 12, 13, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.cf__card.is-active { cursor: default; box-shadow: 0 44px 92px rgba(11, 12, 13, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.85); }
.cf__media {
  position: relative; flex: 1; border-radius: 18px; margin-bottom: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(130% 120% at 28% 18%, rgba(198, 161, 91, 0.55), rgba(120, 128, 136, 0.28) 55%, rgba(255, 255, 255, 0.10) 85%);
}
.cf__card:nth-child(even) .cf__media {
  background: radial-gradient(130% 120% at 74% 20%, rgba(120, 128, 136, 0.42), rgba(198, 161, 91, 0.42) 55%, rgba(255, 255, 255, 0.10) 85%);
}
.cf__icon {
  width: 74px; height: 74px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255, 255, 255, 0.20); border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* Card photo — B&W on side cards, full colour on the focused card */
.cf__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.03); transition: filter .55s var(--ease-standard);
}
.cf__card.is-active .cf__photo { filter: grayscale(0) contrast(1); }
.cf__eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.cf__title { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: 0.01em; color: var(--ink); margin: 8px 0 4px; }
.cf__desc { margin: 0; font-size: var(--text-small); color: var(--ink-2); line-height: 1.5; }
.cf__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(28px, 4vw, 46px); }
.cf__nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--duration-base) var(--ease-standard); }
.cf__nav:hover { border-color: var(--ink); background: var(--bg-soft); }
.cf__dots { display: flex; gap: 8px; }
.cf__dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--line-2); transition: background var(--duration-base) var(--ease-standard); }
.cf__dot[aria-current="true"] { background: var(--ink); }

/* ---------- Audit popup (modal) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 12, 13, 0.45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto; }
.modal.is-open .modal__dialog { animation: modalIn .4s var(--ease-standard); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__dialog .hero__card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.30)); }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background var(--duration-base) var(--ease-standard);
}
.modal__close:hover { background: rgba(255, 255, 255, 0.8); }
@media (prefers-reduced-motion: reduce) { .modal.is-open .modal__dialog { animation: none; } }

/* ---------- Hero (light, airy) ---------- */
.hero {
  position: relative; min-height: 74vh; display: flex; overflow: hidden;
  background: linear-gradient(158deg, #ffffff 0%, #f3f4f6 55%, #e8eaec 100%);
  font-family: var(--font-body);
}
/* Hero background video (autoplay, muted, looping) */
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* White left-to-right fade keeps the headline legible over the video */
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.34) 24%, rgba(255, 255, 255, 0.08) 46%, rgba(255, 255, 255, 0) 62%); }
/* White fade blending the hero into the Marques partenaires section */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none; z-index: 1;
}
/* Extra white rise on the right — curves gently upward toward the top */
.hero::before {
  content: ""; position: absolute; left: 40%; right: 0; bottom: 0; height: 360px;
  background: radial-gradient(125% 130% at 100% 100%, #ffffff 0%, #ffffff 46%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none; z-index: 1;
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 150px 6% 80px; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.hero__badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 8px 24px rgba(11, 12, 13, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 10px rgba(198, 161, 91, 0.8); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.86fr; align-items: end; gap: clamp(80px, 9vw, 140px); }
.hero__title { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin: 0; color: var(--ink); font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
/* Liquid-glass form panel — translucent, heavy blur, light-edge highlight */
.hero__card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  padding: 26px;
  box-shadow: 0 24px 60px rgba(11, 12, 13, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.field {
  font-family: var(--font-body); font-size: var(--text-small); color: var(--ink);
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px; padding: 13px 15px; outline: none; width: 100%;
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.field:focus { border-color: var(--gold); }
.field::placeholder { color: var(--ink-3); }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0c0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select.field option { color: #000; }
.field-submit { font-family: var(--font-body); font-weight: 500; font-size: var(--text-small); color: #fff; background: var(--ink); border: none; border-radius: 100px; padding: 14px 22px; cursor: pointer; transition: background var(--duration-base) var(--ease-standard); }
.field-submit:hover { background: #000; }

/* ---------- Process (silver panel) ---------- */
.scheme-light { background: var(--bg-soft); color: var(--ink); }
.step { padding: 30px 28px 34px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ---------- Testimonials ---------- */
.t-quote { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; color: var(--ink); font-size: clamp(1.9rem, 3.2vw, 3rem); margin: 0; min-height: 3.4em; }
.t-mono { width: 54px; height: 54px; border-radius: 50%; background: var(--grad-sig); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; color: #fff; }
.t-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color var(--duration-base) var(--ease-standard); }
.t-nav:hover { border-color: var(--ink); }
.t-dot { width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer; padding: 0; background: var(--line-2); transition: background var(--duration-base) var(--ease-standard); }
.t-dot[aria-current="true"] { background: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faq-q span.q { font-family: var(--font-body); font-weight: 500; font-size: var(--text-medium); color: var(--ink); }
.faq-mark { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.faq-a { margin: 0; padding: 0 60px 28px 0; font-size: var(--text-regular); line-height: 1.65; color: var(--ink-2); display: none; }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: 12px; }
.faq-item.open .faq-a { display: block; }
.faq-item .faq-mark .plus { display: block; }
.faq-item .faq-mark .minus { display: none; }
.faq-item.open .faq-mark .plus { display: none; }
.faq-item.open .faq-mark .minus { display: block; }

/* ---------- CTA (silver gradient panel) ---------- */
.cta { background: var(--bg); padding: clamp(3rem, 6vw, 6rem) var(--section-x); }
.cta__inner {
  position: relative; max-width: 980px; margin: 0 auto; padding: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  text-align: center; background: var(--grad-panel); border: 1px solid var(--line);
  border-radius: 40px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-sig); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-col a { font-size: var(--text-small); color: var(--ink-2); transition: color var(--duration-fast) var(--ease-standard); }
.foot-col a:hover { color: var(--ink); }
.social { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--ink-2); transition: all var(--duration-base) var(--ease-standard); }
.social:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { padding: 0; background: none; border: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .grid4, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { padding: 120px 7% 56px; gap: 44px; }
}
@media (max-width: 600px) {
  .grid4, .grid3, .grid2, .foot-grid { grid-template-columns: 1fr; }
  .step { border-right: none; }
}

/* ---------- Project detail pages (Réalisations) ---------- */
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 22px 5%; }
.pd-top .brand-logo { height: 60px; }
.pd-back { font-size: var(--text-small); color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color var(--duration-fast) var(--ease-standard); }
.pd-back:hover { color: var(--ink); }
.pd-hero { max-width: 880px; margin: 0 auto; padding: clamp(2rem, 4vw, 4rem) 5% 0; text-align: center; }
.pd-h1 { font-family: var(--font-display); font-weight: 400; line-height: 1.0; letter-spacing: 0.01em; color: var(--ink); font-size: clamp(2.6rem, 6vw, 5rem); margin: 18px 0 0; }
.pd-lead { margin: 22px auto 0; max-width: 620px; font-size: var(--text-regular); line-height: 1.65; color: var(--ink-2); }
.pd-hero-media { max-width: 1100px; margin: clamp(2.5rem, 4vw, 4rem) auto 0; padding: 0 5%; }
.pd-hero-media__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: linear-gradient(150deg, #d9dce0, #eef0f2); }
.pd-hero-media__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-body { max-width: 880px; margin: 0 auto; padding: clamp(3.5rem, 6vw, 6rem) 5% clamp(2rem, 4vw, 3rem); display: grid; gap: clamp(36px, 4vw, 56px); }
.pd-block h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: 0.01em; color: var(--ink); margin: 0 0 14px; }
.pd-block p { margin: 0; font-size: var(--text-regular); line-height: 1.7; color: var(--ink-2); }
.pd-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pd-block li { position: relative; padding-left: 26px; font-size: var(--text-regular); line-height: 1.6; color: var(--ink-2); }
.pd-block li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-sig); }
.pd-result {
  padding: clamp(28px, 3vw, 44px); border-radius: 28px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 26px 58px rgba(11, 12, 13, 0.12), 0 0 0 1px rgba(11, 12, 13, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.pd-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin-top: 22px; }
.pd-stat .n { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: 0.01em; }
.pd-stat .l { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }
.pd-section-bg { background: radial-gradient(46% 56% at 84% 18%, rgba(198,161,91,0.12), transparent 62%), radial-gradient(44% 54% at 14% 92%, rgba(108,118,130,0.12), transparent 62%); }
.pd-backwrap { text-align: center; padding: 0 5% clamp(4rem, 7vw, 7rem); }
.foot-legal a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-standard); }
.foot-legal a:hover { color: var(--ink); }
/* Legal page — comfortable reading rhythm */
.pd-legal .pd-block p { margin: 0; }
.pd-legal .pd-block p + p { margin-top: 12px; }
.pd-legal .pd-block ul { margin: 12px 0 0; }
.pd-legal a { color: var(--gold); text-decoration: none; }
.pd-legal a:hover { text-decoration: underline; }

/* ---------- Project detail — rich case-study layout (Poya etc.) ---------- */
.pd-tagline { margin: 16px auto 0; max-width: 680px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 2.1rem); letter-spacing: 0.01em; color: var(--gold); }
.pd-wrap { max-width: 900px; margin: 0 auto; padding: clamp(2.4rem, 4vw, 3.6rem) 5%; display: grid; gap: clamp(30px, 4vw, 52px); }
.pd-wrap--wide { max-width: 1140px; }
.pd-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: #0b0c0d; }
.pd-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0b0c0d; }
.pd-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pd-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: center; }
.pd-figure { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); aspect-ratio: 4 / 3; }
.pd-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pd-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.pd-spec {
  padding: 22px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(236, 238, 241, 0.60), rgba(199, 204, 209, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 14px 36px rgba(11, 12, 13, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.pd-spec__q { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.01em; line-height: 1; }
.pd-spec__n { margin: 6px 0 0; font-weight: 600; font-size: var(--text-small); color: var(--ink); }
.pd-spec__z { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }
.pd-highlight {
  position: relative; padding: clamp(26px, 3vw, 40px); padding-left: clamp(30px, 3.4vw, 46px); border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 22px 52px rgba(11, 12, 13, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.pd-highlight::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--grad-sig); }
.pd-highlight p { margin: 0; font-size: var(--text-regular); line-height: 1.7; color: var(--ink-2); }
.pd-highlight p + p { margin-top: 12px; }
.pd-cap { text-align: center; margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.pd-eyebrow-c { text-align: center; }
@media (max-width: 760px) {
  .pd-media-row { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav refinements ---------- */
@media (max-width: 600px) {
  .brand-tag { display: none; }
  .nav { padding: 12px 5%; }
  .brand-logo { height: 62px; }
  .site-header.is-scrolled .brand-logo { height: 46px; }
  .nav-cta { white-space: nowrap; padding: 10px 15px; }
  .pd-top .brand-logo { height: 50px; }
}

/* ---------- Cookie consent banner (GDPR / Consent Mode v2) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 20px 50px rgba(11, 12, 13, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.cookie-banner__txt { margin: 0; flex: 1 1 280px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.cookie-banner__txt a { color: var(--gold); text-decoration: underline; }
.cookie-banner__btns { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-btn { font-family: var(--font-body); font-size: 13px; font-weight: 500; border-radius: 100px; padding: 9px 18px; cursor: pointer; border: 1px solid transparent; transition: all var(--duration-base) var(--ease-standard); }
.cookie-btn--solid { background: var(--ink); color: #fff; }
.cookie-btn--solid:hover { background: #000; }
.cookie-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.cookie-btn--ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
@media (max-width: 520px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie-banner__btns { width: 100%; }
  .cookie-btn { flex: 1; }
}
