/* Music Work 2026 — styles du site. Valeurs reprises des maquettes Claude Design (1440 px, mobile ≤ 768 px). */

/* ── Polices ─────────────────────────────────────────────────────────────── */
@font-face { font-family: 'Dahlia'; src: url('../fonts/Dahlia-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Dahlia'; src: url('../fonts/Dahlia-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Dahlia'; src: url('../fonts/Dahlia-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/CeraPro-Regular.woff2') format('woff2'); font-weight: 300 400; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/CeraPro-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/CeraPro-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

/* ── Couleurs et rythmes ─────────────────────────────────────────────────── */
:root {
	--mw-bg: #FCF8EC;
	--mw-ink: #111;
	--mw-text: #555;
	--mw-muted: #777;
	--mw-soft: #999;
	--mw-faint: #aaa;
	--mw-line: #eaeaea;
	--mw-line-warm: #e6e1d3;
	--mw-placeholder: #f2f2f2;
	--mw-footer: #2b2b2b;
	--mw-footer-line: #444;
	--mw-footer-text: #f2f2f2;
	--mw-rose: rgb(248, 211, 198);
	--mw-glass-ink: #8a8474;
	--mw-serif: 'Dahlia', serif;
	--mw-sans: 'Cera Pro', sans-serif;
	--mw-ease: cubic-bezier(.2, .7, .2, 1);
	--mw-gutter: 48px;
	--mw-header-h: 128px;
}
.home { --mw-bg: #FCF9EF; }

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--mw-bg);
	color: var(--mw-ink);
	font-family: var(--mw-sans);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: #000; color: #fff; }
:focus-visible { outline: 1px solid var(--mw-ink); outline-offset: 4px; }
button { font: inherit; color: inherit; }
.screen-reader-text, .mw-skip:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.mw-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 200; background: var(--mw-bg); padding: 8px 16px; }

/* ── Typographie commune ─────────────────────────────────────────────────── */
.mw-label, .mw-eyebrow {
	font-family: var(--mw-sans); font-size: 11px; letter-spacing: 0.16em; color: var(--mw-soft);
	text-transform: uppercase; margin: 0;
}
.mw-eyebrow { margin-bottom: 56px; }
.mw-link {
	display: inline-block; font-family: var(--mw-sans); font-size: 12px; letter-spacing: 0.08em; color: var(--mw-ink);
	border-bottom: 1px solid var(--mw-ink); padding-bottom: 6px; text-transform: uppercase;
	transition: color .2s ease, border-color .2s ease;
}
.mw-link--strong { font-weight: 500; }
.mw-link:hover { color: var(--mw-soft); border-color: var(--mw-soft); }
.mw-pill {
	display: inline-block; white-space: nowrap; font-family: var(--mw-sans); font-size: 11px; letter-spacing: 0.1em;
	color: var(--mw-ink); text-transform: uppercase; border: 1px solid var(--mw-ink); border-radius: 20px;
	padding: 10px 22px; background: transparent; cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.mw-pill:hover { color: var(--mw-soft); border-color: var(--mw-soft); }
.mw-pill--light { color: #fff; border-color: #fff; }
.mw-center { text-align: center; padding: 16px var(--mw-gutter) 0; }
.mw-prose p { font-size: 15px; line-height: 1.9; color: var(--mw-text); margin: 0 0 20px; max-width: 480px; text-wrap: pretty; }
.mw-prose p:last-child { margin-bottom: 32px; }

/* ── En-tête ─────────────────────────────────────────────────────────────── */
.mw-header {
	position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center; column-gap: 32px; padding: 32px var(--mw-gutter); background: var(--mw-bg);
}
.mw-header__logo { justify-self: start; }
.mw-logo { height: 64px; width: auto; display: block; }
.mw-nav { display: flex; flex-wrap: wrap; justify-content: center; justify-self: center; gap: 12px 40px; }
.mw-nav a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; transition: color .2s ease; }
.mw-nav a:hover, .mw-nav a[aria-current] { color: var(--mw-soft); }
.mw-header__fav { justify-self: end; }
.mw-burger {
	display: none; grid-column: 3; justify-self: end; flex-direction: column; gap: 6px; width: 44px; height: 44px;
	align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.mw-burger span { display: block; width: 24px; height: 1px; background: var(--mw-ink); }
.mw-close {
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 30px;
	line-height: 1; background: transparent; border: 0; cursor: pointer; padding: 0;
}

.mw-menu {
	position: fixed; inset: 0; z-index: 95; background: var(--mw-bg); display: flex; flex-direction: column;
	padding: 14px 20px 40px; animation: mw-fade-in .35s var(--mw-ease) both;
}
.mw-menu[hidden] { display: none; }
.mw-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mw-menu__top .mw-logo { height: 40px; }
.mw-menu__nav { display: flex; flex-direction: column; gap: 28px; margin-top: 72px; }
.mw-menu__nav a { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; }
.mw-menu__fav { margin-top: auto; align-self: flex-start; padding: 12px 22px; }

/* ── Pop-up en verre dépoli (Support client) ─────────────────────────────── */
.mw-glass {
	position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
	background: rgba(30, 26, 18, .28); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
	animation: mw-fade-in .35s var(--mw-ease) both;
}
.mw-glass[hidden] { display: none; }
.mw-glass__panel {
	position: relative; width: min(340px, 86vw); padding: 44px 32px; border-radius: 28px;
	background: rgba(252, 248, 236, .72); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); animation: mw-pop-in .4s var(--mw-ease) both;
}
.mw-glass__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; font-size: 26px; color: var(--mw-glass-ink); }
.mw-glass__close:hover { color: var(--mw-ink); }
.mw-glass__label { font-size: 11px; letter-spacing: 0.16em; color: var(--mw-glass-ink); text-transform: uppercase; margin: 0 0 14px; }
.mw-glass__options { display: flex; flex-direction: column; gap: 12px; }
.mw-glass__option {
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border-radius: 18px;
	background: rgba(255, 255, 255, .6); border: 1px solid rgba(0, 0, 0, .06); transition: background .2s ease;
}
.mw-glass__option:hover { background: rgba(255, 255, 255, .9); }
.mw-glass__value { font-size: 14px; color: var(--mw-ink); }
.mw-glass__hint { font-size: 10px; letter-spacing: 0.12em; color: var(--mw-glass-ink); text-transform: uppercase; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.mw-footer { background: var(--mw-footer); padding: 100px var(--mw-gutter); color: var(--mw-footer-text); }
.mw-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; }
.mw-footer__title { font-family: var(--mw-serif); font-size: clamp(30px, 4vw, 54px); letter-spacing: 0.005em; margin: 0 0 20px; }
.mw-footer__subtitle { font-size: 14px; letter-spacing: 0.04em; color: var(--mw-soft); text-transform: uppercase; margin: 0 0 48px; }
.mw-footer__email { display: inline-block; font-size: 15px; letter-spacing: 0.02em; border-bottom: 1px solid var(--mw-footer-text); padding-bottom: 6px; margin-bottom: 16px; }
.mw-footer__phone { font-size: 14px; color: #bbb; }
.mw-footer__text { font-size: 13px; line-height: 1.7; color: var(--mw-soft); margin: 16px 0 0; }
.mw-footer__address { margin-top: 32px; }
.mw-footer__text a { color: #bbb; border-bottom: 1px solid #666; }
.mw-footer__news { border-left: 1px solid var(--mw-footer-line); padding-left: 64px; }
.mw-footer__label { font-size: 11px; letter-spacing: 0.14em; color: var(--mw-soft); text-transform: uppercase; margin: 0 0 20px; }
.mw-footer__intro { font-size: 13px; line-height: 1.7; color: #bbb; margin: 0 0 28px; }
/* Formulaire MC4WP : champ email + bouton sur une ligne soulignée. */
.mw-footer .mc4wp-form-fields { display: flex; border-bottom: 1px solid var(--mw-footer-text); padding-bottom: 10px; }
.mw-footer .mc4wp-form-fields p { margin: 0; display: contents; }
.mw-footer .mc4wp-form input[type=email] {
	flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--mw-footer-text); font: 13px var(--mw-sans);
}
.mw-footer .mc4wp-form input[type=email]::placeholder { color: var(--mw-soft); }
.mw-footer .mc4wp-form input[type=submit] {
	background: transparent; border: 0; color: var(--mw-footer-text); font: 12px var(--mw-sans); letter-spacing: 0.06em; cursor: pointer;
}
.mw-footer .mc4wp-response { font-size: 13px; color: #bbb; margin-top: 12px; }
.mw-footer__bottom {
	display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 56px; margin-top: 96px; border-top: 1px solid var(--mw-footer-line);
	font-size: 11px; letter-spacing: 0.08em; color: #bbb;
}
.mw-footer__bottom > span { letter-spacing: 0.1em; color: var(--mw-soft); }
.mw-footer__langs { display: flex; gap: 16px; }
.mw-footer__langs a[aria-current] { color: var(--mw-footer-text); border-bottom: 1px solid currentColor; }
.mw-footer__support { margin-left: auto; }

/* ── Accueil : haut de page ──────────────────────────────────────────────── */
.mw-hero { position: relative; min-height: 180vh; display: flex; align-items: flex-start; }
.mw-hero__text {
	/* Largeur de 50 % hors marges intérieures, comme la maquette (content-box). */
	box-sizing: content-box; width: 50%; height: 100vh; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 64px;
}
.mw-hero__clip { overflow: hidden; }
.mw-hero__title {
	font-family: var(--mw-serif); font-weight: 400; font-size: clamp(36px, 5.4vw, 96px); line-height: 1.1; letter-spacing: 0.01em;
	margin: 0 0 24px; animation: mw-title-reveal .9s var(--mw-ease) both;
}
.mw-hero__sub { animation: mw-fade-in .9s var(--mw-ease) .2s both; }
.mw-hero__since { position: absolute; bottom: 40px; left: 64px; animation: mw-fade-in .9s var(--mw-ease) .4s both; }
/* Photo fixe pendant le défilement, puis détachée en bas du bloc (assets/src/main.js). */
.mw-hero__photo {
	position: fixed; top: 0; left: 50%; right: 0; height: 100vh; overflow: hidden; display: flex; align-items: center;
	justify-content: center; padding: 80px var(--mw-gutter) 0;
}
.mw-hero__photo img { max-width: 100%; max-height: 82%; width: auto; height: auto; object-fit: contain; display: block; }

/* ── Accueil : sections ──────────────────────────────────────────────────── */
.mw-section { padding: 0 var(--mw-gutter) 220px; }
.mw-section--pillars { padding-top: 200px; padding-bottom: 110px; }
.mw-statement {
	font-family: var(--mw-serif); font-weight: 400; font-size: clamp(22px, 2.8vw, 38px); line-height: 1.55; letter-spacing: 0.005em;
	margin: 0 0 48px; max-width: 900px; text-wrap: pretty;
}
.mw-home-livre { margin-bottom: 120px; }
.mw-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.mw-trio > :nth-child(2) { margin-top: 64px; }

.mw-card__media { position: relative; overflow: hidden; margin-bottom: 20px; background: var(--mw-placeholder); }
.mw-card__media.has-vinyl { overflow: visible; }
.mw-card__media > a { display: block; width: 100%; height: 100%; overflow: hidden; }
.mw-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--mw-ease); }
.mw-card:hover .mw-img, .mw-story__media:hover .mw-img { transform: scale(1.045); }
.mw-img--empty { display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0.08em; color: var(--mw-faint); text-transform: uppercase; }
.mw-card__client { font-family: var(--mw-sans); font-weight: 500; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 8px; }
.mw-card__desc { font-size: 13px; line-height: 1.5; color: var(--mw-muted); margin: 0 0 14px; }
.mw-card__tags { font-size: 11px; letter-spacing: 0.1em; color: var(--mw-faint); text-transform: uppercase; margin: 0; }
.mw-card__tags a, .mw-uc__value a { transition: color .2s ease; }
.mw-card__tags a:hover { color: var(--mw-ink); }
.mw-uc__value a { border-bottom: 1px solid transparent; }
.mw-uc__value a:hover { border-color: currentColor; }

.mw-knowhow { max-width: 1000px; margin: 0 auto; }
.mw-knowhow__title {
	font-family: var(--mw-serif); font-weight: 400; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.25; letter-spacing: 0.005em;
	margin: 0 0 96px; max-width: 760px; text-wrap: pretty;
}
.mw-service { display: grid; grid-template-columns: 64px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--mw-line); align-items: baseline; }
.mw-service__index { font-size: 11px; letter-spacing: 0.08em; color: var(--mw-soft); }
.mw-service__row { display: flex; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.mw-service__title { font-family: var(--mw-serif); font-weight: 500; font-size: 22px; letter-spacing: 0.005em; margin: 0; min-width: 240px; }
.mw-service__body { max-width: 460px; flex: 1; }
.mw-service__body p { font-size: 14px; line-height: 1.7; color: var(--mw-text); margin: 0 0 10px; }
.mw-service__link { font-size: 12px; letter-spacing: 0.04em; border-bottom: 1px solid var(--mw-ink); padding-bottom: 2px; }
.mw-knowhow__cta { padding: 56px 0 96px; text-align: center; }
.mw-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.mw-vinyl { position: absolute; width: 96px; height: 96px; display: block; z-index: 6; }
.mw-vinyl--left { bottom: -28px; left: -28px; }
.mw-vinyl--right { bottom: -24px; right: -24px; }
.mw-vinyl img {
	width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .3));
	animation: mw-spin 6s linear infinite;
}

.mw-clients__intro {
	font-family: var(--mw-serif); font-weight: 400; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.45; letter-spacing: 0.005em;
	margin: 0 0 80px; max-width: 820px; text-wrap: pretty;
}
.mw-section--clients .mw-eyebrow { margin-bottom: 40px; }
.mw-clients {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: column;
	grid-template-rows: repeat(var(--mw-rows, 13), auto); gap: 10px 40px; align-content: start;
}
.mw-clients li { font-weight: 300; font-size: 13px; letter-spacing: 0.06em; color: #333; text-transform: uppercase; }

.mw-section--stories { padding-left: 0; padding-right: 0; }
.mw-section--stories > .mw-eyebrow { margin-bottom: 24px; padding: 0 var(--mw-gutter); }
.mw-story { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; padding: 0 var(--mw-gutter); }
.mw-story + .mw-story { border-top: 1px solid var(--mw-line); }
.mw-story--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.mw-story__media {
	position: relative; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; max-width: 440px; margin: 64px 0;
	background: var(--mw-placeholder); justify-self: start;
}
.mw-story__media.has-vinyl { overflow: visible; }
.mw-story__link { display: block; width: 100%; height: 100%; overflow: hidden; cursor: none; }
.mw-story--reverse .mw-story__media { order: 2; justify-self: end; }
.mw-story__text { display: flex; flex-direction: column; justify-content: center; padding: 0 72px; max-width: 560px; justify-self: start; }
.mw-story--reverse .mw-story__text { order: 1; justify-self: end; }
.mw-story .mw-card__client { margin-bottom: 12px; }
.mw-story__desc { font-size: 14px; line-height: 1.8; color: var(--mw-muted); margin: 0 0 16px; max-width: 400px; text-wrap: pretty; }
/* Curseur personnalisé « Voir » qui suit la souris (assets/src/main.js). */
.mw-cursor-pill {
	position: absolute; top: 0; left: 0; z-index: 5; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px;
	border-radius: 50%; background: #fff; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mw-ink);
	pointer-events: none; opacity: 0; transform: translate(-9999px, -9999px); transition: opacity .25s ease;
}
.mw-cursor-zone.is-hover .mw-cursor-pill { opacity: 1; }
@media (hover: none) { .mw-cursor-pill { display: none; } .mw-story__link { cursor: pointer; } }

.mw-company { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* Carrousel en fondu enchaîné : une diapositive toutes les 0,65 s, cycle d'au moins 10 créneaux. */
.mw-slideshow { aspect-ratio: 4 / 5; overflow: hidden; position: relative; --mw-cycle: calc(max(10, var(--mw-slides)) * .65s); }
.mw-slideshow__slide {
	position: absolute; inset: 0; opacity: 0; display: flex; align-items: center; justify-content: center; background: var(--mw-bg);
	animation: mw-slideshow var(--mw-cycle) infinite; animation-delay: calc(var(--mw-i) * .65s);
}
.mw-slideshow__slide img { width: 100%; height: 100%; object-fit: contain; }

/* ── Nos réalisations ────────────────────────────────────────────────────── */
.mw-works-head { padding: 180px var(--mw-gutter) 64px; }
.mw-works-head__title { font-family: var(--mw-serif); font-weight: 400; font-size: clamp(32px, 5vw, 56px); letter-spacing: 0.005em; margin: 0 0 48px; }
.mw-filters { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: calc(var(--mw-header-h) + 24px); }
.mw-filters__row { display: flex; align-items: baseline; gap: 32px; }
.mw-filters__row[hidden] { display: none; }
.mw-filters__label { width: 96px; flex-shrink: 0; padding-bottom: 6px; font-size: 11px; letter-spacing: 0.14em; color: #bbb; text-transform: uppercase; }
.mw-filters__list { display: flex; flex-wrap: wrap; gap: 12px 32px; flex: 1; min-width: 0; }
.mw-filter {
	background: none; border: 0; border-bottom: 1px solid transparent; padding: 0 0 6px; cursor: pointer;
	font: 12px var(--mw-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mw-soft);
	transition: color .2s ease, border-color .2s ease;
}
.mw-filter:hover, .mw-filter[aria-pressed="true"] { color: var(--mw-ink); }
.mw-filter[aria-pressed="true"] { border-color: var(--mw-ink); }
.mw-filter--chip { display: inline-flex; gap: 10px; }
.mw-works { padding: 0 var(--mw-gutter) 160px; }
.mw-works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.mw-works__item[hidden] { display: none; }
.mw-works__empty { font-size: 14px; color: var(--mw-muted); }
.mw-card--grid .mw-card__media { margin-bottom: 18px; }
.mw-card--grid .mw-card__client { margin-bottom: 12px; }
.mw-card--grid .mw-card__desc { font-size: 14px; line-height: 1.8; margin-bottom: 6px; text-wrap: pretty; }

/* ── Réalisation (Use case) ──────────────────────────────────────────────── */
.mw-uc-back { padding: 160px var(--mw-gutter) 40px; }
.mw-back { letter-spacing: 0.14em; transition: color .2s ease; }
.mw-back:hover { color: var(--mw-ink); }
.mw-uc { padding: 0 var(--mw-gutter) 160px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr); gap: 80px; align-items: start; }
.mw-uc__aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 28px; }
.mw-uc__title { font-family: var(--mw-serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; letter-spacing: 0.005em; margin: 0; }
.mw-uc__label { font-size: 11px; letter-spacing: 0.14em; color: var(--mw-soft); text-transform: uppercase; margin: 0 0 6px; }
.mw-uc__value { font-size: 14px; line-height: 1.6; margin: 0; }
.mw-uc__main { display: flex; flex-direction: column; gap: 96px; min-width: 0; }
.mw-uc__photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mw-placeholder); }
.mw-uc__text { max-width: 640px; }
.mw-uc__text p { max-width: none; }
.mw-uc__text iframe, .mw-uc__text video, .mw-uc__text .wp-block-embed { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.mw-uc__text img { display: block; margin: 0 0 20px; }
.mw-quote { margin: 40px 0; padding: 0 0 0 24px; border-left: 1px solid var(--mw-ink); }
.mw-quote p { font-family: var(--mw-serif); font-size: 22px; line-height: 1.5; color: var(--mw-ink); }
.mw-quote cite { font-style: normal; font-size: 11px; letter-spacing: 0.14em; color: var(--mw-soft); text-transform: uppercase; }
.mw-uc__gallery-label { margin-bottom: 20px; }
.mw-uc__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mw-uc__figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mw-placeholder); }
.mw-uc__figure.is-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mw-uc__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mw-next { display: block; border-top: 1px solid var(--mw-line-warm); padding: 72px var(--mw-gutter) 120px; transition: color .2s ease; }
.mw-next:hover { color: var(--mw-muted); }
.mw-next .mw-label { display: block; margin-bottom: 16px; }
.mw-next__title { font-family: var(--mw-serif); font-size: clamp(32px, 4vw, 56px); letter-spacing: 0.005em; }

/* ── Pages simples (mentions légales, livre blanc…) ──────────────────────── */
.mw-page { padding: 160px var(--mw-gutter) 160px; max-width: 900px; }
.mw-page__title { font-family: var(--mw-serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; margin: 0 0 64px; }
.mw-page__content.mw-prose p, .mw-page__content li { max-width: 720px; }
.mw-page__content h2 { font-family: var(--mw-serif); font-weight: 400; font-size: 26px; margin: 56px 0 20px; }

/* ── Apparitions au défilement (classes posées par assets/src/main.js) ───── */
.mw-js .mw-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--mw-ease), transform .9s var(--mw-ease); }
.mw-js .mw-reveal.is-visible { opacity: 1; transform: none; }
.mw-split .mw-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.mw-split .mw-wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--mw-ease); }
.mw-split.is-visible .mw-wi { transform: none; }
.mw-eyebrow { transition: opacity 1.2s var(--mw-ease), letter-spacing 1.4s var(--mw-ease); }
.mw-js .mw-eyebrow:not(.is-visible) { opacity: 0; letter-spacing: .42em; }

@keyframes mw-fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mw-pop-in { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes mw-title-reveal { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mw-spin { to { transform: rotate(360deg); } }
@keyframes mw-slideshow { 0% { opacity: 0; } 2.5% { opacity: 1; } 8% { opacity: 1; } 10.5% { opacity: 0; } 100% { opacity: 0; } }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	:root { --mw-gutter: 20px; --mw-header-h: 68px; }
	html, body { overflow-x: clip; }
	.mw-header { padding: 14px 20px; }
	.mw-logo { height: 40px; }
	.mw-nav, .mw-header__fav { display: none; }
	.mw-burger { display: flex; }

	.mw-hero { min-height: 0; flex-direction: column; padding-top: 88px; }
	.mw-hero__text { box-sizing: border-box; width: 100%; height: auto; padding: 48px 20px 32px; }
	.mw-hero__title { font-size: 44px; }
	.mw-hero__since { position: static; margin-top: 20px; }
	.mw-hero__photo { position: relative !important; top: auto !important; left: auto; right: auto; width: 100%; height: auto; padding: 0 20px; }
	.mw-hero__photo img { max-height: none; width: 100%; }

	.mw-section { padding-bottom: 128px; }
	.mw-section .mw-eyebrow { margin-bottom: 20px; }
	.mw-statement, .mw-knowhow__title { margin-bottom: 32px; }
	.mw-section--clients .mw-clients__intro { margin-bottom: 40px; }
	.mw-section--pillars { padding-top: 88px; }
	.mw-home-livre { margin-bottom: 72px; }
	.mw-knowhow__cta { padding: 40px 0 88px; }

	/* Cartes en rangées qui défilent au doigt. */
	.mw-swipe {
		display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px;
		margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	.mw-swipe::-webkit-scrollbar { display: none; }
	.mw-swipe > * { flex: 0 0 80%; scroll-snap-align: start; margin-top: 0 !important; }
	.mw-duo > * { flex-basis: 86%; }
	.mw-duo { padding-bottom: 32px; }

	.mw-service { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 28px 0; }
	.mw-service__title { min-width: 0; }
	.mw-service__row { flex-direction: column; gap: 12px; }
	.mw-service__body { max-width: none; }
	.mw-vinyl { width: 72px; height: 72px; }
	.mw-vinyl--right { right: -6px; bottom: -20px; }
	.mw-vinyl--left { left: -6px; bottom: -20px; }

	.mw-clients { display: block; column-count: 2; column-gap: 20px; }
	.mw-clients li { margin-bottom: 10px; break-inside: avoid; }

	.mw-section--stories > .mw-eyebrow { padding: 0 20px; }
	.mw-story, .mw-story--reverse { grid-template-columns: 1fr; padding: 0 20px; }
	.mw-story__media, .mw-story--reverse .mw-story__media { order: 0; margin: 40px 0 20px; max-width: 100%; justify-self: stretch; }
	.mw-story__text, .mw-story--reverse .mw-story__text { order: 1; padding: 0 0 32px; justify-self: start; }

	.mw-company { grid-template-columns: 1fr; gap: 56px; }

	.mw-works-head { padding-top: 120px; }
	.mw-filters__row { flex-direction: column; gap: 10px; }
	.mw-filters__list { gap: 10px 20px; }
	.mw-works__grid { grid-template-columns: 1fr; gap: 40px; }

	/* Réalisation : titre, photo, infos puis texte. */
	.mw-uc { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 96px; }
	.mw-uc__aside, .mw-uc__main { display: contents; }
	.mw-uc__title { order: 0; margin-bottom: 24px; }
	.mw-uc__photo { order: 1; margin-bottom: 32px; }
	.mw-uc__info { order: 2; margin-bottom: 16px; }
	.mw-uc__label { margin-bottom: 4px; }
	.mw-uc__text, .mw-uc__gallery-wrap { order: 3; margin-top: 48px; }
	.mw-uc-back, .mw-page { padding-top: 120px; }

	.mw-footer { padding: 48px 20px; }
	.mw-footer p, .mw-footer a { line-height: 1.55; }
	.mw-footer p { margin-bottom: 10px; }
	.mw-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.mw-footer__news { border-left: 0; padding-left: 0; border-top: 1px solid var(--mw-footer-line); padding-top: 28px; }
	.mw-footer__bottom { gap: 10px 20px; margin-top: 36px; }
	.mw-footer__support { margin-left: 0; }
}

/* ── Mouvements réduits : pas d'animation ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.mw-js .mw-reveal, .mw-js .mw-eyebrow:not(.is-visible) { opacity: 1; transform: none; letter-spacing: 0.16em; }
	.mw-split .mw-wi { transform: none; }
	.mw-slideshow__slide:first-child { opacity: 1; }
}
