:root {
  --calcaire: #E6E1D8;
  --calcaire-2: #DAD3C7;
  --encre: #1E1C19;
  --ardoise: #2A2825;
  --taupe: #6B6358;
  --bronze: #86643F;
  --bronze-clair: #C4A274;
  --grege: #E6E1D8;
  --ligne: rgba(30,28,25,.16);
  --ligne-sombre: rgba(230,225,216,.16);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --calcaire: #E6E1D8; --encre: #1E1C19; } }
:root[data-theme="dark"] { --calcaire: #E6E1D8; --encre: #1E1C19; }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 90px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--calcaire); color: var(--encre); font-family: var(--sans); font-weight: 300; font-size: 1.075rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: clamp(22px, 5vw, 56px); padding-right: clamp(22px, 5vw, 56px); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.55rem; line-height: 1.15; }
p { margin: 0; }
em { font-style: italic; }
.lead { font-size: 1.2rem; color: var(--taupe); max-width: 52ch; line-height: 1.75; }
.dark { background: var(--encre); color: var(--grege); }
.dark .lead, .dark .muted { color: #A8A095; }
.muted { color: var(--taupe); }

/* Liens-boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; text-decoration: none; cursor: pointer;
  font: 400 .98rem/1 var(--sans); letter-spacing: .04em; padding: 1.15rem 1.9rem; border: 1px solid transparent; border-radius: 0;
  transition: background-color .3s, color .3s, border-color .3s; }
.btn-plein { background: var(--encre); color: var(--grege); }
.btn-plein:hover { background: var(--bronze); }
.btn-trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-trait:hover { background: var(--encre); color: var(--grege); }
.dark .btn-plein { background: var(--grege); color: var(--encre); }
.dark .btn-plein:hover { background: var(--bronze-clair); }
.dark .btn-trait { border-color: rgba(230,225,216,.5); color: var(--grege); }
.dark .btn-trait:hover { background: var(--grege); color: var(--encre); }
.lien { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 400; letter-spacing: .03em; }
.lien:hover { color: var(--bronze); }

/* En-tête */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(230,225,216,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; letter-spacing: .14em; }
.logo small { font-size: .74rem; letter-spacing: .12em; color: var(--taupe); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a.lnk { text-decoration: none; font-weight: 400; font-size: .98rem; letter-spacing: .03em; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a.lnk:hover { color: var(--bronze); }
.nav a.lnk[aria-current="page"] { border-bottom-color: var(--encre); }
.nav .btn { padding: .95rem 1.4rem; }
.burger { display: none; background: none; border: 0; border-bottom: 1px solid var(--encre); color: var(--encre); padding: 6px 0; cursor: pointer; font: 400 1rem var(--sans); letter-spacing: .04em; }
@media (max-width: 1120px) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 84px; flex-direction: column; align-items: stretch; gap: 0; background: var(--calcaire);
    border-bottom: 1px solid var(--ligne); padding: 10px clamp(22px,5vw,56px) 26px; display: none; }
  .nav.open { display: flex; }
  .nav a.lnk { font-family: var(--display); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
  .nav a.lnk[aria-current="page"] { border-bottom-color: var(--ligne); font-style: italic; }
  .nav .btn { margin-top: 22px; }
}

.block { padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
.block.alt { background: var(--calcaire-2); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; min-height: min(calc(100vh - 84px), 940px); border-bottom: 1px solid var(--ligne); }
.hero-txt { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(22px,5vw,72px) 80px max(clamp(22px,5vw,56px), calc((100vw - var(--wrap)) / 2 + 56px)); }
.hero h1 { margin-bottom: 32px; }
.hero h1 em { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 44px; }
.hero-sign { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--ligne); display: flex; gap: 40px; flex-wrap: wrap; font-size: .95rem; color: var(--taupe); }
.hero-sign strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--encre); }
.hero-floor { position: relative; overflow: hidden; background: #BF9A6C; }
.hero-floor svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-floor { order: -1; height: 46vh; min-height: 280px; }
  .hero-txt { padding: 56px clamp(22px,5vw,56px) 64px; }
  .hero-sign { margin-top: 44px; gap: 24px; }
}
.board { transform-box: fill-box; transform-origin: center; }
.anim .board { opacity: 0; animation: poser .9s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes poser { from { opacity: 0; transform: translate(-8px,-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .anim .board { animation: none; opacity: 1; } }

/* Manifeste */
.manif { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.manif p.big { font-family: var(--display); font-size: clamp(1.6rem, 2.7vw, 2.25rem); line-height: 1.3; }
.manif .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.manif .cols p { color: var(--taupe); }
@media (max-width: 860px) { .manif, .manif .cols { grid-template-columns: 1fr; } }

/* Collection de matériaux */
.coll-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 64px; }
.coll-head .lead { max-width: 44ch; }
.coll { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.mat { text-decoration: none; display: block; position: relative; }
.mat .tex { overflow: hidden; position: relative; }
.mat .tex svg { width: 100%; height: 100%; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.mat:hover .tex svg { transform: scale(1.04); }
.mat .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-bottom: 1px solid var(--ligne); padding-bottom: 14px; }
.mat .cap h3 { font-size: 1.5rem; }
.mat .cap span { color: var(--taupe); font-size: .95rem; text-align: right; }
.mat:hover .cap h3 { font-style: italic; }
.m1 { grid-column: span 7; } .m1 .tex { aspect-ratio: 16/11; }
.m2 { grid-column: span 5; } .m2 .tex { aspect-ratio: 1.03/1; }
.m3, .m4, .m5 { grid-column: span 4; } .m3 .tex, .m4 .tex, .m5 .tex { aspect-ratio: 4/4.3; }
.m6 { grid-column: span 12; } .m6 .tex { aspect-ratio: 16/5; }
@media (max-width: 860px) {
  .m1, .m2, .m3, .m4, .m5, .m6 { grid-column: span 12; }
  .m1 .tex, .m2 .tex, .m3 .tex, .m4 .tex, .m5 .tex, .m6 .tex { aspect-ratio: 16/10; }
}

/* Santé */
.sante { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.sante ul { list-style: none; margin: 40px 0 44px; padding: 0; border-top: 1px solid var(--ligne-sombre); }
.sante li { padding: 20px 0; border-bottom: 1px solid var(--ligne-sombre); display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.sante li strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.sante li span { color: #A8A095; font-size: .98rem; }
.coupe { margin: 0; }
.coupe figcaption { color: #A8A095; font-size: .95rem; margin-top: 18px; font-style: italic; font-family: var(--display); }
@media (max-width: 900px) { .sante { grid-template-columns: 1fr; } .sante li { grid-template-columns: 1fr; gap: 4px; } }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; margin-top: 64px; border-top: 1px solid var(--encre); }
.step { padding: 28px 24px 0 0; }
.step::before { counter-increment: s; content: counter(s); display: block; font-family: var(--display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--bronze); margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--taupe); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.shot { margin: 0; grid-column: span 2; }
.shot .ph { aspect-ratio: 4/5; overflow: hidden; }
.shot .ph svg { width: 100%; height: 100%; }
.shot.wide { grid-column: span 4; }
.shot.wide .ph { aspect-ratio: auto; height: calc(100% - 64px); min-height: 300px; }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 14px 0 0; }
.shot figcaption strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.shot figcaption span { color: var(--taupe); font-size: .92rem; text-align: right; }
.shot[hidden] { display: none; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } .shot, .shot.wide { grid-column: span 1; } .shot.wide { grid-column: span 2; } .shot.wide .ph { aspect-ratio: 16/10; height: auto; min-height: 0; } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } .shot, .shot.wide { grid-column: auto; } .shot .ph { aspect-ratio: 4/3; } }

/* Appel final */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); max-width: 16ch; margin: 0 auto; }
.cta p { margin: 26px auto 0; max-width: 46ch; }
.cta .acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 46px; }

/* Pages intérieures */
.page-top { padding-top: clamp(70px, 10vw, 140px); padding-bottom: clamp(50px, 7vw, 90px); border-bottom: 1px solid var(--ligne); }
.page-top h1 { max-width: 15ch; }
.page-top .lead { margin-top: 28px; }
.srv { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); border-bottom: 1px solid var(--ligne); }
.srv:nth-of-type(even) .srv-panel { order: 2; }
.srv-panel { aspect-ratio: 5/4; overflow: hidden; }
.srv-panel svg { width: 100%; height: 100%; }
.srv h2 { margin-bottom: 22px; }
.srv p + p { margin-top: 14px; }
.srv .tags { margin-top: 30px; color: var(--taupe); font-size: .95rem; border-top: 1px solid var(--ligne); padding-top: 16px; }
@media (max-width: 860px) { .srv { grid-template-columns: 1fr; } .srv:nth-of-type(even) .srv-panel { order: 0; } }

.filters { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 48px; border-bottom: 1px solid var(--ligne); }
.filters button { font: 400 1rem var(--sans); letter-spacing: .03em; color: var(--taupe); background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 12px 0; cursor: pointer; }
.filters button:hover { color: var(--encre); }
.filters button[aria-pressed="true"] { color: var(--encre); border-bottom-color: var(--encre); }
.note { margin-top: 44px; color: var(--taupe); font-style: italic; font-family: var(--display); }

.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.about .body p { font-size: 1.15rem; }
.about .body p.big { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; margin-bottom: 30px; }
.about .body p + p { margin-top: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--encre); }
.timeline li { padding: 24px 0; border-bottom: 1px solid var(--ligne); }
.timeline h3 { font-size: 1.4rem; margin-bottom: 6px; }
.timeline p { color: var(--taupe); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.values h3 { margin-bottom: 14px; }
@media (max-width: 860px) { .about, .values { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.field { display: flex; flex-direction: column; margin-bottom: 30px; }
.field label, .field legend { font-size: .92rem; letter-spacing: .03em; color: var(--taupe); }
.field input, .field select, .field textarea { font: 300 1.1rem var(--sans); color: var(--encre); background: transparent; border: 0; border-bottom: 1px solid rgba(30,28,25,.35); border-radius: 0; padding: 10px 0 12px; width: 100%; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--bronze); box-shadow: 0 1px 0 var(--bronze); }
fieldset.field { border: 0; padding: 0; margin: 0 0 30px; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; cursor: pointer; padding: 11px 18px; border: 1px solid rgba(30,28,25,.3); font-size: .97rem; }
.seg input:checked + span { background: var(--encre); color: var(--grege); border-color: var(--encre); }
.seg input:focus-visible + span { outline: 1px solid var(--bronze); outline-offset: 3px; }
.err { color: #8E3B24; font-size: .95rem; min-height: 1.3em; margin-bottom: 10px; }
.sent { display: none; border-top: 1px solid var(--encre); padding-top: 28px; }
.sent.show { display: block; }
.sent h3 { font-size: 2rem; margin-bottom: 14px; }
.sent p + p { margin-top: 10px; }
.sent .btn { margin-top: 24px; }
.coords { background: var(--encre); color: var(--grege); padding: clamp(30px, 4vw, 48px); }
.coords dl { margin: 0; }
.coords dt { color: #A8A095; font-size: .9rem; letter-spacing: .03em; margin-top: 26px; }
.coords dt:first-child { margin-top: 0; }
.coords dd { margin: 6px 0 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
.coords dd a { text-decoration: none; }
.coords dd a:hover { color: var(--bronze-clair); }
.coords .btn { margin-top: 34px; width: 100%; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 540px) { form .row { grid-template-columns: 1fr; } }

/* Pied de page */
.foot { padding-top: 90px; padding-bottom: 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid var(--ligne-sombre); }
.foot-top .say { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; max-width: 18ch; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 50px; }
.foot h3 { font-family: var(--sans); font-weight: 400; font-size: .92rem; letter-spacing: .04em; color: #A8A095; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bronze-clair); }
.foot .legal { margin-top: 60px; color: #8A8378; font-size: .88rem; }
.foot .logo small { color: #A8A095; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

.call-fab { display: none; }
@media (max-width: 760px) {
  .call-fab { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60; justify-content: center;
    background: var(--encre); color: var(--grege); text-decoration: none; padding: 16px; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  body { padding-bottom: 78px; }
}

/* ===== Animations ===== */
:root { --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1); }

/* Apparition au scroll */
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv:not(.in) { will-change: opacity, transform; }
.js .rv.in { opacity: 1; transform: none; }

/* En-tête compact (transformations uniquement) */
.site-head { transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s; }
.head-in > * { transition: transform .5s var(--ease-out); }
.logo small { transition: opacity .3s, transform .5s var(--ease-out); transform-origin: left top; }
.logo b { transition: transform .5s var(--ease-out); transform-origin: left center; }
.site-head.compact { transform: translate3d(0, -20px, 0); background: rgba(230,225,216,.97); box-shadow: 0 10px 30px -18px rgba(30,28,25,.35); }
.site-head.compact .head-in > * { transform: translate3d(0, 10px, 0); }
.site-head.compact .logo b { transform: translate3d(0, 7px, 0) scale(.86); }
.site-head.compact .logo small { opacity: 0; transform: translate3d(0, -4px, 0); }
@media (max-width: 1120px) { .site-head.compact .nav { transform: none; } }

/* Dégradé animé du hero */
.hero-txt { position: relative; overflow: hidden; isolation: isolate; }
.hero-txt::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 28% 32%, rgba(196,162,116,.42), transparent),
    radial-gradient(closest-side at 72% 68%, rgba(134,100,63,.20), transparent),
    radial-gradient(closest-side at 62% 22%, rgba(255,252,246,.65), transparent),
    radial-gradient(closest-side at 20% 80%, rgba(170,150,125,.25), transparent);
  animation: derive 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes derive {
  0%   { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(5%, 4%, 0) rotate(12deg) scale(1.08); }
  100% { transform: translate3d(-2%, 6%, 0) rotate(-8deg) scale(1.03); }
}

/* Boutons magnétiques */
.btn, .lien { will-change: transform; }
.btn .btn-in, .lien .btn-in { display: inline-block; will-change: transform; }
.mag-back { transition: transform .6s var(--ease-out) !important; }
.mag-back .btn-in { transition: transform .6s var(--ease-out); }

/* Chiffres */
.num { font-variant-numeric: tabular-nums; display: inline-block; min-width: 1ch; }
.hero-sign { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; line-height: 1.4; }
.hero-sign strong { font-size: 2.2rem; line-height: 1; margin-bottom: 6px; }
.hero-sign sup { font-size: .45em; vertical-align: super; margin-left: 1px; }

/* Mouvement réduit : tout est désactivé */
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv.in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-txt::before { animation: none; }
  .site-head, .site-head *, .head-in > * { transition: none !important; }
  .site-head.compact, .site-head.compact * { transform: none !important; }
  .site-head.compact .logo small { opacity: 1; }
  .mat .tex svg { transition: none; }
  .mat:hover .tex svg { transform: none; }
  .btn, .lien, .btn .btn-in { transform: none !important; transition: none !important; }
}

/* ===== Pages SEO : compléments ===== */
.h1-kw { display: block; font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, 1.4vw, 1.15rem); letter-spacing: .04em; color: var(--bronze); margin-bottom: 22px; font-style: normal; }
.fil { font-size: .92rem; color: var(--taupe); margin-bottom: 28px; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fil li + li::before { content: "/"; margin-right: 6px; color: rgba(30,28,25,.35); }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--bronze); }
.svc-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.svc-hero .srv-panel { aspect-ratio: 5/4.4; }
.svc-hero .hero-actions { margin-top: 36px; }
@media (max-width: 860px) { .svc-hero { grid-template-columns: 1fr; } }
.prose-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 68ch; }
.prose p + p { margin-top: 16px; }
.prose ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); max-width: 68ch; }
.prose li { padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.prose li strong { font-weight: 500; }
.aside-card { position: sticky; top: 110px; border-top: 1px solid var(--encre); padding-top: 22px; }
.aside-card p { color: var(--taupe); margin: 10px 0 24px; }
.aside-card .lien { display: inline-block; margin-top: 16px; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq details:first-of-type { border-top: 1px solid var(--encre); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-family: var(--display); font-size: 1.35rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; transition: transform .4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--taupe); max-width: 68ch; }
.related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.related a { text-decoration: none; border-top: 1px solid var(--encre); padding-top: 14px; font-family: var(--display); font-size: 1.2rem; }
.related a:hover { color: var(--bronze); font-style: italic; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr 1fr; } }
.srv .lien { display: inline-block; margin-top: 22px; }
.legal-txt h2 { font-size: 1.7rem; margin: 44px 0 12px; }
.legal-txt p { max-width: 70ch; }
.a-completer { background: rgba(134,100,63,.14); padding: 0 4px; }
.foot .zone { color: #A8A095; margin-top: 14px; max-width: 34ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.foot .foot-h { font-family: var(--sans); font-weight: 400; font-size: .92rem; letter-spacing: .04em; color: #A8A095; margin-bottom: 16px; }
.timeline h2 { margin-bottom: 6px; }
.values h2 { margin-bottom: 14px; }
/* Logo */
.logo img { height: 62px; width: auto; transition: transform .5s var(--ease-out); transform-origin: left center; }
.site-head.compact .logo img { transform: translate3d(0, 4px, 0) scale(.8); }
.foot .logo img { height: auto; width: 230px; }
@media (max-width: 540px) { .logo img { height: 52px; } }

/* ===================== THÈME SOMBRE (confort de lecture) ===================== */
:root, :root[data-theme="dark"] {
  --calcaire: #17140F;      /* fond principal : ébène chaud */
  --calcaire-2: #1F1B16;    /* sections alternées : noyer très sombre */
  --profond: #0F0D0A;       /* sections fortes et pied de page */
  --encre: #EEE7DC;         /* texte principal : blanc cassé chaud */
  --grege: #17140F;         /* texte sur boutons clairs */
  --taupe: #BFB4A5;         /* texte secondaire, contraste élevé */
  --bronze: #D2AB78;
  --bronze-clair: #DDB889;
  --ligne: rgba(238,231,220,.14);
  --ligne-sombre: rgba(238,231,220,.14);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --calcaire: #17140F; --encre: #EEE7DC; } }
body { font-weight: 400; font-size: 1.1rem; }
.lead { color: var(--taupe); }
.dark { background: var(--profond); color: var(--encre); }
.dark .lead, .dark .muted, .sante li span, .coupe figcaption, .coords dt, .foot .zone, .foot .foot-h, .foot h3 { color: var(--taupe); }
.dark .btn-plein { background: var(--encre); color: var(--grege); }
.dark .btn-plein:hover { background: var(--bronze); color: var(--grege); }
.dark .btn-trait { border-color: rgba(238,231,220,.45); color: var(--encre); }
.dark .btn-trait:hover { background: var(--encre); color: var(--grege); }
.btn-plein:hover { background: var(--bronze); color: var(--grege); }
.site-head { background: rgba(23,20,15,.92); }
.site-head.compact { background: rgba(23,20,15,.97); box-shadow: 0 12px 30px -16px rgba(0,0,0,.7); }
.coords { background: var(--profond); color: var(--encre); border: 1px solid var(--ligne); }
.seg span { border-color: rgba(238,231,220,.3); }
.field input, .field select, .field textarea { font-weight: 400; border-bottom-color: rgba(238,231,220,.35); }
.field input::placeholder, .field textarea::placeholder { color: rgba(238,231,220,.4); }
.field select option { background: #1F1B16; color: var(--encre); }
.fil li + li::before { color: rgba(238,231,220,.35); }
.err { color: #EBA88A; }
.a-completer { background: rgba(210,171,120,.22); }
.foot .legal { color: #9A9083; }
.hero-txt::before {
  background:
    radial-gradient(closest-side at 28% 32%, rgba(210,171,120,.16), transparent),
    radial-gradient(closest-side at 72% 68%, rgba(134,100,63,.20), transparent),
    radial-gradient(closest-side at 62% 22%, rgba(238,231,220,.07), transparent),
    radial-gradient(closest-side at 20% 80%, rgba(120,90,60,.18), transparent);
}
.mat .tex, .srv-panel, .shot .ph { box-shadow: 0 0 0 1px rgba(238,231,220,.06); }
/* Adoucir les matières claires sur fond sombre */
.hero-floor::after, .mat .tex::after, .srv-panel::after, .shot .ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(15,13,10,.14); }
.srv-panel, .shot .ph { position: relative; }

/* ===================== TITRES : police plus lisible (famille du logo) ===================== */
:root { --display: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.hero h1 em { font-style: normal; font-weight: 400; color: var(--taupe); }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.manif p.big, .about .body p.big { font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.45; }
.foot-top .say { font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.mat .cap h3, .shot figcaption strong, .timeline h2, .values h2 { font-weight: 500; }
.mat:hover .cap h3 { font-style: normal; color: var(--bronze); }
.related a:hover { font-style: normal; }
.step::before { font-style: normal; font-weight: 400; }
.faq summary { font-size: 1.2rem; font-weight: 500; }
.coords dd { font-size: 1.2rem; font-weight: 400; }
.coupe figcaption, .note { font-style: normal; }
.nav a.lnk[aria-current="page"] { font-style: normal; }
@media (max-width: 1120px) { .nav a.lnk { font-size: 1.4rem; font-weight: 500; } }

/* ===================== MOBILE : confort tactile et premier écran ===================== */
.burger { min-height: 44px; padding: 10px 2px; }
@media (max-width: 900px) {
  .hero-floor { height: 30vh; min-height: 190px; }
  .hero-txt { padding-top: 40px; }
}
@media (max-width: 760px) {
  .lien { display: inline-block; padding: 12px 0 6px; }
  .fil a { display: inline-block; padding: 10px 0; }
  .coords dd a { display: inline-block; padding: 10px 0; }
  .foot li a { display: inline-block; padding: 6px 0; }
  .call-fab { padding: 13px; font-size: 1rem; }
  .block { padding-top: 72px; padding-bottom: 72px; }
}

/* Zone d'intervention */
.secteurs { display: grid; grid-template-columns: 1fr 1fr; gap: 64px clamp(40px, 6vw, 96px); }
.secteur h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.secteur > p { max-width: 56ch; }
.communes { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--encre); }
.communes li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.communes span { color: var(--taupe); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .secteurs { grid-template-columns: 1fr; gap: 56px; } }

/* Photos de chantiers */
.shot .ph img, .srv-panel img, .mat .tex img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; transition: transform 1.2s var(--ease-out); }
.mat:hover .tex img { transform: scale(1.04); }
.ph.photo::after, .srv-panel.photo::after, .tex.photo::after { display: none; }
.svc-hero .srv-panel.photo { aspect-ratio: 4/4.6; }
@media (prefers-reduced-motion: reduce) { .mat:hover .tex img { transform: none; } .shot .ph img, .mat .tex img { transition: none; } }
.shot.wide .ph.photo { aspect-ratio: 16/11; height: auto; min-height: 0; }
.shot.wide .ph.photo img { object-position: 50% 55%; }
.gallery.duo { grid-template-columns: 1fr 1fr; }
.gallery.duo .shot { grid-column: auto; }
.gallery.duo .shot .ph { aspect-ratio: 4/4.4; }
@media (max-width: 540px) { .gallery.duo { grid-template-columns: 1fr; } }
.m6 .tex img { object-position: 50% 36%; }
.manif-ph { margin: 40px 0 0; max-width: 420px; }
.manif-ph img { width: 100%; height: auto; aspect-ratio: 4/4.4; object-fit: cover; object-position: 50% 70%; display: block; }
.manif-ph figcaption { color: var(--taupe); font-size: .95rem; margin-top: 12px; }
.related { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) { .related { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .related { grid-template-columns: 1fr 1fr; } }
.m1 .tex img { object-position: 50% 30%; }
.gallery.duo { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery.duo .shot { max-width: 620px; }
.gallery.duo .shot figcaption { flex-direction: column; align-items: flex-start; gap: 2px; } .gallery.duo .shot figcaption span { text-align: left; }

/* ===================== HERO : logo animé + réalisations en fond ===================== */
.hero-show { background: #0F0D0A; isolation: isolate; }
.hero-show::after { background: linear-gradient(180deg, rgba(15,13,10,.30) 0%, rgba(15,13,10,.42) 55%, rgba(15,13,10,.78) 100%); z-index: 1; }
.hero-show .slides { position: absolute; inset: 0; overflow: hidden; }
.hero-show .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-show .slide.on { opacity: 1; }
.hero-show .slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); will-change: transform; }
.hero-show .slide.on img { animation: kenburns 7s ease-out forwards; }
.hero-show .slide.out img { transform: scale(1.13); }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.13); } }

.hero-logo { position: absolute; z-index: 2; left: 50%; top: 45%; width: min(66%, 440px); transform: translate(-50%, -50%);
  animation: logoIn 1.5s cubic-bezier(.16,1,.3,1) .25s both; }
.hero-logo-in { position: relative; animation: flotte 7s ease-in-out 1.8s infinite; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
.hero-logo img { width: 100%; height: auto; display: block; }
.hero-logo .shine { position: absolute; inset: 0; overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; pointer-events: none; }
.hero-logo .shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 35%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,248,235,.55) 50%, transparent 100%);
  transform: translate3d(-160%, 0, 0) skewX(-18deg); animation: brille 8s ease-in-out 2.2s infinite; }
@keyframes logoIn { from { opacity: 0; transform: translate(-50%, -44%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes flotte { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
@keyframes brille { 0% { transform: translate3d(-160%, 0, 0) skewX(-18deg); } 22%, 100% { transform: translate3d(420%, 0, 0) skewX(-18deg); } }

.hero-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 0 clamp(18px, 3vw, 36px) calc(clamp(18px, 3vw, 32px) + env(safe-area-inset-bottom, 0px) * 0); }
.cap-link { text-decoration: none; display: flex; flex-direction: column; color: var(--encre); transition: opacity .5s; }
.cap-link.fade { opacity: 0; }
.cap-t { font-weight: 500; font-size: 1.05rem; }
.cap-l { color: #CFC5B7; font-size: .92rem; }
.cap-link:hover .cap-t { color: var(--bronze); }
.dots { display: flex; gap: 4px; }
.dots button { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::before { content: ""; position: absolute; left: 7px; right: 7px; top: 14px; height: 2px; background: rgba(238,231,220,.35); transition: background .4s; }
.dots button[aria-current="true"]::before { background: var(--encre); }
@media (max-width: 900px) {
  .hero-show { height: 44vh; min-height: 260px; }
  .hero-logo { width: min(62%, 300px); top: 42%; }
  .cap-l { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-show .slide { transition: none; }
  .hero-show .slide.on img, .hero-logo, .hero-logo-in, .hero-logo .shine::before { animation: none; }
  .hero-show .slide img { transform: none; }
  .hero-logo .shine { display: none; }
  .cap-link { transition: none; }
}
/* Légende et points en haut du panneau, toujours visibles */
.hero-cap { top: 0; bottom: auto; align-items: flex-start; padding-top: clamp(16px, 2.4vw, 26px); padding-bottom: 0; }
.hero-show::after { background: linear-gradient(180deg, rgba(15,13,10,.62) 0%, rgba(15,13,10,.34) 26%, rgba(15,13,10,.36) 70%, rgba(15,13,10,.55) 100%); }
@media (max-width: 900px) {
  .hero-show { height: 38vh; min-height: 240px; }
  .hero-logo { top: 48%; width: min(58%, 280px); }
  .hero-cap { top: auto; bottom: 0; justify-content: center; padding-bottom: 8px; padding-top: 0; }
  .cap-link { display: none; }
}

/* Professionnels */
.pro-home { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.pro-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne-sombre); }
.pro-list li { border-bottom: 1px solid var(--ligne-sombre); }
.pro-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.pro-list a::after { content: "→"; color: var(--bronze); transition: transform .3s var(--ease-out); }
.pro-list a:hover { color: var(--bronze); }
.pro-list a:hover::after { transform: translateX(6px); }
.secteurs-pro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px clamp(40px, 6vw, 96px); }
.secteur-pro { border-top: 1px solid var(--encre); padding-top: 26px; scroll-margin-top: 110px; }
.secteur-pro h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
.secteur-pro ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.secteur-pro li a { display: inline-block; text-decoration: none; font-size: .95rem; padding: 8px 14px; border: 1px solid rgba(238,231,220,.25); }
.secteur-pro li a:hover { border-color: var(--bronze); color: var(--bronze); }
@media (max-width: 860px) { .pro-home, .secteurs-pro { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pro-list a::after { transition: none; } }
.nav a { white-space: nowrap; }
/* Nouvel ordre de la mosaïque */
.m1 .tex img { object-position: 50% 62%; }
.m6 .tex img { object-position: 50% 50%; }
.m3 .tex img { object-position: 50% 72%; }
.gallery.duo { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
img[alt*="bâton rompu dans un appartement en rénovation"] { object-position: 50% 30% !important; }

/* Portrait du fondateur */
.about-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.portrait { margin: 0; justify-self: end; width: min(100%, 380px); }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; border: 1px solid var(--ligne); }
.portrait figcaption { margin-top: 14px; color: var(--taupe); font-size: .95rem; }
.portrait figcaption strong { display: block; color: var(--encre); font-weight: 500; font-size: 1.15rem; }
@media (max-width: 860px) { .about-top { grid-template-columns: 1fr; } .portrait { justify-self: start; width: min(78%, 340px); } }
.signature { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; text-decoration: none; }
.signature img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 1px solid var(--ligne); }
.signature span { color: var(--taupe); font-size: .95rem; line-height: 1.45; }
.signature strong { display: block; color: var(--encre); font-weight: 500; font-size: 1.1rem; }
.signature:hover strong { color: var(--bronze); }
/* Portrait : taille ajustée */
.portrait { width: min(100%, 290px); }
@media (max-width: 860px) { .portrait { width: min(62%, 260px); } }
.signature img { width: 84px; height: 84px; object-position: 50% 50%; }

/* Réseaux sociaux */
.social { display: flex; align-items: center; gap: 6px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--encre); border: 1px solid var(--ligne); border-radius: 50%; transition: color .3s, border-color .3s; }
.social a:hover { color: var(--bronze); border-color: var(--bronze); }
.social-nav { margin-left: -8px; }
.social-foot { margin-top: 18px; }
@media (max-width: 1120px) { .social-nav { margin: 18px 0 0; } }
.follow { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 56px; padding: 36px 0 0; border-top: 1px solid var(--ligne); }
.follow h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.follow-links { display: flex; gap: 12px; flex-wrap: wrap; }
.follow-links .btn svg { flex: none; }
@media (prefers-reduced-motion: reduce) { .social a { transition: none; } }
.follow-links .btn-in { display: inline-flex; align-items: center; gap: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rgpd { margin-top: 16px; font-size: .9rem; color: var(--taupe); max-width: 60ch; }
.rgpd a { color: inherit; }
button[disabled] { opacity: .7; cursor: wait; }

/* Avis clients Google */
.avis-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.avis-chiffre { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.avis-etoiles { display: inline-flex; gap: 3px; color: var(--bronze-clair); }
.avis-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3vw, 40px); }
.avis-carte { margin: 0; padding: clamp(26px, 3.2vw, 40px); border: 1px solid var(--ligne-sombre, var(--ligne)); display: flex; flex-direction: column; gap: 20px; }
.avis-carte blockquote { margin: 0; flex: 1; }
.avis-carte blockquote p { font-size: 1.12rem; line-height: 1.75; }
.avis-carte figcaption strong { display: block; font-weight: 500; font-size: 1.05rem; }
.avis-carte figcaption span { color: var(--taupe); font-size: .95rem; }
@media (max-width: 760px) { .avis-grille { grid-template-columns: 1fr; } }
.avis-liens { display: flex; gap: 28px; flex-wrap: wrap; }
