/* Jaco Service · feuille de style
   Concept de mise en page : le calepinage. Une trame de carreaux (joints fins) structure
   les sections ; le monogramme JS du logo s'assemble au scroll.
   Couleurs reprises du logo (marine + bleu). Look unique assumé, pas de mode sombre automatique. */

:root {
  --stone: #eceef1;      /* fond principal, gris pierre légèrement bleuté */
  --paper: #f7f8fa;      /* surfaces claires */
  --ink: #061631;        /* marine profond (dérivé du marine du logo #052148) */
  --ink-2: #0c2246;      /* marine secondaire */
  --vein: #5d6a7d;       /* texte secondaire */
  --vein-light: #a4b0c2; /* texte secondaire sur fond sombre */
  --joint: rgba(6, 22, 49, .13);         /* joint sur fond clair */
  --joint-dark: rgba(247, 248, 250, .14); /* joint sur fond sombre */
  --blue: #0363ca;       /* bleu du logo */
  --blue-light: #3a8ee8; /* bleu du logo, version lisible sur fond sombre */

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-variation-settings: "wdth" 125;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--vein);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--blue); transform: rotate(45deg); flex: none; }
.dark .eyebrow { color: var(--vein-light); }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 112px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; }
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-body);
  font-variation-settings: "wdth" 115;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 34em; color: var(--ink-2); margin: 0; }
.dark .lead { color: var(--vein-light); }
.muted { color: var(--vein); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }

/* ---------- Boutons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: var(--paper);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bg);
  text-decoration: none;
  font-variation-settings: "wdth" 115;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { border-color: var(--blue); color: #fff; }
.btn .arr { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn .arr::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 26px; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--ink); }
.dark .btn--ghost, .hero .btn--ghost { --b-fg: var(--paper); border-color: rgba(246,245,242,.6); }
.dark .btn:not(.btn--ghost), .hero .btn:not(.btn--ghost) { --b-bg: var(--paper); --b-fg: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.wa-ico { width: 18px; height: 18px; flex: none; }

/* ---------- Placeholders « à compléter » ---------- */
.todo {
  display: inline-block;
  font-family: var(--f-mono); font-size: 12px; line-height: 1.4;
  padding: 3px 8px;
  border: 1px dashed #c47a00; color: #8a5600; background: rgba(255, 196, 0, .14);
  border-radius: 2px;
}
.dark .todo { color: #ffcf66; border-color: #ffcf66; background: rgba(255, 196, 0, .08); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
  color: var(--paper);
}
.site-header.is-solid { background: var(--stone); color: var(--ink); box-shadow: 0 1px 0 var(--joint); }
.site-header.is-hidden { transform: translateY(-100%); }
.page-light .site-header { color: var(--ink); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: block; width: 150px; flex: none; position: relative; }
.brand img { width: 100%; height: auto; transition: opacity .4s; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .brand .logo-dark, .page-light .brand .logo-dark { opacity: 1; }
.site-header.is-solid .brand .logo-light, .page-light .brand .logo-light { opacity: 0; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 14px; letter-spacing: .02em;
  position: relative; padding-block: 6px;
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 18px; }

.lang {
  display: inline-flex; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em;
  border: 1px solid currentColor; border-radius: 99px; padding: 2px; opacity: .85;
}
.lang button { background: none; border: 0; padding: 4px 9px; border-radius: 99px; cursor: pointer; opacity: .6; transition: background .3s, color .3s, opacity .3s; }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); opacity: 1; }
.site-header.is-solid .lang button[aria-pressed="true"],
.page-light .site-header:not(.menu-force-light) .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
body.menu-open .site-header .lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

.header-cta { padding: 11px 18px; font-size: 12px; }
.site-header:not(.is-solid) .header-cta { --b-bg: var(--paper); --b-fg: var(--ink); }
.page-light .site-header .header-cta { --b-bg: var(--ink); --b-fg: var(--paper); }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 6px) var(--gutter) 22px;
  display: grid; gap: 22px; max-height: 100svh; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease); visibility: hidden;
  box-shadow: 0 24px 60px rgba(6,22,49,.35);
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
body.menu-open .site-header, body.menu-open.page-light .site-header { color: var(--paper); background: transparent; box-shadow: none; }
body.menu-open .site-header .brand .logo-dark { opacity: 0; }
body.menu-open .site-header .brand .logo-light { opacity: 1; }
.mm-links { display: grid; border-top: 1px solid var(--joint-dark); }
.mm-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 2px; border-bottom: 1px solid var(--joint-dark);
  font-family: var(--f-body); font-size: 18px; font-weight: 400; letter-spacing: .01em; text-decoration: none;
}
.mm-links a i { font-style: normal; color: var(--blue-light); font-size: 16px; transition: transform .3s var(--ease); }
.mm-links a:active i, .mm-links a:hover i { transform: translateX(4px); }
.mm-links a[aria-current="page"] { color: var(--blue-light); }
.mm-foot { display: grid; gap: 16px; }
.mm-foot .btn { --b-bg: var(--paper); --b-fg: var(--ink); justify-content: center; min-height: 52px; }
.mm-contact { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--vein-light); }
.mm-tel { color: var(--paper); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .02em; }
.mm-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(6,22,49,.5); opacity: 0; pointer-events: none; transition: opacity .4s; }
body.menu-open .mm-backdrop { opacity: 1; pointer-events: auto; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
}

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; color: var(--paper); background: var(--ink);
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero-media iframe { width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,14,32,.66) 0%, rgba(4,14,32,.42) 35%, rgba(4,14,32,.58) 60%, rgba(4,14,32,.92) 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; }
.hero-in { width: 100%; padding-block: calc(var(--header-h) + 80px) clamp(36px, 6vw, 72px); display: grid; gap: 34px; }
.hero .display { max-width: 11ch; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.hero-bottom .lead { color: rgba(246,245,242,.86); max-width: 30em; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: rgba(246,245,242,.75); padding-top: 22px; border-top: 1px solid var(--joint-dark); width: 100%; }
.hero-meta b { color: var(--paper); font-weight: 500; }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-mask > span { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.dark { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .eyebrow { margin-bottom: 22px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* Manifeste + monogramme */
.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.monogram { width: 100%; max-width: 440px; aspect-ratio: 1; justify-self: center; }
.monogram svg { width: 100%; height: 100%; overflow: visible; }
.monogram .mg { transform-box: fill-box; transform-origin: 50% 50%; }
.manifesto-text { display: grid; gap: 26px; }
.manifesto-text .h2 { font-size: clamp(30px, 3.6vw, 50px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--joint); margin-top: 12px; }
.facts > div { padding: 20px 18px 4px 0; display: grid; gap: 6px; }
.facts > div + div { padding-left: 18px; border-left: 1px solid var(--joint); }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--vein); }
.facts dd { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }
@media (max-width: 820px) {
  .manifesto { grid-template-columns: 1fr; }
  .monogram { max-width: 280px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--joint); }
}

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--joint); padding-block: 22px; white-space: nowrap; }
.dark .marquee, .marquee.on-dark { border-color: var(--joint-dark); }
.marquee-track { display: inline-flex; gap: 48px; align-items: center; will-change: transform; }
.marquee-track span { font-family: var(--f-display); font-style: italic; font-size: clamp(28px, 3.4vw, 46px); }
.marquee-track i { width: 10px; height: 10px; background: var(--blue); transform: rotate(45deg); flex: none; }

/* Prestations (liste) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--joint-dark); }
.svc {
  display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr) 160px; gap: 24px; align-items: center;
  padding-block: 28px; border-bottom: 1px solid var(--joint-dark);
  position: relative;
}
.svc-tag { font-family: var(--f-mono); font-size: 12px; color: var(--vein-light); }
.svc h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; margin: 0; transition: transform .6s var(--ease), color .4s; }
.svc p { margin: 0; color: var(--vein-light); font-size: 15.5px; max-width: 36em; }
.svc-thumb { width: 160px; aspect-ratio: 4/3; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path .7s var(--ease); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1s var(--ease); }
.svc:hover h3 { transform: translateX(10px); color: #fff; }
.svc:hover .svc-thumb { clip-path: inset(0 0 0 0); }
.svc:hover .svc-thumb img { transform: scale(1); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 10px; }
  .svc-thumb { width: 100%; clip-path: none; aspect-ratio: 16/9; order: -1; }
  .svc-thumb img { transform: none; }
}

/* Réalisations : bande horizontale */
.reel { overflow: hidden; }
.reel-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; }
.reel-item { width: clamp(260px, 30vw, 440px); flex: none; display: grid; gap: 14px; text-decoration: none; }
.reel-item:nth-child(even) { margin-top: clamp(30px, 6vw, 90px); }
.reel-img { overflow: hidden; aspect-ratio: 4/5; background: var(--ink-2); }
.reel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel-item:hover .reel-img img { transform: scale(1.05); }
.reel-cap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.reel-cap .h3 { font-size: 17px; }
@media (max-width: 760px) {
  .reel { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .reel-item { scroll-snap-align: start; width: 78vw; }
  .reel-item:nth-child(even) { margin-top: 0; }
}

/* Avis */
.reviews-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.rating { display: flex; align-items: center; gap: 18px; }
.rating-num { font-family: var(--f-display); font-size: clamp(56px, 6vw, 84px); line-height: 1; }
.stars { display: flex; gap: 3px; color: var(--blue); }
.stars svg { width: 16px; height: 16px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--joint); }
.review { padding: 34px 28px 30px 0; display: grid; gap: 18px; align-content: start; }
.review + .review { padding-left: 28px; border-left: 1px solid var(--joint); }
.review blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; }
.review figcaption { font-size: 14px; color: var(--vein); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.review figcaption b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .review, .review + .review { padding: 28px 0; border-left: 0; }
  .review + .review { border-top: 1px solid var(--joint); }
}

/* Zone d'intervention */
.zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.zone-map { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.zone-map > svg { width: 100%; height: 100%; }
.zone-map { isolation: isolate; z-index: 0; }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.zone-list li { border: 1px solid var(--joint); padding: 7px 14px; font-size: 14px; }
@media (max-width: 820px) { .zone { grid-template-columns: 1fr; } }

/* CTA final */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band .bgimg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bgimg img { width: 100%; height: 120%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 14, 13, .72); }
.cta-in { display: grid; gap: 34px; justify-items: start; }
.cta-in .display { font-size: clamp(42px, 6.4vw, 96px); max-width: 14ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 110px) 34px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.foot-grid h4 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--vein-light); margin: 0 0 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; opacity: .9; }
.foot-grid a:hover { color: var(--blue); opacity: 1; }
.foot-brand img { width: 150px; margin-bottom: 18px; }
.foot-brand p { color: var(--vein-light); max-width: 28em; margin: 0; font-size: 15px; }
.foot-bottom { margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--joint-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--vein-light); }
.foot-bottom a { color: inherit; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding-block: calc(var(--header-h) + clamp(64px, 9vw, 130px)) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero .display { font-size: clamp(46px, 7vw, 104px); max-width: 13ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; color: var(--vein); display: flex; gap: 10px; }
.crumbs a { text-decoration: none; }

/* Grille réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { border: 1px solid var(--joint); background: transparent; padding: 9px 16px; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.work { margin: 0; display: grid; gap: 12px; cursor: zoom-in; }
.work .w-img { overflow: hidden; background: var(--ink-2); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.work figcaption span:last-child { color: var(--vein); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.w-a { grid-column: span 7; } .w-a .w-img { aspect-ratio: 4/3.4; }
.w-b { grid-column: span 5; } .w-b .w-img { aspect-ratio: 4/5; }
.w-c { grid-column: span 4; } .w-c .w-img { aspect-ratio: 4/5; }
.w-d { grid-column: span 8; } .w-d .w-img { aspect-ratio: 16/10; }
.w-e { grid-column: span 6; } .w-e .w-img { aspect-ratio: 1; }
.work.is-out { display: none; }
@media (max-width: 760px) { .work-grid > .work { grid-column: 1 / -1; } }
.slot-note { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--joint); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,11,.94); display: grid; place-items: center; padding: 56px 16px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; width: auto; max-width: min(1100px, 100%); object-fit: contain; }
.lightbox p { color: var(--paper); margin: 14px 0 0; text-align: center; font-size: 14px; }
.lb-close, .lb-nav { position: absolute; background: none; border: 1px solid rgba(246,245,242,.4); color: var(--paper); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* Prestations détaillées */
.svc-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 100px); align-items: center; padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--joint); }
.svc-detail:nth-child(even) .sd-img { order: 2; }
.sd-img { overflow: hidden; aspect-ratio: 4/5; background: var(--ink-2); }
.sd-img img { width: 100%; height: 115%; object-fit: cover; }
.sd-body { display: grid; gap: 22px; }
.sd-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--joint); }
.sd-body li { padding: 13px 0; border-bottom: 1px solid var(--joint); display: flex; gap: 14px; align-items: baseline; }
.sd-body li::before { content: ""; width: 7px; height: 7px; border: 1.3px solid var(--blue); transform: rotate(45deg) translateY(-2px); flex: none; }
@media (max-width: 820px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail:nth-child(even) .sd-img { order: 0; } .sd-img { aspect-ratio: 4/3; } }

/* Méthode (étapes) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--joint-dark); counter-reset: step; }
.step { padding: 30px 24px 10px 0; display: grid; gap: 14px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--joint-dark); }
.step-n { font-family: var(--f-mono); font-size: 12px; color: var(--blue); }
.step p { margin: 0; color: var(--vein-light); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--joint-dark); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; border-left: 0; } .step + .step { border-top: 1px solid var(--joint-dark); } }

/* À propos */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.about-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--ink-2); position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body { display: grid; gap: 26px; }
.about-body p { margin: 0; max-width: 36em; }
.values { display: grid; gap: 0; border-top: 1px solid var(--joint); margin-top: 10px; }
.values div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--joint); }
.values dt { font-family: var(--f-display); font-size: 24px; }
.values dd { margin: 0; color: var(--vein); }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } .about-photo { position: relative; top: 0; } .values div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Contact / questionnaire ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.quiz { background: var(--paper); padding: clamp(24px, 4vw, 52px); position: relative; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 34px; }
.quiz-progress span { flex: 1; height: 3px; background: var(--joint); position: relative; overflow: hidden; }
.quiz-progress span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.quiz-progress span.done::after { transform: scaleX(1); }
.q-step { display: none; }
.q-step.is-active { display: grid; gap: 22px; animation: qIn .6s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.q-count { font-family: var(--f-mono); font-size: 12px; color: var(--vein); }
.q-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; align-items: center; gap: 14px; padding: 18px 18px; border: 1px solid var(--joint); cursor: pointer;
  transition: border-color .3s, background .3s;
  font-size: 15.5px; min-height: 64px;
}
.choice label::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--vein); flex: none; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.choice label:hover { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--ink); background: var(--stone); }
.choice input:checked + label::before { transform: rotate(45deg); border-color: var(--blue); background: var(--blue); }
.choice input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; letter-spacing: .04em; color: var(--vein); }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--vein); background: transparent; padding: 10px 0; font: inherit; font-size: 17px; color: var(--ink); border-radius: 0;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 520px) { .fields-2 { grid-template-columns: 1fr; } }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.q-back { background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--vein); text-decoration: underline; text-underline-offset: 4px; }
.q-back[hidden] { display: none; }
.q-error { color: #a33a1f; font-size: 14px; margin: 0; min-height: 1.4em; }
.q-summary { background: var(--stone); padding: 20px; font-size: 15px; white-space: pre-wrap; font-family: var(--f-mono); font-size: 13px; line-height: 1.6; max-height: 260px; overflow: auto; }
.contact-side { display: grid; gap: 26px; }
.contact-card { border-top: 1px solid var(--joint); padding-top: 18px; display: grid; gap: 6px; }
.contact-card h3 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--vein); margin: 0; }
.contact-card p, .contact-card a { margin: 0; font-family: var(--f-display); font-size: 26px; line-height: 1.2; text-decoration: none; }
.contact-card small { color: var(--vein); font-size: 14px; }
.copy-btn { justify-self: start; background: none; border: 1px solid var(--joint); padding: 6px 12px; font-size: 12px; cursor: pointer; font-family: var(--f-mono); }

/* Mentions légales */
.legal { max-width: 760px; display: grid; gap: 34px; }
.legal section { display: grid; gap: 10px; border-top: 1px solid var(--joint); padding-top: 22px; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 28px; margin: 0; }
.legal p { margin: 0; }

/* ---------- Animations (états de départ posés par JS uniquement) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Accents sur fond sombre : bleu clair pour le contraste */
.dark .eyebrow::before, .hero .eyebrow::before { border-color: var(--blue-light); }
.dark .btn:not(.btn--ghost):hover, .hero .btn:hover { color: #fff; }
.step-n { color: var(--blue-light); }
.site-footer .foot-grid a:hover { color: var(--blue-light); }

/* ---------- Réalisations : note d'emplacement ---------- */
.slot-note { grid-column: span 8; }
.work figcaption span:last-child { white-space: nowrap; }

/* ---------- Optimisation téléphone (≤ 600 px) ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding-block: 72px; }
  .section--tight { padding-block: 48px; }
  .sec-head { margin-bottom: 36px; gap: 18px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-in { padding-block: calc(var(--header-h) + 48px) 28px; gap: 24px; }
  .hero .display { font-size: clamp(52px, 15vw, 64px); }
  .hero-grid { opacity: .25; }
  .hero-bottom { gap: 22px; }
  .hero-bottom .lead { font-size: 17px; }
  .hero-meta { gap: 6px 16px; padding-top: 16px; font-size: 11px; padding-right: 64px; }

  /* Boutons pleine largeur, faciles à toucher */
  .btn-row { width: 100%; flex-direction: column; }
  .btn-row > .btn, .cta-in > .btn, .q-next, .contact-side > .btn { width: 100%; justify-content: center; min-height: 54px; }
  .q-nav { flex-direction: column-reverse; align-items: stretch; }
  .q-back { text-align: center; }

  /* Titres de pages intérieures */
  .page-hero { padding-block: calc(var(--header-h) + 40px) 36px; }
  .page-hero .display { font-size: clamp(44px, 12.5vw, 56px); }
  .page-hero-grid { opacity: .4; }

  /* Monogramme plus compact */
  .monogram { max-width: 200px; }
  .manifesto { gap: 36px; }

  /* Avis, carte, réalisations */
  .rating-num { font-size: 56px; }
  .review blockquote { font-size: 19px; }
  .zone-map { max-width: 100%; }
  .slot-note { grid-column: 1 / -1; }
  .filters { gap: 6px; margin-bottom: 28px; }
  .filters button { padding: 10px 14px; }
  .cta-in .display { font-size: clamp(40px, 11vw, 52px); }
  .quiz { padding: 22px 18px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .q-title { font-size: 28px; }
  .choice label { min-height: 58px; padding: 14px 16px; }

  /* Bouton WhatsApp flottant un peu plus petit, sans masquer le bas de page */
  .wa-float { width: 52px; height: 52px; right: 14px; }
  .site-footer { padding-bottom: 96px; }
}


/* ---------- Fluidité : calques GPU pour les éléments animés ---------- */
[data-parallax], .marquee-track, .reel-track { will-change: transform; }

/* ---------- Leaflet 1.9.4 (feuille de style de la librairie, intégrée) ---------- */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}


/* ---------- Carte de la zone d'intervention ---------- */
.zone-map.has-map { aspect-ratio: 4 / 4.2; max-width: 620px; background: var(--paper); border: 1px solid var(--joint); position: relative; }
.zone-map.has-map > svg { display: none; }
.zone-map .lmap { position: absolute; inset: 0; background: #e9ebee; }
.zone-map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.zone-map .leaflet-control-attribution { font-size: 10px; background: rgba(247,248,250,.85); }
.zone-map .leaflet-control-zoom a { color: var(--ink); border-radius: 0 !important; }
.zone-map .leaflet-bar { border: 1px solid var(--joint); border-radius: 0; box-shadow: none; }
.map-label { background: transparent; border: 0; box-shadow: none; padding: 0; font: 600 13px/1 var(--f-body); color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; }
.map-label::before { display: none; }
.map-zone-label { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.map-legend { position: absolute; left: 12px; bottom: 12px; z-index: 500; background: var(--paper); border: 1px solid var(--joint); padding: 10px 12px; display: grid; gap: 6px; font-size: 13px; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 14px; height: 10px; background: rgba(3,99,202,.18); border: 1.5px solid var(--blue); }
.map-legend i.ge { background: rgba(6,22,49,.14); border-color: var(--ink); }
@media (max-width: 600px) { .zone-map.has-map { aspect-ratio: 1 / 1.05; } .map-legend { display: none; } }

/* ---------- Appels à l'action ---------- */
.inline-cta { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--joint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.inline-cta p { margin: 0; font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.avail { margin: 0; display: block; line-height: 1.7; color: rgba(247,248,250,.85); font-size: 15px; }
.avail-dot { display: inline-block; vertical-align: middle; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #3ccf6e; box-shadow: 0 0 0 0 rgba(60,207,110,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60,207,110,.55); } 70% { box-shadow: 0 0 0 10px rgba(60,207,110,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,110,0); } }
.work-cta { grid-column: 1 / -1; background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.work-cta .eyebrow { color: var(--vein-light); margin-bottom: 14px; }
.work-cta .h2 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); max-width: 22ch; }
.work-cta .btn:not(.btn--ghost) { --b-bg: var(--paper); --b-fg: var(--ink); }
.work-cta .btn--ghost { --b-fg: var(--paper); border-color: rgba(247,248,250,.6); }
.text-cta { justify-self: start; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--blue); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-cta span { transition: transform .4s var(--ease); }
.text-cta:hover span { transform: translateX(5px); }

/* Barre d'action fixe sur téléphone (remplace la bulle WhatsApp) */
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; z-index: 46;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .m-cta.is-on { transform: none; }
  .m-cta .btn { flex: 1; justify-content: center; min-height: 54px; box-shadow: 0 10px 30px rgba(6,22,49,.25); }
  .m-cta-wa { width: 54px; height: 54px; flex: none; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(6,22,49,.25); }
  .m-cta-wa svg { width: 26px; height: 26px; }
  .wa-float { display: none; }
  .page-contact .m-cta { display: none; }
  .page-contact .wa-float { display: grid; }
}

/* ---------- Bandeaux CTA : photo d'artisan en fond ---------- */
.cta-band .bgimg { inset: -10% 0; }
.cta-band .bgimg img { height: 100%; object-position: 62% 50%; }
.cta-band::before { background: linear-gradient(90deg, rgba(6,22,49,.9) 0%, rgba(6,22,49,.72) 45%, rgba(6,22,49,.45) 100%); }
@media (max-width: 600px) { .cta-band::before { background: linear-gradient(180deg, rgba(6,22,49,.35) 0%, rgba(6,22,49,.62) 45%, rgba(6,22,49,.85) 100%); } .cta-band .bgimg img { object-position: 70% 50%; } }
@media (min-width: 901px) { .reel-ctas { flex-direction: row; } }

/* Menu ouvert : sélecteur de langue lisible et boutons flottants masqués */
body.menu-open.page-light .site-header .lang button[aria-pressed="true"],
body.menu-open .site-header .lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
body.menu-open .wa-float, body.menu-open .m-cta { opacity: 0; pointer-events: none; }

/* Point vert « Devis gratuit » dans le haut de l'accueil */
.meta-free { display: inline-flex; align-items: center; }
.meta-free .avail-dot { margin-right: 9px; }

/* Questionnaire : envoi par e-mail */
.q-note { margin: 0; font-size: 14px; color: var(--vein); line-height: 1.5; }
.q-note b, .q-done b { color: var(--ink); font-weight: 600; }
.q-done .lead { margin: 0; max-width: 46ch; }
.q-done-help { border-top: 1px solid var(--joint); padding-top: 18px; display: grid; gap: 14px; }
.q-done-help p { margin: 0; font-size: 14px; color: var(--vein); }
.q-restart { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--vein); text-decoration: underline; cursor: pointer; }
.quiz-progress[hidden], .q-nav[hidden] { display: none !important; }
@media (max-width: 1100px) { .m-cta-mail { background: var(--ink) !important; } }
.btn--ghost .wa-ico { stroke: currentColor; }
.quiz { scroll-margin-top: 96px; }
