/* Habitoria — blog « Conseils » (maquette validée le 06/11/2026)
   Couleurs du site : fond #fcfbf6, beige #f6f1eb, pêche #f2c8a9, encre #4c4743, texte #66625f,
   sauge #98a584 (libellés : #5f6b4e), orange #d3845e. Titres Clash Grotesk, texte Poppins (chargés par le thème). */

.hb { --hb-ink:#4c4743; --hb-text:#66625f; --hb-muted:#7a746f; --hb-line:#e4e0d8; --hb-beige:#f6f1eb; --hb-peach:#f2c8a9;
      --hb-sage-ink:#5f6b4e; --hb-orange:#d3845e; --hb-link:#a85a35; --hb-head:'Clash Grotesk',sans-serif;
      color:var(--hb-text); font-family:Poppins,sans-serif; font-size:17px; line-height:1.75; }
.hb *, .hb *::before, .hb *::after { box-sizing:border-box; }
.hb a { color:var(--hb-link); }
.hb a:hover { color:var(--hb-ink); }

/* Le thème enveloppe le contenu dans .content_wrap : on libère la largeur */
body.hb-blog .page_content_wrap .content_wrap, body.hb-blog .content_wrap > .content { width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; padding:0; float:none; }
body.hb-blog .page_content_wrap { padding-top:0; padding-bottom:0; }

.hb-wrap { max-width:1200px; margin:0 auto; padding-left:32px; padding-right:32px; }
.hb-crumbs { margin:0 0 18px; font-size:13px; color:var(--hb-muted); }
.hb-crumbs a { color:var(--hb-muted); }
.hb-eyebrow { margin:0 0 14px; font-family:var(--hb-head); font-weight:500; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--hb-sage-ink); }
.hb-h1 { margin:0; max-width:820px; font-family:var(--hb-head); font-weight:600; font-size:56px; line-height:1.02; color:var(--hb-ink); }
.hb-h1--article { max-width:900px; margin-top:18px; font-size:52px; line-height:1.04; }
.hb-intro { margin:22px 0 0; max-width:680px; font-size:17px; }

/* Page Conseils */
.hb-hero { padding-top:56px; padding-bottom:32px; }
.hb-pills { margin-top:32px; display:flex; flex-wrap:wrap; gap:10px; font-family:var(--hb-head); font-weight:500; font-size:15px; line-height:1.3; }
.hb-pill { text-decoration:none; border:1px solid #d9d3c8; padding:10px 18px; border-radius:999px; color:var(--hb-ink) !important; }
.hb-pill.is-active { background:var(--hb-ink); border-color:var(--hb-ink); color:#fcfbf6 !important; }
.hb-featured-wrap { padding-top:16px; padding-bottom:24px; }
.hb-featured { display:flex; flex-wrap:wrap; background:var(--hb-beige); border-radius:16px; overflow:hidden; text-decoration:none; }
.hb-featured .hb-card__img { flex:1 1 520px; min-width:0; height:420px; object-fit:cover; display:block; border-radius:0; aspect-ratio:auto; }
.hb-featured__body { flex:1 1 400px; min-width:0; padding:44px 48px; display:flex; flex-direction:column; justify-content:center; gap:16px; }
.hb-featured__title { margin:0; font-family:var(--hb-head); font-weight:600; font-size:36px; line-height:1.08; color:var(--hb-ink); }
.hb-featured__excerpt { margin:0; color:var(--hb-text); font-size:16px; line-height:1.65; }
.hb-more { font-family:var(--hb-head); font-weight:600; color:#b8643d; }
.hb-grid-wrap { padding-top:24px; padding-bottom:72px; }
.hb-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:36px 32px; }
.hb-card { display:flex; flex-direction:column; gap:12px; text-decoration:none; }
.hb-card__img { width:100%; aspect-ratio:4/3; height:auto; object-fit:cover; border-radius:12px; display:block; }
.hb-card__cat { margin:6px 0 0; font-family:var(--hb-head); font-weight:500; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--hb-sage-ink); line-height:1.3; }
.hb-card__title { margin:0; font-family:var(--hb-head); font-weight:600; font-size:23px; line-height:1.15; color:var(--hb-ink); }
.hb-card__excerpt { margin:0; font-size:15px; line-height:1.6; color:var(--hb-text); }
.hb-card__meta { margin:0; font-size:13px; line-height:1.4; color:var(--hb-muted); }
.hb-pager { margin-top:48px; display:flex; justify-content:center; gap:16px; }
.hb-pager a { text-decoration:none; font-family:var(--hb-head); font-weight:500; border:1px solid var(--hb-ink); padding:14px 28px; border-radius:12px; color:var(--hb-ink); }
.hb-band { background:var(--hb-peach); }
.hb-band__inner { padding-top:64px; padding-bottom:64px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:28px; }
.hb-band__inner > div { flex:1 1 520px; min-width:0; }
.hb-band__title { margin:0; font-family:var(--hb-head); font-weight:600; font-size:40px; line-height:1.05; color:var(--hb-ink); }
.hb-band__text { margin:12px 0 0; font-size:17px; color:var(--hb-ink); }

/* Boutons */
.hb-btn { display:inline-block; text-align:center; text-decoration:none; font-family:var(--hb-head); font-weight:500; font-size:16px; line-height:1.2; padding:16px 30px; border-radius:12px; }
.hb .hb-btn--dark { background:var(--hb-ink); color:#fcfbf6; }
.hb .hb-btn--dark:hover { background:#2f2b28; color:#fcfbf6; }
.hb .hb-btn--orange { background:var(--hb-orange); color:#2b2724; }
.hb .hb-btn--orange:hover { background:#c0734f; color:#2b2724; }
.hb .hb-btn--ghost { border:1px solid var(--hb-ink); color:var(--hb-ink); background:#fcfbf6; }

/* Article */
.hb-head { padding-top:48px; }
.hb-tag { display:inline-block; text-decoration:none; font-family:var(--hb-head); font-weight:500; font-size:13px; line-height:1.3; letter-spacing:.12em; text-transform:uppercase; color:var(--hb-sage-ink) !important; border:1px solid #c6cdb9; padding:6px 14px; border-radius:999px; }
.hb-meta { margin:22px 0 0; font-size:14px; color:var(--hb-muted); }
.hb-cover { margin:36px 0 0; }
.hb-cover__img { width:100%; height:520px; object-fit:cover; border-radius:16px; display:block; }
.hb-cover figcaption { margin-top:10px; font-size:13px; color:var(--hb-muted); }
.hb-layout { padding-top:48px; padding-bottom:24px; display:flex; flex-wrap:wrap; align-items:flex-start; gap:64px; }
.hb-content { flex:999 1 560px; min-width:0; max-width:760px; }
.hb-aside { flex:1 1 300px; min-width:0; display:flex; flex-direction:column; gap:24px; position:sticky; top:110px; }
.hb-content p { margin:0 0 18px; }
.hb-content .hb-lead { margin-bottom:32px; font-size:20px; line-height:1.65; color:var(--hb-ink); }
.hb-content h2 { margin:48px 0 16px; font-family:var(--hb-head); font-weight:600; font-size:34px; line-height:1.1; color:var(--hb-ink); scroll-margin-top:110px; }
.hb-content h3 { margin:28px 0 10px; font-family:var(--hb-head); font-weight:600; font-size:23px; line-height:1.2; color:var(--hb-ink); }
.hb-content ul, .hb-content ol { margin:0 0 18px; padding-left:22px; }
.hb-content li { margin-bottom:8px; }
.hb-content strong { color:var(--hb-ink); }
.hb-table { overflow-x:auto; border:1px solid var(--hb-line); border-radius:12px; margin:8px 0 24px; }
.hb-table table { width:100%; border-collapse:collapse; font-size:15px; line-height:1.5; margin:0; }
.hb-table th { background:var(--hb-beige); color:var(--hb-ink); text-align:left; padding:14px 16px; font-family:var(--hb-head); font-weight:600; border:0; }
.hb-table td { padding:12px 16px; border:0; border-top:1px solid var(--hb-line); vertical-align:top; }
.hb-table td:first-child { color:var(--hb-ink); }
.hb-faq { border-top:1px solid var(--hb-line); }
.hb-faq details { border-bottom:1px solid var(--hb-line); padding:18px 0; }
.hb-faq summary { cursor:pointer; font-family:var(--hb-head); font-weight:600; font-size:20px; line-height:1.3; color:var(--hb-ink); list-style-position:outside; }
.hb-faq__a { margin-top:12px; }
.hb-faq__a p:last-child { margin-bottom:0; }
.hb-final { margin:48px 0 0; background:var(--hb-ink); color:#ece7df; border-radius:16px; padding:36px 40px; }
.hb-final h2 { margin:0 0 14px; font-size:28px; line-height:1.15; color:#fcfbf6; }
.hb-final p { color:#ece7df; }
.hb-final a { color:#fcfbf6; }
.hb-final__actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:6px; }
.hb-final .hb-btn--orange { color:#2b2724; }
.hb-final__link { font-family:var(--hb-head); font-weight:500; padding:16px 4px; }
.hb-toc { border:1px solid var(--hb-line); border-radius:12px; padding:22px 24px; font-size:15px; line-height:1.5; }
.hb-toc__title { margin:0 0 12px; font-family:var(--hb-head); font-weight:600; font-size:17px; color:var(--hb-ink); }
.hb-toc ol { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:8px; }
.hb-toc a { text-decoration:none; color:var(--hb-text); }
.hb-toc a:hover { color:var(--hb-ink); text-decoration:underline; }
.hb-toc--mobile { display:none; margin:0 0 22px; padding:14px 18px; }
.hb-toc--mobile summary { cursor:pointer; font-family:var(--hb-head); font-weight:600; color:var(--hb-ink); }
.hb-toc--mobile ol { margin-top:10px; }
.hb-cta { background:var(--hb-peach); border-radius:12px; padding:26px 24px; display:flex; flex-direction:column; gap:12px; }
.hb-cta__title { margin:0; font-family:var(--hb-head); font-weight:600; font-size:22px; line-height:1.15; color:var(--hb-ink); }
.hb-cta__text, .hb-cta__phone { margin:0; font-size:15px; line-height:1.55; color:var(--hb-ink); }
.hb-cta__phone a { color:var(--hb-ink); font-weight:500; }
.hb-cta__link { font-family:var(--hb-head); font-weight:500; color:var(--hb-ink) !important; }
.hb-cta--inline { display:none; margin:0 0 28px; }
.hb-related { padding-top:56px; padding-bottom:80px; }
.hb-related__title { margin:0 0 28px; font-family:var(--hb-head); font-weight:600; font-size:32px; color:var(--hb-ink); }
.hb-sticky { display:none; }

/* Photos dans le texte */
.hb-figure { margin:32px 0; }
.hb .hb-figure__img { width:auto; max-width:100%; height:auto; max-height:560px; border-radius:12px; display:block; }
.hb-figure figcaption { margin-top:8px; font-size:13px; line-height:1.5; color:var(--hb-muted); }

/* Tablette et mobile */
@media (max-width: 1023px) {
	.hb-aside { position:static; }
	.hb-cover__img { height:420px; }
}
@media (max-width: 767px) {
	.hb { font-size:16px; line-height:1.7; }
	.hb-wrap { padding-left:20px; padding-right:20px; }
	.hb-hero { padding-top:28px; }
	.hb-h1 { font-size:36px; line-height:1.06; }
	.hb-h1--article { font-size:32px; line-height:1.08; margin-top:14px; }
	.hb-head { padding-top:22px; }
	.hb-cover { margin-top:20px; margin-left:-20px; margin-right:-20px; }
	.hb-cover__img { height:250px; border-radius:0; }
	.hb-cover figcaption { padding:0 20px; }
	.hb-layout { padding-top:24px; gap:0; }
	.hb-aside { display:none; }
	.hb-toc--mobile, .hb-cta--inline { display:flex; flex-direction:column; }
	.hb-toc--mobile { display:block; }
	.hb-content .hb-lead { font-size:18px; margin-bottom:22px; }
	.hb-content h2 { margin-top:36px; font-size:26px; line-height:1.12; }
	.hb-content h3 { font-size:20px; }
	.hb-faq summary { font-size:17px; }
	.hb-final { padding:24px 22px; }
	.hb-final h2 { font-size:22px; }
	.hb-featured .hb-card__img { height:240px; flex-basis:100%; }
	.hb-featured__body { padding:24px 22px; }
	.hb-featured__title { font-size:26px; }
	.hb-grid { grid-template-columns:1fr; }
	.hb-band__title { font-size:30px; }
	.hb-sticky { display:flex; gap:10px; position:fixed; left:0; right:0; bottom:0; z-index:999; padding:12px 16px; background:#fcfbf6; border-top:1px solid var(--hb-line); }
	.hb-sticky .hb-btn { flex:1; padding:13px 10px; }
	.hb-sticky .hb-btn--orange { flex:2; }
	.hb-single { padding-bottom:72px; }
	.hb .hb-cover { max-width:none !important; width:auto; }
	body.hb-blog.single-post .trx_addons_scroll_to_top { bottom:84px !important; }
}

/* Priorité sur les styles du thème (titres, liens) */
.hb .hb-content h2, .hb .hb-h1, .hb .hb-featured__title, .hb .hb-band__title, .hb .hb-related__title, .hb .hb-card__title { font-weight:600 !important; font-family:var(--hb-head) !important; letter-spacing:normal; }
.hb .hb-content p a, .hb .hb-content li a, .hb .hb-content td a { color:var(--hb-link) !important; text-decoration:underline !important; text-underline-offset:3px; text-decoration-thickness:1px; }
.hb .hb-content p a:hover, .hb .hb-content li a:hover { color:var(--hb-ink) !important; }
.hb .hb-final h2 { color:#fcfbf6 !important; }
.hb .hb-final p a { color:#fcfbf6 !important; }
