/* La Fabrik — styles du site (toutes les classes commencent par fk-) */

body.lafabrik {
	--fk-ink: #1e1b24;
	--fk-ink-2: #4e4852;
	--fk-ink-3: #5a545e;
	--fk-muted: #6b6570;
	--fk-cream: #f7f1e8;
	--fk-white: #ffffff;
	--fk-line: #e4ddd2;
	--fk-line-2: #d6cdbf;
	--fk-line-3: #c7bcac;
	--fk-accent: #8c2a3a;
	--fk-accent-dark: #6e1f2d;
	--fk-velvet: #2a1418;
	--fk-velvet-2: #3a1e24;
	--fk-velvet-line: #4e2c33;
	--fk-on-dark: #f4ecdf;
	--fk-on-dark-2: #dccfc2;
	--fk-on-dark-3: #bfafa2;
	--fk-gold: #d9b26f;
	--fk-serif: "Bodoni Moda", "Didot", Georgia, serif;
	--fk-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	margin: 0;
	background: var(--fk-cream);
	color: var(--fk-ink);
	font-family: var(--fk-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

:where(body.lafabrik) *,
:where(body.lafabrik) *::before,
:where(body.lafabrik) *::after { box-sizing: border-box; }

:where(body.lafabrik) img { max-width: 100%; height: auto; }
:where(body.lafabrik) a { color: var(--fk-accent); }
:where(body.lafabrik) a:hover { color: var(--fk-accent-dark); }
:where(body.lafabrik) :where(h1, h2, h3, p, figure, ul) { margin: 0; }
body.lafabrik :focus-visible { outline: 3px solid var(--fk-gold); outline-offset: 2px; }

.fk-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fk-white); padding: 10px 16px; border-radius: 8px; }
.fk-skip:focus { left: 8px; }

.fk-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.fk-wrap--narrow { max-width: 860px; }

/* En-tête */
.fk-header { background: var(--fk-white); border-bottom: 1px solid var(--fk-line); position: relative; z-index: 20; }
.fk-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.fk-logo { display: flex; padding: 4px 0; }
.fk-logo img { height: 64px; width: auto; display: block; }
.fk-header__menu { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; justify-content: flex-end; }
.fk-nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
.fk-nav a { color: var(--fk-ink); text-decoration: none; padding: 12px 0; }
.fk-nav a:hover { color: var(--fk-accent); }
.fk-nav a.is-current { color: var(--fk-accent); font-weight: 600; }
.fk-lang { display: flex; border: 1px solid var(--fk-line); border-radius: 999px; padding: 3px; }
.fk-lang a { min-width: 48px; min-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fk-ink-3); text-decoration: none; }
.fk-lang a.is-active { background: var(--fk-accent); color: var(--fk-white); }
.fk-burger { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--fk-line-3); border-radius: 999px; background: transparent; color: var(--fk-ink); font: inherit; font-size: 15px; cursor: pointer; }

@media (max-width: 960px) {
	.fk-burger { display: inline-flex; }
	.fk-header__inner { flex-wrap: wrap; }
	.fk-header__menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 8px 0 12px; }
	.fk-header.is-open .fk-header__menu { display: flex; }
	.fk-nav { flex-direction: column; width: 100%; }
	.fk-nav a { padding: 12px 0; border-bottom: 1px solid var(--fk-line); font-size: 17px; }
}

/* Typographie */
.fk-eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--fk-accent); margin-bottom: 18px; }
.fk-display { font-family: var(--fk-serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: -.01em; }
.fk-display em { color: var(--fk-accent); }
.fk-display--md { font-size: clamp(44px, 5.5vw, 80px); }
.fk-h2 { font-family: var(--fk-serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; }
.fk-h3 { font-family: var(--fk-serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; margin-bottom: 22px; }
.fk-lead { margin-top: 24px !important; max-width: 620px; font-size: 19px; line-height: 1.65; color: var(--fk-ink-2); }
.fk-lead--wide { max-width: 780px; }
.fk-text { margin-top: 18px !important; font-size: 17px; line-height: 1.7; color: var(--fk-ink-2); }
.fk-small { margin-top: 16px !important; font-size: 13px; color: var(--fk-muted); }
.fk-link { display: inline-block; font-weight: 600; text-decoration: none; padding: 12px 0; }

/* Boutons */
.fk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--fk-accent); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
body.lafabrik .fk-btn { background: var(--fk-accent); color: var(--fk-white); -webkit-text-fill-color: currentColor; }
body.lafabrik .fk-btn:hover { background: var(--fk-accent-dark); border-color: var(--fk-accent-dark); color: var(--fk-white); }
body.lafabrik a.fk-btn--ghost, body.lafabrik .fk-btn--ghost { background: transparent; border-color: var(--fk-line-3); color: var(--fk-ink); font-weight: 500; }
body.lafabrik .fk-btn--ghost:hover { background: var(--fk-white); border-color: var(--fk-ink); color: var(--fk-ink); }
body.lafabrik a.fk-btn--outline, body.lafabrik .fk-btn--outline { background: transparent; color: var(--fk-accent); min-height: 46px; padding: 10px 22px; font-size: 15px; }
body.lafabrik .fk-btn--outline:hover { background: var(--fk-accent); color: var(--fk-white); }
body.lafabrik a.fk-btn--gold, body.lafabrik .fk-btn--gold { background: var(--fk-gold); border-color: var(--fk-gold); color: var(--fk-velvet); }
body.lafabrik .fk-btn--gold:hover { background: #e6c286; border-color: #e6c286; color: var(--fk-velvet); }
body.lafabrik a.fk-btn--white, body.lafabrik .fk-btn--white { background: var(--fk-white); border-color: var(--fk-white); color: var(--fk-accent); }
body.lafabrik .fk-btn--white:hover { background: var(--fk-cream); border-color: var(--fk-cream); color: var(--fk-accent-dark); }

/* Mises en page */
.fk-hero { background: var(--fk-white); }
.fk-hero > .fk-wrap { padding-top: 72px; padding-bottom: 88px; }
.fk-hero--page > .fk-wrap { padding-bottom: 72px; }
.fk-section { padding: 96px 0; }
.fk-section--tight-bottom { padding-bottom: 40px; }
.fk-section--tight-top { padding-top: 40px; }
.fk-split { display: flex; flex-wrap: wrap; gap: 56px; }
.fk-split--center { align-items: center; }
.fk-split__main { flex: 2 1 480px; min-width: 0; }
.fk-split__side { flex: 1 1 320px; min-width: 0; }
.fk-grid { display: grid; gap: 32px; }
.fk-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 56px; }
.fk-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fk-grid--photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }

.fk-portrait { flex: 1 1 300px; max-width: 440px; }
.fk-portrait--small { max-width: 360px; }
.fk-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; border-radius: 20px; display: block; }
.fk-portrait figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--fk-muted); }
.fk-portrait figcaption strong { color: var(--fk-ink); font-weight: 600; }

.fk-pillar { border-top: 1px solid var(--fk-line-2); padding-top: 24px; }
.fk-pillar__n { font-family: var(--fk-serif); font-size: 40px; color: var(--fk-accent); margin-bottom: 12px; }
.fk-pillar h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.fk-pillar p:last-child { font-size: 15px; line-height: 1.65; color: var(--fk-ink-3); }

.fk-facts { margin: 36px 0 20px; gap: 20px; }
.fk-facts > div { border-top: 1px solid var(--fk-line-2); padding-top: 16px; font-size: 14px; line-height: 1.5; color: var(--fk-ink-3); }
.fk-facts__big { font-family: var(--fk-serif); font-size: 34px; color: var(--fk-accent); margin-bottom: 6px; }

/* Zones sombres (rouge velours) */
.fk-dark { background: var(--fk-velvet); color: var(--fk-on-dark); padding: 96px 0; }
.fk-dark .fk-eyebrow { color: var(--fk-gold); }
.fk-dark .fk-lead, .fk-dark .fk-text { color: var(--fk-on-dark-2); }
.fk-big-number { font-family: var(--fk-serif); font-size: clamp(72px, 10vw, 140px); line-height: .9; color: var(--fk-gold); }
.fk-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fk-chips li { border: 1px solid #7a5560; border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.fk-points { list-style: none; padding: 0; display: grid; gap: 12px; }
.fk-points li { border: 1px solid #5e3a42; border-radius: 14px; padding: 16px 18px; font-size: 16px; }

/* Bandeau d'appel */
.fk-band-wrap { padding-bottom: 96px; }
.fk-band { background: var(--fk-accent); color: var(--fk-white); border-radius: 24px; padding: 56px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.fk-band > div { flex: 1 1 420px; }
.fk-band h2 { font-family: var(--fk-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.fk-band p { margin-top: 12px; font-size: 17px; color: #f4e4e6; }

/* À propos */
.fk-bio-item { border-top: 1px solid var(--fk-line-2); padding: 28px 0 36px; }
.fk-bio-item h3 { font-family: var(--fk-serif); font-weight: 500; font-size: 26px; margin-bottom: 12px; }
.fk-bio-item p { font-size: 16px; line-height: 1.7; color: var(--fk-ink-2); }

/* Contact */
.fk-person { display: flex; gap: 16px; align-items: center; padding: 20px 0; margin-top: 36px; border-top: 1px solid var(--fk-line-2); font-size: 14px; color: var(--fk-muted); }
.fk-person img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: center 25%; }
.fk-person__name { font-size: 17px; font-weight: 600; color: var(--fk-ink); }
.fk-info { border-top: 1px solid var(--fk-line-2); padding-top: 20px; font-size: 17px; line-height: 1.55; }
.fk-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fk-muted); margin-bottom: 6px; }
.fk-card { background: var(--fk-white); border: 1px solid var(--fk-line); border-radius: 20px; padding: 36px; }
.fk-card__title { font-family: var(--fk-serif); font-size: 36px; color: var(--fk-accent); margin-bottom: 12px; }
.fk-card p + .fk-btn { margin-top: 28px; }
.fk-form { display: grid; gap: 20px; }
.fk-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--fk-ink-2); }
.fk-form input[type="text"], .fk-form input[type="email"], .fk-form input[type="tel"], .fk-form select, .fk-form textarea {
	width: 100%; background: #fbf8f3; border: 1px solid var(--fk-line-2); border-radius: 10px; color: var(--fk-ink); padding: 14px; font: inherit; font-size: 16px;
}
.fk-form textarea { resize: vertical; }
.fk-form input:focus, .fk-form select:focus, .fk-form textarea:focus { border-color: var(--fk-accent); outline: 2px solid rgba(140, 42, 58, .2); }
.fk-form .fk-check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; line-height: 1.5; color: var(--fk-ink-3); }
.fk-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fk-accent); flex-shrink: 0; }
.fk-alert { background: #f7e3e6; color: var(--fk-accent-dark); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.fk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Événements */
.fk-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.fk-filters a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--fk-line-3); color: var(--fk-ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.fk-filters a.is-active { background: var(--fk-accent); border-color: var(--fk-accent); color: var(--fk-white); }
.fk-empty { padding: 40px 0; border-top: 1px solid var(--fk-line-2); color: var(--fk-muted); font-size: 17px; }
.fk-events { list-style: none; padding: 0; }
.fk-event { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding: 30px 0; border-top: 1px solid var(--fk-line-2); }
.fk-event__date { flex: 0 0 120px; display: flex; flex-direction: column; }
.fk-event__day { font-family: var(--fk-serif); font-size: 40px; line-height: 1; color: var(--fk-accent); }
.fk-event__month { margin-top: 6px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--fk-muted); }
.fk-event__body { flex: 999 1 360px; min-width: 0; }
.fk-event__meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fk-muted); margin-bottom: 8px; }
.fk-event h3 { font-family: var(--fk-serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.fk-event__body p:last-child { color: var(--fk-ink-2); max-width: 620px; }

/* Galerie */
.fk-gfilter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.fk-gfilter button { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--fk-line-3); background: transparent; color: var(--fk-ink); cursor: pointer; }
.fk-gfilter button[aria-pressed="true"] { background: var(--fk-accent); border-color: var(--fk-accent); color: var(--fk-white); }
.fk-gsec:not([hidden]) ~ .fk-gsec:not([hidden]) { margin-top: 88px; padding-top: 64px; border-top: 1px solid var(--fk-line-2); }
.fk-gsec[hidden] { display: none; }
.fk-gsec h2 { font-family: var(--fk-serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); margin-bottom: 28px; }
.fk-photo { display: block; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.fk-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 28%; display: block; transition: transform .4s ease; }
.fk-photo:hover img { transform: scale(1.03); }
.fk-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 10, 12, .92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.fk-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; }
.fk-lightbox button { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--fk-white); color: var(--fk-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Mentions légales */
.fk-legal > div { border-top: 1px solid var(--fk-line-2); padding: 28px 0; }
.fk-legal h2, .fk-content h2 { font-family: var(--fk-serif); font-weight: 500; font-size: 28px; margin-bottom: 14px; }
.fk-legal p { font-size: 16px; line-height: 1.75; color: var(--fk-ink-2); }
.fk-content { font-size: 16px; line-height: 1.75; color: var(--fk-ink-2); }
.fk-content > * + * { margin-top: 16px; }
.fk-content h2, .fk-content h3 { color: var(--fk-ink); margin-top: 36px; }
.fk-dpo { display: block; height: 36px; width: auto; margin-top: 32px; }

/* Pied de page */
.fk-footer { background: var(--fk-velvet); color: var(--fk-on-dark); }
.fk-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.fk-footer__brand { flex: 1 1 280px; }
.fk-footer__brand img { height: 88px; width: auto; display: block; }
.fk-footer__brand p { margin-top: 18px; color: var(--fk-on-dark-3); font-size: 14px; line-height: 1.6; }
.fk-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 48px; font-size: 15px; align-content: start; }
.fk-footer__nav a { color: var(--fk-on-dark); text-decoration: none; padding: 8px 0; }
.fk-footer__nav a:hover { color: var(--fk-gold); }
.fk-footer__copy { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--fk-velvet-line); color: var(--fk-on-dark-3); font-size: 13px; }

@media (max-width: 640px) {
	.fk-section, .fk-dark { padding: 64px 0; }
	.fk-hero > .fk-wrap { padding-top: 48px; padding-bottom: 56px; }
	.fk-card { padding: 24px; }
	.fk-band { padding: 40px 24px; }
	.fk-logo img { height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	.fk-photo img { transition: none; }
}
