/*
 * Tasting Box : page de vente v6 (56k, 25/09/2026).
 * Charte d'Arthur : Piepie (titres) + Manrope (texte), palette officielle.
 * Formes : boutons et pastilles en pilule ; cartes et images à 20 px d'arrondi.
 * Couleur d'action unique : rouge vin (sur fond sombre : bouton crème).
 * Thème : clair, encadré par deux bandes sombres (hero et appel final).
 */

/* Salient masqué sur cette page seulement */
body.tb-hdr #header-outer, body.tb-hdr #header-space, body.tb-hdr #search-outer,
body.tb-hdr .tb-bandeau-cadeau, body.tb-hdr #mobile-cart-link, body.tb-hdr #to-top { display: none !important; }
body.tb-hdr { padding-top: 0 !important; }

.tbh, .tbh-topbar, .tbh-header, .tbh-sticky {
	--vin: #2F1210; --vigne: #374223; --vert: #70783A; --mer: #344672; --ciel: #BFDBEF;
	--creme: #FFFEF4; --noir: #1E1E1E; --blanc: #FFFFFF;
	--r: 20px;
	--titre: "piepie", "Arial Black", sans-serif;
	--texte: "Manrope", system-ui, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	font-family: var(--texte);
}
.tbh { color: var(--noir); background: var(--creme); }
.tbh *, .tbh *::before, .tbh *::after, .tbh-header *, .tbh-sticky * { box-sizing: border-box; }

/* Remise à zéro face aux styles Salient (spécificité #id pour gagner) */
#tb-accueil h1, #tb-accueil h2, #tb-accueil h3, #tb-accueil p, #tb-accueil dl, #tb-accueil dd, #tb-accueil ol,
#tb-accueil ul, #tb-accueil li, #tb-accueil figure, #tb-accueil blockquote, #tb-accueil footer { margin: 0; padding: 0; border: 0; background: none; list-style: none; text-indent: 0; }
#tb-accueil blockquote::before, #tb-accueil blockquote::after { content: none; display: none; }
#tb-accueil p, #tb-accueil dd, #tb-accueil li, #tb-accueil blockquote, #tb-accueil figcaption, #tb-accueil summary, #tb-accueil footer {
	font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; letter-spacing: 0; color: inherit;
}
#tb-accueil img { display: block; max-width: 100%; }
#tb-accueil h3 { font-family: var(--texte); font-weight: 800; letter-spacing: 0; }

.tbh-wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
#tb-accueil .tbh-h2 {
	font-family: var(--titre); font-weight: 400; letter-spacing: 0;
	font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.05;
	color: var(--vin); max-width: 24ch;
}

/* Boutons */
.tbh-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
a.tbh-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 3.1rem; padding: .75rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--texte); font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: 0;
	text-decoration: none !important; white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
a.tbh-btn:active { transform: translateY(1px) scale(.98); }
a.tbh-btn:focus-visible { outline: 3px solid var(--mer); outline-offset: 3px; }
a.tbh-btn--light { background: var(--creme); color: var(--vin) !important; }
a.tbh-btn--light:hover { background: var(--ciel); }
a.tbh-btn--ghost { border-color: rgba(255,254,244,.75); color: var(--creme) !important; }
a.tbh-btn--ghost:hover { background: rgba(255,254,244,.12); border-color: var(--creme); }
a.tbh-btn--wine { background: var(--vin); color: var(--creme) !important; }
a.tbh-btn--wine:hover { background: var(--vigne); }
.tbh-stars { color: #E2B343; letter-spacing: .04em; }

/* Barre du haut + header */
.tbh-topbar { background: var(--vigne); color: var(--creme); text-align: center; padding: .45rem 1rem; }
.tbh-topbar p { margin: 0; font-size: .875rem; line-height: 1.4; font-weight: 600; }
.tbh-header { position: sticky; top: 0; z-index: 900; background: var(--creme); border-bottom: 2px solid var(--vin); }
body.admin-bar .tbh-header { top: 32px; }
.tbh-header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.tbh-header__logo img { display: block; height: 48px; width: auto; }
.tbh-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.tbh-nav a { font-weight: 700; font-size: 1rem; color: var(--vin) !important; text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; transition: border-color .2s var(--ease); }
.tbh-nav a:hover, .tbh-nav a:focus-visible { border-bottom-color: var(--vin); outline: none; }
.tbh-header__tools { display: flex; align-items: center; gap: .35rem; margin-left: 1rem; }
.tbh-icon { position: relative; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; color: var(--vin) !important; transition: background-color .2s var(--ease); }
.tbh-icon:hover { background: rgba(47,18,16,.08); }
.tbh-icon__badge { position: absolute; top: 0; right: 0; min-width: 1.1rem; height: 1.1rem; border-radius: 999px; background: var(--vin); color: var(--creme); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.tbh-header .tbh-btn { min-height: 2.6rem; padding: .5rem 1.2rem; font-size: .95rem; }

/* Hero : titre + colonne d'action, puis la vraie table de dégustation */
.tbh-hero {
	--pied: clamp(5rem, 12vw, 10rem);
	background: linear-gradient(to bottom, var(--vin) calc(100% - var(--pied)), var(--creme) calc(100% - var(--pied)));
	color: var(--creme); padding-top: clamp(2.5rem, 5vw, 4.25rem);
}
.tbh-hero__head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.75rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
#tb-accueil .tbh-hero__title {
	font-family: var(--titre); font-weight: 400; letter-spacing: 0; color: var(--creme);
	font-size: clamp(2.4rem, 1rem + 3.6vw, 4.1rem); line-height: 1.02; max-width: 16ch;
}
#tb-accueil .tbh-hero__lead { font-size: 1.15rem; color: rgba(255,254,244,.9); max-width: 30rem; margin-bottom: 1.5rem; }
.tbh-hero__media { position: relative; margin-top: clamp(2rem, 4vw, 3.25rem); }
#tb-accueil .tbh-hero__media > img:first-child {
	width: 100%; height: auto; aspect-ratio: 2.1 / 1; object-fit: cover; object-position: 50% 12%;
	border-radius: var(--r); border: 2px solid var(--vin);
}
.tbh-hero__sticker { position: absolute; width: clamp(88px, 9vw, 136px); right: -1rem; top: -2.5rem; transform: rotate(12deg); }

/* Garanties sous le hero */
.tbh-promise { padding: clamp(1.75rem, 3vw, 2.5rem) 0 0; }
#tb-accueil .tbh-promise__list { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem 2rem; }
#tb-accueil .tbh-promise__list li { display: flex; flex-direction: column; gap: .1rem; }
#tb-accueil .tbh-promise__list strong { font-size: 1.05rem; color: var(--vin); }
#tb-accueil .tbh-promise__list span { font-size: .95rem; color: rgba(30,30,30,.72); }

/* Problème + contenu de la box (fiche Bristol) */
.tbh-box { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.tbh-box__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
#tb-accueil .tbh-box__intro > p { margin-top: 1.25rem; max-width: 34rem; }
#tb-accueil .tbh-quote-mini { margin-top: 1.75rem; padding-left: 1rem; border-left: 4px solid var(--vert); max-width: 34rem; }
#tb-accueil .tbh-quote-mini blockquote { font-weight: 600; color: var(--vigne); }
#tb-accueil .tbh-quote-mini figcaption { margin-top: .35rem; font-size: .9rem; color: rgba(30,30,30,.7); }
.tbh-fiche {
	background-color: var(--blanc);
	background-image:
		linear-gradient(to right, rgba(52,70,114,.14) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(52,70,114,.14) 1px, transparent 1px);
	background-size: 22px 22px;
	border: 2px solid var(--vin); border-radius: var(--r);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: 8px 8px 0 var(--vigne);
	transform: rotate(-1.2deg);
}
#tb-accueil .tbh-fiche__head { font-family: var(--titre); font-size: 1.5rem; line-height: 1; color: var(--mer); }
#tb-accueil .tbh-fiche__list { margin-top: 1.25rem; display: grid; gap: 1.1rem; }
#tb-accueil .tbh-fiche__list > div { padding-top: 1.1rem; border-top: 2px dashed rgba(47,18,16,.3); }
#tb-accueil .tbh-fiche__list dt { font-family: var(--texte); font-size: 1.15rem; font-weight: 800; color: var(--vin); line-height: 1.3; }
#tb-accueil .tbh-fiche__list dd { margin-top: .25rem; }

/* Méthode : bento asymétrique, 3 cellules pour 3 étapes */
.tbh-methode { background: var(--ciel); padding: clamp(4.5rem, 9vw, 7rem) 0; }
#tb-accueil .tbh-methode .tbh-h2 { color: var(--mer); }
#tb-accueil .tbh-bento {
	counter-reset: tbh; display: grid; gap: 1.25rem; margin: 2.5rem 0;
	grid-template-columns: 1fr 1fr 1.35fr; grid-template-rows: auto auto;
}
#tb-accueil .tbh-bento__cell { counter-increment: tbh; position: relative; background: var(--creme); border: 2px solid var(--mer); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.tbh-bento__cell--1 { grid-column: 1; grid-row: 1 / 3; }
.tbh-bento__cell--2 { grid-column: 2; grid-row: 1 / 3; }
.tbh-bento__cell--3 { grid-column: 3; grid-row: 1 / 3; }
#tb-accueil .tbh-bento__cell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
#tb-accueil .tbh-bento__cell--3 img { aspect-ratio: 4 / 3.4; }
.tbh-bento__text { padding: 1.25rem 1.4rem 1.5rem; }
.tbh-bento__text::before {
	content: counter(tbh); display: grid; place-items: center;
	width: 2.6rem; height: 2.6rem; border-radius: 999px; margin: -2.7rem 0 .75rem;
	position: relative; background: var(--mer); color: var(--creme);
	font-family: var(--titre); font-size: 1.35rem; line-height: 1; border: 3px solid var(--creme);
}
#tb-accueil .tbh-bento h3 { font-size: 1.2rem; line-height: 1.3; color: var(--mer); }
#tb-accueil .tbh-bento p { margin-top: .35rem; font-size: 1rem; }

/* Avis : une citation principale, deux secondaires, la presse */
.tbh-avis { padding: clamp(4.5rem, 9vw, 7rem) 0; }
#tb-accueil .tbh-avis__score { margin-top: .75rem; font-weight: 700; color: var(--vin); }
#tb-accueil .tbh-avis__grid { display: grid; grid-template-columns: 1.5fr 1fr .75fr; grid-template-rows: auto auto; gap: 1.25rem; margin-top: 2.25rem; }
#tb-accueil .tbh-review { background: var(--blanc); border: 2px solid var(--vin); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
#tb-accueil .tbh-review--main { grid-row: 1 / 3; background: var(--vin); color: var(--creme); padding: clamp(1.75rem, 3vw, 2.5rem); }
#tb-accueil .tbh-review--main blockquote { font-family: var(--titre); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); line-height: 1.15; }
#tb-accueil .tbh-review figcaption { font-weight: 800; font-size: .95rem; color: var(--vin); }
#tb-accueil .tbh-review--main figcaption { color: rgba(255,254,244,.85); }
#tb-accueil .tbh-presse { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; gap: .6rem; }
#tb-accueil .tbh-presse img { width: 100%; height: 100%; min-height: 0; flex: 1; object-fit: cover; object-position: top; border-radius: var(--r); border: 2px solid var(--vin); }
#tb-accueil .tbh-presse a { display: flex; flex: 1; }
#tb-accueil .tbh-presse figcaption { font-weight: 800; font-size: .95rem; color: var(--vin); }

/* Offres */
.tbh-offres { background: var(--blanc); padding: clamp(4.5rem, 9vw, 7rem) 0; border-block: 2px solid var(--vin); }
#tb-accueil .tbh-offres__intro { margin-top: 1rem; max-width: 40rem; }
.tbh-offres__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); margin-top: 2.5rem; }
.tbh-offre { position: relative; display: grid; grid-template-columns: 42% 1fr; background: var(--creme); border: 2px solid var(--vin); border-radius: var(--r); overflow: hidden; }
.tbh-offre--reco { box-shadow: 8px 8px 0 var(--vigne); }
#tb-accueil .tbh-offre__tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; background: var(--vigne); color: var(--creme); font-weight: 800; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }
#tb-accueil .tbh-offre img { width: 100%; height: 100%; object-fit: cover; background: var(--blanc); }
.tbh-offre__body { padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
#tb-accueil .tbh-offre h3 { font-family: var(--titre); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--vin); }
#tb-accueil .tbh-offre__prix strong { font-size: 1.9rem; color: var(--vigne); }
.tbh-offre .tbh-btn { margin-top: auto; }
#tb-accueil .tbh-offres__note { margin-top: 1.5rem; font-size: .95rem; color: rgba(30,30,30,.72); }

/* Arthur + engagements (clair) */
.tbh-arthur { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.tbh-arthur__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
#tb-accueil .tbh-arthur__quote p { font-family: var(--titre); font-size: clamp(1.7rem, 1rem + 2.2vw, 2.7rem); line-height: 1.1; color: var(--vigne); }
#tb-accueil .tbh-arthur__quote footer { margin-top: 1.25rem; font-weight: 700; color: var(--vin); }
#tb-accueil .tbh-arthur__engage { display: grid; gap: 1rem; padding-left: 1.5rem; border-left: 4px solid var(--vert); }

/* FAQ */
.tbh-faq { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.tbh-faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tbh-faq__list details { border-top: 2px solid var(--vin); }
.tbh-faq__list details:last-child { border-bottom: 2px solid var(--vin); }
#tb-accueil .tbh-faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 800; font-size: 1.1rem; color: var(--vin); }
.tbh-faq__list summary::-webkit-details-marker { display: none; }
.tbh-faq__list summary::after { content: "+"; font-family: var(--titre); font-size: 1.5rem; line-height: 1; transition: transform .25s var(--ease); }
.tbh-faq__list details[open] summary::after { transform: rotate(45deg); }
.tbh-faq__list summary:focus-visible { outline: 3px solid var(--mer); outline-offset: 2px; }
#tb-accueil .tbh-faq__list details p { padding: 0 0 1.25rem; max-width: 40rem; }
#tb-accueil .tbh-faq__list a { color: var(--mer); font-weight: 700; }

/* Appel final (sombre, pendant du hero) */
.tbh-final { background: var(--vin); color: var(--creme); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.tbh-final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
#tb-accueil .tbh-final .tbh-h2 { color: var(--creme); margin-bottom: 1.75rem; }
#tb-accueil .tbh-final__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--blanc); }
#tb-accueil .tbh-legal { margin-top: 3rem; font-size: .85rem; color: rgba(255,254,244,.7); }

/* Barre fixe mobile */
.tbh-sticky { display: none; }

/* Mouvement : une entrée orchestrée au chargement + apparition au défilement */
@media (prefers-reduced-motion: no-preference) {
	@keyframes tbh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
	@keyframes tbh-settle { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
	#tb-accueil .tbh-hero__title { animation: tbh-rise .8s var(--ease) both; }
	#tb-accueil .tbh-hero__side { animation: tbh-rise .8s var(--ease) .12s both; }
	#tb-accueil .tbh-hero__media { animation: tbh-settle 1s var(--ease) .22s both; }
	@supports (animation-timeline: view()) {
		#tb-accueil .tbh-reveal { animation: tbh-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
	}
}

/* Tablette */
@media (max-width: 1000px) {
	.tbh-nav { display: none; }
	.tbh-header__tools { margin-left: auto; }
	#tb-accueil .tbh-avis__grid { grid-template-columns: 1fr 1fr; }
	#tb-accueil .tbh-review--main { grid-column: 1 / 3; grid-row: auto; }
	#tb-accueil .tbh-presse { display: none; }
}
/* Mobile */
@media (max-width: 860px) {
	.tbh-hero__head, .tbh-box__grid, .tbh-arthur__grid, .tbh-faq__grid, .tbh-final__grid { grid-template-columns: 1fr; }
	#tb-accueil .tbh-hero__media > img:first-child { aspect-ratio: 4 / 3; object-position: 30% 10%; }
	.tbh-hero__sticker { right: -.25rem; top: -1.75rem; }
	#tb-accueil .tbh-promise__list { grid-template-columns: 1fr; }
	#tb-accueil .tbh-bento { grid-template-columns: 1fr; }
	.tbh-bento__cell--1, .tbh-bento__cell--2, .tbh-bento__cell--3 { grid-column: auto; grid-row: auto; }
	.tbh-offres__grid { grid-template-columns: 1fr; }
	.tbh-fiche { transform: none; box-shadow: 6px 6px 0 var(--vigne); }
	.tbh-sticky {
		display: flex; align-items: center; justify-content: space-between; gap: 1rem;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 901;
		padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
		background: var(--creme); border-top: 2px solid var(--vin);
	}
	.tbh-sticky p { margin: 0; font-size: .95rem; line-height: 1.3; color: var(--vin); }
	.tbh-sticky .tbh-btn { min-height: 2.75rem; padding: .55rem 1.1rem; }
	body.tb-sales #footer-outer { padding-bottom: 4.5rem; }
	body.tb-sales .cky-btn-revisit-wrapper { bottom: 5.5rem !important; }
}
@media (max-width: 600px) {
	.tbh-header__cta { display: none !important; }
	.tbh-header__logo img { height: 38px; }
	.tbh-header__row { min-height: 3.75rem; }
	.tbh-topbar p { font-size: .8rem; }
	#tb-accueil .tbh-hero__title { font-size: 2.3rem; }
	#tb-accueil .tbh-hero__lead { font-size: 1rem; margin-bottom: 1.1rem; }
	.tbh-hero .tbh-actions a, .tbh-final .tbh-actions a { flex: 1 1 100%; }
	#tb-accueil .tbh-avis__grid { grid-template-columns: 1fr; }
	#tb-accueil .tbh-review--main { grid-column: auto; }
	.tbh-offre { grid-template-columns: 1fr; }
	#tb-accueil .tbh-offre img { height: auto; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
	a.tbh-btn, .tbh-nav a, .tbh-icon, .tbh-faq__list summary::after { transition: none; }
}

/* v6.1 : correctifs vus à la capture */
#tb-accueil img { height: auto; }
#tb-accueil .tbh-offre img { height: 100%; }
.tbh-hero__head { grid-template-columns: 1fr; }
#tb-accueil .tbh-hero__title { max-width: 22ch; font-size: clamp(2.4rem, 1rem + 3.5vw, 4.05rem); }
.tbh-hero__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 3rem; align-items: center; }
#tb-accueil .tbh-hero__lead { margin-bottom: 0; }
@media (max-width: 860px) { .tbh-hero__side { grid-template-columns: 1fr; } }
@media (max-width: 600px) { #tb-accueil .tbh-hero__title { font-size: 2.3rem; } #tb-accueil .tbh-offre img { height: auto; } }
#tb-accueil .tbh-hero__lead { max-width: 38rem; }
.tbh-hero__media { margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.tbh-hero__sticker { top: auto; right: auto; left: -1.5rem; bottom: -2.25rem; transform: rotate(-10deg); }
#tb-accueil .tbh-review--main blockquote { font-size: clamp(1.3rem, 1rem + .7vw, 1.6rem); line-height: 1.2; }
@media (max-width: 860px) { .tbh-hero__sticker { left: auto; right: -.25rem; bottom: -1.75rem; } }
#tb-accueil .tbh-hero__media { margin-top: clamp(2.25rem, 4vw, 3.5rem); }
#tb-accueil .tbh-offre__tag { position: static; align-self: flex-start; margin-bottom: .25rem; }

/* ===== v7 : header en capsule flottante (forme de l'ancien site, refaite) ===== */
.tbh-header { position: sticky; top: 0; z-index: 900; height: 0; background: none; border: 0; }
body.admin-bar .tbh-header { top: 32px; }
.tbh-capsule {
	position: relative; top: .9rem;
	display: flex; align-items: center; gap: 1.25rem;
	min-height: 4.25rem; padding: .5rem .55rem .5rem 1.4rem;
	background: var(--blanc); border-radius: 999px;
	border: 1.5px solid rgba(47,18,16,.12);
	box-shadow: 0 12px 32px -12px rgba(47,18,16,.45);
}
.tbh-capsule__logo img { display: block; height: 44px; width: auto; }
.tbh-header .tbh-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.tbh-header .tbh-nav a {
	font-family: var(--titre); font-weight: 400; font-size: 1.05rem; line-height: 1;
	color: var(--vin) !important; text-decoration: none; padding: .35rem 0;
	border-bottom: 2px solid transparent; transition: border-color .2s var(--ease);
}
.tbh-header .tbh-nav a:hover, .tbh-header .tbh-nav a:focus-visible { border-bottom-color: var(--vin); outline: none; }
.tbh-capsule__tools { display: flex; align-items: center; gap: .2rem; margin-left: .5rem; }
.tbh-capsule__cta { margin-left: .4rem; }
.tbh-header a.tbh-btn { min-height: 2.9rem; padding: .55rem 1.3rem; font-size: .95rem; }
.tbh-menu { display: none; position: relative; }
.tbh-menu > summary { list-style: none; cursor: pointer; }
.tbh-menu > summary::-webkit-details-marker { display: none; }
.tbh-menu__open, .tbh-menu__close { display: inline-flex; }
.tbh-menu:not([open]) .tbh-menu__close, .tbh-menu[open] .tbh-menu__open { display: none; }
.tbh-menu__panel {
	position: absolute; right: 0; top: calc(100% + .9rem); width: min(20rem, calc(100vw - 2.5rem));
	display: flex; flex-direction: column; gap: .15rem; padding: 1rem;
	background: var(--blanc); border-radius: var(--r); border: 1.5px solid rgba(47,18,16,.12);
	box-shadow: 0 18px 40px -14px rgba(47,18,16,.45);
}
.tbh-menu__panel a:not(.tbh-btn) { font-family: var(--titre); font-size: 1.3rem; line-height: 1; color: var(--vin) !important; text-decoration: none; padding: .75rem .5rem; border-radius: 12px; }
.tbh-menu__panel a:not(.tbh-btn):hover { background: rgba(47,18,16,.06); }
.tbh-menu__panel .tbh-btn { margin-top: .5rem; }
.tbh-menu summary:focus-visible { outline: 3px solid var(--mer); outline-offset: 2px; }

/* Le hero laisse la place à la capsule qui flotte au-dessus */
#tb-accueil .tbh-hero { padding-top: calc(.9rem + 4.25rem + clamp(2.25rem, 4.5vw, 3.75rem)); }

@media (max-width: 1100px) {
	.tbh-header .tbh-nav { display: none; }
	.tbh-capsule__tools { margin-left: auto; }
	.tbh-menu { display: block; }
}
@media (max-width: 600px) {
	.tbh-capsule { top: .6rem; min-height: 3.6rem; padding: .4rem .45rem .4rem 1rem; gap: .5rem; }
	.tbh-capsule__logo img { height: 34px; }
	.tbh-capsule__cta { display: none !important; }
	#tb-accueil .tbh-hero { padding-top: calc(.6rem + 3.6rem + 1.75rem); }
}

/* v7.1 : barre + capsule en position fixe (un conteneur Salient empêche position: sticky) */
.tbh-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 900; pointer-events: none; }
.tbh-fixed .tbh-topbar, .tbh-fixed .tbh-capsule { pointer-events: auto; }
body.admin-bar .tbh-fixed { top: 32px; }
.tbh-fixed .tbh-header { position: static; height: 0; }
.tbh-fixed .tbh-capsule { top: .75rem; }
.tbh-topbar__court { display: none; }
#tb-accueil .tbh-hero { padding-top: calc(2.15rem + .75rem + 4.25rem + clamp(2.25rem, 4.5vw, 3.75rem)); }
@media (max-width: 600px) {
	.tbh-topbar__long { display: none; }
	.tbh-topbar__court { display: inline; }
	.tbh-fixed .tbh-capsule { top: .5rem; }
	#tb-accueil .tbh-hero { padding-top: calc(2rem + .5rem + 3.6rem + 1.75rem); }
}
.tbh-topbar p { padding: 0 !important; margin: 0 !important; }

/* v8 : header sur tout le site. Les autres pages laissent la place à la capsule fixe. */
body.tb-hdr:not(.tb-sales) #ajax-content-wrap { padding-top: calc(2rem + .75rem + 4.25rem + 1.5rem); }
body.tb-hdr .tbh-fixed { font-family: "Manrope", system-ui, sans-serif; }
@media (max-width: 600px) { body.tb-hdr:not(.tb-sales) #ajax-content-wrap { padding-top: calc(2rem + .5rem + 3.6rem + 1rem); } }
/* v8.1 : la zone du header prend le rouge vin, comme sur l'ancien site (capsule posée sur fond sombre) */
body.tb-hdr:not(.tb-sales) { --tbh-zone: calc(2rem + .75rem + 4.25rem + 1.5rem); }
body.tb-hdr:not(.tb-sales) #ajax-content-wrap { background: linear-gradient(to bottom, #2F1210 var(--tbh-zone), transparent var(--tbh-zone)); }
@media (max-width: 600px) { body.tb-hdr:not(.tb-sales) { --tbh-zone: calc(2rem + .5rem + 3.6rem + 1rem); } }
body.tb-hdr:not(.tb-sales) #ajax-content-wrap { padding-top: var(--tbh-zone) !important; }

/* ===== Page de souscription ===== */
.tbs-head { background: var(--vin); color: var(--creme); padding: .5rem 0 clamp(2.5rem, 5vw, 3.5rem); }
#tb-accueil .tbs-title { font-family: var(--titre); font-weight: 400; letter-spacing: 0; color: var(--creme); font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.02; }
#tb-accueil .tbs-lead { margin-top: .9rem; max-width: 36rem; color: rgba(255,254,244,.88); font-size: 1.1rem; }
.tbs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.tbs-step { border: 0; margin: 0 0 2.25rem; padding: 0; min-width: 0; }
#tb-accueil .tbs-step legend { display: flex; align-items: center; gap: .7rem; padding: 0; margin-bottom: 1rem; font-family: var(--titre); font-size: 1.6rem; line-height: 1; color: var(--vin); }
.tbs-step__num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: var(--vin); color: var(--creme); font-size: 1.1rem; }
.tbs-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tbs-rythmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.tbs-level, .tbs-rythme {
	position: relative; display: flex; flex-direction: column; cursor: pointer;
	background: var(--blanc); border: 2px solid rgba(47,18,16,.2); border-radius: var(--r); overflow: hidden;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.tbs-level:hover, .tbs-rythme:hover { border-color: rgba(47,18,16,.55); }
.tbs-level input, .tbs-rythme input { position: absolute; opacity: 0; pointer-events: none; }
.tbs-level:has(input:checked), .tbs-rythme:has(input:checked) { border-color: var(--vin); box-shadow: 6px 6px 0 var(--vigne); }
.tbs-level:has(input:focus-visible), .tbs-rythme:has(input:focus-visible) { outline: 3px solid var(--mer); outline-offset: 3px; }
.tbs-level:has(input:checked)::after, .tbs-rythme:has(input:checked)::after {
	content: ""; position: absolute; top: .8rem; right: .8rem; width: 1.5rem; height: 1.5rem; border-radius: 999px;
	background: var(--vin) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23FFFEF4' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / 60% no-repeat;
}
#tb-accueil .tbs-level img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--blanc); }
.tbs-level__body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.15rem 1.2rem; }
.tbs-level__nom { font-family: var(--titre); font-size: 1.45rem; line-height: 1; color: var(--vin); }
.tbs-level__prix { font-size: 1rem; }
.tbs-level__prix strong { font-size: 1.35rem; color: var(--vigne); }
.tbs-level__pour { font-size: .95rem; color: rgba(30,30,30,.75); line-height: 1.45; }
.tbs-rythme { padding: 1rem 1.1rem; gap: .2rem; min-height: 5.25rem; justify-content: center; }
.tbs-rythme__titre { font-weight: 800; font-size: 1.05rem; color: var(--vin); padding-right: 1.8rem; }
.tbs-rythme__detail { font-size: .9rem; color: rgba(30,30,30,.7); }
#tb-accueil .tbs-note { margin-top: .8rem; font-size: .95rem; color: rgba(30,30,30,.72); }
#tb-accueil .tbs-gift { font-size: 1rem; }
#tb-accueil .tbs-gift a { color: var(--mer); font-weight: 700; }
.tbs-recap { position: sticky; top: 8.25rem; background: var(--blanc); border: 2px solid var(--vin); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
#tb-accueil .tbs-recap__title { font-size: .95rem; font-weight: 700; color: rgba(30,30,30,.65); }
#tb-accueil .tbs-recap__nom { font-family: var(--titre); font-size: 1.7rem; line-height: 1; color: var(--vin); }
#tb-accueil .tbs-recap__rythme { font-weight: 800; color: var(--vigne); }
#tb-accueil .tbs-recap__prix strong { font-size: 1.6rem; color: var(--vin); }
#tb-accueil .tbs-recap__list { display: grid; gap: .45rem; margin: .5rem 0 .75rem; }
#tb-accueil .tbs-recap__list li { position: relative; padding-left: 1.4rem; font-size: .95rem; line-height: 1.45; }
#tb-accueil .tbs-recap__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .4rem; border-left: 2px solid var(--vigne); border-bottom: 2px solid var(--vigne); transform: rotate(-45deg); }
button.tbs-submit {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	min-height: 3.25rem; padding: .8rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--vin); color: var(--creme); font-family: var(--texte); font-weight: 800; font-size: 1.05rem; letter-spacing: 0; text-transform: none;
	transition: background-color .2s var(--ease), transform .15s var(--ease);
}
button.tbs-submit:hover { background: var(--vigne); }
button.tbs-submit:active { transform: translateY(1px) scale(.98); }
button.tbs-submit:focus-visible { outline: 3px solid var(--mer); outline-offset: 3px; }
#tb-accueil .tbs-recap__secure { font-size: .85rem; color: rgba(30,30,30,.65); text-align: center; }
#tb-accueil .tbs-quote { margin-top: .75rem; padding-top: .9rem; border-top: 2px dashed rgba(47,18,16,.2); }
#tb-accueil .tbs-quote blockquote { font-size: .95rem; font-weight: 600; color: var(--vigne); }
#tb-accueil .tbs-quote figcaption { font-size: .85rem; color: rgba(30,30,30,.65); margin-top: .2rem; }
#tb-accueil .tbs-legal { padding-bottom: 2.5rem; font-size: .85rem; color: rgba(30,30,30,.6); }
@media (max-width: 900px) {
	.tbs-grid { grid-template-columns: 1fr; }
	.tbs-recap { position: static; }
}
@media (max-width: 600px) {
	.tbs-levels, .tbs-rythmes { grid-template-columns: 1fr; }
	.tbs-rythme { min-height: 0; }
	#tb-accueil .tbs-level img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .tbs-level, .tbs-rythme, button.tbs-submit { transition: none; } }
#tb-accueil button.tbs-submit, #tb-accueil button.tbs-submit:focus { background: #2F1210 !important; color: #FFFEF4 !important; border: 0 !important; box-shadow: none !important; }
#tb-accueil button.tbs-submit:hover { background: #374223 !important; }
#tb-accueil .tbs-legal { margin-inline: auto; }
