/* ==========================================================================
   Habillage « Démons » : noir et or, bannières plein écran, carrousels
   ========================================================================== */

@font-face { font-family: "MBB Chakra"; src: url("../../fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "MBB Chakra"; src: url("../../fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "MBB Text"; src: url("../../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MBB Text"; src: url("../../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root:root {
	--mbb-ink: #111112;
	--mbb-ink-2: #1c1c1e;
	--mbb-gold: #c9a227;
	--mbb-cream: #f2e6b8;
	--mbb-red: #c8261c;
	--mbb-grey: #efefef;
	--mbb-muted: #8a8a8a;
	--mbb-display: "MBB Chakra", "Arial Narrow", sans-serif;
	--mbb-text: "MBB Text", system-ui, sans-serif;

	--mbb-logo-font: var(--mbb-display);
	--mbb-logo-size: 24px;
	--mbb-logo-weight: 700;
	--mbb-logo-spacing: .04em;
	--mbb-logo-color: var(--mbb-ink);

	--theme-palette-color-1: var(--mbb-ink);
	--theme-palette-color-2: var(--mbb-red);
	--theme-palette-color-3: #2e2e30;
	--theme-palette-color-4: var(--mbb-ink);
	--theme-palette-color-5: #e2e2e2;
	--theme-palette-color-6: var(--mbb-grey);
	--theme-palette-color-7: #f7f7f7;
	--theme-palette-color-8: #ffffff;
	--theme-font-family: var(--mbb-text);
	--theme-text-color: #2e2e30;
	--theme-headings-color: var(--mbb-ink);
	--theme-link-initial-color: var(--mbb-ink);
	--theme-link-hover-color: var(--mbb-red);
	--theme-button-background-initial-color: var(--mbb-ink);
	--theme-button-background-hover-color: var(--mbb-red);
	--theme-button-text-initial-color: #fff;
	--theme-button-text-hover-color: #fff;
	--theme-button-border-radius: 0;
}

body.mbb { background: #fff; color: #2e2e30; font-family: var(--mbb-text); }
body.mbb h1, body.mbb h2, body.mbb h3, body.mbb .product_title, body.mbb .page-title {
	font-family: var(--mbb-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}
body.mbb :focus-visible { outline: 2px solid var(--mbb-gold); outline-offset: 2px; }

/* En-tête blanc, menu technique */
body.mbb #header [data-row*="middle"] { background: #fff !important; border-bottom: 1px solid #e6e6e6; box-shadow: none !important; }
body.mbb #header .ct-menu-link { font-family: var(--mbb-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbb-ink); }
body.mbb #header .menu > li.current-menu-item > .ct-menu-link,
body.mbb #header .ct-menu-link:hover { color: var(--mbb-red); }

.mbb-kicker { margin: 0 0 12px; font-family: var(--mbb-display); font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mbb-gold); }
.mbb-title { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.1 !important; letter-spacing: .12em !important; }
.mbb-title a { color: inherit; text-decoration: none; }
.mbb-title a:hover { color: var(--mbb-red); }
.mbb-center.mbb-title, .mbb-center .mbb-title { position: relative; padding-bottom: 16px; }
.mbb-center.mbb-title::after, .mbb-center .mbb-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 3px; margin-left: -20px; background: var(--mbb-red); }
.mbb-prose p, .mbb-split p { line-height: 1.75; }
.mbb-signature { margin-top: 18px; font-family: var(--mbb-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mbb-red); }
.mbb-link { font-family: var(--mbb-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mbb-ink); }

.mbb-btn {
	min-height: 46px;
	padding: 0 26px;
	border: 2px solid currentColor;
	background: transparent;
	color: var(--mbb-ink) !important;
	font-family: var(--mbb-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	transition: background .2s, color .2s;
}
.mbb-btn:hover { background: var(--mbb-ink); color: #fff !important; }
.mbb-dm-hero .mbb-btn, .mbb-dm-feature .mbb-btn, .mbb-section--ink .mbb-btn, .mbb-pagehead .mbb-btn { color: #fff !important; }
.mbb-dm-hero .mbb-btn:hover, .mbb-dm-feature .mbb-btn:hover { background: var(--mbb-gold); border-color: var(--mbb-gold); color: var(--mbb-ink) !important; }

/* Bannière : images plein cadre, voile sombre côté titre */
.mbb-dm-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(82vh, 780px);
	overflow: hidden;
	background:
		radial-gradient(rgba(201, 162, 39, .25) 1px, transparent 1.5px) 0 0 / 7px 7px,
		var(--mbb-ink);
	color: #fff;
}
.mbb-dm-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mbb-dm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to left, rgba(10, 10, 11, .78), rgba(10, 10, 11, .15) 60%, rgba(10, 10, 11, 0)),
		linear-gradient(to top, rgba(10, 10, 11, .6), rgba(10, 10, 11, 0) 45%);
}
.mbb-dm-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 3px; background: var(--mbb-red); }
.mbb-dm-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); text-align: right; }
.mbb-dm-hero .mbb-dots { justify-content: flex-end; color: var(--mbb-gold); }
.mbb-dm-hero .mbb-kicker, .mbb-dm-hero__title { text-shadow: 0 2px 14px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .6); }
.mbb-dm-hero__title {
	max-width: 8.5ch;
	margin: 0 0 24px auto;
	font-size: clamp(44px, 7vw, 96px) !important;
	line-height: .95 !important;
	color: var(--mbb-cream) !important;
	letter-spacing: .02em !important;
}

/* Vignettes produits : fond gris clair, texte centré en capitales */
.mbb-pcard { text-align: center; }
.mbb-pcard__img { background: var(--mbb-grey); }
.mbb-pcard__img img { object-fit: contain; padding: 6%; box-sizing: border-box; }
.mbb-pcard__name { margin-top: 10px; font-family: var(--mbb-display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mbb-ink); }
.mbb-pcard__price { font-size: 13px; color: var(--mbb-muted); }
.mbb-pcard__price ins { color: var(--mbb-red); }
.mbb-pcard__badge { left: auto; right: 10px; padding: 3px 8px; background: var(--mbb-ink); color: #fff; font-family: var(--mbb-display); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mbb-pcard__badge--out { background: var(--mbb-red); }

.mbb-rail__btn { border: 1px solid #d9d9d9; background: #fff; color: var(--mbb-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.mbb-rail__btn:hover { background: var(--mbb-ink); color: #fff; }
.mbb-dm-cat + .mbb-dm-cat .mbb-wrap { border-top: 1px solid #e6e6e6; padding-top: clamp(40px, 6vw, 72px); }
.mbb-dm-cat + .mbb-dm-cat { padding-top: 0; }

/* Pièce à la une */
.mbb-dm-feature {
	padding: clamp(56px, 8vw, 104px) 0;
	background:
		radial-gradient(ellipse at 25% 50%, rgba(201, 162, 39, .18), transparent 60%),
		radial-gradient(rgba(201, 162, 39, .18) 1px, transparent 1.5px) 0 0 / 7px 7px,
		var(--mbb-ink);
	color: #cfcfcf;
	border-block: 3px solid var(--mbb-red);
}
.mbb-dm-feature__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.mbb-dm-feature__img { display: block; background: #1b1b1d; outline: 1px solid rgba(201, 162, 39, .5); outline-offset: 10px; }
.mbb-dm-feature__img img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; transition: transform .5s ease; }
.mbb-dm-feature__img { overflow: hidden; }
.mbb-dm-feature__img:hover img { transform: scale(1.04); }
.mbb-dm-feature__title { margin: 0 0 18px; font-size: clamp(36px, 5vw, 64px) !important; line-height: 1 !important; color: var(--mbb-cream) !important; }
.mbb-dm-feature__desc p { margin: 0 0 6px; line-height: 1.6; }
.mbb-dm-feature__price { margin: 18px 0 0; font-family: var(--mbb-display); font-size: 26px; font-weight: 700; color: #fff; }
.mbb-dm-feature__price del { color: var(--mbb-muted); font-size: 18px; margin-right: 8px; }
.mbb-dm-feature__price ins { color: var(--mbb-gold); text-decoration: none; }
.mbb-btn--gold { background: var(--mbb-gold); border-color: var(--mbb-gold); color: var(--mbb-ink) !important; }
.mbb-dm-feature .mbb-btn--gold { color: var(--mbb-ink) !important; }
.mbb-dm-feature .mbb-btn--gold:hover { background: #fff; border-color: #fff; }

/* Sections noires (prestations, en-têtes de pages) */
.mbb-section--ink { background: var(--mbb-ink); color: #cfcfcf; }
.mbb-section--ink .mbb-title { color: #fff; }
.mbb-card { position: relative; padding: 30px 26px; border: 1px solid #333; background: var(--mbb-ink-2); color: #cfcfcf !important; transition: border-color .2s; }
a.mbb-card:hover { border-color: var(--mbb-gold); }
.mbb-card h3 { margin: 6px 0 14px; font-size: 30px !important; color: #fff !important; }
.mbb-card p { line-height: 1.6; }
.mbb-card__num { font-size: 28px; color: var(--mbb-gold); }
.mbb-card__more { font-family: var(--mbb-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mbb-gold); }
.mbb-card--big { min-height: 300px; background: var(--mbb-ink); }
.mbb-card--big h3 { font-size: clamp(54px, 8vw, 104px) !important; color: var(--mbb-cream) !important; }
.mbb-card--red { border-top: 4px solid var(--mbb-red); }
.mbb-card--yellow { border-top: 4px solid var(--mbb-gold); }

.mbb-pagehead {
	padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 60px);
	background: radial-gradient(rgba(201, 162, 39, .22) 1px, transparent 1.5px) 0 0 / 7px 7px, var(--mbb-ink);
	color: #fff;
	border-top: 3px solid var(--mbb-red);
}
.mbb-hero__title { margin: 0; font-size: clamp(48px, 8vw, 104px) !important; line-height: .95 !important; color: var(--mbb-cream) !important; }
.mbb-service--alt { background: #f6f6f6; }
.mbb-stamp { display: grid; place-content: center; gap: 4px; width: min(300px, 100%); aspect-ratio: 1; margin-inline: auto; background: var(--mbb-ink); color: var(--mbb-cream); text-align: center; text-transform: uppercase; font-family: var(--mbb-display); outline: 1px solid var(--mbb-gold); outline-offset: -12px; }
.mbb-stamp span { font-size: 13px; letter-spacing: .2em; color: var(--mbb-gold); }
.mbb-stamp strong { font-size: 40px; }
.mbb-marquee { padding: 14px 0; background: var(--mbb-ink); color: var(--mbb-cream); font-family: var(--mbb-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mbb-marquee .mbb-star { color: var(--mbb-red); }
.mbb-photo img { filter: grayscale(.2); }

/* Contact */
.mbb-form { padding: clamp(22px, 4vw, 40px); border: 1px solid #e2e2e2; }
.mbb-infos { padding: clamp(22px, 4vw, 40px); background: var(--mbb-ink); color: #cfcfcf; }
.mbb-infos .mbb-title { color: #fff; }
.mbb-infos li { padding: 12px 0; border-bottom: 1px solid #2c2c2e; }
.mbb-infos li span { font-family: var(--mbb-display); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mbb-gold); }
.mbb-infos a { color: #fff; }
.mbb-note { padding: 14px 18px; margin: 0 0 22px; background: #f6f6f6; border-left: 3px solid var(--mbb-red); }
.mbb-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .mbb-form textarea, .mbb-form select { border: 1px solid #cfcfcf !important; border-radius: 0 !important; }
.mbb-form button[type="submit"], .mbb-form .wpforms-submit {
	min-height: 46px !important; padding: 0 28px !important; border-radius: 0 !important;
	background: var(--mbb-ink) !important; border: 0 !important; color: #fff !important;
	font-family: var(--mbb-display) !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase;
}

/* Pied de page */
.mbb-footer { background: var(--mbb-ink); color: #9a9a9a; padding-top: 64px; font-size: 14px; border-top: 3px solid var(--mbb-red); }
.mbb-footer__brand { margin: 0; font-family: var(--mbb-display); font-size: 28px; font-weight: 700; text-transform: uppercase; color: var(--mbb-cream); }
.mbb-footer__tag { margin: 8px 0 0; color: var(--mbb-gold); }
.mbb-footer__h { margin: 0 0 14px; font-family: var(--mbb-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.mbb-footer a { color: #9a9a9a; }
.mbb-footer a:hover { color: var(--mbb-gold); }
.mbb-footer__bottom { border-top: 1px solid #2a2a2c; }

/* Boutique WooCommerce */
body.mbb ul.products li.product, body.mbb [data-products] .product { text-align: center; }
body.mbb ul.products li.product img, body.mbb [data-products] .product figure img { background: var(--mbb-grey); }
body.mbb .woocommerce-loop-product__title { font-size: 14px !important; letter-spacing: .08em !important; }
body.mbb .price { color: var(--mbb-muted) !important; }
body.mbb .price ins { color: var(--mbb-red) !important; text-decoration: none; }
body.mbb .onsale, body.mbb .mbb-onsale {
	padding: 4px 8px !important; min-width: 0 !important; min-height: 0 !important; border-radius: 0 !important;
	background: var(--mbb-ink) !important; color: #fff !important; font-family: var(--mbb-display); font-size: 12px !important; line-height: 1 !important;
}
body.mbb .button, body.mbb button.button, body.mbb .add_to_cart_button, body.mbb .single_add_to_cart_button, body.mbb .checkout-button, body.mbb #place_order {
	border-radius: 0 !important; font-family: var(--mbb-display) !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase;
}

@media (max-width: 999px) {
	.mbb-dm-hero { min-height: min(88vh, 720px); }
	.mbb-dm-hero::before { background: linear-gradient(to top, rgba(10, 10, 11, .85), rgba(10, 10, 11, .2) 60%, rgba(10, 10, 11, 0)); }
	.mbb-dm-hero .mbb-dots { justify-content: center; }
	.mbb-dm-hero__inner { text-align: center; }
	.mbb-dm-hero__title { max-width: none; margin-inline: auto; }
	.mbb-dm-feature__grid { grid-template-columns: 1fr; }
	.mbb-dm-feature__img { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* Cartes Prestations de l'accueil : contenu centré */
.mbb-section--ink .mbb-cards .mbb-card { align-items: center; text-align: center; }

/* Menu déroulant (sous « Boutique ») : fond noir, texte clair */
body.mbb #header .sub-menu { background: var(--mbb-ink) !important; border-top: 2px solid var(--mbb-red); }
body.mbb #header .sub-menu .ct-menu-link { color: #ececec !important; font-size: 13px; }
body.mbb #header .sub-menu .ct-menu-link:hover,
body.mbb #header .sub-menu .current-menu-item > .ct-menu-link { color: var(--mbb-gold) !important; }
