/* ===================================================
   SERRURIER RST — Blueprint d'atelier / Brutaliste-luxe
   =================================================== */

:root {
  --black: #0A0A0A;
  --anthracite: #111214;
  --gold: #C9A84C;
  --gold-bright: #D4AF37;
  --cream: #F5F5F0;
  --blue: #3A6EA5;
  --grey: #8A8A8A;
  --grid: rgba(201, 168, 76, 0.06);
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(201, 168, 76, 0.18);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (max-width: 900px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; }
::selection { background: var(--gold); color: var(--black); }

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

/* ---------- Blueprint grid background ---------- */
.blueprint-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-color: var(--black);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}
.blueprint-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(0,0,0,0.7) 100%);
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9998; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 20%{transform:translate(-5%,5%)}
  40%{transform:translate(3%,-6%)} 60%{transform:translate(-3%,3%)} 80%{transform:translate(6%,-3%)}
}

/* ---------- Torch reveal (cursor spotlight) ---------- */
.torch {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle 260px at var(--tx, -500px) var(--ty, -500px), rgba(201,168,76,0.09), transparent 70%);
  transition: opacity .4s;
}
@media (max-width: 900px){ .torch { display: none; } }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 34px; height: 34px; border: 1px solid var(--gold); transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s; }
.cursor-dot { width: 5px; height: 5px; background: var(--gold); transform: translate(-50%,-50%); }
.cursor.grow { width: 64px; height: 64px; background: rgba(201,168,76,0.12); }
@media (max-width: 900px){ .cursor, .cursor-dot { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000; background: var(--black);
  display: grid; place-items: center;
}
.loader-inner { text-align: center; width: min(80vw, 360px); }
.loader-logo-text {
  display: flex; justify-content: center; gap: .04em;
  font-family: var(--serif); font-weight: 800; letter-spacing: .06em;
  font-size: clamp(3.2rem, 12vw, 5.5rem); line-height: 1; margin-bottom: 34px;
}
.loader-logo-text span {
  display: inline-block;
  background: linear-gradient(180deg, var(--cream) 28%, var(--gold) 125%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(24px);
  animation: loaderLetter .7s var(--ease) forwards;
  text-shadow: 0 0 40px rgba(201,168,76,0.35);
}
.loader-logo-text span:nth-child(1) { animation-delay: .15s; }
.loader-logo-text span:nth-child(2) { animation-delay: .32s; }
.loader-logo-text span:nth-child(3) { animation-delay: .49s; }
@keyframes loaderLetter { to { opacity: 1; transform: none; } }

.loader-bar { width: 100%; height: 2px; background: rgba(201,168,76,0.15); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.loader-text { margin-top: 18px; font-size: 11px; letter-spacing: .4em; color: var(--grey); opacity: 0; animation: loaderTextIn .8s var(--ease) .5s forwards; }
@keyframes loaderTextIn { from { opacity: 0; letter-spacing: .2em; } to { opacity: 1; letter-spacing: .4em; } }
.loader.hidden { opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 60px);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px clamp(20px, 5vw, 60px);
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-mark { font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--gold); letter-spacing: .05em; }
.nav-logo-sub { font-size: 10px; letter-spacing: .35em; color: var(--grey); text-transform: uppercase; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 13px; letter-spacing: .05em; position: relative; color: var(--cream); opacity: .8; transition: opacity .3s, color .3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 11px 20px; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 40px; font-size: 13px; letter-spacing: .05em; overflow: hidden;
  transition: color .3s, transform .3s var(--ease);
}
.nav-cta span:last-child { position: relative; z-index: 2; }
.nav-cta svg { position: relative; z-index: 2; }
.nav-cta-pulse { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); z-index: 1; }
.nav-cta:hover { color: var(--black); }
.nav-cta:hover .nav-cta-pulse { transform: scaleX(1); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 26px; height: 2px; background: var(--gold); transition: .3s; }
.nav-burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 490; background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center;
  gap: 22px; padding: 40px; transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--serif); font-size: 30px; color: var(--cream); }
.mobile-menu-call { margin-top: 20px; font-family: var(--sans) !important; font-size: 16px !important; color: var(--black) !important; background: var(--gold); padding: 16px; text-align: center; border-radius: 40px; }

@media (max-width: 900px){
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 100px 20px 60px; overflow: hidden; }
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particle { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .5; }

.hero-content { position: relative; z-index: 3; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px;
  border: 1px solid var(--card-border); border-radius: 40px; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,0.05); backdrop-filter: blur(10px); margin-bottom: 34px;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.hero-badge-dot::after { content:''; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(3.5);opacity:0} }

.hero-title { display: flex; flex-direction: column; align-items: center; gap: 16px; line-height: .9; }
.hero-title-main {
  display: flex; justify-content: center;
  font-size: clamp(2.6rem, 13vw, 6.5rem); font-weight: 900; letter-spacing: -.01em;
  color: var(--cream); text-shadow: 0 0 80px rgba(201,168,76,0.15);
}
.hero-title-rst {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 26px);
  width: 100%; margin-top: 16px;
}
.rst-line { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.7)); }
.rst-line:last-child { background: linear-gradient(90deg, rgba(201,168,76,0.7), transparent); }
.rst-word {
  font-family: var(--serif); font-weight: 800; line-height: 1;
  font-size: clamp(2.2rem, 11vw, 5.4rem); letter-spacing: .12em; padding-left: .12em;
  background: linear-gradient(180deg, var(--cream) 30%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .letter { display: inline-block; background: linear-gradient(180deg, var(--cream) 30%, var(--gold) 130%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title .letter--key { background: none !important; -webkit-text-fill-color: currentColor; display: inline-flex; align-items: center; align-self: center; height: 1em; margin: 0 .04em; position: relative; top: 0.05em; }
.hero-title .letter--key svg { height: 0.82em; width: auto; display: block; filter: drop-shadow(0 0 16px rgba(201,168,76,0.45)); }

.hero-subtitle { margin-top: 26px; font-size: clamp(1rem, 2.4vw, 1.4rem); letter-spacing: .05em; color: var(--cream); font-weight: 400; }
.hero-tagline { margin-top: 10px; font-size: clamp(.9rem, 1.6vw, 1.05rem); color: var(--grey); font-style: italic; font-family: var(--serif); }

.hero-actions { margin-top: 44px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 46px; font-size: 15px; letter-spacing: .04em;
  font-weight: 500; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, color .3s;
}
.btn--big { padding: 20px 40px; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 0 0 0 rgba(201,168,76,0); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,168,76,0.4); }
.btn--gold::after { content:''; position:absolute; top:0; left:-100%; width:60%; height:100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); transition: left .6s; }
.btn--gold:hover::after { left: 140%; }
.btn--ghost { border: 1px solid var(--card-border); color: var(--cream); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.5); }

/* Hero lock illustration */
.hero-lock { display: none; position: absolute; z-index: 2; width: min(85vw, 640px); opacity: .12; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.hero-lock .lock-ring--outer { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.hero-lock .lock-ring--mid { transform-origin: 200px 200px; animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-annotation { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; color: var(--grey); font-family: monospace; }
.hero-annotation--1 { top: 22%; left: clamp(20px, 6vw, 90px); }
.hero-annotation--2 { bottom: 22%; right: clamp(20px, 6vw, 90px); }
.dim-line { width: 60px; height: 1px; background: var(--gold); opacity: .5; }
@media (max-width: 900px){ .hero-annotation { display: none; } }

.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; color: var(--grey); }
.hero-scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: scrolldn 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrolldn { 0%{transform:scaleY(0);opacity:0} 40%{opacity:1} 100%{transform:scaleY(1);opacity:0} }

/* ---------- Sections generic ---------- */
.section { position: relative; padding: clamp(90px, 12vh, 160px) clamp(20px, 5vw, 80px); }
.section-head { max-width: 900px; margin-bottom: 70px; position: relative; }
.section-title {
  font-size: clamp(3rem, 11vw, 9rem); font-weight: 800; letter-spacing: -.02em;
  color: var(--cream); line-height: .9; margin-bottom: 24px;
}
.section-desc { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--grey); max-width: 620px; font-weight: 300; }

/* ---------- Stats ---------- */
.stats { padding: 70px 0; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); overflow: hidden; }

/* ---------- Services ---------- */
.svc-cat { margin-bottom: 80px; }
.svc-cat-head { display: flex; align-items: center; gap: 20px; margin-bottom: 34px; }
.svc-cat-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid var(--card-border); border-radius: 14px; color: var(--gold); background: rgba(201,168,76,0.04); }
.svc-cat-icon svg { width: 26px; height: 26px; }
.svc-cat-title { font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--cream); white-space: nowrap; }
.svc-cat-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.svc-card {
  position: relative; padding: 30px 26px; border: 1px solid var(--card-border);
  border-radius: 6px; background: var(--card-bg); backdrop-filter: blur(6px);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s, background .4s;
}
.svc-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ref { font-family: monospace; font-size: 12px; color: var(--gold); letter-spacing: .2em; opacity: .7; }
.svc-card h4 { font-size: 1.25rem; margin: 12px 0 10px; color: var(--cream); }
.svc-card p { font-size: .92rem; color: var(--grey); line-height: 1.6; }
.svc-corner { position: absolute; bottom: 12px; right: 12px; width: 22px; height: 22px; border-right: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); transition: border-color .4s; }
.svc-card:hover .svc-corner { border-color: var(--gold); }
.svc-card--urgent::before { background: #E0533A; }
.svc-card--urgent .svc-ref { color: #E0533A; }
.svc-card--urgent:hover { background-color: rgba(224,83,58,0.05); }

/* ---------- Engagements ---------- */
.eng-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.eng-blueprint { position: sticky; top: 120px; }
.eng-blueprint svg { width: 100%; max-width: 320px; margin: 0 auto; }
.draw-scroll { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.eng-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.eng-item { display: flex; gap: 16px; padding: 22px; height: 100%; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card-bg); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.eng-item:hover { transform: translateY(-4px); }
.eng-num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 14px; }
.eng-item h4 { font-size: 1.05rem; color: var(--cream); margin-bottom: 6px; }
.eng-item p { font-size: .86rem; color: var(--grey); }
@media (max-width: 900px){ .eng-wrap { grid-template-columns: 1fr; } .eng-blueprint { position: relative; top: 0; } .eng-list { grid-template-columns: 1fr; } }

/* ---------- Réalisations ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter { padding: 10px 22px; border: 1px solid var(--card-border); border-radius: 40px; background: transparent; color: var(--grey); font-family: var(--sans); font-size: 13px; letter-spacing: .05em; cursor: pointer; transition: .35s var(--ease); }
.filter:hover { color: var(--cream); border-color: var(--gold); }
.filter.is-active { background: var(--gold); color: var(--black); border-color: var(--gold); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; grid-auto-flow: dense; }
.plate { position: relative; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; background: var(--anthracite); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, opacity .4s; }
.plate--tall { grid-row: span 2; }
.plate--wide { grid-column: span 2; }
.plate.hide { opacity: 0; transform: scale(0.9); pointer-events: none; position: absolute; visibility: hidden; }
.plate-visual { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.plate-visual svg { width: 42%; opacity: .55; transition: transform .6s var(--ease); filter: drop-shadow(0 0 20px rgba(201,168,76,0.3)); }
.plate-visual::before { content:''; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.12), transparent 60%); }
.plate-visual::after { content:''; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px); background-size: 20px 20px; }
.plate-visual--a { background: radial-gradient(circle at 50% 40%, #1a1712, #0d0b08); }
.plate-visual--b { background: radial-gradient(circle at 50% 40%, #12161a, #080a0d); }
.plate-visual--c { background: radial-gradient(circle at 50% 40%, #101418, #080a0c); }
.plate-visual--d { background: radial-gradient(circle at 50% 40%, #1a1210, #0d0806); }
.plate-visual--e { background: radial-gradient(circle at 50% 40%, #141410, #090907); }
.plate-visual--f { background: radial-gradient(circle at 50% 40%, #1a1712, #0d0b08); }
.plate-visual--g { background: radial-gradient(circle at 50% 40%, #12161a, #080a0d); }
.plate-visual--h { background: radial-gradient(circle at 50% 40%, #101418, #080a0c); }
.plate-visual--i { background: radial-gradient(circle at 50% 40%, #1a1210, #0d0806); }
.plate figcaption { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 20px; background: linear-gradient(transparent, rgba(10,10,10,0.9)); }
.plate-ref { font-family: monospace; font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.plate figcaption h4 { font-size: 1.1rem; color: var(--cream); margin: 6px 0; }
.plate-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.plate:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.plate:hover .plate-visual svg { transform: scale(1.12) rotate(3deg); }
@media (max-width: 900px){ .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .plate--wide { grid-column: span 2; } .plate--tall { grid-row: span 1; } }
@media (max-width: 560px){ .gallery { grid-template-columns: 1fr; } .plate--wide { grid-column: span 1; } }

/* ---------- Avis ---------- */
.reviews { overflow: hidden; padding: 14px 0; }
.reviews-track { display: flex; flex-wrap: nowrap; width: max-content; align-items: stretch; gap: 24px; will-change: transform; }
.review { flex: 0 0 clamp(280px, 42vw, 460px); padding: 40px; border: 1px solid var(--card-border); border-radius: 12px; background: rgba(255,255,255,0.03); backdrop-filter: blur(14px); transition: transform .4s var(--ease), border-color .4s; }
.review:hover { transform: translateY(-6px); border-color: var(--gold); }
.review-stars { color: var(--gold); font-size: 20px; letter-spacing: 4px; margin-bottom: 18px; }
.review p { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--cream); line-height: 1.5; margin-bottom: 22px; }
.review footer { display: flex; flex-direction: column; }
.review footer strong { color: var(--gold); font-family: var(--sans); font-weight: 500; }
.review footer span { font-size: 13px; color: var(--grey); }
.reviews-dots { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.reviews-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(201,168,76,0.25); cursor: pointer; transition: .3s; }
.reviews-dots button.active { background: var(--gold); width: 28px; border-radius: 4px; }

/* ---------- Zone ---------- */
.zone-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.zone-map svg { width: 100%; max-width: 520px; margin: 0 auto; }
.zone-marker .zone-pulse { transform-origin: 250px 250px; animation: zonepulse 2.4s var(--ease) infinite; }
@keyframes zonepulse { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(5);opacity:0} }
.zone-legend { display: flex; flex-direction: column; gap: 18px; }
.zone-leg-item { display: flex; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--card-border); border-radius: 8px; background: var(--card-bg); transition: transform .4s var(--ease), border-color .4s; }
.zone-leg-item:hover { transform: translateX(6px); border-color: var(--gold); }
.dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.dot--gold { background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.dot--gold2 { background: rgba(201,168,76,0.5); }
.dot--blue { background: var(--blue); }
.zone-leg-item strong { display: block; color: var(--cream); font-family: var(--serif); font-size: 1.15rem; }
.zone-leg-item span { font-size: 13px; color: var(--grey); }
@media (max-width: 900px){ .zone-wrap { grid-template-columns: 1fr; } }

/* ---------- Arnaques ---------- */
.arn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.arn-card { padding: 32px 28px; border: 1px solid var(--card-border); border-radius: 8px; background: var(--card-bg); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.arn-card:hover { transform: translateY(-6px); }
.arn-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 20px; margin-bottom: 18px; background: rgba(201,168,76,0.1); color: var(--gold); }
.arn-card h4 { font-size: 1.2rem; color: var(--cream); margin-bottom: 10px; }
.arn-card p { font-size: .92rem; color: var(--grey); }
.arn-card--bad { border-color: rgba(224,83,58,0.4); }
.arn-card--bad .arn-icon { background: rgba(224,83,58,0.14); color: #E0533A; }
.arn-card--bad:hover { background-color: rgba(224,83,58,0.05); }
.arn-card--price { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.arn-card--price strong { color: var(--gold); font-size: 1.4rem; font-family: var(--serif); }

/* ---------- Contact (Option A : numéro géant) ---------- */
.contact-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }

.contact-avail {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  padding: 9px 18px; border: 1px solid var(--card-border); border-radius: 40px;
  background: rgba(201,168,76,0.05); backdrop-filter: blur(8px); margin-bottom: 34px;
}
.contact-avail-dot { width: 9px; height: 9px; border-radius: 50%; background: #46d17f; position: relative; }
.contact-avail-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #46d17f; animation: pulse 1.8s infinite; }

.contact-phone {
  display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  color: var(--cream); line-height: 1; transition: transform .4s var(--ease);
}
.contact-phone-ico { width: clamp(34px, 4vw, 58px); height: auto; color: var(--gold); flex: none; transition: transform .5s var(--ease); }
.contact-phone-num {
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(2rem, 7vw, 5.4rem);
  background: linear-gradient(180deg, var(--cream) 35%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.contact-phone:hover { transform: translateY(-4px); }
.contact-phone:hover .contact-phone-ico { transform: rotate(-12deg) scale(1.08); }
.contact-phone-cta { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 1.8vw, 1.3rem); color: var(--grey); }

.contact-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(20px, 4vw, 60px);
  margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(201,168,76,0.14);
  width: 100%; max-width: 900px;
}
.contact-item {
  display: inline-flex; align-items: center; gap: 14px; text-align: left;
  color: var(--cream); padding: 10px 8px; transition: transform .35s var(--ease), color .35s;
}
.contact-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.contact-item span { display: flex; flex-direction: column; }
.contact-item strong { color: var(--gold); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
a.contact-item:hover { transform: translateY(-3px); }
a.contact-item:hover strong { color: var(--gold-bright); }

@media (max-width: 700px){
  .contact-phone { flex-direction: column; gap: 12px; }
  .contact-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-item { width: 100%; padding: 14px 4px; border-bottom: 1px solid rgba(201,168,76,0.1); }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--card-border); padding: 70px clamp(20px,5vw,80px) 40px; background: rgba(0,0,0,0.4); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(201,168,76,0.1); }
.footer-logo { font-family: var(--serif); font-size: 40px; font-weight: 800; color: var(--gold); letter-spacing: .05em; }
.footer-brand p { color: var(--grey); font-size: .9rem; margin-top: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a, .footer-contact span { color: var(--grey); font-size: .92rem; transition: color .3s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--card-border); border-radius: 50%; color: var(--grey); transition: .3s var(--ease); }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 30px; font-size: 12px; color: var(--grey); letter-spacing: .05em; }
.footer-legal a:hover { color: var(--gold); }
@media (max-width: 900px){ .footer-top { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call ---------- */
.sticky-call { position: fixed; bottom: 24px; right: 24px; z-index: 400; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--black); display: none; place-items: center; box-shadow: 0 10px 30px rgba(201,168,76,0.4); animation: floatcall 2.4s ease-in-out infinite; }
.sticky-call::after { content:''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2s infinite; }
@keyframes floatcall { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@media (max-width: 900px){ .sticky-call { display: grid; } }

/* ---------- Reveal animation base ---------- */
.reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================
   OPTION 1 — Crochets d'angle (corner brackets)
   Remplace les cartes "boîtes" par des repères de plan
   =================================================== */
@property --bkt { syntax: '<length>'; inherits: false; initial-value: 18px; }
@property --bkc { syntax: '<color>'; inherits: false; initial-value: rgba(201,168,76,0.40); }

.svc-card, .eng-item, .arn-card, .zone-leg-item {
  --bkt: 18px; --bkw: 1.5px; --bkc: rgba(201,168,76,0.40);
  border: none !important;
  border-radius: 2px;
  background-color: var(--card-bg);
  background-image:
    linear-gradient(var(--bkc) 0 0), linear-gradient(var(--bkc) 0 0),
    linear-gradient(var(--bkc) 0 0), linear-gradient(var(--bkc) 0 0),
    linear-gradient(var(--bkc) 0 0), linear-gradient(var(--bkc) 0 0),
    linear-gradient(var(--bkc) 0 0), linear-gradient(var(--bkc) 0 0);
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size:
    var(--bkt) var(--bkw), var(--bkw) var(--bkt),
    var(--bkt) var(--bkw), var(--bkw) var(--bkt),
    var(--bkt) var(--bkw), var(--bkw) var(--bkt),
    var(--bkt) var(--bkw), var(--bkw) var(--bkt);
  transition: transform .45s var(--ease), box-shadow .45s, background-color .4s, --bkt .45s var(--ease), --bkc .45s;
}

/* hover : les crochets s'étendent + virent or vif */
.svc-card:hover, .eng-item:hover, .arn-card:hover, .zone-leg-item:hover {
  --bkt: 34px; --bkc: var(--gold);
}

/* on neutralise les anciens effets de bordure/ligne */
.svc-card::before { display: none; }
.svc-corner { display: none; }

/* variantes couleur */
.svc-card--urgent { --bkc: rgba(224,83,58,0.45); }
.svc-card--urgent:hover { --bkc: #E0533A; }
.arn-card--bad { --bkc: rgba(224,83,58,0.45); }
.arn-card--bad:hover { --bkc: #E0533A; }
.arn-card--price { --bkc: var(--gold); background-color: rgba(201,168,76,0.05); }

/* léger halo doré au hover pour remplacer l'ombre "boîte" */
.svc-card:hover, .arn-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.06); background-color: rgba(201,168,76,0.05); }
.eng-item:hover, .zone-leg-item:hover { background-color: rgba(201,168,76,0.05); }

/* Fallback navigateurs sans @property : crochets visibles fixes */
@supports not (background: paint(worklet)) {
  .svc-card:hover, .eng-item:hover, .arn-card:hover, .zone-leg-item:hover { transform: translateY(-6px); }
}

/* ===================================================
   TEST — Onglet dossier (services) + Hexagones (stats)
   =================================================== */

/* ---- Fiches services : forme "dossier / chemise" ---- */
.svc-card {
  --folder: polygon(0 0, 44% 0, 50% 30px, 100% 30px, 100% 100%, 0 100%);
  --fill: #0e0e0b;
  border: none !important;
  border-radius: 0 !important;
  clip-path: var(--folder);
  background-image: none !important;
  background-color: rgba(201,168,76,0.38);
  backdrop-filter: none;
  overflow: visible;
  padding: 48px 28px 30px;
  transition: transform .45s var(--ease), background-color .4s, filter .45s;
}
.svc-card::before {
  content: ''; display: block; position: absolute;
  top: 1.6px; right: 1.6px; bottom: 1.6px; left: 1.6px;
  width: auto; height: auto; transform: none;
  clip-path: var(--folder);
  background: var(--fill);
  z-index: 0;
}
/* fine ligne de cote sous l'onglet */
.svc-card::after {
  content: ''; position: absolute; top: 30px; left: 1.6px; right: 1.6px; height: 1px;
  background: rgba(201,168,76,0.25); z-index: 1; display: block;
  width: auto;
}
.svc-card > * { position: relative; z-index: 2; }
.svc-ref {
  position: absolute; top: 5px; left: 26px; z-index: 3;
  font-size: 13px; font-weight: 600;
}
.svc-card h4 { margin-top: 4px; }

.svc-card:hover {
  transform: translateY(-6px);
  background-color: var(--gold);
  filter: drop-shadow(0 22px 34px rgba(0,0,0,0.55));
}
.svc-card:hover::before { background: #16150f; }
.svc-card:hover::after { background: rgba(201,168,76,0.5); }

/* variante urgences : contour rouge */
.svc-card--urgent { background-color: rgba(224,83,58,0.45); }
.svc-card--urgent::after { background: rgba(224,83,58,0.3); }
.svc-card--urgent:hover { background-color: #E0533A; }
.svc-card--urgent:hover::after { background: rgba(224,83,58,0.55); }

/* ===================================================
   OPTION A — Services en index éditorial (hover reveal)
   (restyle des .svc-card existants en lignes)
   =================================================== */
.svc-grid {
  display: block !important;
  border-left: 1px dotted rgba(201,168,76,0.14);
  padding-left: clamp(12px, 3vw, 46px);
}
.svc-cat-head { margin-bottom: 10px; }

.svc-card {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  grid-template-areas: "dot name" "dot desc";
  align-items: baseline;
  column-gap: 20px;
  clip-path: none !important;
  background: none !important;
  background-color: transparent !important;
  backdrop-filter: none;
  border: none !important;
  border-top: 1px solid rgba(201,168,76,0.14) !important;
  border-radius: 0 !important;
  padding: clamp(18px, 2.4vw, 30px) 12px !important;
  overflow: visible;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  transition: background-color .45s var(--ease), padding-left .45s var(--ease);
}
.svc-grid .svc-card:last-child { border-bottom: 1px solid rgba(201,168,76,0.14) !important; }

.svc-card::before, .svc-card::after { display: none !important; content: none !important; }

.svc-ref {
  grid-area: dot; align-self: center; justify-self: center;
  display: flex !important; align-items: center; justify-content: center;
  position: static !important; top: auto; left: auto;
  font-size: 0; /* masque le numéro, on garde le point */
}
.svc-ref::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); opacity: .55;
  transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .4s;
}
.svc-card:hover .svc-ref::before { opacity: 1; transform: scale(1.35); box-shadow: 0 0 10px var(--gold); }
.svc-card--urgent .svc-ref::before { background: #E0533A; }
.svc-card--urgent:hover .svc-ref::before { box-shadow: 0 0 10px #E0533A; }
.svc-card h4 {
  grid-area: name; align-self: center; margin: 0 !important;
  font-size: clamp(1.25rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.1;
  color: var(--cream); transition: color .4s var(--ease), transform .45s var(--ease);
}
.svc-card p {
  grid-area: desc;
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(-6px);
  font-size: .95rem; color: var(--grey);
  transition: max-height .5s var(--ease), opacity .4s, transform .45s var(--ease), margin .4s;
}
.svc-corner { display: none !important; }

/* hover row */
.svc-card:hover {
  background-image: linear-gradient(90deg, rgba(201,168,76,0.07), transparent 70%) !important;
  padding-left: 26px !important;
}
.svc-card:hover .svc-ref { opacity: 1; }
.svc-card:hover h4 { color: var(--gold); transform: translateX(14px); }
.svc-card:hover p { max-height: 90px; opacity: 1; transform: none; margin-top: 12px; }
.svc-card:hover .svc-corner::after { opacity: 1; transform: translate(5px, -5px); }

/* urgences : accent rouge */
.svc-card--urgent { background-color: transparent !important; }
.svc-card--urgent:hover { background-image: linear-gradient(90deg, rgba(224,83,58,0.09), transparent 70%) !important; }
.svc-card--urgent .svc-ref { color: #E0533A; }
.svc-card--urgent:hover h4 { color: #E0533A; }
.svc-card--urgent .svc-corner::after { color: #E0533A; }

@media (max-width: 900px){
  .svc-card { grid-template-columns: 20px 1fr; grid-template-areas: "dot name" "dot desc"; }
  .svc-card p { max-height: 200px; opacity: 1; transform: none; margin-top: 10px; }
}

/* ===================================================
   OPTION C — Anti-arnaques en schéma technique éclaté
   =================================================== */
.arn-diagram {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 320px) 1fr;
  align-items: center;
  gap: 44px clamp(30px, 6vw, 100px);
  position: relative;
}
.arn-col { display: flex; flex-direction: column; gap: clamp(30px, 5vh, 56px); }
.arn-col--left { align-items: flex-end; text-align: right; }
.arn-col--right { align-items: flex-start; text-align: left; }

.arn-center svg { width: 100%; height: auto; }

.arn-callout { position: relative; max-width: 300px; }
.arn-tag { display: block; font-family: monospace; font-size: 11px; letter-spacing: .2em; color: var(--gold); margin-bottom: 8px; }
.arn-callout h4 { font-size: 1.2rem; color: var(--cream); margin-bottom: 6px; transition: color .4s var(--ease), transform .4s var(--ease); }
.arn-callout p { font-size: .88rem; color: var(--grey); line-height: 1.55; }
.arn-callout:hover h4 { color: var(--gold); }
.arn-callout--price h4 strong, .arn-callout p strong { color: var(--gold); font-family: var(--serif); font-size: 1.5rem; }

/* leader lines (repères de renvoi) */
.arn-col .arn-callout::before {
  content: ''; position: absolute; top: 7px; height: 1px;
  width: clamp(20px, 4vw, 64px);
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(1); transform-origin: right; transition: width .4s var(--ease);
}
.arn-col .arn-callout::after {
  content: ''; position: absolute; top: 4px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold);
}
.arn-col--left .arn-callout::before { right: calc(-1 * clamp(20px, 4vw, 64px)); background: linear-gradient(90deg, transparent, var(--gold)); }
.arn-col--left .arn-callout::after { right: calc(-1 * clamp(20px, 4vw, 64px) - 3px); }
.arn-col--right .arn-callout::before { left: calc(-1 * clamp(20px, 4vw, 64px)); }
.arn-col--right .arn-callout::after { left: calc(-1 * clamp(20px, 4vw, 64px) - 3px); }
.arn-callout:hover::before { width: clamp(28px, 5vw, 80px); }

/* variantes */
.arn-callout--bad .arn-tag { color: #E0533A; }
.arn-callout--bad h4 { color: #E0533A; }
.arn-callout--bad::before { background: linear-gradient(90deg, transparent, #E0533A) !important; }
.arn-callout--bad::after { background: #E0533A !important; box-shadow: 0 0 10px #E0533A !important; }
.arn-callout--price .arn-tag { color: var(--gold-bright); }

@media (max-width: 900px){
  .arn-diagram { grid-template-columns: 1fr; gap: 30px; }
  .arn-center { order: -1; max-width: 240px; margin: 0 auto 10px; }
  .arn-col { align-items: flex-start !important; text-align: left !important; gap: 24px; }
  .arn-callout { max-width: none; border-left: 1px solid rgba(201,168,76,0.25); padding-left: 18px; }
  .arn-callout--bad { border-left-color: #E0533A; }
  .arn-callout::before, .arn-callout::after { display: none !important; }
}

/* ===================================================
   Effets inspirés du site de réf (GSAP / ScrollTrigger)
   =================================================== */

/* ---- Révélation lettre par lettre des titres ---- */
.split-word { display: inline-block; white-space: nowrap; }
.split-letter {
  display: inline-block;
  opacity: .14;
  transform: translateY(.4em);
  color: rgba(201,168,76,0.28);
  transition: opacity .6s var(--ease), transform .75s var(--ease), color .6s var(--ease);
  transition-delay: calc(var(--li) * 26ms);
  will-change: opacity, transform;
}
[data-split].is-revealed .split-letter {
  opacity: 1; transform: none; color: inherit;
}

/* ---- Galerie Réalisations : carrousel auto (droite → gauche) ---- */
.realisations { position: relative; }
.gallery-vp { overflow: hidden; width: 100%; padding: 22px 0; }
.gallery--h {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content;
  grid-template-columns: none !important;
  grid-auto-rows: auto !important;
  align-items: stretch;
  height: min(52vh, 460px);
  gap: 22px;
  will-change: transform;
}
.gallery--h .plate {
  flex: 0 0 clamp(240px, 24vw, 340px);
  grid-row: auto !important;
  grid-column: auto !important;
  height: 100%;
}

/* ===================================================
   Hero média cinématique (canvas + vidéo optionnelle)
   =================================================== */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s var(--ease); pointer-events: none;
}
.hero-video--on { opacity: 0.68; }
.hero-video--off { display: none; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(10,10,10,0.65) 100%);
}

/* ===================================================
   Engagements — pin slide-up (effet "benefits")
   =================================================== */
/* Engagements : plan non collant (slide-up géré au scroll) */
.engagements .eng-blueprint { position: relative; top: 0; }

/* ===================================================
   Hero split : texte à gauche, vidéo à droite (desktop)
   =================================================== */
@media (min-width: 901px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 120px clamp(30px, 6vw, 90px) 80px;
  }
  .hero-content {
    max-width: 640px;
    margin: 0;
    text-align: left;
    align-items: flex-start;
    z-index: 4;
  }
  .hero-title { align-items: flex-start; }
  .hero-title-main { justify-content: flex-start; font-size: clamp(3rem, 7vw, 6.4rem); }
  .rst-word { font-size: clamp(2rem, 6vw, 5.4rem); }
  .hero-subtitle, .hero-tagline { text-align: left; }
  .hero-actions { justify-content: flex-start; }

  /* vidéo à droite (~70%), fondue vers la gauche par un masque (aucun bord net) */
  .hero-media {
    left: auto; right: 0; width: 70%;
    /* fondu du bas (masque vertical sur le conteneur) */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
  }
  /* pas de vignette ici : elle assombrissait le bord gauche (l'arête) */
  .hero-media::after { display: none; }
  .hero-particles { left: auto; right: 0; width: 70%; }
  .hero-video {
    /* screen : les zones sombres de la vidéo deviennent invisibles -> aucune arête possible */
    mix-blend-mode: screen;
    /* recadrage : on zoome depuis le haut pour sortir la bande du bas hors cadre */
    object-position: center top;
    transform: scale(1.18);
    transform-origin: center top;
    /* fondu à gauche conservé pour adoucir les reflets près du bord */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 8%, rgba(0,0,0,0.3) 32%, #000 64%);
            mask-image: linear-gradient(90deg, transparent 0%, transparent 8%, rgba(0,0,0,0.3) 32%, #000 64%);
  }
  .hero-video--on { opacity: 1; }

  /* le grand cadenas décoratif ferait doublon avec la vidéo */
  .hero-lock { display: none; }
}

/* Mobile : vidéo en fond, voile plus sombre pour la lisibilité */
@media (max-width: 900px) {
  .hero-media::after {
    background: linear-gradient(0deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.7) 100%);
  }
}

/* ===================================================
   Chiffres clés — rangée de chiffres (texte)
   =================================================== */
.keyline {
  position: relative;
  display: flex; justify-content: center;
  margin: 0 auto;
  padding: 10px clamp(20px, 5vw, 80px);
}
.keyline-stats {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start;
  gap: clamp(16px, 3vw, 48px);
  width: 100%; max-width: 1200px;
}
.kstat {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.kstat-num {
  font-family: var(--sans); font-weight: 700; line-height: 1;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem); letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--gold); text-shadow: 0 0 26px rgba(201,168,76,0.25);
}
.kstat-dot { display: none; }
.kstat-label {
  margin-top: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); max-width: 150px;
}
/* Sur petit écran, on autorise 2 par ligne pour rester lisible */
@media (max-width: 700px){
  .keyline-stats { flex-wrap: wrap; }
  .kstat { flex: 0 0 44%; }
}

/* ===================================================
   Services — Accordéon par catégorie (option A)
   =================================================== */
.services { counter-reset: cat; }
.services .svc-cat {
  counter-increment: cat;
  margin-bottom: 0;
  border-top: 1px solid rgba(201,168,76,0.16);
}
.services .svc-cat:last-child { border-bottom: 1px solid rgba(201,168,76,0.16); }

.svc-cat-head {
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px);
  margin: 0 !important;
  padding: clamp(22px, 3vw, 40px) 4px;
  cursor: pointer; user-select: none;
  transition: padding-left .4s var(--ease);
}
.svc-cat-head::after { flex: none; }
.svc-cat-head:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(201,168,76,0.08), transparent 55%); }
.svc-cat.is-open .svc-cat-head { background: linear-gradient(90deg, rgba(201,168,76,0.16), transparent 62%); box-shadow: inset 4px 0 0 var(--gold); padding-left: 22px; }
.svc-cat.is-open .svc-cat-head::before { opacity: 1; }
.svc-cat-head::before {
  content: counter(cat, decimal-leading-zero);
  font-family: monospace; font-size: 14px; letter-spacing: .2em;
  color: var(--gold); opacity: .7; flex: none;
}
.svc-cat-head::after {
  content: ''; flex: none; width: 12px; height: 12px; margin-left: 4px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); opacity: .8;
  transition: transform .45s var(--ease);
}
.svc-cat.is-open .svc-cat-head::after { transform: rotate(-135deg); }

.svc-cat-title { font-size: clamp(1.7rem, 4vw, 3rem); transition: color .35s var(--ease); flex: 1 1 auto; min-width: 0; }
/* Desktop : titre sur une seule ligne (il y a la place, pas de retour à la ligne) */
@media (min-width: 901px){ .svc-cat-title { white-space: nowrap; } }
.svc-cat-head:hover .svc-cat-title,
.svc-cat.is-open .svc-cat-title { color: var(--gold); }
.svc-cat-icon { transition: border-color .35s, color .35s; }
.svc-cat.is-open .svc-cat-icon { border-color: var(--gold); }
.svc-cat-line { display: none; }
.svc-cat-count { flex: none; font-family: monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* Panneau repliable */
.svc-grid {
  max-height: 0; overflow: hidden; opacity: 0;
  padding-top: 0; padding-bottom: 0;
  transition: max-height .6s var(--ease), opacity .45s var(--ease), padding .5s var(--ease);
}
.svc-cat.is-open .svc-grid { opacity: 1; padding-bottom: 34px; }

@media (max-width: 640px){
  .svc-cat-count { display: none; }
  .svc-cat-head { gap: 14px; }
}

/* Planches galerie avec vraie photo */
.plate-visual--img { padding: 0; background: #0a0a0a; }
.plate-visual--img::before, .plate-visual--img::after { display: none; }
.plate-visual--img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.plate:hover .plate-visual--img img { transform: scale(1.06); }

/* Carrousels draggables (doigt + souris) */
.gallery-vp, .reviews { touch-action: pan-y; cursor: grab; }
.gallery-vp.is-grabbing, .reviews.is-grabbing { cursor: grabbing; user-select: none; }
.gallery--h .plate, .gallery--h .plate img { -webkit-user-drag: none; user-select: none; }
.reviews-track .review { -webkit-user-drag: none; }
