/*
Theme Name: Blocksy Child - Bijouxmoderns
Template: blocksy
Description: Child theme for bijouxmoderns.com - brand palette, typography and homepage sections on top of Blocksy.
Version: 1.0.0
*/

:root {
	--bm-sand: #ede3d3;
	--bm-champagne: #f3ead9;
	--bm-bottle: #17342a;
	--bm-black: #16130f;
	--bm-gold: #b08d57;
	--bm-silver: #a9a9a9;
	--bm-text: #2a241d;
	--bm-cream-text: #f7f1e6;
}

body {
	color: var(--bm-text);
}

/* Hero */
.bm-hero {
	background: linear-gradient(135deg, var(--bm-sand) 0%, var(--bm-champagne) 100%);
	padding: 72px 32px;
	border-radius: 0;
}

.bm-hero__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}

.bm-hero__text {
	flex: 1 1 420px;
}

.bm-hero__tagline {
	font-size: clamp(28px, 4vw, 46px);
	line-height: 1.15;
	font-weight: 700;
	color: var(--bm-bottle);
	margin: 0 0 20px 0;
}

.bm-hero__sub {
	font-size: 18px;
	line-height: 1.6;
	color: var(--bm-text);
	margin: 0 0 28px 0;
	max-width: 480px;
}

.bm-hero__cta {
	display: inline-block;
	background: var(--bm-bottle);
	color: var(--bm-cream-text) !important;
	padding: 16px 34px;
	border-radius: 2px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 14px;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.bm-hero__cta:hover {
	background: var(--bm-black);
}

.bm-hero__visual {
	flex: 1 1 420px;
}

.bm-hero__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.bm-hero__grid img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 2px;
	background: #fff;
}

/* Category cards */
.bm-categories {
	max-width: 1180px;
	margin: 64px auto;
	padding: 0 32px;
}

.bm-categories h2,
.bm-trust h2 {
	text-align: center;
	font-size: 30px;
	color: var(--bm-bottle);
	margin-bottom: 40px;
}

.bm-cat-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.bm-cat-card {
	text-decoration: none !important;
	text-align: center;
	display: block;
}

.bm-cat-card__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 2px;
	background: var(--bm-sand);
	margin-bottom: 12px;
}

.bm-cat-card__label {
	font-size: 15px;
	font-weight: 600;
	color: var(--bm-text);
	letter-spacing: 0.02em;
}

@media (max-width: 782px) {
	.bm-cat-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.bm-hero {
		padding: 48px 20px;
	}
}

/* Trust section */
.bm-trust {
	background: var(--bm-bottle);
	padding: 64px 32px;
}

.bm-trust h2 {
	color: var(--bm-cream-text);
}

.bm-trust-grid {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}

.bm-trust-item {
	color: var(--bm-cream-text);
	text-align: center;
}

.bm-trust-item__icon {
	font-size: 30px;
	margin-bottom: 12px;
}

.bm-trust-item h3 {
	font-size: 17px;
	margin: 0 0 8px 0;
	color: var(--bm-gold);
}

.bm-trust-item p {
	font-size: 14px;
	line-height: 1.55;
	color: var(--bm-cream-text);
	opacity: 0.9;
	margin: 0;
}

/* Footer legal links */
.bm-footer-legal {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	font-size: 13px;
}

.bm-footer-legal a {
	color: var(--bm-text);
	text-decoration: none;
	opacity: 0.75;
}

.bm-footer-legal a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* Accueil : pas de titre de page au-dessus du hero ; crédit thème Blocksy vide masqué */
.home .hero-section, .home .page-title, .home .entry-header { display: none; }
.ct-footer-copyright { display: none; }
.bm-footer-legal::after { content: '© 2026 Bijouxmoderns'; display: block; margin-top: 12px; width: 100%; text-align: center; opacity: .7; }
