/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- GRAIN ---------- */
.grain-overlay::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
::selection { background: rgba(255,255,255,0.15); color: #fff; }

/* ---------- LIQUID GLASS ---------- */
.liquid-glass {
  background: rgba(255,255,255,0.01);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0.15),
    rgba(255,255,255,0),
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass-strong {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 8px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.1),
    rgba(255,255,255,0),
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- UTILITIES ---------- */
.text-gradient-subtle {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0px); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateX(0);     filter: blur(0px); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); filter: blur(4px); }
  to   { opacity: 1; transform: translateX(0);    filter: blur(0px); }
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);     filter: blur(0px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.anim-up {
  opacity: 0;
  animation: fadeInUp 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: var(--delay, 0s);
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(7px);
  transition:
    opacity  1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter   1.0s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* ---------- SHARED SECTION ---------- */
.vid-wrap {
  position: absolute;
  inset: 0;
  transform-origin: center;
  will-change: transform;
}
.vid-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ov {
  position: absolute;
  inset: 0;
}
.inner {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  will-change: transform, opacity;
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
}
@media (max-width: 768px) { #navbar { padding: 0.75rem 1.25rem; left: 0.75rem; right: 0.75rem; } }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: slideInLeft 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.logo-dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-dot-inner {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #000;
}
.brand-name {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  opacity: 0;
  animation: slideInDown 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
@media (max-width: 768px) { .nav-links { display: none; } }
.nav-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.nav-active { color: #fff; }

.nav-cta-wrap {
  opacity: 0;
  animation: slideInRight 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}
.nav-cta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s, background 0.3s;
}
.nav-cta:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* ---------- HERO ---------- */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  will-change: transform, opacity;
}

.hero-tag {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}
.hero-tag-pill span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.pulse-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 2rem;
}
.hero-title em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: hsl(210 17% 85%);
  max-width: 36rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.btn-primary {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: background 0.5s;
}
.btn-primary:hover { background: rgba(255,255,255,0.1); }
.btn-ghost {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.025em;
  transition: color 0.3s;
}
.btn-ghost:hover { color: #fff; }

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  will-change: opacity;
}
.scroll-cue-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
}
.scroll-cue span {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- CAPABILITIES ---------- */
#capabilities {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(3rem, 5vh, 6rem) 0;
}

.eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vh, 4rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 48rem;
}
/* Titres gérés par le typewriter — pas de blur reveal */
.section-title.reveal { filter: none; }
.section-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.section-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  max-width: 32rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: default;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.card:hover { transform: translateY(-4px); }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.card-num {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  font-weight: 500;
}
.card-icon {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.2);
  transition: color 0.5s;
}
.card:hover .card-icon { color: rgba(255,255,255,0.5); }
.card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.feature-list li svg {
  flex-shrink: 0;
  margin-top: 0.22rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.4s;
}
.card:hover .feature-list li svg { color: rgba(255,255,255,0.55); }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 5rem;
}
.stat-val {
  font-size: 1.875rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.25rem;
}
.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- BLUR BRIDGE ---------- */
.blur-bridge {
  position: absolute;
  top: -90px;
  left: 0;
  right: 0;
  height: 180px;
  z-index: 20;
  pointer-events: none;
  backdrop-filter: blur(32px) brightness(0.7);
  -webkit-backdrop-filter: blur(32px) brightness(0.7);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 65%, transparent 100%);
}

/* ---------- TESTIMONIAL ---------- */
#testimonial {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 8rem 0;
}
.testimonial-layout {
  position: relative;
  z-index: 10;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  will-change: transform;
}
.test-card {
  width: 100%;
  max-width: 500px;
  border-radius: 1.5rem;
  padding: 2.75rem;
}
.big-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 0.8;
  color: rgba(255,255,255,0.1);
  display: block;
  user-select: none;
  margin-bottom: 1.25rem;
  text-align: left;
}
.quote-body {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-align: left;
}
.w {
  display: inline-block;
  margin-right: 0.27em;
  color: rgba(255,255,255,0.2);
  transition: color 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--d, 0s);
}
.w.lit { color: rgba(255,255,255,0.9); }

.author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.author-details { text-align: left; }
.author-name { font-size: 0.875rem; font-weight: 500; color: #fff; }
.author-role { font-size: 0.75rem; color: rgba(255,255,255,0.35); letter-spacing: 0.025em; margin-top: 0.125rem; }
.divider { width: 1px; height: 2rem; background: rgba(255,255,255,0.1); margin: 0 0.5rem; }
.stars { display: flex; gap: 0.125rem; }

/* ---------- NOTRE ÉQUIPE ---------- */
#team {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: clamp(3rem, 5vh, 6rem) 0;
  background: #000;
}
#team .vid-wrap video { object-fit: contain; }
#team::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #000 0%, transparent 35%, transparent 65%, #000 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 3rem auto 0;
  max-width: 52rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .member-card:nth-child(1) { grid-column: 1 / 3; }
  .member-card:nth-child(2) { grid-column: 3 / 5; }
  .member-card:nth-child(3) { grid-column: 5 / 7; }
  .member-card:nth-child(4) { grid-column: 2 / 4; }
  .member-card:nth-child(5) { grid-column: 4 / 6; }
}

/* Carte membre — design éditorial */
.member-card {
  border-radius: 1.25rem;
  padding: 0;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.member-card:hover { transform: translateY(-6px); }

.member-photo-wrap {
  width: 100%;
  height: 13rem;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
  box-shadow: none;
}
.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
  filter: grayscale(25%);
}
.member-card:hover .member-photo {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.member-info {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.member-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.member-role {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- TYPEWRITER ---------- */
.tw-char {
  opacity: 0;
  animation: tw-fade-in-white 1.3s ease forwards;
  font-family: inherit;
}

@keyframes tw-fade-in-white {
  0%   { opacity: 0; color: rgba(255,255,255,0); }
  25%  { opacity: 1; color: rgba(255,255,255,0.85); }
  100% { opacity: 1; color: rgba(255,255,255,0.95); }
}

/* Hero title chars */
.hero-title .tw-char {
  font-family: 'Cormorant Garamond', Georgia, serif;
  animation: tw-fade-in-white 1.3s ease forwards;
}

/* Section title chars */
.section-title .tw-char {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.hero-title span,
.section-title span {
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.gold-word {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
}
.gold-word .tw-char,
.section-title em .tw-char {
  font-family: 'Instrument Serif', Georgia, serif;
  animation: tw-fade-in-gold 1.3s ease forwards;
}
@keyframes tw-fade-in-gold {
  0%   { opacity: 0; color: rgba(200, 148, 48, 0); }
  25%  { opacity: 1; color: rgba(212, 160, 60, 0.9); }
  100% { opacity: 1; color: #C8942E; }
}

/* ---------- MUSIC POPUP ---------- */
.music-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1);
}
.music-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.music-card {
  border-radius: 1.75rem;
  padding: 2.75rem 2.5rem 2.25rem;
  max-width: 26rem;
  width: 90%;
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.music-overlay.visible .music-card {
  transform: translateY(0) scale(1);
}
.music-note {
  font-size: 2rem;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.25rem;
  letter-spacing: 0.3em;
}
.music-question {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.music-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.music-btn-yes {
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0.875rem 2.75rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
  transition: background 0.3s;
}
.music-btn-yes:hover { background: rgba(255,255,255,0.17); }
.music-btn-no {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.music-btn-no:hover { color: rgba(255,255,255,0.55); }

.music-step {
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
  width: 100%;
}
.music-tracks {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}
.music-track {
  cursor: pointer;
  border: none;
  outline: none;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-family: inherit;
  text-align: left;
  transition: background 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.music-track:hover { background: rgba(255,255,255,0.09); transform: translateX(4px); }
.track-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
}
.track-artist {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
#footer {
  position: relative;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 1.5rem 2rem;
  overflow: hidden;
}
.footer-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-wrap { max-width: 72rem; margin: 0 auto; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer-brand { max-width: 20rem; }
.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.35); line-height: 1.6; }
.footer-cols { display: flex; gap: 4rem; }
.footer-col-title {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 3rem; }
.footer-wordmark-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0;
  line-height: 1;
}
.footer-ld-logo {
  height: clamp(4rem, 12vw, 10rem);
  width: auto;
  opacity: 0.07;
  display: block;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(1) brightness(10);
}
.footer-wordmark {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.07);
  user-select: none;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: -1rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .footer-meta { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-meta p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }
.footer-reco { color: rgba(255,255,255,0.35) !important; font-style: italic; letter-spacing: 0.01em; }

.nav-cta--reco { cursor: default; letter-spacing: 0.06em; }

/* ---------- TEAM GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.875rem;
  margin-top: 2rem;
  max-width: none;
}

/* 1 seule rangée de 5 cartes */
.team-card:nth-child(1),
.team-card:nth-child(2),
.team-card:nth-child(3) { grid-column: span 1; }

.team-card:nth-child(4) { grid-column: auto; }
.team-card:nth-child(5) { grid-column: auto; }

.team-card {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.team-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px) scale(1.01);
}
.team-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(35%) brightness(0.85);
  transition: filter 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.team-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}
.team-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 45%, transparent 100%);
  z-index: 2;
}
.team-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.65rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.team-card-role {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }
  .team-card:nth-child(1),
  .team-card:nth-child(2),
  .team-card:nth-child(3),
  .team-card:nth-child(4),
  .team-card:nth-child(5) {
    grid-column: span 1;
  }
  .team-card:nth-child(5) { grid-column: 1 / span 2; aspect-ratio: 16/9; }
}

/* ---------- TUBES CURSEUR (section dédiée) ---------- */
#tubes-interlude {
  position: relative;
  height: 100vh;
  overflow: hidden;
  cursor: none;
}
#tubes-interlude canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.tubes-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 2rem;
}

.tubes-quote-card {
  pointer-events: auto;
  max-width: 36rem;
  width: 90%;
  border-radius: 1.5rem;
  padding: 2.5rem 2.75rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.tubes-quote-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: justify;
}

.tubes-quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tubes-quote-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.tubes-quote-meta {
  flex: 1;
}

.tubes-quote-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.tubes-quote-role {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
}

.tubes-quote-stars {
  font-size: 0.75rem;
  color: #C8942E;
  letter-spacing: 0.1em;
}
.tubes-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}
.tubes-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.tubes-heading em {
  font-style: italic;
  color: #fff;
}
.tubes-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- SPLINE CARD (références) — pleine page ---------- */
#testimonial {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
#testimonial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent 0%, #000 100%);
  z-index: 30;
  pointer-events: none;
}
.spline-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  display: flex;
}
.spline-spotlight {
  pointer-events: none;
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  filter: blur(28px);
  opacity: 0;
  transform: translate(-50%,-50%);
  transition: opacity 0.2s ease;
  z-index: 5;
}
.spline-layout {
  display: contents;
}
.spline-left {
  flex: 0 0 40%;
  padding: 4rem 4rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 20;
  background: linear-gradient(to left, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 70%, transparent 100%);
}
.spline-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.75rem;
}
.spline-heading em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #C8942E;
}
.spline-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 24rem;
}

.spline-interactive-hint {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: rgba(200, 148, 46, 0.55);
  letter-spacing: 0.06em;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: .3rem;
  animation: hint-pulse 3s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
.spline-right {
  flex: 1;
  position: relative;
  overflow: visible;
  background: transparent;
}
#js-spline-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 768px) {
  #testimonial { height: auto; padding: 5rem 0 2rem; }
  .spline-card { height: auto; min-height: 80vh; flex-direction: column; }
  .spline-left { flex: none; padding: 2.5rem 1.75rem 1.5rem; background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%); }
  .spline-right { flex: 1; min-height: 55vh; }
  #js-spline-canvas { top: 50%; left: 50%; width: 80%; height: 80%; transform: translate(-50%, -50%); }
}

/* ---------- WOVEN LIGHT ---------- */
#woven-light {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: stretch;
}

/* Colonne gauche : texte */
.woven-left {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 8rem;
  position: relative;
  z-index: 10;
}

/* Colonne droite : canvas particules */
.woven-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#js-woven-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.woven-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 60px rgba(255,255,255,0.15);
}

.woven-heading em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: #C8942E;
}

.woven-sub {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 28rem;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.woven-btn-wrap {
  pointer-events: auto;
  display: flex;
  justify-content: flex-start;
}

.woven-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.woven-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

@media (max-width: 768px) {
  #woven-light { height: auto; flex-direction: column; }
  .woven-left  { flex: none; padding: 3rem 1.75rem 1.5rem; }
  .woven-right { height: 50vw; min-height: 280px; }
  .woven-btn-wrap { justify-content: flex-start; }
}

/* =====================================================================
   TUBELIGHT NAVBAR (multi-pages) — barre fixe en haut, pilule centrée
   avec « lampe » lumineuse dorée sous l'onglet actif.
   ===================================================================== */
.tube-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  pointer-events: none;
}
.tube-nav > * { pointer-events: auto; }

.tube-nav-brand {
  display: block;
  line-height: 0;
  opacity: 0;
  animation: slideInLeft 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.tube-nav-brand img { height: 3.2rem; width: auto; display: block; }

/* Pilule centrée */
.tube-nav-pill {
  position: absolute;
  left: 50%;
  top: 1.05rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  /* Keyframe dédié : conserve translateX(-50%) pour rester centré
     (slideInDown écraserait le transform et décentrerait la pilule) */
  animation: tubePillIn 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
@keyframes tubePillIn {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== Shell musique (injecté par app.js sur toutes les pages) ===== */
#vol-slider {
  -webkit-appearance:none;
  appearance:none;
  height:3px;
  border-radius:99px;
  outline:none;
  border:none;
  background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 80%, rgba(255,255,255,0.25) 80%);
}
#vol-slider::-webkit-slider-thumb {
  -webkit-appearance:none;
  width:13px; height:13px;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  box-shadow:0 1px 6px rgba(0,0,0,0.4);
  transition:transform .12s ease;
}
#vol-slider::-webkit-slider-thumb:hover { transform:scale(1.25); }
#vol-slider::-moz-range-thumb {
  width:13px; height:13px;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  border:none;
  box-shadow:0 1px 6px rgba(0,0,0,0.4);
}
#vol-icon-btn:hover { transform:scale(1.2); }

@keyframes cd-pop {
  0%   { opacity:0; transform:scale(1.35); }
  18%  { opacity:1; transform:scale(1);    }
  80%  { opacity:1; transform:scale(1);    }
  100% { opacity:0; transform:scale(.7);   }
}
#countdown-num.cd-anim { animation: cd-pop .95s ease forwards; }
@keyframes cd-fade-out { to { opacity:0; transform:scale(1.06); } }
#countdown-overlay.cd-leaving { animation: cd-fade-out .7s ease forwards; }

.tube-item {
  position: relative;
  z-index: 1;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.tube-item:hover { color: #fff; }
.tube-item.is-active { color: #fff; }

/* Lampe « tubelight » coulissante : surbrillance + barre dorée + halo,
   un seul élément qui glisse vers l'onglet actif (positionné par app.js). */
.tube-lamp {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: 0;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
  opacity: 0;
  transition:
    left   0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    width  0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    top    0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    height 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.tube-lamp.ready { opacity: 1; }
.tube-lamp::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: #C8942E;
  box-shadow: 0 0 16px 2px rgba(200,148,46,0.7);
}
.tube-lamp::after {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 38px;
  pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(200,148,46,0.45), rgba(200,148,46,0) 70%);
  filter: blur(7px);
}

/* Transition de page (navigation soft) */
main { transition: opacity 0.34s ease, transform 0.34s ease; }
main.page-leaving  { opacity: 0; transform: translateY(10px); }
main.page-entering { opacity: 0; transform: translateY(-10px); }

.tube-nav-cta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: default;
  white-space: nowrap;
  opacity: 0;
  animation: slideInRight 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}

@media (max-width: 1100px) {
  .tube-nav-cta { display: none; }
}
@media (max-width: 860px) {
  .tube-nav-brand { display: none; }
  .tube-nav-pill { position: static; transform: none; margin: 0 auto; }
}

/* =====================================================================
   AUTO-DÉFILEMENT : indice « page suivante » (en bas de page)
   ===================================================================== */
.scroll-next-hint {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 16px);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.scroll-next-hint.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.scroll-next-hint .snh-label { color: rgba(255,255,255,0.5); }
.scroll-next-hint .snh-name  { color: #fff; font-weight: 600; }
.scroll-next-hint .snh-arrow {
  display: inline-block;
  color: #C8942E;
  animation: snhBounce 1.4s ease-in-out infinite;
}
@keyframes snhBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
