/* ============================================================
   PRAL'ELEC — Thème premium (v3)
   Se charge après style.css et pages.css
   ============================================================ */

:root {
  --noir: #070708;
  --noir-2: #0e0e10;
  --noir-3: #151518;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --jaune: #ffd400;
  --ambre: #ffb300;
  --grad: linear-gradient(120deg, #fff1a6 0%, #ffd400 35%, #ffb300 100%);
  --display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 84px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 212, 0, .07), transparent 60%),
    var(--noir);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
/* grain très léger sur tout le site */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typo ---------- */
.hero__title, .page-hero h1, .section__title, .svc-card h3, .chantier h3, .cta-band h2,
.stat__value, .score__value, .fact strong, .cert h3, .tick-card h3, .gblock h2, .btn,
.skills li strong, .subhead, .footer__title, .nav__link, .svc-card__num, .cta-band__kicker, .fact__k {
  font-family: var(--display);
}
.section__title {
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 1.2rem;
}
.accent, .hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section__lead { font-size: 1.12rem; line-height: 1.65; color: #b4b4bd; }

/* Sur-titre en pastille */
.section__eyebrow, .chantier__tag {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--jaune);
  padding: .45rem .95rem .45rem .8rem; border-radius: 999px;
  background: rgba(255, 212, 0, .06); border: 1px solid rgba(255, 212, 0, .22);
  margin-bottom: 1.3rem;
}
.section__eyebrow::before, .chantier__tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jaune);
  box-shadow: 0 0 12px var(--jaune);
}
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section__head { margin-bottom: clamp(2.4rem, 5vw, 4rem); max-width: 860px; }

/* ---------- Boutons ---------- */
.btn { font-weight: 700; letter-spacing: -.01em; position: relative; overflow: hidden; isolation: isolate; }
.btn--primary {
  background: var(--grad); color: #111;
  box-shadow: 0 10px 30px -6px rgba(255, 196, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); backdrop-filter: blur(12px); }
.btn--lg { padding: 1.05rem 1.9rem; }

/* ---------- Header flottant (verre) ---------- */
.header { padding-block: .9rem; }
.header--scrolled { background: transparent; box-shadow: none; border: 0; backdrop-filter: none; padding-block: .5rem; }
.header__inner {
  position: relative; padding: .55rem .6rem .55rem 1.2rem;
  width: min(1280px, 95%);
}
.header__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: rgba(14, 14, 16, .55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  opacity: .0; transition: opacity .4s;
}
.header--scrolled .header__inner::before, .header__inner:hover::before { opacity: 1; }
.nav { gap: .2rem; }
.nav__link {
  font-weight: 600; font-size: .95rem; padding: .55rem .85rem; border-radius: 999px; color: #cfcfd6;
  transition: background .25s, color .25s;
}
.nav__link::after { display: none; }
.nav__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav__link--active { background: rgba(255, 212, 0, .12); color: var(--jaune); }
.nav__cta { margin-left: .5rem; padding: .7rem 1.2rem; }
.logo__img--savoie { height: 38px; }

@media (max-width: 1120px) {
  .header__inner::before { opacity: 1; }
  .nav { gap: .6rem; }
  .nav__link { font-size: 1.6rem; font-weight: 800; padding: .4rem 1rem; }
  .nav__link--active { background: none; }
}

/* ---------- Hero accueil ---------- */
.hero { padding-block: calc(var(--header-h) + 4rem) 2.5rem; min-height: 100svh; justify-content: flex-end; }
.hero--photo .hero__photo img { object-position: 72% 20%; }
.hero--photo .hero__photo::after {
  background:
    radial-gradient(900px 500px at 15% 60%, rgba(7, 7, 8, .55), transparent 70%),
    linear-gradient(90deg, rgba(7, 7, 8, .97) 0%, rgba(7, 7, 8, .82) 38%, rgba(7, 7, 8, .25) 72%, rgba(7, 7, 8, .55) 100%),
    linear-gradient(0deg, var(--noir) 0%, transparent 35%);
}
.hero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; }
.hero__badge { background: rgba(255, 212, 0, .08); backdrop-filter: blur(10px); }
.hero__title {
  font-weight: 800; font-size: clamp(3.1rem, 9vw, 7.6rem); line-height: .92; letter-spacing: -.05em;
  margin-bottom: 1.6rem;
}
.hero__title .hl { position: relative; display: inline-block; padding-right: .06em; }
.hero__title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px;
  background: var(--grad); transform-origin: left; animation: underline 1.1s .7s var(--ease) both;
  box-shadow: 0 0 30px rgba(255, 212, 0, .6);
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__title-sm { font-size: .52em; letter-spacing: -.03em; color: #e9e9ee; margin-top: .25em; }
.hero__subtitle { font-size: 1.18rem; color: #c3c3cb; max-width: 590px; }
.hero__actions { margin-bottom: 0; }

.hero__aside { display: grid; gap: .9rem; justify-items: end; padding-bottom: .4rem; }
.float-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: .9rem; width: min(100%, 300px);
  padding: 1rem 1.15rem; border-radius: 20px;
  background: rgba(16, 16, 18, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: -2.3s; margin-right: 2.2rem; }
.float-card:nth-child(3) { animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.float-card strong { display: block; font-family: var(--display); font-size: 1.02rem; }
.float-card small { display: block; color: var(--gris); font-size: .84rem; }
.float-card--rating { flex-direction: column; align-items: flex-start; gap: .1rem; padding: 1.2rem 1.35rem; }
.float-card--rating strong { font-size: 3rem; line-height: 1; letter-spacing: -.04em; }
.float-card--rating strong small { display: inline; font-size: 1.1rem; color: var(--gris); }
.float-card__top { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: #ddd; margin-bottom: .35rem; }
.float-card__sub { color: var(--gris); font-size: .86rem; margin-top: .2rem; }
.float-card__icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #111; }
.float-card__icon svg { width: 22px; height: 22px; }
.g-logo { width: 18px; height: 18px; flex: none; }
.stars { color: var(--jaune); letter-spacing: .14em; text-shadow: 0 0 18px rgba(255, 212, 0, .45); }
.live-dot { width: 12px; height: 12px; flex: none; margin-inline: .35rem .2rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

.glass-bar {
  margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 22px; overflow: hidden;
  background: rgba(16, 16, 18, .5); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.glass-bar .stat { padding: 1.3rem 1.5rem; border-left: 1px solid var(--line); }
.glass-bar .stat:first-child { border-left: 0; }
.stat__value { font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .88rem; }
.scroll-hint { display: none; }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--noir); border-color: var(--line); padding-block: 1.4rem; }
.marquee__track { gap: 2.6rem; animation-duration: 38s; }
.marquee__track span {
  font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em;
  text-transform: none; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35);
}
.marquee__track span:nth-of-type(3n+1) { color: #f2f2f4; -webkit-text-stroke: 0; }
.marquee__track i { font-size: 1.4rem; filter: drop-shadow(0 0 10px rgba(255, 212, 0, .7)); }

/* ---------- Sections à fond alterné ---------- */
.why, .avis { background: linear-gradient(180deg, var(--noir-2), var(--noir)); border-color: var(--line); }
.why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.why > .container { position: relative; }

/* ---------- Savoir-faire ---------- */
.about__main, .split__media img, .compare { border-radius: 26px; }
.about__badge { background: var(--grad); border-radius: 18px; font-family: var(--display); }
.skills li::before { content: ""; width: 10px; height: 10px; top: .45em; border-radius: 3px; background: var(--grad); box-shadow: 0 0 12px rgba(255, 212, 0, .6); }
.skills li { padding-left: 1.4rem; }

/* ---------- Cartes : halo qui suit la souris ---------- */
.svc-card, .tick-card, .fact, .cert, .card, .review { --mx: 50%; --my: 0%; }
.tick-card, .fact, .cert, .card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid var(--line); border-radius: 20px;
}
.tick-card::after, .fact::after, .cert::after, .card::after, .svc-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 212, 0, .13), transparent 45%);
}
.tick-card:hover::after, .fact:hover::after, .cert:hover::after, .card:hover::after, .svc-card:hover::after { opacity: 1; }
.tick-card { border-left: 1px solid var(--line); padding: 1.7rem 1.5rem; }
.tick-card h3 { font-weight: 700; font-size: 1.15rem; }
.tick-card h3::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; translate: 0 4px;
  background: var(--grad) center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7'/%3E%3C/svg%3E");
}
.tick-card:hover, .fact:hover, .cert:hover { border-color: rgba(255, 212, 0, .35); transform: translateY(-6px); }
.fact, .cert { transition: transform .4s var(--ease), border-color .3s; }
.fact strong { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.card::before { background: var(--grad); }

/* Cartes services photo */
.svc-grid { gap: 1.1rem; }
.svc-card { min-height: 540px; border-radius: 26px; border-color: var(--line); }
.svc-card::before { background: linear-gradient(0deg, rgba(7, 7, 8, .98) 6%, rgba(7, 7, 8, .55) 48%, rgba(7, 7, 8, .05) 100%); }
.svc-card h3 { font-weight: 800; font-size: 1.85rem; letter-spacing: -.03em; }
.svc-card__num { font-size: .9rem; padding: .3rem .7rem; border-radius: 99px; background: rgba(7, 7, 8, .55); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.svc-card__body { padding: 2rem 1.8rem; }

/* ---------- Avant / après ---------- */
.compare { box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 212, 0, .25); border: 0; }
.compare__handle { background: var(--grad); width: 58px; height: 58px; box-shadow: 0 0 0 8px rgba(255, 212, 0, .18), 0 10px 30px rgba(0, 0, 0, .6); }
.checklist li::before { background: var(--grad); color: #111; }

/* ---------- Galerie accueil (bento) ---------- */
.gallery__item { border-radius: 20px; border-color: var(--line); background: var(--noir-2); }
.gallery__item img { filter: saturate(.95) contrast(1.03); }
.gallery__item figcaption { font-family: var(--display); font-weight: 700; font-size: 1rem; right: 1rem; transform: translateY(6px); opacity: .92; transition: transform .4s var(--ease), opacity .4s; }
.gallery__item:hover figcaption { transform: none; opacity: 1; }
.gallery--bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.gallery--bento .gallery__item img { height: 100%; aspect-ratio: auto; }
.gallery--bento .gallery__item--lg { grid-column: span 2; grid-row: span 2; }
.gallery__more {
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem;
  border-radius: 20px; background: var(--grad); color: #111; transition: transform .4s var(--ease), box-shadow .4s;
}
.gallery__more strong { font-family: var(--display); font-size: 4rem; line-height: .9; letter-spacing: -.05em; }
.gallery__more span { font-weight: 700; line-height: 1.3; }
.gallery__more em { font-style: normal; font-weight: 800; display: flex; align-items: center; gap: .4rem; }
.gallery__more em svg { width: 18px; transition: transform .3s var(--ease); }
.gallery__more:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 30px 60px -20px rgba(255, 196, 0, .6); }
.gallery__more:hover em svg { transform: translateX(5px); }

/* Pastilles Avant / Pendant / Après */
.stage {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .65rem; border-radius: 99px; backdrop-filter: blur(8px);
  background: rgba(7, 7, 8, .7); border: 1px solid var(--line-2); color: #ddd;
}
.stage--after { background: var(--grad); color: #111; border: 0; }
.stage--during { color: var(--jaune); border-color: rgba(255, 212, 0, .4); }

/* ---------- Page galerie ---------- */
.filters {
  position: sticky; top: calc(var(--header-h) + .2rem); z-index: 50;
  display: flex; flex-wrap: wrap; gap: .5rem; padding: .55rem; margin-bottom: 3rem;
  border-radius: 999px; width: fit-content; max-width: 100%;
  background: rgba(14, 14, 16, .7); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: #cfcfd6; transition: background .25s, color .25s;
}
.chip span { font-size: .75rem; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.chip:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.chip--active { background: var(--grad); color: #111; }
.chip--active span { background: rgba(0, 0, 0, .15); }
.gblock { padding-block: 3rem; border-top: 1px solid var(--line); animation: fade-up .6s var(--ease) both; }
.gblock:first-child { border-top: 0; padding-top: 0; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.gblock__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.8rem; }
.gblock h2 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: .5rem; }
.gblock p { color: var(--gris); max-width: 620px; }
.gblock__meta { display: grid; gap: .45rem; justify-items: end; flex: none; }
.gblock__count { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry .gallery__item { break-inside: avoid; margin-bottom: 1rem; display: block; }
.masonry .gallery__item img { aspect-ratio: auto; height: auto; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: .8rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--jaune) transparent; }
.strip .gallery__item { scroll-snap-align: start; }
.strip .gallery__item img { aspect-ratio: 3 / 4; }

/* ---------- Visionneuse ---------- */
.lightbox { background: rgba(4, 4, 5, .94); backdrop-filter: blur(16px); }
.lightbox figure { max-width: min(1200px, 86vw); display: grid; justify-items: center; }
.lightbox img { max-height: 80vh; border-radius: 18px; border: 0; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.lightbox figcaption { display: flex; gap: 1rem; align-items: center; justify-content: center; font-family: var(--display); font-size: 1.05rem; }
.lightbox figcaption small { color: var(--jaune); font-weight: 700; padding: .2rem .6rem; border-radius: 99px; border: 1px solid rgba(255, 212, 0, .35); font-size: .82rem; }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; line-height: 1; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  transition: background .25s, color .25s, scale .25s;
}
.lightbox__nav:hover { background: var(--jaune); color: #111; scale: 1.06; }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

/* ---------- Avis Google ---------- */
.reviews { overflow: hidden; background: linear-gradient(180deg, var(--noir), var(--noir-2) 50%, var(--noir)); }
.reviews__glow {
  position: absolute; left: 50%; top: 10%; width: 900px; height: 500px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 212, 0, .14), transparent); filter: blur(20px);
}
.reviews .container { position: relative; }
.reviews__head { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.score-card {
  position: relative; width: 340px; padding: 1.8rem; border-radius: 26px; text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 212, 0, .3);
  box-shadow: 0 30px 80px -30px rgba(255, 196, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.score-card__top { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: #ddd; font-size: .9rem; }
.score-card__top .g-logo { width: 22px; height: 22px; }
.score-card__value { font-family: var(--display); font-weight: 800; font-size: 5.2rem; line-height: 1; letter-spacing: -.06em; margin: .7rem 0 .2rem; }
.score-card__value small { font-size: 1.6rem; color: var(--gris); letter-spacing: 0; }
.stars--lg { font-size: 1.6rem; }
.score-card p { color: var(--gris); margin: .5rem 0 1.3rem; }
.score-card p strong { color: #fff; }
.score-card .btn { width: 100%; justify-content: center; }

.reviews__wall { display: grid; gap: 1.1rem; margin-bottom: 3.5rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews__row { overflow: hidden; }
.reviews__track { display: flex; gap: 1.1rem; width: max-content; animation: scroll-x var(--dur, 60s) linear infinite; padding-block: .4rem; }
.reviews__row--rev .reviews__track { animation-direction: reverse; }
.reviews__wall:hover .reviews__track { animation-play-state: paused; }
.reviews__track--static { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
.review {
  position: relative; overflow: hidden; width: 380px; flex: none; padding: 1.5rem 1.5rem 1.6rem; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease);
}
.review:hover { border-color: rgba(255, 212, 0, .4); transform: translateY(-4px); }
.review::before { content: "“"; position: absolute; right: 1.1rem; bottom: -1.6rem; font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: rgba(255, 212, 0, .08); }
.review__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.review__head strong { display: block; font-size: .98rem; }
.review__head small { color: var(--gris); font-size: .82rem; }
.review__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__avatar span { width: 100%; height: 100%; display: grid; place-items: center; font-weight: 800; color: #111; background: var(--c, var(--jaune)); }
.review__g { width: 20px; height: 20px; margin-left: auto; }
.review .stars { font-size: 1.05rem; margin-bottom: .6rem; }
.review p { color: #d9d9df; font-size: .97rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }

.certs--row { grid-template-columns: repeat(3, 1fr); }
.certs--row .cert { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 1.3rem 1.4rem; }
.certs--row .cert__icon { margin: 0; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); }
.certs--row .cert__icon svg { width: 24px; height: 24px; }

/* ---------- Zones ---------- */
.links-grid a { border-radius: 16px; background: rgba(255, 255, 255, .025); border-color: var(--line); padding: 1.15rem 1.3rem; }
.links-grid a:hover { background: rgba(255, 212, 0, .06); }

/* ---------- FAQ ---------- */
.accordion__item { border-radius: 18px; background: rgba(255, 255, 255, .025); border-color: var(--line); }
.accordion__item summary { font-family: var(--display); font-weight: 700; font-size: 1.08rem; padding: 1.25rem 3.4rem 1.25rem 1.4rem; }
.accordion__item[open] { background: rgba(255, 212, 0, .04); }

/* ---------- Héros des pages ---------- */
.page-hero { min-height: 82svh; padding-bottom: 4rem; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -.045em; line-height: .98; }
.page-hero__media::after {
  background:
    linear-gradient(0deg, var(--noir) 0%, rgba(7, 7, 8, .7) 40%, rgba(7, 7, 8, .3) 100%),
    linear-gradient(90deg, rgba(7, 7, 8, .85), transparent 75%);
}
.breadcrumb { display: inline-flex; flex-wrap: wrap; gap: .1rem; padding: .4rem .9rem; border-radius: 99px; background: rgba(7, 7, 8, .45); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.hero-chips li { padding: .45rem .9rem; border-radius: 99px; font-size: .86rem; font-weight: 600; color: #ddd; background: rgba(16, 16, 18, .55); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.hero-chips .stars { font-size: .85rem; letter-spacing: .05em; }

/* ---------- Réalisations ---------- */
.chantier { border-color: var(--line); }
.chantier h3 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }

/* ---------- Bandeau devis ---------- */
.cta-band { padding-block: clamp(5rem, 10vw, 8rem); background: radial-gradient(900px 400px at 50% 120%, rgba(0, 0, 0, .35), transparent), var(--grad); }
.cta-band::before { background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .035) 0 2px, transparent 2px 26px); }
.cta-band::after {
  content: "⚡"; position: absolute; right: 6%; top: 50%; translate: 0 -50%; font-size: clamp(8rem, 22vw, 20rem); line-height: 1;
  opacity: .12; filter: grayscale(1) brightness(0); pointer-events: none;
}
.cta-band h2 { color: #111; text-shadow: none; font-weight: 800; font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -.05em; line-height: .95; }
.cta-band__kicker { color: #111; opacity: .7; }
.cta-band .btn--dark { background: #0b0b0c; color: var(--jaune); }

/* ---------- Footer ---------- */
.footer { background: #050506; border-color: var(--line); padding-top: 4.5rem; }
.footer__title { color: var(--jaune); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__aside { grid-auto-flow: column; justify-content: start; overflow-x: auto; justify-items: stretch; }
  .float-card { animation: none; width: 260px; }
  .float-card:nth-child(2) { margin-right: 0; }
  .glass-bar { grid-template-columns: repeat(2, 1fr); }
  .glass-bar .stat:nth-child(3) { border-left: 0; }
  .glass-bar .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reviews__head { grid-template-columns: 1fr; }
  .gallery--bento { grid-template-columns: repeat(2, 1fr); }
  .gblock__head { flex-direction: column; align-items: flex-start; }
  .gblock__meta { justify-items: start; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .header__inner { padding: .45rem .5rem .45rem 1rem; }
  .hero { padding-top: calc(var(--header-h) + 3rem); }
  .hero__title { font-size: clamp(3rem, 14vw, 4.6rem); }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; top: auto; bottom: 1.2rem; translate: none; }
  .lightbox__nav--prev { left: 25%; }
  .lightbox__nav--next { right: 25%; }
  .lightbox figure { max-width: 94vw; }
  .certs--row { grid-template-columns: 1fr; }
  .cta-band::after { display: none; }
}
@media (max-width: 640px) {
  .glass-bar .stat { padding: 1rem 1.1rem; }
  .hero__aside .float-card--hours { display: none; }
  .float-card { width: 230px; padding: .9rem 1rem; }
  .float-card--rating strong { font-size: 2.4rem; }
  .gallery--bento { grid-auto-rows: 170px; }
  .gallery__more strong { font-size: 2.8rem; }
  .review { width: 300px; }
  .score-card { width: 100%; }
  .score-card__value { font-size: 4.2rem; }
  .filters { border-radius: 22px; position: static; }
  .masonry { columns: 2 140px; column-gap: .7rem; }
  .masonry .gallery__item { margin-bottom: .7rem; }
  .gallery__item figcaption { font-size: .85rem; left: .8rem; bottom: .7rem; }
  .stage { font-size: .62rem; top: .55rem; left: .55rem; }
  .svc-card { min-height: 420px; }
}

/* Nav : une seule ligne, burger sous 1240px */
.nav__link, .nav__cta { white-space: nowrap; }
@media (min-width: 1121px) { .nav__link { font-size: .9rem; padding: .5rem .72rem; } }
@media (max-width: 1240px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 940;
    background: rgba(7, 7, 8, .97); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; gap: .6rem;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav--open { opacity: 1; pointer-events: auto; }
  .nav .nav__link { font-size: 1.6rem; font-weight: 800; padding: .4rem 1rem; }
  .nav__link--active { background: none; }
}
.links-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.links-grid a span { font-size: .8rem; opacity: .9; }
/* Galerie : grille régulière (plus de colonnes vides) */
.masonry { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.masonry .gallery__item { margin: 0; }
.masonry .gallery__item img { aspect-ratio: 3 / 4; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .masonry { grid-template-columns: 1fr 1fr; gap: .7rem; } }
@media (max-width: 640px) {
  .filters { position: sticky; top: calc(var(--header-h) + .2rem); flex-wrap: nowrap; overflow-x: auto; border-radius: 999px; width: 100%; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ============ v3.1 — retours client ============ */
/* Hero : plus de cartes flottantes */
.hero__subtitle { margin-bottom: 2.2rem; }
.stat--rating { transition: background .3s; }
.stat--rating:hover { background: rgba(255, 212, 0, .05); }
.stat--rating .stat__value { display: flex; align-items: baseline; gap: .55rem; }
.stat--rating .stars { font-style: normal; font-size: .95rem; letter-spacing: .08em; -webkit-text-fill-color: var(--jaune); }
.stat--rating .stat__label { display: flex; align-items: center; gap: .4rem; }
.stat--rating .g-logo { width: 15px; height: 15px; }

/* Bandeau services : discret et lisible */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--noir); padding-block: 1.05rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; animation: scroll-x 45s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; white-space: nowrap;
  font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8d8d96; }
.ticker__track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 10px var(--jaune); }

/* Services : bento de vraies photos */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 330px; gap: 1rem; }
.bento-card { grid-column: span 2; position: relative; overflow: hidden; isolation: isolate; border-radius: 24px;
  border: 1px solid var(--line); display: flex; align-items: flex-end; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.bento-card--0 { grid-column: span 4; grid-row: span 1; }
.bento-card--1 { grid-column: span 2; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.bento-card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 7, 8, .1) 0%, rgba(7, 7, 8, .35) 45%, rgba(7, 7, 8, .94) 100%); }
.bento-card__body { padding: 1.6rem 1.6rem 1.5rem; max-width: 520px; }
.bento-card__num { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .78rem; color: var(--jaune); letter-spacing: .12em; margin-bottom: .5rem; }
.bento-card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: .45rem; }
.bento-card--0 h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.bento-card p { color: #cfcfd6; font-size: .95rem; line-height: 1.5; }
.bento-card__go { position: absolute; top: 1.1rem; right: 1.1rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 7, 8, .45); border: 1px solid var(--line-2); backdrop-filter: blur(10px); color: #fff;
  transition: background .35s, color .35s, transform .45s var(--ease); }
.bento-card__go svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .45s var(--ease); }
.bento-card:hover { transform: translateY(-6px); border-color: rgba(255, 212, 0, .45); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.bento-card:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.bento-card:hover .bento-card__go { background: var(--grad); color: #111; }
.bento-card:hover .bento-card__go svg { transform: rotate(0); }

/* Chantiers : une carte par ville */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.city-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; aspect-ratio: 3 / 4; border: 1px solid var(--line);
  display: flex; align-items: flex-end; transition: transform .5s var(--ease), border-color .4s; }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85) brightness(.9); transition: transform 1s var(--ease), filter .6s; }
.city-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7, 7, 8, .92) 100%); }
.city-card__count { position: absolute; top: 1rem; left: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; padding: .35rem .7rem; border-radius: 99px;
  background: rgba(7, 7, 8, .55); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.city-card__body { padding: 1.4rem; }
.city-card__body span { display: block; color: var(--jaune); font-size: .8rem; font-weight: 600; margin-bottom: .25rem; }
.city-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.05; }
.city-card:hover { transform: translateY(-6px); border-color: rgba(255, 212, 0, .45); }
.city-card:hover img { transform: scale(1.07); filter: saturate(1) brightness(1); }
.center-cta { display: flex; justify-content: center; margin-top: 2.4rem; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .bento-card, .bento-card--1 { grid-column: span 1; }
  .bento-card--0 { grid-column: span 2; }
  .city-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .bento-card, .bento-card--0, .bento-card--1 { grid-column: span 1; }
  .city-grid { gap: .7rem; }
  .city-card h3 { font-size: 1.25rem; }
  .city-card__body { padding: 1rem; }
  .city-card__body span { font-size: .72rem; }
}
@media (max-width: 640px) { .city-card__body span { display: none; } }

/* ---------- v3.5 · Zone d'intervention (photo + communes) ---------- */
.zone { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: stretch; margin-top: 2.6rem; }
.zcard { position: relative; margin: 0; min-height: 560px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .08); background: #0d0d0f; box-shadow: var(--shadow); }
.zcard__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 26% 22%; }
.zcard::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 25%, rgba(10, 10, 11, .35) 55%, rgba(10, 10, 11, .92) 100%),
    radial-gradient(90% 60% at 0% 100%, rgba(255, 212, 0, .22), transparent 70%); }
.zcard__panel { position: absolute; left: clamp(.9rem, 2vw, 1.4rem); right: clamp(.9rem, 2vw, 1.4rem); bottom: clamp(.9rem, 2vw, 1.4rem);
  padding: clamp(1.2rem, 2.2vw, 1.7rem); border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(16, 16, 18, .55); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.zcard__pill { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 212, 0, .32); background: rgba(255, 212, 0, .1); color: var(--jaune);
  font: 700 .72rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.zcard__pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 4px rgba(255, 212, 0, .18); }
.zcard__title .accent { white-space: nowrap; }
.zcard__title { margin: .85rem 0 1.15rem; font: 800 clamp(1.8rem, 3.2vw, 2.6rem)/1.02 var(--display); letter-spacing: -.025em; color: #fff; }
.zcard__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; padding: 0; list-style: none; }
.zcard__facts li { padding: .1rem clamp(.8rem, 1.6vw, 1.4rem); border-left: 1px solid rgba(255, 255, 255, .14); }
.zcard__facts li:first-child { padding-left: 0; border-left: 0; }
.zcard__facts b { display: block; font: 700 1.05rem/1.2 var(--display); color: #fff; white-space: nowrap; }
.zcard__facts span { display: block; margin-top: .2rem; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.zcard__cta { margin-top: 1.3rem; }

.zlist { display: flex; flex-direction: column; gap: .9rem; }
.zlist__label { display: flex; align-items: center; gap: .9rem; margin: 0; font: 700 .72rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.zlist__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .14), transparent); }
.zlist__grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(58px, 1fr); gap: .6rem; }
.zrow { position: relative; display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem .85rem 1.15rem; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .018);
  color: #fff; text-decoration: none; transition: border-color .25s, background .25s, transform .25s; }
.zrow:hover { border-color: rgba(255, 212, 0, .45); background: rgba(255, 212, 0, .05); transform: translateY(-2px); }
.zrow__name { flex: 1; min-width: 0; font: 600 .95rem/1.2 var(--display); letter-spacing: -.005em; }
.zrow__name small { display: block; margin-top: .28rem; font-family: inherit; font-size: .68rem; font-weight: 500; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.zrow__time { flex: none; padding: .36rem .62rem; border-radius: 999px; font: 600 .72rem/1 var(--display); letter-spacing: .02em; white-space: nowrap;
  color: var(--jaune); background: rgba(255, 212, 0, .08); border: 1px solid rgba(255, 212, 0, .22); }
.zrow__go { display: none; }
.zrow:hover .zrow__time { border-color: rgba(255, 212, 0, .5); }
.zrow--home, .zrow--wide { grid-column: 1 / -1; }
.zrow--home { border-color: rgba(255, 212, 0, .28); background: radial-gradient(120% 160% at 0% 0%, rgba(255, 212, 0, .12), transparent 60%), rgba(255, 255, 255, .02); }
.zrow--home .zrow__time, .zrow--wide .zrow__time { color: #0a0a0b; background: var(--grad); border-color: transparent; font-weight: 700; }
.zrow--wide { border-color: rgba(255, 212, 0, .2); background: radial-gradient(120% 160% at 100% 100%, rgba(255, 212, 0, .1), transparent 60%), rgba(255, 255, 255, .02); }
@media (max-width: 960px) { .zone { grid-template-columns: 1fr; } .zcard { min-height: 520px; } }
@media (max-width: 560px) {
  .zone { margin-top: 2rem; }
  .zcard { min-height: 600px; }
  .zcard__img { object-position: 22% 0%; }
  .zcard__facts li { padding: .1rem .7rem; }
  .zcard__facts b { font-size: .95rem; }
  .zcard__facts span { font-size: .74rem; }
  .zcard__cta { width: 100%; justify-content: center; }
  .zlist__grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: .5rem; }
  .zrow { padding: .8rem .95rem; }
}

/* ---------- v3.5 · Bouton d'appel flottant : caché tant que le hero est à l'écran ---------- */
@media (max-width: 860px) {
  .call-float--auto { transform: translateY(160%); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
  .call-float--auto.call-float--on { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---------- v3.2 · Réponse du pro sur les avis ---------- */
.review__reply { margin-top: .9rem; padding: .7rem .85rem; border-left: 2px solid var(--jaune); border-radius: 0 10px 10px 0; background: rgba(255, 212, 0, .05); font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.62); }
.review__reply b { display: block; margin-bottom: .2rem; font: 700 .72rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); }
.review__reply span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- v3.3 · Avis Google façon Labo (bandeaux défilants) ---------- */
.rv { overflow: hidden; background: #111113; border-top: 1px solid #1e1e22; }
.rv__head { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.rv__intro { max-width: 560px; }
.rv__intro .section__title { margin-bottom: 14px; }
.rv__lead { margin: 0; color: #a9a9a6; }
.rv__score { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 28px 32px; border-radius: 14px; background: #17171a; border: 1px solid #2a2a2e;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s; }
.rv__score:hover { transform: translateY(-6px); border-color: var(--jaune); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.rv__note { text-align: center; }
.rv__note p { margin: 0; }
.rv__g { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px !important; font-size: 14px; font-weight: 600; color: #e4e3de; }
.rv__g .g-logo { width: 20px; height: 20px; }
.rv__big { font: 800 60px/1 var(--display); letter-spacing: -.02em; color: #f4f3ef; }
.rv__stars { margin: 8px 0 4px !important; color: var(--jaune); letter-spacing: 4px; font-size: 20px; }
.rv__count { font-size: 13px; color: #a9a9a6; }
.rv__btns { display: flex; flex-direction: column; gap: 10px; }
.rv__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border-radius: 6px; border: 1px solid #3a3a40;
  color: #f4f3ef; font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .25s, background .25s; }
.rv__btn:hover { border-color: var(--jaune); }
.rv__btn--main { background: var(--jaune); border-color: var(--jaune); color: #0b0b0c; font-weight: 700; }
.rv__btn--main:hover { background: #ffe14d; }
.rv__rows { display: flex; flex-direction: column; gap: 20px; margin-bottom: 3.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv__row { display: flex; gap: 20px; width: max-content; animation: rvMarq var(--dur, 70s) linear infinite; }
.rv__row--b { animation-name: rvMarqR; }
.rv__row:hover { animation-play-state: paused; }
@keyframes rvMarq { to { transform: translateX(-50%); } }
@keyframes rvMarqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.rv-card { margin: 0; width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; box-sizing: border-box; white-space: normal;
  background: #17171a; border: 1px solid #26262a; border-radius: 12px; transition: border-color .3s; }
.rv-card:hover { border-color: rgba(255, 212, 0, .45); }
.rv-card__head { display: flex; align-items: center; gap: 12px; }
.rv-card__av { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--jaune); color: #0b0b0c; font-weight: 800; font-size: 16px; }
.rv-card figcaption { display: flex; flex-direction: column; line-height: 1.3; }
.rv-card figcaption strong { font-size: 15px; color: #f4f3ef; }
.rv-card figcaption span { font-size: 13px; color: #a9a9a6; }
.rv-card__src { margin-left: auto; padding: 3px 7px; border: 1px solid #2e2e33; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #a9a9a6; }
.rv-card__stars { color: var(--jaune); letter-spacing: 3px; font-size: 15px; }
.rv-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #e4e3de; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card__reply { margin: auto 0 0; padding: 10px 12px; border-left: 2px solid var(--jaune); border-radius: 0 8px 8px 0; background: rgba(255, 212, 0, .05);
  font-size: 13px; line-height: 1.5; color: #a9a9a6; }
.rv-card__reply span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card__reply b { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); }
@media (max-width: 640px) {
  .rv__head { margin-bottom: 40px; }
  .rv__score { width: 100%; justify-content: center; padding: 24px; }
  .rv__btns { width: 100%; }
  .rv-card { width: min(360px, 84vw); }
}
@media (prefers-reduced-motion: reduce) {
  .rv__rows { -webkit-mask-image: none; mask-image: none; }
  .rv__row { animation: none; width: auto; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; }
  .rv__row .rv-card[aria-hidden] { display: none; }
  .rv-card { scroll-snap-align: start; }
}

/* ---------- v3.3 · Mouvement ---------- */
body { overflow-x: clip; }
.section, main > section, .page-hero, .cta-band { overflow-x: clip; }

/* Halo jaune sous la souris sur chaque encart */
.glow__fx { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; mix-blend-mode: screen;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 0, .16), transparent 45%); }
.glow__fx::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 212, 0, .95), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow:hover > .glow__fx { opacity: 1; }
.glow:hover { border-color: rgba(255, 212, 0, .5); }
.rv-card.glow:hover, .gallery__item.glow:hover, .stat.glow:hover, .accordion__item.glow:hover { translate: 0 -4px; }
.glow--tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.zcard.glow--tilt:hover { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* Lueur discrète qui suit le curseur */
.spotlight { position: fixed; left: 0; top: 0; z-index: 1; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(closest-side, rgba(255, 212, 0, .07), transparent); mix-blend-mode: screen; will-change: transform; }
.spotlight.is-on { opacity: 1; }

/* Le site se construit au scroll */
:root { --mvx: 72px; --mvy: 36px; }
.mv-on .mv { opacity: 0; filter: blur(6px); transition: opacity .85s cubic-bezier(.16, 1, .3, 1), translate .85s cubic-bezier(.16, 1, .3, 1), filter .85s cubic-bezier(.16, 1, .3, 1); }
.mv-on .mv--l { translate: calc(var(--mvx) * -1) 0; }
.mv-on .mv--r { translate: var(--mvx) 0; }
.mv-on .mv--u { translate: 0 var(--mvy); }
.mv-on .mv.is-in { opacity: 1; translate: 0 0; filter: none; }
@media (max-width: 640px) { :root { --mvx: 28px; --mvy: 22px; } }

/* Parallaxe douce des photos */
.plx { translate: 0 var(--py, 0); }
.plx--s { scale: 1.08; }

/* Texte jaune avec reflet animé */
.accent, .hl { background-image: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%), var(--grad);
  background-size: 250% 100%, 100% 100%; background-position: 160% 0, 0 0; background-repeat: no-repeat; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 35% { background-position: 160% 0, 0 0; } 75%, 100% { background-position: -60% 0, 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .accent, .hl { animation: none; background-image: var(--grad); background-size: 100% 100%; background-position: 0 0; }
  .spotlight, .glow__fx { display: none; }
  .plx { translate: none; scale: none; }
}

/* ---------- v3.5 · Audit visuel ---------- */
/* Rythme vertical : deux sections de même fond qui se suivent ne doublent plus leur marge */
.section:not(.why):not(.rv):not(.cta-band) + .section:not(.why):not(.rv):not(.cta-band) { padding-top: clamp(1.5rem, 4vw, 3.5rem); }

/* Sur-titres identiques partout (le style des paragraphes du bloc texte ne déborde plus dessus) */
.split__text .section__eyebrow { font-size: .78rem; color: var(--jaune); margin-bottom: 1.3rem; }
@media (max-width: 480px) { .section__eyebrow, .chantier__tag { letter-spacing: .1em; font-size: .72rem; max-width: 100%; } }

/* Fil d'Ariane sur une ligne, la page courante s'abrège si besoin */
@media (max-width: 640px) {
  .breadcrumb { flex-wrap: nowrap; max-width: 100%; white-space: nowrap; overflow: hidden; }
  .breadcrumb > :last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* Grilles équilibrées : la dernière ligne s'étire au lieu de laisser une carte orpheline */
.tick-grid { display: flex; flex-wrap: wrap; }
.tick-grid > * { flex: 1 1 300px; }
.links-grid { display: flex; flex-wrap: wrap; }
.links-grid > a { flex: 1 1 290px; }
@media (min-width: 900px) { .links-grid { justify-content: center; } .links-grid > a { flex: 0 1 calc((100% - 1.6rem) / 3); } }
@media (max-width: 560px) {
  .links-grid > a { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .links-grid a span { white-space: normal; }
}

/* Galerie : 6 colonnes sur grand écran (6 et 12 photos tombent juste) */
@media (min-width: 1100px) { .masonry { grid-template-columns: repeat(6, 1fr); } }

/* Réalisations : le texte accompagne les photos au scroll, photos à hauteur raisonnable */
.chantier__visual { display: grid; gap: 1rem; }
.chantier .compare--wide { aspect-ratio: 1 / 1; }
.chantier__media .gallery__item:only-child { grid-column: 1 / -1; }
.chantier__media .gallery__item:only-child img { aspect-ratio: 16 / 9; }
@media (min-width: 1025px) {
  .chantier__text { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .contact__form-wrap { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- v3.6 · Cadrage des photos de David (tête jamais coupée) ---------- */
/* Hero : sa tête est tout en haut de la photo -> la photo démarre sous la barre de menu (fondu en haut),
   cadrée par le haut, et le zoom d'entrée / la parallaxe grandissent vers le bas au lieu de rogner le haut */
.hero--photo .hero__photo { top: calc(var(--header-h) + 1rem);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px); mask-image: linear-gradient(180deg, transparent 0, #000 90px); }
.hero--photo .hero__photo img { object-position: 50% 0; transform-origin: 50% 0; }
@media (max-width: 860px) { .hero--photo .hero__photo img { object-position: 40% 0; } }
/* Photo plus claire : le voile reste sombre derrière le texte, s'éclaircit nettement sur David */
.hero--photo .hero__photo img { filter: brightness(1.08) contrast(1.04); }
.hero--photo .hero__photo::after {
  background:
    linear-gradient(90deg, rgba(7, 7, 8, .94) 0%, rgba(7, 7, 8, .78) 20%, rgba(7, 7, 8, .5) 40%, rgba(7, 7, 8, .08) 58%, rgba(7, 7, 8, .06) 80%, rgba(7, 7, 8, .35) 100%),
    linear-gradient(0deg, var(--noir) 0%, rgba(7, 7, 8, .35) 22%, transparent 40%);
}
.hero__title { filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .55)); }
.hero__main > p { text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
@media (max-width: 1024px) {
  .hero--photo .hero__photo::after {
    background: linear-gradient(90deg, rgba(7, 7, 8, .82) 0%, rgba(7, 7, 8, .5) 55%, rgba(7, 7, 8, .3) 100%),
      linear-gradient(0deg, var(--noir) 0%, rgba(7, 7, 8, .4) 30%, transparent 55%);
  }
}
@media (min-width: 1025px) {
  .hero--photo .hero__photo { left: 16%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 90px), linear-gradient(90deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 90px), linear-gradient(90deg, transparent 0, #000 22%);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
}

/* Cartes services : cadrage par photo */
.bento-card img[src$="depannage-david-tableau.webp"] { object-position: 50% 2%; transform-origin: 50% 0; }
.bento-card img[src$="david-portrait-tableau.webp"] { object-position: 12% 25%; transform-origin: 30% 30%; }
/* Zone : la photo occupe le haut de la carte et s'efface derrière le panneau, le visage reste au-dessus */
.zcard__img { bottom: auto; height: 72%; object-position: 22% 15%; transform-origin: 30% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
@media (min-width: 561px) and (max-width: 960px) { .zcard { min-height: 620px; } }
@media (max-width: 560px) { .zcard { min-height: 640px; } .zcard__img { object-position: 22% 15%; } }

/* v3.7 · Photos de David plus lumineuses dans les cartes */
.bento-card img[src$="depannage-david-tableau.webp"], .bento-card img[src$="david-portrait-tableau.webp"] { filter: brightness(1.06) contrast(1.03); }
.zcard__img { filter: brightness(1.08) contrast(1.04); }

/* v3.8 · Une carte par chantier (Réalisations, pages villes, autres chantiers) */
.city-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rcard { aspect-ratio: 4 / 3; }
.rcard[hidden] { display: none; }
.rcard .stage.rcard__ba { left: auto; right: 1rem; top: 1rem; }
.rcard h3 { font-size: 1.4rem; }
.rgrid { margin-top: .4rem; }
.gblock__head h2 a { color: inherit; }
@media (max-width: 900px) { .city-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .city-grid--3 { grid-template-columns: 1fr; }
  .rcard .city-card__body span { display: block; }
  .rcard h3 { font-size: 1.3rem; }
}
.rsec { padding-top: 1.5rem; }
.rfilters { border-radius: 28px; }
