/*
 * Titânio Feedback Slider — Stylesheet
 * Escopar tudo dentro de .tfs-wrapper para não vazar no tema.
 */

/* ─── Tokens (podem ser sobrescritos via atributos do shortcode) ──────────── */
.tfs-wrapper {
	--fs-cw:              225px;
	--fs-gap:             10px;
	--fs-peek:            130px;
	--fs-h:               381px;
	--fs-visible-closed:  3;
	--fs-r:               15px;
	--fs-accent:          #d946ef;
	--fs-ease:            .6s cubic-bezier(.77, 0, .175, 1);
	--fs-cover-bg:        linear-gradient(88.91deg, #4E60CC 17.57%, #A93FA4 50.26%, #DC7779 82.95%);
	--fs-open-panel-bg:   green;

	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	font-family: 'DM Sans', sans-serif;
}

/* ─── Breakpoints ──────────────────────────────────────────────────────────── */
@media (max-width: 1366px) {
	.tfs-wrapper {
		--fs-cw:             202px;
		--fs-gap:            10px;
		--fs-peek:           70px;
		--fs-h:              330px;
		--fs-visible-closed: 3;
	}
	.fs-clogo {
		width: 98px;
	}
}

/* @media (max-width: 1024px) {
	.tfs-wrapper {
		--fs-cw:             230px;
		--fs-gap:            8px;
		--fs-peek:           60px;
		--fs-h:              340px;
		--fs-visible-closed: 3;
	}
} */

/* @media (max-width: 1024px) {

    .tfs-wrapper .fs-viewport.fs-has-open .fs-card.fs-active {
        width: calc(
            100% - var(--fs-cw) - var(--fs-gap)
        );
    }

} */

@media (max-width: 960px) {

	.tfs-wrapper .fs-track {
		display: flex;
		flex-wrap: nowrap;
	}

	.tfs-wrapper .fs-card,
	.tfs-wrapper .fs-card.fs-active {
		flex: 0 0 100% !important;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
	}

}

/* ─── Viewport ─────────────────────────────────────────────────────────────── */
.tfs-wrapper .fs-viewport {
	width: calc(
		(var(--fs-visible-closed) * var(--fs-cw)) +
		((var(--fs-visible-closed) - 1) * var(--fs-gap)) +
		var(--fs-peek)
	);
	height: var(--fs-h);
	overflow: hidden;
	transition: width var(--fs-ease);
	margin: 0 auto;
}

.tfs-wrapper .fs-viewport.fs-has-open {
	width: 100%;
}

.tfs-wrapper .fs-viewport.fs-has-open .fs-card.fs-active {
	width: calc(100% - (2 * var(--fs-cw)) - (2 * var(--fs-gap)));
}

/* ─── Track ────────────────────────────────────────────────────────────────── */
.tfs-wrapper .fs-track {
	display: flex;
	gap: var(--fs-gap);
	height: 100%;
	transition: transform var(--fs-ease);
	will-change: transform;
}

/* ─── Card ─────────────────────────────────────────────────────────────────── */
.tfs-wrapper .fs-card {
	position: relative;
	width: var(--fs-cw);
	height: 100%;
	border-radius: var(--fs-r);
	overflow: hidden;
	flex-shrink: 0;
	cursor: pointer;
	transition: width var(--fs-ease), transform .3s ease;
}

.tfs-wrapper .fs-cbg {
	position: absolute;
	inset: 0;
	background: var(--fs-cover-bg);
}

/* ─── Face fechada ─────────────────────────────────────────────────────────── */
.tfs-wrapper .fs-cface {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: opacity .35s ease;
}

.tfs-wrapper .fs-card.fs-active .fs-cface {
	opacity: 0;
	pointer-events: none;
}

.tfs-wrapper .fs-cname {
	font-family: 'Syne', sans-serif;
	font-size: 20px;
	color: white;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	transform: rotate(90deg);
}

/* ─── Face aberta ──────────────────────────────────────────────────────────── */
.tfs-wrapper .fs-oface {
	position: absolute;
	inset: 0;
	display: flex;
	opacity: 0;
	pointer-events: none;
	z-index: 3;
	transition: opacity .35s ease .18s;
}

.tfs-wrapper .fs-card.fs-active .fs-oface {
	opacity: 1;
	pointer-events: auto;
}

.tfs-wrapper .fs-cpanel {
	width: var(--fs-cw);
	background: var(--fs-open-panel-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	border-right: 1px solid rgba(255, 255, 255, .08);
}

.tfs-wrapper .fs-pname {
	font-family: 'Syne', sans-serif;
	color: white;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	text-align: center;
}

.tfs-wrapper .fs-qpanel {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px;
	gap: 0;
	background: #160C28;
}

.tfs-wrapper .fs-qmark {
/* 	font-size: 70px; */
	color: var(--fs-accent);
	line-height: 1;
	font-family: 'Syne', sans-serif;
}

.tfs-wrapper .fs-qtext {
	font-family: "Exo", Sans-serif;
	color: white;
	line-height: 140%;
	font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
	padding: 0;
	margin: 20px 0;
	font-weight: 400;
	
}

.tfs-wrapper .fs-aname {
	color: #A93FA4;
	font-family: 'Syne', sans-serif;
	font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
	font-weight: 700;
}
.tfs-wrapper .fs-empresa-name {
	color: #FFF;
	font-family: 'Syne', sans-serif;
	font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
	font-weight: 500;
}

/* ─── Controles ────────────────────────────────────────────────────────────── */
.tfs-wrapper .fs-controls {
	margin: 25px 0;
	display: flex;
	justify-content: center;
	gap: 50px;
}

.tfs-wrapper .fs-cbtn {
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 100%;
/* 	width: 50px;
	height: 50px; */
	border: none;
	border-radius: 50%;
	background: transparent;
	color: white;
	cursor: pointer;
	font-size: 20px;
	transition: background .2s;
	padding: 0!important;
}

.tfs-wrapper .fs-cbtn:hover {
	background: transparent;
}


/* .fs-clogo {
    filter: brightness(0) invert(1);
    opacity: 0.3; 
} */

.fs-clogo {
    filter: grayscale(100%) brightness(1.4);
    opacity: 0.3;
}

/* ─── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {

	.tfs-wrapper .fs-viewport,
	.tfs-wrapper .fs-viewport.fs-has-open {
		width: 100% !important;
		height: auto !important;
		overflow: hidden;
	}

	.tfs-wrapper .fs-track {
		gap: 0 !important;
	}

	.tfs-wrapper .fs-card,
	.tfs-wrapper .fs-card.fs-active {
		width: 100% !important;
		min-width: 100% !important;
		height: auto !important;
		min-height: auto !important;
		border-radius: 15px 15px 0 0 !important;
	}

	.tfs-wrapper .fs-cface {
		display: none !important;
	}

	.tfs-wrapper .fs-oface {
		position: relative !important;
		inset: auto !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		flex-direction: column !important;
	}

	.tfs-wrapper .fs-cpanel {
		width: 100% !important;
		height: 220px !important;
		border-right: none !important;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}

	.tfs-wrapper .fs-qpanel {
		padding: 30px 24px !important;
	}

	.tfs-wrapper .fs-controls {
		padding: 20px 0 40px;
	}

.tfs-wrapper {
    overflow: hidden;
}

.tfs-wrapper .fs-track {
    gap: 0 !important;
}

.tfs-wrapper .fs-card,
.tfs-wrapper .fs-card.fs-active {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
	
.fs-oface {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fs-qpanel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: #160C28;
}

}
