/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --black:   #0e0f11;
  --dark:    #1c1c1c;
  --gray:    #424242;
  --smoke:   #f5f5f5;
  --light:   #fcfcfc;
  --white:   #ffffff;

  --alpha-dark-73: #1c1c1cba;
  --alpha-dark-20: #1c1c1c33;
  --alpha-dark-10: #1c1c1c1a;
  --alpha-white-73: #ffffffba;
  --alpha-white-30: #ffffff4d;
  --alpha-white-12: #ffffff1f;
  --alpha-white-8:  #ffffff14;
  --alpha-dark-5: transparent;
  --muted: var(--alpha-dark-73);

  --font-primary: 'Plus Jakarta Sans', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.3s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  --radius-pill: 1440px;
  --site-max: 90rem;
  --site-pad: 2.5rem;
}

/* ─── FLUID FONT SCALE ───────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
html, body {
  font-size: clamp(14px, calc(100vw / 90), 16px);
}
@media (max-width: 991px) { html, body { font-size: clamp(13px, calc(100vw / 60), 15px); } }
@media (max-width: 767px) { html, body { font-size: clamp(12px, calc(100vw / 40), 14px); } }

/* ─── BASE ───────────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-primary);
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.text-fade { color: var(--alpha-dark-73); }
.text-center { text-align: center; }
.text-s  { font-size: 0.875em; }
.text-m  { font-size: 1em; }
.text-l  { font-size: 1.125em; }
.text-xl { font-size: 1.25em; }
.text-xxl{ font-size: 1.5em; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  width: min(var(--site-max), 100%);
  margin-inline: auto;
  padding-inline: var(--site-pad);
}
.section { position: relative; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.gap-8  { gap: 0.5rem; }
.gap-12 { gap: 0.75rem; }
.gap-16 { gap: 1rem; }
.gap-20 { gap: 1.25rem; }
.gap-24 { gap: 1.5rem; }
.gap-32 { gap: 2rem; }
.gap-48 { gap: 3rem; }
.gap-64 { gap: 4rem; }
.mx-auto { margin-inline: auto; }
.center { align-items: center; justify-content: center; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.u-relative { position: relative; }

/* ─── PRELOADER ──────────────────────────────────────────────────────────── */
.preload {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  pointer-events: none;
  animation: preloaderOut 0.6s ease 2.2s forwards;
}
@keyframes preloaderOut {
  to { opacity: 0; transform: translateY(-3%); visibility: hidden; }
}
.preload__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to right,
      var(--alpha-white-8) 0px, var(--alpha-white-8) 1px,
      transparent 1px, transparent calc(100% / 12)
    );
  opacity: 0.5;
}
.preload__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.preload__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preload__logo svg { height: 28px; width: auto; }

.preload__counter {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.preload__counter-num {
  display: block;
  min-width: 3ch;
  text-align: center;
}
.preload__counter-percent {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.preload__text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--alpha-white-73);
}

/* ─── GLOBAL ─────────────────────────────────────────────────────────────── */
.global {
  position: relative;
}

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem var(--site-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur-fast) var(--ease-out),
              backdrop-filter var(--dur-fast) var(--ease-out);
}
.header.scrolled {
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-square {
  width: 2rem;
  height: 2rem;
  background: var(--dark);
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.logo-square svg { width: 70%; height: 70%; }
.logo-text { height: 1.25rem; }
.logo-text svg { height: 100%; width: auto; }
.logo-wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.nav-link:hover { background: var(--alpha-dark-10); }
.nav-link .nav-arrow {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.5;
  flex-shrink: 0;
}

/* char stagger on nav links */
.navlink-text .char {
  display: inline-block;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  transition-delay: calc(var(--char-index) * 0.01s);
}
.nav-link:hover .navlink-text .char {
  transform: translateY(-110%);
  opacity: 0;
  transition-delay: calc(var(--char-index) * 0.01s);
}
.navlink-text-clone {
  position: absolute;
  display: flex;
}
.navlink-text-clone .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  transition-delay: calc(var(--char-index) * 0.01s);
}
.nav-link:hover .navlink-text-clone .char {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(var(--char-index) * 0.01s);
}

.nav-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  padding: 0.375rem 0;
  flex-shrink: 0;
}
.nav-cta-link svg { width: 0.875rem; height: 0.875rem; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
}
.menu-btn span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }

.btn--main {
  background: var(--dark);
  color: var(--white);
  border: 1px solid transparent;
}
.btn--main:hover { background: #2a2a2a; }

.btn--ghost {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--alpha-dark-20);
  z-index: 4;
}
.btn--ghost:hover { background: var(--white); }

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn .btn-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

/* char stagger on buttons */
.btn-text .char {
  display: inline-block;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  transition-delay: calc(var(--char-index) * 0.01s);
}

/* dotted pill border on btn--main */
.btn--main::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(255,255,255,0.25);
  pointer-events: none;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.button-group.center { justify-content: center; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 1.5rem;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-icon-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 3;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjI4IDI2IDgyIDgyIj48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTk4LjksMzYuOGwtMjcuOSwyNy45LTExLjctMTEuNywxMy43LTEzLjdjNi45LTYuOSwxNy43LTcuOSwyNS44LTIuNWgwWiIvPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMTA0LDk3LjdsLTMwLjktMzAuOSwxMS43LTExLjcsMTYuOCwxNi44YzYuOSw2LjksNy45LDE3LjcsMi41LDI1LjhoMFoiLz48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTM3LjEsMTAyLjhsMzQtMzQsMTEuNywxMS43LTE5LjgsMTkuOGMtNi45LDYuOS0xNy43LDcuOS0yNS44LDIuNWgwWiIvPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMzIsMjkuN2wzNy4xLDM3LTExLjcsMTEuNy0yMi45LTIyLjljLTYuOS02LjktNy45LTE3LjctMi41LTI1LjhoMFoiLz48L3N2Zz4=");
  -webkit-mask-size: 700px;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjI4IDI2IDgyIDgyIj48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTk4LjksMzYuOGwtMjcuOSwyNy45LTExLjctMTEuNywxMy43LTEzLjdjNi45LTYuOSwxNy43LTcuOSwyNS44LTIuNWgwWiIvPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMTA0LDk3LjdsLTMwLjktMzAuOSwxMS43LTExLjcsMTYuOCwxNi44YzYuOSw2LjksNy45LDE3LjcsMi41LDI1LjhoMFoiLz48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTM3LjEsMTAyLjhsMzQtMzQsMTEuNywxMS43LTE5LjgsMTkuOGMtNi45LDYuOS0xNy43LDcuOS0yNS44LDIuNWgwWiIvPjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMzIsMjkuN2wzNy4xLDM3LTExLjcsMTEuNy0yMi45LTIyLjljLTYuOS02LjktNy45LTE3LjctMi41LTI1LjhoMFoiLz48L3N2Zz4=");
  mask-size: 700px;
  mask-repeat: no-repeat;
}

.hero-icon-layer canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-section::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 4;
}

.heading-wrap {
  position: relative;
}

h1.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--dark);
  text-align: center;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.2em;
}
.hero-title .word:last-child { margin-right: 0; }
.hero-title .word .word-inner {
  display: block;
}

.hero-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #fff;
  background: #7c3aed;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
}

.hero-sub {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
  color: var(--alpha-dark-73);
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.6;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

/* ─── REVIEWS ────────────────────────────────────────────────────────────── */
.reviews-section {
  padding: 1rem var(--site-pad);
  background: var(--light);
  position: relative;
  z-index: 2;
}
.reviews-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.review-quote {
  font-size: 1.0625em;
  color: var(--dark);
  line-height: 1.5;
  font-weight: 500;
  transition: opacity 0.4s, transform 0.4s;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 1rem;
}
.review-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--alpha-dark-20);
  overflow: hidden;
  flex-shrink: 0;
}
.review-name {
  font-size: 0.9375em;
  font-weight: 500;
}
.review-stars {
  display: flex;
  gap: 0.15rem;
}
.review-stars svg { width: 1rem; height: 1rem; fill: #fbbf24; }
.review-label {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--alpha-dark-20);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--alpha-dark-73);
  background: var(--white);
  margin-top: 0.75rem;
}
.review-badge-star { color: var(--dark); }

/* ─── LOGO BAND ──────────────────────────────────────────────────────────── */
.logo-band-section {
  padding: 2.5rem var(--site-pad);
  background: var(--light);
  border-top: 1px dashed rgba(28,28,28,0.14);
  overflow: hidden;
}
.logo-band-label {
  text-align: center;
  font-size: 0.8125em;
  color: var(--alpha-dark-73);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.logo-band-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logo-band-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: logoScroll 20s linear infinite;
}
.logo-band-track:hover { animation-play-state: paused; }
.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375em;
  font-weight: 600;
  color: var(--alpha-dark-73);
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.logo-item:hover { color: var(--dark); }
.logo-item svg,
.logo-item img { height: 1.125rem; width: auto; opacity: 0.6; }
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── WORKS SECTION ──────────────────────────────────────────────────────── */
.works-intro {
  padding: 5rem var(--site-pad) 1.5rem;
  background: var(--light);
}
.works-intro-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.works-intro-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 22ch;
}
.works-intro-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ─── PROJECTS SLIDER ────────────────────────────────────────────────────── */
.projects-section { padding: 1rem var(--site-pad) 4rem; }

.projects-slider {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  align-items: center;
  height: 560px;
  overflow: hidden;
}

/* ── colonne image (Swiper) ── */
.slider-images-col {
  height: 560px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.pf_visual__group {
  overflow: visible !important;
  height: 560px;
}

.pf_visual__group .swiper-wrapper {
  align-items: center;
}

.pf_visual__group .swiper-slide {
  height: auto;
}

.pf_visual__item {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(127deg, #212121 -3.14%, #141414 106.44%);
  opacity: 0.15;
  transform: scale(0.88);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.66, 0.01, 0.17, 0.97),
              opacity 0.6s cubic-bezier(0.66, 0.01, 0.17, 0.97);
  will-change: transform, opacity;
}

.pf_visual__group .swiper-slide.active .pf_visual__item {
  opacity: 1;
  transform: scale(1);
}

.project-visual-placeholder {
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: blur(4px);
  transform: scale(1.2);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.66, 0.01, 0.17, 0.97) 0.18s,
              opacity 0.6s cubic-bezier(0.66, 0.01, 0.17, 0.97) 0.18s,
              filter 0.6s cubic-bezier(0.66, 0.01, 0.17, 0.97) 0.18s;
  will-change: transform, opacity, filter;
}

.pf_visual__group .swiper-slide.active .project-visual-placeholder {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.project-visual-placeholder--soon {
  position: relative;
}
.project-visual-placeholder--soon::after {
  content: 'Bientôt';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.pf_visual__item--soon { opacity: 0.35 !important; }
.pf_visual__group .swiper-slide.active .pf_visual__item--soon { opacity: 0.5 !important; }

/* ── colonne nav ── */
.slider-nav-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-nav-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, #f4f4f4 0%, #e6e6e6 50%, #f4f4f4 100%);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 2rem;
  padding: 0.25rem;
  transition: opacity var(--dur-fast);
}
.slider-nav-pill.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.project-nav-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast), opacity var(--dur-fast);
  color: var(--dark);
  flex-shrink: 0;
}
.project-nav-btn:hover { background: rgba(0,0,0,0.06); }
.project-nav-btn.swiper-button-disabled,
.project-nav-btn:disabled,
.project-nav-btn.nav-btn-locked { opacity: 0.3 !important; pointer-events: none !important; cursor: default !important; }
.project-nav-btn svg { width: 0.875rem; height: 0.875rem; }

/* ── colonne info ── */
.slider-info-col { padding-left: 2rem; }
.slider-info {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}
.slider-info.active { display: flex; }
@keyframes infoIn {
  from { opacity: 0; transform: translate(-14px, -14px); filter: blur(6px); }
  to   { opacity: 1; transform: translate(0, 0);         filter: blur(0px); }
}
@keyframes infoOut {
  to { opacity: 0; transform: translate(-8px, -8px); filter: blur(4px); }
}
.slider-info.entering { animation: infoIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both; }
.slider-info.leaving  { animation: infoOut 0.22s ease both; }

/* ── contenu info ── */
.project-logo-name {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}
.project-logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--dark);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.project-tags { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--alpha-dark-10);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--white);
  color: var(--alpha-dark-73);
}
.project-tag svg { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.project-tag--blue,
.project-tag--green,
.project-tag--purple,
.project-tag--orange { background: #f3e8ff; border-color: #e9d5ff; color: #7e22ce; }
.project-desc {
  font-size: 0.9375em;
  color: var(--alpha-dark-73);
  line-height: 1.65;
  max-width: 44ch;
}
.project-links { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--alpha-dark-20);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--dark);
  transition: background var(--dur-fast);
  text-decoration: none;
}
.project-link:hover { background: var(--alpha-dark-5); }
.project-link svg { width: 0.875rem; height: 0.875rem; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  padding: 1.5rem var(--site-pad);
  border-top: 1px solid var(--alpha-dark-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--light);
}
.footer-copy {
  font-size: 0.8125em;
  color: var(--alpha-dark-73);
}
.footer-link {
  font-size: 0.8125em;
  color: var(--alpha-dark-73);
  transition: color var(--dur-fast);
}
.footer-link:hover { color: var(--dark); }

/* ─── TRANSITIONS ────────────────────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--dark);
  transform: translateY(100%);
  pointer-events: none;
}

/* ─── MOBILE ─────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .project-item { grid-template-columns: 1fr; padding: 3rem 0; }
  .project-nav { display: none; }
  .project-visual { aspect-ratio: 16/10; border-radius: 0.75rem; }
  .project-info { padding-left: 0; }
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  h1.hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .works-intro-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  :root { --site-pad: 1.25rem; }
  .project-info { padding: 1.5rem; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer-copy { font-size: 1rem; }
  .reviews-section { padding: 2rem 1.25rem; }
  .logo-band-section { padding: 2rem 0; }

  .menu-btn { display: none; }

  /* ── Hero ── */
  .hero-tag { top: 54%; }
  h1.hero-title { font-size: clamp(2.5rem, 11vw, 4rem); line-height: 0.95; }
  .hero-section { padding-top: 7rem; padding-bottom: 1rem; }
  .hero-sub { font-size: 1.3rem; }
  .hero-bottom { gap: 1rem; margin-top: 2rem; width: 100%; }
  .hero-bottom .button-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-bottom .button-group .btn { justify-content: center; width: 100%; padding: 1rem 1.5rem; font-size: 1rem; transform: translateZ(0); }
  .review-badge { background: var(--dark); color: var(--white); border-color: transparent; }
  .review-badge-star { color: var(--white); }

  /* ── Works intro ── */
  .works-intro { padding: 3rem var(--site-pad) 1rem; }
  .works-intro-title { display: none; }
  .works-intro-actions { display: none; }

  /* ── Slider mobile horizontal ── */
  .projects-section { padding: 0.75rem 0 3rem; }
  .projects-slider {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0;
  }
  /* Hauteur explicite = (largeur container) * 9/16 */
  .slider-images-col {
    width: 100%;
    height: calc((100vw - 2.5rem) * 9 / 16);
    overflow: hidden;
    position: relative;
    mask-image: none;
    -webkit-mask-image: none;
  }
  /* Swiper remplit le container */
  .pf_visual__group {
    height: 100% !important;
    overflow: visible !important;
  }
  .pf_visual__group .swiper-slide {
    width: 100%;
    height: 100%;
  }
  /* Item pleine hauteur, pas de scale sur mobile */
  .pf_visual__item {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border-radius: 0.75rem;
    transform: none !important;
    opacity: 0.15;
  }
  .pf_visual__group .swiper-slide.active .pf_visual__item {
    opacity: 1;
    transform: none !important;
  }
  /* Placeholder gradient : pleine hauteur */
  .project-visual-placeholder {
    width: 100%;
    height: 100%;
    transform: none !important;
    filter: none !important;
  }
  .pf_visual__group .swiper-slide.active .project-visual-placeholder {
    opacity: 1;
    filter: none !important;
    transform: none !important;
  }
  .slider-nav-col { display: flex; justify-content: center; padding: 1rem 0 0; }
  .slider-nav-pill { flex-direction: row; background: linear-gradient(90deg, #f4f4f4 0%, #e6e6e6 50%, #f4f4f4 100%); }
  .project-nav-btn svg { transform: rotate(-90deg); }
  .slider-info-col {
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.5rem;
  }
  /* Infos projet */
  .project-logo-name { font-size: 2.1rem; }
  .project-desc { max-width: none; font-size: 1.3rem; }
}

/* ─── MOBILE NAV OVERLAY ─────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  color: var(--white);
  display: none;
  flex-direction: column;
  padding: 5rem var(--site-pad) 2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.nav-overlay.open {
  display: flex;
  opacity: 1;
}
.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2rem;
}
.nav-overlay-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: clamp(1.5rem, 8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--alpha-white-12);
  color: var(--white);
  transition: color var(--dur-fast);
}
.nav-overlay-link:hover { color: var(--alpha-white-73); }
.nav-overlay-link svg { width: 1.5rem; height: 1.5rem; opacity: 0.5; }
.nav-overlay-footer {
  margin-top: auto;
}

/* initial states set by JS/GSAP at runtime */

/* menu button X */
.menu-open .menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(0.35rem, 0.35rem);
}
.menu-open .menu-btn span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}
