/* TP BTP — feuille de style
   Direction : minérale et sobre. Blanc chaux, pierre, gris minéral, anthracite ; une seule couleur d'accent, le laiton,
   réservée aux détails (filets, numéros, focus). Les photos gardent leurs couleurs d'origine : aucun filtre.
   Typographies : Archivo (titres, étiquettes) et Inter (texte), hébergées avec le thème. */

:root {
	--chaux: #F3F0EA;
	--pierre: #E6E1D8;
	--beton: #B9B3A8;
	--mineral: #62645F;
	--anthracite: #26292B;
	--encre: #16181A;
	--laiton: #A07D4C;
	--laiton-ink: #7B5D33;
	--laiton-tint: #C9A876;
	--blanc: #FFFFFF;
	--ligne: rgba(22, 24, 26, .14);
	--ligne-claire: rgba(243, 240, 234, .16);
	--display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gutter: clamp(18px, 4.5vw, 56px);
	--max: 1240px;
	--head-h: 76px;
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--chaux); color: var(--encre); font: 400 1.0625rem/1.65 var(--body); overflow-x: clip; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, .h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--encre); color: var(--chaux); padding: 12px 18px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ico { flex: none; }
.todo { display: inline-block; background: #FBEBC8; color: #5E4310; border: 1px dashed #B58B3C; padding: 1px 8px; font: 500 .8rem/1.5 var(--body); border-radius: var(--radius); }
.admin-hint { padding-block: 18px; }

/* ---------- typographie ---------- */
.label { font: 600 .74rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-ink); display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.label-light { color: var(--laiton-tint); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--mineral); max-width: 60ch; line-height: 1.6; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }

/* ---------- boutons et liens ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius); font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-primary { background: var(--anthracite); color: var(--chaux); }
.btn-primary:hover { background: var(--encre); }
.btn-ghost { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-ghost:hover { background: var(--encre); color: var(--chaux); }
.btn-light { background: var(--chaux); color: var(--encre); }
.btn-light:hover { background: var(--blanc); }
.btn-ghost-light { border-color: rgba(243, 240, 234, .55); color: var(--chaux); background: transparent; }
.btn-ghost-light:hover { border-color: var(--chaux); background: rgba(243, 240, 234, .08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--laiton); padding-top: 6px; align-self: flex-start; width: fit-content; }
.link .ico { transition: transform .3s var(--ease); }
.link:hover .ico { transform: translateX(4px); }
.link-light { color: var(--chaux); border-bottom-color: var(--laiton-tint); }

/* ---------- en-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(243, 240, 234, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--ligne); transition: background-color .35s, border-color .35s, color .35s; }
.site-head.is-overlay { position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom-color: transparent; color: var(--chaux); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head.is-overlay.is-solid { background: rgba(22, 24, 26, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--ligne-claire); }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } .admin-bar .site-head.is-solid, .admin-bar .site-head:not(.is-overlay) { top: 0; } }
.head-in { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); height: var(--head-h); display: flex; align-items: center; gap: 32px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.wordmark { font-family: var(--display); font-size: 1.45rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; display: inline-block; white-space: nowrap; margin: 0; }
.wordmark b { font-weight: 700; }
.wordmark span { font-weight: 500; color: inherit; opacity: .72; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.menu-list { list-style: none; display: flex; gap: 26px; }
.menu-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.menu-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: var(--laiton); transition: right .3s var(--ease); }
.menu-list a:hover::after, .menu-list .current-menu-item > a::after, .menu-list .current_page_item > a::after, .menu-list a[aria-current="page"]::after { right: 0; }
.nav-extra { display: flex; align-items: center; gap: 18px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.is-overlay .btn-primary { background: var(--chaux); color: var(--encre); }
.is-overlay .btn-primary:hover { background: var(--blanc); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: var(--radius); background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.burger-lines { width: 20px; height: 10px; position: relative; display: block; }
.burger-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger-lines i:first-child { top: 0; }
.burger-lines i:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }
@media (max-width: 1180px) { .nav-tel span { display: none; } .menu-list { gap: 20px; } }
@media (max-width: 1020px) {
	.burger { display: inline-flex; }
	.nav { position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: var(--encre); color: var(--chaux); border-top: 1px solid var(--ligne-claire); max-height: calc(100svh - var(--head-h)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
	.admin-bar .nav { top: calc(var(--head-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.menu-list { flex-direction: column; gap: 0; }
	.menu-list a { width: 100%; min-height: 56px; font-size: 1.2rem; border-bottom: 1px solid var(--ligne-claire); }
	.menu-list a::after { display: none; }
	.nav-extra { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
	.nav-tel { justify-content: center; border: 1px solid var(--ligne-claire); min-height: 52px; }
	.nav-tel span { display: inline; }
	.nav .btn-primary { background: var(--chaux); color: var(--encre); min-height: 52px; }
	.site-head.menu-open { background: var(--encre); color: var(--chaux); border-bottom-color: var(--ligne-claire); }
}

/* ---------- ouverture ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--chaux); background: var(--anthracite); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; color: transparent; }
.hero-media .credit { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,24,26,.7) 0%, rgba(22,24,26,0) 26%), linear-gradient(0deg, rgba(22,24,26,.92) 0%, rgba(22,24,26,.6) 40%, rgba(22,24,26,0) 72%); }
@media (min-width: 1000px) {
	.hero-media { left: 30%; }
	.hero-media img { object-position: 38% 60%; }
	.hero-shade { background: linear-gradient(90deg, var(--anthracite) 0%, var(--anthracite) 30%, rgba(38,41,43,.82) 38%, rgba(38,41,43,0) 58%), linear-gradient(180deg, rgba(22,24,26,.78) 0%, rgba(22,24,26,.35) 90px, rgba(22,24,26,0) 190px), linear-gradient(0deg, rgba(22,24,26,.55) 0%, rgba(22,24,26,0) 30%); }
}
.hero-in { padding-top: calc(var(--head-h) + 48px); padding-bottom: clamp(56px, 9vh, 104px); display: grid; gap: 22px; }
.hero-title { font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; font-weight: 600; }
.hero-text { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 46ch; color: rgba(243, 240, 234, .88); }
.hero-zone { display: flex; align-items: flex-start; gap: 10px; color: rgba(243, 240, 234, .78); font-size: .98rem; }
.hero-zone .ico { margin-top: 3px; color: var(--laiton-tint); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.credit { font: 400 .74rem/1.45 var(--body); color: var(--mineral); margin-top: 10px; }
.credit a { color: inherit; }
.credit-light { color: rgba(243, 240, 234, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); margin: 0; }
@media (prefers-reduced-motion: no-preference) {
	.js .hero-media img { animation: hero-in 2.6s var(--ease) both; }
	.js .hero-in > * { animation: rise .9s var(--ease) both; }
	.js .hero-in > *:nth-child(2) { animation-delay: .08s; }
	.js .hero-in > *:nth-child(3) { animation-delay: .16s; }
	.js .hero-in > *:nth-child(4) { animation-delay: .24s; }
	.js .hero-in > *:nth-child(5) { animation-delay: .32s; }
}
@media (min-width: 701px) and (max-width: 999px) {
	.hero-shade { background: linear-gradient(90deg, rgba(22,24,26,.92) 0%, rgba(22,24,26,.74) 52%, rgba(22,24,26,.25) 100%), linear-gradient(180deg, rgba(22,24,26,.6) 0%, rgba(22,24,26,0) 22%); }
}
@media (max-height: 560px) and (orientation: landscape) {
	.hero-title { font-size: clamp(2rem, 4.4vw, 2.6rem); }
	.hero-in { padding-top: calc(var(--head-h) + 18px); padding-bottom: 28px; gap: 12px; }
	.hero-text { font-size: 1rem; }
}
@keyframes hero-in { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
	.hero { display: flex; flex-direction: column; min-height: 0; }
	.hero-media { order: -1; }
	.hero-media { position: relative; height: 46svh; min-height: 280px; z-index: 0; }
	.hero-media img { object-position: 36% 62%; }
	.hero-media .credit { right: var(--gutter); bottom: 12px; }
	.hero-shade { bottom: auto; height: max(46svh, 280px); z-index: 1; background: linear-gradient(180deg, rgba(22,24,26,.72) 0%, rgba(22,24,26,0) 34%), linear-gradient(0deg, var(--anthracite) 0%, rgba(38,41,43,0) 26%); }
	.hero-in { padding-top: 6px; padding-bottom: 44px; gap: 18px; }
	.hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- parcours « Derrière les murs » ---------- */
.story { background: var(--encre); color: var(--chaux); padding-top: clamp(72px, 10vw, 128px); }
.story .label { color: var(--laiton-tint); }
.story-intro { display: grid; gap: 18px; padding-bottom: clamp(40px, 6vw, 72px); }
.story-intro h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -.035em; }
.story-intro .lead { color: rgba(243, 240, 234, .78); }
.story-note { font-size: .82rem; color: rgba(243, 240, 234, .6); padding-block: 26px 40px; }
.story-stage { display: none; }
.chapter { padding: 0 var(--gutter) 56px; max-width: var(--max); margin-inline: auto; }
.chapter-media { margin: 0 0 22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--anthracite); }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter-card { display: grid; gap: 14px; }
.chapter-n { font: 600 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 240, 234, .65); }
.chapter-n span { color: var(--laiton-tint); }
.chapter-card h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.chapter-card p { color: rgba(243, 240, 234, .82); max-width: 46ch; }
.chapter-card .link { color: var(--chaux); border-bottom-color: var(--laiton-tint); }
.chapter-card .credit { color: rgba(243, 240, 234, .58); }

@media (min-width: 1000px) {
	.story-body { position: relative; }
	.story-stage { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
	.stage-frame { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
	.stage-frame.is-on { opacity: 1; }
	.stage-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.09 - var(--p, 0) * .09)); transform-origin: 50% 60%; will-change: transform; }
	.stage-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,24,26,.86) 0%, rgba(22,24,26,.6) 32%, rgba(22,24,26,.05) 62%, rgba(22,24,26,0) 76%, rgba(22,24,26,.62) 100%), linear-gradient(0deg, rgba(22,24,26,.55) 0%, rgba(22,24,26,0) 30%), linear-gradient(180deg, rgba(22,24,26,.5) 0%, rgba(22,24,26,0) 20%); }
	.stage-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; display: grid; gap: 4px; }
	.stage-rail li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 30px; color: rgba(243, 240, 234, .5); font: 600 .74rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; transition: color .4s; }
	.stage-rail li::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .5s var(--ease), background-color .4s; }
	.stage-rail em { font-style: normal; opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease); }
	.stage-rail li.is-on { color: var(--chaux); }
	.stage-rail li.is-on::after { width: 44px; background: var(--laiton-tint); }
	.stage-rail li.is-on em { opacity: 1; transform: none; }
	.story-chapters { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
	.chapter { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: var(--head-h) var(--gutter) 0; max-width: 1440px; }
	.chapter-media { display: none; }
	.chapter-card { max-width: 500px; }
	.js .chapter-card { transform: translateY(20px); transition: transform .8s var(--ease); }
	.js .chapter.is-on .chapter-card { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec-tight { padding-block: clamp(48px, 7vw, 88px); }
.sec-stone { background: var(--pierre); }
.sec-dark { background: var(--anthracite); color: var(--chaux); }
.sec-dark .lead { color: rgba(243, 240, 234, .78); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.03em; }
.sec-head-split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .sec-head-split { grid-template-columns: 1fr; } }

/* qualifications */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ligne-claire); border: 1px solid var(--ligne-claire); }
.cred { background: var(--anthracite); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.cred h3 { font-size: 1.45rem; }
.cred p { color: rgba(243, 240, 234, .76); font-size: .97rem; }
.cred dl { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--ligne-claire); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.cred dt { color: rgba(243, 240, 234, .6); }
.cred dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .creds { grid-template-columns: 1fr; } }

/* cartes */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card { background: var(--blanc); border: 1px solid var(--ligne); transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--beton); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pierre); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; flex: 1; }
.card-title { font: 600 1.4rem/1.15 var(--display); letter-spacing: -.015em; }
.card-text { color: var(--mineral); font-size: .97rem; }
.card-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.card-more .ico { color: var(--laiton-ink); transition: transform .3s var(--ease); }
.card:hover .card-more .ico { transform: translateX(4px); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }

/* étapes */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--encre); }
.step { padding: 26px 24px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--laiton); }
.step-n { font: 600 .82rem/1 var(--display); letter-spacing: .1em; color: var(--laiton-ink); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--mineral); font-size: .96rem; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--encre); padding-left: 24px; row-gap: 30px; } .step { padding: 0; } .step::before { top: 6px; left: -28px; } }

/* zone */
.zone-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.zone-in > div { display: grid; gap: 18px; }
.zone-in h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.03em; }
.zone-text { color: rgba(243, 240, 234, .78); max-width: 52ch; }
.zone-list { list-style: none; display: grid; border-top: 1px solid var(--ligne-claire); }
.zone-list li { display: flex; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--ligne-claire); }
.zone-num { font: 600 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.02em; color: var(--laiton-tint); min-width: 2.4ch; font-variant-numeric: tabular-nums; }
.zone-name { font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.2 var(--display); }
.zone-list-light { border-top-color: var(--ligne); margin-bottom: 40px; }
.zone-list-light li { border-bottom-color: var(--ligne); }
.zone-list-light .zone-num { color: var(--laiton-ink); }
@media (max-width: 860px) { .zone-in { grid-template-columns: 1fr; } }

/* questions */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--head-h) + 24px); }
.faq, .prose .wp-block-details { border-top: 1px solid var(--ligne); }
.faq details, .prose details { border-bottom: 1px solid var(--ligne); }
.faq summary, .prose summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding-block: 18px; font: 600 1.12rem/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker, .prose summary::-webkit-details-marker { display: none; }
.faq summary::after, .prose summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after, .prose details[open] summary::after { transform: rotate(45deg); }
.faq details p, .prose details > :not(summary) { color: var(--mineral); padding-bottom: 22px; max-width: 64ch; }
.prose .wp-block-details { border-top: 0; margin: 0; }
.prose .wp-block-details:first-of-type { border-top: 1px solid var(--ligne); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .sec-head { position: static; } }

/* contact et formulaire */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
.coords { margin: 10px 0 0; display: grid; border-top: 1px solid var(--ligne); }
.coords div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--ligne); }
.coords dt { display: flex; align-items: center; gap: 10px; color: var(--mineral); font-size: .92rem; }
.coords dt .ico { color: var(--laiton-ink); }
.coords dd { margin: 0; font-weight: 500; }
.coords a { text-decoration: none; display: inline-block; padding-block: 10px; margin-block: -10px; }
.coords a:hover { text-decoration: underline; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .coords div { grid-template-columns: 1fr; gap: 4px; } }
.form { background: var(--blanc); border: 1px solid var(--ligne); padding: clamp(22px, 4vw, 44px); display: grid; gap: 18px; scroll-margin-top: calc(var(--head-h) + 16px); }
.form-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-note { color: var(--mineral); font-size: .9rem; margin-top: -6px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--encre); background: var(--chaux); border: 1px solid var(--beton); border-radius: var(--radius); padding: 13px 14px; min-height: 52px; width: 100%; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--encre); background-color: var(--blanc); box-shadow: 0 0 0 3px rgba(160, 125, 76, .3); }
.field [aria-invalid="true"] { border-color: #A33A2B; background-color: #FBF1EF; }
.err { color: #9A3324; font-size: .9rem; font-weight: 500; }
.check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px; accent-color: var(--anthracite); }
.check label { font-weight: 400; color: var(--mineral); font-size: .93rem; }
.check .err { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 16px 18px; border-left: 3px solid; font-weight: 500; }
.status-ok { border-color: #3E6B4A; background: #EEF4EF; color: #24432D; }
.status-bad { border-color: #A33A2B; background: #FBF1EF; color: #6E2418; }
.form .btn { justify-self: start; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

/* bandeau final */
.cta-band { background: var(--encre); color: var(--chaux); padding-block: clamp(64px, 9vw, 112px); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 64px; align-items: end; }
.cta-in h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.03em; margin-top: 16px; max-width: 18ch; }
.cta-text { color: rgba(243, 240, 234, .76); margin-top: 16px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } .cta-actions .btn { flex: 1 1 auto; } }

/* ---------- pages intérieures ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--ligne); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.035em; max-width: 18ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .86rem; color: var(--mineral); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--beton); }
.crumbs a { text-decoration: none; display: inline-block; padding-block: 6px; }
.crumbs a:hover { text-decoration: underline; }

/* prestation */
.presta-hero { border-bottom: 1px solid var(--ligne); }
.presta-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.presta-hero-txt { display: grid; gap: 18px; }
.presta-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -.035em; }
.presta-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.presta-media { margin: 0; }
.presta-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--pierre); }
@media (max-width: 900px) { .presta-hero-in { grid-template-columns: 1fr; } .presta-media { order: -1; } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.panel { background: var(--blanc); border: 1px solid var(--ligne); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 20px; align-content: start; }
.panel-stone { background: var(--pierre); border-color: transparent; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--laiton-ink); margin-top: 3px; }
.others-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); margin-top: 28px; }
.others-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 22px; background: var(--pierre); text-decoration: none; min-height: 96px; transition: background-color .25s; }
.others-list a:hover { background: var(--chaux); }
.others-list .label { grid-column: 1; }
.others-list a > span:not(.label) { grid-column: 1; font: 600 1.15rem/1.2 var(--display); }
.others-list .ico { grid-column: 2; grid-row: 1 / span 2; color: var(--laiton-ink); }

/* liste des prestations */
.rows { display: grid; gap: clamp(56px, 8vw, 112px); }
.row-item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.row-item.is-rev .row-media { order: 2; }
.row-media { margin: 0; }
.row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--pierre); }
.row-body { display: grid; gap: 16px; }
.row-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.025em; }
.row-body h2 a { text-decoration: none; }
.row-body > p { color: var(--mineral); max-width: 56ch; }
@media (max-width: 900px) { .row-item { grid-template-columns: 1fr; } .row-item.is-rev .row-media { order: 0; } }

/* contenu éditorial */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 1.8em; letter-spacing: -.02em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose p, .prose li { color: #3A3C3A; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--laiton-ink); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.prose .wp-block-table { overflow-x: auto; }
.prose-sm { font-size: .95rem; }
.zone-page { max-width: 900px; }
.story-note.wrap { color: var(--mineral); }
.story .story-note.wrap { color: rgba(243, 240, 234, .6); }

/* réalisations */
.empty { max-width: 680px; display: grid; gap: 16px; padding: clamp(28px, 4vw, 48px); background: var(--blanc); border: 1px solid var(--ligne); }
.empty p { color: var(--mineral); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.real-media { margin: 0 0 40px; }
.real-media img { width: 100%; }
.ba { position: relative; margin: 0 0 48px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pierre); --pos: 50%; }
.ba-frame { position: absolute; inset: 0; }
.ba-frame img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-tag { position: absolute; top: 16px; padding: 7px 12px; background: rgba(22, 24, 26, .78); color: var(--chaux); font: 600 .72rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.ba-before .ba-tag { left: 16px; }
.ba-after .ba-tag { right: 16px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--chaux); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--chaux); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within .ba-handle::after { outline: 2px solid var(--laiton); outline-offset: 3px; }
.ba .credit { position: absolute; left: 16px; bottom: 12px; margin: 0; color: var(--chaux); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.nav-links { display: flex; gap: 12px; margin-top: 40px; }
.nav-links a, .nav-links span { padding: 10px 14px; border: 1px solid var(--ligne); text-decoration: none; }

/* 404 */
.notfound .wrap { display: grid; gap: 18px; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 20ch; letter-spacing: -.03em; }

/* ---------- pied de page ---------- */
.site-foot { background: var(--encre); color: rgba(243, 240, 234, .78); padding-block: 72px 0; border-top: 1px solid var(--ligne-claire); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.foot-brand .wordmark { color: var(--chaux); font-size: 1.8rem; }
.foot-tag { font-size: .92rem; max-width: 30ch; margin-bottom: 8px; }
.foot-h { font: 600 .74rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-tint); margin-bottom: 16px; }
.foot-list { list-style: none; display: grid; gap: 4px; font-size: .95rem; }
.foot-list a, .foot-list span { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; }
.foot-list a:hover { color: var(--chaux); text-decoration: underline; }
.foot-list .ico { color: var(--laiton-tint); }
.foot-base { margin-top: 56px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ligne-claire); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .86rem; }
.legal-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.legal-list a { text-decoration: none; display: inline-block; padding-block: 8px; }
.legal-list a:hover { text-decoration: underline; color: var(--chaux); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* barre d'action mobile */
.mbar { display: none; }
@media (max-width: 760px) {
	.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 1px; background: var(--ligne-claire); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(110%); transition: transform .35s var(--ease); }
	.mbar.is-on { transform: none; }
	.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-weight: 600; text-decoration: none; }
	.mbar-tel { background: var(--anthracite); color: var(--chaux); }
	.mbar-devis { background: var(--chaux); color: var(--encre); }
	.mbar:not(:has(.mbar-tel)) { grid-template-columns: 1fr; }
	body { padding-bottom: 0; }
	.site-foot { padding-bottom: 58px; }
}

/* ---------- apparitions ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- réduction des animations ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.stage-frame img { transform: none !important; }
	.js .chapter-card { opacity: 1 !important; transform: none !important; }
}

/* ---------- impression ---------- */
@media print {
	.site-head, .mbar, .story-stage, .hero-shade, .cta-band, .form .btn { display: none !important; }
	body { background: #fff; }
	.hero { min-height: 0; color: var(--encre); background: none; }
}
