/* ============================================================
   SmartClub — Bulles de notification
   Carte blanche, ombre douce, badge icône teinté.
   ============================================================ */

.scb-bubble {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 250px;
	padding: 14px 16px;
	background: #fff;
	border-radius: 16px;
	box-sizing: border-box;
	font-family: inherit;
	line-height: 1.35;
}

/* En-tête : badge + titre/étoiles */
.scb-bubble__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.scb-bubble__badge {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.scb-bubble__badge svg {
	width: 56%;
	height: 56%;
	display: block;
}

.scb-bubble__headtext {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding-top: 1px;
}

.scb-bubble__title {
	font-size: 15px;
	font-weight: 700;
	color: #1d1d1b;
}

/* Étoiles */
.scb-bubble__stars {
	display: inline-flex;
	gap: 1px;
	font-size: 14px;
	line-height: 1;
}

.scb-bubble__star {
	color: #e5e7eb;
}

.scb-bubble__star.is-on {
	color: #f5b100;
}

/* Corps */
.scb-bubble__body {
	font-size: 13px;
	color: #4b5563;
}

/* Progression */
.scb-bubble__progress {
	position: relative;
	height: 6px;
	width: 100%;
	background: #eef0f3;
	border-radius: 999px;
	overflow: hidden;
}

.scb-bubble__progress-fill {
	position: absolute;
	inset: 0 auto 0 0;
	height: 100%;
	border-radius: 999px;
	transition: width .4s ease;
}

/* Horodatage */
.scb-bubble__time {
	font-size: 11px;
	color: #9ca3af;
}

/* ============================================================
   Flottement — 4 profils désynchronisés.
   Trajectoire 2D (x + y + micro-rotation), durées non-harmoniques,
   délais NÉGATIFS (départ déjà avancé dans le cycle → jamais alignées).
   --scb-amp : multiplicateur d'intensité piloté par le widget (1 = 100%).
   L'animation porte sur .scb-bubble (élément interne) : aucun conflit
   avec le transform de positionnement appliqué par Elementor au wrapper.
   ============================================================ */
.scb-bubble--float {
	--scb-amp: 1;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

.scb-bubble--prof-a {
	animation-name: scb-float-a;
	animation-duration: 4.3s;
	animation-delay: -1.1s;
}
.scb-bubble--prof-b {
	animation-name: scb-float-b;
	animation-duration: 5.7s;
	animation-delay: -2.3s;
}
.scb-bubble--prof-c {
	animation-name: scb-float-c;
	animation-duration: 6.5s;
	animation-delay: -0.6s;
}
.scb-bubble--prof-d {
	animation-name: scb-float-d;
	animation-duration: 7.4s;
	animation-delay: -3.4s;
}

/* Vertical pur (translateY uniquement) → texte parfaitement net.
   La variété vient des amplitudes/durées/délais différents par profil,
   pas d'un déplacement horizontal. translateZ(0) stabilise le rendu. */

/* Profil A — amplitude moyenne, montée-pause-descente */
@keyframes scb-float-a {
	0%   { transform: translate3d(0, 0, 0); }
	50%  { transform: translate3d(0, calc(var(--scb-amp) * -9px), 0); }
	100% { transform: translate3d(0, 0, 0); }
}

/* Profil B — plus ample */
@keyframes scb-float-b {
	0%   { transform: translate3d(0, 0, 0); }
	50%  { transform: translate3d(0, calc(var(--scb-amp) * -12px), 0); }
	100% { transform: translate3d(0, 0, 0); }
}

/* Profil C — discret */
@keyframes scb-float-c {
	0%   { transform: translate3d(0, 0, 0); }
	50%  { transform: translate3d(0, calc(var(--scb-amp) * -6px), 0); }
	100% { transform: translate3d(0, 0, 0); }
}

/* Profil D — large, avec léger palier asymétrique pour casser le yo-yo */
@keyframes scb-float-d {
	0%   { transform: translate3d(0, 0, 0); }
	40%  { transform: translate3d(0, calc(var(--scb-amp) * -10px), 0); }
	60%  { transform: translate3d(0, calc(var(--scb-amp) * -13px), 0); }
	100% { transform: translate3d(0, 0, 0); }
}


/* ============================================================
   Hero Badge SmartClub (eyebrow / announcement pill)
   ============================================================ */
.scb-badge {
	--scb-accent: #B59C50;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #F4EFE0;
	color: #1d1d1b;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	max-width: 100%;
}

.scb-badge__text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.scb-badge__text del {
	opacity: .55;
	text-decoration-thickness: 1.5px;
}

/* Point (live dot) */
.scb-badge__dot {
	position: relative;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--scb-accent);
}

.scb-badge--pulse .scb-badge__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--scb-accent);
	animation: scb-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes scb-ping {
	0%        { transform: scale(1);   opacity: .55; }
	70%, 100% { transform: scale(2.6); opacity: 0; }
}

/* Icône / emoji */
.scb-badge__icon,
.scb-badge__emoji {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	line-height: 1;
	color: var(--scb-accent);
}
.scb-badge__icon svg { width: 1em; height: 1em; fill: currentColor; }

/* Mini-tag « NOUVEAU » */
.scb-badge__tag {
	flex: 0 0 auto;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--scb-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.4;
}

/* Flèche */
.scb-badge__arrow {
	flex: 0 0 auto;
	transition: transform .2s ease;
}
.scb-badge--link:hover .scb-badge__arrow {
	transform: translateX(3px);
}

/* Soulèvement au survol */
.scb-badge--lift {
	transition: transform .2s ease, box-shadow .2s ease;
}
.scb-badge--lift:hover {
	transform: translateY(-2px);
}
