/* =====================================================================
   Clef de Seine — Serrurerie à Melun
   Feuille de style unique · direction « premium éditorial »
   Vert forêt (Fontainebleau) · crème pierre (calcaire) · laiton brossé
   ===================================================================== */

/* ---------- 1. Jetons de design ---------- */
:root {
  --forest: #0f2a24;
  --forest-2: #17392f;
  --forest-3: #24493e;
  --stone: #efe9df;
  --stone-2: #e5ddcf;
  --stone-3: #d6cbb8;
  --paper: #f8f5ef;
  --brass: #b8893b;          /* accent décoratif, fonds et filets */
  --brass-light: #d9b36e;    /* texte laiton sur fond forêt (AA) */
  --brass-ink: #7d5a1e;      /* texte laiton sur fond crème (AA) */
  --ink: #1b2421;
  --ink-soft: #46524e;
  --alert: #b3261e;          /* unique couleur d'alerte : urgence */
  --alert-dark: #8f1d17;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 1px 2px rgba(15, 42, 36, .06), 0 12px 32px -12px rgba(15, 42, 36, .22);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--brass); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; color: var(--brass-ink); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-light); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: var(--stone); padding: .7em 1.1em; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone-2); }
.section--forest { background: var(--forest); color: var(--stone); }
.section--forest h2 em, .section--forest h3 em { color: var(--brass-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-ink); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .section--forest .eyebrow { color: var(--brass-light); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.on-dark .lead, .section--forest .lead { color: #d8d2c6; }

/* ---------- 3. Boutons ---------- */
.btn {
  --bg: var(--forest); --fg: var(--stone);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bg);
  font: 700 .98rem/1.1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(15, 42, 36, .55); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--brass { --bg: var(--brass); --fg: var(--forest); }
.btn--alert { --bg: var(--alert); --fg: #fff; }
.btn--alert:hover { --bg: var(--alert-dark); }
.btn--ghost { --bg: transparent; --fg: var(--forest); border-color: var(--forest); }
.on-dark .btn--ghost, .section--forest .btn--ghost { --fg: var(--stone); border-color: rgba(239, 233, 223, .6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Lien « en savoir plus » avec flèche qui glisse */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none;
  color: var(--forest); background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 2px; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 4. En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(239, 233, 223, .9);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid rgba(184, 137, 59, .35);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(15, 42, 36, .45); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
/* clip (et non hidden) : coupe les débords des animations sans casser position: sticky */
main { padding-top: var(--header-h); overflow-x: clip; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand svg { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-8deg); }
.brand__name { font: 500 1.3rem/1 var(--serif); letter-spacing: -.01em; display: block; }
.brand__tag { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); display: block; margin-top: 4px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px; padding: 0 .85em;
  border: 0; background: none; border-radius: 999px; text-decoration: none;
  font: 600 .95rem/1 var(--sans); color: var(--ink);
  transition: background-color .25s, color .25s;
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: var(--stone-2); }
.nav__link[aria-current="page"] { color: var(--brass-ink); }
.nav__current {
  font: italic 400 1rem/1 var(--serif); color: var(--brass-ink);
  display: inline-flex; align-items: center; gap: .5em; padding: 0 .6em; max-width: 22ch;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav__current::before { content: "·"; color: var(--brass); font-style: normal; }
.nav__toggle svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__urgent {
  --bg: var(--alert); --fg: #fff; min-height: 44px; padding: .6em 1.1em; margin-left: 6px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #fff;
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

/* Menu déroulant des services */
.dropdown { position: relative; }
.dropdown__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(560px, 90vw);
  translate: -50% 0;
  background: var(--paper); border: 1px solid var(--stone-3); border-radius: 18px; box-shadow: var(--shadow);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) perspective(800px) rotateX(-6deg);
  transform-origin: top center; transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.dropdown__panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__panel a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .2s, transform .3s var(--ease);
}
.dropdown__panel a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.dropdown__panel a:hover { background: var(--stone); transform: translateX(3px); }
.dropdown__panel a[aria-current="page"] { color: var(--brass-ink); }
.dropdown__all {
  grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--stone-3); padding-top: 14px !important;
  color: var(--forest);
}
.dropdown__all::before { display: none; }
.dropdown__all::after { content: "→"; margin-left: auto; }

.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--forest); background: transparent; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: var(--forest);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger::before { top: 16px; } .burger span { top: 22px; } .burger::after { top: 28px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter créerait un bloc conteneur et rognerait le menu fixe */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--stone); }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--stone);
    padding: 20px var(--gutter) 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link, .nav__toggle { font-size: 1.15rem; min-height: 54px; justify-content: space-between; border-radius: 12px; }
  .nav__current { max-width: none; padding: 8px .85em; font-size: 1.1rem; }
  .dropdown__panel {
    position: static; translate: none; width: auto; box-shadow: none; grid-template-columns: 1fr;
    display: none; opacity: 1; visibility: visible; transform: none; margin: 4px 0 10px;
  }
  .dropdown__panel.is-open { display: grid; }
  .nav__urgent { margin: 14px 0 0; justify-content: center; }
}

/* ---------- 5. Hero signature : la clé et la porte ---------- */
.hero { position: relative; height: 260vh; background: var(--stone); }
.hero__sticky {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h));
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: clamp(24px, 5vw, 80px); overflow: hidden;
}
.hero__text { padding-block: 24px; }
.hero__text h1 { margin-bottom: .35em; }
.hero__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; font-size: .95rem; }
.hero__facts li { display: flex; align-items: center; gap: .5em; }
.hero__facts li::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8893b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero__hint { display: flex; align-items: center; gap: 10px; margin-top: 2rem; font-size: .85rem; color: var(--ink-soft); }
.hero__hint i { width: 22px; height: 34px; border: 1.5px solid var(--ink-soft); border-radius: 12px; position: relative; }
.hero__hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--brass); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.hero__stage { height: 100%; display: flex; align-items: center; justify-content: center; padding-block: 24px; }
.door {
  position: relative; height: min(100%, 680px); aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; overflow: hidden;
  perspective: 1000px; background: var(--forest);
  box-shadow: 0 0 0 10px var(--stone-2), 0 0 0 11px var(--stone-3), 0 40px 60px -30px rgba(15, 42, 36, .55);
}
.door__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.door__caption {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; white-space: nowrap;
  background: rgba(15, 42, 36, .78); color: var(--stone); padding: .45em 1em; border-radius: 999px;
  font: italic 400 .9rem/1 var(--serif); opacity: 0;
}
.door__leaf {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 30%, rgba(0, 0, 0, .14)),
    var(--forest-2);
  backface-visibility: hidden; will-change: transform;
}
.door__leaf--left { left: 0; transform-origin: left center; }
.door__leaf--right { right: 0; transform-origin: right center; }
/* moulures : deux panneaux par battant, filet laiton */
.door__leaf::before, .door__leaf::after {
  content: ""; position: absolute; left: 16%; right: 16%; border: 1.5px solid rgba(217, 179, 110, .45);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .12);
}
.door__leaf::before { top: 22%; height: 34%; border-radius: 120px 120px 4px 4px / 60px 60px 4px 4px; }
.door__leaf::after { top: 62%; height: 28%; border-radius: 4px; }
.door__leaf--left::before { border-top-right-radius: 4px; }
.door__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.door__lock {
  position: absolute; left: 0; top: 50%; width: 64px; height: 150px; translate: -50% -50%; z-index: 2;
}
.door__plate { width: 100%; height: 100%; }
.door__key {
  position: absolute; left: 50%; top: 56%; width: 150px; height: 150px; margin: -75px 0 0 -75px;
  transform-origin: 50% 50%; will-change: transform, opacity; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
}
.door__bolt {
  position: absolute; left: -5px; width: 10px; height: 46px; border-radius: 3px;
  background: linear-gradient(90deg, #8f6a2b, var(--brass-light), #8f6a2b);
}
.door__bolt--top { top: -20px; }
.door__bolt--bottom { bottom: -20px; }

/* Écran étroit ou peu haut : le texte défile normalement, puis la porte
   se fige plein écran pendant que la clé tourne (main.js tient compte
   de la hauteur du texte pour calculer la progression). */
@media (max-width: 900px), (max-height: 640px) {
  .hero { height: auto; }
  .hero__sticky { position: relative; top: auto; height: auto; display: block; overflow: visible; }
  /* espace de défilement pendant lequel la porte reste figée (dans la zone de contenu, sinon sticky l'ignore) */
  .hero__sticky::after { content: ""; display: block; height: 120svh; }
  .hero__text { padding-block: 24px 8px; }
  .hero__text h1 { font-size: clamp(2.15rem, 1.4rem + 3.8vw, 3rem); }
  .hero__hint { display: none; }
  .hero .btn-row { margin-top: 1.2rem; }
  /* la porte déborde des marges latérales pour gagner en largeur */
  .hero__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); padding-block: 8px 12px; margin-inline: calc(8px - var(--gutter)); }
  .door { height: 100%; max-height: 700px; box-shadow: 0 0 0 6px var(--stone-2), 0 0 0 7px var(--stone-3), 0 30px 50px -30px rgba(15, 42, 36, .55); }
}
@media (max-width: 760px) {
  /* le bouton d'appel flottant remplace celui du hero et réserve le bas de l'écran */
  .hero__stage { height: calc(100svh - var(--header-h) - 84px); }
  .hero .btn--alert, .ph .btn-row a[href^="tel:"], .sh .btn-row a[href^="tel:"] { display: none; }
}
@media (max-width: 420px) {
  .hero__facts { display: none; }
}

/* ---------- 6. Révélations au scroll (porte sur ses gonds) ---------- */
.js .reveal {
  opacity: 0; transform: perspective(1400px) rotateY(-9deg) translateX(-12px);
  transform-origin: left center;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.js .reveal--right { transform: perspective(1400px) rotateY(9deg) translateX(12px); transform-origin: right center; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-group > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* Titres qui se déverrouillent mot par mot */
.unlock .w { display: inline-block; white-space: pre; }
.js .unlock .w {
  opacity: 0; transform: translateY(.45em) rotateX(-75deg); transform-origin: 50% 100%;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--w) * 70ms);
}
.js .unlock.is-in .w { opacity: 1; transform: none; }
/* titre principal : animation plus courte pour ne pas retarder la lecture */
.js h1.unlock .w { transition-duration: .45s, .6s; transition-delay: calc(var(--w) * 40ms); }

/* ---------- 7. Formes « arche de porte » ---------- */
.arch { border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone-3); position: relative; }
.arch--sq { aspect-ratio: 1; border-radius: 50% 50% 12px 12px / 50% 50% 12px 12px; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-frame { position: relative; }
.arch-frame::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1.5px solid var(--brass);
  border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; pointer-events: none;
  transition: transform .8s var(--ease);
}
.arch-frame:hover::before { transform: translate(-6px, 6px); }
.arch-frame:hover img { transform: scale(1.04); }

/* ---------- 8. Mises en page ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split--rev > :first-child { order: 2; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--offset { margin-left: clamp(0px, 8vw, 140px); }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .split .arch-frame { max-width: 420px; margin-inline: auto; width: calc(100% - 20px); }
}

/* Cartes de services */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border-radius: 22px 22px 14px 14px; padding: 14px 14px 24px; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(184, 137, 59, .5); }
.card .arch { aspect-ratio: 5 / 4; border-radius: 120px 120px 10px 10px / 90px 90px 10px 10px; }
.card:hover .arch img { transform: scale(1.05); }
.card__body { padding: 18px 8px 0; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .35em; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-top: 1px solid var(--stone-3); padding-top: 14px; margin-top: 4px; font-size: .9rem; color: var(--ink-soft); }
.card__price strong { font: 500 1.35rem/1 var(--serif); color: var(--forest); }
.card--offset:nth-child(3n + 2) { margin-top: clamp(0px, 4vw, 48px); }
@media (max-width: 620px) { .card--offset:nth-child(3n + 2) { margin-top: 0; } }

/* Accueil : « carte des prestations » sur une feuille pliée en trois.
   Sans JS ou en mouvement réduit, la feuille est simplement ouverte. */
.sheet { position: relative; max-width: 980px; margin: 0 auto; perspective: 1800px; }
.sheet__panel {
  position: relative; padding: clamp(22px, 3.4vw, 44px) clamp(20px, 5vw, 64px);
  background-color: #fbf8f1;
  background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(184, 137, 59, .06) 35px 36px);
  box-shadow: 0 30px 50px -36px rgba(15, 42, 36, .45);
  backface-visibility: hidden;
}
.sheet__panel--head { border-radius: 8px 8px 0 0; padding-top: clamp(36px, 5vw, 56px); }
.sheet__panel--last { border-radius: 0 0 8px 8px; }
/* pli : ombre douce sous l'arête de chaque volet */
.sheet__fold > .sheet__panel::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 22px; pointer-events: none;
  background: linear-gradient(rgba(15, 42, 36, .09), transparent);
}
.sheet__clip {
  position: absolute; top: -22px; left: clamp(28px, 8%, 72px); width: 22px; height: 64px;
  border: 3px solid var(--brass); border-radius: 12px; transform: rotate(4deg);
}
.sheet__clip::after { content: ""; position: absolute; inset: 8px 3px 14px; border: 3px solid var(--brass); border-top: 0; border-radius: 0 0 8px 8px; }
.sheet__kicker { font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 .9rem; }
.sheet__title { font: 400 clamp(2rem, 1.3rem + 2.8vw, 3.4rem)/1.05 var(--serif); margin: 0 0 .6rem; max-width: 70%; }
.sheet__title em { color: var(--brass-ink); }
.sheet__meta { margin: 0; color: var(--ink-soft); font-size: .92rem; max-width: 70%; }
.sheet__stamp {
  position: absolute; right: clamp(16px, 6%, 64px); top: 50%; width: 128px; height: 128px; margin: -64px 0 0;
  display: grid; place-items: center; text-align: center; border-radius: 50%;
  border: 2px solid var(--brass-ink); box-shadow: inset 0 0 0 5px #fbf8f1, inset 0 0 0 7px var(--brass-ink);
  color: var(--brass-ink); font: 700 .68rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-12deg); opacity: .9;
}
.sheet__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); }
.entry {
  position: relative; isolation: isolate; display: grid; align-items: baseline; column-gap: 10px;
  grid-template-columns: 86px 1.8em minmax(0, 1fr) auto;
  grid-template-areas: "thumb num name name" "thumb . desc desc" "thumb . dots price";
  padding: 14px 10px; border-radius: 10px; text-decoration: none; color: var(--ink);
}
.entry::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(184, 137, 59, .14);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.entry:hover::before, .entry:focus-visible::before { transform: none; }
/* photo du service, posée sur la feuille comme un tirage, légèrement de travers */
.entry__thumb {
  grid-area: thumb; align-self: center; width: 86px; aspect-ratio: 4 / 5; padding: 4px; background: #fff;
  border-radius: 43px 43px 6px 6px / 34px 34px 6px 6px; box-shadow: 0 6px 14px -6px rgba(15, 42, 36, .45);
  rotate: -3deg; transition: rotate .45s var(--ease), scale .45s var(--ease);
}
li:nth-child(even) > .entry .entry__thumb { rotate: 2.5deg; }
.entry__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px 39px 4px 4px / 30px 30px 4px 4px; }
.entry:hover .entry__thumb, .entry:focus-visible .entry__thumb { rotate: 0deg; scale: 1.08; }
.entry__num { grid-area: num; font: italic 400 1.05rem/1 var(--serif); color: var(--brass-ink); }
.entry__name { grid-area: name; font: 500 1.18rem/1.25 var(--serif); }
.entry__dots { grid-area: dots; border-bottom: 2px dotted var(--stone-3); transform-origin: 0 50%; translate: 0 -5px; margin-right: 10px; }
.entry__price { grid-area: price; font: 500 1.08rem/1 var(--serif); color: var(--forest); white-space: nowrap; transition: color .3s; }
.entry__desc { grid-area: desc; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); margin: 4px 0 6px; }
.entry__price { margin-top: 2px; }
.entry:hover .entry__price, .entry:focus-visible .entry__price { color: var(--brass-ink); }
.sheet__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 18px 10px 0; padding-top: 16px;
  border-top: 1px solid var(--stone-3); font-size: .9rem; color: var(--ink-soft);
}
.sheet__foot a { font-weight: 700; color: var(--forest); text-decoration: none; }
.sheet__foot a:hover { text-decoration: underline; }

/* Animation : la feuille glisse, ses deux volets se déplient, les lignes s'écrivent, le tampon se pose */
@media (prefers-reduced-motion: no-preference) {
  .js .sheet { opacity: 0; transform: translateY(40px) rotate(-1.6deg); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
  .js .sheet.is-in { opacity: 1; transform: rotate(-.4deg); }
  .js .sheet__fold { transform-origin: 50% 0; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
  .js .sheet__fold--1 { transform: rotateX(-100deg); transition-delay: .25s; }
  .js .sheet__fold--2 { transform: rotateX(-170deg); transition-delay: .85s; }
  .js .sheet.is-in .sheet__fold { transform: none; }
  .js .sheet .entry { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(1.25s + var(--i) * 80ms); }
  .js .sheet.is-in .entry { opacity: 1; transform: none; }
  .js .sheet .entry__dots { transform: scaleX(0); transition: transform .8s var(--ease) calc(1.4s + var(--i) * 80ms); }
  .js .sheet.is-in .entry__dots { transform: none; }
  .js .sheet .sheet__stamp { opacity: 0; transform: rotate(-30deg) scale(1.9); transition: opacity .25s 2.3s, transform .55s cubic-bezier(.3, 1.6, .5, 1) 2.3s; }
  .js .sheet.is-in .sheet__stamp { opacity: .9; transform: rotate(-12deg); }
}

@media (max-width: 760px) {
  .sheet__list { grid-template-columns: 1fr; }
  .sheet__title, .sheet__meta { max-width: none; padding-right: 92px; }
  .sheet__meta { padding-right: 0; }
  .sheet__stamp { width: 90px; height: 90px; top: 30px; margin: 0; right: 14px; font-size: .52rem; }
  .entry { padding-inline: 4px; grid-template-columns: 70px 1.6em minmax(0, 1fr) auto; }
  .entry__thumb { width: 70px; }
}

/* Page Services : grille « bento » de tuiles photographiques */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; grid-auto-flow: dense; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; border-radius: 22px; background: var(--forest); color: var(--stone); }
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 42, 36, 0) 25%, rgba(15, 42, 36, .92) 100%); transition: opacity .5s; }
.tile:hover > img, .tile:focus-within > img { transform: scale(1.06); }
.tile__body { width: 100%; padding: 20px 22px; }
.tile h3 { font-size: 1.3rem; margin: 0; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile h3 a::before { content: "→"; float: right; margin-left: 8px; transition: transform .4s var(--ease); }
.tile:hover h3 a::before { transform: translateX(4px); }
.tile__price { display: inline-block; margin: 0 0 10px; padding: .35em .8em; border-radius: 999px; background: var(--brass); color: var(--forest); font: 700 .75rem/1 var(--sans); }
.tile__short { display: none; margin: .5em 0 0; font-size: .93rem; color: #e1dbcf; max-width: 46ch; }
.tile--xl { grid-column: span 2; grid-row: span 2; border-radius: 260px 260px 22px 22px / 200px 200px 22px 22px; }
.tile--xl h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; border-radius: 140px 140px 22px 22px / 110px 110px 22px 22px; }
.tile--xl .tile__short, .tile--wide .tile__short, .tile--tall .tile__short { display: block; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .tile--xl, .tile--wide { grid-column: auto; }
  .tile--xl { grid-row: span 2; }
  .tile--tall { grid-row: auto; border-radius: 22px; }
}

/* Engagements numérotés */
.pledges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; counter-reset: pledge; border-top: 1px solid rgba(217, 179, 110, .35); }
.pledge { padding: 32px 28px 32px 0; border-bottom: 1px solid rgba(217, 179, 110, .35); counter-increment: pledge; }
.pledge::before { content: counter(pledge, decimal-leading-zero); display: block; font: italic 300 2.8rem/1 var(--serif); color: var(--brass-light); margin-bottom: 16px; }
.pledge h3 { color: var(--stone); }
.pledge p { color: #d8d2c6; margin: 0; font-size: .98rem; }

/* Tarifs avec points de conduite */
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--stone-3); }
.prices li span:first-child { flex: 0 1 auto; }
.prices li::after { content: none; }
.prices .dots { flex: 1; border-bottom: 1.5px dotted var(--stone-3); min-width: 20px; transform: translateY(-4px); }
.prices strong { font: 500 1.2rem/1 var(--serif); color: var(--forest); white-space: nowrap; }
.prices small { display: block; color: var(--ink-soft); font-size: .85rem; }
.note { font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }

/* Étapes d'intervention */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 28px 64px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest); color: var(--brass-light); font: 500 1.1rem/1 var(--serif);
}
.steps li::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 4px; width: 1.5px; background: var(--stone-3); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: .25em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Encadré « faux serrurier » */
.warning {
  position: relative; background: var(--paper); border-radius: 22px; padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--stone-3); overflow: hidden;
}
.warning::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--alert); }
.warning__title { display: flex; align-items: center; gap: 12px; color: var(--alert-dark); }
.warning__title svg { width: 34px; height: 34px; flex: none; }
.warning ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 32px; }
.warning li { padding-left: 28px; position: relative; }
.warning li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--alert); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: 16px; border: 1px solid var(--stone-3); transition: border-color .3s; }
.faq details[open] { border-color: var(--brass); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative;
  font: 500 1.12rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--stone-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%230f2a24' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .faq__a { padding: 0 24px 20px; color: var(--ink-soft); }
.faq .faq__a p:last-child { margin: 0; }

/* Bandeau d'appel */
.callout {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--forest); color: var(--stone); border-radius: 28px; padding: clamp(28px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.callout::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 280px; height: 340px;
  border: 1.5px solid rgba(217, 179, 110, .35); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
}
.callout h2 { margin-bottom: .25em; }
.callout p { margin: 0; color: #d8d2c6; }
.callout .btn-row { margin: 0; position: relative; z-index: 1; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* Zone d'intervention */
.towns { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.towns a {
  display: inline-flex; padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--stone-3);
  background: var(--paper); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.towns a:hover { background: var(--forest); color: var(--stone); transform: translateY(-2px); }
.towns a[aria-current="page"] { background: var(--forest); color: var(--stone); }

/* ---------- 9. En-têtes des pages intérieures (heros) ----------
   Une base commune (.ph) et une variante par famille de pages :
   arch, keyhole, round, full, diptych, half, map, mosaic,
   featured, contact, doc (+ versions miroir « -rev »). */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest); color: var(--stone);
  padding-block: clamp(24px, 3vw, 40px) clamp(64px, 9vw, 120px);
}
.ph--light { background: linear-gradient(160deg, var(--stone-2), var(--stone) 70%); color: var(--ink); }
.ph h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); }
.ph.on-dark h1 em { color: var(--brass-light); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ph-grid--solo { grid-template-columns: minmax(0, 820px); }
.ph--arch-rev .ph-text, .ph--diptych-rev .ph-text { order: 2; }

/* Motif au trait en filigrane */
.ph-motif {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(240px, 36vw, 540px); left: -5%; bottom: -22%;
  color: var(--brass-light); opacity: .1;
}
.ph--light .ph-motif { color: var(--brass); opacity: .16; }
.ph--arch-rev .ph-motif, .ph--diptych-rev .ph-motif, .ph--half .ph-motif,
.ph--full .ph-motif { left: auto; right: -4%; }
.ph--half-rev .ph-motif { left: auto; right: -6%; bottom: -26%; }
.ph--doc .ph-motif, .ph--doc-rev .ph-motif { width: clamp(220px, 30vw, 420px); top: 50%; bottom: auto; translate: 0 -50%; opacity: .22; }
.ph--doc .ph-motif { left: auto; right: 6%; }
.ph--doc-rev .ph-motif { left: 6%; }
.ph--doc-rev .ph-grid--solo { justify-content: end; }

/* Fil d'Ariane et méta sur fond clair */
.ph--light .breadcrumb li, .sh .breadcrumb li { color: var(--ink-soft); }
.ph--light .breadcrumb a, .sh .breadcrumb a { color: var(--ink); border-color: var(--brass); }
.ph--light .breadcrumb li + li::before, .sh .breadcrumb li + li::before { color: var(--brass-ink); }
.ph--light .from-price { border-color: var(--stone-3); color: var(--ink-soft); }
.ph--light .from-price strong { color: var(--brass-ink); }
.ph--light .meta { color: var(--ink-soft); }

/* Chiffres clés */
.ph-facts { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.ph-facts li { padding: 0 26px; border-left: 1px solid rgba(217, 179, 110, .35); }
.ph-facts li:first-child { padding-left: 0; border-left: 0; }
.ph-facts strong { display: block; font: 500 clamp(1.3rem, 1.1rem + .6vw, 1.7rem)/1.15 var(--serif); color: var(--brass-light); }
.ph-facts span { font-size: .85rem; color: #cfc8ba; }
.ph--light .ph-facts li { border-color: var(--stone-3); }
.ph--light .ph-facts strong { color: var(--forest); }
.ph--light .ph-facts span { color: var(--ink-soft); }

/* — arch : arche cadrée de laiton + carte flottante */
.ph-media--arch { position: relative; width: min(100%, 440px); margin: 0 0 0 auto; }
.ph--arch-rev .ph-media--arch { margin: 0 auto 0 0; }
.ph-media--arch::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid var(--brass-light);
  border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; opacity: .6;
}
.ph-media .arch { box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .6); }
.ph-float {
  position: absolute; left: -36px; bottom: 40px; background: var(--paper); color: var(--ink);
  padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow); max-width: 220px;
}
.ph--arch-rev .ph-float { left: auto; right: -36px; }
.ph-float strong { display: block; font: 500 1.6rem/1.1 var(--serif); color: var(--forest); }
.ph-float span { font-size: .85rem; color: var(--ink-soft); }

/* — keyhole : photo découpée en trou de serrure */
.ph-media--keyhole { position: relative; width: min(100%, 380px); aspect-ratio: 4 / 5; margin: 0 0 0 auto; }
.kh-img { position: absolute; inset: 0; clip-path: url(#kh); }
.kh-img img { width: 100%; height: 100%; object-fit: cover; }
.kh-line { position: absolute; left: -6%; top: -4.8%; width: 112%; height: 109.6%; fill: none; stroke: var(--brass-light); stroke-width: .5; overflow: visible; }
.kh-line__offset { transform: translate(3px, -3px); stroke-dasharray: 1.2 1.6; opacity: .7; }

/* — round : médaillon cerné d'une couronne de molette */
.ph-media--round { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 0 0 auto; }
.round-img { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.round-img img { width: 100%; height: 100%; object-fit: cover; }
.dial-ring { position: absolute; inset: 0; fill: none; stroke: var(--brass-light); stroke-width: 1.2; animation: spin 120s linear infinite; }
.dial-ring__major { stroke-width: 5; }
.dial-index { position: absolute; top: -4px; left: 50%; width: 4px; height: 26px; translate: -50% 0; border-radius: 2px; background: var(--alert); }
@keyframes spin { to { transform: rotate(360deg); } }

/* — full / full-bottom : photo plein cadre */
.ph--full, .ph--full-bottom { min-height: min(84vh, 760px); }
.ph--full .container, .ph--full-bottom .container { min-height: inherit; display: flex; flex-direction: column; }
.ph--full .ph-grid, .ph--full-bottom .ph-grid { margin-top: auto; padding-top: 12vh; }
.ph-bg { position: absolute; inset: 0; z-index: -2; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 42, 36, .97) 0%, rgba(15, 42, 36, .86) 42%, rgba(15, 42, 36, .2) 100%); }
.ph--full-bottom .ph-bg::after { background: linear-gradient(0deg, rgba(15, 42, 36, .98) 0%, rgba(15, 42, 36, .82) 45%, rgba(15, 42, 36, .15) 100%); }
.ph--full-bottom .ph-grid--solo { justify-content: center; text-align: center; }
.ph--full-bottom .ph-text .lead { margin-inline: auto; }
.ph--full-bottom .eyebrow, .ph--full-bottom .ph-facts, .ph--full-bottom .btn-row { justify-content: center; }
.ph--full-bottom .eyebrow::before { display: none; }
.hotline__live, .sh-live { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--alert); margin: 0 0 1rem; }
.hotline .btn { width: 100%; }

/* — diptych : arche + cartouche (prix ou numéro d'article) */
.ph-media--diptych { position: relative; width: min(100%, 420px); margin: 0 0 0 auto; }
.ph--diptych-rev .ph-media--diptych { margin: 0 auto 0 0; }
.ph-card {
  position: absolute; left: -56px; top: 16%; min-width: 150px; text-align: center;
  background: var(--forest); color: var(--stone); padding: 40px 24px 22px;
  border-radius: 120px 120px 14px 14px / 90px 90px 14px 14px; box-shadow: var(--shadow);
}
.ph--diptych-rev .ph-card { left: auto; right: -56px; }
.ph-card span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); }
.ph-card strong { display: block; font: italic 400 2.4rem/1.15 var(--serif); margin: .1em 0; white-space: nowrap; }
.ph-card span:last-child { text-transform: none; letter-spacing: 0; color: #cfc8ba; font-size: .8rem; }

/* — half : photo à fond perdu jusqu'au bord de l'écran */
.ph--half, .ph--half-rev { min-height: min(78vh, 680px); }
.ph-media--half { position: absolute; top: 0; bottom: 0; right: 0; width: 44vw; margin: 0; border-top-left-radius: 320px 280px; overflow: hidden; }
.ph--half-rev .ph-media--half { right: auto; left: 0; border-radius: 0 320px 0 0 / 0 280px 0 0; }
.ph-media--half img { width: 100%; height: 100%; object-fit: cover; }
.ph--half .breadcrumb, .ph--half .ph-text { max-width: 50%; }
.ph--half-rev .breadcrumb, .ph--half-rev .ph-text { margin-left: 52%; max-width: 48%; }
.ph--half .ph-grid, .ph--half-rev .ph-grid { display: block; }

/* — map : carte de la zone */
.map-card { margin: 0; background: var(--forest-2); border: 1px solid rgba(217, 179, 110, .3); border-radius: 26px; padding: 14px 14px 18px; }
.zone-map { width: 100%; height: auto; color: var(--stone); }
.map-seine { fill: none; stroke: #3d7262; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.map-river { fill: #9cc0b2; font: italic 12px var(--serif); }
.map-dot { fill: var(--stone); opacity: .45; }
.map-route { stroke: var(--brass-light); stroke-width: 2; stroke-dasharray: 5 6; }
.map-melun { fill: var(--stone); stroke: var(--forest); stroke-width: 3; }
.map-town { fill: var(--brass-light); }
.map-ping { fill: none; stroke: var(--brass-light); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s var(--ease) infinite; }
.map-label { fill: var(--stone); font: 700 13px var(--sans); }
.map-label--town { fill: var(--brass-light); font: italic 500 17px var(--serif); }
.map-card figcaption { text-align: center; font-size: .9rem; color: #cfc8ba; margin-top: 8px; }
.map-card figcaption strong { color: var(--stone); }
.ville-photo { aspect-ratio: 16 / 10; border-radius: 200px 200px 14px 14px / 130px 130px 14px 14px; margin-bottom: 20px; }

/* — mosaic (page Services) : mur de petites arches */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 32px; }
.mosaic__item { text-decoration: none; color: var(--stone); font-size: .85rem; font-weight: 600; display: grid; gap: 8px; transition: transform .5s var(--ease); }
.mosaic__item:nth-child(3n + 2) { transform: translateY(32px); }
.mosaic__item .arch { aspect-ratio: 3 / 4; display: block; }
.mosaic__item:hover { transform: translateY(-6px); }
.mosaic__item:nth-child(3n + 2):hover { transform: translateY(26px); }
.mosaic__item:hover img { transform: scale(1.06); }

/* — featured (Blog) : article à la une */
.featured { display: grid; gap: 10px; width: min(100%, 460px); margin-left: auto; text-decoration: none; color: var(--ink); }
.featured .arch { aspect-ratio: 5 / 4; border-radius: 220px 220px 14px 14px / 170px 170px 14px 14px; box-shadow: var(--shadow); }
.featured:hover img { transform: scale(1.05); }
.featured__tag { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-top: 8px; }
.featured__title { font: 450 1.6rem/1.2 var(--serif); }
.featured__more { font-weight: 700; }
.featured__more::after { content: " →"; display: inline-block; transition: transform .35s var(--ease); }
.featured:hover .featured__more::after { transform: translateX(4px); }

/* — contact : la ligne directe dans une arche */
.hotline {
  width: min(100%, 420px); margin-left: auto; text-align: center; background: var(--forest); color: var(--stone);
  border-radius: 210px 210px 26px 26px / 150px 150px 26px 26px; padding: 72px 32px 32px; box-shadow: var(--shadow);
}
.hotline__live { color: #ff9b8f; }
.hotline__num { display: block; font: 500 clamp(2rem, 1.4rem + 2vw, 2.7rem)/1.1 var(--serif); color: var(--brass-light); text-decoration: none; white-space: nowrap; }
.hotline__hours { margin: 1.6rem 0; display: grid; gap: 0; text-align: left; }
.hotline__hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(217, 179, 110, .25); font-size: .92rem; }
.hotline__hours dt { color: #cfc8ba; }
.hotline__hours dd { margin: 0; font-weight: 700; text-align: right; }

@media (max-width: 960px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph--arch-rev .ph-text, .ph--diptych-rev .ph-text { order: 0; }
  .ph-media--arch, .ph-media--keyhole, .ph-media--round, .ph-media--diptych,
  .ph--arch-rev .ph-media--arch, .ph--diptych-rev .ph-media--diptych { margin: 8px auto 0; width: min(100% - 40px, 360px); }
  .ph-float { left: -20px; bottom: 24px; }
  .ph--arch-rev .ph-float { right: -20px; }
  .ph-card { left: -24px; padding: 32px 18px 16px; min-width: 120px; }
  .ph-card strong { font-size: 1.9rem; }
  .ph--diptych-rev .ph-card { right: -24px; }
  .ph--full, .ph--full-bottom { min-height: 0; }
  .ph--full .ph-grid, .ph--full-bottom .ph-grid { padding-top: 26vh; }
  .ph-bg::after { background: linear-gradient(0deg, rgba(15, 42, 36, .98) 30%, rgba(15, 42, 36, .55) 100%); }
  .hotline, .featured { margin-inline: auto; }
  .ph--half, .ph--half-rev { min-height: 0; }
  .ph--half .breadcrumb, .ph--half .ph-text, .ph--half-rev .breadcrumb, .ph--half-rev .ph-text { max-width: none; margin-left: 0; }
  .ph-media--half, .ph--half-rev .ph-media--half {
    position: relative; inset: auto; width: auto; height: 300px; margin: 36px calc(-1 * var(--gutter)) calc(-1 * clamp(64px, 9vw, 120px));
    border-radius: 220px 220px 0 0 / 170px 170px 0 0;
  }
  .ph--doc .ph-motif, .ph--doc-rev .ph-motif { opacity: .1; }
  .ph-motif { width: 260px; }
}
@media (max-width: 560px) {
  /* trois chiffres clés côte à côte, même sur petit écran */
  .ph-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ph-facts li { padding: 0 10px; }
  .ph-facts strong { font-size: 1.12rem; }
  .ph-facts span { display: block; font-size: .76rem; line-height: 1.35; }
  .mosaic { gap: 10px; }
  .mosaic__name { display: none; }
}

/* Méta d'article, prix de départ */
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: #cfc8ba; margin-top: 1rem; }
.from-price { display: inline-block; line-height: 1.7; margin-top: 1.2rem; padding: .55em 1.1em; border: 1px solid rgba(217, 179, 110, .5); border-radius: 999px; color: #e9e2d4; }
.from-price strong { font: 500 1.35rem/1 var(--serif); color: var(--brass-light); margin-inline: .25em; }

/* ---------- 9 bis. En-tête des pages services (.sh) ----------
   Fond clair, photo entièrement dégagée (aucun filigrane ni carte posée dessus),
   puis un bandeau : geste du métier animé + chiffres clés. */
.sh {
  background: linear-gradient(180deg, var(--paper) 0%, var(--stone) 100%);
  padding-block: clamp(24px, 3vw, 40px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--stone-3);
}
.sh--urgent { border-top: 6px solid var(--alert); }
.sh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sh h1 { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4.1rem); }
.sh-live { margin-bottom: .8rem; }
.sh-live .pulse-dot { background: var(--alert); }
.sh-live .pulse-dot::after { border-color: var(--alert); }
.sh-price {
  display: inline-grid; margin-top: 1.4rem; padding: 12px 22px 14px;
  border-left: 3px solid var(--brass); border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, .6);
}
.sh-price span { font-size: .82rem; color: var(--ink-soft); }
.sh-price strong { font: 500 clamp(1.9rem, 1.5rem + 1vw, 2.4rem)/1.1 var(--serif); color: var(--forest); }

/* Photo : grande arche, un filet laiton décalé dépasse derrière, sans la recouvrir */
.sh-photo { position: relative; isolation: isolate; margin: 0 0 0 auto; width: min(100%, 620px); }
.sh-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid var(--brass); border-radius: 300px 300px 24px 24px / 230px 230px 24px 24px;
}
.sh-photo__frame {
  aspect-ratio: 5 / 4; overflow: hidden; background: var(--stone-3);
  border-radius: 300px 300px 24px 24px / 230px 230px 24px 24px;
  box-shadow: 0 40px 70px -40px rgba(15, 42, 36, .55);
}
.sh-photo__frame img { width: 100%; height: 100%; object-fit: cover; animation: sh-zoom 1.8s var(--ease) both; }
@keyframes sh-zoom { from { transform: scale(1.08); } to { transform: none; } }

/* Bandeau sous l'en-tête */
.sh-strip { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 64px); }
.sh-gesture { margin: 0; display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 22px; align-items: center; padding: 16px 24px; }
.sh-gesture.gesture svg { max-height: 140px; }
.sh-gesture.gesture figcaption { margin: 0; text-align: left; font-style: normal; font-size: .93rem; line-height: 1.55; }
.sh-gesture figcaption strong { display: block; font: 500 1.1rem/1.3 var(--serif); color: var(--forest); margin-bottom: 4px; }
.sh-facts { list-style: none; margin: 0; padding: 22px 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; background: var(--forest); color: var(--stone); border-radius: 22px; }
.sh-facts li { padding: 2px 18px; border-left: 1px solid rgba(217, 179, 110, .3); }
.sh-facts li:first-child { border-left: 0; }
.sh-facts strong { display: block; font: 500 clamp(1.2rem, 1rem + .6vw, 1.55rem)/1.15 var(--serif); color: var(--brass-light); }
.sh-facts span { display: block; font-size: .82rem; line-height: 1.4; color: #cfc8ba; margin-top: 4px; }

/* Texte d'introduction des services, en deux colonnes éditoriales */
.prose--cols { max-width: none; columns: 2 340px; column-gap: clamp(32px, 5vw, 72px); }
.prose--cols h2 { column-span: all; max-width: 760px; margin-top: 0; }
.prose--cols p { break-inside: avoid; }

@media (max-width: 960px) {
  .sh-grid, .sh-strip { grid-template-columns: 1fr; }
  .sh-photo { margin: 8px auto 0; width: min(100% - 18px, 560px); }
}
@media (max-width: 560px) {
  .sh-gesture { grid-template-columns: 1fr; text-align: center; }
  .sh-gesture svg { max-height: 120px; }
  .sh-gesture.gesture figcaption { text-align: center; }
  .sh-facts li { padding: 2px 10px; }
  .sh-facts strong { font-size: 1.1rem; }
  .sh-facts span { font-size: .75rem; }
}

/* Fil d'Ariane */
.breadcrumb { margin-bottom: clamp(24px, 4vw, 48px); font-size: .88rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li { display: flex; align-items: center; color: #cfc8ba; }
.breadcrumb li + li::before { content: "/"; margin: 0 .6em; color: var(--brass-light); }
.breadcrumb a { color: var(--stone); text-decoration: none; border-bottom: 1px solid rgba(217, 179, 110, .5); }
.breadcrumb a:hover { border-color: var(--brass-light); }

/* ---------- 10. Illustrations SVG animées des services ---------- */
.gesture { background: var(--paper); border-radius: 22px; border: 1px solid var(--stone-3); padding: 24px; }
.gesture svg { width: 100%; height: auto; max-height: 300px; margin-inline: auto; }
.gesture figcaption { font-size: .9rem; color: var(--ink-soft); text-align: center; margin-top: 12px; font-style: italic; }
.gesture * { transform-box: fill-box; }
.gesture .a { transform-origin: 50% 50%; }
.gesture .hinge-l { transform-origin: 0 50%; }
.gesture .a { animation-duration: 4s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.6, 0, .3, 1); animation-play-state: paused; }
.gesture.is-playing .a { animation-play-state: running; }
/* ouverture : la plaque glisse, le pêne recule */
@keyframes g-slide-down { 0%, 10% { transform: translateY(-40px); } 45%, 75% { transform: translateY(0); } 100% { transform: translateY(-40px); } }
@keyframes g-latch { 0%, 35% { transform: translateX(0); } 55%, 80% { transform: translateX(-26px); } 100% { transform: translateX(0); } }
@keyframes g-door-open { 0%, 60% { transform: scaleX(1); } 80%, 90% { transform: scaleX(.86); } 100% { transform: scaleX(1); } }
/* blindage : les plaques viennent se fixer */
@keyframes g-plate { 0%, 10% { transform: translateX(-120%); opacity: 0; } 40%, 85% { transform: none; opacity: 1; } 100% { transform: translateX(-120%); opacity: 0; } }
@keyframes g-screw { 0%, 40% { transform: rotate(0); opacity: 0; } 45% { opacity: 1; } 70%, 85% { transform: rotate(360deg); opacity: 1; } 100% { opacity: 0; } }
/* cylindre : l'ancien sort, le nouveau entre */
@keyframes g-cyl-out { 0%, 10% { transform: translateX(0); opacity: 1; } 40% { transform: translateX(120px); opacity: 0; } 100% { transform: translateX(120px); opacity: 0; } }
@keyframes g-cyl-in { 0%, 45% { transform: translateX(-120px); opacity: 0; } 75%, 92% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
/* pose de porte : le vantail pivote sur ses paumelles */
@keyframes g-hang { 0%, 10% { transform: translateY(-30px) scaleX(.6); opacity: 0; } 40% { transform: translateY(0) scaleX(.6); opacity: 1; } 70%, 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* multipoint : les pênes sortent un à un */
@keyframes g-bolt { 0%, 20% { transform: translateX(0); } 40%, 75% { transform: translateX(22px); } 95%, 100% { transform: translateX(0); } }
@keyframes g-bolt-v { 0%, 20% { transform: translateY(0); } 40%, 75% { transform: translateY(var(--dy, -18px)); } 95%, 100% { transform: translateY(0); } }
@keyframes g-turn { 0%, 15% { transform: rotate(0); } 40%, 75% { transform: rotate(-180deg); } 95%, 100% { transform: rotate(0); } }
/* urgence : aiguilles qui tournent */
@keyframes g-spin { to { transform: rotate(360deg); } }
@keyframes g-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
/* connectée : touches, ondes */
@keyframes g-blink { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes g-wave { 0%, 100% { opacity: 0; } 30%, 60% { opacity: 1; } }
/* reproduction : la clé passe sous la fraise */
@keyframes g-carriage { 0%, 10% { transform: translateX(-60px); } 80% { transform: translateX(60px); } 100% { transform: translateX(-60px); } }
/* coffre : la molette hésite */
@keyframes g-dial { 0% { transform: rotate(0); } 25% { transform: rotate(140deg); } 50% { transform: rotate(-60deg); } 75% { transform: rotate(210deg); } 100% { transform: rotate(0); } }
@keyframes g-handle { 0%, 75% { transform: rotate(0); } 85%, 95% { transform: rotate(90deg); } 100% { transform: rotate(0); } }

/* ---------- 11. Contenu éditorial (articles, pages légales) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose a { color: var(--forest); font-weight: 600; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose blockquote, .prose .tip {
  margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--brass); background: var(--paper); border-radius: 0 14px 14px 0;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--stone-3); vertical-align: top; }
.prose th { font-family: var(--serif); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { background: var(--paper); border-radius: 18px; padding: 24px; border: 1px solid var(--stone-3); }
.aside-card h2 { font-size: 1.25rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.aside-card--forest { background: var(--forest); color: var(--stone); border: 0; }
.sources { font-size: .95rem; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* Liste d'articles */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.post-card .arch { aspect-ratio: 16 / 10; border-radius: 180px 180px 12px 12px / 110px 110px 12px 12px; }
.post-card:hover .arch img { transform: scale(1.05); }
.post-card h2, .post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card a { text-decoration: none; }
.post-card a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.post-card .tag { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }

/* ---------- 12. Formulaire ---------- */
.form { display: grid; gap: 18px; background: var(--paper); padding: clamp(24px, 4vw, 40px); border-radius: 24px; border: 1px solid var(--stone-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--stone-3);
  background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(184, 137, 59, .25); }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--forest); flex: none; }
.field--check label { font-weight: 400; margin: 0; }
.form__status { font-weight: 600; min-height: 1.5em; margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--forest); color: var(--brass-light); }
.contact-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }

/* ---------- 13. Pied de page ---------- */
.site-footer { background: var(--forest); color: #d8d2c6; padding-block: clamp(56px, 8vw, 96px) 32px; font-size: .95rem; }
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-grid h2 { font-size: 1.1rem; color: var(--brass-light); margin-bottom: 1em; font-family: var(--sans); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .brand { color: var(--stone); margin-bottom: 18px; }
.footer-brand .brand__tag { color: var(--brass-light); }
.footer-phone { font: 500 1.6rem/1.1 var(--serif); color: var(--stone) !important; display: inline-block; margin: 6px 0 12px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(217, 179, 110, .25); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .85rem; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bouton d'appel flottant (mobile) */
.call-fab {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90;
  display: none; justify-content: center; box-shadow: 0 14px 30px -10px rgba(143, 29, 23, .65);
  min-height: 56px; font-size: 1.05rem;
}
@media (max-width: 760px) {
  .call-fab { display: inline-flex; }
  body { padding-bottom: 84px; }
}

/* Page 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__num { font: italic 300 clamp(6rem, 20vw, 12rem)/1 var(--serif); color: var(--brass-ink); }

/* ---------- 14. Mouvement réduit : tout est statique ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .unlock .w { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero__sticky { position: relative; top: 0; height: auto; min-height: calc(100svh - var(--header-h)); }
  .hero__sticky::after { display: none; }
  .hero__stage { position: static; height: auto; }
  .door { height: auto; width: min(100%, 460px); }
  .door__leaf, .door__lock, .door__key { display: none; }
  .door__photo { transform: none; }
  .door__caption { opacity: 1; }
  .hero__hint { display: none; }
}
