/* TC Partenariats — bannière de zone (02/11/2026) : encart noir, image, badge doré « Sponsorisé », bouton doré */
.tcpb { position: relative; display: block; overflow: hidden; border-radius: 22px; background: #15110E; color: #F4EDE1; box-shadow: 0 10px 30px rgb(0 0 0 / .22); margin: 0 auto 14px; max-width: 420px; }
.tcpb[hidden] { display: none; }
.tcpb-img { aspect-ratio: 16 / 9; overflow: hidden; background: #2A221C; }
.tcpb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcpb-body { position: relative; padding: 14px 16px 16px; display: grid; gap: 8px; }
.tcpb-badge { position: absolute; top: -13px; left: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, #F0D58A, #C9973A); color: #1B1612; font: 700 .64rem/1.3 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 8px rgb(0 0 0 / .3); }
.tcpb-badge::before { content: "★"; }
.tcpb-title { margin: 6px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; font-weight: 600; line-height: 1.15; color: #FAF8F5; }
.tcpb-txt { margin: 0; font-size: 13.5px; line-height: 1.45; color: rgb(244 237 225 / .82); }
.tcpb-promo .tcpromo { color: #F0D58A; }
.tcpb-promo .tcpromo-copy { background: transparent !important; border: 1px dashed #C9973A !important; color: #F0D58A !important; }
.tcpb-promo .tcpromo-copy code { color: #F0D58A !important; background: transparent !important; }
.tcpb-promo .tcpromo-copy-t { color: rgb(244 237 225 / .7) !important; }
.tcpb-promo .tcpromo-line-t { color: rgb(244 237 225 / .85); }
.tcpb-cta { display: inline-flex; justify-content: center; align-items: center; margin-top: 2px; padding: 10px 16px; border-radius: 999px; background: linear-gradient(135deg, #F0D58A, #C9973A 60%, #A8782A); color: #1B1612 !important; font: 700 14px/1.2 Inter, system-ui, sans-serif; text-decoration: none !important; box-shadow: 0 4px 14px rgb(201 151 58 / .35); transition: transform .15s, box-shadow .15s; }
.tcpb-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgb(201 151 58 / .5); }
/* page d'achat */
.tcpb-page .tcpb-demo { max-width: 340px; margin: 18px auto; }
.tcpb-demo-k { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A0731F; text-align: center; }
.tcpb-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.tcpb-how div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #E6DCC8; border-radius: 14px; background: #fff; }
.tcpb-how b { font-size: .95rem; }
.tcpb-how span { font-size: .85rem; color: #6B5F52; }
.tcpb-or { margin: 0 6px; font-size: .85rem; color: #6B5F52; }
.tcpb-renew { margin: 16px 0; padding: 18px; border: 2px solid #C9973A; border-radius: 16px; background: #FBF3E3; }
.tcpb-renew h2 { margin: 0 0 6px; font-size: 1.3rem; }
@media (max-width: 640px) { .tcpb-how { grid-template-columns: minmax(0, 1fr); } }
/* Partie collante de la colonne : quand une bannière payée s'affiche, les circuits quittent la partie collante (filtre du thème
   tc_theme_sidebar_unstick) ; il y reste les icônes « Autour de cet article » (118 px), la bannière et « Planifier » (52 px), à partir de
   100 px du haut. Grand format au-dessus de 820 px de haut ; version compacte en dessous (image 21:9, texte sur 2 lignes, code sur une
   ligne) ; sans texte court sous 700 px. */
.tcpb-promo .tcpromo--line { flex-wrap: wrap; gap: 4px 8px; }
@media (max-height: 820px) {
  .tc-side-sticky .tcpb { margin-bottom: 10px; }
  .tc-side-sticky .tcpb-img { aspect-ratio: 21 / 9; }
  .tc-side-sticky .tcpb-body { padding: 12px 14px 13px; gap: 6px; }
  .tc-side-sticky .tcpb-title { font-size: 1.15rem; }
  .tc-side-sticky .tcpb-txt { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tc-side-sticky .tcpb-promo .tcpromo--line { flex-wrap: nowrap; padding: 6px 10px; }
  .tc-side-sticky .tcpb-promo .tcpromo-line-t { font-size: 11.5px; }
  .tc-side-sticky .tcpb-promo :is(.tcpromo-i, .tcpromo-copy-t) { display: none; }
  .tc-side-sticky .tcpb-cta { padding: 8px 14px; font-size: 13.5px; }
}
@media (max-height: 700px) { .tc-side-sticky .tcpb-txt { display: none; } }
