/* Dar Services Marrakech – « Cinéma » : encre et laiton */

@font-face { font-family: "Marcellus"; src: url("../fonts/marcellus.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--encre: #101319;
	--encre-2: #161A22;
	--encre-3: #0B0D12;
	--laiton: #C29E62;
	--laiton-2: #E2C894;
	--laiton-soft: rgb(194 158 98 / 0.28);
	--chaux: #F3F1EC;
	--texte: #D8D4CB;
	--gris: #9AA0AA;

	--font-display: "Marcellus", "Times New Roman", serif;
	--font-text: "Jost", "Segoe UI", system-ui, sans-serif;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-io: cubic-bezier(0.77, 0, 0.175, 1);

	--pad: clamp(20px, 5vw, 72px);
	--maxw: 1320px;
	--section: clamp(96px, 12vw, 176px);
	--hh: 84px;
}

/* ---------- Base ------------------------------------------------- */

:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
:where(body, h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(img, svg) { display: block; max-width: 100%; }
:where(a) { color: inherit; }
:where(button, input, textarea, select) { font: inherit; color: inherit; }

body { background: var(--encre); color: var(--chaux); font-family: var(--font-text); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--laiton); }
/* Titres comme le logo : capitales Marcellus espacées. */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.06; letter-spacing: 0.07em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1rem + 3vw, 4.25rem); }
h1 em, h2 em { font-style: normal; color: var(--laiton); }
p { text-wrap: pretty; }
::selection { background: var(--laiton); color: var(--encre); }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 4px; border-radius: 2px; }
html { scrollbar-color: var(--laiton) var(--encre-3); scrollbar-width: thin; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { display: none; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; background: var(--laiton); color: var(--encre); padding: 10px 16px; border-radius: 4px; transform: translateY(-160%); transition: transform 200ms var(--ease-out); }
.skip:focus { transform: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--star { color: var(--laiton); }

/* ---------- Buttons ---------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0 1.6em; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 220ms ease, color 220ms ease; }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn--laiton { background: var(--laiton); color: var(--encre); }
.btn--small { min-height: 44px; padding: 0 1.2em; font-size: 0.95rem; }
.btn--large { min-height: 60px; padding: 0 2em; font-size: 1.0625rem; }
@media (hover: hover) and (pointer: fine) { .btn--laiton:hover { background: var(--laiton-2); } }
/* Reflet laiton au survol (2026-11-26, choisi par la propriétaire) : un éclat passe une fois sur le bouton. */
.btn--laiton { position: relative; overflow: hidden; }
.btn--laiton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .btn--laiton:hover::after { transform: translateX(120%); transition: transform 750ms var(--ease-out); } }
@media (prefers-reduced-motion: reduce) { .btn--laiton::after { display: none; } }

/* ---------- Brass frame ------------------------------------------ */

.frame { position: absolute; inset: 18px; border: 1px solid rgb(194 158 98 / 0.7); pointer-events: none; z-index: 1; }
.frame__star { position: absolute; width: 7px; height: 7px; line-height: 0; }
.frame__star .icon { width: 7px; height: 7px; display: block; }
.frame__star--tl { left: -3.5px; top: -3.5px; } .frame__star--tr { right: -3.5px; top: -3.5px; }
.frame__star--bl { left: -3.5px; bottom: -3.5px; } .frame__star--br { right: -3.5px; bottom: -3.5px; }

/* ---------- Header ----------------------------------------------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); display: flex; align-items: center; gap: 36px; padding: 0 calc(var(--pad) + 4px); margin-top: 22px; transition: background-color 320ms ease, margin 320ms var(--ease-out), box-shadow 320ms ease; }
.site-header__brand { line-height: 0; flex: none; }
.logo { height: 40px; width: auto; }
.site-nav { display: flex; gap: 30px; margin-left: auto; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--texte); }
.site-nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--laiton), var(--laiton)) 0 100% / 0 1px no-repeat; transition: background-size 300ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { background-size: 100% 1px; color: var(--chaux); } }
/* Sous-menu « Expertise » (ordinateur) */
.nav-drop { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-drop__btn { all: unset; display: grid; place-items: center; width: 22px; height: 22px; margin-right: -6px; color: var(--laiton); cursor: pointer; border-radius: 50%; }
.nav-drop__btn svg { width: 11px; height: 11px; transition: transform 300ms var(--ease-out); }
.nav-drop__btn:focus-visible { outline: 2px solid var(--laiton); outline-offset: 2px; }
.nav-drop__panel { position: absolute; top: 100%; left: -26px; min-width: 250px; margin: 0; padding: 22px 0 14px; list-style: none; background: rgb(11 13 18 / 0.96); backdrop-filter: blur(12px); border: 1px solid var(--laiton-soft); border-top: 0; box-shadow: inset 0 1px 0 var(--laiton), 0 24px 48px rgb(0 0 0 / 0.45); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 220ms ease, transform 300ms var(--ease-out), visibility 0s linear 300ms; }
.nav-drop__panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
.site-nav .nav-drop__panel a { display: flex; align-items: baseline; gap: 14px; padding: 9px 26px; background: none; font-family: var(--font-display); font-size: 0.92rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte); transition: color 200ms ease, padding 300ms var(--ease-out); }
.nav-drop__panel a i { font-style: normal; font-family: var(--font-text); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--laiton); }
.nav-drop.is-open .nav-drop__panel { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms ease, transform 300ms var(--ease-out), visibility 0s; }
.nav-drop.is-open .nav-drop__btn svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
	.nav-drop:hover .nav-drop__panel { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms ease, transform 300ms var(--ease-out), visibility 0s; }
	.nav-drop:hover .nav-drop__btn svg { transform: rotate(180deg); }
	.site-nav .nav-drop__panel a:hover { color: var(--laiton-2); padding-left: 32px; }
}
/* En défilant, la barre devient du verre dépoli légèrement clair (pas de noir plein). */
.site-header.is-solid { margin-top: 0; background: linear-gradient(rgb(243 241 236 / 0.2), rgb(243 241 236 / 0.13)); -webkit-backdrop-filter: blur(18px) saturate(1.6) brightness(0.72); backdrop-filter: blur(18px) saturate(1.6) brightness(0.72); box-shadow: inset 0 -1px 0 rgb(243 241 236 / 0.18); }
.admin-bar .site-header { top: 32px; }

/* Menu mobile : bouton deux traits laiton -> croix, panneau plein écran encre. */
.menu-btn, .menu { display: none; }
.menu-btn { all: unset; display: none; box-sizing: border-box; width: 44px; height: 44px; margin-right: -10px; place-items: center; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.menu-btn:focus-visible { outline: 2px solid var(--laiton); outline-offset: 2px; }
.menu-btn__bars, .menu-btn__bars::before { display: block; width: 24px; height: 1.5px; background: var(--laiton); transition: transform 320ms var(--ease-out), width 320ms var(--ease-out), top 320ms var(--ease-out); }
.menu-btn__bars { position: relative; transform: translateY(-4px); }
.menu-btn__bars::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; width: 24px; transform: rotate(-90deg); }
.menu { position: fixed; inset: 0; z-index: 45; flex-direction: column; justify-content: center; gap: 44px; padding: calc(var(--hh) + 40px) calc(var(--pad) + 18px) calc(60px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--encre-3); visibility: hidden; opacity: 0; transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 360ms var(--ease-out), visibility 0s; }
.menu .frame { position: fixed; }
.menu__list { display: grid; gap: 6px; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; text-decoration: none; font-family: var(--font-display); font-size: clamp(1.2rem, 5.2vw, 1.6rem); line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--chaux); }
.menu__list a i { font-style: normal; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--laiton); transform: translateY(-0.3em); }
.menu__list a:active { color: var(--laiton-2); }
.menu__title { margin-bottom: 14px; padding-top: 22px; border-top: 1px solid var(--laiton-soft); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--laiton); }
.menu__nav > .menu__title { padding-top: 0; border-top: 0; }
.menu__list--contact { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--laiton-soft); }
.menu__list--contact a { color: var(--laiton); }
.menu__list li, .menu__metiers { opacity: 0; transform: translateY(14px); transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.menu.is-open .menu__list li, .menu.is-open .menu__metiers { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(80ms + var(--k, 0) * 50ms); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: transparent; backdrop-filter: none; box-shadow: none; }

/* ---------- Hero ------------------------------------------------- */

.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: var(--encre-3); }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1000ms var(--ease-out), transform 7000ms linear; }
.hero__img.is-on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
	linear-gradient(270deg, rgb(16 19 25 / 0.82) 0%, transparent 32%),
	linear-gradient(90deg, rgb(16 19 25 / 0.92) 0%, rgb(16 19 25 / 0.55) 48%, rgb(16 19 25 / 0.1) 75%),
	linear-gradient(0deg, rgb(16 19 25 / 0.85) 0%, transparent 45%),
	linear-gradient(180deg, rgb(16 19 25 / 0.6) 0%, transparent 22%); }
.hero__content { position: absolute; left: calc(var(--pad) + 4px); bottom: clamp(56px, 10vh, 112px); max-width: 64vw; z-index: 2; }
.hero__title { font-size: clamp(2.2rem, 0.6rem + 3.9vw, 5.4rem); line-height: 1.04; letter-spacing: 0.06em; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line > span { display: block; }
.hero__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.hero__row p { color: var(--texte); max-width: 32ch; }
.hero__trades { position: absolute; right: calc(var(--pad) + 4px); top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero__list { display: grid; gap: 4px; }
.hero__list button { all: unset; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 5px 0; font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(243 241 236 / 0.5); transition: color 300ms ease; }
.hero__list button i { font-style: normal; font-family: var(--font-display); letter-spacing: 0; color: rgb(194 158 98 / 0.6); }
.hero__list button::before { content: ""; width: 0; height: 1px; background: var(--laiton); }
.hero__list button.is-on { color: var(--chaux); }
.hero__list button.is-on i { color: var(--laiton); }
.hero__list button.is-on::before { width: 56px; transition: width var(--slide, 2000ms) linear; }
.hero.is-paused .hero__list button.is-on::before { transition: none; width: 56px; }
.hero__list button:focus-visible { outline: 2px solid var(--laiton); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .hero__list button:hover { color: var(--chaux); } }
.hero__pause { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--laiton-soft); background: transparent; color: var(--laiton); cursor: pointer; transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.hero__pause:active { transform: scale(0.94); }
.hero__pause .icon { width: 15px; height: 15px; }
.hero__pause-on { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-off { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-on { display: block; }
.hero__cue { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 52px; background: rgb(194 158 98 / 0.3); overflow: hidden; z-index: 2; }
.hero__cue::after { content: ""; position: absolute; inset: 0; background: var(--laiton); animation: cue 1800ms var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.hero__credit { position: absolute; right: calc(var(--pad) + 4px); bottom: 34px; font-size: 0.75rem; letter-spacing: 0.08em; color: rgb(243 241 236 / 0.45); z-index: 2; }

/* ---------- Section head ----------------------------------------- */

.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.section-head p { color: var(--texte); max-width: 40ch; padding-bottom: 0.6em; }

/* ---------- Métiers : défilement horizontal ---------------------- */

.metiers { position: relative; }
.metiers__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4.5vh, 52px); padding-top: var(--hh); }
.metiers__head { display: flex; align-items: flex-end; gap: 24px 48px; }
.metiers__head h2 { flex: none; }
.metiers__head p { color: var(--texte); max-width: 36ch; margin-left: auto; padding-bottom: 0.35em; }
.metiers__count { font-family: var(--font-display); color: var(--gris); letter-spacing: 0.1em; white-space: nowrap; padding-bottom: 0.4em; }
.metiers__count b { font-weight: 400; color: var(--laiton); font-size: 1.6rem; }
.metiers__track { display: flex; gap: clamp(56px, 5vw, 88px); padding-inline: calc(var(--pad) + 4px); will-change: transform; }
.card { flex: none; width: clamp(280px, 25vw, 400px); }
.card__link { position: relative; display: block; aspect-ratio: 3 / 4.3; max-height: 66vh; min-height: 440px; overflow: hidden; border-radius: 3px; text-decoration: none; color: var(--chaux); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1200ms var(--ease-out); }
.card__link::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(16 19 25 / 0.96) 0%, rgb(16 19 25 / 0.82) 38%, rgb(16 19 25 / 0.2) 66%, transparent 80%); }
.card__link::after { content: ""; position: absolute; inset: 12px; z-index: 2; border: 1px solid rgb(226 200 148 / 0.55); transition: inset 600ms var(--ease-out), border-color 400ms ease; }
.card__body { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 3; display: grid; gap: 8px; }
.card__no { font-family: var(--font-display); color: var(--laiton); letter-spacing: 0.1em; }
.card__name { font-family: var(--font-display); font-size: clamp(1.45rem, 1rem + 0.9vw, 2rem); line-height: 1.05; letter-spacing: 0.07em; text-transform: uppercase; }
.card__list { display: grid; gap: 5px; margin-top: 4px; font-size: 0.92rem; line-height: 1.35; color: var(--texte); }
.card__list li { display: flex; align-items: baseline; gap: 10px; }
.card__list li::before { content: ""; flex: none; width: 10px; height: 1px; background: var(--laiton); transform: translateY(-4px); }
.card__go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--laiton); font-weight: 500; font-size: 0.95rem; }
.card__go .icon { width: 16px; height: 16px; color: var(--laiton); transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.card__link:hover .card__img { transform: none; }
	.card__link:hover::after { inset: 18px; border-color: var(--laiton-2); }
	.card__link:hover .card__go .icon { transform: translate(2px, -2px); }
}
.card__link:focus-visible { outline: 2px solid var(--laiton); outline-offset: 4px; }
.metiers__stage { position: relative; }
.metiers__arrow { display: none; }
.metiers__bar { height: 1px; margin-inline: calc(var(--pad) + 4px); background: var(--laiton-soft); }
.metiers__bar i { display: block; height: 100%; background: var(--laiton); transform-origin: left; transform: scaleX(0); }

/* ---------- Bandeau ---------------------------------------------- */

.marquee { overflow: hidden; border-block: 1px solid var(--laiton-soft); padding-block: clamp(12px, 1.4vw, 20px); background: var(--encre-2); }
.marquee__track { display: flex; align-items: center; gap: 0.6em; width: max-content; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(1.1rem, 0.7rem + 1.4vw, 2rem); line-height: 1; color: var(--laiton); white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee__track .icon--star { width: 0.2em; height: 0.2em; }
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--laiton); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee + .steps { padding-top: clamp(56px, 6vw, 96px); }

/* ---------- Étapes ----------------------------------------------- */

.steps { padding-block: var(--section); }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--laiton); transform-origin: left; transform: scaleX(var(--line, 1)); transition: transform 1200ms var(--ease-io); transition-delay: calc(var(--i, 0) * 120ms); }
.step__num { display: block; font-family: var(--font-display); font-size: clamp(5rem, 3rem + 5vw, 9rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--laiton); }
.step h3 { margin-top: 18px; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); line-height: 1.2; letter-spacing: 0.09em; }
.step p { margin-top: 10px; color: var(--gris); }

/* ---------- Présentation ----------------------------------------- */

.about { padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.about__text h2 { font-size: clamp(2rem, 1rem + 2.6vw, 3.75rem); }
.about__lead { margin-top: 32px; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; color: var(--chaux); max-width: 44ch; }
.about__text p + p { margin-top: 16px; color: var(--texte); max-width: 52ch; }
.about__values { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--laiton-soft); font-family: var(--font-display); font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem); letter-spacing: 0.1em; text-transform: uppercase; }
.about__values li { display: inline-flex; align-items: center; gap: 12px; }
.about__values .icon--star { width: 0.38em; height: 0.38em; }
.about__media { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.about__media::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgb(194 158 98 / 0.6); z-index: 0; }
.about__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.about__media figcaption { position: absolute; z-index: 2; right: 14px; bottom: 12px; font-size: 0.75rem; letter-spacing: 0.06em; color: rgb(243 241 236 / 0.75); }

/* ---------- Pourquoi nous ---------------------------------------- */

.raisons { padding-block: var(--section); background:
	linear-gradient(rgb(16 19 25 / 0.82), rgb(16 19 25 / 0.82)),
	url("../img/fond-villa-soir.webp") center / cover no-repeat; border-block: 1px solid var(--laiton-soft); }
.raisons__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.raisons__title { position: sticky; top: calc(var(--hh) + 48px); font-size: clamp(2rem, 1rem + 2.6vw, 3.75rem); }
.raisons__list { border-bottom: 1px solid var(--laiton-soft); }
.raison { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; padding-block: clamp(24px, 2.8vw, 36px); border-top: 1px solid var(--laiton-soft); }
.raison__no { grid-row: 1 / 3; font-family: var(--font-display); font-size: 1.25rem; color: var(--laiton); padding-top: 0.15em; }
.raison h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); letter-spacing: 0.08em; }
.raison p { margin-top: 10px; color: var(--gris); max-width: 52ch; }

/* ---------- Réalisations ----------------------------------------- */

.realisations { padding-block: var(--section) clamp(48px, 5vw, 80px); }
.real-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.real { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; }
.real:nth-child(even) { transform: translateY(48px); }
.real__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.real::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(16 19 25 / 0.85), transparent 55%); }
.real::after { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid rgb(226 200 148 / 0.5); }
.real__name { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; font-family: var(--font-display); font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.15; }
@media (hover: hover) and (pointer: fine) { .real:hover .real__img { transform: scale(1.05); } }
.real__note { margin-top: 88px; color: var(--gris); font-size: 0.9rem; }
@media (min-width: 961px) { html.js .real:nth-child(even)[data-reveal]:not(.is-in) { transform: translateY(76px); } }

/* Comparateur avant / après (actif dès que des paires de photos existent) */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 88px); }
.ba { margin: 0; }
.ba__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; --pos: 50%; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--laiton); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--laiton); box-shadow: 0 6px 18px rgb(0 0 0 / 0.4); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__handle, .ba__frame:focus-within .ba__handle { outline: 2px solid var(--laiton-2); }
.ba__tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgb(16 19 25 / 0.75); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; pointer-events: none; }
.ba__tag--before { left: 14px; } .ba__tag--after { right: 14px; color: var(--laiton-2); }
.ba figcaption { margin-top: 14px; color: var(--gris); }
.ba figcaption strong { color: var(--chaux); font-weight: 500; }

/* ---------- Contact ---------------------------------------------- */

.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: calc(var(--section) + 20px); }
.contact__media { position: absolute; inset: 0; z-index: -2; }
.contact__img { width: 100%; height: 100%; object-fit: cover; }
.contact__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 19 25 / 0.94) 0%, rgb(16 19 25 / 0.8) 55%, rgb(16 19 25 / 0.6) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; z-index: 2; }
.contact__lead { margin-top: 22px; color: var(--texte); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); }
.contact__intro .btn { margin-top: 32px; }
.contact-list { display: grid; gap: 12px; margin-top: 36px; color: var(--texte); }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list a { text-decoration: none; }
.contact-list .icon { color: var(--laiton); }
.contact-list__tag { margin-left: 2px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); }
.contact__form { background: rgb(16 19 25 / 0.92); border: 1px solid var(--laiton-soft); border-radius: 4px; padding: clamp(24px, 3.2vw, 44px); }
.contact__form-title { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); letter-spacing: 0.09em; margin-bottom: 24px; }

/* Formidable, version sombre */
.form-shell .frm_forms, .form-shell form, .form-shell fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-shell legend, .form-shell .frm_screen_reader { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-shell .frm_fields_container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.form-shell .frm_form_field { grid-column: span 2; margin: 0; }
.form-shell .frm_form_field:nth-child(1), .form-shell .frm_form_field:nth-child(2) { grid-column: span 1; }
.form-shell label, .form-shell .frm_primary_label { display: block; margin-bottom: 8px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.form-shell .frm_required { color: var(--laiton); }
.form-shell input:not([type="submit"]):not([type="hidden"]), .form-shell textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgb(194 158 98 / 0.35); border-radius: 2px; background: rgb(255 255 255 / 0.03); color: var(--chaux); font-size: 1rem; transition: border-color 200ms ease, background-color 200ms ease; }
.form-shell textarea { min-height: 130px; resize: vertical; }
.form-shell input:focus, .form-shell textarea:focus { outline: none; border-color: var(--laiton); background: rgb(255 255 255 / 0.05); }
.form-shell .frm_description { display: none; }
.form-shell .frm_error, .form-shell .frm_error_style { color: #F0A7A0; font-size: 0.9rem; margin-top: 6px; }
.form-shell .frm_blank_field input, .form-shell .frm_blank_field textarea { border-color: #F0A7A0; }
.form-shell .frm_message, .form-shell .frm_message p { background: rgb(194 158 98 / 0.12); color: var(--chaux); border-radius: 2px; padding: 16px; }
.form-shell button, .form-shell input[type="submit"], .form-shell .frm_button_submit { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 2em; margin-top: 6px; border: 0; border-radius: 999px; background: var(--laiton); color: var(--encre); font-weight: 500; font-size: 1rem; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 220ms ease; }
.form-shell button:active, .form-shell input[type="submit"]:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .form-shell button:hover, .form-shell input[type="submit"]:hover { background: var(--laiton-2); } }
.form-shell .frm_ajax_loading, .form-shell .frm-loading-img { display: none; }

/* ---------- Pages intérieures ------------------------------------ */

.page-hero { position: relative; padding: calc(var(--hh) + clamp(80px, 14vh, 160px)) 0 clamp(56px, 8vh, 96px); border-bottom: 1px solid var(--laiton-soft); background: radial-gradient(90% 120% at 85% 0%, #1D222C 0%, var(--encre) 60%); }
.page-hero__pattern { display: none; }
.page-hero__title { font-size: clamp(2.2rem, 1rem + 3.6vw, 5rem); max-width: 18ch; }
.page-hero__lead { margin-top: 22px; max-width: 52ch; color: var(--texte); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); }
.prose { max-width: calc(72ch + 2 * var(--pad)); padding-block: clamp(56px, 8vw, 112px) var(--section); color: var(--texte); }
.prose > * + * { margin-top: 1.1em; }
/* Le titre est déjà dans l'en-tête de page : on masque sa répétition en tête du texte. */
.prose > :is(h1, h2):first-child, .prose > :first-child > :is(h1, h2):first-child { display: none; }
.prose > :is(h1, h2):first-child + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); margin-top: 1.8em; color: var(--chaux); }
.prose h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); margin-top: 1.6em; color: var(--chaux); }
.prose a { color: var(--laiton); text-underline-offset: 0.25em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose :where(.elementor, .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-widget, .elementor-widget-container, .e-con, .e-con-inner) { all: unset; display: block; }
.prose :where(.elementor-widget + .elementor-widget, .e-con + .e-con) { margin-top: 1.1em; }
.prose :where(h1, h2, h3, h4, p, li, span, strong) { color: inherit; }

/* ---------- Footer ----------------------------------------------- */

.site-footer { background: var(--encre-3); color: var(--texte); border-top: 1px solid var(--laiton-soft); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 3fr)); gap: 48px; padding-block: clamp(64px, 8vw, 112px) 56px; }
.logo-stack { width: 170px; height: auto; }
.site-footer__brand p { margin-top: 22px; max-width: 28ch; color: var(--gris); }
.site-footer__title { font-family: var(--font-text); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--laiton); font-weight: 500; margin-bottom: 20px; }
.contact-list--small { margin-top: 0; }
.link-list { display: grid; gap: 10px; }
.link-list a, .site-footer .contact-list a { text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--laiton-2); } }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid rgb(194 158 98 / 0.15); font-size: 0.85rem; color: var(--gris); }
.mobile-bar { display: none; }

/* ---------- Motion ----------------------------------------------- */

html.js [data-reveal] { transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out), filter 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); filter: blur(8px); }
html.js .step:not(.is-in) { --line: 0; }

html.js .hero .line > span { animation: rise 1300ms var(--ease-out) both; }
html.js .hero .line:nth-child(2) > span { animation-delay: 100ms; }
html.js .hero .line:nth-child(3) > span { animation-delay: 200ms; }
html.js .hero__row { animation: fade 1000ms var(--ease-out) 550ms both; }
html.js .hero__list li { animation: fade 900ms var(--ease-out) both; animation-delay: calc(650ms + var(--k, 0) * 60ms); }
html.js .hero .frame { animation: frame 1700ms var(--ease-out) both; }
html.js .site-header { animation: fade 1000ms var(--ease-out) 300ms both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes frame { from { inset: 46px; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; }
	html.js [data-reveal], .hero__img, .step::before, .card__img, .real__img { transition-duration: 1ms !important; }
	html.js [data-reveal]:not(.is-in) { opacity: 1; transform: none; filter: none; }
	.menu, .menu__list li, .menu__metiers, .menu-btn__bars, .menu-btn__bars::before { transition-duration: 1ms !important; transition-delay: 0s !important; }
	.hero__img.is-on { transform: none; }
}

/* ---------- Responsive ------------------------------------------- */

@media (max-width: 1100px) {
	.site-nav { gap: 22px; }
}

@media (max-width: 960px) {
	.site-nav { display: none; }
	.site-header__cta { margin-left: auto; }
	.site-header { gap: 14px; }
	.menu-btn { display: grid; }
	.menu { display: flex; }
	.hero__content { max-width: none; right: calc(var(--pad) + 4px); bottom: 132px; }
	.hero__trades { top: auto; bottom: 64px; left: calc(var(--pad) + 4px); right: calc(var(--pad) + 4px); transform: none; flex-direction: row; justify-content: space-between; align-items: center; }
	.hero__list li { display: none; }
	.hero__list li:has(.is-on) { display: block; }
	.hero__cue, .hero__credit { display: none; }
	.section-head { grid-template-columns: 1fr; }
	.about__grid, .raisons__grid { grid-template-columns: 1fr; }
	.raisons__title { position: static; }
	.about__media { max-width: 520px; }
	.real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.real:nth-child(even) { transform: none; }
	.ba-grid { grid-template-columns: 1fr; }
	.steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
	.contact__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
	:root { --hh: 68px; }
	.site-header { margin-top: 12px; padding-inline: 26px; }	.logo { height: 30px; }
	.frame { inset: 10px; }
	/* Mobile : la photo (format 3:4) s'affiche entière, le texte passe dessous. */
	.hero { height: auto; min-height: 0; padding-bottom: 30px; }
	.hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 3 / 4; overflow: hidden; }
	.hero__shade { inset: 0 0 auto; z-index: 1; aspect-ratio: 3 / 4; background:
		linear-gradient(180deg, rgb(11 13 18 / 0.6) 0%, transparent 20%, transparent 62%, var(--encre-3) 100%); }
	.hero__content { position: relative; z-index: 2; left: auto; right: auto; bottom: auto; margin-top: -72px; padding-inline: 26px; }
	.hero__title { font-size: clamp(1.75rem, 8.2vw, 2.4rem); }
	.hero__row { display: none; }
	.hero__trades { position: relative; z-index: 2; left: auto; right: auto; bottom: auto; display: block; margin-top: 26px; padding-inline: 26px; }
	.hero__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 6px; }
	.hero__list li, .hero__list li:has(.is-on) { display: block; }
	.hero__list button { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 3px; width: 100%; box-sizing: border-box; padding: 11px 0 8px; border-top: 1px solid rgb(243 241 236 / 0.22); font-size: 0.7rem; letter-spacing: 0.14em; color: rgb(243 241 236 / 0.62); }
	.hero__list button i { font-size: 0.8rem; }
	.hero__list button::before { position: absolute; left: 0; top: -1px; }
	.hero__list button.is-on::before, .hero.is-paused .hero__list button.is-on::before { width: 100%; }
	.hero__pause { position: absolute; right: 26px; top: -50px; width: 34px; height: 34px; }
	.about { padding-bottom: 56px; }
	.about__media { aspect-ratio: 1 / 1; }
	.raisons { background: linear-gradient(rgb(16 19 25 / 0.82), rgb(16 19 25 / 0.82)), url("../img/fond-villa-m.webp") center / cover no-repeat; }
	.metiers__pin { position: static; height: auto; padding-block: 24px 56px; }
	.metiers__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.metiers__head p { margin-left: 0; }
	.metiers__count { display: none; }
	.metiers__bar { margin-inline: 26px; margin-top: -8px; }
	.metiers__arrow { position: absolute; top: 50%; z-index: 4; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgb(226 200 148 / 0.5); border-radius: 50%; background: rgb(194 158 98 / 0.55); color: var(--encre); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 14px rgb(0 0 0 / 0.3); cursor: pointer; transform: translateY(-50%); transition: opacity 260ms ease, transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
	.metiers__arrow:active { transform: translateY(-50%) scale(0.92); }
	.metiers__arrow .icon { width: 16px; height: 16px; }
	.metiers__arrow--next { right: 8px; }
	.metiers__arrow--prev { left: 8px; }
	.metiers__arrow--prev .icon { rotate: 180deg; }
	.metiers__arrow.is-off { opacity: 0; pointer-events: none; }
	.metiers:not(.is-swiped) .metiers__arrow--next .icon { animation: nudge 1400ms var(--ease-io) infinite; }
	.metiers__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 26px; padding-inline: 26px; scrollbar-width: none; transform: none !important; }
	.metiers__track::-webkit-scrollbar { display: none; }
	.metiers__track { gap: 44px; }
	.card { width: 72vw; scroll-snap-align: start; }
	.card:last-child { scroll-snap-align: end; }
	.card__body { left: 24px; right: 24px; bottom: 24px; }
	.card__link { max-height: none; }
	.steps__list { grid-template-columns: 1fr; }
	.raison { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
	.real-grid { gap: 10px; }
	.real__name { left: 16px; right: 16px; bottom: 16px; }
	.real__note { margin-top: 24px; }
	.about__media::before { inset: -10px 10px 10px -10px; }
	.form-shell .frm_form_field:nth-child(1), .form-shell .frm_form_field:nth-child(2) { grid-column: span 2; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__brand { grid-column: auto; }
	.logo-stack { width: 112px; }
	body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
	.mobile-bar { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--encre-3); border-top: 1px solid var(--laiton-soft); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--chaux); text-decoration: none; font-weight: 500; transition: transform 160ms var(--ease-out); }
	.mobile-bar a:active { transform: scale(0.97); }
	.mobile-bar__wa { background: var(--laiton); color: var(--encre) !important; }
	.mobile-bar a { font-size: 0.92rem; gap: 8px; }
	.mobile-bar .icon { width: 17px; height: 17px; }
	.admin-bar .site-header { top: 46px; }
}

/* ---------- Pages métier (maquette A « Plein cadre ») ------------ */

.btn--line { border-color: rgb(194 158 98 / 0.6); color: var(--chaux); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { border-color: var(--laiton-2); color: var(--laiton-2); } }
.mt-note { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); }
.mt-label { font-family: var(--font-text); font-size: 0.78rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: var(--laiton); }
.mt-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.mt-hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--encre-3); }
.mt-hero__media { position: absolute; inset: 0; z-index: -2; }
.mt-hero__media picture { display: block; height: 100%; }
.mt-hero__img { width: 100%; height: 100%; object-fit: cover; }
.mt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 13 18 / 0.6) 0%, rgb(11 13 18 / 0.1) 35%, rgb(11 13 18 / 0.88) 100%); }
.mt-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; padding-block: calc(var(--hh) + 120px) clamp(56px, 7vw, 88px); }
.mt-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--texte); }
.mt-crumb a { text-decoration: none; transition: color 200ms ease; }
.mt-crumb [aria-current] { color: var(--laiton); }
@media (hover: hover) and (pointer: fine) { .mt-crumb a:hover { color: var(--laiton-2); } }
.mt-hero__title { font-size: clamp(2.5rem, 1rem + 5.2vw, 6.2rem); max-width: 16ch; overflow-wrap: break-word; }
.mt-hero__lead { max-width: 50ch; color: var(--chaux); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.22rem); }
html.js .mt-hero__in > * { animation: fade 1000ms var(--ease-out) both; }
html.js .mt-hero__in > :nth-child(2) { animation-delay: 80ms; }
html.js .mt-hero__in > :nth-child(3) { animation-delay: 180ms; }
html.js .mt-hero__in > :nth-child(4) { animation-delay: 280ms; }
html.js .mt-hero > .frame { animation: frame 1700ms var(--ease-out) both; }

.mt-intro { padding-block: clamp(80px, 10vw, 140px); }
.mt-intro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 72px; align-items: end; }
.mt-intro h2 { font-size: clamp(2rem, 1rem + 3vw, 4rem); }
.mt-intro__text { display: grid; gap: 18px; max-width: 52ch; color: var(--texte); }
.mt-intro__lead { color: var(--chaux); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem); }

/* « Nos prestations » : la photo du métier floutée en fond, prestations sur verre dépoli. */
.mt-prest { position: relative; overflow: hidden; background: var(--encre-2); padding-block: clamp(80px, 10vw, 140px); }
.mt-prest__bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(26px) saturate(1.25) brightness(0.62); }
.mt-prest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(16 19 25 / 0.55), rgb(16 19 25 / 0.2) 30%, rgb(16 19 25 / 0.2) 70%, rgb(16 19 25 / 0.6)); }
.mt-prest > .wrap { position: relative; z-index: 1; }
.mt-prest__list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mt-prest__list li { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); background: linear-gradient(rgb(243 241 236 / 0.14), rgb(243 241 236 / 0.07)); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgb(243 241 236 / 0.2); border-radius: 3px; box-shadow: inset 0 1px 0 rgb(243 241 236 / 0.12); }
.mt-prest__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Lueur dorée qui suit la souris sur les panneaux de verre (2026-11-26) ; --x / --y posés par site.js. */
.mt-prest__list li { position: relative; overflow: hidden; }
.mt-prest__list li > * { position: relative; }
.mt-prest__list li::before { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--x, 50%) var(--y, 50%), rgb(226 200 148 / 0.22), transparent 65%); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .mt-prest__list li:hover::before { opacity: 1; } }
.mt-prest__no { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: var(--laiton); }
.mt-prest__list h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); color: var(--chaux); }
.mt-prest__list p { color: var(--chaux); opacity: 0.86; }

.mt-geste { padding-block: clamp(80px, 10vw, 140px); }
.mt-geste__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 80px; align-items: center; }
.mt-geste__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.mt-geste__img.mt-geste__img--entier { aspect-ratio: auto; object-fit: contain; }
.mt-geste__media figcaption { margin-top: 10px; }
.mt-geste__col { display: grid; gap: 32px; }
.mt-geste h2, .mt-faq h2 { font-size: clamp(1.9rem, 1rem + 2.6vw, 3.4rem); }
.mt-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--laiton-soft); }
.mt-steps__no { grid-row: span 2; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--laiton); }
.mt-steps h3 { font-size: 1.15rem; color: var(--chaux); }
.mt-steps p { color: var(--texte); }

.mt-gal__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.mt-gal__img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mt-gal .mt-note { grid-column: 1 / -1; }

.mt-faq { padding-block: clamp(80px, 10vw, 140px); }
.mt-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.mt-faq__list details { border-top: 1px solid var(--laiton-soft); }
.mt-faq__list details:last-child { border-bottom: 1px solid var(--laiton-soft); }
.mt-faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem); line-height: 1.3; letter-spacing: 0.05em; text-transform: uppercase; color: var(--chaux); }
.mt-faq__list summary::-webkit-details-marker { display: none; }
.mt-faq__list summary::after { content: "+"; flex: none; font-family: var(--font-text); font-size: 1.6rem; line-height: 1; color: var(--laiton); transition: transform 220ms var(--ease-out); }
.mt-faq__list details[open] summary::after { transform: rotate(45deg); }
.mt-faq__list summary:focus-visible { outline: 2px solid var(--laiton-2); outline-offset: 4px; }
.mt-faq__list details p { padding-bottom: 24px; max-width: 64ch; color: var(--texte); }

.mt-cta { position: relative; overflow: hidden; background: var(--encre-3); }
.mt-cta__bg { position: absolute; inset: 0; z-index: 0; }
.mt-cta__img { width: 100%; height: 100%; object-fit: cover; }
/* Voile (2026-11-26) : entre l'ancien (0.93 / 0.8 / 0.5, photo pas assez visible) et l'allégé
   (0.8 / 0.52 / 0.1, trop visible), puis 0.87 / 0.66 / 0.3 encore trop clair ; ombre portée sur le texte. */
.mt-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 13 18 / 0.91) 0%, rgb(11 13 18 / 0.75) 45%, rgb(11 13 18 / 0.42) 100%); }
.mt-cta__bg ~ .mt-cta__in h2, .mt-cta__bg ~ .mt-cta__in p { text-shadow: 0 2px 18px rgb(11 13 18 / 0.7); }
@media (max-width: 680px) { .mt-cta__bg::after { background: linear-gradient(180deg, rgb(11 13 18 / 0.7) 0%, rgb(11 13 18 / 0.77) 55%, rgb(11 13 18 / 0.82) 100%); } }
.mt-cta__in { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; padding-block: clamp(90px, 11vw, 150px); }
.mt-cta h2 { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem); }
.mt-cta p { max-width: 48ch; color: var(--texte); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem); }

.mt-more { padding-block: 56px; border-top: 1px solid var(--laiton-soft); }
.mt-more__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.mt-others { display: flex; flex-wrap: wrap; gap: 10px; }
.mt-others a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--laiton-soft); border-radius: 999px; text-decoration: none; color: var(--chaux); transition: border-color 200ms ease, color 200ms ease; }
.mt-others .icon { width: 16px; height: 16px; color: var(--laiton); }
@media (hover: hover) and (pointer: fine) { .mt-others a:hover { border-color: var(--laiton); color: var(--laiton-2); } }

@media (max-width: 960px) {
	.mt-intro__grid, .mt-geste__grid, .mt-faq__grid, .mt-gal__grid { grid-template-columns: 1fr; }
	.mt-prest__list { grid-template-columns: 1fr; gap: 12px; }
	.mt-geste__img { aspect-ratio: 4 / 3; }
	.mt-geste__img.mt-geste__img--entier { aspect-ratio: auto; }
}
@media (max-width: 680px) {
	/* Mobile : la photo en haut, le texte dessous sur l'encre (comme l'accueil), pour rester lisible sur les photos claires. */
	.mt-hero { display: block; min-height: 0; }
	.mt-hero::after { display: none; }
	/* La photo est coupée au cadre : sur iPhone, une photo plus haute (9:16) dépassait sous le dégradé. */
	.mt-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; max-height: 68svh; width: 100%; overflow: hidden; }
	.mt-hero__media picture, .mt-hero__media .mt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
	.mt-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 13 18 / 0.6) 0%, transparent 24%, transparent 50%, var(--encre-3) 100%); }
	.mt-hero__in { margin-top: -56px; padding: 0 26px 44px; }
	/* Le plus long mot (« Construction ») doit tenir dans la largeur du téléphone. */
	.mt-hero__title { font-size: min(2.5rem, 9.6vw); }
	.mt-btns { width: 100%; }
	.mt-btns .btn { flex: 1 1 100%; }
	/* Mobile : pas de boutons dans le haut de page, le « Devis » du menu et la barre WhatsApp / Appeler suffisent. */
	.mt-hero .mt-btns { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mt-hero__in > *, .mt-hero > .frame { animation: none !important; } }
