/* ==========================================================================
   MBK : feuille de style principale
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #F7F6F3;
	--ink: #1E1E1E;
	--stone: #8A877F;
	--stone-ink: #6B6861;
	--stone-light: #ECEAE5;
	--line: #D9D6CF;
	--accent: #1D2D52;
	--white: #FFFFFF;

	--font-display: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	--gutter: max(6vw, 20px);
	--maxw: 1440px;
	--gap: clamp(16px, 2vw, 32px);
	--section: clamp(72px, calc(3rem + 7.5vw), 160px);
	--header-h: 72px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 1024px) {
	:root { --header-h: 92px; }
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-top: var(--header-h);
}
body.has-hero { padding-top: 0; }
body.menu-open { overflow: hidden; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--white); }
address { font-style: normal; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 20px; }
.skip-link:focus { top: 16px; }

/* Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }

/* Typographie ------------------------------------------------------------ */
.display-xl, .display-l, .display-m, .section-title {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.06;
}
.display-xl { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 6rem); }
.display-l { font-size: clamp(2rem, 1.3rem + 3.2vw, 4.25rem); }
.display-m { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.12; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem); margin-bottom: clamp(40px, 6vw, 88px); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 34em; }
.label {
	font-family: var(--font-body);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--stone-ink);
	margin-bottom: 12px;
}
.meta { display: block; font-size: .875rem; color: var(--stone-ink); letter-spacing: .01em; }

.prose { max-width: 42rem; font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.625rem; line-height: 1.2; margin-top: 2em; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 600; }

/* Liens et boutons ------------------------------------------------------- */
.link-arrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin-top: 32px;
	font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	padding-bottom: 6px;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: color .3s, background-size .4s var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(4px); }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 16px 32px;
	border: 1px solid var(--ink);
	font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	background: transparent;
	transition: background-color .3s, color .3s, border-color .3s;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Images ------------------------------------------------------------------ */
.img-zoom { display: block; overflow: hidden; }
.img-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a:hover .img-zoom img, .img-zoom:hover img { transform: scale(1.03); }
.img-placeholder { display: block; width: 100%; height: 100%; min-height: 240px; background: linear-gradient(135deg, var(--stone-light), #DCD9D2); }

/* Apparition au défilement (visible sans JS) ------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* En-tête ------------------------------------------------------------------ */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 60;
	height: var(--header-h);
	background: var(--bg);
	color: var(--ink);
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.has-hero .site-header:not(.is-scrolled) { background: transparent; color: var(--white); }
.has-hero.menu-open .site-header { background: var(--bg); color: var(--ink); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 44px; width: auto; transition: filter .3s ease; }
@media (min-width: 1024px) { .brand__logo { height: 56px; } }
.has-hero .site-header:not(.is-scrolled) .brand__logo { filter: brightness(0) invert(1); }
.has-hero.menu-open .site-header .brand__logo { filter: none; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; height: auto; }
.brand__mark { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .12em; }
.brand__name { font-size: .5625rem; letter-spacing: .34em; text-transform: uppercase; margin-top: 6px; }

.nav { display: none; align-items: center; gap: clamp(24px, 3vw, 48px); }
.nav__list { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav__list a, .nav__cta {
	position: relative; display: inline-block; padding-block: 8px;
	font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current_page_item > a::after, .nav__list .current-menu-parent > a::after { transform: scaleX(1); }
.nav__cta { border: 1px solid currentColor; padding: 10px 18px; transition: background-color .3s, color .3s; }
.nav__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.has-hero .site-header:not(.is-scrolled) .nav__cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.burger { position: relative; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; }
.burger__lines, .burger__lines::before, .burger__lines::after {
	position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor;
	transition: transform .35s var(--ease), opacity .2s;
}
.burger__lines { top: 21px; }
.burger__lines::before, .burger__lines::after { content: ""; left: 0; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

@media (min-width: 1100px) {
	.nav { display: flex; }
	.burger { display: none; }
}

.menu-panel {
	position: fixed; inset: 0; z-index: 55;
	background: var(--bg); color: var(--ink);
	padding-top: calc(var(--header-h) + 6vh);
	overflow-y: auto;
	animation: panel-in .35s var(--ease);
}
.menu-panel__list { display: grid; gap: 4px; }
.menu-panel__list a {
	display: block; padding-block: 6px;
	font-family: var(--font-display); font-weight: 500;
	font-size: clamp(2rem, 9vw, 3.5rem); line-height: 1.15; letter-spacing: -0.02em;
}
.menu-panel__list a:hover { color: var(--accent); }
.menu-panel__cta { display: inline-block; margin-top: 40px; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }

/* Accueil : vidéo plein écran --------------------------------------------- */
.hero {
	position: relative; display: grid; place-items: center;
	height: 100vh; height: 100svh; min-height: 560px;
	color: var(--white); background: #2B2A27; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero.is-playing .hero__video { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); pointer-events: none; }
.hero__content { position: relative; z-index: 1; text-align: center; padding-inline: var(--gutter); }
.hero__name {
	font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
	font-size: clamp(1.05rem, 4.4vw, 3.4rem); line-height: 1.2;
	letter-spacing: .22em; margin-right: -.22em;
	animation: hero-in 1.4s var(--ease) both .2s;
}
.hero__line {
	margin-top: clamp(14px, 1.6vw, 24px);
	font-size: clamp(.9375rem, .85rem + .4vw, 1.25rem); letter-spacing: .04em; opacity: .92;
	animation: hero-in 1.4s var(--ease) both .45s;
}
@media (min-width: 640px) { .hero__name { letter-spacing: .35em; margin-right: -.35em; } }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__scroll {
	position: absolute; z-index: 1; left: 50%; bottom: clamp(24px, 4vh, 48px);
	width: 1px; height: 64px; margin-left: -.5px; overflow: hidden;
	background: rgba(255, 255, 255, .3);
}
.hero__scroll::after {
	content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--white);
	animation: scroll-line 2.2s var(--ease) infinite;
}
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Accueil : présentation ---------------------------------------------------- */
.intro__title { grid-column: 1 / -1; font-size: clamp(2rem, 1.2rem + 3.4vw, 4.5rem); }
.intro__text { grid-column: 1 / -1; margin-top: 32px; }
@media (min-width: 900px) {
	.intro__title { grid-column: 1 / span 7; }
	.intro__text { grid-column: 9 / span 4; margin-top: 0; align-self: end; }
}

/* Accueil : liste éditoriale de réalisations ------------------------------- */
.works__list { display: grid; gap: clamp(64px, 9vw, 144px); }
.work { display: grid; gap: 24px; }
.work__media { aspect-ratio: 4 / 3; background: var(--stone-light); }
.work__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 12px; }
.work__title a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.work__title a:hover { background-size: 100% 1px; }
@media (min-width: 900px) {
	.work { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
	.work__media { grid-column: 1 / span 7; }
	.work__text { grid-column: 9 / span 4; padding-bottom: 8px; }
	.work:nth-child(even) .work__media { grid-column: 6 / span 7; grid-row: 1; }
	.work:nth-child(even) .work__text { grid-column: 1 / span 4; grid-row: 1; }
}
.works__more { margin-top: clamp(64px, 8vw, 120px); text-align: center; }

/* Accueil : savoir-faire ------------------------------------------------------ */
.skills { padding-top: 0; }
.skills__media { height: clamp(360px, 62vw, 86vh); overflow: hidden; }
.skills__media img, .skills__media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.skills__panel {
	position: relative; z-index: 1;
	background: var(--bg);
	width: calc(100% - 24px);
	margin-top: -64px;
	padding: 32px 24px 0 0;
}
.skills__panel p { margin-top: 24px; max-width: 36em; }
@media (min-width: 900px) {
	.skills__panel { width: min(640px, 48%); margin: -200px 0 0 auto; padding: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 72px) 0; }
}

/* Bande contact ------------------------------------------------------------- */
.contact-band { background: var(--stone-light); }
.contact-band__grid { display: grid; gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.contact-band__item p { font-size: 1.125rem; line-height: 1.5; }
.contact-band__item a { border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.contact-band__item a:hover { color: var(--accent); border-color: var(--accent); }
.contact-band__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 800px) { .contact-band__grid { grid-template-columns: repeat(3, 1fr); } }

.socials__list { display: flex; gap: 8px; }
.socials__list a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); transition: border-color .3s, color .3s; }
.socials__list a:hover { color: var(--accent); border-color: var(--accent); }
.socials__list .icon { width: 20px; height: 20px; }
.socials__todo { font-size: .875rem; color: var(--stone-ink); }

/* Pied de page ---------------------------------------------------------------- */
.site-footer { padding-block: clamp(56px, 7vw, 96px) 32px; font-size: .9375rem; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: clamp(40px, 5vw, 64px); }
.brand--small .brand__logo { height: 96px; }
.site-footer__contact { display: grid; gap: 6px; color: var(--stone-ink); }
.site-footer__contact a:hover { color: var(--accent); }
.site-footer__aside { display: grid; gap: 28px; justify-items: start; }
.insurer .label { display: block; margin-bottom: 10px; }
.quality { display: flex; align-items: center; gap: 16px; }
.quality img { width: auto; object-fit: contain; }
.quality--footer img { height: 52px; }
@media (min-width: 900px) { .quality--footer { justify-content: flex-end; } }
.quality-band { padding-top: 0; }
.quality-band__inner { display: grid; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); background: var(--stone-light); }
.quality-band__inner .lead { margin-top: 16px; color: #3C3B38; }
.quality--band { gap: 28px; }
.quality--band img { height: 96px; }
@media (min-width: 900px) { .quality-band__inner { grid-template-columns: 1fr auto; gap: 64px; } }
.insurer__logo { height: 40px; width: auto; }
@media (min-width: 900px) { .site-footer__aside { justify-items: end; text-align: right; } }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--stone-ink); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a:hover, .site-footer__legal button:hover { color: var(--ink); }
.site-footer__legal .link-button { text-decoration: none; font-size: inherit; color: inherit; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1.4fr auto; align-items: start; } }

/* En-têtes de page --------------------------------------------------------- */
.page-head { padding-block: clamp(56px, 9vw, 140px) clamp(40px, 6vw, 88px); }
.page-head__lead { margin-top: 24px; color: var(--stone-ink); }

.banner { position: relative; height: 60vh; min-height: 380px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: #2B2A27; }
.banner__media { position: absolute; inset: 0; }
.banner__media img, .banner__media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .1) 60%); }
.banner__content { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 72px); }

/* L'entreprise ---------------------------------------------------------------- */
.story__title { grid-column: 1 / -1; }
.story__text { grid-column: 1 / -1; margin-top: 32px; }
.story__text p + p { margin-top: 16px; color: #3C3B38; max-width: 36em; }
@media (min-width: 900px) {
	.story__title { grid-column: 1 / span 7; }
	.story__text { grid-column: 9 / span 4; margin-top: 0; align-self: end; }
}

.team { padding-top: 0; }
.team__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 88px); }
.team__head .section-title { margin-bottom: 0; }
.team__head .lead { color: var(--stone-ink); }
.team__photo { margin-bottom: clamp(40px, 6vw, 88px); aspect-ratio: 16 / 7; overflow: hidden; background: var(--stone-light); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 699px) { .team__photo { aspect-ratio: 4 / 3; } }
.team__grid { display: grid; gap: 0 var(--gap); }
.member { border-top: 1px solid var(--ink); padding: 24px 0 40px; }
.member .label { margin-bottom: 16px; }
.member__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 14px; }
.member p:last-child { color: #3C3B38; }
.member__count { font-family: var(--font-display); font-weight: 300; font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); line-height: .9; color: var(--accent); margin-bottom: 8px; }
.member--crew .member__name { font-size: 1.25rem; }
@media (min-width: 700px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.team__head { grid-template-columns: 5fr 1fr 6fr; align-items: end; }
	.team__head .lead { grid-column: 3; }
	.team__grid { grid-template-columns: repeat(4, 1fr); }
}

.depts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--gap); margin-top: 28px; border-top: 1px solid var(--line); }
.depts li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.depts__num { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--accent); min-width: 2ch; }
.approach__head { grid-column: 1 / -1; margin-bottom: 48px; }
.approach__head .lead { margin-top: 24px; }
.approach__list { grid-column: 1 / -1; display: grid; gap: 0; }
.approach__list > div { border-top: 1px solid var(--line); padding-block: 28px; }
.approach__list dt { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; }
.approach__list dd { color: #3C3B38; max-width: 38em; }
@media (min-width: 900px) {
	.approach__head { grid-column: 1 / span 5; margin-bottom: 0; }
	.approach__list { grid-column: 7 / span 6; }
}

.trades { background: var(--stone-light); }
.trades__grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.trade { display: flex; align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.trade .icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--accent); }
@media (min-width: 640px) { .trades__grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--gap); } }
@media (min-width: 1024px) {
	.trades__grid { grid-template-columns: repeat(3, 1fr); }
	.trade { flex-direction: column; align-items: flex-start; gap: 48px; padding: 36px 0 40px; }
	.trade .icon { width: 48px; height: 48px; }
}

.method__steps { display: grid; gap: 40px; }
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step__num { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.5rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--stone); margin-bottom: 24px; }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.step p { color: #3C3B38; }
@media (min-width: 700px) { .method__steps { grid-template-columns: repeat(2, 1fr); column-gap: var(--gap); } }
@media (min-width: 1100px) { .method__steps { grid-template-columns: repeat(4, 1fr); } }

.zone { padding-top: 0; }
.zone__title { grid-column: 1 / -1; margin-bottom: 24px; }
.zone__text { grid-column: 1 / -1; }
.zone__text p + p { margin-top: 12px; color: var(--stone-ink); }
@media (min-width: 900px) {
	.zone__title { grid-column: 1 / span 5; margin-bottom: 0; }
	.zone__text { grid-column: 7 / span 6; }
}

/* Réalisations : filtres et grille ------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: clamp(40px, 5vw, 72px); }
.filters__item {
	position: relative; padding-block: 6px;
	font-size: .875rem; letter-spacing: .02em; color: var(--stone-ink);
	transition: color .3s;
}
.filters__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.filters__item:hover, .filters__item[aria-current="true"] { color: var(--ink); }
.filters__item:hover::after, .filters__item[aria-current="true"]::after { transform: scaleX(1); }

.cards { display: grid; gap: clamp(48px, 6vw, 88px) var(--gap); }
.card[hidden] { display: none; }
.card__link { display: block; }
.card__media { aspect-ratio: 4 / 3; margin-bottom: 20px; background: var(--stone-light); }
.card__title { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; margin-bottom: 6px; }
.cards__empty { color: var(--stone-ink); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }

/* Fiche réalisation ---------------------------------------------------------- */
.project__hero { height: 78vh; min-height: 360px; max-height: 1000px; overflow: hidden; background: var(--stone-light); margin-bottom: clamp(48px, 7vw, 112px); }
.project__hero img { width: 100%; height: 100%; object-fit: cover; }
.project__head { grid-column: 1 / -1; }
.project__text { grid-column: 1 / -1; margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px var(--gap); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-ink); margin-bottom: 4px; }
.facts dd { font-size: 1rem; }
@media (min-width: 900px) {
	.project__head { grid-column: 1 / span 5; }
	.project__text { grid-column: 7 / span 6; margin-top: 8px; }
}

.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone-light); user-select: none; }
.ba + .ba { margin-top: var(--gap); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__tag { position: absolute; bottom: 16px; z-index: 1; padding: 6px 10px; background: rgba(30, 30, 30, .6); color: var(--white); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__tag, .ba:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

.gallery { display: grid; gap: var(--gap); }
.gallery__item { overflow: hidden; background: var(--stone-light); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.gallery__item:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.gallery__item:not(:nth-child(3n + 1)) { aspect-ratio: 4 / 5; }
}

.next-project { border-top: 1px solid var(--line); }
.next-project__link { display: block; padding-block: clamp(56px, 8vw, 120px); }
.next-project__title { display: flex; align-items: center; gap: 20px; margin-top: 12px; transition: color .3s; }
.next-project__title .icon { width: 40px; height: 40px; flex-shrink: 0; transition: transform .4s var(--ease); }
.next-project__link:hover .next-project__title { color: var(--accent); }
.next-project__link:hover .icon { transform: translateX(8px); }

/* Actualités ---------------------------------------------------------------- */
.posts { display: grid; gap: clamp(48px, 6vw, 72px) var(--gap); }
.post-card__link { display: block; }
.post-card__media { aspect-ratio: 4 / 3; margin-bottom: 20px; background: var(--stone-light); }
.post-card__title { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; line-height: 1.25; }
.post-card__excerpt { display: block; margin-top: 12px; color: #3C3B38; font-size: .9375rem; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.article__head .meta { margin-bottom: 20px; }
.article__media { margin-bottom: clamp(48px, 6vw, 88px); aspect-ratio: 16 / 9; overflow: hidden; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__body { margin-inline: auto; }
.article__back { max-width: 42rem; margin: 64px auto 0; }
.nav-links { display: flex; gap: 16px; margin-top: 64px; }
.nav-links .current { text-decoration: underline; }

/* Contact ------------------------------------------------------------------- */
.contact__info { grid-column: 1 / -1; display: grid; gap: 32px; align-content: start; }
.contact__block p { font-size: 1.125rem; line-height: 1.5; }
.contact__block a { border-bottom: 1px solid var(--line); }
.contact__block a:hover { color: var(--accent); border-color: var(--accent); }
.contact__form { grid-column: 1 / -1; margin-top: 64px; }
.contact__form > .display-m { margin-bottom: 32px; }
@media (min-width: 1000px) {
	.contact__info { grid-column: 1 / span 4; }
	.contact__form { grid-column: 6 / span 7; margin-top: 0; }
}

.map { display: grid; gap: 16px; justify-items: start; padding: 28px; background: var(--stone-light); font-size: .875rem; color: var(--stone-ink); }
.map.is-loaded { padding: 0; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6); }

.devis__form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; }
.field__opt { font-weight: 400; color: var(--stone-ink); }
.field input:not([type="checkbox"]), .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 0;
	font: inherit; color: var(--ink);
	background: transparent; border: 0; border-bottom: 1px solid #B9B5AD; border-radius: 0;
	transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='1.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 20px no-repeat; padding-right: 28px; }
.field input[type="file"] { border-bottom: 0; padding: 8px 0; font-size: .875rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field--check { grid-template-columns: 20px 1fr; align-items: start; gap: 14px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: .875rem; letter-spacing: 0; line-height: 1.55; color: #3C3B38; }
.field--check a { text-decoration: underline; text-underline-offset: 3px; }
.devis__form .btn { justify-self: start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.devis__done { padding: 40px; background: var(--stone-light); border-left: 2px solid var(--accent); }
.devis__done-title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.25; margin-bottom: 12px; }
.devis__errors { margin-bottom: 32px; padding: 20px 24px; border-left: 2px solid #9B2C2C; background: #F5EBEA; font-size: .9375rem; }
.devis__errors ul { list-style: disc; padding-left: 1.2em; margin-top: 8px; }

/* Bandeau cookies ----------------------------------------------------------- */
.consent {
	position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px;
	max-width: 480px; padding: 24px;
	background: var(--bg); color: var(--ink);
	box-shadow: 0 12px 40px rgba(30, 28, 24, .18);
	font-size: .875rem; line-height: 1.55;
}
.consent__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.consent__text a { text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.consent__actions .btn { min-height: 46px; padding: 12px 16px; }
@media (min-width: 640px) { .consent { left: auto; right: 24px; bottom: 24px; } }

/* Responsive et ergonomie ------------------------------------------------- */
:root { color-scheme: light; }
html { -webkit-tap-highlight-color: transparent; }
.display-xl, .display-l, .display-m, .section-title, .intro__title, .work__title, .card__title, .member__name, .post-card__title, .next-project__title { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }

/* En-tête masqué au défilement vers le bas (mobile et tablette), réaffiché en remontant. */
.site-header { transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .35s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Accueil : nom sur deux lignes sur téléphone, bouton pause de la vidéo. */
.hero { min-height: 480px; }
@media (max-width: 639px) {
	.hero__name { font-size: min(9vw, 2.25rem); line-height: 1.3; }
	.hero__name > span { display: block; }
	.hero__dash { display: none; }
}
.hero__toggle {
	position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(24px, 4vh, 48px);
	display: grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .15); color: var(--white);
	transition: background-color .3s, border-color .3s;
}
.hero__toggle:hover { background: rgba(0, 0, 0, .35); border-color: var(--white); }
.hero__toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__toggle[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }

/* Panneau du menu mobile : contacts et réseaux en pied. */
.menu-panel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; padding-bottom: 48px; }
.menu-panel__foot .menu-panel__cta { margin-top: 0; padding-block: 10px; }

/* Filtres des réalisations : une ligne défilante sur téléphone. */
@media (max-width: 759px) {
	.filters {
		flex-wrap: nowrap; gap: 0 24px; overflow-x: auto;
		margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter);
		scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
		-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
		mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
	}
	.filters::-webkit-scrollbar { display: none; }
	.filters__item { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; padding-block: 12px; }
}

/* Zones tactiles d'au moins 44 px pour les liens isolés. */
.link-arrow { min-height: 44px; padding-top: 12px; }
.nav__list a { padding-block: 12px; }
.filters__item { padding-block: 12px; }
.map .btn { padding-inline: 20px; letter-spacing: .1em; }
@media (max-width: 479px) { .btn { padding-inline: 22px; letter-spacing: .1em; } }
.site-footer__contact { gap: 0; }
.site-footer__contact a, .site-footer__contact > span { display: inline-block; padding-block: 8px; }
.site-footer__legal a, .site-footer__legal .link-button { display: inline-block; padding-block: 13px; }
.site-footer__bottom { align-items: center; padding-top: 8px; }
.contact-band__item a, .contact__block a {
	display: inline-block; padding-block: 10px; border-bottom: 0;
	text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1px;
	transition: color .3s, text-decoration-color .3s;
}
.contact-band__item a:hover, .contact__block a:hover { text-decoration-color: var(--accent); }

/* Contact : boutons d'appel et formulaire en premier sur mobile et tablette. */
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.quick-actions .btn { flex: 1 1 140px; }
@media (min-width: 1000px) { .quick-actions { display: none; } }
@media (max-width: 999px) { .contact__form { order: -1; margin: 0 0 72px; } }

/* Bandeaux plus courts sur téléphone. */
@media (max-width: 759px) {
	.project__hero { height: 62svh; min-height: 300px; }
	.banner { height: 52svh; min-height: 320px; }
}

/* Barre d'actions fixe sur téléphone. */
.action-bar { display: none; }
@media (max-width: 759px) {
	.action-bar {
		position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		background: var(--bg); box-shadow: 0 -8px 24px rgba(30, 28, 24, .1);
		padding-bottom: env(safe-area-inset-bottom);
		transform: translateY(110%); transition: transform .35s var(--ease);
	}
	.action-bar.is-visible { transform: none; }
	.action-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
	.action-bar__quote { background: var(--ink); color: var(--bg); }
	.site-footer { padding-bottom: 96px; }
}

/* Bandeau cookies compact sur téléphone. */
.consent .btn { letter-spacing: .1em; }
@media (max-width: 639px) {
	.consent { left: 12px; right: 12px; bottom: 12px; padding: 18px 18px 16px; font-size: .8125rem; }
	.consent__actions { margin-top: 14px; }
}

.plain-list li + li { margin-top: 8px; }
.page-404 { min-height: 50vh; }
.page-404 .btn { margin-top: 40px; }

/* Fil d'Ariane --------------------------------------------------------------- */
.crumbs { margin-bottom: 20px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-ink); }
.crumbs ol { display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-inline: 10px; opacity: .6; }
.crumbs a { display: inline-block; padding-block: 12px; transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs--light { color: rgba(255, 255, 255, .85); margin-bottom: 8px; }
.crumbs--light a:hover { color: var(--white); }
.page-head .crumbs, .project__head .crumbs { margin-top: -12px; }

/* Savoir-faire : pages métiers ------------------------------------------------- */
.banner__title { max-width: 18em; }
.metier-intro__lead { grid-column: 1 / -1; }
.metier-intro__scope { grid-column: 1 / -1; margin-top: 48px; }
.scope { border-top: 1px solid var(--line); }
.scope li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
.scope li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--accent); }
@media (min-width: 1000px) {
	.metier-intro__lead { grid-column: 1 / span 7; }
	.metier-intro__scope { grid-column: 9 / span 4; margin-top: 0; }
}
.metier-body .prose { margin-inline: auto; }
.metier-body__cta { max-width: 42rem; margin: 56px auto 0; }
.metier-works__more { margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.faq { background: var(--stone-light); }
.faq__title { grid-column: 1 / -1; margin-bottom: 40px; }
.faq__list { grid-column: 1 / -1; border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
	.faq__title { grid-column: 1 / span 4; margin-bottom: 0; }
	.faq__list { grid-column: 6 / span 7; }
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 22px 0; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding-bottom: 24px; max-width: 40em; color: #3C3B38; }
.faq__answer a { text-decoration: underline; text-underline-offset: 3px; }

.metier-list { border-top: 1px solid var(--line); }
.metier-list a {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 24px 0; border-bottom: 1px solid var(--line);
	font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.875rem); line-height: 1.2;
	transition: color .3s;
}
.metier-list .icon { width: 28px; height: 28px; flex-shrink: 0; transition: transform .4s var(--ease); }
.metier-list a:hover { color: var(--accent); }
.metier-list a:hover .icon { transform: translateX(6px); }
@media (min-width: 900px) { .metier-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); } }
.metier-card__text { display: block; color: #3C3B38; font-size: .9375rem; max-width: 30em; }

/* Maillage : réalisations similaires, « pour aller plus loin », pied de page. */
.related { border-top: 1px solid var(--line); }
.related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 32px; margin-bottom: clamp(40px, 6vw, 88px); }
.related__head .section-title { margin-bottom: 0; }
.related__head .link-arrow { margin-top: 16px; }
.further { max-width: 42rem; margin: 64px auto 0; padding: 32px; background: var(--stone-light); border-left: 2px solid var(--accent); }
.further__link { display: flex; align-items: center; gap: 16px; transition: color .3s; }
.further__link .icon { width: 32px; height: 32px; flex-shrink: 0; transition: transform .4s var(--ease); }
.further__link:hover { color: var(--accent); }
.further__link:hover .icon { transform: translateX(6px); }
.further p:last-child { margin-top: 12px; color: #3C3B38; }
.site-footer__nav .label { display: block; margin-bottom: 4px; }
.site-footer__nav a { display: inline-block; padding-block: 8px; color: var(--stone-ink); transition: color .3s; }
.site-footer__nav a:hover { color: var(--accent); }
@media (min-width: 900px) {
	.site-footer__grid--nav { grid-template-columns: 1fr 1.1fr 1.1fr auto; }
	.site-footer__nav a { padding-block: 3px; }
}

/* Image des équipes sur chantier, sous l'encart « 12 salariés ». */
.team__crew { margin-top: clamp(24px, 4vw, 48px); overflow: hidden; background: var(--stone-light); }
.team__crew img { width: 100%; height: auto; }
