/**
 * BoujaHost — styles globaux.
 *
 * Organisation :
 *  1. Variables (tokens)
 *  2. Reset / base
 *  3. Accessibilité
 *  4. Layout (wrap, sections)
 *  5. Composants (boutons, header, nav, footer, breadcrumbs)
 *  6. Responsive
 *  7. Dark mode (prêt)
 *
 * Aucune dépendance externe. Flexbox + Grid.
 */

/* ------------------------------------------------------------------ *
 * 1. Variables
 * ------------------------------------------------------------------ */
:root {
	/* Couleurs (réinjectées depuis les options via wp_add_inline_style). */
	--bh-primary: #2563EB;
	--bh-primary-dark: #1D4ED8;
	--bh-secondary: #38BDF8;
	--bh-success: #22C55E;

	--bh-base: #F8FAFC;
	--bh-surface: #FFFFFF;
	--bh-dark: #0F172A;
	--bh-text: #1E293B;
	--bh-muted: #64748B;
	--bh-border: #E2E8F0;

	/* Teintes dérivées (évite les valeurs dupliquées dans le fichier). */
	--bh-primary-tint: #EFF6FF;
	--bh-primary-tint-2: #EEF2FF;

	/* Largeurs de contenu. */
	--bh-wrap-narrow: 800px;

	/* Typographie : stack demandé (Inter self-hosted + fallback système). */
	--bh-font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* Rayons. */
	--bh-radius-sm: 8px;
	--bh-radius-md: 12px;
	--bh-radius-lg: 20px;
	--bh-radius-pill: 999px;

	/* Ombres. */
	--bh-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
	--bh-shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
	--bh-shadow-lg: 0 20px 48px rgba(15, 23, 42, .12);

	/* Divers. */
	--bh-transition: 200ms ease;
	--bh-wrap: 1200px;
	--bh-header-h: 72px;
}

/* ------------------------------------------------------------------ *
 * 2. Reset / base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	font-family: var(--bh-font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--bh-text);
	background: var(--bh-base);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.2;
	color: var(--bh-dark);
	font-weight: 700;
	letter-spacing: -.02em;
}

p { margin: 0 0 1rem; }

a { color: var(--bh-primary); text-decoration: none; transition: color var(--bh-transition); }
a:hover { color: var(--bh-primary-dark); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible { outline: 3px solid var(--bh-secondary); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------------ *
 * 3. Accessibilité
 * ------------------------------------------------------------------ */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: fixed;
	top: -100px; left: 8px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	background: var(--bh-primary);
	color: #fff;
	border-radius: var(--bh-radius-sm);
	transition: top var(--bh-transition);
}
.skip-link:focus { top: 8px; color: #fff; }

/* ------------------------------------------------------------------ *
 * 4. Layout
 * ------------------------------------------------------------------ */
.wrap {
	width: 100%;
	max-width: var(--bh-wrap);
	margin-inline: auto;
	padding-inline: clamp(1rem, 5vw, 2rem);
}

.site-main { display: block; }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 4rem); }
.section--dark { background: var(--bh-dark); color: #E2E8F0; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section__eyebrow {
	display: inline-block;
	font-size: .8125rem; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	color: var(--bh-primary);
	margin-bottom: .75rem;
}
.section__lead { color: var(--bh-muted); font-size: 1.125rem; }

/* ------------------------------------------------------------------ *
 * 5. Composants
 * ------------------------------------------------------------------ */

/* Boutons */
.btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .75rem 1.5rem;
	font-weight: 600; font-size: 1rem; line-height: 1;
	border-radius: var(--bh-radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	transition: background var(--bh-transition), color var(--bh-transition), transform var(--bh-transition), box-shadow var(--bh-transition);
	text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn--primary { background: var(--bh-primary); color: #fff; box-shadow: var(--bh-shadow-sm); }
.btn--primary:hover { background: var(--bh-primary-dark); color: #fff; box-shadow: var(--bh-shadow-md); }

.btn--ghost { background: transparent; color: var(--bh-primary); border-color: var(--bh-border); }
.btn--ghost:hover { background: var(--bh-surface); border-color: var(--bh-primary); }

.btn--light { background: #fff; color: var(--bh-dark); }
.btn--light:hover { background: var(--bh-primary-tint-2); color: var(--bh-dark); }

.btn--lg { padding: .95rem 1.9rem; font-size: 1.0625rem; }

/* Header */
.site-header {
	position: relative; z-index: 100;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--bh-border);
	transition: box-shadow var(--bh-transition);
}
/* Sticky uniquement si activé dans les options (classe .is-sticky). */
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.is-scrolled { box-shadow: var(--bh-shadow-md); }

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--bh-header-h);
}

.site-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.25rem; color: var(--bh-dark); }
.site-logo__img { max-height: 180px; width: auto; }
.site-logo__text { letter-spacing: -.03em; }
.site-logo:hover { color: var(--bh-primary); }

/* Nav */
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { display: flex; align-items: center; gap: .35rem; }
.site-nav__list a {
	display: inline-block; padding: .5rem .85rem;
	color: var(--bh-text); font-weight: 500;
	border-radius: var(--bh-radius-sm);
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a { color: var(--bh-primary); background: var(--bh-primary-tint); }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }

/* Bouton hamburger */
.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	flex-direction: column; align-items: center; justify-content: center;
	gap: 5px; padding: 0;
	background: transparent; border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-sm); cursor: pointer;
}
.nav-toggle__bar {
	display: block; width: 22px; height: 2px;
	background: var(--bh-dark); border-radius: 2px;
	transition: transform var(--bh-transition), opacity var(--bh-transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumbs */
.breadcrumbs { padding-block: 1rem; font-size: .875rem; color: var(--bh-muted); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin-right: .35rem; color: var(--bh-border); }
.breadcrumbs__item [aria-current="page"] { color: var(--bh-text); font-weight: 500; }

/* Footer */
.site-footer { background: var(--bh-dark); color: #94A3B8; margin-top: auto; }
.site-footer__grid {
	display: grid; gap: 2.5rem;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__title { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.site-footer .site-logo, .site-footer .site-logo__text { color: #fff; }
.site-footer__about { margin-top: 1rem; max-width: 32ch; font-size: .9375rem; line-height: 1.6; }
.site-footer__menu li, .site-footer__contact-list li { margin-bottom: .6rem; }
.site-footer a { color: #94A3B8; }
.site-footer a:hover { color: #fff; }
.site-footer__address { font-style: normal; line-height: 1.5; }

.social-links { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social-links__link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: rgba(255, 255, 255, .06);
	border-radius: var(--bh-radius-sm);
	transition: background var(--bh-transition);
}
.social-links__link svg { width: 20px; height: 20px; }
.social-links__link:hover { background: var(--bh-primary); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom-inner {
	display: flex; flex-wrap: wrap; gap: 1rem;
	align-items: center; justify-content: space-between;
	padding-block: 1.5rem; font-size: .875rem;
}
.site-footer__copyright { margin: 0; }
.site-footer__legal-menu { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ------------------------------------------------------------------ *
 * 6. Responsive — menu mobile
 * ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-header__cta span { display: none; }
	.site-header__cta { padding: .65rem; }

	.site-nav {
		position: fixed;
		inset: var(--bh-header-h) 0 0 auto;
		width: min(320px, 85vw);
		background: var(--bh-surface);
		border-left: 1px solid var(--bh-border);
		box-shadow: var(--bh-shadow-lg);
		padding: 1.5rem;
		flex-direction: column; justify-content: flex-start;
		transform: translateX(100%);
		transition: transform var(--bh-transition);
		overflow-y: auto;
		visibility: hidden;
	}
	.site-nav.is-open { transform: translateX(0); visibility: visible; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: .25rem; width: 100%; }
	.site-nav__list a { padding: .85rem 1rem; font-size: 1.05rem; }

	body.nav-open { overflow: hidden; }
	.nav-backdrop {
		position: fixed; inset: 0; z-index: 90;
		background: rgba(15, 23, 42, .5);
		opacity: 0; visibility: hidden;
		transition: opacity var(--bh-transition);
	}
	.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ *
 * 6b. Page d'accueil
 * ------------------------------------------------------------------ */

/* Fond légèrement teinté pour alterner les sections. */
.section--tinted { background: linear-gradient(180deg, #fff 0%, var(--bh-base) 100%); }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__inner {
	display: grid; align-items: center;
	grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem);
}
.hero__eyebrow {
	font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
	color: var(--bh-primary); margin-bottom: 1rem;
}
.hero__title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.1; margin-bottom: 1.25rem;
}
.hero__desc { font-size: 1.125rem; color: var(--bh-muted); max-width: 52ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__illustration { width: 100%; height: auto; }

/* Avantages */
.features__grid {
	display: grid; gap: 1.25rem;
	grid-template-columns: repeat(4, 1fr);
}
.feature-card {
	background: var(--bh-surface);
	border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-lg);
	padding: 1.75rem;
	transition: transform var(--bh-transition), box-shadow var(--bh-transition), border-color var(--bh-transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow-md); border-color: transparent; }
.feature-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; margin-bottom: 1rem;
	color: var(--bh-primary);
	background: var(--bh-primary-tint); border-radius: var(--bh-radius-md);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card__title { font-size: 1.0625rem; margin-bottom: .35rem; }
.feature-card__text { font-size: .9375rem; color: var(--bh-muted); margin: 0; }

/* Offres */
.pricing__grid {
	display: grid; gap: 1.5rem;
	/* auto-fit : s'adapte proprement à 1, 2, 3 ou 4 offres actives. */
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: start;
}
.plan-card {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--bh-surface);
	border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-lg);
	padding: 2rem 1.5rem;
	transition: transform var(--bh-transition), box-shadow var(--bh-transition);
}
.plan-card--featured {
	border-color: var(--bh-primary);
	box-shadow: var(--bh-shadow-lg);
	transform: translateY(-8px);
}
.plan-card__badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--bh-primary); color: #fff;
	font-size: .75rem; font-weight: 600; letter-spacing: .04em;
	padding: .3rem .9rem; border-radius: var(--bh-radius-pill);
	white-space: nowrap;
}
.plan-card__name { font-size: 1.25rem; margin-bottom: .35rem; }
.plan-card__desc { font-size: .9rem; color: var(--bh-muted); margin-bottom: 1rem; }
.plan-card__price { display: flex; align-items: baseline; gap: .25rem; margin: .5rem 0 1.25rem; flex-wrap: wrap; }
.plan-card__amount { font-size: 2.5rem; font-weight: 800; color: var(--bh-dark); line-height: 1; letter-spacing: -.03em; }
.plan-card__currency { font-size: 1.1rem; font-weight: 700; color: var(--bh-dark); }
.plan-card__period { font-size: .9rem; color: var(--bh-muted); }
.plan-card__btn { justify-content: center; width: 100%; margin-bottom: 1.5rem; }
.plan-card__features { display: grid; gap: .7rem; font-size: .9375rem; }
.plan-card__features li { display: flex; align-items: flex-start; gap: .6rem; }
.plan-card__check { color: var(--bh-success); flex-shrink: 0; margin-top: .15rem; }
.plan-card__check svg { width: 16px; height: 16px; }
.pricing__empty { text-align: center; color: var(--bh-muted); }

/* Animations (activables via l'option Performance) */
@media (prefers-reduced-motion: no-preference) {
	.has-animations .feature-card,
	.has-animations .plan-card {
		animation: bh-fade-up .5s both;
	}
}
@keyframes bh-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Responsive accueil */
@media (max-width: 980px) {
	.features__grid { grid-template-columns: repeat(2, 1fr); }
	.pricing__grid  { grid-template-columns: repeat(2, 1fr); }
	.plan-card--featured { transform: none; }
}
@media (max-width: 820px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media { order: -1; max-width: 420px; }
}
@media (max-width: 520px) {
	.features__grid { grid-template-columns: 1fr; }
	.pricing__grid  { grid-template-columns: 1fr; }
}

/* Pourquoi : 5 cartes -> grille auto pour un rendu équilibré. */
.why__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Largeur de contenu resserrée (FAQ, textes). */
.wrap--narrow { max-width: var(--bh-wrap-narrow); }

/* FAQ */
.faq__list { display: grid; gap: .75rem; }
.faq__item {
	background: var(--bh-surface);
	border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-md);
	overflow: hidden;
}
.faq__question {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.15rem 1.35rem;
	font-weight: 600; color: var(--bh-dark);
	cursor: pointer; list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon::before,
.faq__icon::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 12px; height: 2px; background: var(--bh-primary);
	transform: translate(-50%, -50%); transition: transform var(--bh-transition);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 1.35rem 1.25rem; color: var(--bh-muted); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__item:hover { border-color: var(--bh-primary); }

/* CTA */
.cta {
	--cta-bg: var(--bh-dark);
	--cta-btn: var(--bh-primary);
	background: var(--cta-bg);
	text-align: center;
}
.cta__inner { max-width: 720px; }
.cta__title { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.cta__desc { color: rgba(255, 255, 255, .8); font-size: 1.125rem; margin-bottom: 2rem; }
.cta__btn { background: var(--cta-btn); color: #fff; border: none; }
.cta__btn:hover { color: #fff; filter: brightness(1.08); box-shadow: var(--bh-shadow-md); }

/* Bouton WhatsApp flottant */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 95;
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	background: #25D366; color: #fff;
	border-radius: var(--bh-radius-pill);
	box-shadow: var(--bh-shadow-lg);
	transition: transform var(--bh-transition);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ------------------------------------------------------------------ *
 * 6c. Pages internes (page-header, blog, contact, support, 404)
 * ------------------------------------------------------------------ */

/* En-tête de page */
.page-header { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem); background: var(--bh-surface); border-bottom: 1px solid var(--bh-border); }
.page-header__title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: .25rem 0 0; }
.page-header__lead { color: var(--bh-muted); font-size: 1.0625rem; margin-top: .5rem; }
.page-header__search { margin-top: 1rem; max-width: 460px; }

/* Contenu éditorial (Gutenberg) */
.entry-content { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.entry-content > * { margin-block: 0 1.25rem; }
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.5rem; }
.entry-content img { border-radius: var(--bh-radius-md); }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }

/* Grille du blog */
.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); padding-block: 1rem 2rem; }
.post-card {
	display: flex; flex-direction: column;
	background: var(--bh-surface); border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-lg); overflow: hidden;
	transition: box-shadow var(--bh-transition), transform var(--bh-transition);
}
.post-card:hover { box-shadow: var(--bh-shadow-md); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card__title { font-size: 1.15rem; margin: 0; }
.post-card__title a { color: var(--bh-dark); }
.post-card__title a:hover { color: var(--bh-primary); }
.post-card__meta { font-size: .8125rem; color: var(--bh-muted); }
.post-card__excerpt { font-size: .9375rem; color: var(--bh-muted); margin: 0; }
.post-card__more { font-weight: 600; font-size: .9rem; margin-top: auto; }

/* Article */
.single-post__meta { display: flex; gap: 1rem; color: var(--bh-muted); font-size: .875rem; padding-top: 1.5rem; }
.single-post__thumb { margin: 1.5rem auto; }
.single-post__thumb img { width: 100%; border-radius: var(--bh-radius-lg); }
.single-post__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; }
.single-post__tags li { background: var(--bh-primary-tint); color: var(--bh-primary); border-radius: var(--bh-radius-pill); padding: .25rem .75rem; font-size: .8125rem; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--bh-border); font-weight: 500; }

/* Pagination */
.pagination { display: flex; justify-content: center; padding-block: 1.5rem; }
.pagination .nav-links { display: flex; gap: .35rem; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 .6rem;
	border: 1px solid var(--bh-border); border-radius: var(--bh-radius-sm);
	color: var(--bh-text); background: var(--bh-surface);
}
.pagination .page-numbers.current { background: var(--bh-primary); color: #fff; border-color: var(--bh-primary); }
.pagination a.page-numbers:hover { border-color: var(--bh-primary); color: var(--bh-primary); }

/* Recherche */
.search-form { display: flex; gap: .5rem; }
.search-form .search-field {
	flex: 1; padding: .7rem 1rem; border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-md); font: inherit; background: var(--bh-surface); color: var(--bh-text);
}
.search-form .search-submit {
	padding: .7rem 1.25rem; border: none; border-radius: var(--bh-radius-md);
	background: var(--bh-primary); color: #fff; font-weight: 600; cursor: pointer;
}
.no-results { padding-block: 2rem; }

/* Commentaires */
.comments { padding-block: 2.5rem; border-top: 1px solid var(--bh-border); margin-top: 2rem; }
.comments__title { font-size: 1.25rem; margin-bottom: 1.25rem; }
.comments__list { padding: 0; margin: 0 0 2rem; }
.comments__list ol { list-style: none; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: .7rem 1rem; border: 1px solid var(--bh-border);
	border-radius: var(--bh-radius-md); font: inherit; margin-top: .35rem; background: var(--bh-surface);
}
.comment-form p { margin-bottom: 1rem; }

/* 404 */
.error-404__inner { text-align: center; }
.error-404__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; color: var(--bh-primary); opacity: .18; margin: 0; }
.error-404__title { margin-top: -.5rem; }
.error-404__text { color: var(--bh-muted); font-size: 1.0625rem; }
.error-404__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.error-404__search { max-width: 460px; margin: 1.5rem auto 0; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__icon { flex-shrink: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--bh-primary); background: var(--bh-primary-tint); border-radius: var(--bh-radius-md); }
.contact__icon svg { width: 20px; height: 20px; }
.contact__address { font-style: normal; }
.contact__form-note { color: var(--bh-muted); }

/* Support */
.support__hours { color: var(--bh-muted); margin-bottom: 1.5rem; }
.support__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.support-card { background: var(--bh-surface); border: 1px solid var(--bh-border); border-radius: var(--bh-radius-lg); padding: 1.75rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.support-card__icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; color: var(--bh-primary); background: var(--bh-primary-tint); border-radius: var(--bh-radius-md); margin-bottom: .5rem; }
.support-card__icon svg { width: 26px; height: 26px; }
.support-card__title { font-size: 1.1rem; margin: 0; }
.support-card__text { font-size: .9rem; color: var(--bh-muted); margin: 0 0 1rem; }
.support-card__btn { margin-top: auto; }

/* Responsive pages internes */
@media (max-width: 900px) {
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.post-grid { grid-template-columns: 1fr; }
	.support__grid { grid-template-columns: 1fr; }
	.post-nav { flex-direction: column; }
}

/* ------------------------------------------------------------------ *
 * 7. Dark mode (prêt — activable via [data-theme="dark"])
 * ------------------------------------------------------------------ */
[data-theme="dark"] {
	--bh-base: #0F172A;
	--bh-surface: #1E293B;
	--bh-text: #E2E8F0;
	--bh-muted: #94A3B8;
	--bh-border: #334155;
	--bh-dark: #F8FAFC;
}
[data-theme="dark"] .site-header {
	background: rgba(15, 23, 42, .85);
	border-bottom-color: var(--bh-border);
}
