/* Home page sections as on the Lovable site (Alain, 2026-10-29). */
.home .entry-content > * { margin-top: 0; margin-bottom: 0; }

/* Section titles: spaced capitals between two thin lines (Lovable « SectionDivider »). */
.bcd-section-title {
	max-width: 1280px;
	margin: 0 auto !important;
	padding: 56px 24px;
	text-align: center;
}
.bcd-section-title h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin: 0;
	font-family: var(--bcd-serif);
	font-weight: 400;
	font-size: 24px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--bcd-muted);
}
.bcd-section-title h2::before,
.bcd-section-title h2::after {
	content: '';
	flex: 1;
	max-width: 180px;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--bcd-border));
}
.bcd-section-title h2::after { background: linear-gradient(to left, transparent, var(--bcd-border)); }
.bcd-section-title.is-plain h2::before,
.bcd-section-title.is-plain h2::after { display: none; }
.bcd-section-title p {
	max-width: 672px;
	margin: 16px auto 0;
	font-size: 18px;
	color: var(--bcd-muted);
}
.bcd-section-title p strong { color: var(--bcd-ink); }
#nos-univers { scroll-margin-top: 120px; }
.home .bcd-hero + .bcd-section-title { padding-top: 112px; }
@media (max-width: 767px) {
	.bcd-section-title { padding: 40px 16px; }
	.bcd-section-title h2 { gap: 16px; font-size: 18px; letter-spacing: .2em; }
	.bcd-section-title h2::before,
	.bcd-section-title h2::after { max-width: 80px; }
	.bcd-section-title p { font-size: 16px; }
}

/* Category cards: square photo, dark gradient, title and « Découvrir » over the photo. */
.bcd-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto !important;
	padding: 0 24px 80px;
}
.bcd-cat {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--bcd-radius);
	background: var(--bcd-muted-bg);
	box-shadow: var(--bcd-shadow-medium);
	transition: box-shadow .3s;
}
.bcd-cat:hover { box-shadow: 0 20px 48px -12px rgb(29 38 48 / .3); }
/* Photo and dark gradient sit behind everything else in the card (the card isolates them). */
.bcd-cat .wp-block-image { position: absolute; inset: 0; z-index: -2; margin: 0 !important; }
.bcd-cat .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s;
}
.bcd-cat:hover .wp-block-image img { transform: scale(1.1); }
.bcd-cat::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgb(0 0 0 / .7), transparent 60%);
	pointer-events: none;
}
.bcd-cat {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
}
.bcd-cat > :not(.wp-block-image), .bcd-cat > .wp-block-group__inner-container > :not(.wp-block-image) {
	position: relative;
	z-index: 1;
	margin: 0;
}
.bcd-cat h3 {
	margin-bottom: 8px;
	font-size: 24px;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0 2px 4px rgb(0 0 0 / .4);
	transition: color .3s;
}
.bcd-cat:hover h3 { color: var(--bcd-blue); }
.bcd-cat > p:not(.bcd-cat-link), .bcd-cat > .wp-block-group__inner-container > p:not(.bcd-cat-link) {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.45;
	color: rgb(255 255 255 / .8);
}
/* Static, so that the link's ::before below covers the whole card (the inner-container rule above
   would otherwise make the paragraph its positioning box, and only « Découvrir » was clickable). */
.bcd-cat .bcd-cat-link, .bcd-cat > .wp-block-group__inner-container > .bcd-cat-link { position: static; }
/* « Découvrir » as a white pill above the gradient; blue when the card is hovered. */
.bcd-cat .bcd-cat-link a {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 8px rgb(0 0 0 / .25);
	font-size: 14px;
	font-weight: 700;
	color: var(--bcd-blue);
	text-decoration: none;
	transition: background .3s, color .3s;
}
.bcd-cat:hover .bcd-cat-link a { background: var(--bcd-blue); color: #fff; }
.bcd-cat .bcd-cat-link a::after { content: ' \2192'; }
/* The whole card is the link. */
.bcd-cat .bcd-cat-link a::before { content: ''; position: absolute; z-index: 2; inset: 0; }
.bcd-cat { isolation: isolate; margin: 0 !important; }
.bcd-cat .bcd-cat-link a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 1023px) { .bcd-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .bcd-cats { grid-template-columns: 1fr; padding: 0 16px 64px; } }

/* « Sélection coup de cœur »: the « Coup de cœur » lettering faded behind the text. */
.bcd-coeur {
	position: relative;
	padding: 80px 24px !important;
	background: var(--bcd-bg) url(../images/accueil/coup-de-coeur.png) center / contain no-repeat;
}
.bcd-coeur::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgb(240 238 233 / .75);
}
.bcd-coeur > *, .bcd-coeur > .wp-block-group__inner-container > * { position: relative; max-width: 896px; margin-right: auto !important; margin-left: auto !important; }
.bcd-coeur .bcd-coeur-text {
	margin-bottom: 24px;
	font-size: 18px;
	line-height: 1.7;
	text-align: justify;
	color: var(--bcd-muted);
}
.bcd-coeur .wp-block-quote {
	max-width: 672px;
	margin: 32px auto !important;
	padding: 8px 0 8px 24px;
	border-left: 4px solid var(--bcd-blue);
	font-size: 20px;
}
.bcd-coeur .wp-block-quote p { margin: 0 0 8px; color: rgb(29 38 48 / .9); }
.bcd-coeur .wp-block-buttons { justify-content: center; gap: 16px; }
.bcd-coeur .wp-block-button__link { padding: 12px 32px; }

/* Outline buttons (« Nous rendre visite », « Voir tous les articles »). */
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link {
	background: var(--bcd-bg);
	color: var(--bcd-ink);
	border: 1px solid var(--bcd-border);
}
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--bcd-muted-bg); box-shadow: none; }
.bcd-more { display: flex; justify-content: center; margin: 48px 0 0 !important; }
.bcd-more .wp-block-button__link::after { content: ' \2192'; }

/* Latest Lifestyle articles: three cards (Alain, 21-11-2026; five on Lovable). */
.wp-block-latest-posts.bcd-lifestyle {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto !important;
	padding: 0 24px;
}
.bcd-lifestyle li {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	padding: 0 20px 20px;
	background: #fff;
	border-radius: var(--bcd-radius);
	box-shadow: 0 4px 12px -2px rgb(29 38 48 / .12);
	transition: box-shadow .3s, transform .3s;
}
.bcd-lifestyle li:hover { box-shadow: var(--bcd-shadow-medium); transform: translateY(-4px); }
.bcd-lifestyle .wp-block-latest-posts__featured-image { order: 0; margin: 0 -20px 20px; }
.bcd-lifestyle .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .5s;
}
.bcd-lifestyle li:hover .wp-block-latest-posts__featured-image img { transform: scale(1.05); }
.bcd-lifestyle .wp-block-latest-posts__post-date { order: 1; margin-bottom: 8px; font-size: 13px; color: var(--bcd-muted); }
.bcd-lifestyle .wp-block-latest-posts__post-date::before { content: 'Par Catherine  •  '; white-space: pre; }
.bcd-lifestyle .wp-block-latest-posts__post-title {
	order: 2;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 8px;
	font-family: var(--bcd-serif);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.3;
	color: var(--bcd-ink);
	text-decoration: none;
}
.bcd-lifestyle li:hover .wp-block-latest-posts__post-title { color: var(--bcd-blue); }
.bcd-lifestyle .wp-block-latest-posts__post-excerpt { order: 3; margin: 0; font-size: 14px; line-height: 1.5; color: var(--bcd-muted); }
.bcd-lifestyle .wp-block-latest-posts__post-excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.bcd-lifestyle .wp-block-latest-posts__read-more { display: block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.bcd-lifestyle .wp-block-latest-posts__read-more::after { content: ' \2192'; }
@media (max-width: 767px) { .wp-block-latest-posts.bcd-lifestyle { grid-template-columns: 1fr; padding: 0 16px; } }

/* Instagram: icon, five squares (photos and short videos), gradient button. */
.bcd-insta {
	margin-top: 32px !important;
	padding: 0 24px 48px !important;
	background: linear-gradient(to bottom, var(--bcd-bg), rgb(245 243 239 / .6));
}
.bcd-insta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 48px;
	border-radius: 50%;
	background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
	color: #fff;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / .15);
}
.bcd-insta-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	max-width: 1024px;
	margin: 0 auto 48px !important;
}
.bcd-insta-grid > figure, .bcd-insta-grid > .wp-block-group__inner-container > figure { overflow: hidden; aspect-ratio: 1; margin: 0; border-radius: 12px; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1); transition: box-shadow .3s; }
.bcd-insta-grid > figure:hover, .bcd-insta-grid > .wp-block-group__inner-container > figure:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / .15); }
.bcd-insta-grid :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bcd-insta-grid > figure:hover :is(img, video), .bcd-insta-grid > .wp-block-group__inner-container > figure:hover :is(img, video) { transform: scale(1.05); }
.bcd-insta-cta { display: flex; justify-content: center; }
.bcd-insta-cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 20px 40px;
	border-radius: 999px;
	background: linear-gradient(to right, #F58529, #DD2A7B, #8134AF);
	font-size: 18px;
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / .15);
	transition: transform .3s, opacity .3s;
}
.bcd-insta-cta .wp-block-button__link:hover { background: linear-gradient(to right, #F58529, #DD2A7B, #8134AF); opacity: .9; transform: scale(1.05); }
.bcd-insta-cta .wp-block-button__link::before {
	content: '';
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--bcd-i-instagram) center / contain no-repeat;
	mask: var(--bcd-i-instagram) center / contain no-repeat;
}
.bcd-insta .bcd-insta-tags { margin: 32px 0 0; font-size: 14px; text-align: center; color: var(--bcd-muted); }
.bcd-insta-tags strong { color: var(--bcd-ink); }
@media (max-width: 767px) {
	.bcd-insta { padding: 0 16px 40px !important; }
	/* Phones: the squares scroll sideways, as on Lovable. */
	.bcd-insta-grid {
		display: flex;
		overflow-x: auto;
		gap: 12px;
		margin: 0 -16px 32px !important;
		padding: 0 16px 16px;
		scroll-snap-type: x mandatory;
	}
	.bcd-insta-grid > figure, .bcd-insta-grid > .wp-block-group__inner-container > figure { flex: 0 0 60vw; scroll-snap-align: start; }
	.bcd-insta-cta .wp-block-button__link { padding: 16px 28px; font-size: 16px; }
}

/* Reviews: overall mark, then six cards (cards in reviews.css). */
.bcd-rating { margin: 24px 0 24px !important; font-size: 20px; text-align: center; color: var(--bcd-ink); }

/* « Dans la presse »: five vertical cards in a row, like the Instagram squares (Alain, 21-11-2026).
   Paper, date and town at the top, headline, then « Lire l'article »; the whole card is the link. */
.bcd-press {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	max-width: 1072px;
	margin: 0 auto !important;
	padding: 0 24px;
}
.bcd-press-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 256px;
	margin: 0 !important;
	padding: 20px 16px;
	border: 1px solid var(--bcd-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
	transition: box-shadow .3s, transform .3s;
}
.bcd-press-item:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / .15); transform: translateY(-4px); }
.bcd-press-item > p, .bcd-press-item > .wp-block-group__inner-container > p { margin: 0; }
.bcd-press-paper { font-family: var(--bcd-serif); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--bcd-ink); }
.bcd-press-date,
.bcd-press-place { margin-top: 4px !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--bcd-muted); }
.bcd-press-place::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 4px;
	vertical-align: -1px;
	background: currentColor;
	-webkit-mask: var(--bcd-i-pin) center / contain no-repeat;
	mask: var(--bcd-i-pin) center / contain no-repeat;
}
.bcd-press-title {
	margin: 16px 0 12px !important;
	padding-top: 16px;
	border-top: 1px solid var(--bcd-border);
	font-size: 14px;
	line-height: 1.45;
	color: var(--bcd-ink);
	transition: color .3s;
}
.bcd-press-item:hover .bcd-press-title { color: var(--bcd-blue); }
.bcd-press-link { margin-top: auto !important; }
.bcd-press-link a { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
/* Stretched link: the whole card opens the article. */
.bcd-press-link a::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.bcd-press-link a:focus-visible { outline: 2px solid var(--bcd-blue); outline-offset: 4px; }
.bcd-press-link a::after,
.bcd-press-kh a::after { content: ' \2192'; }
.home .bcd-press-note { margin-top: 48px !important; text-align: center; color: var(--bcd-muted); }
.home .bcd-press-kh { margin-top: 12px !important; text-align: center; }
.bcd-press-kh a { text-decoration: none; }
.home .bcd-press-kh + .bcd-more { margin: 40px 0 80px !important; }
/* Below 1024px the five cards scroll sideways, like the Instagram row. */
@media (max-width: 1023px) {
	.bcd-press { display: flex; overflow-x: auto; gap: 12px; padding: 8px 24px 16px; scroll-snap-type: x mandatory; }
	.bcd-press-item { flex: 0 0 210px; scroll-snap-align: start; }
}
@media (max-width: 639px) {
	.bcd-press { padding: 8px 16px 16px; }
}
