:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #14181f;
  --muted: #5d6774;
  --line: #e6e8ec;
  --navy: #152033;
  --navy-2: #1e2d45;
  --gold: #c4a35a;
  --white: #fff;
  --shadow: 0 10px 30px rgba(21, 32, 51, 0.08);
  --radius: 10px;
  --header-h: 100px;
  --topbar-h: 38px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
/* Pas de scroll-behavior:smooth sur html : ça saccade le molette / trackpad
   (surtout scroll rapide). Le bouton « remonter » garde behavior:"smooth" en JS. */
a, button { -webkit-tap-highlight-color: rgba(196, 163, 90, 0.15); }

/* Dissuade « Enregistrer l’image sous » (clic droit / glisser) */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

body.nav-open,
body.lightbox-open,
body.is-loading { overflow: hidden; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101826;
  overflow: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.55s ease;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}
.page-loader-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(196, 163, 90, 0.18), transparent 42%),
    radial-gradient(ellipse at 80% 90%, rgba(21, 32, 51, 0.9), transparent 50%),
    linear-gradient(180deg, #0d141f 0%, #152033 48%, #0f1724 100%);
}
.page-loader-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 163, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 163, 90, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 72%);
  animation: loaderGrid 18s linear infinite;
}
.page-loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1rem;
}
.page-loader-logo {
  height: 92px;
  width: auto;
  max-width: 220px;
  margin-bottom: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.2);
  animation: loaderPulse 2.4s ease-in-out infinite;
}
.page-loader-tag {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.page-loader-bar {
  width: 132px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  border-radius: 2px;
}
.page-loader-bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderBar 1.15s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 8px rgba(196, 163, 90, 0.06), 0 18px 40px rgba(0, 0, 0, 0.25); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(196, 163, 90, 0.1), 0 18px 40px rgba(0, 0, 0, 0.25); }
}
@keyframes loaderBar {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}
@keyframes loaderGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.error-page { background: #101826; }
.error-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #101826;
  padding: 2.5rem 1rem;
}
.error-screen-bg {
  position: absolute;
  inset: 0;
}
.error-screen-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
  transform: scale(1.04);
}
.error-screen-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.55) 0%, rgba(12, 18, 28, 0.82) 48%, rgba(12, 18, 28, 0.94) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(196, 163, 90, 0.16), transparent 46%);
}
.error-screen-inner {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  text-align: center;
}
.error-screen .logo {
  display: inline-flex;
  margin-bottom: 1.6rem;
}
.error-screen .logo img {
  height: 70px;
  width: auto;
  background: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.error-code {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.error-screen h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}
.error-screen h1 span { color: var(--gold); }
.error-screen h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.7rem;
}
.error-screen p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 42ch;
  margin: 0 auto 1.6rem;
}
.error-actions {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.error-links {
  display: flex;
  justify-content: center;
  gap: 0.85rem 1.2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}
.error-links a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }
/* display:block sur img annule l’attribut HTML hidden — forcer le masquage */
img[hidden] {
  display: none !important;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

body.topbar-hidden {
  --topbar-h: 0px;
}

body.topbar-hidden .topbar {
  display: none;
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Fond opaque : backdrop-filter sur sticky = gros coût GPU au scroll */
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
}

.logo img {
  height: 90px;
  max-height: calc(var(--header-h) - 8px);
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a:not(.btn):not(.nav-call):not(.nav-portal),
.nav-dropdown > button {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0;
  position: relative;
}

.nav a:not(.btn):not(.nav-call):not(.nav-portal)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav a:not(.btn):not(.nav-call):not(.nav-portal):hover::after,
.nav a.active:not(.btn):not(.nav-call):not(.nav-portal)::after { width: 100%; }

.nav a.active:not(.btn):not(.nav-call):not(.nav-portal),
.nav-dropdown.active > button { color: var(--gold); }

.nav-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.2rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid color-mix(in srgb, var(--navy) 28%, transparent);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.nav-portal svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.nav-portal:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.16);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.35rem;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  box-shadow: 0 8px 18px rgba(21, 32, 51, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.nav-call svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.nav-call {
  animation: callPulse 2.8s ease-in-out infinite;
}
.nav-call:hover {
  background: var(--navy-2);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(21, 32, 51, 0.28);
  animation: none;
}

@keyframes callPulse {
  0%, 100% { box-shadow: 0 8px 18px rgba(21, 32, 51, 0.16); }
  50% { box-shadow: 0 8px 24px rgba(21, 32, 51, 0.3), 0 0 0 4px rgba(21, 32, 51, 0.08); }
}
.hero-actions .nav-call {
  margin-left: 0;
}

.nav-dropdown { position: relative; }
.nav-dropdown > button::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: none;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: var(--bg-soft); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, filter 0.22s ease;
}

.btn-gold { background: var(--gold); color: var(--navy); }
.hero-actions .btn-gold,
.page-hero .btn-gold {
  animation: goldGlow 2.6s ease-in-out infinite;
}
.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(196, 163, 90, 0.38);
  animation: none;
}

@keyframes goldGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(196, 163, 90, 0.2); }
  50% { box-shadow: 0 6px 20px rgba(196, 163, 90, 0.45), 0 0 0 3px rgba(196, 163, 90, 0.12); }
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(21, 32, 51, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.page-hero > img,
.page-hero .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: heroMove 26s ease-in-out infinite alternate;
}

.page-hero-home .hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero-home .hero-slide {
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.9s cubic-bezier(0.33, 0, 0.2, 1);
  animation: none;
  z-index: 0;
  transform-origin: center center;
}

.page-hero-home .hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  will-change: opacity, transform;
}

.page-hero-home .hero-slide.is-leaving {
  opacity: 0;
  z-index: 1;
  /* Garde le zoom en cours pendant le fondu (pas de reset transform) */
  transition: opacity 1.9s cubic-bezier(0.33, 0, 0.2, 1);
  will-change: opacity, transform;
}

.page-hero-home .hero-slide:not(.is-active):not(.is-leaving) {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-home .hero-slide,
  .page-hero-home .hero-slide.is-active,
  .page-hero-home .hero-slide.is-leaving {
    transition: opacity 0.4s ease;
    transform: none !important;
    animation: none;
  }
}

.page-hero-service img,
.page-hero-contact img {
  animation: heroShift 28s ease-in-out infinite alternate;
}

/* Parachèvement : le sujet (baignoire, sols) est en bas de la photo */
body[data-page="parachevement"] .page-hero > img {
  object-position: center 88%;
}

.page-hero-service::after,
.page-hero-contact::after {
  background:
    linear-gradient(180deg, rgba(8,12,20,0.22) 0%, rgba(8,12,20,0.45) 42%, rgba(8,12,20,0.82) 100%),
    linear-gradient(105deg, rgba(8,12,20,0.4) 0%, rgba(8,12,20,0.12) 55%, transparent 100%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15,22,34,0.28), rgba(15,22,34,0.78));
}

.page-hero-home::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,12,20,0.28) 0%, rgba(8,12,20,0.36) 48%, rgba(8,12,20,0.74) 100%),
    linear-gradient(105deg, rgba(8,12,20,0.42) 0%, rgba(8,12,20,0.2) 42%, rgba(8,12,20,0.14) 100%);
}

.hero-content,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-content { width: 100%; padding: 4.2rem 0 3rem; }

.kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.kicker-lg {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  max-width: 14ch;
  margin-bottom: 0.8rem;
}

.hero p {
  max-width: 48ch;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

.hero-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.page-hero .hero-actions { margin-top: 1.15rem; }

.page-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.page-hero .container { padding: 3.2rem 0 1.8rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
.page-hero p { margin-top: 0.45rem; color: rgba(255,255,255,0.82); max-width: 58ch; }
.page-hero-contact { min-height: clamp(280px, 42vw, 420px); }

.page-hero-service {
  min-height: clamp(280px, 42vw, 420px);
  align-items: flex-end;
}

.page-hero-service .container {
  padding: 3.6rem 0 2.4rem;
}

.page-hero-copy {
  max-width: 40rem;
}

.page-hero-service .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.38rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 12, 20, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.page-hero-service .breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero-service .breadcrumb a:hover {
  color: var(--gold);
}

.page-hero-service .breadcrumb-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.9;
}

.page-hero-service .breadcrumb [aria-current="page"] {
  color: #fff;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero-eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.page-hero-service h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.page-hero-lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero-home { min-height: 320px; }
.page-hero-home .kicker-lg {
  color: #ecd9a4;
  text-shadow: 0 1px 14px rgba(0,0,0,0.72);
}
.page-hero-home h1 {
  text-shadow: 0 2px 22px rgba(0,0,0,0.72);
}
.page-hero-home p {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 16px rgba(0,0,0,0.7);
}
.page-hero-home .hero-actions .btn {
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.page-hero-home .btn-ghost {
  background: rgba(12,18,28,0.62);
  border-color: rgba(255,255,255,0.86);
  backdrop-filter: blur(6px);
}
.page-hero-home .btn-ghost:hover {
  background: rgba(12,18,28,0.72);
  border-color: #fff;
}

.breadcrumb {
  display: flex;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.55rem;
}
.breadcrumb a:hover { color: var(--gold); }

section { padding: 4.2rem 0; }
main > section:nth-of-type(even) { background: var(--bg-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.section-head p { color: var(--muted); max-width: 36ch; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.4rem;
  align-items: center;
}

.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.split-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
}

.prose p { color: #3d4653; }
.prose p + p { margin-top: 0.85rem; }
.prose-body { color: #3d4653; }
.prose-body p + p { margin-top: 0.85rem; }
.prose-body ul,
.prose-body ol { margin: 0.75rem 0 0.75rem 1.25rem; }
.prose-body li + li { margin-top: 0.25rem; }
.prose-body strong,
.prose-body b { font-weight: 700; color: var(--ink); }
.prose-body em,
.prose-body i { font-style: italic; }
.prose-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 0.85rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.15rem 1.2rem 1.2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 246, 248, 0.92) 100%);
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, #a8863f 100%);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.stat span {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.value {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1.55rem 1.45rem 1.5rem;
  background:
    linear-gradient(165deg, #ffffff 0%, #f7f8fa 55%, #f2f3f6 100%);
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.value::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 70%);
  opacity: 0.85;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.value-index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  line-height: 1;
}

.value h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-action,
.value,
.stat {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.contact-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.value:hover,
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 163, 90, 0.45);
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.1);
}

.value:hover::after {
  opacity: 1;
  height: 3px;
}

.services-grid,
.gallery-grid,
.related {
  display: grid;
  gap: 0.8rem;
}

.services-grid,
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.related { grid-template-columns: repeat(3, 1fr); }

.service-card,
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img,
.gallery-item:hover img { transform: scale(1.05); }

/* —— Page Coulisses : mosaïque —— */
.page-hero-coulisses::after {
  background:
    linear-gradient(180deg, rgba(8,12,20,0.28) 0%, rgba(8,12,20,0.55) 45%, rgba(8,12,20,0.88) 100%),
    linear-gradient(105deg, rgba(8,12,20,0.45) 0%, rgba(8,12,20,0.15) 55%, transparent 100%);
}

.coulisses-intro {
  padding-top: 2.8rem;
  padding-bottom: 0.5rem;
}

.coulisses-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2rem 3rem;
  align-items: end;
}

.coulisses-aside {
  padding: 1.4rem 1.5rem;
  background:
    linear-gradient(145deg, rgba(196, 163, 90, 0.1), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.coulisses-count {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--navy);
  margin: 0 0 0.45rem;
  min-height: 1.2em;
}

.coulisses-aside-text {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .coulisses-intro-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* Mosaïque Coulisses : rythme fixe (bento), pas de tailles aléatoires */
.gallery-mosaic--coulisses {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, 17vw);
  grid-auto-flow: dense;
  gap: 12px;
  margin: 1.5rem 0 2.5rem;
}

.gallery-mosaic--coulisses .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: 0;
  aspect-ratio: auto;
  height: 100%;
}

.gallery-mosaic--coulisses .is-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-mosaic--coulisses .is-md {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-mosaic--coulisses .is-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-mosaic--coulisses .is-sm {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-mosaic--coulisses .gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .gallery-mosaic--coulisses {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(140px, 24vw);
    gap: 10px;
  }
  .gallery-mosaic--coulisses .is-lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-mosaic--coulisses .is-md {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .gallery-mosaic--coulisses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(130px, 38vw);
    gap: 8px;
  }
  .gallery-mosaic--coulisses .is-lg,
  .gallery-mosaic--coulisses .is-md {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-mosaic--coulisses .is-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
}

.service-card span,
.gallery-item::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 0.95rem;
  background: linear-gradient(transparent, rgba(15,22,34,0.88));
  font-weight: 700;
}

.service-card span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.45rem;
  min-height: 42%;
  padding: 1.15rem 1.1rem 1rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(11, 22, 36, 0.15) 35%,
    rgba(11, 22, 36, 0.82) 100%
  );
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.service-card span::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform-origin: left center;
  transition: width 0.35s ease, background 0.25s ease;
}

.service-card:hover span::before {
  width: 2.6rem;
  background: var(--gold-2, #e3bf4a);
}

.gallery-item::after {
  content: "Agrandir";
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after { opacity: 1; }

.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 1.6rem 1.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cta-band h2 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.cta-band p { color: rgba(255,255,255,0.72); }

.contact-quick { padding-top: 2.2rem; padding-bottom: 0; background: var(--bg) !important; }
.contact-main { padding-top: 2rem; }
.contact-map { padding-bottom: 0; }

.contact-actions,
.contact-layout {
  display: grid;
  gap: 0.8rem;
}

.contact-actions { grid-template-columns: repeat(3, 1fr); }
.contact-layout { grid-template-columns: 1.35fr 0.85fr; gap: 1.4rem; align-items: start; }

.contact-action,
.contact-form-panel,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-action {
  padding: 1.15rem 1.15rem 1rem;
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.contact-action:hover { border-color: var(--gold); }
.contact-action-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-action strong {
  color: var(--navy);
  font-size: 1.05rem;
  word-break: break-word;
}
.contact-action em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

.contact-form-panel { padding: 1.6rem; }
.contact-form-panel h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 0.4rem; }

.contact-aside { padding: 0.4rem 1.3rem 0.6rem; }
.contact-aside-block { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-aside-block:last-child { border-bottom: 0; }
.contact-aside-block h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-aside-block p { color: #3d4653; }
.aside-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
}

.form { display: grid; gap: 0.85rem; margin-top: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.3rem; }
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  background: var(--bg-soft);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form .error { border-color: #c0392b; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.15rem 0 0.35rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--navy);
}
.form-consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.form-consent.error span {
  color: #a33;
}
.form-note { color: var(--muted); }
.form-success { display: none; color: #1e6b38; font-weight: 700; }
.form-success.show { display: block; }
.form-error { display: none; color: #a33; font-weight: 700; }
.form-error.show { display: block; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.map-full { height: 380px; }
.map-full iframe,
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-wrap { height: 240px; border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }

.site-footer {
  background: linear-gradient(180deg, #0d1420 0%, #101720 100%);
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--navy-2), #1a2a42);
  border: 1px solid rgba(196, 163, 90, 0.15);
  border-radius: 14px;
  padding: 2rem 2.2rem;
  margin-bottom: 3rem;
  position: relative;
  top: -2rem;
}
.footer-cta-text h2 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer-cta-text p {
  color: rgba(255,255,255,0.7);
  max-width: 38ch;
}
.footer-cta-block .btn-gold {
  flex-shrink: 0;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.85fr 1.2fr;
  gap: 2.2rem 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-text {
  margin: 0.9rem 0 0;
  max-width: 32ch;
  line-height: 1.65;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0;
  font-size: 0.9rem;
}

.site-footer .logo img {
  height: 65px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 3px 12px rgba(0, 0, 0, 0.16);
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.site-footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.site-footer a { transition: color 0.18s ease, transform 0.18s ease; }
.site-footer a:not(.btn):hover { color: var(--gold); }
.site-footer .btn-gold:hover { color: var(--navy); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.footer-contact p + p { margin-top: 0.55rem; }
.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}
.footer-contact a { font-weight: 600; color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}
[data-vat-block][hidden] { display: none !important; }
.recaptcha-notice {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.recaptcha-notice[hidden] { display: none !important; }
.recaptcha-notice.is-on { display: block !important; }
.recaptcha-notice a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.recaptcha-notice a:hover { color: var(--gold); }

/* Badge Google masqué (mention footer obligatoire) */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.mobile-cta .btn {
  padding: 0.72rem 0.6rem;
  font-size: 0.82rem;
  width: 100%;
  justify-content: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,20,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1.2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 84vh; border-radius: 8px; }
.lightbox button {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.lightbox .close { top: 16px; right: 16px; font-size: 1.55rem; }
.lightbox .prev,
.lightbox .next { top: 50%; transform: translateY(-50%); }
.lightbox .prev { left: 16px; }
.lightbox .next { right: 16px; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .split, .related, .form-row, .values,
  .contact-actions, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  section { padding: 3rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    max-height: calc(100dvh - var(--header-h) - var(--topbar-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a:not(.btn):not(.nav-call):not(.nav-portal),
  .nav-dropdown > button {
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  .nav-dropdown-menu a {
    padding: 0.72rem 0.85rem;
    font-size: 0.95rem;
  }

  .nav-portal,
  .nav-call {
    margin: 0.55rem 0 0.15rem;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  .nav-portal {
    margin-top: 0.75rem;
    order: 2;
  }
  .nav-call {
    order: 3;
  }
  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    transition: transform 0.28s ease, opacity 0.2s ease;
  }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

  .mobile-cta { display: grid; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(1rem + 56px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }

  .hero { min-height: 420px; }
  .page-hero { min-height: 200px; }
  .page-hero-home { min-height: 280px; }
  .hero-content { padding: 3rem 0 2.2rem; }
  .hero-actions .btn,
  .hero-actions .nav-call { width: 100%; justify-content: center; }

  .contact-action { min-height: auto; padding: 1rem; }
  .map-full { height: 260px; }

  .prose h2 { font-size: 1.4rem; }
  .value { padding: 1.35rem 1.2rem 1.3rem; }
  .value h3 { font-size: 1.15rem; }
  .value-index { font-size: 0.72rem; }
  .contact-form-panel { padding: 1.2rem; }
  .contact-form-panel h2 { font-size: 1.4rem; }
  .contact-aside { padding: 0.3rem 1rem 0.5rem; }

  .page-hero .container { padding: 2.4rem 0 1.4rem; }
  .breadcrumb { font-size: 0.72rem; }
  .kicker-lg { font-size: 1rem; }

  .lightbox .prev,
  .lightbox .next { top: auto; bottom: 1.5rem; transform: none; }
  .lightbox .prev { left: calc(50% - 54px); }
  .lightbox .next { right: calc(50% - 54px); }

  .footer-bottom { flex-direction: column; text-align: center; gap: 0.25rem; }
  .footer-cta-block { flex-direction: column; align-items: flex-start; padding: 1.5rem; top: -1.5rem; margin-bottom: 2rem; }
  .footer-cta-block .btn-gold { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .gallery-grid, .services-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .logo img { height: 48px; }
  .container { width: min(1120px, calc(100% - 1.25rem)); }
  .hero h1, .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero p { font-size: 0.92rem; }
  section { padding: 2.4rem 0; }
  .section-head h2 { font-size: 1.3rem; }
  .cta-band { padding: 1.2rem; border-radius: 10px; }
  .cta-band h2 { font-size: 1.15rem; }
  .cta-band p { font-size: 0.85rem; }
  .btn { padding: 0.78rem 1.1rem; font-size: 0.85rem; }
  .split-visual img {
    max-height: 280px;
    border-radius: 8px;
  }
  .lightbox img { max-width: 96vw; max-height: 65vh; border-radius: 6px; }
  .lightbox button { width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox .close { top: 10px; right: 10px; }
  .footer-grid { gap: 1.6rem; }

  .hero { min-height: 360px; }
  .hero-content { padding: 2.4rem 0 1.8rem; }
  .page-hero-home { min-height: 240px; }

  .service-card span {
    font-size: 1rem;
    padding: 0.95rem 0.85rem 0.85rem;
    min-height: 46%;
    gap: 0.35rem;
  }
  .service-card span::before { width: 1.35rem; }
  .stat { padding: 1rem 1rem 1.05rem 1.1rem; }
  .stat strong { font-size: 1.05rem; }
  .stat span { font-size: 0.8rem; }

  .form label { font-size: 0.8rem; }
  .form input, .form textarea, .form select { padding: 0.65rem 0.7rem; font-size: 0.9rem; }

  .mobile-cta { gap: 0.4rem; padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); }
  .mobile-cta .btn { font-size: 0.78rem; padding: 0.65rem 0.5rem; }

  /* Bandeau cookies 1re visite — barre fine mobile */
  .cookie-banner {
    padding: 0.5rem 0.7rem calc(0.5rem + env(safe-area-inset-bottom));
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }
  .cookie-banner-main {
    justify-content: space-between;
    gap: 0.6rem;
  }
  .cookie-banner-main p {
    font-size: 0.74rem;
    line-height: 1.25;
  }
  .cookie-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.74rem;
    min-height: 32px;
  }
  .cookie-banner-links {
    justify-content: flex-start;
    gap: 0.3rem 0.4rem;
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .cookie-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .cookie-modal {
    width: 100%;
    max-height: min(70vh, 100%);
    border-radius: 14px 14px 0 0;
    padding: 1rem 0.95rem calc(0.85rem + env(safe-area-inset-bottom));
  }
  .cookie-modal h2 { font-size: 1.05rem; margin-bottom: 0.2rem; }
  .cookie-modal > p {
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
    line-height: 1.4;
  }
  .cookie-category {
    gap: 0.55rem;
    padding: 0.55rem 0;
  }
  .cookie-category-info h3 { font-size: 0.84rem; }
  .cookie-category-info p { font-size: 0.72rem; max-width: none; line-height: 1.35; }
  .cookie-modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
  }
  .cookie-modal-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 0.55rem 0.45rem;
    font-size: 0.8rem;
  }
  .cookie-modal-actions .btn:first-child {
    flex: 1 1 100%;
  }

  /* Footer mobile — court et dense */
  .site-footer {
    padding: 1.35rem 0 0.85rem;
    margin-top: 1.25rem;
    overflow: visible;
  }
  .site-footer::before { display: none; }
  .footer-brand { display: none; }
  .footer-brand-text { display: none; }
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-bottom: 0.85rem;
  }
  .footer-contact { order: 1; }
  .footer-col-nav { order: 2; }
  .footer-col-services { display: none; }
  .site-footer h3 { display: none; }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.7rem;
  }
  .footer-links a {
    font-size: 0.78rem;
    padding: 0.1rem 0;
    color: rgba(255,255,255,0.7);
  }
  .footer-link-call { display: none; }
  .footer-contact p {
    font-size: 0.78rem;
    line-height: 1.35;
    gap: 0.4rem;
  }
  .footer-contact p + p { margin-top: 0.28rem; }
  .footer-contact svg {
    width: 12px;
    height: 12px;
    margin-top: 3px;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    padding-top: 0.85rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.48);
  }
  .footer-bottom > span {
    display: block;
    max-width: 100%;
  }
  .footer-bottom-place {
    display: block;
  }
  .recaptcha-notice {
    margin: 0.55rem 0 0;
    padding-top: 0.55rem;
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.48);
  }
  .recaptcha-notice.is-on,
  .recaptcha-notice.is-on[hidden] {
    display: block !important;
  }

  .scroll-top { width: 38px; height: 38px; bottom: calc(70px + env(safe-area-inset-bottom)); }
  .cookie-fab { width: 36px; height: 36px; bottom: calc(70px + env(safe-area-inset-bottom)); }

  /* Mobile : barre Appelez-nous / Devis masquée tant que le bandeau cookies est actif */
  body.cookie-banner-open .mobile-cta {
    display: none !important;
  }

  /* Mobile : logo cookies uniquement sur l’accueil */
  body:not([data-page="home"]) .cookie-fab {
    display: none !important;
  }

  body[data-page="home"] .cookie-fab.cookie-fab--docked {
    position: absolute;
    top: 0;
    left: max(0.85rem, env(safe-area-inset-left));
    bottom: auto;
    z-index: 6;
    transform: translateY(-70%) scale(0.5);
  }
  body[data-page="home"] .cookie-fab.cookie-fab--docked.is-visible {
    transform: translateY(-70%) scale(1);
  }
  body[data-page="home"] .cookie-fab.cookie-fab--docked.is-visible:hover {
    transform: translateY(-70%) scale(1.08);
  }
  body[data-page="home"] .cookie-fab.cookie-fab--docked.is-scrolled-away {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    transform: translateY(-70%) scale(0.5) !important;
  }
}

.topbar,
.site-header {
  animation: dropIn 0.55s ease both;
}

.page-hero .container > * {
  animation: fadeUp 0.7s ease both;
}
.page-hero .breadcrumb { animation-delay: 0.08s; }
.page-hero .kicker,
.page-hero .page-hero-eyebrow { animation-delay: 0.16s; }
.page-hero h1 { animation-delay: 0.24s; }
.page-hero p,
.page-hero .page-hero-lead { animation-delay: 0.34s; }
.page-hero .hero-actions { animation-delay: 0.44s; }
.page-hero-copy > * {
  animation: fadeUp 0.7s ease both;
}
.page-hero-copy .breadcrumb { animation-delay: 0.08s; }
.page-hero-copy .page-hero-eyebrow { animation-delay: 0.16s; }
.page-hero-copy h1 { animation-delay: 0.24s; }
.page-hero-copy .page-hero-lead { animation-delay: 0.34s; }

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  pointer-events: none;
}

.reveal.is-visible {
  pointer-events: auto;
  animation: dcsRevealUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes dcsRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover img { transform: scale(1.05); filter: brightness(1.05); }

.cta-band .btn { transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease; }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroMove {
  from { transform: scale(1); }
  to { transform: scale(1.035) translate3d(0, -0.6%, 0); }
}

@keyframes heroShift {
  from { transform: translate3d(0, 0, 0) scale(1.01); }
  to { transform: translate3d(0, -1.6%, 0) scale(1.03); }
}

/* Pause les Ken Burns hors viewport → moins de travail GPU pendant le scroll */
.page-hero.is-offscreen > img,
.page-hero.is-offscreen .hero-slide,
.page-hero.is-offscreen .hero-bg {
  animation-play-state: paused !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(16, 23, 32, 0.97);
  color: rgba(255,255,255,0.88);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -6px 28px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  width: min(960px, 100%);
}
.cookie-banner-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.cookie-banner-main p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.82);
}
.cookie-banner-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  font-size: 0.8rem;
}
.cookie-banner-links a,
.cookie-text-btn {
  color: rgba(255,255,255,0.62);
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-links a:hover,
.cookie-text-btn:hover { color: var(--gold); }
.cookie-sep { color: rgba(255,255,255,0.28); user-select: none; }
.cookie-chip {
  appearance: none;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cookie-chip-ok {
  background: var(--gold);
  color: var(--navy);
}
.cookie-chip-ok:hover { filter: brightness(1.05); transform: translateY(-1px); }

.cookie-fab {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 8999;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.cookie-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.cookie-fab:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
.cookie-fab.cookie-fab--docked.is-visible:hover { transform: scale(1.08); }

/* Accueil mobile : FAB ancré sous le diaporama, au-dessus de la photo mission */
body[data-page="home"] main#contenu > section.has-cookie-fab {
  position: relative;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(10,14,20,0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal-overlay.is-open { display: flex; }

.cookie-modal {
  background: var(--white);
  border-radius: 14px;
  width: min(520px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.8rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.cookie-modal > p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.cookie-category-info h3 { font-size: 0.92rem; margin-bottom: 0.15rem; }
.cookie-category-info p { font-size: 0.8rem; color: var(--muted); max-width: 34ch; }
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle span {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.cookie-toggle input:checked + span { background: var(--gold); }
.cookie-toggle input:checked + span::after { transform: translateX(18px); }
.cookie-toggle input:disabled + span { opacity: 0.6; cursor: default; }

.cookie-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.cookie-modal-actions .btn { flex: 1; min-width: 120px; justify-content: center; }

@media (max-width: 640px) {
  /* conservé pour d’éventuels ajustements ; layout cookies géré en ≤980px */
}

.scroll-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 8999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  box-shadow: 0 4px 14px rgba(196, 163, 90, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  box-shadow: 0 6px 20px rgba(196, 163, 90, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .scroll-top { bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .logo img,
  .nav-call,
  .btn-gold,
  .page-loader-logo,
  .page-loader-bar span {
    animation: none !important;
  }
  .reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  .reveal.is-visible {
    animation: dcsRevealUp 0.5s ease both;
  }
}
