/* ==========================================================================
   Fornillo — rénovation d'intérieur
   Typographies : Bricolage Grotesque (titres condensés + texte) et Instrument Serif (accents en italique)
   ========================================================================== */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
	--cream: #f4efe6;
	--paper: #faf7f1;
	--sand: #e6d9c3;
	--ink: #2c2820;
	--olive: #3b3829;
	--muted: #675f50;
	--line: #d8cfbf;
	--line-dark: rgba(244, 239, 230, .2);
	--terra: #ad4f2b;
	--terra-dark: #8c3c1e;
	--display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--text: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 4vw, 56px);
	--max: 1440px;
	--section: clamp(80px, 9.5vw, 144px);
	--header: 76px;
	--ease: cubic-bezier(.22, .7, .15, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: var(--olive) var(--cream); scrollbar-width: thin; }
/* Défilement fluide (Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--olive); border: 3px solid var(--cream); border-radius: 10px; }
/* Passage d'une page à l'autre en fondu (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .4s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .7s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--terra); color: var(--cream); }
/* Grain de papier très léger : donne de la matière aux aplats */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url("../img/grain.png"); opacity: .13; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--ruled { border-top: 1px solid var(--line); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: var(--ink); color: var(--cream); padding: 10px 16px; }

/* Curseur : un petit rouleau de peinture (souris uniquement ; rien ne change au doigt) */
@media (pointer: fine) {
	html { cursor: url("../img/cursor-roller.svg") 3 6, url("../img/cursor-roller.png") 3 6, auto; }
	a, button, label, summary, select { cursor: url("../img/cursor-roller-active.svg") 3 6, url("../img/cursor-roller-active.png") 3 6, pointer; }
}

/* ---------- Typographie ---------- */
.eyebrow { font: 500 .74rem/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.display { margin: 0; font-family: var(--display); font-weight: 440; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2.6rem, 6.2vw, 5.8rem); line-height: .92; letter-spacing: -.005em; color: var(--olive); text-wrap: balance; }
/* Le mot mis en valeur passe en italique à empattements : c'est ce changement de typo qui donne le ton */
.display em, .hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.01em; font-size: 1.06em; line-height: .9; color: var(--terra); }
.section-head .eyebrow, .intro__content > .eyebrow, .process__head .eyebrow, .zone .eyebrow, .contact__top .eyebrow, .page-hero__text > .eyebrow, .manifesto .eyebrow { display: flex; align-items: center; gap: 14px; }
.section-head .eyebrow::before, .intro__content > .eyebrow::before, .process__head .eyebrow::before, .zone .eyebrow::before, .contact__top .eyebrow::before, .page-hero__text > .eyebrow::before, .manifesto .eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.display--light { color: var(--cream); }
.display--light em, .contact .display em { color: var(--sand); }
.display--xl { font-size: clamp(3rem, 9vw, 8.6rem); }
.display--page { font-size: clamp(2.8rem, 6.4vw, 6.2rem); margin-bottom: 28px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 34em; margin: 0 0 34px; }
.section-head { margin-bottom: clamp(44px, 6vw, 84px); max-width: 1120px; }
.section-head--split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; max-width: none; }
.section-head--split > p { margin: 0; color: var(--muted); max-width: 30em; justify-self: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 24px; } .section-head--split > p { justify-self: start; } }

/* Boutons et liens */
.pill, .pill-wipe { background-image: linear-gradient(var(--terra), var(--terra)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; transition: background-size .7s var(--ease), color .45s, border-color .45s; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 14px 28px; border: 1px solid transparent; border-radius: 999px; font: 500 .78rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.pill sup { font-size: .7em; opacity: .7; }
.pill span[aria-hidden], .header__cta span[aria-hidden] { display: inline-block; transition: transform .5s var(--ease); }
.pill--cream { background-color: var(--cream); color: var(--ink); }
.pill--ink { background-color: var(--ink); color: var(--cream); }
.pill--light { border-color: rgba(244, 239, 230, .6); color: var(--cream); background-image: linear-gradient(var(--cream), var(--cream)); }
.link { display: inline-flex; gap: 10px; align-items: center; font: 500 .8rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 10px 0 6px; border-bottom: 1px solid currentColor; transition: color .3s, gap .3s var(--ease); }
@media (hover: hover) {
	.pill:hover, .pill-wipe:hover { background-size: 100% 100%; }
	.pill--cream:hover, .pill--ink:hover, .header__cta:hover { color: var(--cream); border-color: var(--terra); }
	.pill--light:hover { color: var(--ink); border-color: var(--cream); }
	.pill:hover span[aria-hidden], .header__cta:hover span[aria-hidden] { transform: translate(3px, -3px); }
	.link:hover { color: var(--terra); gap: 16px; }
	.link--light:hover { color: var(--sand); }
}

/* Logo et emblème : un seul fichier, recoloré en CSS selon le fond */
.logo { display: block; aspect-ratio: 67 / 16.5; background: currentColor; -webkit-mask: url("../img/fornillo-logo.svg") no-repeat center / contain; mask: url("../img/fornillo-logo.svg") no-repeat center / contain; }
.emblem { display: block; width: 96px; aspect-ratio: 637 / 374; background: currentColor; -webkit-mask: url("../img/emblem.png") no-repeat center / contain; mask: url("../img/emblem.png") no-repeat center / contain; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--ink); border: 1px solid transparent; border-width: 0 0 1px; transition: background .5s, color .5s, border-color .5s, box-shadow .6s, transform .6s var(--ease), top .6s var(--ease), left .6s var(--ease), right .6s var(--ease), border-radius .6s var(--ease); }
.is-page .site-header { background: rgba(244, 239, 230, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header.is-scrolled { top: 12px; left: max(12px, calc(50% - 700px)); right: max(12px, calc(50% - 700px)); border-width: 1px; border-color: rgba(59, 56, 41, .12); border-radius: 999px; background: rgba(244, 239, 230, .76); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 18px 44px -22px rgba(40, 30, 20, .4); }
.site-header--over:not(.is-scrolled) { color: var(--cream); }
.site-header.is-hidden { transform: translateY(calc(-100% - 28px)); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--header); padding: 0 var(--gutter); transition: height .6s var(--ease), padding .6s var(--ease); }
.is-scrolled .header__inner { height: 60px; padding: 0 9px 0 28px; }
@media (max-width: 960px) { .site-header.is-scrolled { left: 10px; right: 10px; top: 10px; } .is-scrolled .header__inner { height: 54px; padding: 0 12px 0 20px; } }
.brand { display: flex; align-items: center; gap: 14px; justify-self: start; transition: opacity .4s, visibility .4s; }
.brand .logo { width: 120px; }
.brand__tag { font: 500 .6rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; opacity: .75; padding-left: 14px; border-left: 1px solid currentColor; }
/* Accueil : le grand logo du visuel tient lieu de marque tant qu'on n'a pas défilé */
.site-header--over:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; }
.nav ul { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 0; font: 500 .78rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { justify-self: end; display: flex; align-items: center; gap: 26px; }
.header__phone { position: relative; padding: 10px 0; font: 500 .78rem/1 var(--text); letter-spacing: .08em; }
.header__phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__phone:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1180px) { .header__phone, .brand__tag { display: none; } }
.header__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid currentColor; border-radius: 999px; font: 500 .76rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; transition: background-size .7s var(--ease), color .45s, border-color .45s; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
	:root { --header: 64px; }
	.nav, .header__right, .brand__tag { display: none; }
	.header__inner { grid-template-columns: 1fr auto; }
	.brand .logo { width: 104px; }
	.menu-toggle { display: inline-flex; align-items: center; gap: 12px; justify-self: end; min-height: 44px; padding: 0 2px 0 12px; font: 500 .76rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; }
	.menu-toggle__icon { position: relative; width: 24px; height: 9px; }
	.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
	.menu-toggle__icon::before { top: 0; }
	.menu-toggle__icon::after { top: 7.5px; }
	.menu-open .menu-toggle__icon::before { top: 4px; transform: rotate(45deg); }
	.menu-open .menu-toggle__icon::after { top: 4px; transform: rotate(-45deg); }
}

/* Menu mobile plein écran */
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto; padding: calc(var(--header) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--olive); color: var(--cream); }
.menu[hidden] { display: none; }
.menu .eyebrow { color: rgba(244, 239, 230, .6); margin-top: 28px; }
.menu__main, .menu__services { list-style: none; margin: 0; padding: 0; }
.menu__main a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-weight: 500; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2.3rem, 11vw, 4rem); line-height: 1.02; }
.menu__main span { font: 400 .78rem/1 var(--text); letter-spacing: .1em; opacity: .55; }
.menu__services a { display: block; padding: 4px 0; font-family: var(--serif); font-style: italic; font-size: 1.55rem; line-height: 1.35; }
.menu__contact { display: grid; gap: 6px; font-size: 1rem; }
.menu__contact a { padding: 6px 0; }
.menu-open { overflow: hidden; }
.menu-open .site-header { top: 0; left: 0; right: 0; color: var(--cream); background: transparent; border-color: transparent; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .header__inner { height: var(--header); padding: 0 var(--gutter); }
.menu-open .site-header .brand { opacity: 1; visibility: visible; }

/* ---------- Intro (première visite de l'accueil) ---------- */
.loader { display: none; }
.has-loader { --intro: 1.55s; }
.has-loader .loader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; background: var(--olive); color: var(--cream); animation: loaderOut 1.05s 1.7s cubic-bezier(.76, 0, .24, 1) forwards; }
.loader__emblem { width: 84px; color: var(--sand); opacity: 0; transform: translateY(12px); animation: rise .8s .05s var(--ease) forwards; }
.loader__paint { position: relative; width: min(68vw, 560px); }
.loader__paint .logo { width: 100%; clip-path: inset(0 100% 0 0); animation: paint 1.15s .35s var(--ease) forwards; }
.loader__bar { position: absolute; top: -8%; bottom: -8%; left: 0; width: 10px; background: var(--terra); opacity: 0; animation: loaderBar 1.15s .35s var(--ease) forwards; }
.loader__meta { margin: 0; font: 500 .7rem/1 var(--text); letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(10px); animation: rise .8s .7s var(--ease) forwards; }
@keyframes loaderBar { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Accueil : visuel plein écran ---------- */
.hero { position: relative; isolation: isolate; display: flex; min-height: max(640px, 100svh); overflow: hidden; background: var(--olive); color: var(--cream); }
.hero__media { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) sepia(.06); }
.hero__badge { position: absolute; left: 50%; bottom: clamp(150px, 26vh, 260px); z-index: 1; width: 138px; height: 138px; margin-left: -69px; display: grid; place-items: center; color: var(--cream); }
.hero__badge::before { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: rgba(30, 27, 19, .3); border: 1px solid rgba(244, 239, 230, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .5s; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.hero__badge text { font: 500 9.4px/1 var(--text); fill: currentColor; }
.hero__badge .emblem { position: relative; width: 50px; color: var(--cream); transition: transform .6s var(--ease); }
@media (hover: hover) { .hero__badge:hover::before { background: var(--terra); } .hero__badge:hover .emblem { transform: scale(1.1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.js .hero__badge { opacity: 0; animation: rise 1.2s calc(var(--intro, 0s) + 1.3s) var(--ease) forwards; }
@media (max-width: 960px) { .hero__badge { display: none; } }
.hero__img--b { border-left: 1px solid rgba(244, 239, 230, .35); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 27, 19, .5) 0%, rgba(30, 27, 19, .12) 34%, rgba(30, 27, 19, .16) 58%, rgba(30, 27, 19, .74) 100%); }
.hero__content { width: 100%; display: flex; flex-direction: column; padding: calc(var(--header) + 8px) var(--gutter) clamp(28px, 4vw, 52px); }
.hero__top { display: flex; justify-content: space-between; gap: 24px; margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(244, 239, 230, .35); color: inherit; opacity: .9; }
.hero__wordmark { width: 100%; margin-top: clamp(22px, 3vw, 44px); color: var(--cream); }
.hero__bottom { margin-top: auto; padding-top: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 440; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: .9; }
.hero__title > span { display: block; }
.hero__title > span:nth-child(2) { padding-left: 1.1em; }
.hero__title em { color: var(--sand); }
.hero__aside { justify-self: end; max-width: 370px; }
.hero__aside p { margin: 0 0 24px; font-size: 1.02rem; line-height: 1.55; }
.hero__scroll { position: absolute; left: 50%; bottom: 18px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.hero__scroll span { width: 1px; height: 30px; background: rgba(244, 239, 230, .7); transform-origin: top; animation: scrollHint 2.4s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* Entrée : le logo est « peint » de gauche à droite, le titre monte ligne à ligne */
.js .hero__img { transform: scale(1.1); animation: heroZoom 2.6s var(--intro, 0s) var(--ease) forwards; }
.js .hero__wordmark { clip-path: inset(0 100% 0 0); animation: paint 1.6s calc(var(--intro, 0s) + .25s) var(--ease) forwards; }
.js .hero__title > span, .js .hero__aside, .js .hero__top { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.js .hero__top { animation-delay: calc(var(--intro, 0s) + .1s); }
.js .hero__title > span:nth-child(1) { animation-delay: calc(var(--intro, 0s) + .7s); }
.js .hero__title > span:nth-child(2) { animation-delay: calc(var(--intro, 0s) + .82s); }
.js .hero__title > span:nth-child(3) { animation-delay: calc(var(--intro, 0s) + .94s); }
.js .hero__aside { animation-delay: calc(var(--intro, 0s) + 1.1s); }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes paint { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 760px) {
	.hero { min-height: max(600px, 100svh); }
	.hero__media { grid-template-columns: 1fr; }
	.hero__img--b { display: none; }
	.hero__top span:last-child { display: none; }
	.hero__bottom { grid-template-columns: 1fr; gap: 24px; }
	.hero__title > span:nth-child(2) { padding-left: .6em; }
	.hero__aside { justify-self: start; }
	.hero__scroll { display: none; }
}

/* Bandeau défilant des métiers */
.marquee { overflow: hidden; background: var(--olive); color: var(--cream); padding: 14px 0 17px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: .7em; padding-right: .7em; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.1; }
.marquee span::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: var(--terra); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- L'entreprise : texte + chiffres à gauche, grande photo et citation à droite ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(48px, 8vw, 140px); align-items: center; }
.intro__title { margin: 0 0 32px; font-family: var(--display); font-weight: 440; font-stretch: 76%; text-transform: uppercase; font-size: clamp(3.6rem, 8.4vw, 8rem); line-height: .82; color: var(--olive); }
.intro__title small { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; font-size: .3em; vertical-align: .95em; margin-right: .15em; color: var(--terra); }
.intro__comma { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); }
.intro__text { margin: 0; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; max-width: 31em; }
.intro__stats { list-style: none; margin: clamp(44px, 5vw, 68px) 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.intro__stats li { padding: 26px 20px 0 0; }
.intro__stats li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.intro__stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem, 5.2vw, 5rem); line-height: .85; letter-spacing: -.03em; color: var(--olive); font-variant-numeric: lining-nums; }
.intro__stats span { display: block; max-width: 12em; margin-top: 14px; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.intro__visual { position: relative; padding-bottom: 60px; }
.intro__photo { position: relative; width: 90%; max-width: 560px; margin: 0 0 0 auto; aspect-ratio: 736 / 1101; overflow: hidden; background: var(--sand); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro__quote { position: absolute; left: 0; bottom: 0; width: min(340px, 68%); margin: 0; padding: 28px 30px 32px; background: var(--olive); color: var(--cream); box-shadow: 0 34px 60px -34px rgba(30, 27, 19, .55); }
.intro__quote .emblem { width: 62px; margin-bottom: 22px; color: var(--sand); }
.intro__quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.85vw, 1.7rem); line-height: 1.16; }
.intro__quote em { color: var(--sand); }
@media (max-width: 900px) {
	.intro__grid { grid-template-columns: 1fr; gap: 56px; }
	.intro__photo { width: 86%; max-width: 480px; }
}
@media (max-width: 520px) {
	.intro__stats li { padding-right: 12px; }
	.intro__stats li + li { padding-left: 14px; }
	.intro__stats span { font-size: .8rem; }
	.intro__quote { width: 78%; padding: 22px 22px 24px; }
	.intro__quote .emblem { width: 52px; margin-bottom: 16px; }
}

/* ---------- Savoir-faire ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); transition: color .4s, padding .6s var(--ease); }
.service-row__num { font: 500 .8rem/1 var(--text); letter-spacing: .1em; color: var(--muted); }
.service-row__name { font-family: var(--display); font-weight: 440; font-stretch: 76%; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: .95; }
.service-row__name small { display: block; margin-top: 12px; font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: normal; text-transform: none; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.2; letter-spacing: 0; color: var(--terra); }
.service-row__text { color: var(--muted); font-size: .98rem; max-width: 26em; }
.service-row__arrow { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease); }
.service-row__thumb { display: none; }
@media (hover: hover) {
	.service-row:hover { color: var(--terra); padding-left: 18px; }
	.service-row:hover .service-row__arrow { background: var(--terra); border-color: var(--terra); color: var(--cream); transform: rotate(-45deg); }
}
.service-list--compact .service-row__name { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
/* Aperçu photo qui suit la souris */
.preview { position: fixed; left: 0; top: 0; z-index: 40; width: 250px; aspect-ratio: 3 / 4; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform .6s var(--ease); }
.preview.is-on { opacity: 1; }
.preview.is-on img { transform: none; }
@media (hover: none), (max-width: 760px) { .preview { display: none; } }
@media (max-width: 760px) {
	.service-row { grid-template-columns: minmax(0, 1fr) 92px; grid-template-areas: "num thumb" "name thumb" "text thumb"; gap: 6px 16px; align-items: start; }
	.service-row__num { grid-area: num; }
	.service-row__name { grid-area: name; }
	.service-row__text { grid-area: text; font-size: .92rem; }
	.service-row__arrow { display: none; }
	.service-row__thumb { display: block; grid-area: thumb; width: 92px; height: 116px; object-fit: cover; }
}

/* ---------- Manifeste ---------- */
.manifesto { padding: clamp(84px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.manifesto__text { margin: 0; max-width: 21em; font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 4.2rem); line-height: 1.08; letter-spacing: -.01em; color: var(--olive); }
.manifesto__text em { color: var(--terra); }
.js .manifesto__text .mw { opacity: .16; transition: opacity .4s linear; }
.js .manifesto__text .mw.is-lit { opacity: 1; }

/* ---------- Étiquette qui suit la souris ---------- */
.cursor-label { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; will-change: transform; }
.cursor-label span { position: absolute; left: 14px; top: 14px; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: rgba(244, 239, 230, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font: 600 .62rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: scale(.3); transition: opacity .3s, transform .5s var(--ease); }
.cursor-label.is-on span { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) { .cursor-label { display: none; } }
@media (hover: hover) and (pointer: fine) { .work__zoom { display: none; } }

/* ---------- Matières ---------- */
.materials { padding: 0 0 var(--section); }
.materials__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; height: clamp(380px, 44vw, 620px); }
.materials__list li { flex: 1 1 0; min-width: 0; transition: flex-grow .9s var(--ease); }
.material { position: relative; display: block; height: 100%; overflow: hidden; background: var(--sand); color: var(--cream); }
.material img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) sepia(.07) contrast(1.04); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.material::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 27, 19, .72), rgba(30, 27, 19, 0) 55%); }
.material__name { position: absolute; left: 20px; bottom: 46px; z-index: 1; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 2.1rem); line-height: 1; white-space: nowrap; }
.material__meta { position: absolute; left: 20px; bottom: 22px; z-index: 1; font: 500 .64rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
@media (hover: hover) {
	.materials__list li:hover, .materials__list li:focus-within { flex-grow: 2.6; }
	.material:hover img { transform: scale(1.05); filter: none; }
}
@media (max-width: 860px) {
	.materials__list { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
	.materials__list::-webkit-scrollbar { display: none; }
	.materials__list li { flex: 0 0 64vw; scroll-snap-align: start; }
	.material { height: auto; aspect-ratio: 4 / 5; }
}

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters button { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; font: 500 .78rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.filters sup { font-size: .72em; opacity: .6; margin-left: 2px; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
@media (hover: hover) { .filters button[aria-pressed="false"]:hover { border-color: var(--ink); } }
.gallery { --cols: 4; --gx: clamp(14px, 1.8vw, 26px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(30px, 3.6vw, 56px) var(--gx); container-type: inline-size; }
.work--wide { grid-column: span 2; }
.work[hidden], .js .work.is-extra:not(.is-shown) { display: none; }
.work.is-new { animation: rise .8s var(--ease) both; }
.work__btn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
@supports (width: 1cqw) { .work__btn { aspect-ratio: auto; height: calc((100cqw - (var(--cols) - 1) * var(--gx)) / var(--cols) * 1.25); } }
.work__btn img, .intro__img img, .page-hero__img img, .service-row__thumb, .preview img, .process__media img { filter: saturate(.84) sepia(.07) contrast(1.04); }
.work__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .8s var(--ease); }
.work__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 1.3rem; line-height: 1; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease); }
@media (hover: hover) { .work__btn:hover img { transform: scale(1.05); filter: none; } .work__btn:hover .work__zoom { opacity: 1; transform: none; } }
.work__btn:focus-visible .work__zoom { opacity: 1; transform: none; }
.work__cap { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; font: 500 .72rem/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.work__cap span:last-child { color: var(--muted); text-align: right; white-space: nowrap; }
.work__cap b { margin-right: 10px; font-weight: 500; color: var(--terra); font-variant-numeric: tabular-nums; }
.gallery__more { margin-top: 60px; text-align: center; }
.gallery--3 { --cols: 3; }
@media (max-width: 1100px) { .gallery { --cols: 3; } }
@media (max-width: 760px) {
	.filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
	.filters::-webkit-scrollbar { display: none; }
	.filters button { flex: none; }
	.gallery { --cols: 2; --gx: 12px; row-gap: 26px; }
	.work__cap { display: block; font-size: .68rem; }
	.work__cap span:last-child { display: none; }
	.work__zoom { opacity: 1; transform: none; width: 30px; height: 30px; font-size: 1rem; right: 8px; bottom: 8px; }
}

/* ---------- Méthode (grande image + cartes) ---------- */
.process { position: relative; isolation: isolate; overflow: hidden; padding: var(--section) 0; color: var(--cream); background: var(--olive); }
.process__media { position: absolute; inset: -8% 0; z-index: -1; will-change: transform; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
.process__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(32, 29, 21, .84), rgba(32, 29, 21, .5) 55%, rgba(32, 29, 21, .3)); }
.process__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process .eyebrow { color: rgba(244, 239, 230, .7); }
.process__head p:not(.eyebrow) { max-width: 28em; margin: 28px 0 32px; opacity: .9; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { position: relative; padding: 26px 28px; background: rgba(244, 239, 230, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); transition: transform .6s var(--ease), background .4s; }
@media (hover: hover) { .step:hover { transform: translateX(-8px); background: var(--cream); } }
.step .eyebrow { color: var(--muted); margin-bottom: 10px; }
.step__num { position: absolute; top: 18px; right: 24px; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--terra); }
.step h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-stretch: 82%; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; }
.step p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .process__inner { grid-template-columns: 1fr; } }

/* ---------- Zone d'intervention ---------- */
.zone { border-top: 1px solid var(--line); }
.zone__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.zone__grid p:not(.eyebrow) { color: var(--muted); max-width: 30em; margin: 28px 0 24px; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; transition: background .3s, color .3s, border-color .3s; }
.towns li:first-child { background: var(--terra); border-color: var(--terra); color: var(--cream); }
@media (hover: hover) { .towns li:not(:first-child):hover { background: var(--olive); border-color: var(--olive); color: var(--cream); } }
@media (max-width: 860px) { .zone__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0 clamp(56px, 7vw, 96px); background: var(--olive); color: var(--cream); }
.contact .eyebrow { color: rgba(244, 239, 230, .65); }
.contact .display { color: var(--cream); }
.contact__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 100px); }
.contact__intro { margin: 0; max-width: 26em; justify-self: end; opacity: .88; }
.contact__grid { display: grid; grid-template-columns: 1.7fr 1fr .8fr; gap: 40px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact__phone { display: inline-flex; align-items: flex-start; gap: 10px; font-family: var(--display); font-weight: 500; font-stretch: 76%; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; transition: color .3s; }
.contact__phone span { font-size: .4em; }
.contact__mail { display: inline-block; margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.1vw, 1.8rem); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(244, 239, 230, .4); overflow-wrap: anywhere; }
.contact__main { display: flex; flex-direction: column; align-items: flex-start; }
@media (hover: hover) { .contact__phone:hover, .contact__mail:hover { color: var(--sand); } }
.contact address { font-style: normal; line-height: 1.65; margin-bottom: 16px; }
.contact__seal { justify-self: end; text-align: center; }
.contact__seal .emblem { width: 120px; margin: 0 auto 14px; color: var(--sand); }
.contact__seal p { margin: 0; font: 500 .66rem/1.7 var(--text); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
@media (max-width: 900px) {
	.contact__top, .contact__grid { grid-template-columns: 1fr; }
	.contact__intro { justify-self: start; }
	.contact__seal { justify-self: start; text-align: left; }
	.contact__seal .emblem { margin: 0 0 14px; }
}

/* ---------- Pied de page ---------- */
.site-footer { padding: 0 0 calc(24px + env(safe-area-inset-bottom)); background: var(--olive); color: var(--cream); }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0; border-top: 1px solid var(--line-dark); }
.site-footer .eyebrow { color: rgba(244, 239, 230, .55); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.site-footer a { display: inline-block; padding: 2px 0; transition: color .3s; }
@media (hover: hover) { .site-footer a:hover { color: var(--sand); } }
.footer__wordmark { width: 100%; margin: 8px 0 28px; color: var(--cream); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: .8rem; opacity: .75; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > div:last-child { grid-column: 1 / -1; } }

/* Bouton d'appel (mobile) */
.call-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--terra); color: var(--cream); font: 600 .8rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(40, 28, 18, .28); transform: translateY(160%); transition: transform .5s var(--ease); }
.call-fab svg { width: 18px; height: 18px; fill: currentColor; }
.call-fab.is-visible { transform: none; }
@media (max-width: 760px) { .call-fab { display: inline-flex; } }

/* Visionneuse photo */
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(28, 25, 18, .97); color: var(--cream); }
.lightbox::backdrop { background: rgba(28, 25, 18, .9); }
.lightbox figure { height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 72px 88px 28px; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; touch-action: pan-y; }
.lightbox__cap { font: 500 .78rem/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; opacity: .85; text-align: center; }
.lightbox__btn { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border: 1px solid rgba(244, 239, 230, .4); border-radius: 50%; font-size: 1.2rem; transition: background .3s, color .3s; }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(244, 239, 230, .4); border-radius: 999px; font: 500 .76rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
@media (hover: hover) { .lightbox__btn:hover, .lightbox__close:hover { background: var(--cream); color: var(--ink); } }
@media (max-width: 760px) {
	.lightbox figure { padding: 70px 12px 96px; }
	.lightbox__btn { top: auto; bottom: calc(20px + env(safe-area-inset-bottom)); margin-top: 0; }
	.lightbox__prev { left: calc(50% - 66px); }
	.lightbox__next { right: calc(50% - 66px); }
}

/* ---------- Pages intérieures ---------- */
.page-hero { padding: calc(var(--header) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 104px); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.page-hero__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--text .display--page { max-width: 14ch; }
.actions { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; list-style: none; margin: 0 0 32px; padding: 0; font: 500 .72rem/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { display: inline-block; padding: 4px 0; }
@media (hover: hover) { .crumbs a:hover { color: var(--terra); } }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__img { aspect-ratio: 4 / 3; } }

.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.task { display: flex; flex-direction: column; min-height: 290px; padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .45s, color .45s; }
.task__num { margin-bottom: auto; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--terra); transition: color .45s; }
.task h3 { margin: 44px 0 10px; font-family: var(--display); font-weight: 600; font-stretch: 82%; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.task p { margin: 0; color: var(--muted); font-size: .96rem; transition: color .45s; }
@media (hover: hover) { .task:hover { background: var(--olive); color: var(--cream); } .task:hover p { color: rgba(244, 239, 230, .78); } .task:hover .task__num { color: var(--sand); } }
@media (max-width: 1100px) { .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tasks { grid-template-columns: 1fr; } .task { min-height: 0; } .task h3 { margin-top: 24px; } }
.others { border-top: 1px solid var(--line); }

/* Mentions légales */
.prose { max-width: 780px; }
.prose h2 { margin: 2.2em 0 .6em; font-family: var(--display); font-weight: 600; font-stretch: 82%; text-transform: uppercase; font-size: 1.35rem; color: var(--olive); }
.prose h2:first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.todo { padding: 0 6px; background: #f1d8c8; color: var(--terra-dark); }
.legal { padding-top: 0; }
.notfound { min-height: 70vh; }

/* ---------- Apparitions au défilement (seulement si JavaScript est actif) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Titres : les mots montent un à un */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }
/* Photos : dévoilées d'un coup de rouleau, avec une bande de couleur qui suit le bord */
.js [data-paint] { position: relative; clip-path: inset(0 100% 0 0); }
.js [data-paint]::after { content: ""; position: absolute; top: 0; bottom: 0; left: -22px; width: 22px; z-index: 2; background: var(--terra); }
.js [data-paint].is-in { animation: paint 1.4s var(--ease) forwards; }
.js [data-paint] img { transform: scale(1.12); transition: transform 1.9s var(--ease); }
.js [data-paint].is-in img { transform: none; }
.js [data-paint].is-in::after { animation: paintBar 1.4s var(--ease) forwards; }
@keyframes paintBar { 0% { left: -22px; opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.marquee__track { animation: none; }
	.js [data-paint] { clip-path: none; }
	.js [data-paint] img { transform: none; }
	.js .manifesto__text .mw { opacity: 1; }
	.js [data-paint]::after { display: none; }
}
