/*
Theme Name: Heebiz Child
Template: blocksy
Description: Thème enfant Blocksy — refonte Heebiz, direction « Le Média Business en ligne ».
Version: 0.2.0
Text Domain: heebiz
*/

/* ==========================================================================
   Tokens — charte Heebiz (palette Blocksy actuelle + corail complémentaire)
   ========================================================================== */
:root:root {
	--hb-mint: #49DDA3;          /* couleur principale (logo) */
	--hb-mint-ink: #12805B;      /* menthe lisible en texte sur blanc */
	--hb-mint-soft: #D7F7EA;
	--hb-coral: #E96E6C;         /* couleur complémentaire */
	--hb-coral-ink: #B83F3D;     /* corail lisible en texte sur blanc */
	--hb-coral-soft: #FCE4E3;
	--hb-navy: #192A3D;          /* titres */
	--hb-slate: #3A4F66;         /* texte */
	--hb-muted: #5B6B7D;
	--hb-line: #E1E8ED;
	--hb-bg-soft: #F2F5F7;
	--hb-bg-softer: #FAFBFC;
	--hb-white: #FFFFFF;
	--hb-radius: 16px;
	--hb-font: Mulish, system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Palette Blocksy alignée sur la charte : pages internes cohérentes */
	--theme-palette-color-1: var(--hb-mint);
	--theme-palette-color-2: var(--hb-coral);
	--theme-palette-color-3: var(--hb-slate);
	--theme-palette-color-4: var(--hb-navy);
	--theme-palette-color-5: var(--hb-line);
	--theme-palette-color-6: var(--hb-bg-soft);
	--theme-palette-color-7: var(--hb-bg-softer);
	--theme-palette-color-8: var(--hb-white);
	--theme-text-color: var(--hb-slate);
	--theme-headings-color: var(--hb-navy);
	--theme-link-initial-color: var(--hb-mint-ink);
	--theme-link-hover-color: var(--hb-coral-ink);
	--theme-button-background-initial-color: var(--hb-mint);
	--theme-button-background-hover-color: var(--hb-coral);
	--theme-button-text-initial-color: var(--hb-navy);
	--theme-button-text-hover-color: var(--hb-navy);
	--theme-font-family: var(--hb-font);
}

body.hb {
	font-family: var(--hb-font);
	color: var(--hb-slate);
	background: var(--hb-white);
}
.hb h1, .hb h2, .hb h3, .hb h4 { font-family: var(--hb-font); color: var(--hb-navy); }

.hb-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; box-sizing: border-box; }
.hb a:focus-visible, .hb button:focus-visible, .hb input:focus-visible {
	outline: 3px solid var(--hb-navy); outline-offset: 2px;
}
.hb-skip { position: absolute; left: -9999px; }
.hb-skip:focus { left: 16px; top: 16px; z-index: 1000; background: var(--hb-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* ==========================================================================
   En-tête : logo + outils (boîte à outils, bons plans, recherche, newsletter), puis rubriques
   ========================================================================== */
.hb-header { background: #fff; border-bottom: 1px solid var(--hb-line); position: relative; z-index: 60; }
.hb-header__top { display: flex; align-items: center; gap: 18px; padding-block: 16px; }
.hb-logo img { display: block; height: 48px; width: auto; }
.hb-header__tagline { margin: 0; padding-left: 18px; border-left: 2px solid var(--hb-line); font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--hb-muted); max-width: 190px; }

.hb-htools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hb-htools__link {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
	font-size: 15px; font-weight: 800; color: var(--hb-navy); text-decoration: none; transition: background .15s;
}
.hb-htools__link:hover { background: var(--hb-bg-soft); color: var(--hb-navy); }
.hb-htools__link .hb-ico { color: var(--hb-mint-ink); }
.hb-htools__link--deal .hb-ico { color: var(--hb-coral-ink); }
.hb-htools__link[aria-current="page"] { background: var(--hb-mint-soft); }
.hb-htools__link--deal[aria-current="page"] { background: var(--hb-coral-soft); }
.hb-htools__cta {
	display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 11px 16px; border-radius: 12px;
	background: var(--hb-navy); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none;
}
.hb-htools__cta:hover { background: var(--hb-coral); color: #fff; }
.hb-htools .hb-search-toggle { position: relative; }

.hb-nav { border-top: 1px solid var(--hb-line); background: var(--hb-bg-softer); }
.hb-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hb-nav__list::-webkit-scrollbar { display: none; }
.hb-nav__list a {
	display: block; white-space: nowrap; padding: 12px 12px 10px; border-bottom: 3px solid transparent;
	font-size: 14.5px; font-weight: 700; color: var(--hb-slate); text-decoration: none;
}
.hb-nav__list li:first-child a { padding-left: 0; }
.hb-nav__list a:hover { color: var(--hb-navy); border-bottom-color: var(--hb-coral); }
.hb-nav__list a[aria-current="page"],
.hb-nav__list .current-menu-item > a { color: var(--hb-navy); font-weight: 900; border-bottom-color: var(--hb-mint); }

@media (max-width: 1080px) { .hb-header__tagline { display: none; } }
@media (max-width: 820px) {
	.hb-htools__link span, .hb-htools__cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hb-htools__link, .hb-htools__cta { padding: 10px; }
	.hb-htools__cta { margin-left: 2px; }
}
@media (max-width: 720px) {
	.hb-logo img { height: 38px; }
	.hb-header__top { padding-block: 12px; gap: 10px; }
	.hb-htools { gap: 2px; }
	.hb-nav { position: relative; }
	.hb-nav::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(250,251,252,0), var(--hb-bg-softer)); pointer-events: none; }

}

/* ==========================================================================
   Badges & libellés
   ========================================================================== */
.hb-badges { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.hb-badge {
	display: inline-block; font-size: 12px; font-weight: 800; line-height: 1;
	padding: 6px 10px; border-radius: 6px; color: var(--hb-navy);
}
.hb-badge--cat { background: var(--hb-mint); }
a.hb-badge { text-decoration: none; transition: filter .15s; }
a.hb-badge:hover { filter: brightness(0.92); color: var(--hb-navy); }
a.hb-badge--comparatif:hover { color: #fff; }
.hb-badge--avis { background: var(--hb-coral-soft); }
.hb-badge--guide { background: var(--hb-mint-soft); }
.hb-badge--comparatif { background: var(--hb-navy); color: #fff; }

.hb-kicker { font-size: 12px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-kicker--avis, .hb-kicker--comparatif { color: var(--hb-coral-ink); }
.hb-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-mint-ink); }

.hb-btn {
	display: inline-block; font: inherit; font-weight: 800; font-size: 15px; line-height: 1;
	padding: 14px 20px; border: 0; border-radius: 12px; cursor: pointer; text-decoration: none;
}
.hb-btn--navy { background: var(--hb-navy); color: #fff; }
.hb-btn--navy:hover { background: #0E1A28; color: #fff; }
.hb-btn--coral { background: var(--hb-coral); color: #fff; }
.hb-btn--coral:hover { background: var(--hb-navy); color: #fff; }

/* ==========================================================================
   Home — à la une
   ========================================================================== */
.hb-hero { display: flex; flex-wrap: wrap; gap: 36px; padding-block: 40px 52px; }
.hb-hero__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hb-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--hb-radius); }
.hb-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--hb-muted); }
.hb-hero__title { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; }
.hb-hero__title a { color: var(--hb-navy); text-decoration: none; }
.hb-hero__title a:hover { color: var(--hb-coral-ink); }
.hb-hero__excerpt { margin: 0; font-size: 18px; line-height: 1.6; }

.hb-aussi { flex: 1 1 320px; display: flex; flex-direction: column; }
.hb-aussi__title { margin: 0 0 10px; font-size: 22px; font-weight: 900; }
.hb-aussi__item { display: flex; gap: 14px; padding-block: 14px; border-top: 1px solid var(--hb-line); text-decoration: none; }
.hb-aussi__item img { width: 104px; height: 70px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.hb-aussi__text { display: flex; flex-direction: column; gap: 4px; }
.hb-aussi__name { font-weight: 800; font-size: 15px; line-height: 1.35; color: var(--hb-navy); }
.hb-aussi__item:hover .hb-aussi__name { color: var(--hb-coral-ink); }

.hb-thumb-fallback { display: flex; align-items: center; justify-content: center; background: var(--hb-mint-soft); border-radius: 10px; }
.hb-aussi__item .hb-thumb-fallback { width: 104px; height: 70px; flex-shrink: 0; }
.hb-aussi__item .hb-thumb-fallback img { width: 40px; height: 40px; border-radius: 0; }
.hb-card__media .hb-thumb-fallback { aspect-ratio: 16 / 9; }
.hb-card__media .hb-thumb-fallback img { width: 72px; height: 72px; aspect-ratio: auto; }

/* ==========================================================================
   Home — comparatifs, rubriques
   ========================================================================== */
.hb-band { background: var(--hb-bg-soft); padding-block: 52px; }
.hb-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.hb-section-head h2, .hb-rubrique__head h2, .hb-toolbox h2 { margin: 0; font-weight: 900; font-size: clamp(26px, 3vw, 34px); }

.hb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); column-gap: 32px; row-gap: 56px; }
@media (max-width: 720px) { .hb-grid { row-gap: 40px; } }

.hb-compare {
	background: #fff; border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: 24px;
	display: flex; flex-direction: column; gap: 10px; text-decoration: none;
	transition: border-color .15s, transform .15s;
}
.hb-compare:hover { border-color: var(--hb-coral); transform: translateY(-2px); }
.hb-compare__cat { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-mint-ink); }
.hb-compare__vs { font-weight: 900; font-size: 24px; line-height: 1.2; color: var(--hb-navy); }
.hb-vs { color: var(--hb-coral); }
.hb-compare__sub { font-size: 14px; color: var(--hb-slate); }

.hb-rubrique { padding-block: 52px 8px; }
.hb-rubrique__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; border-bottom: 4px solid var(--hb-mint); padding-bottom: 10px; margin-bottom: 24px; }
.hb-rubrique__count { font-size: 14px; font-weight: 600; }
.hb-rubrique__head a { margin-left: auto; font-weight: 800; font-size: 14px; color: var(--hb-navy); text-decoration: none; }
.hb-rubrique__head a:hover { color: var(--hb-coral-ink); }

.hb-card { display: flex; flex-direction: column; gap: 12px; }
.hb-card .hb-badges { margin-top: 4px; }
.hb-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; transition: transform .2s; }
.hb-card__media { overflow: hidden; border-radius: 14px; }
.hb-card:hover .hb-card__media img { transform: scale(1.03); }
.hb-card__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; }
.hb-card__title a { color: var(--hb-navy); text-decoration: none; }
.hb-card__title a:hover { color: var(--hb-coral-ink); }

/* ==========================================================================
   Home — boîte à outils (affiliation)
   ========================================================================== */
.hb-toolbox-wrap { padding-block: 48px 56px; }
.hb-toolbox {
	border: 1px solid var(--hb-line); border-radius: 20px; background: var(--hb-bg-softer);
	padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
}
.hb-toolbox__intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.hb-toolbox__intro p { margin: 0; font-size: 14px; }
.hb-toolbox__list { flex: 2 1 520px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.hb-tool { background: #fff; border: 1px solid var(--hb-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.hb-tool__name { font-weight: 900; color: var(--hb-navy); }
.hb-tool__cat { font-size: 13px; }
.hb-tool__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; font-weight: 800; }
.hb-tool__links a:not(.hb-btn) { color: var(--hb-navy); }
.hb-tool__links .hb-btn { padding: 9px 14px; font-size: 14px; border-radius: 10px; }

/* ==========================================================================
   Newsletter & pied de page
   ========================================================================== */
.hb-newsletter { background: var(--hb-mint); }
.hb-newsletter__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-block: 44px; }
.hb-newsletter__pitch { flex: 1 1 460px; display: flex; align-items: center; gap: 22px; }
.hb-newsletter__pitch img { width: 96px; height: 96px; flex-shrink: 0; transform: rotate(-6deg); }
.hb-newsletter h2 { margin: 0 0 6px; font-weight: 900; font-size: clamp(26px, 3vw, 34px); }
.hb-newsletter p { margin: 0; font-size: 17px; font-weight: 600; color: var(--hb-navy); }
.hb-newsletter__form { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.hb-newsletter__row { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-newsletter__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--hb-navy); }
.hb-newsletter__consent input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--hb-navy); }
.hb-newsletter__consent a { color: var(--hb-navy); }
.hb-newsletter__message { margin: 0; font-weight: 800; color: var(--hb-navy); }
.hb-nl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hb-newsletter__row input[type=email] {
	flex: 1 1 220px; font: inherit; font-size: 15px; padding: 14px 16px; height: auto;
	border-radius: 12px; border: 2px solid var(--hb-navy); background: #fff; color: var(--hb-navy);
}

.hb-footer { background: var(--hb-navy); color: #C9D3DD; font-size: 15px; }
.hb-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 48px; padding-block: 64px 48px; }
.hb-footer__logo { display: inline-block; }
.hb-footer__logo img { height: 46px; width: auto; display: block; }
.hb-footer__brand p { margin: 18px 0 0; line-height: 1.65; max-width: 360px; }
.hb-footer__brand .hb-author__links { margin-top: 20px; }
.hb-footer__title { margin: 0 0 14px; color: #fff; font-weight: 900; font-size: 16px; }
.hb-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hb-footer__list a { color: #C9D3DD; text-decoration: none; font-weight: 600; }
.hb-footer__list a:hover { color: var(--hb-mint); }
.hb-footer__list .hb-nav__search { display: none; }
.hb-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.hb-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 24px; font-size: 13px; color: #9FB0C2; }
@media (max-width: 960px) { .hb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hb-footer__grid { grid-template-columns: 1fr; padding-block: 48px 32px; } }

/* ==========================================================================
   Pages internes Blocksy (articles, archives) — harmonisation en attendant
   leurs gabarits dédiés
   ========================================================================== */
.hb .entry-content a { color: var(--hb-mint-ink); text-decoration-color: var(--hb-mint); text-underline-offset: 3px; }
.hb .entry-content a:hover { color: var(--hb-coral-ink); }
.hb .page-title, .hb .entry-title { font-weight: 900; letter-spacing: -0.01em; }
.hb .ct-featured-image img, .hb .ct-media-container img { border-radius: var(--hb-radius); }
.hb .entry-content blockquote { border-left-color: var(--hb-coral); }
.hb .entry-card .entry-title a { color: var(--hb-navy); }
.hb .entry-card .entry-title a:hover { color: var(--hb-coral-ink); }

/* ==========================================================================
   Article
   ========================================================================== */
.hb-article-hero { background: var(--hb-bg-soft); border-bottom: 1px solid var(--hb-line); margin-bottom: 48px; }
.hb-article-hero__inner { max-width: 1140px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-block: 36px 44px; }
.hb-article-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hb-article-hero__media { flex: 1 1 340px; max-width: 460px; margin: 0; }
.hb-article-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 8px 8px 0 var(--hb-mint); }
.hb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; color: var(--hb-muted); }
.hb-crumbs a { color: var(--hb-slate); text-decoration: none; }
.hb-crumbs a:hover { color: var(--hb-coral-ink); }
.hb .hb-article__title { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.hb-article__lead { margin: 0; font-size: 19px; line-height: 1.6; }

.hb-byline { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.hb-byline__avatar { width: 48px; height: 48px; border-radius: 999px; border: 3px solid var(--hb-mint); object-fit: cover; }
.hb-byline__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.hb-byline__name { font-weight: 800; color: var(--hb-navy); font-size: 15px; }
.hb-byline__meta { color: var(--hb-muted); font-weight: 600; }
.hb-byline__meta a { color: var(--hb-mint-ink); }
@media (max-width: 720px) {
	.hb-article-hero__inner { padding-block: 24px 32px; }
	.hb-article-hero__media { order: -1; max-width: none; }
	.hb-article-hero__media img { box-shadow: 6px 6px 0 var(--hb-mint); }
}

.hb-article__layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 56px; max-width: 1140px; }
.hb-article__main { flex: 999 1 640px; min-width: 0; max-width: 740px; }
.hb-article__aside { flex: 1 1 260px; align-self: stretch; }
.hb-sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }

.hb-disclosure { margin: 0 0 24px; padding: 12px 16px; background: var(--hb-bg-soft); border-radius: 10px; font-size: 14px; color: var(--hb-slate); }

.hb-toc { background: var(--hb-bg-softer); border: 1px solid var(--hb-line); border-radius: 16px; padding: 20px; }
.hb-toc__title, .hb-toc summary { margin: 0 0 10px; font-weight: 900; color: var(--hb-navy); font-size: 16px; }
.hb-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.hb-toc ol li::marker { color: var(--hb-mint-ink); font-weight: 800; }
.hb-toc a { color: var(--hb-slate); text-decoration: none; font-weight: 600; }
.hb-toc a:hover { color: var(--hb-coral-ink); }
.hb-toc--mobile { display: none; margin-bottom: 28px; }
.hb-toc--mobile summary { cursor: pointer; margin: 0; }
.hb-toc--mobile[open] summary { margin-bottom: 12px; }

.hb-side-cta { border-radius: 16px; padding: 20px; background: var(--hb-mint-soft); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hb-side-cta--tool { background: var(--hb-coral-soft); }
.hb-side-cta__title { margin: 0; font-weight: 900; font-size: 18px; line-height: 1.3; color: var(--hb-navy); }
.hb-side-cta__note { margin: 0; font-size: 12px; color: var(--hb-muted); }

@media (max-width: 960px) {
	.hb-article__aside { display: none; }
	.hb-toc--mobile { display: block; }
	.hb-article__layout { gap: 0; }
}

/* Typographie du contenu */
.hb-prose { font-size: 18px; line-height: 1.75; color: var(--hb-slate); }
.hb-prose > * { margin-block: 0 1.1em; }
.hb .hb-prose h2 { font-size: 30px; font-weight: 900; line-height: 1.2; margin: 1.8em 0 0.6em; scroll-margin-top: 24px; }
.hb .hb-prose h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--hb-mint); margin-bottom: 14px; }
.hb .hb-prose h3 { font-size: 23px; font-weight: 800; line-height: 1.3; margin: 1.5em 0 0.5em; }
.hb .hb-prose h4 { font-size: 19px; font-weight: 800; margin: 1.3em 0 0.4em; }
.hb-prose strong { color: var(--hb-navy); font-weight: 800; }
.hb-prose ul, .hb-prose ol { padding-left: 1.3em; }
.hb-prose li { margin-bottom: .4em; }
.hb-prose ul li::marker { color: var(--hb-mint-ink); }
.hb-prose ol li::marker { color: var(--hb-mint-ink); font-weight: 800; }
.hb-prose figure { margin-block: 1.6em; }
.hb-prose img { border-radius: 12px; height: auto; }
.hb-prose figcaption { font-size: 14px; color: var(--hb-muted); text-align: center; margin-top: 8px; }
.hb .hb-prose blockquote, .hb .hb-prose .wp-block-quote {
	margin: 1.6em 0; padding: 20px 24px; border: 0; border-left: 5px solid var(--hb-coral);
	background: var(--hb-coral-soft); border-radius: 0 12px 12px 0; font-size: 19px; color: var(--hb-navy);
}
.hb-prose blockquote p:last-child { margin-bottom: 0; }

.hb-prose .wp-block-table { overflow-x: auto; }
.hb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; border: 1px solid var(--hb-line); border-radius: 12px; overflow: hidden; }
.hb-prose th, .hb-prose td { padding: 12px 14px; border: 1px solid var(--hb-line); text-align: left; vertical-align: top; }
.hb-prose thead th, .hb-prose tr:first-child th { background: var(--hb-navy); color: #fff; font-weight: 800; }
.hb-prose tbody tr:nth-child(even) { background: var(--hb-bg-softer); }

/* Le bloc « préformaté » sert d'encadré « Mon conseil » dans les articles */
.hb .hb-prose .wp-block-preformatted {
	font-family: var(--hb-font); font-size: 17px; line-height: 1.65; white-space: pre-wrap;
	background: var(--hb-mint-soft); color: var(--hb-navy); border: 0; border-left: 5px solid var(--hb-mint);
	border-radius: 0 12px 12px 0; padding: 18px 22px; margin-block: 1.6em; overflow: visible;
}
.hb .hb-prose .wp-block-preformatted:empty { display: none; }

.hb-prose pre:not(.wp-block-preformatted), .hb-prose .wp-block-code {
	background: var(--hb-navy); color: #E2E8F0; border-radius: 12px; padding: 18px 20px;
	font-size: 14px; line-height: 1.65; overflow-x: auto; white-space: pre;
}
.hb-prose code { font-size: .9em; background: var(--hb-bg-soft); padding: .1em .35em; border-radius: 5px; color: var(--hb-navy); }
.hb-prose pre code { background: none; padding: 0; color: inherit; }
.hb-prose .syntaxhighlighter { border-radius: 12px; overflow: hidden; }

.hb-prose .wp-block-button__link, .hb-prose .ub-button-container a {
	background: var(--hb-mint) !important; color: var(--hb-navy) !important; font-weight: 800;
	border-radius: 12px !important; text-decoration: none;
}
.hb-prose .wp-block-button__link:hover, .hb-prose .ub-button-container a:hover { background: var(--hb-coral) !important; color: #fff !important; }

.hb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-tags a { font-size: 13px; font-weight: 700; background: var(--hb-bg-soft); color: var(--hb-slate); padding: 6px 10px; border-radius: 6px; text-decoration: none; }

.hb-author { margin-top: 48px; padding: 24px; border: 1px solid var(--hb-line); border-radius: 18px; display: flex; gap: 18px; align-items: flex-start; background: var(--hb-bg-softer); }
.hb-author__avatar { width: 80px; height: 80px; object-fit: cover; border-radius: 999px; border: 3px solid var(--hb-mint); flex-shrink: 0; }
.hb-author__name { margin: 0 0 6px; font-weight: 900; font-size: 18px; color: var(--hb-navy); }
.hb-author__bio { margin: 0; font-size: 15px; line-height: 1.6; }

.hb-related { padding-block: 8px 64px; }
.hb-related .hb-rubrique__head h2 { margin: 0; font-weight: 900; font-size: clamp(26px, 3vw, 34px); }

/* ==========================================================================
   Archives / rubriques
   ========================================================================== */
.hb-archive-head { background: var(--hb-bg-soft); border-bottom: 1px solid var(--hb-line); }
.hb-archive-head .hb-wrap { padding-block: 36px 40px; display: flex; flex-direction: column; gap: 12px; }
.hb .hb-archive-head__title { margin: 0; font-size: clamp(36px, 5vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
.hb-archive-head__title::after { content: ""; display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--hb-mint); margin-top: 14px; }
.hb-archive-head__intro { margin: 0; font-size: 19px; line-height: 1.6; max-width: 900px; }
.hb-archive-head__stats { margin: 0; font-size: 14px; font-weight: 700; color: var(--hb-muted); }

.hb-archive { padding-block: 40px 64px; display: flex; flex-direction: column; gap: 32px; }

.hb-feature { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--hb-line); }
.hb-feature__media { flex: 1 1 460px; display: block; overflow: hidden; border-radius: var(--hb-radius); }
.hb-feature__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .2s; }
.hb-feature:hover .hb-feature__media img { transform: scale(1.02); }
.hb-feature__body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hb .hb-feature__title { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.12; }
.hb-feature__title a { color: var(--hb-navy); text-decoration: none; }
.hb-feature__title a:hover { color: var(--hb-coral-ink); }
.hb-feature__body p { margin: 0; font-size: 17px; line-height: 1.6; }
.hb-feature__meta { font-size: 14px; font-weight: 600; color: var(--hb-muted); }

.hb-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hb-filters[hidden] { display: none; }
.hb-filters__label { font-weight: 800; color: var(--hb-navy); font-size: 14px; }
.hb-filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-filters button {
	font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
	padding: 9px 14px; border-radius: 999px; border: 2px solid var(--hb-line); background: #fff; color: var(--hb-navy);
}
.hb-filters button span { color: var(--hb-muted); font-weight: 700; margin-left: 2px; }
.hb-filters button:hover { border-color: var(--hb-coral); }
.hb-filters button[aria-pressed="true"] { background: var(--hb-navy); border-color: var(--hb-navy); color: #fff; }
.hb-filters button[aria-pressed="true"] span { color: var(--hb-mint); }
.hb-filters__status { font-size: 14px; font-weight: 600; color: var(--hb-muted); }
.hb-card[hidden] { display: none; }

.hb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hb-pagination .page-numbers { min-width: 44px; padding: 10px 14px; text-align: center; border-radius: 10px; border: 1px solid var(--hb-line); font-weight: 800; color: var(--hb-navy); text-decoration: none; }
.hb-pagination .page-numbers.current { background: var(--hb-mint); border-color: var(--hb-mint); }

.hb-other-rubriques { border-top: 1px solid var(--hb-line); padding-top: 32px; }
.hb .hb-other-rubriques h2 { margin: 0 0 16px; font-size: 22px; font-weight: 900; }
.hb-empty { min-height: 30vh; }

/* ==========================================================================
   Commentaires
   ========================================================================== */
.hb-comments { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hb-line); }
.hb .hb-comments h2 { margin: 0 0 20px; font-size: 26px; font-weight: 900; }
.hb-comments__list, .hb-comments__list .children { list-style: none; margin: 0; padding: 0; }
.hb-comments__list .children { margin-left: 28px; padding-left: 20px; border-left: 3px solid var(--hb-mint-soft); }
.hb-comment { padding: 20px; margin-bottom: 16px; border: 1px solid var(--hb-line); border-radius: 16px; background: #fff; }
.hb-comment.bypostauthor > .hb-comment__body { }
.bypostauthor > .hb-comment { background: var(--hb-mint-soft); border-color: transparent; }
.hb-comment__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hb-comment__head img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.hb-comment__author { font-weight: 800; color: var(--hb-navy); }
.hb-comment__badge { font-size: 11px; font-weight: 800; background: var(--hb-mint); color: var(--hb-navy); padding: 3px 7px; border-radius: 5px; margin-left: 6px; }
.hb-comment__date { display: block; font-size: 13px; color: var(--hb-muted); font-weight: 600; }
.hb-comment__content { font-size: 16px; line-height: 1.65; }
.hb-comment__content p { margin: 0 0 .8em; }
.hb-comment__reply a { font-size: 14px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-comments .comment-respond { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--hb-bg-softer); border: 1px solid var(--hb-line); }
.hb .hb-comments .comment-reply-title { margin: 0 0 12px; font-size: 22px; font-weight: 900; color: var(--hb-navy); }
.hb-comments .comment-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.hb-comments .comment-form > p { margin: 0; grid-column: 1 / -1; }
.hb-comments .comment-form-author, .hb-comments .comment-form-email { grid-column: auto !important; }
.hb-comments label { display: block; font-size: 14px; font-weight: 800; color: var(--hb-navy); margin-bottom: 6px; }
.hb-comments input[type=text], .hb-comments input[type=email], .hb-comments input[type=url], .hb-comments textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px 14px;
	border: 2px solid var(--hb-line); border-radius: 12px; background: #fff; color: var(--hb-navy);
}
.hb-comments input:focus, .hb-comments textarea:focus { border-color: var(--hb-mint); outline: none; }
.hb-comments .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.hb-comments .comment-form-cookies-consent label { font-weight: 600; margin: 0; }
.hb .hb-comments .form-submit .hb-btn { min-height: 0; height: auto; line-height: 1; font-family: var(--hb-font); font-size: 15px; font-weight: 800; padding: 14px 22px; border-radius: 12px; background: var(--hb-navy); color: #fff; border: 0; box-shadow: none; text-transform: none; letter-spacing: 0; }
.hb .hb-comments .form-submit .hb-btn:hover { background: var(--hb-coral); color: #fff; }
.hb-comment__reply a { display: inline-block; padding: 7px 12px; border: 2px solid var(--hb-line); border-radius: 10px; text-decoration: none; color: var(--hb-navy); }
.hb-comment__reply a:hover { border-color: var(--hb-coral); color: var(--hb-navy); }

/* ==========================================================================
   Hero d'article : image à la une floutée en fond
   ========================================================================== */
.hb-article-hero { position: relative; overflow: hidden; isolation: isolate; }
.hb-article-hero__bg {
	position: absolute; inset: -80px; z-index: -2;
	background-size: cover; background-position: center;
	filter: blur(48px) saturate(1.25); transform: scale(1.1);
}
.hb-article-hero.has-bg::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(250,251,252,.90) 0%, rgba(250,251,252,.80) 55%, rgba(250,251,252,.55) 100%);
}
.hb-article-hero.has-bg { border-bottom-color: transparent; }
.hb-article-hero.has-bg .hb-crumbs a, .hb-article-hero.has-bg .hb-byline__meta { color: var(--hb-slate); }
@media (max-width: 720px) {
	.hb-article-hero.has-bg::before { background: rgba(250,251,252,.84); }
}

/* Auteur : liens */
.hb-author__links { margin: 12px 0 0; }
.hb-linkedin {
	display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800;
	color: #fff; background: #0A66C2; padding: 9px 14px; border-radius: 10px; text-decoration: none;
}
.hb-linkedin:hover { background: var(--hb-navy); color: #fff; }

/* ==========================================================================
   Recherche
   ========================================================================== */
.hb-search-toggle summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 999px; color: var(--hb-navy);
}
.hb-search-toggle summary::-webkit-details-marker { display: none; }
.hb-search-toggle summary:hover, .hb-search-toggle[open] summary { background: var(--hb-mint-soft); }
.hb-search-toggle__panel {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(420px, calc(100vw - 32px));
	background: #fff; border: 1px solid var(--hb-line); border-radius: 14px; padding: 14px;
	box-shadow: 0 18px 40px -12px rgba(25,42,61,.35);
}
.hb-searchform { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-searchform input[type=search] {
	flex: 1 1 200px; font: inherit; font-size: 15px; padding: 12px 14px; height: auto;
	border: 2px solid var(--hb-line); border-radius: 12px; background: #fff; color: var(--hb-navy);
}
.hb-searchform input[type=search]:focus { border-color: var(--hb-mint); outline: none; }
.hb-searchform .hb-btn { padding: 12px 18px; }
.hb-archive-head__search { max-width: 560px; margin-top: 6px; }
.hb-empty__text { font-size: 18px; margin: 0 0 16px; }

/* Pastilles de rubriques */
.hb-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hb-pills a { display: inline-block; padding: 12px 18px; border-radius: 12px; background: var(--hb-bg-soft); color: var(--hb-navy); font-weight: 800; text-decoration: none; }
.hb-pills a span { color: var(--hb-mint-ink); margin-left: 4px; }
.hb-pills a:hover { background: var(--hb-mint); }
.hb-pills a:hover span { color: var(--hb-navy); }

/* ==========================================================================
   Pages simples & contact
   ========================================================================== */
.hb-page { padding-block: 40px 72px; }
.hb-page .hb-prose { max-width: 760px; }
.hb-page .hb-prose p strong:only-child { display: block; font-size: 22px; color: var(--hb-navy); margin-top: 1.2em; }

.hb-contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-block: 40px 64px; }
.hb-contact__main { flex: 999 1 520px; min-width: 0; }
.hb-contact__form { max-width: 680px; }
.hb-contact__form > p:first-child { font-size: 20px; color: var(--hb-navy); font-weight: 700; }
.hb-contact__aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; }
.hb-contact-card { border: 1px solid var(--hb-line); border-radius: 18px; padding: 24px; background: var(--hb-bg-softer); text-align: left; }
.hb-contact-card__avatar { width: 96px; height: 96px; border-radius: 999px; border: 4px solid var(--hb-mint); object-fit: cover; }
.hb-contact-card__name { margin: 12px 0 6px; font-weight: 900; font-size: 20px; color: var(--hb-navy); }
.hb-contact-card__bio { margin: 0; font-size: 15px; line-height: 1.6; }

/* WPForms aux couleurs Heebiz */
.hb .wpforms-container .wpforms-field-label { font-family: var(--hb-font); font-weight: 800; color: var(--hb-navy); font-size: 15px; }
.hb .wpforms-container input[type=text], .hb .wpforms-container input[type=email], .hb .wpforms-container textarea {
	font-family: var(--hb-font) !important; font-size: 16px !important; border: 2px solid var(--hb-line) !important;
	border-radius: 12px !important; padding: 12px 14px !important; height: auto !important; max-width: 100% !important; box-shadow: none !important;
}
.hb .wpforms-container input:focus, .hb .wpforms-container textarea:focus { border-color: var(--hb-mint) !important; }
.hb .wpforms-container button[type=submit] {
	font-family: var(--hb-font) !important; background: var(--hb-navy) !important; color: #fff !important; border: 0 !important;
	border-radius: 12px !important; padding: 14px 24px !important; height: auto !important; font-weight: 800 !important; font-size: 15px !important;
}
.hb .wpforms-container button[type=submit]:hover { background: var(--hb-coral) !important; color: #fff !important; }

/* ==========================================================================
   404
   ========================================================================== */
.hb-404 { background: var(--hb-bg-soft); border-bottom: 1px solid var(--hb-line); }
.hb-404__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-block: 56px; }
.hb-404__mascot { width: 160px; height: 160px; transform: rotate(-8deg); flex-shrink: 0; }
.hb-404__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.hb .hb-404__text h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.1; }
.hb-404__text > p { margin: 0; font-size: 18px; line-height: 1.6; }

.hb-404 .hb-pills a, .hb-archive-head .hb-pills a { background: #fff; }
.hb-404 .hb-pills a:hover { background: var(--hb-mint); }

/* Commentaires : on neutralise la mise en forme Blocksy du formulaire */
.hb .hb-comments .comment-respond { border: 1px solid var(--hb-line); }
.hb .hb-comments .comment-respond::before, .hb .hb-comments .comment-respond::after,
.hb .hb-comments .comment-reply-title::before, .hb .hb-comments .comment-reply-title::after { display: none; content: none; }
.hb .hb-comments .comment-reply-title { border: 0; padding: 0; }
.hb .hb-comments .comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hb .hb-comments .comment-form > * { grid-column: 1 / -1; margin: 0; }
.hb .hb-comments .comment-form .comment-form-author, .hb .hb-comments .comment-form .comment-form-email { grid-column: auto; }
@media (max-width: 600px) { .hb .hb-comments .comment-form .comment-form-author, .hb .hb-comments .comment-form .comment-form-email { grid-column: 1 / -1; } }
.hb .hb-comments .comment-form label { position: static; display: block; transform: none; background: none; padding: 0; margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb .hb-comments .comment-form input[type=text], .hb .hb-comments .comment-form input[type=email], .hb .hb-comments .comment-form textarea { width: 100%; max-width: none; min-height: 0; }
.hb .hb-comments .comment-form textarea { min-height: 140px; padding-top: 12px; }
.hb .hb-comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: center; }
.hb .hb-comments .comment-form-cookies-consent label { margin: 0; font-weight: 600; font-size: 14px; color: var(--hb-slate); }
.hb .hb-comments .comment-form-cookies-consent input { width: 18px; height: 18px; accent-color: var(--hb-mint-ink); }
.hb .hb-comment__reply a.comment-reply-link { outline: 0; border: 2px solid var(--hb-line); }
.hb .hb-comment__reply a.comment-reply-link:hover, .hb .hb-comment__reply a.comment-reply-link:focus-visible { border-color: var(--hb-coral); }

/* ==========================================================================
   Logo animé (léger) : petit saut à l'arrivée, remuement au survol
   ========================================================================== */
@keyframes hb-logo-hop {
	0%   { transform: translateY(0) scale(1, 1); }
	30%  { transform: translateY(-7px) scale(1.02, .98); }
	55%  { transform: translateY(0) scale(1.03, .96); }
	72%  { transform: translateY(-2px) scale(.99, 1.01); }
	100% { transform: translateY(0) scale(1, 1); }
}
@keyframes hb-logo-wiggle {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(-3deg) scale(1.03); }
	45% { transform: rotate(2.5deg) scale(1.03); }
	70% { transform: rotate(-1.5deg) scale(1.02); }
}
.hb-logo img { transform-origin: 50% 85%; animation: hb-logo-hop .9s cubic-bezier(.3, .7, .4, 1) .3s 1 both; }
.hb-logo:hover img, .hb-logo:focus-visible img { animation: hb-logo-wiggle .6s ease-in-out 1; }
.hb-newsletter__pitch img { transition: transform .3s ease; }
.hb-newsletter:hover .hb-newsletter__pitch img { transform: rotate(4deg) translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
	.hb-logo img, .hb-logo:hover img { animation: none; }
	.hb-newsletter:hover .hb-newsletter__pitch img { transform: rotate(-6deg); }
}

/* ==========================================================================
   CTA partenaire fixe (articles)
   ========================================================================== */
.hb-cta-bar {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(460px, calc(100vw - 32px));
	background: #fff; border: 1px solid var(--hb-line); border-radius: 18px;
	box-shadow: 0 20px 44px -16px rgba(25,42,61,.4); padding: 14px 16px 8px;
	transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.3,1), opacity .25s;
}
.hb-cta-bar[hidden] { display: none; }
.hb-cta-bar.is-visible { transform: none; opacity: 1; }
.hb-cta-bar__inner { display: flex; align-items: center; gap: 12px; }
.hb-cta-bar__mascot { width: 40px; height: 40px; flex-shrink: 0; transform: rotate(-6deg); }
.hb-cta-bar__text { margin: 0; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.hb-cta-bar__text strong { color: var(--hb-navy); font-weight: 900; font-size: 16px; }
.hb-cta-bar__text span { font-size: 13px; color: var(--hb-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-cta-bar__btn { flex-shrink: 0; padding: 12px 16px; font-size: 14px; white-space: nowrap; }
.hb-cta-bar__close {
	flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--hb-bg-soft);
	color: var(--hb-slate); font-size: 20px; line-height: 1; cursor: pointer; padding: 0;
}
.hb-cta-bar__close:hover { background: var(--hb-line); }
.hb-cta-bar__note { margin: 6px 0 0 52px; font-size: 11px; color: var(--hb-muted); }
.hb-side-cta__teaser { margin: 0; font-size: 14px; font-weight: 700; color: var(--hb-navy); }
@media (max-width: 720px) {
	.hb-cta-bar { left: 0; right: 0; bottom: 0; width: auto; border-radius: 16px 16px 0 0; border-bottom: 0; padding: 12px 14px 8px; }
	.hb-cta-bar__mascot { display: none; }
	.hb-cta-bar__note { margin-left: 0; }
	body.has-cta-bar { padding-bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { .hb-cta-bar { transition: none; } }

/* ==========================================================================
   Contenus enrichis des articles : images, fiches outils, frise d'étapes
   ========================================================================== */
.hb-prose .wp-block-image { margin-block: 2em; }
.hb-prose .wp-block-image img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hb-line); }
.hb-prose .wp-block-image figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--hb-muted); text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.hb-prose .wp-block-image figcaption a { color: var(--hb-mint-ink); }

.hb-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin: 1.6em 0 .6em; }
.hb-tool-card { border: 1px solid var(--hb-line); border-radius: 16px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.hb-tool-card__logo { height: 64px; display: flex; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--hb-bg-softer); }
.hb-tool-card__logo--dark { background: var(--hb-navy); }
.hb .hb-prose .hb-tool-card__logo img { height: 34px; width: auto; max-width: 100%; border: 0; border-radius: 0; object-fit: contain; }
.hb .hb-prose .hb-tool-card p { margin: 0; font-size: 15px; line-height: 1.5; }
.hb-tool-card__what { font-weight: 700; color: var(--hb-navy); }
.hb-tool-card__price strong { color: var(--hb-navy); font-size: 17px; }
.hb .hb-prose .hb-tool-card__note { font-size: 14px; color: var(--hb-muted); }
.hb-tool-card__links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hb .hb-prose .hb-tool-card__cta { background: var(--hb-navy); color: #fff; font-weight: 800; font-size: 14px; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.hb .hb-prose .hb-tool-card__cta:hover { background: var(--hb-coral); color: #fff; }
.hb .hb-prose .hb-tool-card__more { font-weight: 800; font-size: 14px; color: var(--hb-navy); }
.hb .hb-prose .hb-tools__date { font-size: 14px; color: var(--hb-muted); margin-top: 0; }

.hb .hb-prose .hb-steps { list-style: none; padding: 0; margin: 1.8em 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; counter-reset: step; }
.hb .hb-prose .hb-step { counter-increment: step; position: relative; margin: 0; padding: 22px 22px 18px; background: #fff; border: 1.5px solid var(--hb-line); border-radius: 18px; box-shadow: 0 10px 24px -18px rgba(25,42,61,.35); display: flex; flex-direction: column; }
.hb-step::before { content: ""; position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 12px; background: var(--hb-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23192A3D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.hb-step__when { display: block; padding-left: 54px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-mint-ink); }
.hb .hb-prose .hb-step__title { margin: 2px 0 0; padding-left: 54px; font-weight: 900; color: var(--hb-navy); font-size: 18px; line-height: 1.3; }
.hb-step__tag { display: inline-block; margin: 10px 0 0 54px; align-self: flex-start; font-size: 12.5px; font-weight: 800; color: var(--hb-navy); background: var(--hb-mint-soft); border-radius: 999px; padding: 3px 11px; }
.hb .hb-prose .hb-step ul { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; line-height: 1.5; counter-reset: sub; }
.hb .hb-prose .hb-step ul li { counter-increment: sub; position: relative; padding: 0 0 14px 36px; margin: 0; }
.hb .hb-prose .hb-step ul li::before { content: counter(sub); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--hb-mint); background: #fff; color: var(--hb-mint-ink); font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.hb .hb-prose .hb-step ul li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 27px; bottom: 3px; border-left: 2px dotted var(--hb-line); }
.hb .hb-prose .hb-step ul li:last-child { padding-bottom: 0; }
.hb-ui { display: inline-block; font-size: 13px; font-weight: 800; color: var(--hb-navy); background: var(--hb-bg-soft); border: 1px solid var(--hb-line); border-bottom-width: 2px; border-radius: 7px; padding: 0 7px; line-height: 1.6; white-space: nowrap; }
.hb-ui-sep { color: var(--hb-muted); margin: 0 3px; }
.hb .hb-prose .hb-step__src { display: none; } /* pied de carte « sources » abandonné le 15/11/2026 */

/* ==========================================================================
   Pictogrammes, mascotte H, composants communs (boîte à outils, fiches, bons plans)
   ========================================================================== */
.hb-ico { flex-shrink: 0; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mascotte : clignement, balancement, saut au survol, changement d'humeur */
.hb-m { display: block; flex-shrink: 0; overflow: visible; }
.hb-m__face { display: none; }
.hb-m[data-mood="hello"] .hb-m__face--hello, .hb-m[data-mood="happy"] .hb-m__face--happy,
.hb-m[data-mood="think"] .hb-m__face--think, .hb-m[data-mood="wow"] .hb-m__face--wow,
.hb-m[data-mood="wink"] .hb-m__face--wink, .hb-m[data-mood="sad"] .hb-m__face--sad { display: inline; }
.hb-m__body { transform-box: fill-box; transform-origin: 50% 100%; animation: hb-m-bob 3.6s ease-in-out infinite; }
.hb-m__eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: hb-m-blink 5s infinite; }
.hb-m[data-mood="think"] .hb-m__body { animation: hb-m-tilt 3s ease-in-out infinite; }
.hb-m[data-mood="happy"] .hb-m__body { animation: hb-m-hop 1.6s ease-in-out infinite; }
.hb-m[data-mood="wow"] .hb-m__body { animation: hb-m-pop .45s ease-out; }
.hb-m:hover .hb-m__body, .hb-say:hover .hb-m__body { animation: hb-m-jump .6s ease-out; }
@keyframes hb-m-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-4%) rotate(2deg); } }
@keyframes hb-m-tilt { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(4deg) translateY(-2%); } }
@keyframes hb-m-hop { 0%, 60%, 100% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(0) scale(1.06, .92); } 40% { transform: translateY(-14%) scale(.96, 1.04); } }
@keyframes hb-m-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.1, .95); } 100% { transform: scale(1); } }
@keyframes hb-m-jump { 0% { transform: none; } 30% { transform: translateY(-16%) rotate(-6deg); } 60% { transform: translateY(0) scale(1.05, .95); } 100% { transform: none; } }
@keyframes hb-m-blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .hb-m__body, .hb-m__eyes { animation: none !important; } }

/* Bulle de la mascotte */
.hb-say { display: flex; align-items: flex-end; gap: 14px; }
.hb-say__bubble {
	position: relative; margin: 0 0 18px; background: #fff; border: 2px solid var(--hb-navy); border-radius: 18px;
	padding: 14px 16px; font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--hb-navy);
	box-shadow: 4px 4px 0 var(--hb-mint);
}
.hb-say__bubble::before {
	content: ""; position: absolute; left: -11px; bottom: 16px; width: 18px; height: 18px; background: #fff;
	border-left: 2px solid var(--hb-navy); border-bottom: 2px solid var(--hb-navy); transform: rotate(45deg);
}
.hb-say__label { margin: 0 0 4px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-mint-ink); }
.hb-say__text { margin: 0; font-size: 16px; line-height: 1.5; }
.hb-say--hero { flex: 0 1 360px; }

/* En-tête de page (boîte à outils, bons plans) */
.hb-phead { background: var(--hb-bg-soft); border-bottom: 1px solid var(--hb-line); }
.hb-phead--deal { background: radial-gradient(700px 320px at 90% 10%, rgba(255,255,255,.4), transparent 65%), linear-gradient(135deg, #E96E6C 0%, #F49C8F 100%); border-bottom: 0; }
.hb-phead--deal .hb-phead__lead { color: #3A1715; font-weight: 600; }
.hb-phead--deal .hb-say__bubble { box-shadow: 4px 4px 0 var(--hb-navy); }
.hb-phead__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: 32px 36px; }
.hb-phead__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hb .hb-phead .hb-phead__title { margin: 0; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 900; letter-spacing: -0.02em; color: var(--hb-navy); }
.hb-phead__lead { margin: 0; font-size: 18px; line-height: 1.55; max-width: 640px; }
.hb-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hb-trust .hb-ico { color: var(--hb-mint-ink); }

/* Barre de filtres */
.hb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px; margin-bottom: 18px; background: #fff; border: 1px solid var(--hb-line); border-radius: 18px; box-shadow: 0 10px 30px -22px rgba(25,42,61,.45); }
.hb-toolbar__end { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.hb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-pill { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; padding: 8px 13px; border-radius: 999px; background: var(--hb-bg-soft); color: var(--hb-navy); border: 2px solid transparent; transition: background .15s, border-color .15s; }
.hb-pill:hover { border-color: var(--hb-navy); }
.hb-pill[aria-pressed="true"] { background: var(--hb-navy); color: #fff; }
.hb-pill__n { font-size: 12px; font-weight: 900; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(25,42,61,.08); text-align: center; }
.hb-pill[aria-pressed="true"] .hb-pill__n { background: var(--hb-mint); color: var(--hb-navy); }
.hb-search-field { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 2px solid var(--hb-line); border-radius: 12px; color: var(--hb-muted); }
.hb-search-field:focus-within { border-color: var(--hb-navy); }
.hb .hb-search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; padding: 11px 0; height: auto; color: var(--hb-navy); box-shadow: none; }
.hb-select { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px 0 12px; border: 2px solid var(--hb-line); border-radius: 12px; color: var(--hb-navy); }
.hb .hb-select select { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 800; color: var(--hb-navy); padding: 9px 8px; height: auto; cursor: pointer; box-shadow: none; }
.hb-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--hb-navy); cursor: pointer; }
.hb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hb-switch__track { width: 42px; height: 24px; border-radius: 999px; background: var(--hb-line); position: relative; transition: background .2s; }
.hb-switch__track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.hb-switch input:checked + .hb-switch__track { background: var(--hb-mint-ink); }
.hb-switch input:checked + .hb-switch__track::after { transform: translateX(18px); }
.hb-switch input:focus-visible + .hb-switch__track { outline: 3px solid var(--hb-navy); outline-offset: 2px; }

.hb-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 20px; text-align: center; background: var(--hb-bg-soft); border-radius: 20px; font-weight: 800; color: var(--hb-navy); }
.hb-empty[hidden] { display: none; }
.hb-empty p { margin: 0; }

.hb-eyebrow { margin: 0; }
.hb-eyebrow--mint { color: var(--hb-mint); }
.hb-eyebrow--gold { color: #8A6200; }
.hb-btn--block { display: flex; justify-content: center; }
.hb-btn--icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.hb-btn--icon.hb-btn--block { display: flex; }
.hb-src { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--hb-muted); }
.hb-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--hb-muted); }
.hb-note .hb-ico { margin-top: -2px; }
.hb-tool-logo { display: block; max-height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.hb-tool-logo--text { font-weight: 900; font-size: 19px; color: var(--hb-navy); max-height: none; }
.hb .hb-osec__title { margin: 0 0 22px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--hb-navy); line-height: 1.2; letter-spacing: -0.01em; }
.hb-osec { padding-block: 44px 4px; scroll-margin-top: 70px; }
.hb-faq__chev { margin-left: auto; transition: transform .2s; color: var(--hb-muted); }
details[open] > summary .hb-faq__chev { transform: rotate(180deg); }

/* ==========================================================================
   Boîte à outils (/outils/)
   ========================================================================== */
.hb-outils { padding-block: 28px 56px; }
.hb-outils__count { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--hb-muted); }
.hb-outils__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.hb-ocard {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff;
	border: 1px solid var(--hb-line); border-radius: 20px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.hb-ocard[hidden] { display: none; }
.hb-ocard:hover { border-color: var(--hb-mint); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(25,42,61,.5); }
.hb-ocard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hb-ocard__logo { height: 52px; padding: 0 14px; border-radius: 12px; background: var(--hb-bg-softer); border: 1px solid var(--hb-line); display: flex; align-items: center; }
.hb-ocard__logo .hb-tool-logo { max-height: 28px; max-width: 140px; }
.hb-flag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 900; padding: 5px 9px; border-radius: 8px; }
.hb-flag--free { background: var(--hb-mint-soft); color: var(--hb-mint-ink); }
.hb .hb-ocard__name { margin: 4px 0 0; font-size: 21px; font-weight: 900; line-height: 1.2; }
.hb-ocard__name a { color: var(--hb-navy); text-decoration: none; }
.hb-ocard__name a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.hb-ocard__rub { margin: -4px 0 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-ocard__tagline { margin: 0; font-size: 15px; line-height: 1.5; }
.hb-ocard__fit { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.hb-ocard__fit li { display: flex; gap: 8px; }
.hb-ocard__fit strong { color: var(--hb-navy); }
.hb-ocard__fit .is-yes .hb-ico { color: var(--hb-mint-ink); margin-top: 2px; }
.hb-ocard__fit .is-no .hb-ico { color: var(--hb-coral-ink); margin-top: 2px; }
.hb-ocard__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hb-line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.hb-ocard__price { display: inline-flex; align-items: center; gap: 6px; color: var(--hb-navy); }
.hb-ocard__price .hb-ico { color: var(--hb-mint-ink); }
.hb-ocard__more { display: inline-flex; align-items: center; gap: 4px; color: var(--hb-mint-ink); white-space: nowrap; }
.hb-ocard:hover .hb-ocard__more .hb-ico { transform: translateX(3px); transition: transform .15s; }

.hb-xlink { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--hb-coral-soft); color: var(--hb-navy); text-decoration: none; }
.hb-xlink:hover { background: #F9D3D2; color: var(--hb-navy); }
.hb-xlink > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-size: 15px; }
.hb-xlink strong { font-size: 17px; font-weight: 900; }
.hb-xlink__ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--hb-coral-ink); display: grid; place-items: center; flex-shrink: 0; }

/* ==========================================================================
   Fiche outil
   ========================================================================== */
.hb-ohero { background: var(--hb-bg-soft); border-bottom: 1px solid var(--hb-line); }
.hb-ohero__inner { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; padding-block: 28px 40px; }
.hb-ohero__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hb-ohero__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hb-ohero__logo { height: 60px; padding: 0 18px; border-radius: 14px; background: #fff; border: 1px solid var(--hb-line); display: inline-flex; align-items: center; }
.hb-checked { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--hb-mint-ink); }
.hb .hb-ohero__title { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 900; color: var(--hb-navy); letter-spacing: -0.02em; }
.hb-ohero__lead { margin: 0; font-size: 18px; line-height: 1.55; }
.hb-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; background: #fff; border: 1px solid var(--hb-line); border-radius: 12px; font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb-facts .hb-ico { color: var(--hb-mint-ink); }
.hb-ohero__side { flex: 0 1 420px; display: flex; flex-direction: column; gap: 12px; }
.hb-ohero__side .hb-say { margin-bottom: 4px; }
.hb-ohero__side .hb-say__bubble { flex: 1; }
.hb-ohero__note { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--hb-muted); justify-content: center; }

/* Onglets collants */
.hb-otabs { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--hb-line); }
.hb-otabs.is-stuck { box-shadow: 0 8px 24px -18px rgba(25,42,61,.5); }
.admin-bar .hb-otabs { top: 32px; }
.hb-otabs__inner { display: flex; align-items: center; gap: 12px; }
.hb-otabs__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.hb-otabs__list::-webkit-scrollbar { display: none; }
.hb-otabs__list a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 14px 12px 11px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 800; color: var(--hb-slate); text-decoration: none; }
.hb-otabs__list li:first-child a { padding-left: 0; }
.hb-otabs__list a:hover { color: var(--hb-navy); }
.hb-otabs__list a[aria-current="true"] { color: var(--hb-navy); border-bottom-color: var(--hb-mint); }
.hb-otabs__list a[aria-current="true"] .hb-ico { color: var(--hb-mint-ink); }
.hb-otabs__cta { flex-shrink: 0; display: none; padding: 9px 14px; border-radius: 10px; background: var(--hb-coral); color: #fff; font-size: 14px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.hb-otabs__cta:hover { background: var(--hb-navy); color: #fff; }
.hb-otabs.is-stuck .hb-otabs__cta { display: inline-block; }

/* Raisons */
.hb-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.hb-reason { border: 1px solid var(--hb-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.hb-reason__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--hb-mint-soft); color: var(--hb-mint-ink); display: grid; place-items: center; margin-bottom: 4px; }
.hb .hb-reason h3 { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.3; color: var(--hb-navy); }
.hb-reason p { margin: 0; font-size: 15px; line-height: 1.55; }
.hb-reason .hb-src { margin-top: auto; padding-top: 4px; }

/* Pour qui */
.hb-fit { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.hb-fit__col { border-radius: 20px; padding: 22px; color: var(--hb-navy); }
.hb-fit__col--yes { background: var(--hb-mint-soft); }
.hb-fit__col--no { background: var(--hb-coral-soft); }
.hb-fit__title { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 17px; }
.hb-fit__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.hb-fit__col li { display: flex; gap: 10px; }
.hb-fit__mark { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; box-sizing: border-box; margin-top: -1px; }
.hb-fit__col--yes .hb-fit__mark { color: var(--hb-mint-ink); }
.hb-fit__col--no .hb-fit__mark { color: var(--hb-coral-ink); }
.hb-alt { display: inline-flex; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 900; color: var(--hb-navy); text-decoration: none; }
a.hb-alt:hover { background: var(--hb-navy); color: #fff; }
.hb-fit__col li > span { display: flex; flex-direction: column; align-items: flex-start; }

/* Aide au choix */
.hb-decide { background: var(--hb-navy); border-radius: 26px; padding: clamp(22px, 4vw, 36px); color: #fff; }
.hb-decide__head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px; }
.hb .hb-decide .hb-decide__title { margin: 6px 0 4px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #fff; line-height: 1.2; }
.hb-decide__q { margin: 0; font-size: 16px; color: #C9D3DD; }
.hb-decide__needs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hb-decide__need { font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; border: 2px solid rgba(255,255,255,.3); transition: transform .15s, background .15s; }
.hb-decide__need:hover { border-color: var(--hb-mint); transform: translateY(-1px); }
.hb-decide__need[aria-pressed="true"] { background: var(--hb-mint); color: var(--hb-navy); border-color: var(--hb-mint); }
.hb-decide__rec { margin-top: 20px; background: #fff; border-radius: 18px; padding: 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: var(--hb-slate); animation: hb-rise .3s ease-out; }
.hb-decide__rec[hidden] { display: none; }
@keyframes hb-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hb-decide__rec-logo { flex: 0 0 auto; height: 56px; min-width: 150px; padding: 0 16px; border-radius: 12px; background: var(--hb-bg-soft); display: flex; align-items: center; justify-content: center; }
.hb-decide__rec-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 6px; }
.hb-decide__rec-text p { margin: 0; font-size: 15px; line-height: 1.55; }
.hb-decide__rec-text .hb-decide__rec-tool { font-size: 20px; font-weight: 900; color: var(--hb-navy); }
@media (max-width: 560px) { .hb-decide__m { width: 60px; height: 60px; } }

/* Comparatif */
.hb-compare { overflow-x: auto; border: 1px solid var(--hb-line); border-radius: 18px; }
.hb-compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; margin: 0; }
.hb-compare th, .hb-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-top: 1px solid var(--hb-line); }
.hb-compare thead th { border-top: 0; background: var(--hb-bg-soft); color: var(--hb-navy); font-weight: 900; }
.hb-compare thead th:first-child { color: var(--hb-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hb-compare tbody th { color: var(--hb-navy); font-weight: 800; width: 22%; }
.hb-compare .is-self { background: #F4FCF8; }
.hb-compare thead .is-self { background: var(--hb-mint-soft); }

/* Avis */
.hb-oreviews { background: var(--hb-bg-soft); margin-top: 44px; }
.hb-oreviews .hb-osec { padding-block: 44px; }
.hb-oreviews__head .hb-osec__title { margin-bottom: 8px; }
.hb-oreviews__method { margin: 0 0 20px; display: flex; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--hb-muted); max-width: 820px; }
.hb-oreviews__method .hb-ico { margin-top: 2px; }
.hb-ratings { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hb-ratings li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: #fff; border-radius: 14px; text-decoration: none; color: var(--hb-navy); }
.hb-ratings__score { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 900; }
.hb-ratings__score .hb-ico { color: #E0A100; fill: #F5C542; }
.hb-ratings__site { font-size: 13px; color: var(--hb-muted); font-weight: 700; }
.hb-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.hb-themes__box { background: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.hb-themes__title { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--hb-navy); font-size: 17px; }
.hb-themes__box--mint .hb-themes__title .hb-ico { color: var(--hb-mint-ink); }
.hb-themes__box--coral .hb-themes__title .hb-ico { color: var(--hb-coral-ink); }
.hb-theme { display: flex; flex-direction: column; gap: 6px; }
.hb-theme__head { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--hb-navy); }
.hb-theme__head span:last-child:not(:first-child) { flex: 0 0 auto; color: var(--hb-muted); font-weight: 700; font-size: 13px; }
.hb-theme__bar { height: 8px; border-radius: 999px; background: var(--hb-bg-soft); overflow: hidden; }
.hb-theme__fill { display: block; height: 100%; border-radius: 999px; }
.hb-themes__box--mint .hb-theme__fill { background: var(--hb-mint); }
.hb-themes__box--coral .hb-theme__fill { background: var(--hb-coral); }
.hb-quotes { margin-top: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.hb-quote { scroll-snap-align: start; margin: 0; background: #fff; border-radius: 18px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.hb-quote__ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--hb-mint-soft); color: var(--hb-mint-ink); }
.hb-quote--neg .hb-quote__ico { background: var(--hb-coral-soft); color: var(--hb-coral-ink); }
.hb-quote blockquote { margin: 0; font-size: 16px; line-height: 1.5; color: var(--hb-navy); font-weight: 700; border: 0; padding: 0; }
.hb-quote figcaption { margin-top: auto; font-size: 12.5px; color: var(--hb-muted); }

/* Formules */
.hb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.hb-plan { border: 1px solid var(--hb-line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.hb-plan p { margin: 0; }
.hb-plan__name { font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-mint-ink); }
.hb-plan__price { font-size: 22px; font-weight: 900; color: var(--hb-navy); line-height: 1.2; }
.hb-plan__for { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; font-weight: 800; color: var(--hb-navy); background: var(--hb-bg-soft); border-radius: 10px; padding: 7px 10px; }
.hb-plan__for .hb-ico { margin-top: 2px; color: var(--hb-mint-ink); }
.hb-plan__note { font-size: 14px; line-height: 1.5; color: var(--hb-muted); }

/* Appel à l'action de fin de fiche */
.hb-octa { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 24px 28px; border-radius: 24px; background: var(--hb-mint-soft); }
.hb-octa__text { flex: 1 1 280px; }
.hb-octa__text p { margin: 0; }
.hb-octa__title { font-size: 22px; font-weight: 900; color: var(--hb-navy); margin-bottom: 2px !important; }

/* FAQ et sources */
.hb-faq { display: flex; flex-direction: column; gap: 10px; }
.hb-faq__item { border: 1px solid var(--hb-line); border-radius: 14px; padding: 0 18px; background: #fff; }
.hb-faq__item[open] { border-color: var(--hb-mint); }
.hb-faq__item summary, .hb-sources summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 16px 0; font-weight: 800; color: var(--hb-navy); font-size: 16.5px; }
.hb-faq__item summary::-webkit-details-marker, .hb-sources summary::-webkit-details-marker, .hb-deal__more summary::-webkit-details-marker { display: none; }
.hb-faq__item p { margin: 0 0 16px; line-height: 1.65; }
.hb-sources summary { font-size: 15px; }
.hb-sources ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; columns: 2 320px; }
.hb-sources a { color: var(--hb-muted); word-break: break-word; }
.hb-outil ~ section.hb-newsletter { margin-top: 48px; }

/* ==========================================================================
   Bons plans
   ========================================================================== */
.hb-phead--deal .hb-phead__inner { padding-block: 28px 30px; }
.hb-bp { padding-block: 28px 8px; }
.hb-chipbar { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hb-chipbar::-webkit-scrollbar { display: none; }
.hb-chipbtn {
	flex-shrink: 0; font: inherit; font-size: 14.5px; font-weight: 800; white-space: nowrap; cursor: pointer;
	padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--hb-navy); border: 1.5px solid var(--hb-line);
	transition: background .15s, color .15s, border-color .15s;
}
.hb-chipbtn:hover { background: var(--hb-bg-soft); }
.hb-chipbtn[aria-pressed="true"] { background: var(--hb-navy); color: #fff; border-color: var(--hb-navy); }

.hb-deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.hb-deal { display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--hb-line); border-radius: 20px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.hb-deal:hover { transform: translateY(-3px); border-color: var(--hb-mint); box-shadow: 0 18px 36px -24px rgba(25,42,61,.5); }
.hb-deal[hidden] { display: none; }
.hb-deal__logo { height: 36px; display: flex; align-items: center; }
.hb-deal__logo .hb-tool-logo { max-height: 28px; max-width: 130px; }
.hb-deal__logo .hb-tool-logo--text { font-size: 18px; }
.hb-deal__headline { margin: 16px 0 4px; font-size: 26px; font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; color: var(--hb-navy); }
.hb-deal__saving { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-deal__foot { margin-top: auto; padding-top: 16px; }
.hb-deal__foot::before { content: ""; display: block; margin: 0 -20px 14px; border-top: 2px dashed var(--hb-line); }
.hb-deal__note { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: var(--hb-muted); }
.hb-deal__code { width: 100%; justify-content: center; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; padding: 10px 14px; border-radius: 12px; letter-spacing: .04em; background: #fff; color: var(--hb-navy); border: 2px dashed var(--hb-mint-ink); }
.hb-deal__code.is-copied { background: var(--hb-mint); border-style: solid; }
.hb-deal .hb-btn { padding: 13px 16px; font-size: 15px; }

.hb-bp-programs { background: var(--hb-bg-soft); margin-top: 44px; padding-block: 40px 44px; }
.hb-bp-programs .hb-osec__title { margin-bottom: 16px; }
.hb-bp-programs .hb-chipbtn { border-color: var(--hb-line); }
.hb-bp-programs .hb-chipbtn[aria-pressed="true"] { border-color: var(--hb-navy); }
.hb-programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.hb-program { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: #fff; border-radius: 18px; text-decoration: none; color: var(--hb-slate); transition: transform .15s, box-shadow .15s; }
.hb-program:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(25,42,61,.5); color: var(--hb-slate); }
.hb-program[hidden] { display: none; }
.hb-program__name { font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-coral-ink); }
.hb-program__headline { font-size: 18px; font-weight: 900; line-height: 1.3; color: var(--hb-navy); }
.hb-program__who { display: flex; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--hb-muted); }
.hb-program__who .hb-ico { margin-top: 2px; }
.hb-program__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-bp-foot { margin-block: 20px 40px; font-size: 13px; color: var(--hb-muted); text-align: center; }

@media (max-width: 720px) {
	.hb-say--hero { display: none; }
	.hb-toolbar { padding: 12px; }
	.hb-toolbar .hb-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding-inline: 12px; width: calc(100% + 24px); }
	.hb-toolbar .hb-pill { white-space: nowrap; }
	.hb-toolbar__end { margin-left: 0; width: 100%; flex-wrap: nowrap; }
	.hb-toolbar__end .hb-select { flex: 1 1 0; min-width: 0; }
	.hb .hb-toolbar__end select { width: 100%; }
	.hb-ohero__side .hb-say__m { width: 60px; height: 60px; }
	.hb-decide__head { align-items: flex-start; }
}

.hb-prose .hb-code__source { margin-top: -0.6em; font-size: 14px; color: var(--hb-muted); }

/* Héros menthe (fiche outil, boîte à outils, meilleurs outils) : se détachent de la barre des rubriques */
.hb-ohero, .hb-phead:not(.hb-phead--deal) {
	background: radial-gradient(700px 320px at 90% 10%, rgba(255,255,255,.45), transparent 65%), linear-gradient(135deg, #49DDA3 0%, #7FE8C0 100%);
	border-bottom: 0; color: var(--hb-navy);
}
.hb-ohero .hb-ohero__lead, .hb-phead:not(.hb-phead--deal) .hb-phead__lead { color: #1F3B33; }
.hb-ohero .hb-crumbs, .hb-ohero .hb-crumbs a, .hb-phead:not(.hb-phead--deal) .hb-crumbs, .hb-phead:not(.hb-phead--deal) .hb-crumbs a { color: #1F4A3C; }
.hb-ohero .hb-crumbs a:hover, .hb-phead:not(.hb-phead--deal) .hb-crumbs a:hover { color: var(--hb-navy); }
.hb-ohero .hb-ohero__logo { border-color: transparent; box-shadow: 0 8px 20px -14px rgba(25,42,61,.6); }
.hb-ohero .hb-facts li { background: rgba(255,255,255,.75); border-color: transparent; }
.hb-ohero .hb-facts .hb-ico { color: var(--hb-mint-ink); }
.hb-ohero .hb-ohero__note { color: #1F4A3C; }
.hb-ohero .hb-say__bubble, .hb-phead:not(.hb-phead--deal) .hb-say__bubble { box-shadow: 4px 4px 0 var(--hb-navy); }
.hb-ohero .hb-btn--coral:hover { background: var(--hb-navy); }

/* ==========================================================================
   Meilleurs outils (palmarès)
   ========================================================================== */
.hb-btn--sm { padding: 10px 14px; font-size: 14px; }
.hb-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.hb-pick { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--hb-line); border-radius: 20px; background: #fff; }
.hb-pick.is-top { border: 2px solid var(--hb-mint); box-shadow: 0 18px 36px -26px rgba(25,42,61,.5); }
.hb-pick__profile { margin: 0; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--hb-mint-soft); color: var(--hb-mint-ink); font-size: 13px; font-weight: 900; }
.hb-pick__logo { height: 40px; display: flex; align-items: center; }
.hb-pick__logo .hb-tool-logo { max-height: 32px; }
.hb-pick__why { margin: 0; font-size: 15px; line-height: 1.5; color: var(--hb-slate); }
.hb-pick__actions { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.hb-pick__actions .hb-btn { padding: 11px 15px; font-size: 14px; }
.hb-pick__fiche, .hb-rank__fiche { font-size: 14px; font-weight: 800; color: var(--hb-navy); }

.hb-compare__tool { display: flex; align-items: center; height: 34px; }
.hb-compare__tool .hb-tool-logo { max-height: 26px; max-width: 120px; }
.hb-compare--sticky tbody th, .hb-compare--sticky thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--hb-line); }
.hb-compare--sticky thead th:first-child { background: var(--hb-bg-soft); }
.hb-compare--sticky td { min-width: 170px; }
.hb-yes, .hb-no, .hb-rate { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; }
.hb-yes { color: var(--hb-mint-ink); }
.hb-no { color: var(--hb-coral-ink); }
.hb-rate { color: var(--hb-navy); }
.hb-rate .hb-ico { color: #E0A100; fill: #F5C542; }
.hb-compare__cta td, .hb-compare__cta th { background: var(--hb-bg-softer); }

.hb-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.hb-rank__item { display: grid; grid-template-columns: 180px 1fr 230px; gap: 20px 28px; align-items: center; padding: 22px; border: 1px solid var(--hb-line); border-radius: 22px; background: #fff; scroll-margin-top: 80px; }
.hb-rank__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hb-rank__num { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--hb-navy); border: 2px solid var(--hb-navy); box-shadow: 3px 3px 0 var(--hb-navy); font-weight: 900; font-size: 22px; line-height: 1; display: grid; place-items: center; transform: rotate(-4deg); font-variant-numeric: tabular-nums; }
.hb-rank__item:nth-child(1) .hb-rank__num { background: #F6C945; }
.hb-rank__item:nth-child(2) .hb-rank__num { background: var(--hb-mint); transform: rotate(3deg); }
.hb-rank__item:nth-child(3) .hb-rank__num { background: var(--hb-coral-soft); }
.hb-rank__item:nth-child(even) .hb-rank__num { transform: rotate(3deg); }
.hb-rank__logo { height: 40px; display: flex; align-items: center; }
.hb-rank__logo .hb-tool-logo { max-height: 32px; max-width: 160px; }
.hb .hb-rank__name { margin: 0 0 6px; font-size: 22px; font-weight: 900; color: var(--hb-navy); }
.hb-rank__verdict { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; }
.hb-rank__cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.hb-rank__price { margin: 0; font-size: 15px; font-weight: 900; color: var(--hb-navy); }
@media (max-width: 900px) {
	.hb-rank__item { grid-template-columns: 1fr; }
	.hb-rank__side { flex-direction: row; align-items: center; flex-wrap: wrap; }
	.hb-rank__cta { text-align: left; }
}

/* Boîte à outils : accès aux pages « Meilleurs outils » */
.hb-bests { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.hb-bests__label { font-size: 14px; font-weight: 900; color: var(--hb-navy); margin-right: 4px; }
.hb-bests a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; background: var(--hb-mint-soft); color: var(--hb-navy); font-size: 14px; font-weight: 800; text-decoration: none; }
.hb-bests a:hover { background: var(--hb-mint); }
.hb .hb-osec .hb-compare { padding: 0; }
.hb .hb-osec .hb-compare table { border: 0; }

/* Encart « À lire aussi » : ancien article → fiche outil */
.hb-fichebox { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; padding: 16px 20px; border: 2px solid var(--hb-navy); border-radius: 18px; background: var(--hb-mint-soft, #E3F9F0); box-shadow: 4px 4px 0 var(--hb-navy); color: var(--hb-navy); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hb-fichebox:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hb-navy); color: var(--hb-navy); }
.hb-fichebox__logo { flex-shrink: 0; width: 120px; height: 56px; display: grid; place-items: center; padding: 8px 12px; border-radius: 12px; background: #fff; }
.hb-fichebox__logo img { max-width: 100%; max-height: 40px; width: auto; height: auto; }
.hb-fichebox__text { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.35; }
.hb-fichebox__text strong { font-size: 16px; font-weight: 800; }
.hb-fichebox__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--hb-mint-ink, #0E7A54); }
.hb-fichebox__price { font-size: 14px; color: var(--hb-slate, #3A4F66); }
.hb-fichebox__go { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hb-navy); color: #fff; }
@media (max-width: 600px) { .hb-fichebox { flex-wrap: wrap; } .hb-fichebox__go { display: none; } }

/* ---------- Accueil : pages « Meilleurs outils » et fiches mises en avant ---------- */
.hb-section-head .hb-eyebrow { display: block; margin-bottom: 6px; }
.hb-section-head__more { font-weight: 800; color: var(--hb-mint-ink); text-decoration: none; white-space: nowrap; }
.hb-section-head__more:hover { color: var(--hb-coral-ink); }
.hb-bestband { background: var(--hb-mint-soft); }
.hb-bestgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.hb-best {
	display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border-radius: var(--hb-radius);
	background: #fff; border: 2px solid var(--hb-navy); box-shadow: 4px 4px 0 var(--hb-navy);
	color: var(--hb-slate); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.hb-best:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hb-navy); color: var(--hb-slate); }
.hb-best__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hb-best__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--hb-mint-soft); color: var(--hb-mint-ink); display: grid; place-items: center; }
.hb-best__n { font-size: 12.5px; font-weight: 800; color: var(--hb-muted); }
.hb-best__title { font-size: 19px; font-weight: 900; line-height: 1.25; color: var(--hb-navy); }
.hb-best__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: auto; }
.hb-best__logos span { height: 34px; border-radius: 8px; background: var(--hb-bg-softer); border: 1px solid var(--hb-line); display: flex; align-items: center; justify-content: center; padding: 0 6px; overflow: hidden; }
.hb-best__logos img { max-height: 16px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.hb-best__more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-best:hover .hb-best__more { color: var(--hb-coral-ink); }
.hb-compband { padding-block: 52px 8px; }
.hb-fichesband { margin-top: 40px; }
.hb-fichesband__lead { margin: -12px 0 22px; max-width: 680px; }
.hb-fichesband .hb .hb-ocard__name, .hb-fichesband .hb-ocard__name { margin: 4px 0 0; font-size: 21px; font-weight: 900; line-height: 1.2; }
.hb-fichesband .hb-ocard { background: #fff; }

/* ---------- Accueil : accroche ---------- */
.hb-promise { background: var(--hb-navy); color: #fff; }
.hb-promise__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 12px 24px; padding-block: 14px; }
.hb .hb-promise__title { margin: 0; color: #fff; font-size: clamp(16px, 1.6vw, 19px); font-weight: 800; line-height: 1.35; }
.hb-promise__title span { color: var(--hb-mint); }
.hb-promise__links { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-promise__links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.hb-promise__links a:hover { background: var(--hb-mint); color: var(--hb-navy); }

/* ---------- Duel « X vs Y » ---------- */
.hb-duel__vs { display: flex; align-items: center; gap: 14px; }
.hb-duel__logo { height: 64px; min-width: 120px; padding: 0 16px; border-radius: 14px; background: #fff; border: 2px solid var(--hb-navy); box-shadow: 4px 4px 0 var(--hb-navy); display: flex; align-items: center; justify-content: center; }
.hb-duel__logo .hb-tool-logo, .hb-duel__logo img { max-height: 30px; max-width: 150px; width: auto; height: auto; }
.hb-duel__x { font-size: 26px; font-weight: 900; color: var(--hb-coral-ink); }
.hb-duel__sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.hb-duel__side { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--hb-radius); background: #fff; border: 1px solid var(--hb-line); }
.hb-duel__sidehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.hb-duel__sidehead .hb-duel__logo { height: 52px; min-width: 0; box-shadow: none; border: 1px solid var(--hb-line); background: var(--hb-bg-softer); }
.hb-duel__price { font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb .hb-duel__title { margin: 0; font-size: 20px; font-weight: 900; }
.hb-duel__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; line-height: 1.5; }
.hb-duel__list li { display: flex; gap: 8px; }
.hb-duel__list .hb-ico { color: var(--hb-mint-ink); flex: none; margin-top: 3px; }
.hb-duel__side .hb-pick__actions { margin-top: auto; }
.hb-duel__verdict { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--hb-radius); background: var(--hb-mint-soft); }
.hb-duel__verdict p { margin: 0 0 10px; }
.hb-duel__verdict .hb-osec__title { margin-top: 0; }
@media (max-width: 600px) { .hb-duel__vs { width: 100%; justify-content: center; } .hb-duel__logo { min-width: 0; } .hb-duel__verdict { flex-direction: column; } }

/* === Boîte à outils (refonte) === */
/* Bandeau : chiffres clés */
.hb-phead--tb .hb-phead__inner { padding-block: 28px 34px; }
.hb-tb-stats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-tb-stats li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--hb-navy); font-size: 14px; font-weight: 700; }
.hb-tb-stats strong { font-size: 17px; font-weight: 900; }

.hb-tb { padding-block: 44px 64px; }
.hb-tb-sec + .hb-tb-sec { margin-top: 56px; }
.hb-tb-head { margin-bottom: 20px; }
.hb-tb-head__kicker { margin: 0 0 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-mint-ink); }
.hb .hb-tb-head__title { margin: 0; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; }

/* Comparatifs « Meilleurs outils » */
.hb-tb-bests__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hb-tbest { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico title" "logos logos" "go go"; align-items: center; gap: 14px 12px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, #fff 0%, var(--hb-bg-softer) 100%); border: 1px solid var(--hb-line); transition: border-color .15s, transform .15s, box-shadow .15s; }
.hb-tbest:hover { border-color: var(--hb-navy); transform: translateY(-3px); box-shadow: 4px 4px 0 var(--hb-navy); }
.hb-tbest:focus-within { border-color: var(--hb-navy); }
.hb-tbest__ico { grid-area: ico; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--hb-mint-soft); color: var(--hb-mint-ink); }
.hb .hb-tbest__title { grid-area: title; margin: 0; font-size: 18px; line-height: 1.25; font-weight: 900; }
.hb-tbest__title a { color: var(--hb-navy); text-decoration: none; }
.hb-tbest__title a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.hb-tbest__title a:focus-visible { outline: none; }
.hb-tbest:has(a:focus-visible) { outline: 3px solid var(--hb-navy); outline-offset: 2px; }
.hb-tbest__logos { grid-area: logos; display: flex; align-items: center; gap: 6px; min-width: 0; }
.hb-tbest__logo { flex: 0 1 auto; min-width: 0; height: 38px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--hb-line); display: flex; align-items: center; }
.hb-tbest__logo .hb-tool-logo { max-height: 18px; max-width: 78px; }
.hb-tbest__logo .hb-tool-logo--text { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 78px; }
.hb-tbest__more { flex: none; height: 38px; min-width: 38px; padding: 0 8px; box-sizing: border-box; border-radius: 10px; display: grid; place-items: center; background: var(--hb-navy); color: #fff; font-size: 13px; font-weight: 900; }
.hb-tbest__go { grid-area: go; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--hb-line); font-size: 13px; font-weight: 800; color: var(--hb-muted); }
.hb-tbest__go .hb-ico { color: var(--hb-navy); transition: transform .15s; }
.hb-tbest:hover .hb-tbest__go .hb-ico { transform: translateX(4px); }

/* Barre de filtres */
.hb-tb-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-direction: column; gap: 12px; padding: 14px 0 12px; background: #fff; border-bottom: 1px solid var(--hb-line); }
.admin-bar .hb-tb-bar { top: 32px; }
.hb-tb-bar__row { display: flex; align-items: center; gap: 12px 24px; }
.hb-tb-search { flex: 1 1 auto; max-width: 560px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 48px; border-radius: 999px; background: var(--hb-bg-soft); border: 2px solid transparent; color: var(--hb-muted); transition: border-color .15s, background .15s; }
.hb-tb-search:focus-within { background: #fff; border-color: var(--hb-navy); }
.hb .hb-tb-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; box-shadow: none; font: inherit; font-size: 16px; color: var(--hb-navy); }
.hb .hb-tb-search input:focus, .hb .hb-tb-search input:focus-visible { outline: none; box-shadow: none; }
.hb-tb-free { margin-left: auto; flex: none; }
.hb-tb-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
.hb-tb-tabs::-webkit-scrollbar { display: none; }
.hb-tb-tab { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--hb-slate); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; position: relative; transition: background .15s, color .15s; }
.hb-tb-tab .hb-ico { color: var(--hb-muted); }
.hb-tb-tab:hover { background: var(--hb-bg-soft); color: var(--hb-navy); }
.hb-tb-tab__n { font-size: 12px; font-weight: 800; color: var(--hb-muted); }
.hb-tb-tab[aria-pressed="true"] { background: var(--hb-mint-soft); color: var(--hb-navy); }
.hb-tb-tab[aria-pressed="true"] .hb-ico, .hb-tb-tab[aria-pressed="true"] .hb-tb-tab__n { color: var(--hb-mint-ink); }
.hb-tb-count { margin: 18px 0 0; font-size: 14px; font-weight: 800; color: var(--hb-muted); }

/* Groupes par rubrique */
.hb-tb-group { margin-top: 28px; }
.hb-tb-group[hidden] { display: none; }
.hb .hb-tb-group__title { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; line-height: 1.2; }
.hb-tb-group__ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--hb-navy); color: var(--hb-mint); }
.hb-tb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

/* Carte outil compacte */
.hb-tcard { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: #fff; border: 1px solid var(--hb-line); overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.hb-tcard[hidden] { display: none; }
.hb-tcard:hover { border-color: var(--hb-mint); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(25,42,61,.55); }
.hb-tcard:has(a:focus-visible) { outline: 3px solid var(--hb-navy); outline-offset: 2px; }
.hb-tcard__logo { height: 84px; padding: 0 20px; display: flex; align-items: center; justify-content: center; background: var(--hb-bg-softer); border-bottom: 1px solid var(--hb-line); transition: background .15s; }
.hb-tcard:hover .hb-tcard__logo { background: var(--hb-mint-soft); }
.hb-tcard__logo .hb-tool-logo { max-height: 36px; max-width: 150px; }
.hb-tcard__logo .hb-tool-logo--text { font-size: 20px; }
.hb-tcard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px; }
.hb .hb-tcard__name { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 900; }
.hb-tcard__name a { color: var(--hb-navy); text-decoration: none; }
.hb-tcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px; }
.hb-tcard__name a:focus-visible { outline: none; }
.hb-tcard__ideal { margin: 0; font-size: 14px; line-height: 1.45; color: var(--hb-slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-tcard__ideal span { color: var(--hb-muted); }
.hb-tcard__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.hb-tcard__price { margin: 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; line-height: 1.35; font-weight: 800; color: var(--hb-navy); }
.hb-tcard__free { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--hb-mint-soft); color: var(--hb-mint-ink); font-size: 12px; font-weight: 900; white-space: nowrap; }
.hb-tcard__then { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-tcard__go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hb-bg-soft); color: var(--hb-navy); transition: background .15s, transform .15s; }
.hb-tcard:hover .hb-tcard__go { background: var(--hb-mint); transform: translateX(2px); }

.hb-tb .hb-empty { margin-top: 28px; }
.hb-tb .hb-xlink { margin-top: 48px; }

@media (max-width: 1080px) {
	.hb-tb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hb-tb-bests__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
	.hb-tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.hb-phead--tb .hb-say { display: none; }
	.hb-tb { padding-block: 28px 48px; }
	.hb-tb-sec + .hb-tb-sec { margin-top: 40px; }
	/* Comparatifs : carrousel horizontal */
	.hb-tb-bests__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
	.hb-tb-bests__list::-webkit-scrollbar { display: none; }
	.hb-tbest { flex: 0 0 82%; scroll-snap-align: start; box-sizing: border-box; padding: 16px; }
	.hb-tbest__logo { padding: 0 7px; height: 34px; }
	.hb-tbest__logo .hb-tool-logo { max-width: 52px; max-height: 16px; }
	.hb-tbest__more { height: 34px; min-width: 34px; }
	.hb-tbest:hover { transform: none; }
	.hb-tb-bar { position: static; margin-inline: -16px; padding-inline: 16px; }
	.hb-tcard__then { -webkit-line-clamp: 3; }
	.hb-tb-bar__row { flex-wrap: wrap; }
	.hb-tb-search { flex-basis: 100%; max-width: none; height: 44px; }
	.hb-tb-free { margin-left: 0; }
	.hb-tb-tabs { margin-inline: -16px; padding-inline: 16px; }
	/* Cartes : format liste, logo à gauche */
	.hb-tb-grid { grid-template-columns: 1fr; gap: 10px; }
	.hb-tcard { flex-direction: row; }
	.hb-tcard__logo { flex: 0 0 96px; height: auto; padding: 0 10px; border-bottom: 0; border-right: 1px solid var(--hb-line); }
	.hb-tcard__logo .hb-tool-logo { max-height: 26px; max-width: 76px; }
	.hb-tcard__logo .hb-tool-logo--text { font-size: 14px; }
	.hb-tcard__body { padding: 12px 14px; min-width: 0; }
	.hb-tcard__go { width: 30px; height: 30px; }
}

/* === Fiche outil : formules (refonte) === */
.hb-plans2__hint { display: none; }
.hb-plans2 { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px 16px; }
.hb-plans2[data-count="1"] { max-width: 420px; }
.hb-plans2[data-count="2"] { max-width: 840px; }
.hb-plans2:focus-visible { outline: 3px solid var(--hb-mint); outline-offset: 6px; border-radius: 24px; }
.hb-plan2 { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 14px; align-content: start; padding: 22px 20px 20px; background: #fff; border: 1px solid var(--hb-line); border-radius: 20px; box-shadow: 0 1px 2px rgba(25, 42, 61, .04), 0 10px 28px -16px rgba(25, 42, 61, .18); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hb-plan2:hover { transform: translateY(-3px); border-color: var(--hb-mint); box-shadow: 0 2px 4px rgba(25, 42, 61, .05), 0 18px 36px -18px rgba(25, 42, 61, .28); }
.hb-plan2 p { margin: 0; }
.hb-plan2__head { grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; align-self: start; }
.hb-plan2__price { grid-row: 2; }
.hb-plan2__for { grid-row: 3; }
.hb-plan2__body { grid-row: 4; }
.hb .hb-plan2__name { margin: 0; font-size: 19px; font-weight: 900; line-height: 1.25; color: var(--hb-navy); letter-spacing: -0.01em; }
.hb-plan2__tag { font-size: 12px; font-weight: 800; color: var(--hb-muted); background: var(--hb-bg-soft); border-radius: 999px; padding: 3px 9px; line-height: 1.3; }
.hb-plan2__badge { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 900; letter-spacing: .02em; color: var(--hb-navy); background: var(--hb-mint); border-radius: 999px; padding: 4px 10px; line-height: 1.2; }
.hb-plan2__price { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--hb-bg-softer); border: 1px solid var(--hb-bg-soft); }
.hb-plan2.is-free .hb-plan2__price { background: var(--hb-mint-soft); border-color: transparent; }
.hb-plan2__from { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--hb-muted); }
.hb-plan2__main { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 2px; color: var(--hb-navy); }
.hb-plan2__amount { font-size: 32px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.hb-plan2__unit { margin-left: 2px; font-size: 14px; font-weight: 800; color: var(--hb-slate); }
.hb-plan2__main.is-long .hb-plan2__amount { font-size: 15px; font-weight: 800; line-height: 1.45; letter-spacing: 0; white-space: normal; }
.hb-plan2__alt { margin-top: 4px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--hb-muted); }
.hb-plan2__for { display: flex; gap: 7px; align-items: flex-start; font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--hb-navy); }
.hb-plan2__for .hb-ico { flex: none; margin-top: 2px; color: var(--hb-mint-ink); }
.hb-plan2__body { border-top: 1px dashed var(--hb-line); padding-top: 14px; }
.hb-plan2__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--hb-slate); }
.hb-plan2__list li { position: relative; margin: 0; padding-left: 16px; }
.hb-plan2__list li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--hb-mint); }
.hb-plan2__more { margin-top: 10px; }
.hb-plan2__more > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 800; color: var(--hb-mint-ink); border-radius: 6px; }
.hb-plan2__more > summary::-webkit-details-marker { display: none; }
.hb-plan2__more > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.hb-plan2__more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.hb-plan2__more > summary span { font-weight: 700; color: var(--hb-muted); }
.hb-plan2__more > summary:hover { text-decoration: underline; }
.hb-plan2__more > summary:focus-visible { outline: 2px solid var(--hb-mint-ink); outline-offset: 3px; }
.hb-plan2__more[open] > summary { margin-bottom: 8px; }
@supports not (grid-template-rows: subgrid) { .hb-plan2 { display: flex; flex-direction: column; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .hb-plan2, .hb-plan2__more > summary::after { transition: none; } .hb-plan2:hover { transform: none; } }
/* Dernière rangée incomplète centrée (5 = 3 + 2, 7 = 4 + 3) : grille à demi-colonnes */
@media (min-width: 1001px) {
	.hb-plans2[data-count="5"], .hb-plans2[data-count="7"] { grid-template-columns: repeat(calc(var(--cols) * 2), minmax(0, 1fr)); }
	.hb-plans2[data-count="5"] .hb-plan2, .hb-plans2[data-count="7"] .hb-plan2 { grid-column: span 2; }
	.hb-plans2[data-count="5"] .hb-plan2:nth-child(4), .hb-plans2[data-count="7"] .hb-plan2:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 1000px) { .hb-plans2:not([data-count="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.hb-plans2__hint { display: flex; align-items: center; gap: 6px; margin: -10px 0 14px; font-size: 13.5px; font-weight: 700; color: var(--hb-muted); }
	.hb-plans2__hint .hb-ico { color: var(--hb-mint-ink); }
	.hb-plans2:not([data-count="1"]) { grid-template-columns: none; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: min(84%, 320px); gap: 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; overscroll-behavior-x: contain; margin-inline: -24px; padding: 6px 24px 18px; scrollbar-width: none; }
	.hb-plans2::-webkit-scrollbar { display: none; }
	.hb-plans2:not([data-count="1"]) .hb-plan2 { grid-row: 1 / span 4; scroll-snap-align: start; }
	.hb-plan2:hover { transform: none; }
	.hb-plan2__amount { font-size: 30px; }
}

/* === Codes promo copiables === */
.hb-promo { margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.85); border: 1px solid var(--hb-line, #E1E8ED); }
.hb-promo__label { margin: 0 0 8px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb-promo__label .hb-ico { color: var(--hb-coral-ink); }
.hb-code { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 10px; border: 2px dashed var(--hb-mint-ink, #1F8A5E); background: #fff; color: var(--hb-navy); font: inherit; cursor: pointer; text-align: left; }
.hb-code__val { font-size: 16px; font-weight: 900; letter-spacing: .06em; }
.hb-code__act { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; background: var(--hb-navy); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.hb-code:hover .hb-code__act { background: var(--hb-coral-ink); }
.hb-code:focus-visible { outline: 3px solid var(--hb-navy); outline-offset: 2px; }
.hb-code.is-copied { border-style: solid; background: var(--hb-mint-soft, #E3F9EF); }
.hb-code.is-copied .hb-code__act { background: var(--hb-mint-ink, #1F8A5E); }

/* === Accueil : bandeau de confiance === */
.hb-trustwrap { margin-block: 8px 40px; }
.hb-trust { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 20px 40px; padding: 24px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--hb-line); box-shadow: 0 10px 30px rgba(25, 42, 61, .06); }
.hb-trust__who { display: flex; align-items: center; gap: 18px; }
.hb-trust__avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 4px var(--hb-mint-soft); }
.hb .hb-trust__title { margin: 0 0 4px; font-size: 20px; font-weight: 900; line-height: 1.25; color: var(--hb-navy); }
.hb-trust__text { margin: 0 0 8px; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--hb-slate, #3A4F66); max-width: 52ch; }
.hb-trust__links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hb-trust__links a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--hb-mint-ink); text-decoration: none; }
.hb-trust__links a:hover { color: var(--hb-coral-ink); }
.hb-trust__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hb-trust__stats li { margin: 0; padding: 0; display: flex; text-align: left; border-radius: 14px; background: var(--hb-bg-soft, #F2F5F7); }
.hb-trust__stats li > * { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 2px; width: 100%; padding: 12px 14px; border-radius: 14px; color: var(--hb-navy); text-decoration: none; box-sizing: border-box; }
.hb-trust__stats li > a:hover { background: var(--hb-mint-soft); }
.hb-trust__stats strong { font-size: 24px; font-weight: 900; line-height: 1.1; }
.hb-trust__stats span { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--hb-slate, #3A4F66); }
@media (max-width: 1000px) { .hb-trust { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hb-trust { padding: 20px; } .hb-trust__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hb-trust__who { align-items: flex-start; } .hb-trust__avatar { width: 56px; height: 56px; } }
.hb .hb-trust__stats li > a, .hb .hb-trust__stats li > div { justify-content: flex-start; align-items: flex-start; align-self: stretch; }

/* === Article : encadré « En résumé » === */
.hb-resume { margin: 0 0 28px; padding: 20px 24px; border-radius: 18px; background: var(--hb-mint-soft); border: 1px solid rgba(18, 128, 91, .18); }
.hb-resume__title { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-mint-ink); }
.hb-resume ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hb-resume li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--hb-navy); }
.hb-resume li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--hb-mint-ink); }

/* === Pages Meilleurs outils : signature et positionnement === */
.hb-pbyline { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb-pbyline__avatar { width: 32px; height: 32px; border-radius: 50%; }
.hb-pbyline a { color: inherit; text-decoration: underline; text-decoration-color: rgba(25,42,61,.3); text-underline-offset: 3px; }
.hb-rank__tag { font-size: 17px; font-weight: 700; color: var(--hb-slate); }

/* === Fiche outil : raisons (refonte) === */
.hb-reasons--v2 { list-style: none; margin: 0; padding: 0; gap: 20px; counter-reset: none; }
.hb-reasons--v2 .hb-reason {
	--tone: var(--hb-mint); --tone-ink: var(--hb-mint-ink); --tone-soft: #E6FAF2;
	--tile-bg: linear-gradient(140deg, #EFFCF6 0%, #C9F3E1 100%); --tile-fg: var(--hb-mint-ink);
	position: relative; margin: 0; padding: 26px 26px 22px; gap: 0; overflow: hidden;
	background: linear-gradient(180deg, var(--tone-soft) 0, rgba(255,255,255,0) 120px), #fff;
	border: 1px solid var(--hb-line); border-radius: 22px;
	box-shadow: 0 1px 2px rgba(25,42,61,.04), 0 10px 28px -18px rgba(25,42,61,.22);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hb-reasons--v2 .hb-reason--coral { --tone: var(--hb-coral); --tone-ink: var(--hb-coral-ink); --tone-soft: #FDF1F0; --tile-bg: linear-gradient(140deg, #FEF4F3 0%, #F9D4D3 100%); --tile-fg: var(--hb-coral-ink); }
.hb-reasons--v2 .hb-reason--navy { --tone: var(--hb-navy); --tone-ink: var(--hb-navy); --tone-soft: #EEF2F6; --tile-bg: linear-gradient(140deg, #2C4560 0%, #192A3D 100%); --tile-fg: var(--hb-mint); }
.hb-reasons--v2 .hb-reason:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 35%, var(--hb-line)); box-shadow: 0 2px 4px rgba(25,42,61,.05), 0 22px 40px -22px rgba(25,42,61,.32); }
.hb-reasons--v2 .hb-reason__ico {
	width: 58px; height: 58px; margin: 0 0 18px; border-radius: 18px;
	background: var(--tile-bg); color: var(--tile-fg);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 8px 18px -10px color-mix(in srgb, var(--tone) 70%, transparent);
	transition: transform .3s ease;
}
.hb-reasons--v2 .hb-reason__ico svg { width: 28px; height: 28px; stroke-width: 1.6; }
.hb-reasons--v2 .hb-reason:hover .hb-reason__ico { transform: rotate(-6deg) scale(1.05); }
.hb-reasons--v2 .hb-reason__num { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--tone-ink); opacity: .55; font-variant-numeric: tabular-nums; }
.hb .hb-reasons--v2 .hb-reason__title { margin: 0 0 10px; font-size: 19px; font-weight: 900; line-height: 1.28; letter-spacing: -.01em; color: var(--hb-navy); text-wrap: pretty; }
.hb-reasons--v2 .hb-reason__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hb-reasons--v2 .hb-reason__text {
	margin: 0; font-size: 15px; line-height: 1.65; color: var(--hb-muted); max-width: 62ch;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden;
}
.hb-reasons--v2 .hb-reason.is-open .hb-reason__text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.hb-reasons--v2 .hb-fig { font-weight: 800; color: var(--hb-navy); white-space: nowrap; }
.hb-reasons--v2 .hb-reason__text a { color: var(--hb-mint-ink); font-weight: 700; }
.hb-reasons--v2 .hb-reason__more {
	display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 4px 0; border: 0; background: none; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 800; color: var(--tone-ink); border-radius: 6px;
}
.hb-reasons--v2 .hb-reason--navy .hb-reason__more { color: var(--hb-navy); }
.hb-reasons--v2 .hb-reason__more[hidden] { display: none; }
.hb-reasons--v2 .hb-reason__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.hb-reasons--v2 .hb-reason__more:focus-visible { outline: 2px solid var(--tone); outline-offset: 2px; }
.hb-reasons--v2 .hb-reason__more svg { transition: transform .2s ease; }
.hb-reasons--v2 .hb-reason.is-open .hb-reason__more svg { transform: rotate(180deg); }
@media (max-width: 640px) {
	.hb-reasons--v2 { gap: 14px; }
	.hb-reasons--v2 .hb-reason { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 20px 18px 18px; border-radius: 18px; }
	.hb-reasons--v2 .hb-reason__ico { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
	.hb-reasons--v2 .hb-reason__ico svg { width: 22px; height: 22px; }
	.hb .hb-reasons--v2 .hb-reason__title { margin: 0; padding-right: 22px; font-size: 17px; }
	.hb-reasons--v2 .hb-reason__num { top: 16px; right: 16px; font-size: 12px; }
	.hb-reasons--v2 .hb-reason__body { grid-column: 1 / -1; margin-top: 12px; }
	.hb-reasons--v2 .hb-reason__text { font-size: 15px; line-height: 1.6; -webkit-line-clamp: 4; line-clamp: 4; }
}
@media (prefers-reduced-motion: reduce) {
	.hb-reasons--v2 .hb-reason, .hb-reasons--v2 .hb-reason__ico { transition: none; }
	.hb-reasons--v2 .hb-reason:hover, .hb-reasons--v2 .hb-reason:hover .hb-reason__ico { transform: none; }
}
/* Raisons : contenu centré, sans numéro */
.hb-reasons--v2 .hb-reason { text-align: center; }
.hb-reasons--v2 .hb-reason__ico { margin-inline: auto; }
.hb-reasons--v2 .hb-reason__body { align-items: center; }
.hb-reasons--v2 .hb-reason__text { margin-inline: auto; }
@media (max-width: 640px) {
	.hb-reasons--v2 .hb-reason { display: block; }
	.hb-reasons--v2 .hb-reason__ico { margin: 0 auto 14px; }
	.hb .hb-reasons--v2 .hb-reason__title { padding-right: 0; }
}

/* === Liens vers une fiche : petite icône discrète === */
.hb-pick__fiche, .hb-rank__fiche, .hb-alt, .hb-ocard__more { display: inline-flex; align-items: center; gap: 6px; }
.hb-pick__fiche > .hb-ico:first-child, .hb-rank__fiche > .hb-ico:first-child, .hb-alt > .hb-ico:first-child, .hb-ocard__more > .hb-ico:first-child, .hb-decide__rec .hb-btn > .hb-ico:first-child { opacity: .7; flex-shrink: 0; }

/* === Tableau comparatif : 6 outils ou plus, colonnes resserrées === */
@media (min-width: 1000px) {
	.hb-compare--sticky table:has(thead th:nth-child(7)) { font-size: 14px; }
	.hb-compare--sticky table:has(thead th:nth-child(7)) td { min-width: 0; }
	.hb-compare--sticky table:has(thead th:nth-child(7)) th, .hb-compare--sticky table:has(thead th:nth-child(7)) td { padding: 12px 12px; }
	.hb-compare--sticky table:has(thead th:nth-child(7)) tbody th { width: 15%; }
}

/* === Tableaux défilables : indice et flèche === */
.hb-scrollwrap { position: relative; }
.hb-scrollhint { margin: -6px 0 10px; font-size: 13px; font-weight: 800; color: var(--hb-mint-ink); }
.hb-scrollhint span { display: inline-block; animation: hb-nudge 1.4s ease-in-out infinite; }
.hb-scrollhint[hidden] { display: none; }
.hb-scrollnext { position: absolute; top: 18px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; display: none; align-items: center; justify-content: center; cursor: pointer; background: var(--hb-navy); color: #fff; box-shadow: 0 6px 16px -6px rgba(25,42,61,.5); }
.hb-scrollwrap::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 48px; border-radius: 0 18px 18px 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95)); opacity: 0; transition: opacity .2s; }
.hb-scrollwrap.has-more::after { opacity: 1; }
.hb-scrollwrap.has-more .hb-scrollnext { display: inline-flex; }
.hb-scrollnext:focus-visible { outline: 3px solid var(--hb-mint); outline-offset: 2px; }
@keyframes hb-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .hb-scrollhint span { animation: none; } }

/* === Pages Meilleurs outils : « Pour aller plus loin » === */
.hb-more__label { margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-muted); }
.hb-more__pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.hb-more__page { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--hb-line); text-decoration: none; color: var(--hb-navy); position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hb-more__page:hover { transform: translateY(-2px); border-color: var(--hb-mint); box-shadow: 0 14px 30px -20px rgba(25,42,61,.35); }
.hb-more__logos { display: flex; gap: 8px; align-items: center; }
.hb-more__logos > span { height: 34px; padding: 0 10px; border-radius: 10px; background: var(--hb-bg-soft); display: flex; align-items: center; }
.hb-more__logos img { max-height: 18px; width: auto; max-width: 84px; }
.hb-more__title { font-size: 17px; font-weight: 900; line-height: 1.3; padding-right: 28px; }
.hb-more__go { position: absolute; right: 16px; bottom: 18px; color: var(--hb-mint-ink); }
@media (max-width: 900px) { .hb-more__pages { grid-template-columns: 1fr; } }

/* === Fiche outil : bouton partenaire collé en bas (remplace celui de la barre d'onglets) === */
.hb-ostick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--hb-line); box-shadow: 0 -10px 30px -20px rgba(25,42,61,.45); transform: translateY(110%); transition: transform .3s ease; }
.hb-ostick.is-on { transform: none; }
.hb-ostick__inner { display: flex; align-items: center; gap: 16px; padding-block: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.hb-ostick__logo { display: flex; align-items: center; height: 36px; }
.hb-ostick__logo img { max-height: 26px; width: auto; max-width: 130px; }
.hb-ostick__price { font-size: 14px; font-weight: 800; color: var(--hb-navy); }
.hb-ostick__cta { margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) {
	.hb-ostick__inner { gap: 10px; }
	.hb-ostick__price { display: none; }
	.hb-ostick__cta { flex: 1; justify-content: center; }
	.hb-ostick__logo img { max-width: 90px; }
}
@media (prefers-reduced-motion: reduce) { .hb-ostick { transition: none; } }

/* === Fiche outil : en-tête centré sur mobile === */
@media (max-width: 640px) {
	.hb-ohero__main { align-items: center; text-align: center; }
	.hb-ohero__brand { justify-content: center; }
	.hb-ohero .hb-crumbs { justify-content: center; }
	.hb-ohero .hb-facts { justify-content: center; }
}

/* === Duels : cartes, hub et maillage === */
.hb-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 26px; }
.hb-dcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--hb-line); color: var(--hb-navy); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hb-dcard:hover { transform: translateY(-2px); border-color: var(--hb-coral); box-shadow: 0 14px 30px -20px rgba(25,42,61,.35); }
.hb-dcard__logos { display: flex; align-items: center; gap: 8px; }
.hb-dcard__logo { flex: 1 1 0; min-width: 0; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--hb-bg-soft); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.hb-dcard__logo img { max-height: 20px; width: auto; max-width: 100%; }
.hb-dcard__vs { flex: 0 0 auto; font-size: 13px; font-weight: 900; color: var(--hb-coral-ink); text-transform: uppercase; }
.hb-dcard__title { font-size: 16px; font-weight: 900; line-height: 1.3; padding-right: 26px; }
.hb-dcard__go { position: absolute; right: 16px; bottom: 16px; color: var(--hb-coral-ink); }
.hb-more__all { margin: 4px 0 0; }
.hb-more__all a { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: var(--hb-mint-ink); text-decoration: none; }
.hb-more__all a:hover { color: var(--hb-coral-ink); }
.hb-more__sub { font-size: 13px; font-weight: 700; color: var(--hb-muted); }
.hb-more__rank { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--hb-mint-soft); color: var(--hb-mint-ink); font-size: 13px; font-weight: 900; }
.hb-more__rank sup { font-size: .7em; margin-left: -4px; }
.hb-rank__duel { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--hb-coral-ink); text-decoration: none; }
.hb-rank__duel:hover { text-decoration: underline; }
.hb-rank__duel .hb-ico { opacity: .8; }
.hb-tb-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.hb-tb-duels .hb-dgrid { margin-bottom: 0; }
.hb-hub__stats { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-hub__stats li { padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 14px; font-weight: 700; color: var(--hb-navy); }
.hb-hub__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.hb-hub__nav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hb-line); color: var(--hb-navy); font-size: 14px; font-weight: 800; text-decoration: none; }
.hb-hub__nav a:hover { border-color: var(--hb-mint); }
.hb-hub__nav .hb-ico { color: var(--hb-mint-ink); }
.hb-hub__group { scroll-margin-top: 90px; }
.hb .hb-hub__group .hb-osec__title { display: flex; align-items: center; gap: 12px; }
.hb-hub__ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--hb-mint-soft); color: var(--hb-mint-ink); flex-shrink: 0; }

/* Recherche / grilles : cartes fiche outil et comparatif (logos au lieu de l'image à la une) */
.hb-card__media--logos { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 20px; background: var(--hb-gray-50, #FAFBFC); border: 1px solid var(--hb-gray-200, #E1E8ED); }
.hb-card--tool .hb-card__media--logos { background: linear-gradient(135deg, #fff, var(--hb-mint-soft)); }
.hb-card__media--logos .hb-card__logo img { width: auto; height: auto; max-width: 100%; max-height: 56px; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.hb-card--tool .hb-card__logo img { max-height: 64px; max-width: 70%; margin: 0 auto; }
.hb-card__logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 340px; }
.hb-card__logos .hb-card__logo { display: grid; place-items: center; height: 58px; padding: 8px 12px; background: #fff; border: 1px solid var(--hb-gray-200, #E1E8ED); border-radius: 10px; font-weight: 800; font-size: 13px; color: var(--hb-navy); }
.hb-card__logos .hb-card__logo img { max-height: 30px; }
.hb-card__logos--duel { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.hb-card__logos--duel .hb-card__logo { height: 76px; }
.hb-card__logos--duel .hb-card__logo img { max-height: 40px; }
.hb-card__vs { font-weight: 900; font-size: 14px; color: var(--hb-coral); text-transform: uppercase; }
.hb-card__media--logos:hover .hb-card__logo img { transform: none; }
.hb-card__sub { margin: -4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--hb-muted); }
.hb-badge--outil { display: inline-flex; align-items: center; gap: 5px; background: var(--hb-mint-soft); color: var(--hb-mint-ink); }

/* Recherche : sur mobile et tablette, le panneau prend toute la largeur sous l'en-tête (ne déborde plus à droite) */
@media (max-width: 960px) {
	.hb-header__top { position: relative; }
	.hb-htools .hb-search-toggle { position: static; }
	.hb .hb-search-toggle__panel { position: absolute; left: 16px; right: 16px; top: calc(100% - 4px); width: auto; }
}

/* Choix par profil : ligne défilante sur desktop (> 4 cartes) */
.hb-picksrow { position: relative; }
.hb-picksrow__btn { display: none; }
@media (min-width: 900px) {
	.hb-picksrow.is-row .hb-picks { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 14px; margin: -6px -4px 0; scrollbar-width: thin; scrollbar-color: var(--hb-line) transparent; }
	.hb-picksrow.is-row .hb-pick { flex: 0 0 calc((100% - 48px) / 3.5); scroll-snap-align: start; }
	.hb-picksrow.is-row::before, .hb-picksrow.is-row::after { content: ""; position: absolute; top: 0; bottom: 14px; width: 90px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .2s; }
	.hb-picksrow.is-row::before { left: 0; background: linear-gradient(90deg, #fff 10%, rgba(255,255,255,0)); }
	.hb-picksrow.is-row::after { right: 0; background: linear-gradient(270deg, #fff 10%, rgba(255,255,255,0)); }
	.hb-picksrow.has-prev::before, .hb-picksrow.has-next::after { opacity: 1; }
	.hb-picksrow.is-row .hb-picksrow__btn { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -31px; border-radius: 50%; border: 0; cursor: pointer; align-items: center; justify-content: center; background: var(--hb-navy); color: #fff; box-shadow: 0 10px 22px -8px rgba(25,42,61,.55); transition: transform .15s, opacity .2s; }
	.hb-picksrow__btn--prev { left: -18px; }
	.hb-picksrow__btn--next { right: -18px; }
	.hb-picksrow.has-prev .hb-picksrow__btn--prev, .hb-picksrow.has-next .hb-picksrow__btn--next { display: inline-flex; }
	.hb-picksrow__btn:hover { transform: scale(1.08); }
	.hb-picksrow__btn:focus-visible { outline: 3px solid var(--hb-mint); outline-offset: 2px; }
}

/* Agrandissement des images d'article (assets/site.js) */
.hb-zoomable { position: relative; }
.hb-zoomable img { cursor: zoom-in; }
.hb-zoomable::after { content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23192A3D' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 4px 12px -4px rgba(25,42,61,.4); pointer-events: none; opacity: .9; transition: transform .15s; }
.hb-zoomable:hover::after { transform: scale(1.08); }
.hb-lb-lock, .hb-lb-lock body { overflow: hidden; }
.hb-lb { position: fixed; inset: 0; z-index: 100000; background: #0F1822; display: none; flex-direction: column; }
.hb-lb.is-open { display: flex; }
.hb-lb__stage { flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 56px 12px 8px; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.hb-lb__stage img { max-width: 100%; max-height: calc(100vh - 140px); height: auto; border-radius: 10px; background: #fff; cursor: zoom-in; }
.hb-lb.is-zoom .hb-lb__stage { place-items: start; }
.hb-lb.is-zoom .hb-lb__stage img { max-width: none; max-height: none; cursor: zoom-out; }
.hb-lb__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.hb-lb__close:hover, .hb-lb__close:focus-visible { background: rgba(255,255,255,.28); }
.hb-lb__cap { margin: 0; padding: 4px 16px 0; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; }
.hb-lb__cap a { color: var(--hb-mint); }
.hb-lb__hint { margin: 0; padding: 6px 16px 16px; text-align: center; color: rgba(255,255,255,.55); font-size: 12.5px; }
.hb-lb.is-zoom .hb-lb__hint { visibility: hidden; }

/* Tableaux des articles : même présentation que les comparatifs des fiches outils (.hb-compare) */
.hb-prose .wp-block-table { overflow-x: auto; margin: 28px 0; border: 1px solid var(--hb-line); border-radius: 18px; background: #fff; -webkit-overflow-scrolling: touch; }
.hb-prose .wp-block-table table { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; table-layout: auto; font-size: 15px; line-height: 1.55; color: var(--hb-slate); }
.hb-prose .wp-block-table table:has(thead th:nth-child(4)) { min-width: 680px; }
.hb-prose .wp-block-table th, .hb-prose .wp-block-table td { padding: 14px 18px; border: 0; border-top: 1px solid var(--hb-line); text-align: left; vertical-align: top; }
.hb-prose .wp-block-table thead { border: 0; }
.hb-prose .wp-block-table thead th, .hb-prose .wp-block-table tr:first-child th { border-top: 0; background: var(--hb-bg-soft); color: var(--hb-navy); font-weight: 900; }
.hb-prose .wp-block-table thead th:first-child { color: var(--hb-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hb-prose .wp-block-table tbody td:first-child, .hb-prose .wp-block-table tbody th { color: var(--hb-navy); font-weight: 800; }
.hb-prose .wp-block-table tbody tr:nth-child(even) { background: transparent; }
.hb-prose .wp-block-table tbody tr:hover { background: #F4FCF8; }
.hb-prose .wp-block-table table:not(:has(thead)) tr:first-child td { border-top: 0; }
.hb-prose .wp-block-table tbody td:first-child, .hb-prose .wp-block-table tbody th, .hb-prose .wp-block-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--hb-line); }
.hb-prose .wp-block-table thead th:first-child { background: var(--hb-bg-soft); }
.hb-prose .hb-scrollwrap { margin: 28px 0; }
.hb-prose .hb-scrollwrap .wp-block-table { margin: 0; }
.hb-prose .hb-scrollhint { margin: 28px 0 10px; }
.hb-prose .hb-scrollhint + .hb-scrollwrap { margin-top: 0; }
.hb-prose .wp-block-table figcaption { margin: 0; padding: 10px 18px 12px; border-top: 1px solid var(--hb-line); font-size: 13px; color: var(--hb-muted); text-align: left; }
@media (max-width: 760px) {
	.hb-prose .wp-block-table table:has(thead th:nth-child(4)) { min-width: 0; }
	.hb-prose .wp-block-table table:has(tr > :nth-child(3)) td { min-width: 170px; }
	.hb-prose .wp-block-table tbody td:first-child, .hb-prose .wp-block-table thead th:first-child { min-width: 0; width: 38%; }
}
@media (max-width: 560px) { .hb-prose .wp-block-table th, .hb-prose .wp-block-table td { padding: 12px 14px; } }
