/* ============================================================
   AR PLOMBERIE — Nice · thème clair azur & cuivre
   ============================================================ */

:root {
  --bg: #F4F7F9;
  --bg-2: #FFFFFF;
  --bg-3: #E9EFF3;
  --deep: #14212C;
  --deep-2: #1D2E3C;

  --ink: #14212C;
  --ink-soft: #2B3E4E;
  --muted: #52667A;
  --muted-2: #5C6F82;
  --line: #DEE7ED;
  --line-2: #C6D5DF;

  --azure: #16708F;
  --azure-lt: #2E93B5;
  --azure-dp: #0F5670;
  --azure-soft: #E2EFF4;

  --copper: #B87A45;
  --copper-lt: #D19960;
  --copper-soft: #F7ECE1;

  --display: 'Bodoni Moda', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;

  --wrap: 1300px;
  --pad: 44px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* « clip » et non « hidden » : hidden ferait du body une boîte de défilement,
     ce qui désactive silencieusement le position:sticky du hero cinématique. */
  overflow-x: clip;
}

::selection { background: var(--azure); color: #fff; }

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: 2px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ico {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* ============ PROGRESSION ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--azure-dp), var(--azure-lt), var(--copper-lt));
  z-index: 200;
}

/* ============ PRELOADER ============ */
#preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 13vw, 132px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--azure);
  overflow: hidden;
}
.pre-word {
  margin-top: 8px;
  font-size: clamp(11px, 2.4vw, 15px);
  font-weight: 700;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  color: var(--muted-2);
  overflow: hidden;
}
.pre-char { display: inline-block; animation: preRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.pre-logo .pre-char:nth-child(1) { animation-delay: 0.05s; }
.pre-logo .pre-char:nth-child(2) { animation-delay: 0.13s; color: var(--copper); }
.pre-word .pre-char:nth-child(n) { animation-delay: 0.3s; }
.pre-word .pre-char:nth-child(2) { animation-delay: 0.34s; }
.pre-word .pre-char:nth-child(3) { animation-delay: 0.38s; }
.pre-word .pre-char:nth-child(4) { animation-delay: 0.42s; }
.pre-word .pre-char:nth-child(5) { animation-delay: 0.46s; }
.pre-word .pre-char:nth-child(6) { animation-delay: 0.50s; }
.pre-word .pre-char:nth-child(7) { animation-delay: 0.54s; }
.pre-word .pre-char:nth-child(8) { animation-delay: 0.58s; }
.pre-word .pre-char:nth-child(9) { animation-delay: 0.62s; }
@keyframes preRise {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.pre-bar {
  width: min(240px, 56vw); height: 1px;
  background: var(--line-2);
  margin: 34px auto 0;
  overflow: hidden;
}
.pre-bar i { display: block; height: 100%; width: 0; background: var(--azure); }
.pre-count {
  margin-top: 14px;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted-2);
}

/* ============ CURSEUR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 999;
  pointer-events: none; border-radius: 50%; opacity: 0;
}
.cursor-dot { width: 6px; height: 6px; background: var(--azure); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(22, 112, 143, 0.5);
  transition: width 0.28s ease, height 0.28s ease, background 0.28s ease, border-color 0.28s ease;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 10px; letter-spacing: 0.14em;
  color: transparent;
}
.cursor-ring.grow { width: 58px; height: 58px; background: rgba(22, 112, 143, 0.1); border-color: var(--azure); }
.cursor-ring.view {
  width: 76px; height: 76px;
  background: var(--azure); border-color: transparent; color: #fff;
}
.cursor-ring.view::after { content: 'VOIR'; }
@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ NAV ============ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244, 247, 249, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}
#nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 15px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: baseline; gap: 9px; }
.logo-ar {
  font-family: var(--display); font-weight: 700;
  font-size: 27px; letter-spacing: 0.03em;
  color: var(--azure);
}
.logo-sub {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-weight: 600; font-size: 14.5px;
  color: var(--muted); position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -7px;
  width: 100%; height: 1.5px; background: var(--azure);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700; font-size: 14.5px;
  padding: 11px 20px; border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: var(--azure); border-color: var(--azure); color: #fff; }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper); display: inline-block; flex: none;
  animation: pulse 2.2s ease-in-out infinite;
}
.nav-cta:hover .pulse-dot { background: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 122, 69, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(184, 122, 69, 0); }
}
.burger { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 8.5vw, 52px);
  color: var(--ink); padding: 5px 0;
  transition: color 0.25s ease;
}
.mobile-menu a:hover { color: var(--azure); }
.mm-phone {
  color: var(--azure) !important;
  font-family: var(--body) !important;
  font-size: 20px !important; font-weight: 800;
  margin-top: 18px; letter-spacing: 0.04em;
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15.5px;
  padding: 16px 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1), background 0.25s ease,
              color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.btn-copper {
  background: var(--azure); color: #fff;
  box-shadow: 0 12px 28px rgba(22, 112, 143, 0.24);
}
.btn-copper:hover { background: var(--azure-dp); box-shadow: 0 18px 38px rgba(22, 112, 143, 0.3); }
.btn-ghost {
  background: var(--bg-2); color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--azure); color: var(--azure); }
.btn-dark {
  background: #fff; color: var(--deep);
}
.btn-dark:hover { background: var(--copper); color: #fff; }

/* ============ HERO CINÉMATIQUE ============ */
/* La hauteur de .cine définit la course du scroll ; l'étage reste collé. */
.cine {
  position: relative;
  height: 400svh;
  background: var(--deep);
}
.cine-stage {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--deep);
}
.cine-media { position: absolute; inset: 0; }
.cine-media video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
/* voile : le bleu ardoise du site, pas du noir */
.cine-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(12, 22, 31, 0.86) 0%,
      rgba(12, 22, 31, 0.62) 34%,
      rgba(12, 22, 31, 0.22) 66%,
      rgba(12, 22, 31, 0.30) 100%),
    linear-gradient(to bottom,
      rgba(12, 22, 31, 0.55) 0%,
      rgba(12, 22, 31, 0.12) 30%,
      rgba(12, 22, 31, 0.42) 72%,
      rgba(12, 22, 31, 0.78) 100%);
}

/* ---- les plans ---- */
.cine-cap {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: min(var(--wrap), 100%);
  padding: 118px var(--pad) 132px;
  display: grid; align-content: center; justify-items: start;
  gap: 20px;
  transform: translateX(-50%) translateY(var(--cap-y, 0px));
  opacity: var(--cap-a, 0);
  will-change: transform, opacity;
  z-index: 2;
}
.cine-cap[data-hidden] { visibility: hidden; }

/* vidéo indisponible : on retombe sur l'affiche, une seule hauteur d'écran */
.cine.cine-fallback { height: 100svh; }
.cine.cine-fallback .cine-dots,
.cine.cine-fallback .cine-hint { display: none; }

.cine-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: 13.5px; color: #EAF1F6;
}
.cine-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(46px, 8.6vw, 132px);
  line-height: 0.96; letter-spacing: -0.005em;
  text-transform: uppercase; margin: 0;
  color: #fff;
  text-shadow: 0 2px 40px rgba(8, 16, 23, 0.5);
}
.ht-line { display: block; overflow: hidden; padding: 0.1em 0 0.05em; margin-top: -0.1em; }
.ht-word { display: inline-block; }
.ht-italic {
  font-style: italic; font-weight: 400; text-transform: lowercase;
  color: var(--copper-lt); padding-right: 0.06em;
}
.ht-outline { color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.62); }
.ht-word .char { display: inline-block; will-change: transform; }

.cine-num {
  font-family: var(--display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.3em;
  color: var(--copper-lt);
}
.cine-lead {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.16; color: #fff; max-width: 16ch;
  text-shadow: 0 2px 34px rgba(8, 16, 23, 0.45);
}
.cine-sub {
  font-size: 17px; line-height: 1.68;
  color: #D3DFE8; max-width: 460px;
  text-shadow: 0 1px 20px rgba(8, 16, 23, 0.55);
}
.cine-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.cine-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; border-color: rgba(255, 255, 255, 0.34);
}
.cine-actions .btn-ghost:hover { background: #fff; color: var(--deep); border-color: #fff; }
.cine-proof {
  display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none;
  font-size: 13.5px; font-weight: 600; color: #D3DFE8;
  text-shadow: 0 1px 16px rgba(8, 16, 23, 0.6);
}
.cine-proof li { display: flex; align-items: center; gap: 8px; }
.cine-proof .ico { width: 17px; height: 17px; color: var(--copper-lt); }

/* ---- repères ---- */
.cine-dots {
  position: absolute; right: calc(var(--pad) - 6px); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 11px; z-index: 3;
}
.cine-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.4s ease, transform 0.4s ease;
}
.cine-dots i.on { background: var(--copper-lt); transform: scale(1.5); }

.cine-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.62); z-index: 3;
  transition: opacity 0.5s ease;
}
.cine-hint span {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, transparent, var(--copper-lt));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.sticker {
  position: absolute; top: 104px; right: var(--pad);
  width: 96px; height: 96px; z-index: 3;
  filter: drop-shadow(0 10px 26px rgba(8, 16, 23, 0.4));
  animation: spin 22s linear infinite;
  pointer-events: none;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}

/* ---- barre de navigation posée sur la vidéo ---- */
#nav.over-cine {
  background: linear-gradient(to bottom, rgba(8, 16, 23, 0.5), transparent);
  border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
#nav.over-cine .logo-ar { color: #fff; }
#nav.over-cine .logo-sub { color: rgba(255, 255, 255, 0.68); }
#nav.over-cine .nav-links a { color: rgba(255, 255, 255, 0.82); }
#nav.over-cine .nav-links a:hover { color: #fff; }
#nav.over-cine .nav-links a::after { background: var(--copper-lt); }
#nav.over-cine .nav-cta {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3); color: #fff;
}
#nav.over-cine .nav-cta:hover { background: #fff; color: var(--deep); border-color: #fff; }
#nav.over-cine .burger span { background: #fff; }

/* ============ MARQUEE ============ */
.marquee-band { overflow: hidden; padding: 17px 0; }
.band-copper {
  background: var(--azure);
  color: #fff;
}
.band-line {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(20, 33, 44, 0.24);
  margin-top: 100px;
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.track-reverse { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(17px, 2.3vw, 30px);
  letter-spacing: 0.05em; white-space: nowrap; padding-right: 0.4em;
}
.marquee-track i { font-style: normal; font-size: 0.42em; vertical-align: 0.5em; opacity: 0.55; padding: 0 0.5em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ STATS ============ */
.stats { padding: 96px var(--pad) 0; }
.stats-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-2);
  box-shadow: 0 10px 30px rgba(20, 33, 44, 0.045);
  overflow: hidden;
}
.stat { padding: 44px 22px; text-align: center; border-right: 1px solid var(--line); transition: background 0.35s ease; }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--azure-soft); }
.stat-num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 5vw, 66px); line-height: 1;
  color: var(--ink); display: inline-block;
}
.stat-plus { color: var(--copper); font-size: 0.5em; vertical-align: 0.55em; margin-left: 3px; }
.stat-label {
  margin-top: 12px;
  font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.19em; text-transform: uppercase; color: var(--muted-2);
}

/* ============ SECTIONS COMMUNES ============ */
.section-head { max-width: var(--wrap); margin: 0 auto; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--azure); margin-bottom: 22px;
}
.section-kicker::before {
  content: ''; width: 26px; height: 1px; background: var(--azure); opacity: 0.6;
}
.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 5.2vw, 78px);
  line-height: 1.03; text-transform: uppercase;
  letter-spacing: -0.008em; margin: 0 0 20px;
  max-width: 15ch; color: var(--ink);
}
.section-title.small { font-size: clamp(28px, 3.6vw, 52px); }
.section-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.12em 0 0.07em; margin: -0.12em 0 -0.07em; }
.section-title .w > span { display: inline-block; will-change: transform; }
.section-sub { font-size: 16.5px; color: var(--muted); max-width: 580px; line-height: 1.68; }

/* ============ TROIS PÔLES ============ */
.poles { padding: 130px var(--pad) 0; }
.poles-grid {
  max-width: var(--wrap); margin: 54px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.pole { position: relative; }
.pole-media {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 4; border-radius: 3px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.pole-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.72);
  transition: transform 0.9s cubic-bezier(0.33, 1, 0.68, 1), filter 0.6s ease;
}
.pole:hover .pole-media img { transform: scale(1.06); filter: saturate(1); }
.pole-index {
  position: absolute; bottom: 12px; left: 16px; z-index: 2;
  font-family: var(--display); font-weight: 600;
  font-size: 26px; color: #fff;
  background: var(--azure);
  width: 52px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
}
.pole h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 27px; letter-spacing: 0.01em; margin-bottom: 10px;
}
.pole p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.pole-link {
  display: inline-block; margin-top: 16px;
  font-weight: 700; font-size: 13.5px; color: var(--azure);
  transition: opacity 0.25s ease;
}
.pole-link:hover { opacity: 0.7; }

/* ============ CITATION ============ */
.quote { padding: 140px var(--pad); position: relative; overflow: hidden; }
.quote::before {
  content: ''; position: absolute;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 147, 181, 0.1), transparent 68%);
  top: -190px; left: 50%; transform: translateX(-50%);
}
.quote-inner { max-width: 940px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.quote-kicker {
  font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--azure); margin-bottom: 26px;
}
.quote-text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 3.1vw, 40px);
  line-height: 1.38; letter-spacing: -0.005em;
  text-wrap: balance; color: var(--ink);
}
.quote-text .qword { opacity: 0.22; transition: opacity 0.45s ease; }
.quote-text .qword.on { opacity: 1; }
.quote-text em { font-style: italic; color: var(--copper); }
.quote-sign { margin-top: 32px; font-size: 14px; font-weight: 600; color: var(--muted-2); letter-spacing: 0.03em; }

/* ============ PRESTATIONS ============ */
.prestations { padding: 40px var(--pad) 0; }
.filters { max-width: var(--wrap); margin: 42px auto 0; display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  font-weight: 600; font-size: 14px;
  padding: 11px 21px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--muted);
  transition: all 0.25s ease;
}
.pill:hover { color: var(--azure); border-color: var(--azure); }
.pill.active { background: var(--azure); border-color: var(--azure); color: #fff; }

.cards {
  max-width: var(--wrap); margin: 34px auto 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(315px, 1fr)); gap: 20px;
  perspective: 1400px;
}
.card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px 28px;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 20px rgba(20, 33, 44, 0.04);
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.4s ease,
              box-shadow 0.4s ease, opacity 0.35s ease;
  will-change: transform;
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--azure);
  opacity: 0; transition: opacity 0.4s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 20px 44px rgba(20, 33, 44, 0.1); }
.card:hover::before { opacity: 1; }
.card:not(.tilt-js):hover { transform: translateY(-6px); }
.card.filtered-out { display: none; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 3px;
  background: var(--azure-soft);
  color: var(--azure);
  transition: background 0.35s ease, color 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.card:hover .card-ico { background: var(--azure); color: #fff; transform: translateY(-2px); }
.card-num {
  font-family: var(--display); font-weight: 600;
  font-size: 15px; color: var(--muted-2); letter-spacing: 0.06em;
}
.card h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 21.5px; line-height: 1.2; margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.62; flex: 1; }
.card-specs {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2);
}
.card-urgence .card-ico { background: var(--copper-soft); color: var(--copper); }
.card-urgence:hover .card-ico { background: var(--copper); color: #fff; }
.card-urgence::before { background: var(--copper); }
.card-urgence .card-specs { color: var(--copper); }
.card-urgence .card-cta { color: var(--copper); }
.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-weight: 700; font-size: 14px; color: var(--azure);
}
.card-cta em { font-style: normal; transition: transform 0.3s ease; display: inline-block; }
.card-cta:hover em { transform: translateX(5px); }

.tarif-note {
  max-width: var(--wrap); margin: 40px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px; overflow: hidden;
}
.tarif-note > div { background: var(--bg-2); padding: 24px 28px; }
.tarif-note strong {
  display: block; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--azure); margin-bottom: 7px;
}
.tarif-note span { color: var(--muted); font-size: 14.5px; }

/* ============ SAVOIR-FAIRE (section inversée) ============ */
.savoir {
  background: var(--deep);
  color: #fff;
  margin-top: 110px;
  padding: 130px var(--pad);
}
.sav-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start;
}
.section-kicker.light { color: var(--copper-lt); }
.section-kicker.light::before { background: var(--copper-lt); }
.section-title.light { color: #fff; }
.section-sub.light { color: #A9BAC7; }
.sav-left .btn { margin-top: 30px; }
.sav-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sav-card { background: var(--deep); padding: 30px 28px; transition: background 0.35s ease; }
.sav-card:hover { background: var(--deep-2); }
.sav-card .ico { width: 26px; height: 26px; color: var(--copper-lt); margin-bottom: 16px; }
.sav-card h4 { font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 7px; }
.sav-card p { color: #A9BAC7; font-size: 14.5px; line-height: 1.6; }

/* ============ RÉALISATIONS ============ */
.realisations { padding: 130px var(--pad) 0; }
.gal-head {
  max-width: var(--wrap); margin: 60px auto 22px;
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.gal-head-2 { margin-top: 80px; }
.gal-head h3 { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 2.3vw, 27px); }
.gal-head span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-2); }
.gallery {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.g-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1; border-radius: 3px;
  border: 1px solid var(--line);
  cursor: pointer; display: block;
  padding: 0; margin: 0; background: none; font: inherit; color: inherit;
  width: 100%;
}
.g-item.g-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88);
  transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1), filter 0.5s ease;
}
.g-item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.g-item::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 var(--azure);
  transition: box-shadow 0.35s ease;
}
.g-item:hover::after { box-shadow: inset 0 0 0 2px var(--azure); }

/* ============ MÉTHODE ============ */
.methode { padding: 130px var(--pad) 0; }
.steps {
  max-width: var(--wrap); margin: 50px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}
.step { padding: 36px 30px 34px 30px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: none; }
.step:first-child { padding-left: 0; }
.step::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: var(--azure); transition: width 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.step:hover::before { width: 100%; }
.step-num {
  font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em;
  color: var(--azure); display: block; margin-bottom: 18px;
}
.step h4 { font-family: var(--display); font-weight: 600; font-size: 21px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.62; }

/* ============ MARQUES ============ */
.marques { padding: 110px var(--pad) 0; }
.marques-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 46px; flex-wrap: wrap;
  padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marques-label {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2);
  flex: none;
}
.marques-logos { display: flex; align-items: center; gap: 42px; flex-wrap: wrap; flex: 1; }
.marques-logos img {
  width: 96px; height: 30px; object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1); opacity: 0.62;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.marques-logos img:hover { filter: none; opacity: 1; }

/* ============ ZONE ============ */
.zone { padding: 110px var(--pad) 0; }
.zone-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chips span {
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg-2);
  padding: 11px 20px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.zone-chips span:hover { border-color: var(--azure); color: var(--azure); background: var(--azure-soft); }

/* ============ CONTACT ============ */
.contact { padding: 120px var(--pad); }
.contact-card {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 0.92fr; gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 18px 50px rgba(20, 33, 44, 0.07);
}
.contact-left { padding: clamp(34px, 4.4vw, 62px); }
.contact-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 3.9vw, 56px);
  line-height: 1.04; text-transform: uppercase; margin-bottom: 18px;
  color: var(--ink);
}
.contact-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.12em 0 0.07em; margin: -0.12em 0 -0.07em; }
.contact-title .w > span { display: inline-block; }
.contact-intro { color: var(--muted); font-size: 16px; line-height: 1.68; max-width: 430px; }
.coord { list-style: none; margin-top: 34px; }
.coord li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.coord-lab {
  flex: none; width: 92px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2);
}
.coord-big {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1;
  color: var(--ink); white-space: nowrap;
  transition: color 0.25s ease, letter-spacing 0.35s ease;
}
.coord-big:hover { color: var(--azure); letter-spacing: 0.02em; }
.coord-val { color: var(--muted); font-size: 15.5px; transition: color 0.25s ease; }
a.coord-val:hover { color: var(--azure); }
.coord-val i { font-style: normal; color: var(--muted-2); font-size: 14px; }

.contact-box {
  background: var(--bg-3);
  border-left: 1px solid var(--line);
  padding: clamp(30px, 3.6vw, 48px);
}
.fb-kicker {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--azure); margin-bottom: 24px;
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--ink); font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(22, 112, 143, 0.12);
}
.field input.invalid { border-color: #C4573F; }
.form-btn { width: 100%; margin-top: 8px; }
.form-note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted-2); }
.form-note a { color: var(--azure); font-weight: 700; }
.form-note.ok { color: var(--azure); }

/* ============ RETOUR EN HAUT ============ */
.to-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); cursor: pointer;
  background: var(--bg-2);
  box-shadow: 0 10px 26px rgba(20, 33, 44, 0.12);
  color: var(--azure); font-size: 19px;
  z-index: 80; opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.25s ease, color 0.25s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--azure); color: #fff; border-color: var(--azure); }

/* ============ BARRE D'APPEL MOBILE ============ */
.callbar { display: none; }

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-3);
  padding-top: 40px; overflow: hidden;
}
.footer-giant {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 13.2vw, 208px);
  line-height: 0.9; text-align: center; text-transform: uppercase;
  letter-spacing: 0.005em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 33, 44, 0.13);
  user-select: none; white-space: nowrap;
  transition: -webkit-text-stroke-color 0.7s ease;
}
.footer-giant:hover { -webkit-text-stroke-color: rgba(22, 112, 143, 0.5); }
.footer-cols {
  max-width: var(--wrap); margin: 64px auto 0;
  padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px;
}
.f-badge {
  width: 62px; height: 62px; border-radius: 50%;
  object-fit: cover; margin-bottom: 18px;
  border: 1px solid var(--line);
}
.footer-cols p { color: var(--muted); font-size: 14.5px; line-height: 1.85; max-width: 300px; }
.footer-cols p a { transition: color 0.25s ease; }
.footer-cols p a:hover { color: var(--azure); }
.f-head {
  font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 14px;
}
.f-phone { color: var(--azure); font-weight: 800; }
.footer-legal {
  max-width: var(--wrap); margin: 56px auto 0;
  padding: 22px var(--pad) 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--muted-2); font-size: 12.5px;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20, 33, 44, 0.9);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(1100px, 88vw); max-height: 82vh;
  object-fit: contain; border-radius: 3px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.lb-close, .lb-nav {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff; cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.lb-close:hover, .lb-nav:hover { background: #fff; color: var(--ink); border-color: #fff; }
.lb-close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 17px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 28px; line-height: 0; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  max-width: min(760px, 84vw); text-align: center;
  font-size: 13.5px; color: #C6D5DF; line-height: 1.55;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  :root { --pad: 26px; }
  .sav-inner { grid-template-columns: 1fr; gap: 44px; }
  .poles-grid { grid-template-columns: 1fr; gap: 40px; }
  .pole-media { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .step:nth-child(3) { padding-left: 0; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-box { border-left: none; border-top: 1px solid var(--line); }
  .zone-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 34px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 110;
  }
  .burger span { width: 28px; height: 1.8px; background: var(--ink); transition: transform 0.35s ease; }
  .burger.open span:nth-child(1) { transform: translateY(4.4px) rotate(45deg); }
  .burger.open span:nth-child(2) { transform: translateY(-4.4px) rotate(-45deg); }

  /* course de scroll plus courte au doigt qu'à la molette */
  .cine { height: 320svh; }
  .cine-cap { padding: 104px var(--pad) 120px; gap: 16px; }
  .cine-title { font-size: clamp(40px, 12vw, 74px); }
  .cine-lead { font-size: clamp(24px, 6.4vw, 40px); max-width: 100%; }
  .cine-sub { font-size: 15.5px; }
  .cine-dots { right: 12px; gap: 9px; }
  .stats { padding-top: 70px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .poles, .realisations, .methode { padding-top: 90px; }
  .quote { padding: 90px var(--pad); }
  .savoir { padding: 90px var(--pad); margin-top: 80px; }
  .sav-grid { grid-template-columns: 1fr; }
  .marques, .zone { padding-top: 80px; }
  .marques-inner { gap: 24px; }
  .marques-logos { gap: 30px; }
  .contact { padding: 90px var(--pad); }
  .tarif-note { grid-template-columns: 1fr; }
  .band-line { margin-top: 70px; }
  .sticker { width: 74px; height: 74px; top: 88px; right: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 6px; }
  .to-top { bottom: 84px; right: 16px; }
  .lb-nav { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 85;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(20, 33, 44, 0.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .callbar a {
    text-align: center; padding: 13px 10px; border-radius: 999px;
    font-weight: 800; font-size: 14.5px;
  }
  .cb-call { background: var(--azure); color: #fff; }
  .cb-devis { border: 1px solid var(--line-2); color: var(--ink); }
  footer { padding-bottom: 72px; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0; padding-right: 0; }
  .step:last-child { border-bottom: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .g-item.g-wide { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; }
  .cine-actions { width: 100%; }
  .cine-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .coord li { flex-direction: column; gap: 4px; }
  .coord-lab { width: auto; }
  .gal-head { flex-direction: column; align-items: flex-start; }
}

/* ============ MOTION RÉDUIT ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }

  /* pas de scrub : la vidéo devient un décor fixe, les trois plans s'empilent */
  .cine { height: auto; }
  .cine-stage { position: relative; height: auto; min-height: 100svh; padding: 120px 0 90px; }
  .cine-media { position: absolute; inset: 0; }
  .cine-cap {
    position: relative; top: auto; bottom: auto; left: auto;
    transform: none; opacity: 1 !important; visibility: visible !important;
    margin: 0 auto; padding: 26px var(--pad);
  }
  .cine-dots, .cine-hint { display: none; }
}
