/* ============================================================
   VENEZANCE — styles.css
   Site statique. Aucune dépendance, déployable sur tout hébergeur.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Lenis smooth-scroll requirements */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #040404;
  --bg-elev: #0a0a0a;
  --bg-card: #0e0e0e;
  --text: #ededed;
  --text-mute: #9a9a9a;
  --text-dim: #6a6a6a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --accent: #f5c542;
  --light: #f4efe8;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(48px, 5.5vw, 80px);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Host Grotesk', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  1 0 0 0 -0.3'/></filter><rect width='320' height='320' filter='url(%23n)'/></svg>");
}

/* ---------- Base ---------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain — calque blanc statique en alpha pur (toujours visible sur fond sombre) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 320px 320px;
  pointer-events: none;
  opacity: 0.22;
  z-index: 9999;
}

/* Display font for headlines */
h1, h2, h3,
.hero-title,
.section-title,
.cta-content h2,
.target-body h3,
.method-card h3,
.testimonial-meta strong {
  font-family: var(--font-display);
  font-feature-settings: 'ss01' on, 'ss02' on;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
}

/* ---------- Eyebrow / Labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  display: inline-block;
}

/* ---------- Typography ---------- */
.section-title {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 1000px;
}

.section-title .muted {
  color: var(--text-dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-light {
  background: var(--light);
  color: #1a1a1a;
  box-shadow: 0 0 0 0 rgba(229, 196, 96, 0);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
}

.btn-light:hover {
  transform: translateY(-1px);
  background: #e5c460;
  color: #1a1a1a;
  box-shadow: 0 0 0 8px rgba(229, 196, 96, 0.22);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 30px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.navbar.is-scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo {
  align-self: center;
  line-height: 1;
}

.logo-img {
  height: 20px;
  width: auto;
  display: block;
}

.navbar .logo-img {
  height: 22px;
}

.footer .logo-img {
  height: 20px;
}

.logo-mark {
  position: relative;
  display: inline-block;
  font-style: italic;
}

.logo-bar {
  position: absolute;
  top: 4px;
  left: 1px;
  width: 11px;
  height: 3px;
  background: var(--accent);
  border-radius: 1px;
}

.logo-text {
  font-style: italic;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  font-size: 15px;
  color: var(--text);
  opacity: 0.85;
}

.nav-cta:hover {
  opacity: 1;
}

.nav-burger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 0 180px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) grayscale(0.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* fondu haut → lisibilité navbar */
    linear-gradient(to bottom, rgba(4, 4, 4, 0.55) 0%, rgba(4, 4, 4, 0) 22%),
    /* fondu bas → raccord exact avec la couleur de fond de la page */
    linear-gradient(to top, #040404 0%, rgba(4, 4, 4, 0.95) 8%, rgba(4, 4, 4, 0.55) 18%, rgba(4, 4, 4, 0) 38%),
    /* vignette cinéma légère */
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  max-width: 1100px;
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.45;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 14px;
  margin: 0 auto 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.hero-badge strong {
  font-weight: 500;
  color: #fff;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(245, 197, 66, 0.6);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .hero-badge { font-size: 12.5px; padding: 6px 14px 6px 12px; margin-bottom: 20px; }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* Override reveal transforms to preserve horizontal centering */
.scroll-indicator.reveal {
  transform: translate(-50%, 18px);
}
.scroll-indicator.reveal.is-visible {
  transform: translate(-50%, 0);
}

.scroll-indicator svg {
  opacity: 0.85;
}

.scroll-indicator svg rect:last-child {
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(3px); opacity: 0.4; }
}

/* ---------- Clients / logos strip ---------- */
.clients {
  padding: clamp(56px, 7vw, 90px) 0 clamp(24px, 3vw, 40px);
  background: var(--bg);
  position: relative;
}

.logos {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  justify-items: center;
  gap: 16px 10px;
  margin: 4px auto 0;
  max-width: 1240px;
}

.clients .eyebrow { margin-bottom: 0; }

.logos img {
  width: 100%;
  max-width: 130px;
  height: 70px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logos img:hover {
  opacity: 1;
}

/* ============================================================
   LOGOS : grid sur desktop, marquee sur mobile
   ============================================================ */

/* --- Grid desktop (6 colonnes, 10 cases dont "Votre logo" en 10e) --- */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 0;
  box-sizing: border-box;
}

.logo-card {
  position: relative;
  aspect-ratio: 1.9 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: transparent;
  border: 1px solid var(--border);
  transition:
    border-color 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    background 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.3s var(--ease-spring, cubic-bezier(0.34, 1.4, 0.5, 1));
}

.logo-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(1) brightness(1.55);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.logo-card:hover img {
  opacity: 1;
  filter: grayscale(1) brightness(1.7);
}

/* Carte "Votre logo" : placeholder dashed inviting */
.logo-card-empty {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: transparent;
  flex-direction: column;
  gap: 6px;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.logo-card-empty:hover {
  border-color: rgba(229, 196, 96, 0.6);
  border-style: dashed;
  background: rgba(229, 196, 96, 0.04);
  color: var(--accent);
}

.logo-card-empty svg {
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.3s var(--ease-spring, ease);
}

.logo-card-empty:hover svg {
  opacity: 1;
  transform: rotate(90deg);
}

/* Tooltip nom client au-dessus de la case (desktop) */
.logo-card[data-name]::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out, ease);
  z-index: 5;
}

.logo-card[data-name]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Strip container : simple wrapper de la grid */
.logos.logos-marquee {
  display: block;
  overflow: visible;
  width: 100%;
  margin: 16px 0 0;
  max-width: none;
  padding: 0;
  grid-template-columns: none;
}

/* Responsive grid : 5 cols desktop / 3 cols sous 1023px (tablette + mobile) */
@media (max-width: 1023px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

.logos-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 50s linear infinite;
  animation-play-state: paused;
}

.logos-track.marquee-ready {
  animation-play-state: running;
}

/* Slowdown au hover géré en JS via animation-delay négatif pour préserver la position */

.logo-item {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 80px;
}

.logo-item img {
  height: 100px;
  width: auto;
  max-width: none;
  opacity: 0.78;
  filter: grayscale(1) brightness(1.6);
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.logo-item:hover img { opacity: 1; }

/* Tooltip nom client (apparaît au-dessus du logo au hover) */
.logo-item[data-name]::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  z-index: 5;
}

.logo-item[data-name]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Services / tabs ---------- */
.services {
  padding: clamp(40px, 5vw, 70px) 0 var(--section-y);
  background: var(--bg);
}

.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  scroll-snap-align: center;
}

@media (max-width: 720px) {
  .tabs {
    margin-right: calc(var(--pad-x) * -1);
    padding-right: var(--pad-x);
    mask-image: linear-gradient(to right, black 0, black calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0, black calc(100% - 32px), transparent 100%);
  }
}

.tab {
  position: relative;
  padding: 10px 4px 4px;
  font-size: 15px;
  color: var(--text-mute);
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  color: var(--text);
}

.tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--text);
}

.tab-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.tab-panel[hidden] {
  display: none;
}

.tab-media {
  overflow: hidden;
  background: #0d0d0d;
  aspect-ratio: 16 / 11;
  position: relative;
}

.tab-media video,
.tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-label {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 18px;
}

.tab-desc {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 480px;
}

.tab-desc + .tab-desc { margin-top: 20px; }

.tab-uses {
  margin-bottom: 32px;
  max-width: 480px;
}

.tab-uses-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 14px;
}

.tab-uses-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-uses-list li {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: transparent;
  transition:
    border-color 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    background 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    color 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.tab-uses-list li:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* ---------- Video grid ---------- */
.video-grid-section {
  padding: 0 0 var(--section-y);
  background: var(--bg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  aspect-ratio: 16 / 9;
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0d0d0d;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-frame.has-vimeo::after { display: none; }

/* Poster click-to-play */
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: filter 0.3s ease;
}

.video-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.15) 100%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-poster:hover { filter: brightness(1.05); }
.video-poster:hover .video-play-btn { transform: scale(1.08); background: #fff; }

.video-play-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(22px, 2.6vw, 30px);
  height: clamp(22px, 2.6vw, 30px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0a0a0a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-play-btn svg {
  width: 36%;
  height: auto;
  transform: translateX(6%);
}

.video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 30%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.video-frame.is-playing::after { opacity: 0; }

.video-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.75);
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease;
  z-index: 2;
}

.video-play:hover { background: rgba(40, 40, 40, 0.9); }
.video-play svg { transform: translateX(1px); }
.video-play.is-playing svg path { d: path("M2 1H5V15H2V1ZM9 1H12V15H9V1Z"); }

.video-duration {
  position: absolute;
  left: 64px;
  bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: rgba(20,20,20,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.video-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.video-progress-bar {
  width: 0;
  height: 100%;
  background: rgba(255,255,255,0.9);
  transition: width 0.1s linear;
}

.video-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.video-mute,
.video-fs {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(20,20,20,0.75);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease;
}

.video-mute:hover, .video-fs:hover { background: rgba(40,40,40,0.9); }

.video-title {
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}

.video-client {
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-dim);
}

/* ---------- Targets (photo + vertical list) ---------- */
.targets {
  padding: var(--section-y) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.targets-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
}

.targets-photo {
  margin: 0;
  overflow: hidden;
  background: #0d0d0d;
  aspect-ratio: 4/3;
}

.targets-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.targets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  padding: 0;
}

.target-item {
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: opacity 0.25s ease;
}

.target-item:focus { outline: none; }
.target-item:focus-visible { outline: 1px solid rgba(255,255,255,0.3); outline-offset: 8px; border-radius: 2px; }

.target-item:not(.is-active),
.target-item.is-visible:not(.is-active) { opacity: 0.5; }
.target-item:not(.is-active):hover,
.target-item.is-visible:not(.is-active):hover { opacity: 0.85; }

.target-bar {
  display: block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  min-height: 80px;
  transition: background 0.25s ease;
}

.target-item.is-active .target-bar {
  background: rgba(255, 255, 255, 0.7);
}

.target-body {
  padding: 2px 0;
}

.target-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.target-icon {
  color: var(--text);
  flex-shrink: 0;
}

.target-body h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.target-body p {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 420px;
}

#targets-photo-img {
  transition: opacity 0.35s ease;
}

#targets-photo-img.is-swapping {
  opacity: 0;
}

/* ---------- Method (with illustrations) ---------- */
.method {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.method-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease;
}

.method-card:hover { transform: translateY(-2px); }

.method-illu {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid var(--border);
}

.method-illu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 4px;
}

.method-card p {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.55;
  max-width: 380px;
}

/* ---------- Testimonials carousel ---------- */
.testimonials {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  margin: 0 -12px;
}

.carousel-track {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0 12px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.testimonial {
  height: 100%;
  padding: 30px 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--text);
}

.testimonial footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  font-style: normal;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-meta strong {
  font-weight: 500;
  color: var(--text);
  font-size: 16px;
}

.testimonial-meta span {
  font-size: 14px;
  color: var(--text-dim);
}

.testimonial-count {
  font-size: 14px;
  color: var(--text-dim);
  white-space: nowrap;
}

.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 36px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--light);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.faq-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.faq-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.25s var(--ease-out, ease);
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-item summary > span:first-child { flex: 1; }

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease-out, ease), opacity 0.3s ease;
}
.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* Spécificité bumpée pour battre la UA stylesheet details > *:not(summary) */
.faq-item .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0.5;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item .faq-answer > p {
  min-height: 0;
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-mute);
}

.faq-answer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(229, 196, 96, 0.5);
  transition: text-decoration-color 0.2s ease;
}
.faq-answer a:hover { text-decoration-color: var(--accent); }

.faq-answer strong {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 720px) {
  .faq-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .faq-col { width: 100%; }
  .faq-item summary { padding: 18px 18px; font-size: 15px; }
  .faq-answer > p { padding: 0 18px 18px; font-size: 13.5px; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: clamp(40px, 6vw, 80px) 0 var(--section-y);
  background: var(--bg);
}

.cta-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 70px);
  max-width: 560px;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ---------- Links page (standalone, no navbar/footer) ---------- */
.page-bare { padding: 0; }

.links-page {
  padding: clamp(56px, 9vw, 110px) var(--pad-x) clamp(60px, 8vw, 100px);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.links-inner {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-photo {
  width: 104px;
  height: 104px;
  margin: 0 0 22px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-strong);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 6px;
}

.profile-role {
  font-size: 15px;
  color: var(--text-mute);
  margin-bottom: 40px;
}

.links-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 14px;
  text-align: left;
  color: var(--text);
  transition:
    transform 0.4s var(--ease-spring, cubic-bezier(0.34, 1.4, 0.5, 1)),
    border-color 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
    background 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.link-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.link-thumb-icon {
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.link-card:hover .link-thumb-icon {
  color: var(--accent);
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 196, 96, 0.45);
  background: #181612;
}

.link-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.link-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.link-card-desc {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.45;
}

.link-card-desc strong {
  color: var(--accent);
  font-weight: 500;
}

.link-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-mute);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring, cubic-bezier(0.34, 1.4, 0.5, 1)),
              background 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
              color 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.link-card:hover .link-card-arrow {
  background: var(--accent);
  color: #1a1a1a;
  transform: rotate(0) scale(1.08);
}

/* Primary variant: bouton CTA "Nous contacter" mis en avant */
.link-card-primary {
  background: var(--light);
  border-color: var(--light);
  color: #1a1a1a;
}
.link-card-primary .link-card-title { color: #1a1a1a; }
.link-card-primary .link-card-desc { color: rgba(26, 26, 26, 0.65); }
.link-card-primary .link-card-arrow {
  background: rgba(26, 26, 26, 0.1);
  color: #1a1a1a;
}
.link-card-primary:hover {
  background: #e5c460;
  border-color: #e5c460;
  transform: translateY(-3px);
  box-shadow: 0 0 0 8px rgba(229, 196, 96, 0.22);
}
.link-card-primary:hover .link-card-arrow {
  background: #1a1a1a;
  color: #e5c460;
  transform: translateX(2px);
}

@media (max-width: 720px) {
  .link-card { padding: 18px 20px; }
  .link-card-title { font-size: 16px; }
  .link-card-desc { font-size: 13px; }
}

/* ---------- Legal pages (mentions, politique) ---------- */
.legal-page {
  padding: clamp(60px, 9vw, 100px) 0 clamp(80px, 10vw, 120px);
  background: var(--bg);
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.legal-wrap .section-title {
  margin-bottom: 8px;
}

.legal-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.65;
}

.legal-section p { margin-bottom: 12px; }

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}

.legal-section li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--text-dim);
}

.legal-section strong {
  color: var(--text);
  font-weight: 500;
}

.legal-section a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(229, 196, 96, 0.5);
  transition: text-decoration-color 0.2s ease;
}

.legal-section a:hover { text-decoration-color: var(--accent); }

/* ---------- 404 page ---------- */
.not-found {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x) 100px;
  text-align: center;
}

.not-found-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.not-found-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text);
}

.not-found-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .not-found-sub br { display: none; }
}

/* ---------- Contact page ---------- */
.page-inner { padding-top: 80px; }

.contact-page {
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  background: var(--bg);
  min-height: calc(100vh - 200px);
}

.contact-page .section-title {
  margin-bottom: 18px;
  max-width: 900px;
}

.contact-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-mute);
  margin-bottom: 56px;
  line-height: 1.5;
  max-width: 760px;
}

.cal-embed {
  background: transparent;
  padding: 0;
}

.cal-embed iframe { display: block; width: 100%; background: transparent; }

/* ----- Page contact : layout général ----- */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* ----- Bouton "Vous préférez réserver un appel" ----- */
.call-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 40px;
  transition: border-color 0.3s var(--ease-out, ease), background 0.3s var(--ease-out, ease), transform 0.3s var(--ease-spring, ease);
}

.call-toggle:hover {
  border-color: rgba(229, 196, 96, 0.45);
  background: #181612;
  transform: translateY(-1px);
}

.call-toggle-icon,
.call-toggle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-toggle-icon {
  width: 28px;
  height: 28px;
  background: rgba(229, 196, 96, 0.12);
  color: var(--accent);
}

.call-toggle-arrow {
  margin-left: 4px;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease-spring, ease), color 0.3s var(--ease-out, ease);
}

.call-toggle:hover .call-toggle-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ----- Formulaire ----- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form[hidden] { display: none; }
.form-error[hidden] { display: none; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.form-required {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s var(--ease-out, ease), background 0.25s var(--ease-out, ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--border-strong);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(229, 196, 96, 0.6);
  background: #181612;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 44px;
  cursor: pointer;
}

.select-wrap select option {
  background: var(--bg-card);
  color: var(--text);
}

.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute);
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 8px;
}

.form-hint {
  font-size: 13px;
  color: var(--text-dim);
}

.form-hint a {
  color: var(--text-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.form-hint a:hover { color: var(--accent); }

/* ----- États submit / succès / erreur ----- */
.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(26, 26, 26, 0.25);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  margin-left: 10px;
  animation: spin 0.7s linear infinite;
}

.contact-form.is-submitting .btn-spinner { display: inline-block; }
.contact-form.is-submitting button[type="submit"] { pointer-events: none; opacity: 0.85; }

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none !important; }
}

.form-error {
  margin-top: 12px;
  padding: 12px 16px;
  font-size: 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.form-success {
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: successEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.form-success[hidden] { display: none; }

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(229, 196, 96, 0.14);
  color: var(--accent);
  margin-bottom: 6px;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.form-success-text {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 480px;
}

.form-success-again {
  margin-top: 12px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.form-success-again:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #181612;
}

@keyframes successEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .call-toggle { width: 100%; justify-content: flex-start; }
}

/* ----- Modal Cal.com ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: modalFadeIn 0.28s var(--ease-out, ease) forwards;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 940px;
  max-height: calc(100vh - 80px);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 36px);
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.97) translateY(8px);
  animation: modalEnter 0.4s var(--ease-spring, cubic-bezier(0.22, 1, 0.36, 1)) 0.05s forwards;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-mute);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  background: #181612;
  border-color: rgba(229, 196, 96, 0.45);
  color: var(--accent);
}

.modal-header {
  padding: 4px 50px 22px 4px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-mute);
}

@keyframes modalFadeIn {
  to { opacity: 1; }
}

@keyframes modalEnter {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Bloque le scroll de la page quand la modal est ouverte */
body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .modal-backdrop,
  .modal-container { animation: none; opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  align-self: flex-start;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  color: var(--text-mute);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.footer-social a:hover {
  border-color: rgba(229, 196, 96, 0.45);
  color: var(--accent);
  background: #181612;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-legal a {
  font-size: 14px;
  color: var(--text-mute);
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-nav a:hover,
.footer-legal a:hover { color: var(--text); }

.footer-address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

.footer-meta {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 30px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-brand { grid-column: auto; }
}

/* ============================================================
   MICRO-INTERACTIONS & ANIMATIONS
   Easings utilisés :
   - --ease-spring : ressort doux (overshoot léger)
   - --ease-out   : ease-out-quart standard
   ============================================================ */
:root {
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Eyebrow dot : pulse subtil ----- */
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.35); opacity: 1; }
}
.dot {
  transform-origin: center;
  animation: dotPulse 2.6s ease-in-out infinite;
}

/* ----- Nav links : underline animé ----- */
.nav-links a {
  position: relative;
  padding: 4px 0;
  line-height: 1;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover::after,
.nav-cta:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}
.nav-cta {
  position: relative;
  padding: 4px 0;
  line-height: 1;
}
.nav-cta::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}

/* ----- Logos : dim peers when hovering one ----- */
.logos:has(img:hover) img:not(:hover) {
  opacity: 0.35;
  filter: grayscale(1) brightness(1.2) blur(0.5px);
}
.logos img {
  transition: opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out), transform 0.5s var(--ease-spring);
}
.logos img:hover {
  transform: scale(1.06);
  opacity: 1 !important;
  filter: grayscale(0) brightness(1) blur(0) !important;
}

/* ----- Video cards : hover lift + shadow (sans glow blanc) ----- */
.video-frame {
  transition: transform 0.6s var(--ease-spring), box-shadow 0.5s var(--ease-out);
}
.video-card:hover .video-frame {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 26px 60px rgba(0,0,0,0.55);
}
.video-card .video-title {
  transition: color 0.3s var(--ease-out);
}
.video-card:hover .video-title { color: #fff; }

/* ----- Method cards : illu zoom on hover ----- */
.method-illu img {
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease-out);
}
.method-card:hover .method-illu img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* ----- Target items : icon spring on hover ----- */
.target-icon {
  transition: transform 0.5s var(--ease-spring);
}
.target-item:hover .target-icon,
.target-item.is-active .target-icon {
  transform: translateY(-2px) scale(1.08);
}

/* ----- Carousel slides : hover lift ----- */
.testimonial {
  transition: transform 0.45s var(--ease-out), border-color 0.3s var(--ease-out);
}
.carousel-slide:hover .testimonial {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

/* ----- Tab indicator : slide instead of fade ----- */
.tabs {
  position: relative;
}
.tabs::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: var(--tab-indicator-left, 0);
  width: var(--tab-indicator-width, 0);
  height: 2px;
  background: var(--text);
  transition: left 0.45s var(--ease-out), width 0.45s var(--ease-out);
  pointer-events: none;
}
.tab.is-active::after { display: none; } /* on désactive l'ancien underline figé */

/* ----- Hero bg : parallax subtil ----- */
.hero-bg {
  will-change: transform;
}

/* ----- Magnetic buttons (init state) ----- */
.btn {
  --mag-x: 0px;
  --mag-y: 0px;
  transform: translate(var(--mag-x), var(--mag-y));
  transition: transform 0.4s var(--ease-spring), background 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
}
.btn:hover {
  transition: transform 0.18s var(--ease-out), background 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  .video-frame,
  .video-frame::before,
  .video-card .video-title,
  .method-illu img,
  .target-icon,
  .testimonial,
  .nav-links a::after,
  .nav-cta::after,
  .tabs::after,
  .logos img,
  .btn {
    transition: none !important;
  }
}

/* ---------- Reveal system (stagger via --reveal-delay) ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* CTA card : ajout d'un léger scale au reveal */
.reveal.reveal-scale {
  transform: translate3d(0, 24px, 0) scale(0.985);
}
.reveal.reveal-scale.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Tab panel fade-in on switch */
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.tab-panel.fade-in {
  animation: tabFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Reduce motion : tout désactiver proprement */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tab-panel.fade-in {
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .logos { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .targets-layout { grid-template-columns: 1fr; }
  .targets-photo { aspect-ratio: 16/9; }
  .method-grid { grid-template-columns: 1fr; gap: 32px; }
  .method-illu { aspect-ratio: 16/9; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-media { aspect-ratio: 16/9; }
  .carousel-slide { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-burger { justify-self: end; }
  .hero { padding: 110px 0 140px; min-height: 100vh; min-height: 100svh; }
  .hero-title { font-size: 44px; line-height: 0.98; }
  .hero-sub { font-size: 17px; line-height: 1.5; }
  .scroll-indicator { bottom: 24px; }
  .scroll-indicator span { white-space: nowrap; font-size: 13px; }
  .section-title br { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  /* Mobile : 3 colonnes, cases plus serrées */
  .logos-grid { gap: 8px; }
  .logo-card { padding: 8px 10px; aspect-ratio: 1.5 / 1; }
  .logo-card-empty { font-size: 11px; }
  .logo-card-empty svg { width: 12px; height: 12px; }
  .targets-list { gap: 24px; }
  .target-bar { min-height: 60px; }
  .testimonial { padding: 28px 24px; }
  .testimonial p { font-size: 16px; }
  .carousel-slide { flex-basis: 100%; }
  .carousel-nav { justify-content: center; }
  .cta-content { padding: 36px 28px; }
  .cta-content h2 br { display: none; }
  .cta-content p br { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Mobile nav drawer ---------- */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 40;
  padding: clamp(90px, 14vh, 130px) var(--pad-x) max(28px, env(safe-area-inset-bottom));
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)), visibility 0.35s;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  gap: 40px;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
}

.nav-drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-display);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)), transform 0.5s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.nav-drawer-links a:first-child {
  border-top: 1px solid var(--border);
}

.nav-drawer.is-open .nav-drawer-links a:nth-child(1) { transition-delay: 0.12s; }
.nav-drawer.is-open .nav-drawer-links a:nth-child(2) { transition-delay: 0.18s; }
.nav-drawer.is-open .nav-drawer-links a:nth-child(3) { transition-delay: 0.24s; }
.nav-drawer.is-open .nav-drawer-links a:nth-child(4) { transition-delay: 0.30s; }

.nav-drawer.is-open .nav-drawer-links a {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  min-width: 24px;
}

.nav-drawer-label {
  font-size: clamp(28px, 7vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.25s ease, transform 0.35s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.nav-drawer-links a:hover .nav-drawer-label,
.nav-drawer-links a:active .nav-drawer-label {
  transform: translateX(4px);
}

.nav-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 0.38s, transform 0.5s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) 0.38s;
}

.nav-drawer.is-open .nav-drawer-footer {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer-cta {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  font-size: 15px;
}

.nav-drawer-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-mute);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 10px 12px;
  transition: color 0.25s ease;
}

.nav-drawer-secondary:hover {
  color: var(--text);
}

.nav-drawer-secondary svg {
  transition: transform 0.3s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.nav-drawer-secondary:hover svg {
  transform: translate(2px, -2px);
}

/* Burger : transformation en X quand le drawer est ouvert */
.nav-burger {
  position: relative;
  z-index: 60;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-drawer-links a,
  .nav-drawer-footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-indicator svg rect:last-child { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
