/* ==========================================================================
   Tabula — styles du site
   Variante 1 « Studio » : body.tb-v1 · Variante 2 « Atelier » : body.tb-v2
   Les couleurs et polices sont injectées depuis l'admin (variables --tb-*).
   ========================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
	--tb-primary: #0f7a55;
	--tb-primary-ink: #ffffff;
	--tb-secondary: #9a3412;
	--tb-accent: #e8a317;
	--tb-bg: #faf6ee;
	--tb-surface: #ffffff;
	--tb-soft: #f2e8d5;
	--tb-text: #2a1f14;
	--tb-muted: #6b5d4f;
	--tb-ink: #2a1f14;
	--tb-dark: #12382b;
	--tb-pal1: #0f7a55;
	--tb-pal2: #9a3412;
	--tb-pal3: #1d4e89;
	--tb-pal4: #6b4c9a;
	--tb-pal5: #b7791f;
	--tb-pal6: #0e7490;
	--tb-font-h: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--tb-font-b: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--tb-line: color-mix(in srgb, var(--tb-ink) 14%, transparent);
	--tb-line-strong: color-mix(in srgb, var(--tb-ink) 28%, transparent);
	--tb-primary-soft: color-mix(in srgb, var(--tb-primary) 12%, var(--tb-surface));
	--tb-secondary-soft: color-mix(in srgb, var(--tb-secondary) 12%, var(--tb-surface));
	--tb-container: 1240px;
	--tb-gutter: clamp(16px, 4vw, 32px);
	--tb-radius: 12px;
	--tb-radius-sm: 8px;
	--tb-radius-lg: 18px;
	--tb-btn-radius: 10px;
	--tb-bw: 1.5px;
	--tb-shadow: 4px 4px 0 var(--tb-ink);
	--tb-shadow-sm: 3px 3px 0 var(--tb-ink);
	--tb-shadow-lg: 7px 7px 0 var(--tb-ink);
	--tb-h-track: -0.02em;
	--tb-ease: cubic-bezier(.2, .8, .2, 1);
	--tb-header-h: 72px;
}

.tb-v1 {
	--tb-radius: 10px;
	--tb-radius-lg: 14px;
	--tb-btn-radius: 8px;
	--tb-bw: 1.5px;
	--tb-shadow: 4px 4px 0 var(--tb-ink);
	--tb-h-track: -0.025em;
}

.tb-v2 {
	--tb-radius: 16px;
	--tb-radius-lg: 22px;
	--tb-btn-radius: 999px;
	--tb-bw: 2px;
	--tb-shadow: 5px 5px 0 var(--tb-ink);
	--tb-shadow-lg: 8px 8px 0 var(--tb-ink);
	--tb-h-track: -0.01em;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
	margin: 0;
	background: var(--tb-bg);
	color: var(--tb-text);
	font-family: var(--tb-font-b);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.tb-lock { overflow: hidden; }

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

a { color: var(--tb-primary); text-decoration: none; }
a:hover { color: color-mix(in srgb, var(--tb-primary) 80%, var(--tb-ink)); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tb-font-h);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: var(--tb-h-track);
	color: var(--tb-text);
	margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--tb-primary) 55%, transparent); outline-offset: 2px; border-radius: 4px; }

[hidden] { display: none !important; }

.tb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tb-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--tb-ink); color: var(--tb-bg); padding: .6rem 1rem; border-radius: 8px; }
.tb-skip:focus { top: 12px; color: var(--tb-bg); }

.tb-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 12px; pointer-events: none; }
.tb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tb-anchor { display: block; position: relative; top: -100px; visibility: hidden; }
[id] { scroll-margin-top: 110px; }

.tb-icon { flex-shrink: 0; vertical-align: middle; }

.tb-container { width: 100%; max-width: var(--tb-container); margin-inline: auto; padding-inline: var(--tb-gutter); }
.tb-container--narrow { max-width: 820px; }
.tb-container--mid { max-width: 1000px; }

.tb-main { min-height: 50vh; }
.tb-section { padding-block: clamp(48px, 7vw, 88px); }
.tb-section--tight { padding-block: clamp(32px, 5vw, 56px); }
.tb-section--soft { background: color-mix(in srgb, var(--tb-soft) 55%, var(--tb-bg)); border-block: 1px solid var(--tb-line); }
.tb-center { text-align: center; }
.tb-space-top { margin-top: 2rem; }
.tb-space-bottom { margin-bottom: 2rem; }

.tb-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.tb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 3. Éléments communs ---------- */
.tb-hl { color: var(--tb-primary); }
.tb-ul { text-decoration: underline; text-decoration-color: var(--tb-accent); text-decoration-thickness: .14em; text-underline-offset: .12em; }

.tb-eyebrow {
	display: inline-flex; align-items: center; gap: .4rem;
	font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--tb-primary); margin-bottom: .9rem;
}
.tb-v1 .tb-eyebrow { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; }
.tb-v2 .tb-eyebrow {
	letter-spacing: .02em; text-transform: none; font-size: .8rem;
	padding: .3rem .8rem; border: 1.5px solid var(--tb-primary); border-radius: 999px;
	background: color-mix(in srgb, var(--tb-primary) 8%, transparent);
}
.tb-eyebrow--light { color: #fff; border-color: rgba(255,255,255,.6) !important; background: rgba(255,255,255,.12) !important; }

.tb-overline { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-muted); margin: 0 0 .6rem; }
.tb-lead { font-size: 1.12rem; color: var(--tb-text); }

.tb-chip {
	display: inline-flex; align-items: center; gap: .35rem;
	font-size: .82rem; font-weight: 600; line-height: 1.2;
	padding: .38rem .7rem; border-radius: 999px;
	background: var(--tb-surface); border: 1px solid var(--tb-line-strong); color: var(--tb-text);
}
.tb-chip--accent { background: var(--tb-primary-soft); border-color: color-mix(in srgb, var(--tb-primary) 35%, transparent); color: var(--tb-primary); }
.tb-chip--success { background: color-mix(in srgb, #16a34a 10%, var(--tb-surface)); border-color: color-mix(in srgb, #16a34a 30%, transparent); color: #15803d; }
.tb-chip--removable { color: var(--tb-text); }
.tb-chip--removable:hover { border-color: var(--tb-ink); color: var(--tb-text); }
.tb-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.6rem 0 0; }

.tb-pill {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .42rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
	border: 1.5px solid var(--tb-line-strong); background: var(--tb-surface); color: var(--tb-text);
	white-space: nowrap; transition: all .2s var(--tb-ease);
}
.tb-pill:hover { border-color: var(--tb-ink); color: var(--tb-text); }
.tb-pill.is-active { background: var(--tb-ink); color: var(--tb-bg); border-color: var(--tb-ink); }
.tb-pill--mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .75rem; background: color-mix(in srgb, var(--tb-accent) 18%, var(--tb-surface)); border-color: color-mix(in srgb, var(--tb-accent) 60%, transparent); }
.tb-pill--edit { color: var(--tb-secondary); border-color: color-mix(in srgb, var(--tb-secondary) 45%, transparent); }

.tb-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	font-size: .72rem; font-weight: 800; letter-spacing: .02em;
	padding: .28rem .6rem; border-radius: 6px;
	background: var(--tb-surface); color: var(--tb-text); border: 1.5px solid var(--tb-ink);
}
.tb-badge--new { background: var(--tb-accent); }
.tb-badge--best { background: var(--tb-primary); color: var(--tb-primary-ink); }
.tb-badge--sale { background: var(--tb-secondary); color: #fff; }
.tb-badge--free { background: #16a34a; color: #fff; }
.tb-badge--lg { font-size: .85rem; padding: .35rem .8rem; top: 16px; left: 16px; }
.tb-v2 .tb-badge { top: -2px; left: 18px; border-radius: 0 0 10px 10px; border-top: 0; transform: rotate(-3deg); transform-origin: top left; box-shadow: 2px 2px 0 var(--tb-ink); }

.tb-stars { display: inline-flex; gap: 1px; color: var(--tb-accent); vertical-align: middle; }
.tb-stars .is-off { color: color-mix(in srgb, var(--tb-ink) 18%, transparent); }

.tb-notice { padding: .8rem 1rem; border-radius: var(--tb-radius-sm); background: var(--tb-soft); font-size: .92rem; margin: 0 0 1rem; }
.tb-notice--success { background: color-mix(in srgb, #16a34a 12%, var(--tb-surface)); color: #166534; }
.tb-notice--error { background: color-mix(in srgb, #dc2626 10%, var(--tb-surface)); color: #991b1b; }
.tb-empty { color: var(--tb-muted); }

.tb-img-placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px;
	color: color-mix(in srgb, var(--tb-ink) 35%, transparent);
	background: repeating-linear-gradient(45deg, var(--tb-soft), var(--tb-soft) 10px, color-mix(in srgb, var(--tb-soft) 60%, var(--tb-surface)) 10px, color-mix(in srgb, var(--tb-soft) 60%, var(--tb-surface)) 20px);
}

.tb-frame { margin: 0; border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-lg); overflow: hidden; background: var(--tb-surface); }
.tb-frame img, .tb-frame .tb-img-placeholder { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.tb-link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--tb-text); border-bottom: 2px solid var(--tb-primary); padding-bottom: 2px; }
.tb-link-arrow .tb-icon { transition: transform .2s var(--tb-ease); }
.tb-link-arrow:hover { color: var(--tb-primary); }
.tb-link-arrow:hover .tb-icon { transform: translateX(3px); }
.tb-v1 .tb-link-arrow { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }

.tb-icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border-radius: 50%; border: 1.5px solid var(--tb-line-strong); background: var(--tb-surface); color: var(--tb-text);
	transition: all .2s var(--tb-ease);
}
.tb-icon-btn:hover { border-color: var(--tb-ink); }

/* ---------- 4. Boutons ---------- */
.tb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .78rem 1.3rem; min-height: 46px;
	font-family: var(--tb-font-b); font-weight: 700; font-size: .95rem; line-height: 1.1; text-align: center;
	color: var(--tb-text); background: var(--tb-surface);
	border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-btn-radius);
	box-shadow: var(--tb-shadow-sm);
	transition: transform .15s var(--tb-ease), box-shadow .15s var(--tb-ease), background .2s;
	cursor: pointer; text-decoration: none; white-space: nowrap;
}
.tb-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--tb-ink); color: var(--tb-text); }
.tb-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tb-ink); }
.tb-btn--primary, .tb-btn--primary:hover { background: var(--tb-primary); color: var(--tb-primary-ink); }
.tb-btn--secondary, .tb-btn--secondary:hover { background: var(--tb-secondary); color: #fff; }
.tb-btn--accent, .tb-btn--accent:hover { background: var(--tb-accent); color: var(--tb-ink); }
.tb-btn--dark, .tb-btn--dark:hover { background: var(--tb-ink); color: var(--tb-bg); }
.tb-btn--outline { background: transparent; }
.tb-btn--light, .tb-btn--light:hover { background: #fff; color: var(--tb-primary); border-color: #fff; box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.tb-btn--ghost-light, .tb-btn--ghost-light:hover { background: transparent; color: #fff; border-color: transparent; box-shadow: none; }
.tb-btn--ghost-light:hover { text-decoration: underline; }
.tb-btn--sm { padding: .5rem .9rem; min-height: 36px; font-size: .84rem; box-shadow: 2px 2px 0 var(--tb-ink); }
.tb-btn--lg { padding: .95rem 1.6rem; min-height: 54px; font-size: 1rem; }
.tb-btn--block { display: flex; width: 100%; }
.tb-btn.is-disabled { opacity: .55; pointer-events: none; box-shadow: none; }
.tb-btn.is-loading { opacity: .7; pointer-events: none; }
.tb-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.tb-actions--center { justify-content: center; }

/* ---------- 5. Formulaires ---------- */
.tb-form input[type="text"], .tb-form input[type="email"], .tb-form input[type="url"], .tb-form input[type="search"], .tb-form input[type="number"], .tb-form textarea, .tb-form select,
.tb-filters input[type="number"] {
	width: 100%; padding: .8rem 1rem;
	background: color-mix(in srgb, var(--tb-soft) 45%, var(--tb-surface));
	border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius-sm);
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.tb-form input:focus, .tb-form textarea:focus, .tb-form select:focus, .tb-filters input:focus {
	outline: none; border-color: var(--tb-primary); background: var(--tb-surface);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tb-primary) 18%, transparent);
}
.tb-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.tb-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.tb-form__row { margin: 0 0 1rem; }
.tb-form__feedback:empty { display: none; }
.tb-form__feedback { margin-top: .8rem; }

.tb-consent { display: flex !important; align-items: flex-start; gap: .55rem; font-size: .8rem !important; font-weight: 400 !important; color: var(--tb-muted); margin-top: .8rem; }
.tb-consent input { margin-top: .2rem; accent-color: var(--tb-primary); }
.tb-consent a { text-decoration: underline; }

.tb-select { position: relative; }
.tb-select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--tb-muted); border-bottom: 2px solid var(--tb-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.tb-select select { appearance: none; -webkit-appearance: none; width: 100%; padding: .6rem 2.2rem .6rem .85rem; border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius-sm); background: var(--tb-surface); font-size: .9rem; cursor: pointer; }

/* ---------- 6. Barre d'annonce & en-tête ---------- */
.tb-topbar { background: var(--tb-ink); color: var(--tb-bg); font-size: .82rem; }
.tb-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.tb-topbar p { margin: 0; display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.tb-topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tb-accent) 30%, transparent); animation: tb-pulse 2s infinite; }
.tb-topbar a { color: var(--tb-bg); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.tb-topbar a:hover { color: var(--tb-accent); }
@keyframes tb-pulse { 50% { box-shadow: 0 0 0 6px transparent; } }

.tb-header { position: sticky; top: 0; z-index: 500; background: var(--tb-surface); transition: box-shadow .2s; }
.admin-bar .tb-header { top: 32px; }
.tb-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.25); }
.tb-header__row { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: var(--tb-header-h); }

.tb-logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--tb-text); flex-shrink: 0; }
.tb-logo:hover { color: var(--tb-text); }
.tb-logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tb-primary); color: var(--tb-primary-ink); }
.tb-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.tb-logo__name { font-family: var(--tb-font-h); font-weight: 800; font-size: 1.3rem; letter-spacing: var(--tb-h-track); }
.tb-logo__sub { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--tb-muted); margin-top: 3px; }
.tb-logo--image img { max-height: 48px; width: auto; }

.tb-header__tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.tb-tool {
	position: relative; display: inline-flex; align-items: center; gap: .4rem;
	height: 42px; padding: 0 .8rem; border-radius: 10px;
	border: 1.5px solid var(--tb-line-strong); background: var(--tb-surface);
	font-size: .85rem; font-weight: 700; color: var(--tb-text); white-space: nowrap;
	list-style: none; cursor: pointer; transition: border-color .2s;
}
.tb-tool:hover { border-color: var(--tb-ink); }
.tb-tool--icon { width: 42px; padding: 0; justify-content: center; }
.tb-tool--currency { cursor: default; }
.tb-tool--currency:hover { border-color: var(--tb-line-strong); }
.tb-tool__label { display: none; }
.tb-count-badge {
	position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 999px; border: 2px solid var(--tb-surface);
	background: var(--tb-primary); color: var(--tb-primary-ink); font-size: .68rem; font-weight: 800;
}
.tb-menu-toggle, .tb-search-toggle.is-mobile-only { display: none; }

.tb-dropdown { position: relative; }
.tb-dropdown summary::-webkit-details-marker { display: none; }
.tb-dropdown[open] summary { border-color: var(--tb-ink); }
.tb-dropdown__menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 180px;
	list-style: none; margin: 0; padding: .4rem;
	background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius);
	box-shadow: var(--tb-shadow);
}
.tb-dropdown__menu a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 8px; color: var(--tb-text); font-size: .9rem; font-weight: 600; }
.tb-dropdown__menu a:hover, .tb-dropdown__menu a[aria-current] { background: var(--tb-soft); }
.tb-lang__code { font-size: .7rem; font-weight: 800; padding: .1rem .35rem; border-radius: 4px; background: var(--tb-ink); color: var(--tb-bg); }

/* Recherche */
.tb-search { position: relative; display: flex; align-items: center; width: 100%; }
.tb-search__icon { position: absolute; left: 14px; color: var(--tb-muted); display: flex; pointer-events: none; }
.tb-search input[type="search"] {
	width: 100%; height: 50px; padding: 0 1rem 0 2.8rem;
	border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius);
	background: color-mix(in srgb, var(--tb-soft) 40%, var(--tb-surface));
	font-size: .95rem;
}
.tb-search input[type="search"]:focus { outline: none; background: var(--tb-surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tb-primary) 18%, transparent); }
.tb-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tb-search__btn { position: absolute; right: 5px; min-height: 40px; padding: .5rem 1rem; box-shadow: none; border-radius: calc(var(--tb-radius) - 4px); }
.tb-search__btn:hover { box-shadow: none; transform: none; filter: brightness(1.08); }
.tb-search input[type="search"]:has(+ input + .tb-search__btn) { padding-right: 8.5rem; }
.tb-search--simple input[type="search"] { height: 46px; border-width: 1.5px; border-color: var(--tb-line-strong); padding-right: 3rem; }
.tb-search__submit { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--tb-ink); color: var(--tb-bg); display: grid; place-items: center; }

.tb-search-panel { border-top: 1px solid var(--tb-line); background: var(--tb-surface); padding-block: 14px; }

/* Variante 1 : en-tête sur deux lignes */
.tb-header--v1 { border-bottom: 1px solid var(--tb-line); }
.tb-header--v1 .tb-search--header { max-width: 640px; flex: 1; }
.tb-header--v1 .tb-search--header input[type="search"] { border-width: 2px; }
.tb-header__nav { border-top: 1px solid var(--tb-line); }
.tb-header__navrow { display: flex; align-items: center; gap: 1.5rem; min-height: 48px; }
.tb-menu { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: .15rem 1.4rem; margin: 0; padding: 0; }
.tb-menu > li { position: relative; }
.tb-menu a { display: inline-flex; align-items: center; min-height: 48px; font-size: .92rem; font-weight: 600; color: var(--tb-text); position: relative; }
.tb-menu a:hover { color: var(--tb-primary); }
.tb-header--v1 .tb-menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--tb-primary); transform: scaleX(0); transition: transform .25s var(--tb-ease); }
.tb-header--v1 .tb-menu > li.is-active > a::after, .tb-header--v1 .tb-menu > li > a:hover::after { transform: scaleX(1); }
.tb-menu .menu-item-has-children > a::before { content: ""; order: 2; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.tb-menu .sub-menu {
	position: absolute; left: -12px; top: 100%; z-index: 30; min-width: 220px;
	list-style: none; margin: 0; padding: .4rem;
	background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--tb-ease);
}
.tb-menu li:hover > .sub-menu, .tb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tb-menu .sub-menu a { min-height: 0; display: flex; padding: .55rem .75rem; border-radius: 8px; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.tb-menu .sub-menu a:hover { background: var(--tb-soft); color: var(--tb-text); }
.tb-menu-highlight { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; font-weight: 800; font-size: .92rem; color: var(--tb-primary); }

/* Variante 2 : en-tête compact + frise */
.tb-header--v2 { border-bottom: 1px solid var(--tb-line-strong); }
.tb-header--v2 .tb-header__row { min-height: 76px; }
.tb-header--v2 .tb-header__nav { border: 0; display: flex; align-items: center; gap: 1.6rem; margin-inline: auto; }
.tb-header--v2 .tb-menu a { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; min-height: 44px; }
.tb-header--v2 .tb-menu-highlight { margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: .45rem .9rem; border-radius: 999px; background: var(--tb-primary); color: var(--tb-primary-ink); }
.tb-header--v2 .tb-header__tools { margin-left: 0; }
.tb-header--v2 .tb-tool { border-radius: 999px; border-color: var(--tb-ink); }
.tb-header--v2 .tb-tool--fav .tb-tool__label { display: inline; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.tb-header--v2 .tb-tool--fav { border-color: transparent; }
.tb-header--v2 .tb-tool--fav .tb-count-badge { position: static; border: 0; }
.tb-header--v2 .tb-logo__mark { border-radius: 12px; }
.tb-header--v2 .tb-logo__sub { display: none; }

.tb-stripe {
	height: 10px;
	background: linear-gradient(90deg,
		var(--tb-pal1) 0 16.66%, var(--tb-pal2) 16.66% 33.33%, var(--tb-pal3) 33.33% 50%,
		var(--tb-pal4) 50% 66.66%, var(--tb-pal5) 66.66% 83.33%, var(--tb-pal6) 83.33% 100%);
	background-size: 360px 100%;
}

/* ---------- 7. Tiroirs, overlay, pop-ups ---------- */
.tb-overlay { position: fixed; inset: 0; z-index: 900; background: color-mix(in srgb, var(--tb-ink) 45%, transparent); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.tb-overlay.is-open { opacity: 1; }

.tb-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
	width: min(400px, 92vw); display: flex; flex-direction: column;
	background: var(--tb-bg); border-left: var(--tb-bw) solid var(--tb-ink);
	transform: translateX(100%); transition: transform .3s var(--tb-ease);
}
.tb-drawer.is-open { transform: none; }
.tb-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--tb-line); background: var(--tb-surface); }
.tb-drawer__title { display: flex; align-items: center; gap: .5rem; margin: 0; font-family: var(--tb-font-h); font-weight: 800; font-size: 1.2rem; }
.tb-drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.tb-drawer__foot { padding: 1rem 1.2rem; border-top: 1px solid var(--tb-line); background: var(--tb-surface); }
.tb-mobile-menu { list-style: none; margin: 0; padding: 0; }
.tb-mobile-menu a { display: block; padding: .8rem .2rem; font-weight: 700; font-size: 1.05rem; color: var(--tb-text); border-bottom: 1px solid var(--tb-line); }
.tb-mobile-menu .sub-menu { list-style: none; padding: 0 0 0 1rem; margin: 0; }
.tb-mobile-menu .sub-menu a { font-weight: 500; font-size: .95rem; }

.tb-fav-item { display: grid; grid-template-columns: 72px 1fr; gap: .9rem; align-items: center; padding: .7rem; background: var(--tb-surface); border: 1px solid var(--tb-line-strong); border-radius: var(--tb-radius); }
.tb-fav-item__img { display: block; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--tb-soft); }
.tb-fav-item__img img { width: 100%; height: 100%; object-fit: cover; }
.tb-fav-item__body { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.tb-fav-item__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tb-muted); }
.tb-fav-item__title { font-weight: 700; color: var(--tb-text); line-height: 1.3; }
.tb-fav-item__price { font-weight: 800; color: var(--tb-primary); font-size: .9rem; }
.tb-fav-item__actions { grid-column: 1 / -1; display: flex; gap: .5rem; }
.tb-fav-item__actions .tb-btn { flex: 1; }
.tb-fav-empty { text-align: center; color: var(--tb-muted); padding: 2rem 1rem; }
.tb-fav-empty .tb-icon { color: var(--tb-secondary); margin: 0 auto .8rem; display: block; }

.tb-favorites { display: grid; gap: 1rem; }
.tb-favorites .tb-fav-item { grid-template-columns: 110px 1fr auto; padding: 1rem; box-shadow: var(--tb-shadow-sm); border: var(--tb-bw) solid var(--tb-ink); }
.tb-favorites .tb-fav-item__img { width: 110px; height: 82px; }
.tb-favorites .tb-fav-item__actions { grid-column: auto; }

.tb-fav {
	display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
	border-radius: 50%; border: 1.5px solid var(--tb-ink); background: var(--tb-surface); color: var(--tb-text);
	transition: transform .15s var(--tb-ease), background .2s, color .2s;
}
.tb-fav:hover { transform: scale(1.06); }
.tb-fav.is-active { background: var(--tb-secondary); color: #fff; border-color: var(--tb-ink); }
.tb-fav.is-active .tb-icon { fill: currentColor; }
.tb-fav--card { position: absolute; top: 12px; right: 12px; z-index: 2; }
.tb-fav--labeled { width: auto; height: 36px; padding: 0 .85rem; border-radius: 999px; gap: .4rem; display: inline-flex; font-size: .85rem; font-weight: 700; }
.tb-fav--labeled::after { content: attr(aria-label); }
.tb-fav--labeled .tb-icon { width: 16px; height: 16px; }

.tb-toasts { position: fixed; bottom: 18px; z-index: 800; display: flex; flex-direction: column; gap: .6rem; width: min(340px, calc(100vw - 36px)); pointer-events: none; }
.tb-toasts--left { left: 18px; }
.tb-toasts--right { right: 18px; }
.tb-toast {
	pointer-events: auto; position: relative; display: flex; align-items: center; gap: .75rem;
	padding: .75rem 2.2rem .75rem .75rem; background: var(--tb-surface);
	border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow);
	font-size: .84rem; line-height: 1.35; color: var(--tb-text);
	animation: tb-toast-in .45s var(--tb-ease) both;
}
.tb-toast.is-leaving { animation: tb-toast-out .35s var(--tb-ease) both; }
.tb-toast__icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--tb-secondary-soft); color: var(--tb-secondary); }
.tb-toast__img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 8px; object-fit: cover; background: var(--tb-soft); }
.tb-toast__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; margin-right: .35rem; animation: tb-pulse 2s infinite; box-shadow: 0 0 0 3px rgba(22,163,74,.25); }
.tb-toast strong { font-weight: 800; }
.tb-toast small { display: block; color: var(--tb-muted); margin-top: 2px; }
.tb-toast a { color: inherit; }
.tb-toast__close { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; background: transparent; color: var(--tb-muted); border-radius: 50%; padding: 0; }
.tb-toast__close:hover { background: var(--tb-soft); }
@keyframes tb-toast-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes tb-toast-out { to { opacity: 0; transform: translateY(16px); } }

.tb-flash { position: fixed; left: 50%; bottom: 24px; z-index: 1100; transform: translate(-50%, 20px); padding: .7rem 1.1rem; border-radius: 999px; background: var(--tb-ink); color: var(--tb-bg); font-weight: 700; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s var(--tb-ease); }
.tb-flash.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 8. En-têtes de section & de page ---------- */
.tb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(24px, 3.5vw, 40px); }
.tb-section-head--center { flex-direction: column; align-items: center; text-align: center; }
.tb-section-head--center .tb-section-subtitle { margin-inline: auto; }
.tb-section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0; }
.tb-section-subtitle { color: var(--tb-muted); font-size: 1.05rem; max-width: 620px; margin: .7rem 0 0; }
.tb-section-head .tb-link-arrow { flex-shrink: 0; margin-bottom: .4rem; }

.tb-page-hero {
	position: relative; padding-block: clamp(40px, 6vw, 72px);
	background: radial-gradient(1200px 300px at 50% 0%, color-mix(in srgb, var(--tb-primary) 9%, transparent), transparent 70%), color-mix(in srgb, var(--tb-soft) 35%, var(--tb-bg));
	border-bottom: 1px solid var(--tb-line-strong);
}
.tb-page-hero--center { text-align: center; }
.tb-page-hero--center .tb-breadcrumbs ol { justify-content: center; }
.tb-page-hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .4rem 0 0; }
.tb-page-hero__subtitle { color: var(--tb-muted); font-size: 1.1rem; max-width: 640px; margin: .8rem 0 0; }
.tb-page-hero--center .tb-page-hero__subtitle { margin-inline: auto; }
.tb-v2 .tb-page-hero { background: radial-gradient(900px 260px at 50% 0%, color-mix(in srgb, var(--tb-accent) 16%, transparent), transparent 70%), color-mix(in srgb, var(--tb-soft) 55%, var(--tb-bg)); }

.tb-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; padding: 0; font-size: .82rem; color: var(--tb-muted); }
.tb-breadcrumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.tb-breadcrumbs a { color: var(--tb-muted); }
.tb-breadcrumbs a:hover { color: var(--tb-primary); }
.tb-breadcrumbs [aria-current] { color: var(--tb-text); font-weight: 600; }

/* ---------- 9. Hero d'accueil ---------- */
.tb-hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); overflow: hidden; }
.tb-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tb-hero__title { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; margin: 0; }
.tb-hero__text { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--tb-muted); max-width: 540px; margin: 1.3rem 0 0; }
.tb-hero__visual { position: relative; }

.tb-hero--v1 .tb-hero__title { font-weight: 700; }
.tb-hero--v1 .tb-hero__title .tb-hl { font-weight: 800; }
.tb-hero__frame {
	position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto;
	border-radius: 50%; overflow: hidden; border: 3px solid var(--tb-ink);
	box-shadow: 12px 12px 0 var(--tb-ink); background: var(--tb-surface);
}
.tb-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.tb-hero__frame .tb-mock { padding: 22% 16%; }
.tb-hero--v1 .tb-hero__badge {
	position: absolute; top: 2%; right: 0; width: 136px; height: 136px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	border-radius: 50%; background: var(--tb-secondary); color: #fff; transform: rotate(10deg);
	box-shadow: 0 0 0 4px var(--tb-bg), 0 0 0 6px var(--tb-ink);
}
.tb-hero--v1 .tb-hero__badge::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(255,255,255,.55); border-radius: 50%; }
.tb-hero__badge strong { font-family: var(--tb-font-h); font-size: 1.8rem; line-height: 1; }
.tb-hero__badge span { font-size: .78rem; font-weight: 600; }
.tb-hero__badge em { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-top: .25rem; opacity: .9; }

.tb-hero--v2 .tb-hero__title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.tb-hero--v2 .tb-ul { text-decoration: none; background: linear-gradient(var(--tb-accent), var(--tb-accent)) 0 92% / 100% .16em no-repeat; padding-bottom: .04em; }
.tb-collage { position: relative; height: clamp(360px, 42vw, 500px); }
.tb-collage__item { position: absolute; margin: 0; overflow: hidden; background: var(--tb-surface); border: 3px solid var(--tb-ink); border-radius: 18px; box-shadow: 7px 7px 0 var(--tb-ink); transition: transform .4s var(--tb-ease); }
.tb-collage__item img { width: 100%; height: 100%; object-fit: cover; }
.tb-collage__item--1 { top: 2%; left: 4%; width: 60%; height: 58%; transform: rotate(-3deg); z-index: 2; }
.tb-collage__item--2 { top: 10%; right: 0; width: 42%; height: 44%; transform: rotate(4deg); z-index: 1; }
.tb-collage__item--3 { bottom: 2%; left: 0; width: 44%; height: 40%; transform: rotate(-5deg); z-index: 3; }
.tb-collage:hover .tb-collage__item--1 { transform: rotate(-1deg) translateY(-4px); }
.tb-collage:hover .tb-collage__item--2 { transform: rotate(6deg); }
.tb-collage:hover .tb-collage__item--3 { transform: rotate(-3deg) translateY(-4px); }
.tb-hero--v2 .tb-hero__badge {
	position: absolute; right: 12%; bottom: 10%; z-index: 4; width: 124px; height: 124px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	border-radius: 50%; background: var(--tb-ink); color: var(--tb-bg); transform: rotate(-12deg);
	box-shadow: 6px 6px 0 var(--tb-accent);
}
.tb-hero--v2 .tb-hero__badge strong { color: var(--tb-accent); }

.tb-mock { display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; padding: 14px; background: var(--tb-surface); }
.tb-mock__bar { display: flex; gap: 5px; }
.tb-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--tb-line-strong); }
.tb-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tb-mock__kpis span { height: 34px; border-radius: 6px; background: var(--tb-primary-soft); border: 1px solid var(--tb-line); }
.tb-mock__kpis span:nth-child(2) { background: var(--tb-secondary-soft); }
.tb-mock__chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 6px; background: color-mix(in srgb, var(--tb-soft) 45%, var(--tb-surface)); }
.tb-mock__chart i { flex: 1; border-radius: 4px 4px 0 0; background: var(--tb-primary); }
.tb-mock__chart i:nth-child(even) { background: var(--tb-accent); }
.tb-mock__rows { display: grid; gap: 6px; }
.tb-mock__rows span { height: 9px; border-radius: 4px; background: var(--tb-line); }
.tb-mock__rows span:nth-child(2) { width: 80%; }
.tb-mock__rows span:nth-child(3) { width: 60%; }

/* ---------- 10. Confiance, offres, catégories ---------- */
.tb-trust { padding-bottom: 28px; }
.tb-trust__list { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: .9rem 2.2rem; border-top: 1.5px dashed var(--tb-line-strong); }
.tb-trust__item { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; }
.tb-trust__icon { color: var(--tb-primary); display: flex; }
.tb-v2 .tb-trust__list { justify-content: center; border: 0; padding-top: 0; }
.tb-v2 .tb-trust__item { padding: .5rem 1rem; border: 1.5px solid var(--tb-ink); border-radius: 999px; background: var(--tb-surface); font-size: .84rem; }
.tb-v2 .tb-trust__item:nth-child(4n+1) .tb-trust__icon { color: var(--tb-pal1); }
.tb-v2 .tb-trust__item:nth-child(4n+2) .tb-trust__icon { color: var(--tb-pal2); }
.tb-v2 .tb-trust__item:nth-child(4n+3) .tb-trust__icon { color: var(--tb-pal3); }
.tb-v2 .tb-trust__item:nth-child(4n+4) .tb-trust__icon { color: var(--tb-pal4); }

.tb-offers { background: var(--tb-primary); padding-block: 20px; }
.tb-offers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tb-offer {
	position: relative; display: flex; align-items: center; gap: .9rem; height: 100%;
	padding: .85rem 1rem; background: var(--tb-surface); color: var(--tb-text);
	border-radius: var(--tb-radius-sm); border-left: 4px solid var(--tb-secondary);
}
a.tb-offer:hover { color: var(--tb-text); transform: translateY(-2px); }
.tb-offer { transition: transform .2s var(--tb-ease); }
.tb-offer__icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px; background: var(--tb-secondary-soft); color: var(--tb-secondary); }
.tb-offer__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.tb-offer__text strong { font-size: .95rem; }
.tb-offer__text small { color: var(--tb-muted); font-size: .76rem; font-family: ui-monospace, Menlo, Consolas, monospace; }
.tb-v2 .tb-offers { background: var(--tb-soft); border-block: var(--tb-bw) solid var(--tb-ink); padding-block: 26px; }
.tb-v2 .tb-offer { border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow-sm); }
.tb-v2 .tb-offer__text small { font-family: inherit; }
.tb-v2 .tb-offers li:nth-child(3n+1) .tb-offer__icon { background: var(--tb-pal1); color: #fff; }
.tb-v2 .tb-offers li:nth-child(3n+2) .tb-offer__icon { background: var(--tb-pal3); color: #fff; }
.tb-v2 .tb-offers li:nth-child(3n+3) .tb-offer__icon { background: var(--tb-pal4); color: #fff; }

.tb-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tb-cat {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
	height: 100%; min-height: 132px; padding: 1.2rem .8rem; text-align: center;
	background: var(--tb-surface); color: var(--tb-text);
	border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow-sm);
	transition: transform .2s var(--tb-ease), box-shadow .2s var(--tb-ease);
}
.tb-cat:hover { color: var(--tb-text); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--tb-ink); }
.tb-cat__icon { display: flex; color: var(--cat-color, var(--tb-primary)); margin-bottom: .2rem; }
.tb-cat__name { font-weight: 700; line-height: 1.25; }
.tb-cat__count { font-size: .72rem; color: var(--tb-muted); font-family: ui-monospace, Menlo, Consolas, monospace; }
.tb-cat__arrow { display: none; }
.tb-v1 .tb-cat::before { content: ""; position: absolute; top: -2px; left: 50%; width: 28px; height: 5px; border-radius: 0 0 5px 5px; transform: translateX(-50%); background: var(--tb-ink); }

.tb-v2 .tb-cat {
	align-items: flex-start; justify-content: space-between; text-align: left; min-height: 150px;
	background: var(--cat-color, var(--tb-primary)); color: #fff; box-shadow: var(--tb-shadow);
}
.tb-v2 .tb-cat:hover { color: #fff; box-shadow: var(--tb-shadow-lg); }
.tb-v2 .tb-cat__icon { color: #fff; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); }
.tb-v2 .tb-cat__name { font-size: .95rem; margin-top: auto; }
.tb-v2 .tb-cat__count { color: rgba(255,255,255,.85); font-family: inherit; }
.tb-v2 .tb-cat__arrow { display: flex; position: absolute; top: 14px; right: 14px; opacity: .7; }

/* ---------- 11. Cartes produit ---------- */
.tb-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tb-products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tb-product-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius);
	box-shadow: var(--tb-shadow); transition: transform .2s var(--tb-ease), box-shadow .2s var(--tb-ease);
}
.tb-product-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--tb-ink); }
.tb-product-card__media { position: relative; aspect-ratio: 4 / 3; border-bottom: var(--tb-bw) solid var(--tb-ink); border-radius: calc(var(--tb-radius) - 2px) calc(var(--tb-radius) - 2px) 0 0; overflow: hidden; background: var(--tb-soft); }
.tb-v2 .tb-product-card__media { overflow: visible; }
.tb-v2 .tb-product-card__media > a { display: block; height: 100%; overflow: hidden; border-radius: calc(var(--tb-radius) - 3px) calc(var(--tb-radius) - 3px) 0 0; }
.tb-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--tb-ease); }
.tb-product-card:hover .tb-product-card__media img { transform: scale(1.04); }
.tb-product-card__body { display: flex; flex-direction: column; gap: .45rem; flex: 1; padding: 1rem 1.05rem 1.05rem; }
.tb-product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .74rem; }
.tb-product-card__cat { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tb-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-product-card__rating { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--tb-text); }
.tb-product-card__rating .tb-icon { color: var(--tb-accent); }
.tb-product-card__rating small { color: var(--tb-muted); font-weight: 500; }
.tb-product-card__title { font-size: 1.04rem; line-height: 1.3; margin: 0; }
.tb-product-card__title a { color: var(--tb-text); }
.tb-product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tb-product-card__title a:hover { color: var(--tb-primary); }
.tb-product-card__excerpt { color: var(--tb-muted); font-size: .86rem; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb-product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .45rem; }
.tb-product-card__cta { position: relative; z-index: 2; }
.tb-product-card .tb-fav { z-index: 3; }

.tb-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .45rem; font-weight: 800; }
.tb-price__current { color: var(--tb-text); font-size: 1.08rem; font-family: var(--tb-font-h); }
.tb-price__old { color: var(--tb-muted); font-weight: 500; font-size: .85rem; }
.tb-v1 .tb-product-card .tb-price__current { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; }
.tb-v2 .tb-product-card .tb-price {
	position: relative; padding: .3rem .7rem .3rem 1.1rem; border: 1.5px solid var(--tb-ink); border-radius: 8px;
	background: color-mix(in srgb, var(--tb-soft) 60%, var(--tb-surface));
}
.tb-v2 .tb-product-card .tb-price::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1.5px solid var(--tb-ink); background: var(--tb-surface); }
.tb-v2 .tb-product-card .tb-price__current { font-size: .95rem; }

.tb-formats { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.tb-formats li { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; font-size: .82rem; font-weight: 600; border-radius: 999px; background: var(--tb-primary-soft); color: color-mix(in srgb, var(--tb-primary) 80%, var(--tb-ink)); }
.tb-formats--mini li { padding: .15rem .45rem; font-size: .7rem; border-radius: 5px; background: color-mix(in srgb, var(--tb-soft) 70%, var(--tb-surface)); color: var(--tb-muted); }

/* Vue liste */
.tb-products--list { grid-template-columns: 1fr; }
.tb-products--list .tb-product-card { flex-direction: row; }
.tb-products--list .tb-product-card__media { width: 280px; flex-shrink: 0; aspect-ratio: auto; min-height: 190px; border-bottom: 0; border-right: var(--tb-bw) solid var(--tb-ink); border-radius: calc(var(--tb-radius) - 2px) 0 0 calc(var(--tb-radius) - 2px); }
.tb-v2 .tb-products--list .tb-product-card__media > a { border-radius: calc(var(--tb-radius) - 3px) 0 0 calc(var(--tb-radius) - 3px); }
.tb-products--list .tb-product-card__body { padding: 1.3rem 1.5rem; }
.tb-products--list .tb-product-card__title { font-size: 1.25rem; }
.tb-products--list .tb-product-card__excerpt { -webkit-line-clamp: 3; font-size: .95rem; }

/* ---------- 12. Promo, avantages, chiffres ---------- */
.tb-promo { background: var(--tb-dark); color: #fff; padding-block: clamp(28px, 4vw, 40px); }
.tb-promo__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.tb-promo__icon { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; background: var(--tb-accent); color: var(--tb-ink); }
.tb-promo__text { flex: 1; }
.tb-promo__title { color: #fff; font-size: clamp(1.25rem, 2.3vw, 1.7rem); margin: 0 0 .3rem; }
.tb-promo__title .tb-hl { color: var(--tb-accent); }
.tb-promo__text p { margin: 0; color: rgba(255,255,255,.78); font-size: .95rem; max-width: 640px; }
.tb-promo .tb-btn { box-shadow: 3px 3px 0 rgba(255,255,255,.25); border-color: var(--tb-ink); }

.tb-benefits { background: color-mix(in srgb, var(--tb-soft) 70%, var(--tb-bg)); padding-block: clamp(36px, 5vw, 56px); border-block: 1px solid var(--tb-line); }
.tb-benefits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tb-benefit { text-align: center; }
.tb-benefit__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: .8rem; color: var(--tb-secondary); background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); }
.tb-benefit__title { font-size: 1.02rem; margin: 0 0 .35rem; font-family: var(--tb-font-b); font-weight: 800; letter-spacing: 0; }
.tb-benefit p { margin: 0; color: var(--tb-muted); font-size: .88rem; }
.tb-v2 .tb-benefits { background: var(--tb-bg); }
.tb-v2 .tb-benefit__icon { border-radius: 50%; border: var(--tb-bw) solid var(--tb-ink); box-shadow: var(--tb-shadow-sm); color: #fff; }
.tb-v2 .tb-benefit:nth-child(4n+1) .tb-benefit__icon { background: var(--tb-pal1); }
.tb-v2 .tb-benefit:nth-child(4n+2) .tb-benefit__icon { background: var(--tb-pal3); }
.tb-v2 .tb-benefit:nth-child(4n+3) .tb-benefit__icon { background: var(--tb-pal2); }
.tb-v2 .tb-benefit:nth-child(4n+4) .tb-benefit__icon { background: var(--tb-pal4); }

.tb-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tb-stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; }
.tb-stat__value { font-family: var(--tb-font-h); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; letter-spacing: var(--tb-h-track); color: var(--tb-text); font-variant-numeric: tabular-nums; }
.tb-stat__label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-muted); }
.tb-v1 .tb-stats--home .tb-stat { padding: 1.6rem 1rem; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow-sm); }
.tb-v1 .tb-stats--home .tb-stat__value { color: var(--tb-primary); }
.tb-v2 .tb-stats--home .tb-stat {
	justify-content: center; aspect-ratio: 1; width: min(100%, 210px); margin-inline: auto; padding: 1rem;
	border-radius: 50%; border: 3px solid var(--tb-ink); background: var(--tb-surface); box-shadow: 7px 7px 0 var(--tb-ink);
}
.tb-v2 .tb-stats--home .tb-stat:nth-child(4n+1) { box-shadow: 7px 7px 0 var(--tb-pal1); }
.tb-v2 .tb-stats--home .tb-stat:nth-child(4n+2) { box-shadow: 7px 7px 0 var(--tb-pal3); }
.tb-v2 .tb-stats--home .tb-stat:nth-child(4n+3) { box-shadow: 7px 7px 0 var(--tb-pal2); }
.tb-v2 .tb-stats--home .tb-stat:nth-child(4n+4) { box-shadow: 7px 7px 0 var(--tb-pal4); }
.tb-v2 .tb-stats--home .tb-stat__label { text-transform: none; letter-spacing: 0; font-size: .85rem; max-width: 130px; }

.tb-band { padding-block: clamp(32px, 4vw, 48px); border-block: 1px solid var(--tb-line-strong); }

/* ---------- 13. Avis ---------- */
.tb-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: start; }
.tb-review-card {
	position: relative; display: flex; flex-direction: column; gap: .9rem; height: 100%;
	padding: 1.5rem; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink);
	border-radius: var(--tb-radius); box-shadow: var(--tb-shadow);
}
.tb-review-card__quote { position: absolute; top: 16px; right: 18px; color: color-mix(in srgb, var(--tb-secondary) 22%, transparent); }
.tb-review-card__text { color: var(--tb-text); font-size: .96rem; line-height: 1.65; }
.tb-review-card__text p:last-child { margin: 0; }
.tb-review-card__author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.tb-review-card__name { margin: 0; font-weight: 800; font-size: .92rem; }
.tb-review-card__role, .tb-review-card__product { margin: 0; font-size: .8rem; color: var(--tb-muted); }
.tb-review-card__product { color: var(--tb-primary); font-weight: 600; }
.tb-v2 .tb-reviews-grid .tb-review-card:nth-child(3n+2) { transform: translateY(18px); }

.tb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tb-avatar--initials { display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: var(--tb-secondary); }
.tb-pal-1 { background: var(--tb-pal1); } .tb-pal-2 { background: var(--tb-pal2); } .tb-pal-3 { background: var(--tb-pal3); }
.tb-pal-4 { background: var(--tb-pal4); } .tb-pal-5 { background: var(--tb-pal5); } .tb-pal-6 { background: var(--tb-pal6); }

.tb-rating-hero { text-align: center; margin-bottom: 2.5rem; }
.tb-rating-hero p { color: var(--tb-muted); margin: .6rem 0 0; }

.tb-reviews__summary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; padding: 1.6rem 1.8rem; margin-bottom: 1.4rem; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); }
.tb-reviews__score { border-right: 1px solid var(--tb-line); padding-right: 2rem; }
.tb-reviews__big { margin: 0 0 .3rem; }
.tb-reviews__big strong { font-family: var(--tb-font-h); font-size: 3rem; line-height: 1; }
.tb-reviews__big span { color: var(--tb-muted); margin-left: .3rem; }
.tb-reviews__count { font-size: .85rem; color: var(--tb-muted); margin: .4rem 0 0; }
.tb-reviews__dist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.tb-reviews__dist li { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 600; }
.tb-reviews__dist li span:last-child { text-align: right; color: var(--tb-muted); }
.tb-bar { height: 8px; border-radius: 99px; background: var(--tb-soft); overflow: hidden; }
.tb-bar i { display: block; height: 100%; border-radius: inherit; background: var(--tb-accent); }
.tb-reviews__list { background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); padding: .4rem 1.6rem; }
.tb-review-row { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--tb-line); }
.tb-review-row:last-child { border-bottom: 0; }
.tb-review-row__body { flex: 1; min-width: 0; }
.tb-review-row__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.tb-review-row__name { font-weight: 800; margin: 0; font-size: .95rem; }
.tb-review-row__name small { font-weight: 500; color: var(--tb-muted); margin-left: .4rem; }
.tb-review-row time { font-size: .78rem; color: var(--tb-muted); white-space: nowrap; }
.tb-review-row__text { color: var(--tb-muted); font-size: .94rem; }
.tb-review-row__text p { margin: 0; }

/* ---------- 14. Lead magnet ---------- */
.tb-lm { position: relative; margin-block: 1rem; }
.tb-lm__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 4vw, 44px); background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-lg); }
.tb-lm__inner:not(:has(.tb-lm__media)) { grid-template-columns: 1fr; }
.tb-lm__media { position: relative; }
.tb-lm__img { width: 100%; height: auto; border-radius: var(--tb-radius); border: 1.5px solid var(--tb-line-strong); transform: rotate(-2deg); box-shadow: 0 24px 40px -24px rgba(0,0,0,.45); }
.tb-lm__title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0 0 .6rem; }
.tb-lm__text { color: var(--tb-muted); margin: 0 0 1rem; }
.tb-checklist { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.tb-checklist li { display: flex; align-items: flex-start; gap: .55rem; font-size: .95rem; }
.tb-checklist .tb-icon { color: var(--tb-primary); margin-top: 3px; }
.tb-lm__fields { display: flex; flex-wrap: wrap; gap: .6rem; }
.tb-lm__fields input { flex: 1 1 180px; min-width: 0; height: 52px; }
.tb-lm__fields .tb-btn { flex: 0 0 auto; min-height: 52px; }
.tb-lm__form label.tb-sr { position: absolute !important; }
.tb-lm__success { text-align: left; padding: 1rem 0; animation: tb-toast-in .4s var(--tb-ease) both; }
.tb-lm__success-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #16a34a; color: #fff; margin-bottom: .8rem; }
.tb-lm__success-title { font-family: var(--tb-font-h); font-weight: 800; font-size: 1.5rem; margin: 0 0 .3rem; }
.tb-lm__success-text { color: var(--tb-muted); }

.tb-lm--banner .tb-lm__inner { background: var(--tb-primary); color: var(--tb-primary-ink); }
.tb-lm--banner .tb-lm__title, .tb-lm--banner .tb-checklist, .tb-lm--banner .tb-lm__success-title { color: var(--tb-primary-ink); }
.tb-lm--banner .tb-lm__text, .tb-lm--banner .tb-consent, .tb-lm--banner .tb-lm__success-text { color: color-mix(in srgb, var(--tb-primary-ink) 82%, transparent); }
.tb-lm--banner .tb-checklist .tb-icon { color: var(--tb-accent); }
.tb-lm--banner .tb-eyebrow { color: var(--tb-primary-ink); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.12); }
.tb-lm--banner .tb-lm__fields .tb-btn { background: var(--tb-secondary); color: #fff; }
.tb-v2 .tb-lm--banner .tb-lm__fields .tb-btn { background: var(--tb-accent); color: var(--tb-ink); }
.tb-lm--banner .tb-lm__fields input { background: #fff; border-color: var(--tb-ink); color: var(--tb-text); }

.tb-lm--compact .tb-lm__inner { grid-template-columns: 1fr; padding: 1.3rem; box-shadow: var(--tb-shadow); border-radius: var(--tb-radius); background: color-mix(in srgb, var(--tb-primary) 7%, var(--tb-surface)); }
.tb-lm--compact .tb-lm__title { font-size: 1.2rem; }
.tb-lm--compact .tb-lm__text { font-size: .9rem; }
.tb-lm--compact .tb-lm__fields { flex-direction: column; }
.tb-lm--compact .tb-lm__fields input, .tb-lm--compact .tb-lm__fields .tb-btn { flex: auto; width: 100%; height: 46px; min-height: 46px; }

/* ---------- 15. Blog ---------- */
.tb-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); padding-block: clamp(32px, 5vw, 64px); align-items: start; }
.tb-posts { display: grid; gap: 22px; }
.tb-posts--v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tb-post-card { position: relative; display: flex; flex-direction: column; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s var(--tb-ease); }
.tb-post-card:hover { border-color: var(--tb-ink); box-shadow: var(--tb-shadow); transform: translate(-2px, -2px); }
.tb-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tb-soft); }
.tb-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--tb-ease); }
.tb-post-card:hover .tb-post-card__media img { transform: scale(1.04); }
.tb-post-card__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.tb-post-card__cat { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-secondary); }
.tb-post-card__title { font-size: 1.18rem; line-height: 1.3; margin: 0; }
.tb-post-card__title a { color: var(--tb-text); }
.tb-post-card__title a:hover { color: var(--tb-primary); }
.tb-post-card__meta { font-size: .8rem; color: var(--tb-muted); margin: 0; display: flex; gap: .4rem; align-items: center; }
.tb-post-card__excerpt { color: var(--tb-muted); font-size: .92rem; margin: .1rem 0 .4rem; }
.tb-post-card .tb-link-arrow { align-self: flex-start; margin-top: auto; }

.tb-post-card--row { flex-direction: row; }
.tb-post-card--row .tb-post-card__media { width: 260px; flex-shrink: 0; aspect-ratio: auto; }
.tb-post-card--row .tb-post-card__body { padding: 1.4rem 1.6rem; }
.tb-post-card--featured { grid-column: 1 / -1; }
.tb-post-card--featured .tb-post-card__media { aspect-ratio: 21 / 9; }
.tb-post-card--featured .tb-post-card__title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.tb-post-card--featured .tb-post-card__body { padding: 1.6rem 1.8rem 1.8rem; }
.tb-v2 .tb-post-card { border: var(--tb-bw) solid var(--tb-ink); box-shadow: var(--tb-shadow-sm); }
.tb-v2 .tb-post-card__cat { display: inline-block; align-self: flex-start; padding: .2rem .55rem; border-radius: 999px; background: var(--tb-secondary-soft); letter-spacing: .04em; }

.tb-sidebar { position: sticky; top: calc(var(--tb-header-h) + 70px); align-self: start; }
.tb-sidebar__inner { display: grid; gap: 20px; }
.tb-widget { padding: 1.2rem 1.3rem; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); }
.tb-widget__title { font-size: 1rem; margin: 0 0 .8rem; font-family: var(--tb-font-b); font-weight: 800; letter-spacing: 0; }
.tb-widget ul { list-style: none; margin: 0; padding: 0; }
.tb-widget__cats a { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--tb-text); border-bottom: 1px solid var(--tb-line); font-size: .92rem; }
.tb-widget__cats li:last-child a { border-bottom: 0; }
.tb-widget__cats a:hover { color: var(--tb-primary); }
.tb-count { font-size: .75rem; color: var(--tb-muted); background: var(--tb-soft); border-radius: 999px; padding: .05rem .5rem; }
.tb-widget__posts li + li { margin-top: .75rem; }
.tb-widget__posts a { display: grid; grid-template-columns: 60px 1fr; gap: .75rem; align-items: center; color: var(--tb-text); }
.tb-widget__thumb { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; background: var(--tb-soft); color: var(--tb-muted); }
.tb-widget__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tb-widget__posts strong { display: block; font-size: .88rem; line-height: 1.3; }
.tb-widget__posts small { color: var(--tb-muted); font-size: .75rem; }
.tb-widget__posts a:hover strong { color: var(--tb-primary); }
.tb-sidebar .tb-lm { margin: 0; }

/* Article */
.tb-article__header { padding-block: clamp(32px, 5vw, 56px) 1.5rem; }
.tb-article__header .tb-breadcrumbs { margin-bottom: 1.2rem; }
.tb-article__title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: .9rem 0 .6rem; }
.tb-article__subtitle { font-size: 1.15rem; color: var(--tb-muted); margin: 0 0 1rem; }
.tb-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--tb-muted); font-size: .88rem; }
.tb-article__meta .tb-avatar { width: 36px; height: 36px; }
.tb-article__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.tb-container--mid .tb-breadcrumbs ol { justify-content: flex-start; }
.tb-article__cover { margin-block: 0 clamp(24px, 4vw, 40px); }
.tb-article__cover img { width: 100%; max-height: 560px; object-fit: cover; border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-lg); }
.tb-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: clamp(40px, 6vw, 72px); }
.tb-article__main { min-width: 0; }

.tb-toc { margin-bottom: 2rem; padding: 1.1rem 1.3rem; background: color-mix(in srgb, var(--tb-primary) 6%, var(--tb-surface)); border: 1.5px solid color-mix(in srgb, var(--tb-primary) 25%, transparent); border-radius: var(--tb-radius); }
.tb-toc__title { display: flex; align-items: center; gap: .4rem; font-weight: 800; margin: 0 0 .5rem; }
.tb-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.tb-toc a { color: var(--tb-text); font-size: .93rem; }
.tb-toc a:hover { color: var(--tb-primary); }
.tb-toc .is-sub { margin-left: 1rem; list-style: circle; }

.tb-prose { font-size: 1.06rem; line-height: 1.8; }
.tb-prose > *:first-child { margin-top: 0; }
.tb-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.2em 0 .6em; }
.tb-prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.tb-prose p, .tb-prose ul, .tb-prose ol { margin: 0 0 1.2em; }
.tb-prose ul, .tb-prose ol { padding-left: 1.3em; }
.tb-prose li { margin-bottom: .35em; }
.tb-prose li::marker { color: var(--tb-primary); }
.tb-prose a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tb-prose blockquote { margin: 1.6em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--tb-primary); background: var(--tb-surface); border-radius: 0 var(--tb-radius) var(--tb-radius) 0; font-size: 1.1rem; }
.tb-prose img, .tb-prose figure img { border-radius: var(--tb-radius); height: auto; }
.tb-prose figure { margin: 1.8em 0; }
.tb-prose figcaption { font-size: .85rem; color: var(--tb-muted); text-align: center; margin-top: .5rem; }
.tb-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.tb-prose th, .tb-prose td { padding: .6rem .8rem; border: 1px solid var(--tb-line-strong); text-align: left; }
.tb-prose th { background: var(--tb-soft); }
.tb-prose code { font-size: .88em; padding: .1em .35em; border-radius: 4px; background: var(--tb-soft); }
.tb-prose pre { overflow-x: auto; padding: 1rem; border-radius: var(--tb-radius); background: var(--tb-ink); color: var(--tb-bg); }
.tb-prose pre code { background: none; padding: 0; }
.tb-prose hr { border: 0; border-top: 1.5px dashed var(--tb-line-strong); margin: 2.5em 0; }
.tb-prose .alignwide { margin-inline: -4vw; }
.tb-prose--muted { color: var(--tb-muted); font-size: 1rem; }

.tb-article__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--tb-line); }
.tb-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tb-tags a { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; background: var(--tb-surface); border: 1px solid var(--tb-line-strong); color: var(--tb-text); }
.tb-article__share { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .9rem; }
.tb-author-box { display: flex; gap: 1.2rem; align-items: center; margin: 2rem 0; padding: 1.4rem; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); }
.tb-author-box .tb-avatar { width: 72px; height: 72px; }
.tb-author-box__name { font-weight: 800; font-size: 1.05rem; margin: 0 0 .2rem; }
.tb-author-box p:last-child { margin: 0; color: var(--tb-muted); font-size: .92rem; }
.tb-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.tb-post-nav a { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1rem 1.2rem; border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); background: var(--tb-surface); color: var(--tb-text); }
.tb-post-nav a:hover { border-color: var(--tb-ink); }
.tb-post-nav small { color: var(--tb-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.tb-post-nav span { font-weight: 700; line-height: 1.3; }
.tb-post-nav__next { text-align: right; grid-column: 2; }

.tb-comments { margin-top: 2.5rem; }
.tb-comments__title { font-size: 1.4rem; }
.tb-comments__list, .tb-comments__list .children { list-style: none; padding: 0; margin: 0; }
.tb-comments__list .children { padding-left: 2rem; }
.tb-comments__list .comment-body { padding: 1.1rem 1.2rem; margin-bottom: 1rem; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); }
.tb-comments__list .comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.tb-comments__list .comment-author img { border-radius: 50%; }
.tb-comments__list .comment-meta a { font-size: .78rem; color: var(--tb-muted); }
.comment-respond { margin-top: 2rem; padding: 1.5rem; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius-sm); background: var(--tb-bg); }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- 16. CTA ---------- */
.tb-cta {
	position: relative; overflow: hidden; text-align: center; color: #fff;
	padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
	background: linear-gradient(125deg, var(--tb-primary), color-mix(in srgb, var(--tb-primary) 45%, var(--tb-secondary)) 55%, var(--tb-secondary));
	border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-lg);
}
.tb-cta__deco { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 220px at 85% 100%, rgba(255,255,255,.2), transparent 70%), radial-gradient(300px 180px at 5% 0%, rgba(255,255,255,.14), transparent 70%); }
.tb-cta > *:not(.tb-cta__deco) { position: relative; }
.tb-cta__title { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.9rem); margin: 0 auto .8rem; max-width: 760px; }
.tb-cta__title .tb-hl { color: var(--tb-accent); }
.tb-cta__text { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.tb-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.tb-v2 .tb-cta { background: linear-gradient(125deg, var(--tb-primary), color-mix(in srgb, var(--tb-primary) 40%, var(--tb-secondary)) 60%, var(--tb-secondary)); }

/* ---------- 17. Pages intérieures ---------- */
.tb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tb-split__content .tb-section-title { margin-bottom: 1rem; }

.tb-feature { padding: 1.6rem; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); height: 100%; }
.tb-feature__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; margin-bottom: 1rem; color: var(--tb-primary); background: var(--tb-primary-soft); }
.tb-feature__title { font-size: 1.12rem; margin: 0 0 .4rem; font-family: var(--tb-font-b); font-weight: 800; letter-spacing: 0; }
.tb-feature p { margin: 0; color: var(--tb-muted); font-size: .93rem; }
.tb-v2 .tb-feature__icon { color: var(--tb-secondary); background: var(--tb-secondary-soft); }

.tb-steps-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tb-steps-intro .tb-btn { margin-top: 1.6rem; }
.tb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tb-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); }
.tb-step__num { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--tb-primary); color: var(--tb-primary-ink); font-weight: 800; font-size: .82rem; }
.tb-step__title { font-size: 1.05rem; margin: .2rem 0 .25rem; font-family: var(--tb-font-b); font-weight: 800; letter-spacing: 0; }
.tb-step p { margin: 0; color: var(--tb-muted); font-size: .92rem; }

.tb-faq { display: grid; gap: 12px; }
.tb-faq-search { margin-bottom: 1.5rem; }
.tb-faq__item { background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); transition: border-color .2s, box-shadow .2s; }
.tb-faq__item[open] { border-color: var(--tb-ink); box-shadow: var(--tb-shadow-sm); }
.tb-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 700; cursor: pointer; list-style: none; }
.tb-faq__item summary::-webkit-details-marker { display: none; }
.tb-faq__item summary .tb-icon { color: var(--tb-primary); transition: transform .25s var(--tb-ease); }
.tb-faq__item[open] summary .tb-icon { transform: rotate(45deg); }
.tb-faq__answer { padding: 0 1.3rem 1.1rem; color: var(--tb-muted); }
.tb-faq__answer p:last-child { margin: 0; }

.tb-help-box { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.5rem; padding: 1.4rem 1.6rem; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); }
.tb-help-box__icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--tb-primary-soft); color: var(--tb-primary); }
.tb-help-box > div { flex: 1; }
.tb-help-box__title { font-weight: 800; margin: 0 0 .15rem; }
.tb-help-box p:last-child { margin: 0; color: var(--tb-muted); font-size: .92rem; }

.tb-contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.tb-contact__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.tb-contact__list li { display: flex; align-items: center; gap: .9rem; }
.tb-contact__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--tb-primary-soft); color: var(--tb-primary); }
.tb-contact__list small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-muted); }
.tb-contact__list a, .tb-contact__list span > span { color: var(--tb-text); font-weight: 600; }
.tb-panel { padding: clamp(20px, 3vw, 32px); background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-lg); }

.tb-empty-state { text-align: center; padding: clamp(40px, 6vw, 72px) 1rem; background: var(--tb-surface); border: 1.5px dashed var(--tb-line-strong); border-radius: var(--tb-radius-lg); }
.tb-empty-state__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tb-soft); color: var(--tb-muted); margin-bottom: 1rem; }
.tb-empty-state h2 { font-size: 1.5rem; }
.tb-empty-state p { color: var(--tb-muted); }
.tb-empty-state .tb-search { max-width: 420px; margin: 1rem auto 0; }

.tb-404__code { font-family: var(--tb-font-h); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; margin: 0 0 1rem; color: var(--tb-primary); -webkit-text-stroke: 3px var(--tb-ink); text-shadow: 8px 8px 0 var(--tb-ink); }
.tb-404 .tb-search { max-width: 560px; margin: 1.8rem auto 0; }

.tb-pagination { margin-top: 2.5rem; }
.tb-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0; padding: 0; }
.tb-pagination a, .tb-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--tb-radius-sm); border: 1.5px solid var(--tb-line-strong); background: var(--tb-surface); color: var(--tb-text); font-weight: 700; }
.tb-pagination a:hover { border-color: var(--tb-ink); }
.tb-pagination .current { background: var(--tb-ink); color: var(--tb-bg); border-color: var(--tb-ink); }
.tb-pagination .dots { border: 0; background: none; }

/* ---------- 18. Boutique ---------- */
.tb-shop-head { padding-block: clamp(24px, 4vw, 40px) 0; background: color-mix(in srgb, var(--tb-soft) 35%, var(--tb-bg)); border-bottom: 1px solid var(--tb-line-strong); }
.tb-shop-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.tb-shop-head__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .5rem 0 .2rem; }
.tb-shop-head__count { margin: 0; color: var(--tb-muted); font-size: .9rem; }
.tb-shop-head .tb-search--shop { max-width: 440px; }
.tb-shop-head .tb-search--shop input[type="search"] { height: 48px; }
.tb-cat-pills { display: flex; gap: .5rem; overflow-x: auto; padding: 1.4rem 0 1.2rem; scrollbar-width: thin; }
.tb-cat-pills .tb-icon { color: var(--cat-color, var(--tb-primary)); }
.tb-cat-pills .tb-pill.is-active .tb-icon { color: inherit; }
.tb-v2 .tb-cat-pills .tb-pill.is-active { background: var(--cat-color, var(--tb-ink)); border-color: var(--tb-ink); color: #fff; }

.tb-shop-layout { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 36px); padding-block: clamp(24px, 4vw, 44px) clamp(48px, 7vw, 88px); align-items: start; }
.tb-shop-layout.has-filters { grid-template-columns: 270px minmax(0, 1fr); }
.tb-shop-main { min-width: 0; }

.tb-filters { position: sticky; top: calc(var(--tb-header-h) + 70px); }
.tb-filters__form { display: flex; flex-direction: column; gap: 1.3rem; padding: 1.3rem; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); }
.tb-filters__head { display: flex; align-items: center; justify-content: space-between; }
.tb-filters__title { display: flex; align-items: center; gap: .45rem; font-weight: 800; margin: 0; }
.tb-filters__close { display: none; }
.tb-filter { display: flex; flex-direction: column; gap: .55rem; }
.tb-filter__label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-muted); }
.tb-filters__reset { text-align: center; font-size: .85rem; color: var(--tb-muted); text-decoration: underline; margin-top: -.5rem; }

.tb-range__track { position: relative; height: 28px; }
.tb-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--tb-line-strong); }
.tb-range__fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: var(--tb-primary); left: 0; right: 0; }
.tb-range__track input[type="range"] { position: absolute; left: 0; top: 0; width: 100%; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.tb-range__track input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--tb-surface); border: 2px solid var(--tb-ink); box-shadow: 2px 2px 0 var(--tb-ink); cursor: grab; }
.tb-range__track input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--tb-surface); border: 2px solid var(--tb-ink); cursor: grab; }
.tb-range__track input[type="range"]::-moz-range-track { background: transparent; }
.tb-range__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tb-range__inputs label { position: relative; }
.tb-range__inputs span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: .72rem; color: var(--tb-muted); pointer-events: none; }
.tb-filters .tb-range__inputs input { padding: .55rem .5rem .55rem 2.4rem; font-size: .9rem; }

.tb-radios { display: flex; flex-wrap: wrap; gap: .4rem; }
.tb-radio input { position: absolute; opacity: 0; pointer-events: none; }
.tb-radio span { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; font-size: .82rem; font-weight: 600; border-radius: 999px; border: 1.5px solid var(--tb-line-strong); cursor: pointer; transition: all .15s; }
.tb-radio input:checked + span { background: var(--tb-ink); border-color: var(--tb-ink); color: var(--tb-bg); }
.tb-radio input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--tb-primary) 50%, transparent); }

.tb-switch { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; cursor: pointer; }
.tb-switch input { position: absolute; opacity: 0; pointer-events: none; }
.tb-switch__ui { position: relative; width: 40px; height: 22px; flex-shrink: 0; border-radius: 99px; background: var(--tb-line-strong); transition: background .2s; }
.tb-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--tb-ease); }
.tb-switch input:checked + .tb-switch__ui { background: var(--tb-primary); }
.tb-switch input:checked + .tb-switch__ui::after { transform: translateX(18px); }
.tb-switch input:focus-visible + .tb-switch__ui { outline: 3px solid color-mix(in srgb, var(--tb-primary) 50%, transparent); }

.tb-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.4rem; }
.tb-shop-toolbar__left, .tb-shop-toolbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tb-shop-toolbar__count { margin: 0 .4rem 0 0; font-size: .88rem; color: var(--tb-muted); padding: .35rem .7rem; border: 1px solid var(--tb-line-strong); border-radius: 8px; background: var(--tb-surface); }
.tb-shop-toolbar__count strong { color: var(--tb-primary); }
.tb-filters-toggle { display: none; }
.tb-view-toggle { display: inline-flex; padding: 3px; gap: 2px; border: 1.5px solid var(--tb-line-strong); border-radius: 10px; background: var(--tb-surface); }
.tb-view-toggle a { display: grid; place-items: center; width: 32px; height: 30px; border-radius: 7px; color: var(--tb-muted); }
.tb-view-toggle a.is-active { background: var(--tb-ink); color: var(--tb-bg); }
.tb-sort .tb-select select { min-width: 190px; }

/* ---------- 19. Fiche produit ---------- */
.tb-product__topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--tb-line); margin-bottom: clamp(20px, 3vw, 32px); }
.tb-product__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.tb-product__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(32px, 5vw, 56px); }

.tb-pgallery { display: grid; gap: 12px; }
.tb-pgallery__main { position: relative; aspect-ratio: 4 / 3; background: var(--tb-surface); border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow-lg); overflow: hidden; }
.tb-pgallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tb-pgallery__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.tb-pgallery__img.is-loading { opacity: .4; }
.tb-pgallery__count { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; }
.tb-pgallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tb-pgallery__thumb { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: var(--tb-radius-sm); border: 1.5px solid var(--tb-line-strong); background: var(--tb-surface); transition: border-color .2s, transform .2s; }
.tb-pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tb-pgallery__thumb:hover { transform: translateY(-2px); }
.tb-pgallery__thumb.is-active { border: 2px solid var(--tb-ink); box-shadow: var(--tb-shadow-sm); }
.tb-pgallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-weight: 800; font-size: 1.2rem; }

.tb-product__info { position: sticky; top: calc(var(--tb-header-h) + 70px); display: flex; flex-direction: column; gap: 1rem; }
.tb-product__chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.tb-product__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.tb-product__rating { display: inline-flex; align-items: center; gap: .45rem; color: var(--tb-text); font-size: .9rem; align-self: flex-start; }
.tb-product__rating span { color: var(--tb-muted); text-decoration: underline; }
.tb-product__price { display: flex; align-items: center; gap: .7rem; }
.tb-price--lg .tb-price__current { font-size: 2.1rem; }
.tb-price--lg .tb-price__old { font-size: 1.1rem; }
.tb-discount { padding: .25rem .6rem; border-radius: 6px; background: var(--tb-secondary); color: #fff; font-weight: 800; font-size: .85rem; }
.tb-product__excerpt { color: var(--tb-muted); margin: 0; font-size: 1.02rem; }
.tb-product__features { padding: 1rem 1.1rem; border-radius: var(--tb-radius); background: color-mix(in srgb, var(--tb-soft) 50%, var(--tb-surface)); border: 1px solid var(--tb-line); }
.tb-product__features .tb-checklist { margin: 0; }
.tb-product__buy { display: grid; gap: .6rem; padding-top: .3rem; }
.tb-product__note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .1rem 0 0; font-size: .82rem; color: var(--tb-muted); text-align: center; }
.tb-product__trust { list-style: none; margin: 0; padding: .9rem 0 0; display: grid; gap: .5rem; border-top: 1px dashed var(--tb-line-strong); }
.tb-product__trust li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; }
.tb-product__trust .tb-icon { color: var(--tb-primary); }

.tb-product__details { border-top: 1px solid var(--tb-line); background: color-mix(in srgb, var(--tb-soft) 30%, var(--tb-bg)); }
.tb-tabs__list { display: flex; gap: .4rem; overflow-x: auto; border-bottom: 1.5px solid var(--tb-line-strong); margin-bottom: 1.8rem; }
.tb-tabs__tab { position: relative; padding: .9rem 1.1rem; border: 0; background: none; font-weight: 700; color: var(--tb-muted); white-space: nowrap; }
.tb-tabs__tab[aria-selected="true"] { color: var(--tb-text); }
.tb-tabs__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px; border-radius: 3px 3px 0 0; background: var(--tb-primary); }
.tb-tabs__panel { max-width: 860px; }
.tb-specs { width: 100%; border-collapse: collapse; background: var(--tb-surface); border: 1.5px solid var(--tb-line-strong); border-radius: var(--tb-radius); overflow: hidden; }
.tb-specs th, .tb-specs td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--tb-line); }
.tb-specs tr:last-child th, .tb-specs tr:last-child td { border-bottom: 0; }
.tb-specs th { width: 38%; font-weight: 700; background: color-mix(in srgb, var(--tb-soft) 45%, var(--tb-surface)); }

.tb-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--tb-gutter); background: var(--tb-surface); border-top: var(--tb-bw) solid var(--tb-ink); transform: translateY(110%); transition: transform .3s var(--tb-ease); }
.tb-buybar.is-visible { transform: none; }
.tb-buybar__info { min-width: 0; display: flex; flex-direction: column; }
.tb-buybar__info strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tb-lightbox { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 60px 70px; background: rgba(12, 10, 8, .92); }
.tb-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.tb-lightbox__close, .tb-lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.tb-lightbox__close:hover, .tb-lightbox__nav:hover { background: rgba(255,255,255,.25); }
.tb-lightbox__close { top: 14px; right: 14px; }
.tb-lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.tb-lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 20. Pied de page ---------- */
.tb-footer { margin-top: 0; background: var(--tb-surface); border-top: 1px solid var(--tb-line-strong); font-size: .92rem; }
.tb-v2 .tb-footer { background: var(--tb-dark); color: rgba(255,255,255,.8); border-top: var(--tb-bw) solid var(--tb-ink); }
.tb-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 5vw, 64px); }
.tb-footer__brand p { color: var(--tb-muted); max-width: 380px; margin: 1rem 0; }
.tb-v2 .tb-footer__brand p { color: rgba(255,255,255,.7); }
.tb-v2 .tb-footer .tb-logo, .tb-v2 .tb-footer .tb-logo__name { color: #fff; }
.tb-footer__title { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .9rem; color: var(--tb-text); }
.tb-v2 .tb-footer__title { color: #fff; }
.tb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tb-footer ul a { color: var(--tb-muted); }
.tb-footer ul a:hover { color: var(--tb-primary); }
.tb-v2 .tb-footer ul a { color: rgba(255,255,255,.75); }
.tb-v2 .tb-footer ul a:hover { color: var(--tb-accent); }
.tb-socials { display: flex !important; gap: .5rem !important; grid-template-columns: none; }
.tb-socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--tb-line-strong); color: var(--tb-text) !important; }
.tb-socials a:hover { border-color: var(--tb-ink); background: var(--tb-ink); color: var(--tb-bg) !important; }
.tb-v2 .tb-socials a { border-color: rgba(255,255,255,.3); color: #fff !important; }
.tb-v2 .tb-socials a:hover { background: var(--tb-accent); border-color: var(--tb-accent); color: var(--tb-ink) !important; }
.tb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-block: 1.2rem; border-top: 1px solid var(--tb-line); color: var(--tb-muted); font-size: .84rem; }
.tb-v2 .tb-footer__bottom { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.tb-footer__bottom p { margin: 0; display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- 20b. Badges, vedette, produits gratuits ---------- */
.tb-badge--accent { background: var(--tb-accent); color: var(--tb-ink); }
.tb-badge--primary { background: var(--tb-primary); color: var(--tb-primary-ink); }
.tb-badge--secondary { background: var(--tb-secondary); color: #fff; }
.tb-badge--success { background: #16a34a; color: #fff; }
.tb-badge--dark { background: var(--tb-ink); color: var(--tb-bg); }
.tb-chip--badge { border-color: transparent; font-weight: 800; }

.tb-product-card.is-spotlight { box-shadow: var(--tb-shadow), 0 0 0 4px color-mix(in srgb, var(--tb-accent) 55%, transparent); }
.tb-spotlight { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; background: var(--tb-ink); color: var(--tb-accent); font-size: .72rem; font-weight: 800; }
.tb-sponsored { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-muted); border: 1px solid var(--tb-line-strong); border-radius: 4px; padding: .05rem .35rem; }

.tb-product__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: -.3rem 0 0; font-size: .85rem; color: var(--tb-muted); }
.tb-product__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.tb-sale-end { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--tb-secondary); }
.tb-highlights { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tb-highlights li { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 8px; background: var(--tb-surface); border: 1px solid var(--tb-line-strong); font-size: .84rem; font-weight: 600; }
.tb-highlights .tb-icon { color: #16a34a; }

.tb-pvideos { display: grid; gap: 12px; }
.tb-pvideos__item { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: var(--tb-bw) solid var(--tb-ink); border-radius: var(--tb-radius); }
.tb-pvideos__item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tb-lm--product { margin: 0; }
.tb-lm--product .tb-lm__inner { grid-template-columns: 1fr; padding: 1.2rem; border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); background: color-mix(in srgb, var(--tb-primary) 8%, var(--tb-surface)); }
.tb-lm--product .tb-lm__title { font-size: 1.15rem; margin-bottom: .3rem; }
.tb-lm--product .tb-lm__text { font-size: .9rem; margin-bottom: .8rem; }
.tb-lm--product .tb-lm__fields { flex-direction: column; }
.tb-lm--product .tb-lm__fields input, .tb-lm--product .tb-lm__fields .tb-btn { flex: auto; width: 100%; }

/* ---------- 21. Réactif ---------- */
@media (max-width: 1180px) {
	.tb-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tb-products--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tb-header--v2 .tb-menu { gap: .15rem 1rem; }
	.tb-tool--currency { display: none; }
}

@media (max-width: 960px) {
	:root { --tb-header-h: 64px; }
	.tb-menu-toggle { display: inline-flex; }
	.tb-search-toggle.is-mobile-only { display: inline-flex; }
	.tb-header--v1 .tb-search--header, .tb-header__nav, .tb-header--v2 .tb-header__nav { display: none; }
	.tb-header--v2 .tb-tool--fav .tb-tool__label { display: none; }
	.tb-header--v2 .tb-tool--fav .tb-count-badge { position: absolute; border: 2px solid var(--tb-surface); }
	.tb-header--v2 .tb-tool--fav { border-color: var(--tb-ink); width: 42px; padding: 0; justify-content: center; }
	.tb-lang { display: none; }

	.tb-hero__grid, .tb-split, .tb-steps-layout, .tb-contact-layout, .tb-product__grid { grid-template-columns: 1fr; }
	.tb-hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
	.tb-hero__frame { margin-inline: auto; }
	.tb-product__info { position: static; }
	.tb-buybar { display: flex; }

	.tb-offers__list { grid-template-columns: 1fr; }
	.tb-benefits__list, .tb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-reviews-grid, .tb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tb-v2 .tb-reviews-grid .tb-review-card:nth-child(3n+2) { transform: none; }
	.tb-lm__inner { grid-template-columns: 1fr; }
	.tb-lm__media { max-width: 320px; }

	.tb-blog-layout, .tb-article-layout { grid-template-columns: 1fr; }
	.tb-sidebar { position: static; }

	.tb-footer__top { grid-template-columns: 1fr 1fr; }
	.tb-footer__brand { grid-column: 1 / -1; }

	.tb-shop-layout.has-filters { grid-template-columns: 1fr; }
	.tb-filters-toggle { display: inline-flex; }
	.tb-filters {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 1000; width: min(360px, 90vw);
		transform: translateX(-105%); transition: transform .3s var(--tb-ease); overflow-y: auto;
		background: var(--tb-bg);
	}
	.tb-filters.is-open { transform: none; }
	.tb-filters__form { border-radius: 0; border: 0; min-height: 100%; }
	.tb-filters__close { display: inline-grid; }
	.tb-shop-head__row { flex-direction: column; align-items: stretch; }
	.tb-shop-head .tb-search--shop { max-width: none; }
	.tb-reviews__summary { grid-template-columns: 1fr; }
	.tb-reviews__score { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--tb-line); padding-bottom: 1.2rem; }
}

@media (max-width: 700px) {
	.tb-topbar a { display: none; }
	.tb-topbar p { font-size: .76rem; }
	.tb-logo__sub { display: none; }
	.tb-products, .tb-products--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tb-product-card__excerpt, .tb-product-card .tb-formats--mini { display: none; }
	.tb-product-card__body { padding: .8rem; }
	.tb-product-card__foot { flex-direction: column; align-items: stretch; }
	.tb-product-card__cta { justify-content: center; }
	.tb-products--list .tb-product-card { flex-direction: column; }
	.tb-products--list .tb-product-card__media { width: 100%; min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: var(--tb-bw) solid var(--tb-ink); border-radius: calc(var(--tb-radius) - 2px) calc(var(--tb-radius) - 2px) 0 0; }
	.tb-products--list { grid-template-columns: 1fr; }
	.tb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tb-reviews-grid, .tb-grid--3, .tb-posts--v2 { grid-template-columns: 1fr; }
	.tb-section-head { flex-direction: column; align-items: flex-start; }
	.tb-promo__inner { flex-direction: column; align-items: flex-start; }
	.tb-post-card--row { flex-direction: column; }
	.tb-post-card--row .tb-post-card__media { width: 100%; aspect-ratio: 16 / 10; }
	.tb-form__grid { grid-template-columns: 1fr; }
	.tb-favorites .tb-fav-item { grid-template-columns: 80px 1fr; }
	.tb-favorites .tb-fav-item__img { width: 80px; height: 64px; }
	.tb-favorites .tb-fav-item__actions { grid-column: 1 / -1; }
	.tb-post-nav { grid-template-columns: 1fr; }
	.tb-post-nav__next { grid-column: auto; }
	.tb-help-box { flex-direction: column; align-items: flex-start; }
	.tb-footer__top { grid-template-columns: 1fr; }
	.tb-v2 .tb-stats--home { gap: 18px; }
	.tb-pgallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tb-pgallery__thumb:nth-child(5) { display: none; }
	.tb-lightbox { padding: 60px 12px; }
	.tb-lightbox__nav { top: auto; bottom: 12px; transform: none; }
	.tb-hero--v1 .tb-hero__badge { width: 108px; height: 108px; }
	.tb-hero__badge strong { font-size: 1.4rem; }
	.tb-search__btn { display: none; }
	.tb-search input[type="search"]:has(+ input + .tb-search__btn) { padding-right: 1rem; }
	.tb-sort .tb-select select { min-width: 0; }
}

@media (max-width: 420px) {
	.tb-products, .tb-products--3 { grid-template-columns: 1fr; }
	.tb-benefits__list, .tb-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
	.tb-header__tools { gap: .35rem; }
	.tb-tool--icon, .tb-header--v2 .tb-tool--fav { width: 38px; height: 38px; }
}

@media (max-width: 782px) {
	.admin-bar .tb-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .tb-header { top: 0; }
}

@media print {
	.tb-header, .tb-footer, .tb-toasts, .tb-buybar, .tb-sidebar, .tb-topbar { display: none !important; }
}
