/* =====================================================================
   LAINER PEINTURE — STYLESHEET (mobile first)
   Colours and fonts come from the brand board. To adjust the palette,
   change the variables in :root below; everything else follows.
   ===================================================================== */

/* ---------- Fonts (self-hosted, no Google Fonts call: RGPD friendly) --- */
@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/crimsonpro-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("../fonts/crimsonpro.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Brand */
  --sauge: #4f6455;        /* brand green  (C64 M37 J58 N25) */
  --sauge-fonce: #3b4c41;
  --foret: #2e3b33;
  --rose: #d4aa9a;         /* brand rose-beige (C13 M33 J38 N0) */
  --rose-clair: #e8cfc4;
  /* Neutrals */
  --creme: #efe9da;        /* page background */
  --lin: #f7f3ea;          /* light surfaces */
  --sable: #e3dac6;
  --papier: #fffdf8;       /* form fields */
  --encre: #253029;        /* body text */
  --encre-doux: #3f4a43;   /* secondary text (high contrast for easy reading) */
  --ligne: rgba(37, 48, 41, 0.16);
  --champ: #6e7a71;        /* input borders (3:1 contrast) */
  /* Paint strokes (from the brand artwork) */
  --marine: #2f4256;
  /* Feedback */
  --erreur: #9a3a2a;
  --erreur-fond: #f4ddd6;
  --succes-fond: #dde5dc;

  --serif: "Crimson Pro", "Minion Pro", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Century Gothic", "Avenir Next", system-ui, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --header-h: 4rem;
  --focus: var(--marine);
  --radius: 2px;
}

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.125rem;   /* 18px: comfortable reading for all ages */
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); /* room for the mobile action bar */
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--sauge-fonce); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--sauge); color: var(--lin); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--lin); }

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

/* ---------- Typography ---------------------------------------------------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--sauge-fonce);
}
.h3 { font-family: var(--sans); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.prose { max-width: 62ch; }
.prose p { font-size: 1.1875rem; }
.text-link {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-weight: 500; color: var(--sauge-fonce);
  text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--encre); text-decoration-color: var(--sauge); }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.25rem; padding: 0.8rem 1.6rem;
  font: 500 1.0625rem/1.2 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn .icon-ui { flex: none; }
.btn-primary { background: var(--sauge); color: var(--lin); border-color: var(--sauge); }
.btn-primary:hover { background: var(--sauge-fonce); border-color: var(--sauge-fonce); color: var(--lin); }
.btn-ghost { background: transparent; color: var(--sauge-fonce); border-color: var(--sauge); }
.btn-ghost:hover { background: var(--sauge); color: var(--lin); }
.btn-ghost-light { background: transparent; color: var(--lin); border-color: rgba(247, 243, 234, 0.7); }
.btn-ghost-light:hover { background: var(--lin); color: var(--sauge-fonce); border-color: var(--lin); }
/* On green backgrounds the primary button becomes rose */
.on-dark .btn-primary, .hero .btn-primary, .cta-band .btn-primary {
  background: var(--rose); color: var(--encre); border-color: var(--rose);
}
.on-dark .btn-primary:hover, .hero .btn-primary:hover, .cta-band .btn-primary:hover {
  background: var(--rose-clair); border-color: var(--rose-clair); color: var(--encre);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.actions .btn { flex: 1 1 14rem; }
@media (max-width: 379px) { .call-prefix { display: none; } }
@media (min-width: 640px) { .actions .btn { flex: 0 1 auto; } }

/* ---------- Header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--ligne); }
.header-bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: block; color: var(--sauge); flex: none; margin-right: auto; padding: 0.35rem 0; }
.brand:hover { color: var(--sauge-fonce); }
.brand-full { display: none; height: 2.75rem; width: auto; }
.brand-mark { height: 1.6rem; width: auto; }
@media (min-width: 400px) {
  .brand-full { display: block; }
  .brand-mark { display: none; }
}

.header-tools { display: flex; align-items: center; gap: 0.25rem; }
.header-phone { display: none; }

.lang-switch { display: flex; align-items: center; font-weight: 500; font-size: 1rem; letter-spacing: 0.05em; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.35rem;
  color: var(--encre-doux); text-decoration: none;
}
.lang-switch a[aria-current="true"] {
  color: var(--sauge-fonce);
  text-decoration: underline; text-decoration-color: var(--rose);
  text-decoration-thickness: 2px; text-underline-offset: 0.35em;
}
.lang-switch a:hover { color: var(--encre); }
.lang-sep { color: var(--champ); }

.menu-toggle {
  display: none; align-items: center; gap: 0.4rem;
  min-height: 2.75rem; padding: 0 0.75rem; margin-left: 0.25rem;
  background: transparent; color: var(--sauge-fonce);
  border: 1.5px solid var(--sauge); border-radius: var(--radius);
  font: 500 0.95rem var(--sans); cursor: pointer;
}
.js .menu-toggle { display: inline-flex; }
.menu-icon-close { display: none; }
@media (max-width: 359px) {
  .menu-toggle-text { display: none; }
  .menu-toggle { padding: 0 0.6rem; }
  .lang-switch a { min-width: 2.5rem; }
}
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

/* Mobile navigation panel */
.main-nav { order: 3; width: 100%; }
.no-js .header-bar { flex-wrap: wrap; }
.no-js .main-nav { padding-bottom: 1rem; }
.js .main-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--creme); border-bottom: 1px solid var(--ligne);
  padding: 0.5rem var(--gutter) 1.5rem;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.js .main-nav.is-open { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .main-nav.is-open { animation: menu-in 0.18s ease-out; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
}
.nav-list a {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--ligne);
  font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.2;
  color: var(--sauge-fonce); text-decoration: none;
}
.nav-list a[aria-current="page"] { color: var(--encre); text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.nav-cta { display: flex; width: 100%; margin-top: 1.25rem; }
.nav-phone {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; margin-top: 0.5rem; font-weight: 500; text-decoration: none;
}

@media (min-width: 1024px) {
  :root { --header-h: 5rem; }
  .menu-toggle, .js .menu-toggle { display: none; }
  .main-nav, .js .main-nav {
    display: flex; align-items: center; gap: 1.5rem;
    position: static; order: 0; width: auto; padding: 0; border: 0; background: none;
    max-height: none; overflow: visible;
  }
  .header-bar { flex-wrap: nowrap; gap: 1.5rem; }
  .nav-list { display: flex; gap: 0.25rem; }
  .nav-list a {
    padding: 0.5rem 0.7rem; border: 0;
    font-family: var(--sans); font-style: normal; font-size: 1.0625rem; font-weight: 500; color: var(--encre);
  }
  .nav-list a:hover { color: var(--sauge); }
  .nav-list a[aria-current="page"] { color: var(--sauge-fonce); }
  .nav-cta { width: auto; margin: 0; min-height: 2.75rem; padding-block: 0.5rem; }
  .nav-phone { display: none; }
  .header-phone {
    display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 0.5rem;
    color: var(--sauge-fonce); text-decoration: none; font-weight: 500; white-space: nowrap;
  }
  .header-phone span { display: none; }
  .brand-full { height: 3.1rem; }
}
@media (min-width: 1180px) { .header-phone span { display: inline; } }

/* ---------- Hero: green panel + real project photo ------------------------ */
.hero { background: var(--sauge); color: var(--lin); border-bottom: 10px solid var(--rose); --focus: var(--rose-clair); }
.hero-grid { display: grid; }
.hero-media { order: -1; height: clamp(15rem, 62vw, 26rem); overflow: hidden; background: var(--sauge-fonce); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-panel { padding: clamp(2.25rem, 7vw, 4rem) var(--gutter) clamp(2.5rem, 7vw, 4.5rem); }
.hero-content { max-width: 40rem; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.015em;
  color: var(--lin);
}
.hero-lead { margin: 1.4rem 0 2rem; font-size: 1.2rem; font-weight: 400; line-height: 1.7; max-width: 52ch; color: #eee8da; }
.hero-area { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; color: var(--rose-clair); font-weight: 500; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; min-height: min(78vh, 46rem); }
  .hero-media { order: 0; height: auto; }
  .hero-panel {
    display: flex; align-items: center;
    padding: 4.5rem 4rem 4.5rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }
}

/* ---------- Sections ----------------------------------------------------- */
.section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { margin-top: 1rem; font-size: 1.125rem; color: var(--encre-doux); }
.section-foot { margin-top: 2.5rem; }

/* Intro */
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
.intro-text .prose { margin-top: 1.5rem; }
.intro-links { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; margin-top: 1.5rem; }
.intro-media { margin: 0; }
.intro-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 8px solid var(--rose); }
.intro-media figcaption { margin-top: 0.75rem; font-size: 1rem; color: var(--encre-doux); }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 7fr 5fr; gap: 5rem; }
}

/* Services overview */
.svc-groups { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 760px) { .svc-groups { grid-template-columns: 1fr 1fr; } }
.svc-group { border-top: 2px solid var(--sauge); padding-top: 1.25rem; }
.svc-group-title { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.15; color: var(--sauge-fonce); }
.svc-group-text { margin: 0.35rem 0 0.5rem; color: var(--encre-doux); }
.svc-index a {
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--ligne);
  color: var(--encre); text-decoration: none;
}
.svc-index-icon { color: var(--sauge); }
.svc-index-icon .icon { width: 2.5rem; height: 2.5rem; }
.svc-index-name { display: block; font-weight: 500; font-size: 1.125rem; }
.svc-index-sum { display: block; font-size: 1rem; color: var(--encre-doux); line-height: 1.45; }
.svc-index a:hover .svc-index-name { color: var(--sauge); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 0.25em; }

/* Quality (green band) */
.quality { background: var(--sauge); color: var(--lin); border-bottom: 10px solid var(--rose); --focus: var(--rose-clair); }
.quality .h2 { color: var(--lin); }
.quality .section-head p { color: var(--lin); font-weight: 300; }
.quality-list { display: grid; gap: 2rem; }
@media (min-width: 640px) { .quality-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .quality-list { grid-template-columns: repeat(4, 1fr); } }
.quality-list li { border-left: 2px solid var(--rose); padding-left: 1.1rem; }
.quality-list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.2; color: var(--rose); margin-bottom: 0.4rem; }

/* Gallery: 2 columns on phones, 4 on desktop. "tall" photos span two rows. */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  grid-auto-rows: clamp(9rem, 42vw, 15rem); grid-auto-flow: row dense;
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: clamp(12rem, 17vw, 16rem); }
}
.tile { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--sable); }
.gallery .tile { aspect-ratio: auto; }
.gallery .tile--tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.tile-link:focus-visible { outline-offset: -4px; outline-color: var(--lin); box-shadow: inset 0 0 0 7px var(--marine); }
.tile-zoom {
  position: absolute; top: 0.6rem; right: 0.6rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: rgba(247, 243, 234, 0.92); color: var(--sauge-fonce); border-radius: 50%;
}
.tile figcaption { pointer-events: none; }
@media (hover: hover) {
  .tile img { transition: transform 0.4s ease, filter 0.4s ease; }
  .tile-link:hover img { transform: scale(1.03); filter: brightness(1.05); }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile-link:hover img { transform: none; } }
.tile--placeholder {
  display: grid; place-items: center;
  background: linear-gradient(140deg, #e7dfcd 0%, #ddd2bb 100%);
}
.tile-mark { color: var(--sauge); opacity: 0.5; }
.tile-mark .icon { width: clamp(2.5rem, 9vw, 4rem); height: auto; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.25rem 0.75rem 0.6rem;
  font-size: 1rem; line-height: 1.3; font-weight: 500; color: #f7f3ea;
  background: linear-gradient(to top, rgba(30, 38, 33, 0.82), rgba(30, 38, 33, 0));
}
.tile--placeholder figcaption { background: none; color: var(--encre-doux); font-weight: 400; }
@media (min-width: 900px) { .tile figcaption { font-size: 1.0625rem; padding: 2.75rem 1rem 0.85rem; } }

/* Process (a real sequence: numbered) */
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1rem;
  padding: 1.25rem 0; border-top: 1px solid var(--ligne);
}
.steps li::before {
  content: counter(step) "."; grid-row: span 2;
  font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 0.9; color: var(--sauge);
}
.steps h3 { font-weight: 500; font-size: 1.2rem; line-height: 1.35; margin-bottom: 0.3rem; }
.steps p { color: var(--encre-doux); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .steps li { display: block; border-top: 2px solid var(--sauge); padding-top: 1.25rem; }
  .steps li::before { display: block; margin-bottom: 1rem; }
}

/* Enquiry / contact */
.enquiry { background: var(--lin); }
.enquiry-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .enquiry-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.enquiry-text > p { margin-top: 1rem; font-size: 1.125rem; color: var(--encre-doux); max-width: 40ch; }
.contact-quick { margin-top: 1.75rem; display: grid; gap: 0.5rem; }
.contact-quick a {
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem;
  font-size: 1.15rem; font-weight: 500; color: var(--sauge-fonce); text-decoration: none; overflow-wrap: anywhere;
}
.contact-quick a:hover span { text-decoration: underline; text-decoration-color: var(--rose); }
.form-card { background: var(--papier); border: 1px solid var(--ligne); padding: clamp(1.25rem, 4vw, 2.5rem); }
.form-card:focus { outline: none; }
.form-card > .h3 { margin-bottom: 1rem; }

/* Contact page details */
.contact-details dl { margin: 1.25rem 0 0; display: grid; gap: 1.25rem; }
.contact-details dt { font-size: 0.95rem; color: var(--encre-doux); }
.contact-details dd { margin: 0; font-size: 1.3rem; font-weight: 500; overflow-wrap: anywhere; }

/* Form */
.quote-form { display: grid; gap: 1.1rem; }
.form-note { font-size: 1rem; color: var(--encre-doux); }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field label { font-weight: 500; font-size: 1.0625rem; }
.req { color: var(--erreur); }
.opt { font-weight: 400; color: var(--encre-doux); font-size: 0.9rem; }
.field-hint { margin: 0.1rem 0 0; font-size: 1rem; color: var(--encre-doux); line-height: 1.45; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 0.9rem;
  font: 400 1.0625rem/1.45 var(--sans); color: var(--encre);
  background: var(--papier); border: 1.5px solid var(--champ); border-radius: var(--radius);
  appearance: none;
}
.field select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%233b4c41' stroke-width='1.8'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--sauge); outline-offset: 1px; }
.field.has-error input, .field.has-error textarea { border-color: var(--erreur); border-width: 2px; }
.field-error { margin: 0; font-size: 0.95rem; font-weight: 500; color: var(--erreur); }
.field-error::before { content: "! "; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 1rem; color: var(--encre-doux); }
.btn-submit { width: 100%; }
@media (min-width: 640px) { .btn-submit { width: auto; justify-self: start; } }
.btn-submit[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.form-summary, .form-status:not(:empty) { padding: 0.9rem 1rem; border-radius: var(--radius); font-weight: 500; }
.form-summary { background: var(--erreur-fond); color: #6e2a1f; border-left: 4px solid var(--erreur); }
.form-summary:focus { outline: 3px solid var(--focus); }
.form-status.is-success { background: var(--succes-fond); color: var(--encre); border-left: 4px solid var(--sauge); }
.form-status.is-error { background: var(--erreur-fond); color: #6e2a1f; border-left: 4px solid var(--erreur); }

/* Instagram */
.insta-grid { display: grid; gap: 2rem; align-items: center; }
.insta-text > p { margin: 1rem 0 1.5rem; font-size: 1.125rem; color: var(--encre-doux); }
.insta-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.insta-tiles .tile-mark .icon { width: clamp(1.75rem, 6vw, 2.75rem); }
@media (min-width: 900px) { .insta-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

/* ---------- Inner pages ----------------------------------------------------- */
.page-head { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem); line-height: 1.06; color: var(--sauge-fonce);
  max-width: 22ch;
}
.page-lead { margin-top: 1.25rem; max-width: 60ch; font-size: 1.15rem; color: var(--encre-doux); }
.jump ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.jump a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem;
  border: 1.5px solid var(--sauge); border-radius: var(--radius);
  color: var(--sauge-fonce); text-decoration: none; font-weight: 500;
}
.jump a:hover { background: var(--sauge); color: var(--lin); }

.svc-section { padding-block: clamp(2rem, 4vw, 3.5rem); scroll-margin-top: var(--header-h); }
.svc-section-head { border-top: 2px solid var(--sauge); padding-top: 1.25rem; margin-bottom: 0.5rem; }
.svc-section-head p { margin-top: 0.5rem; color: var(--encre-doux); }
.svc {
  display: grid; grid-template-columns: 4rem 1fr; gap: 0.5rem 1.25rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--ligne);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.svc:target .svc-body h3 { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.svc-icon {
  width: 4rem; height: 4rem; display: grid; place-items: center;
  background: var(--sauge); color: var(--lin); border-bottom: 4px solid var(--rose);
}
.svc-icon .icon { width: 2.6rem; height: 2.6rem; }
.svc-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.15; color: var(--sauge-fonce); margin-bottom: 0.4rem; }
.svc-body p { max-width: 60ch; }
.svc-note { margin-top: 0.85rem; padding: 0.75rem 1rem; background: var(--lin); border-left: 3px solid var(--rose); font-size: 0.97rem; }
.svc-cta { grid-column: 1 / -1; justify-self: start; margin-top: 0.75rem; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 4.5rem 1fr auto; align-items: start; gap: 1.75rem; }
  .svc-cta { grid-column: auto; margin-top: 0.25rem; }
}

.cta-band { background: var(--sauge); color: var(--lin); border-bottom: 10px solid var(--rose); --focus: var(--rose-clair); }
.cta-band .h2 { color: var(--lin); margin-bottom: 1.75rem; }
@media (min-width: 900px) {
  .cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-band .h2 { margin-bottom: 0; }
}

.legal { padding-top: 0; }
.legal-prose h2 { margin: 2.5rem 0 0.75rem; color: var(--sauge-fonce); }
.legal-prose h2:first-child { margin-top: 0; }
.legal-list { margin: 0; display: grid; gap: 0.6rem; }
.legal-list div { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .legal-list div { grid-template-columns: 15rem 1fr; } }
.legal-list dt { color: var(--encre-doux); }
.legal-list dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.todo { background: var(--erreur-fond); color: #6e2a1f; padding: 0 0.3rem; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--foret); color: #e9e3d3; padding-top: clamp(3rem, 6vw, 5rem); --focus: var(--rose-clair); }
.site-footer a { color: #f3eee2; }
.site-footer a:hover { color: var(--rose-clair); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .footer-logo { display: inline-block; color: var(--rose); }
.footer-logo .logo-framed { width: 13.5rem; height: auto; }
.footer-name { margin-top: 1rem; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: #f3eee2; }
.footer-title { font: 500 1.0625rem var(--sans); color: var(--rose); margin-bottom: 0.9rem; }
.footer-contact li, .footer-links li { margin-bottom: 0.35rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact .icon-ui { color: var(--rose); flex: none; }
.footer-contact a, .footer-links a { display: inline-flex; align-items: center; min-height: 2.5rem; overflow-wrap: anywhere; }
.footer-bottom {
  font-size: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-block: 1.25rem; border-top: 1px solid rgba(243, 238, 226, 0.16);
}
.footer-bottom p { margin: 0; }
.lang-switch--footer a { color: #d9d2c1; }
.lang-switch--footer a[aria-current="true"] { color: #fff; }
.lang-switch--footer .lang-sep { color: rgba(243, 238, 226, 0.4); }

/* ---------- Mobile action bar (phone + quote always at hand) ------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(239, 233, 218, 0.97); border-top: 1px solid var(--ligne);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 3rem; border-radius: var(--radius); font-weight: 500; text-decoration: none;
}
.mobile-bar-call { border: 1.5px solid var(--sauge); color: var(--sauge-fonce); }
.mobile-bar-quote { background: var(--sauge); color: var(--lin); }
.mobile-bar-quote:hover { color: var(--lin); background: var(--sauge-fonce); }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Photo viewer (lightbox) ---------------------------------------- */
.lb-open { overflow: hidden; }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 26, 22, 0.96); color: #f3eee2; --focus: var(--rose-clair);
}
.lightbox::backdrop { background: rgba(20, 26, 22, 0.96); }
.lb-frame {
  position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.75rem 0.5rem 1.25rem; }
.lb-count { margin: 0; font-size: 1rem; color: #d9d2c1; }
.lb-close {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.1rem 0 0.9rem;
  background: #f3eee2; color: var(--encre); border: 0; border-radius: 999px;
  font: 500 1.0625rem var(--sans); cursor: pointer;
}
.lb-close .icon-ui { width: 22px; height: 22px; stroke-width: 2.2; }
.lb-close:hover { background: #fff; }
.lb-figure {
  margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.5rem 1rem 1rem;
}
.lb-figure img { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-caption { padding-top: 0.9rem; text-align: center; font-size: 1.125rem; max-width: 50ch; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  background: rgba(243, 238, 226, 0.9); color: var(--encre); border: 0; border-radius: 50%; cursor: pointer;
}
.lb-nav .icon-ui { width: 26px; height: 26px; stroke-width: 2.2; }
.lb-nav:hover { background: #fff; }
.lb-prev { left: 0.75rem; }
.lb-next { right: 0.75rem; }
@media (max-width: 599px) {
  /* On phones the arrows sit at the bottom so they never cover the photo */
  .lb-frame { grid-template-rows: auto 1fr auto; }
  .lb-nav { position: static; transform: none; }
  .lb-prev, .lb-next { position: absolute; top: auto; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); }
  .lb-figure { padding-bottom: 4.75rem; }
}
@media (min-width: 900px) { .lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; } .lb-figure { padding: 0.5rem 6rem 1.5rem; } }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in 0.18s ease-out; }
  @keyframes lb-in { from { opacity: 0; } }
}

/* ---------- 404 ---------------------------------------------------------- */
.page-404 { padding-bottom: 0; }
.notfound { min-height: 100vh; display: grid; align-content: center; gap: 3rem; padding-block: 3rem; }
.notfound-logo { color: var(--sauge); width: 14rem; }
.notfound-grid { display: grid; gap: 2.5rem; }
.notfound-grid p { margin-top: 1rem; }
@media (min-width: 760px) { .notfound-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Print --------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .lightbox, .quote-form { display: none !important; }
  body { background: #fff; padding: 0; }
}
