/* ==========================================================================
   LP Trades: componentes reutilizáveis
   Nomenclatura: .c-componente, .c-componente__parte, .c-componente--variação
   Estados: .is-* (definidos por JS) e atributos ARIA (aria-current, aria-disabled…)
   ========================================================================== */

/* ---------- Ícone (sprite inline: <svg><use href="#lpt-i-nome"/></svg>) ---------- */
.c-icon {
	width: 1em;
	height: 1em;
	flex: none;
	fill: currentColor;
}
/* Ícones de interface (lpt_ui_icon): só traço, sem preenchimento */
.lpt-eyebrow {
	display: flex;
	align-items: center;
	gap: .7rem;
	color: var(--lpt-accent-text);
	font-size: .74rem;
	font-weight: var(--lpt-fw-semibold);
	letter-spacing: .13em;
	line-height: 1.45;
	text-transform: uppercase;
}
.lpt-eyebrow::before {
	content: '';
	width: 1.65rem;
	height: 2px;
	background: currentColor;
}
.lpt-text-link {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 40px;
	color: var(--lpt-text);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-medium);
	text-decoration: underline;
	text-decoration-color: var(--lpt-line-strong);
	text-underline-offset: .38em;
}
.lpt-text-link span { color: var(--lpt-accent-text); }
.lpt-text-link:is(:hover, :focus-visible) { text-decoration-color: var(--lpt-accent-text); }
.c-icon--ui {
	fill: none;
	stroke: currentColor;
}

/* ---------- Botão ---------- */
.c-btn {
	--btn-bg: transparent;
	--btn-fg: var(--lpt-text);
	--btn-bd: transparent;
	--btn-hover-bg: var(--lpt-violet);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: 0 1.75rem;
	border: 1.5px solid var(--btn-bd);
	border-radius: var(--lpt-radius-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--lpt-font);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-semibold);
	letter-spacing: .01em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: var(--lpt-btn-transition);
}
.c-btn:hover,
.c-btn:focus-visible {
	background-color: var(--btn-hover-bg);
	border-color: var(--btn-hover-bg);
	color: #fff;
}

.c-btn:active {
	transform: translateY(1px);
}

/* Principal */
.c-btn--primary {
	--btn-bg: var(--lpt-violet);
	--btn-bd: var(--lpt-violet);
	--btn-fg: #fff;
	--btn-hover-bg: var(--lpt-violet-hover);
}

/* Contorno */
.c-btn--ghost {
	--btn-bd: var(--lpt-violet);
}

/* Botão escuro, para seções claras (mist) */
.c-btn--dark {
	--btn-bg: var(--lpt-ink);
	--btn-bd: var(--lpt-ink);
	--btn-fg: var(--lpt-mist);
	--btn-hover-bg: var(--lpt-plum);
}

.c-btn--sm {
	min-height: 42px;
	padding: 0 1.25rem;
	font-size: var(--lpt-fs-xs);
}

.c-btn--lg {
	min-height: 56px;
	padding: 0 2.25rem;
	font-size: var(--lpt-fs-body);
}

.c-btn--block {
	width: 100%;
}

.c-btn__icon {
	width: 1.15em;
	height: 1.15em;
}

.c-btn:disabled,
.c-btn[aria-disabled='true'] {
	opacity: .45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Carregando: o texto some e um anel gira no lugar (mantém a largura do botão) */
.c-btn.is-loading {
	position: relative;
	color: transparent;
	pointer-events: none;
}
.c-btn.is-loading::after {
	content: '';
	position: absolute;
	width: 1.1em;
	height: 1.1em;
	border: 2px solid var(--btn-fg);
	border-right-color: transparent;
	border-radius: 50%;
	animation: lpt-spin .7s linear infinite;
}

@keyframes lpt-spin {
	to { transform: rotate(1turn); }
}

/* ---------- Grupo de ações (botões lado a lado, quebram no mobile) ---------- */
.c-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lpt-space-3);
	margin-top: var(--lpt-space-8);
}

/* ---------- Botão de ícone (redondo) ---------- */
.c-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--lpt-line-strong);
	border-radius: 50%;
	background: transparent;
	color: var(--lpt-text);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition:
		border-color var(--lpt-dur) var(--lpt-ease),
		background-color var(--lpt-dur) var(--lpt-ease);
}
.c-icon-btn:hover {
	border-color: var(--lpt-lilac);
	background: rgba(113, 0, 245, .18);
}
.c-icon-btn svg {
	width: 20px;
	height: 20px;
}

/* ---------- Kicker (sobretítulo) ---------- */
.c-kicker {
	display: block;
	margin-bottom: var(--lpt-space-4);
	color: var(--lpt-accent-text);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-medium);
	letter-spacing: .01em;
}

/* Variante com traço violeta à frente, em caixa alta espaçada (seções de mídia, como no print do vídeo) */
.c-kicker--line {
	display: inline-flex;
	align-items: center;
	gap: .875rem;
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
	font-weight: var(--lpt-fw-semibold);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.c-kicker--line::before {
	content: '';
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--lpt-violet);
}

/* ---------- Cabeçalho de seção ---------- */
.c-section-head {
	max-width: 47.5rem;
	margin-bottom: var(--lpt-head-gap);
}
.c-section-head__title {
	font-size: var(--lpt-fs-h2);
}
.c-section-head__lead {
	max-width: 56ch;
	margin-top: var(--lpt-space-5);
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-lead);
}
.c-section-head--center {
	margin-inline: auto;
	text-align: center;
}
.c-section-head--center .c-section-head__lead {
	margin-inline: auto;
}
/* Título à esquerda e ação à direita (ex.: "Ver ranking completo") */
.c-section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--lpt-space-6);
	max-width: none;
}

/* ---------- Painel com a geometria do monograma ---------- */
.c-panel {
	--cut: var(--lpt-cut);
	padding: clamp(1.5rem, 3.4vw, 3.25rem);
	background: var(--lpt-surface);
	border-bottom-left-radius: var(--cut);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.c-panel--lg {
	--cut: var(--lpt-cut-lg);
}
.c-panel--raised {
	background: linear-gradient(180deg, var(--lpt-plum), var(--lpt-night) 92%);
}

/* Mídia (imagem/vídeo) com o mesmo recorte */
.c-cut-media {
	--cut: var(--lpt-cut-lg);
	overflow: hidden;
	background: var(--lpt-surface);
	border-bottom-left-radius: var(--cut);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* Moldura fina que acompanha o recorte (inclusive a diagonal do canto).
   Usar junto com .c-panel ou .c-cut-media. Fica por cima do conteúdo, sem capturar cliques. */
.c-framed {
	position: relative;
}
.c-framed::before,
.c-framed::after {
	content: '';
	position: absolute;
	z-index: 2;
	pointer-events: none;
}
.c-framed::after {
	inset: 0;
	border: 1px solid var(--lpt-frame);
	border-bottom-left-radius: var(--cut);
}
.c-framed::before {
	top: 0;
	right: 0;
	width: var(--cut);
	height: var(--cut);
	/* a diagonal fica do lado de dentro do corte */
	background: linear-gradient(to bottom left, transparent 50%, var(--lpt-frame) 50%, var(--lpt-frame) calc(50% + 1px), transparent calc(50% + 1px));
}

/* ---------- Selo (status da edição etc.) ---------- */
.c-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--lpt-space-2);
	padding: .375rem .875rem;
	border: 1px solid var(--lpt-line-strong);
	border-radius: var(--lpt-radius-pill);
	color: var(--lpt-text);
	font-size: var(--lpt-fs-xs);
	font-weight: var(--lpt-fw-medium);
	line-height: 1.3;
	white-space: nowrap;
}
.c-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--lpt-text-subtle);
}
.c-badge--live .c-badge__dot {
	background: var(--lpt-violet);
	box-shadow: 0 0 0 0 rgba(113, 0, 245, .6);
	animation: lpt-pulse 2.4s var(--lpt-ease) infinite;
}
.c-badge strong {
	color: var(--lpt-text-strong);
	font-weight: var(--lpt-fw-semibold);
}
.c-badge--soon .c-badge__dot {
	background: var(--lpt-lilac);
}

@keyframes lpt-pulse {
	0% { box-shadow: 0 0 0 0 rgba(113, 0, 245, .55); }
	70%, 100% { box-shadow: 0 0 0 8px rgba(113, 0, 245, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.c-badge--live .c-badge__dot,
	.c-btn.is-loading::after {
		animation: none;
	}
}

/* ---------- Contagem regressiva ---------- */
.c-countdown__title {
	color: var(--lpt-accent-text);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-medium);
}
.c-countdown__units {
	display: flex;
	margin-top: var(--lpt-space-3);
}
.c-countdown__unit {
	padding-inline: clamp(.875rem, 2.2vw, 1.875rem);
	border-left: 1px solid var(--lpt-line);
}
.c-countdown__unit:first-child {
	padding-left: 0;
	border-left: 0;
}
.c-countdown__value {
	display: block;
	min-width: 2ch;                        /* sem "pulos" quando o número muda */
	color: var(--lpt-text-strong);
	font-size: var(--lpt-fs-num);
	font-weight: var(--lpt-fw-semibold);
	line-height: 1;
	letter-spacing: var(--lpt-tracking-heading);
	font-variant-numeric: tabular-nums;
}
.c-countdown__label {
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
}
.c-countdown__date {
	margin-top: var(--lpt-space-3);
	color: var(--lpt-text-subtle);
	font-size: var(--lpt-fs-xs);
}
.c-countdown__date-line {
	display: block;
}

/* ---------- Vídeo do YouTube com carregamento sob demanda ----------
   Capa + play circular (anel violeta com brilho) + barra na base com a marca, a legenda e a
   duração. O clique troca tudo pelo player do YouTube (views/home.js). */
.c-video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--lpt-surface);
}
.c-video__trigger,
.c-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.c-video__trigger {
	display: block;
	overflow: hidden;
	color: #fff;
}
.c-video__trigger picture,
.c-video__cover {
	width: 100%;
	height: 100%;
}
.c-video__cover {
	object-fit: cover;
	transition: transform var(--lpt-dur-slow) var(--lpt-ease), filter var(--lpt-dur-slow) var(--lpt-ease);
}
/* Base mais escura para a barra ficar legível */
.c-video__trigger::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(0deg, rgba(7, 6, 9, .88), rgba(7, 6, 9, 0));
	pointer-events: none;
}
.c-video__trigger:hover .c-video__cover {
	transform: scale(1.015);
	filter: brightness(.86);
}

/* Play: vidro branco translúcido, discreto. No hover fica um pouco mais branco e cresce de leve. */
.c-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: clamp(56px, 7vw, 84px);
	aspect-ratio: 1;
	border: 1.5px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transform: translate(-50%, -50%);
	transition:
		background-color var(--lpt-dur) var(--lpt-ease),
		border-color var(--lpt-dur) var(--lpt-ease),
		transform var(--lpt-dur) var(--lpt-ease);
}
.c-video__play svg {
	width: 34%;
	height: 34%;
	margin-left: 6%;                       /* centro óptico do triângulo */
}
.c-video__trigger:hover .c-video__play,
.c-video__trigger:focus-visible .c-video__play {
	border-color: rgba(255, 255, 255, .8);
	background: rgba(255, 255, 255, .24);
	transform: translate(-50%, -50%) scale(1.06);
}
.c-video__trigger:focus-visible {
	outline-offset: -4px;
}

/* Barra na base: marca | legenda ............ duração */
.c-video__bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: clamp(.875rem, 2vw, 1.25rem);
	padding: clamp(1rem, 2.6vw, 1.75rem) clamp(1.125rem, 3vw, 2rem);
	color: var(--lpt-text);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-medium);
	white-space: nowrap;
}
.c-video__logo {
	flex: none;
	width: auto;
	height: clamp(20px, 2.3vw, 28px);
	aspect-ratio: 988.44 / 273.78;
}
.c-video__caption {
	overflow: hidden;
	padding-left: clamp(.875rem, 2vw, 1.25rem);
	border-left: 1px solid var(--lpt-line-strong);
	text-overflow: ellipsis;
}
.c-video__duration {
	margin-left: auto;
	padding: .35rem .85rem;
	border: 1px solid var(--lpt-line-strong);
	border-radius: var(--lpt-radius-pill);
	background: rgba(7, 6, 9, .45);
	font-size: var(--lpt-fs-xs);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 34.99em) {
	.c-video__caption {
		display: none;                     /* celular: só marca e duração */
	}
}

/* ==========================================================================
   Seção VÍDEO EM DESTAQUE (Home e Passo a passo: template-parts/sections/video-feature.php)
   Print de referência, com o player menor.
   Tudo numa coluna de no máximo 1080px, centralizada.
   Cabeçalho: sobretítulo + título + texto | linha | bloco "Apresentação oficial".
   ========================================================================== */
.s-video {
	isolation: isolate;
	overflow: hidden;
	border-top: 1px solid var(--lpt-line);
	background:
		radial-gradient(55% 45% at 50% 70%, rgba(113, 0, 245, .2), rgba(113, 0, 245, 0) 70%),
		linear-gradient(180deg, var(--lpt-night-wash), var(--lpt-ink-wash));
}
.s-video__inner {
	max-width: 67.5rem;                    /* 1080px: o player fica menor que o container */
	margin-inline: auto;
}

.s-video__head {
	display: grid;
	gap: var(--lpt-space-6);
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.s-video__kicker {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	margin-bottom: var(--lpt-space-4);
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
	font-weight: var(--lpt-fw-semibold);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.s-video__kicker svg {
	width: 12px;
	height: 12px;
	color: var(--lpt-violet-hover);
}
.s-video__title {
	font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);      /* 30 → 48 */
	text-wrap: wrap;                                     /* as linhas vêm do painel (Enter = quebra), como no print */
}
.s-video__lead {
	max-width: 46ch;
	margin-top: var(--lpt-space-4);
	color: var(--lpt-text-muted);
}

/* Só o cabeçalho (vídeo escondido no painel): sem o espaço reservado ao player e com o
   ícone da seção (traço) no lugar do ▶ do sobretítulo */
.s-video--head-only .s-video__head {
	margin-bottom: 0;
}
.s-video__kicker .s-video__kicker-icon {
	width: 18px;
	height: 18px;
}

/* Bloco "Apresentação oficial" */
.s-video__info {
	display: flex;
	align-items: center;
	gap: var(--lpt-space-4);
	padding-top: var(--lpt-space-5);
	border-top: 1px solid var(--lpt-line);
}
.s-video__info-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 1px solid var(--lpt-frame);
	border-radius: var(--lpt-radius-md);
	background: linear-gradient(180deg, var(--lpt-plum), var(--lpt-surface-2));
	color: #fff;
}
.s-video__info-icon .c-icon {
	width: 26px;
	height: 26px;
}
.s-video__info-text {
	display: grid;
	gap: 2px;
}
.s-video__info-text strong {
	color: var(--lpt-text-strong);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-semibold);
}
.s-video__info-text span {
	max-width: 26ch;
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
	line-height: 1.45;
}

@media (min-width: 64em) {
	.s-video__head {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: clamp(2.5rem, 5vw, 4rem);
	}
	.s-video__info {
		align-self: stretch;
		padding: 0 0 0 clamp(2rem, 4vw, 3.5rem);
		border-top: 0;
		border-left: 1px solid var(--lpt-line);
	}
}

/* Player */
.s-video__stage {
	position: relative;
}
/* Brilho logo atrás do player */
.s-video__stage::before {
	content: '';
	position: absolute;
	z-index: -1;
	inset: -6% 4% 10%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(113, 0, 245, .42), rgba(113, 0, 245, 0));
	filter: blur(34px);
	pointer-events: none;
}
.s-video__media {
	border: 1px solid var(--lpt-frame);
	border-radius: var(--lpt-radius-lg);
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}

@media (max-width: 47.99em) {
	.s-video__media {
		border-radius: var(--lpt-radius-md);
	}
}

/* ==========================================================================
   Seção PAINÉIS DE ATALHO (Home e Ninja Trader: template-parts/sections/bands.php)
   ========================================================================== */
.s-bands__list {
	display: grid;
	gap: clamp(.875rem, 2vw, 1.5rem);
}
.s-bands__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.s-bands__title {
	font-size: var(--lpt-fs-h4);
	letter-spacing: var(--lpt-tracking-tight);
}
.s-bands__text {
	max-width: 32ch;
	margin: var(--lpt-space-3) 0 var(--lpt-space-6);
	color: var(--lpt-text-muted);
	font-size: .9375rem;
}
.s-bands__btn {
	margin-top: auto;
}

@media (min-width: 56.25em) {
	.s-bands__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Formulário (campos, aceite, status) ---------- */
.c-form {
	display: grid;
	gap: var(--lpt-space-5);
}
.c-form__field {
	display: grid;
	gap: var(--lpt-space-2);
}
.c-form__label {
	color: var(--lpt-text-strong);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-semibold);
}
.c-form__input {
	width: 100%;
	min-height: 52px;
	padding: 0 1rem;
	border: 1px solid var(--lpt-line-strong);
	border-radius: var(--lpt-radius-sm);
	background: rgba(7, 6, 9, .45);
	color: var(--lpt-text-strong);
	font-size: var(--lpt-fs-body);
	transition: border-color var(--lpt-dur) var(--lpt-ease), background-color var(--lpt-dur) var(--lpt-ease), box-shadow var(--lpt-dur) var(--lpt-ease);
}
.c-form__input::placeholder {
	color: var(--lpt-text-subtle);
}
.c-form__input:hover {
	border-color: rgba(183, 148, 255, .45);
}
.c-form__input:focus {
	border-color: var(--lpt-lilac);
	background: rgba(7, 6, 9, .7);
	box-shadow: 0 0 0 3px rgba(113, 0, 245, .28);
	outline: none;
}
.c-form__input[aria-invalid='true'] {
	border-color: var(--lpt-danger);
}
.c-form__help {
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
}
.c-form__help a {
	color: var(--lpt-accent-text);
}
.c-form__error {
	color: var(--lpt-danger-ink);
	font-size: var(--lpt-fs-xs);
}
.c-form__check {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--lpt-space-3);
	align-items: start;
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
	line-height: 1.5;
	cursor: pointer;
}
.c-form__check input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--lpt-violet);
	cursor: pointer;
}
.c-form__status {
	padding: var(--lpt-space-4);
	border: 1px solid var(--lpt-line-strong);
	border-radius: var(--lpt-radius-sm);
	font-size: var(--lpt-fs-sm);
}
.c-form__status.is-success {
	border-color: rgba(143, 240, 192, .4);
	background: rgba(143, 240, 192, .08);
	color: var(--lpt-success-ink);
}
.c-form__status.is-error {
	border-color: rgba(255, 92, 114, .4);
	background: rgba(255, 92, 114, .08);
	color: var(--lpt-danger-ink);
}

/* ---------- Perguntas frequentes (details/summary) ---------- */
.c-faq {
	border-top: 1px solid var(--lpt-line);
}
.c-faq__item {
	border-bottom: 1px solid var(--lpt-line);
}
.c-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lpt-space-4);
	padding: var(--lpt-space-5) 0;
	color: var(--lpt-text-strong);
	font-size: var(--lpt-fs-h4);
	font-weight: var(--lpt-fw-semibold);
	letter-spacing: var(--lpt-tracking-tight);
	line-height: var(--lpt-lh-snug);
	list-style: none;
	cursor: pointer;
	transition: color var(--lpt-dur) var(--lpt-ease);
}
.c-faq__q::-webkit-details-marker {
	display: none;
}
.c-faq__q:hover {
	color: var(--lpt-accent-text);
}
/* Mais/menos desenhado com duas linhas: a vertical gira e some ao abrir */
.c-faq__icon {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	border: 1px solid var(--lpt-line-strong);
	border-radius: 50%;
	transition: border-color var(--lpt-dur) var(--lpt-ease), background-color var(--lpt-dur) var(--lpt-ease);
}
.c-faq__icon::before,
.c-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 1.5px;
	border-radius: 1px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform var(--lpt-dur) var(--lpt-ease);
}
.c-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.c-faq__item[open] .c-faq__icon {
	border-color: var(--lpt-violet);
	background: var(--lpt-violet);
	color: #fff;
}
.c-faq__item[open] .c-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}
.c-faq__a {
	padding: 0 3rem var(--lpt-space-6) 0;
	color: var(--lpt-text-muted);
}
.c-faq__a p {
	max-width: 64ch;
}
@media (prefers-reduced-motion: no-preference) {
	.c-faq__item[open] .c-faq__a {
		animation: lpt-faq-open var(--lpt-dur) var(--lpt-ease) both;
	}
}
@keyframes lpt-faq-open {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Texto corrido (conteúdo do editor) ---------- */
.c-prose {
	max-width: var(--lpt-container-narrow);
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-lead);
}
.c-prose > * + * {
	margin-top: 1.1em;
}
.c-prose :where(h2, h3, h4) {
	margin-top: 1.8em;
	color: var(--lpt-text-strong);
}
.c-prose :where(h2) { font-size: var(--lpt-fs-h3); }
.c-prose :where(h3) { font-size: var(--lpt-fs-h4); }
.c-prose :where(a) {
	color: var(--lpt-accent-text);
}
.c-prose :where(strong) {
	color: var(--lpt-text);
}
.c-prose :where(ul, ol) {
	padding-left: 1.2em;
}

/* ---------- Cabeçalho de página interna ---------- */
.c-page-head {
	margin-bottom: var(--lpt-head-gap);
}
.c-page-head__title {
	font-size: var(--lpt-fs-h1);
	letter-spacing: var(--lpt-tracking-display);
}

/* ---------- Link de texto (ação secundária ao lado de um botão) ---------- */
.c-link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;                      /* área de toque igual à do botão */
	padding-inline: var(--lpt-space-2);
	color: var(--lpt-accent-text);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-semibold);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	text-underline-offset: .3em;
	transition: color var(--lpt-dur) var(--lpt-ease), text-decoration-color var(--lpt-dur) var(--lpt-ease);
}
.c-link:hover {
	color: var(--lpt-text-strong);
	text-decoration-color: currentColor;
}

/* ---------- Degrau de pódio (medidas do protótipo) ----------
   Usar dentro de um grid com altura definida (ex.: .s-edition__podium).
   O HTML vem em ordem 1, 2, 3; a ordem visual 2-1-3 é daqui. */
.c-step {
	--cut: var(--lpt-cut);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.75rem);
	background: linear-gradient(180deg, var(--lpt-plum), var(--lpt-night) 92%);
	border-bottom-left-radius: var(--cut);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.c-step--1 {
	order: 2;
	height: 100%;
	background: linear-gradient(180deg, var(--lpt-violet), var(--lpt-plum) 70%);
}
.c-step--2 {
	order: 1;
	height: 76%;
}
.c-step--3 {
	order: 3;
	height: 60%;
}
.c-step__pos {
	color: var(--lpt-text);
	font-size: clamp(2.75rem, 6vw, 5.5rem);   /* 44 → 88 */
	font-weight: var(--lpt-fw-semibold);
	line-height: .9;
	letter-spacing: -.05em;
	font-variant-numeric: tabular-nums;
}
.c-step--1 .c-step__pos {
	color: #fff;
}
.c-step__name {
	margin-top: var(--lpt-space-3);
	color: var(--lpt-text);
	font-weight: var(--lpt-fw-semibold);
	line-height: var(--lpt-lh-snug);
	overflow-wrap: anywhere;
}
.c-step__meta {
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-sm);
	font-variant-numeric: tabular-nums;
}
.c-step--1 .c-step__meta {
	color: var(--lpt-text);
}

@media (max-width: 56.24em) {
	.c-step__name {
		font-size: var(--lpt-fs-sm);
	}
}

/* ---------- Abas (pílulas) ----------
   role="tablist" > button[role="tab"][aria-selected]. Comportamento em views/home.js. */
.c-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 1.625rem;
}
.c-tabs__tab {
	padding: .625rem 1.25rem;
	border: 1px solid var(--lpt-line);
	border-radius: var(--lpt-radius-pill);
	background: transparent;
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-sm);
	font-weight: var(--lpt-fw-medium);
	line-height: 1.4;
	-webkit-tap-highlight-color: transparent;
	transition:
		color var(--lpt-dur) var(--lpt-ease),
		border-color var(--lpt-dur) var(--lpt-ease),
		background-color var(--lpt-dur) var(--lpt-ease);
}
.c-tabs__tab:hover {
	border-color: var(--lpt-lilac);
	color: var(--lpt-text);
}
.c-tabs__tab[aria-selected='true'] {
	border-color: var(--lpt-violet);
	background: var(--lpt-violet);
	color: #fff;
}

/* ---------- Tabela de ranking (medidas do protótipo) ----------
   Colunas: # | Trader | .c-rank-table__opt (some no celular) | .c-rank-table__val (à direita). */
.c-rank-table {
	width: 100%;
	font-variant-numeric: tabular-nums;
}
.c-rank-table th {
	padding: 0 var(--lpt-space-4) .875rem;
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
	font-weight: var(--lpt-fw-medium);
	text-align: left;
	white-space: nowrap;
}
.c-rank-table td {
	padding: 1.125rem var(--lpt-space-4);
	border-top: 1px solid var(--lpt-line);
	font-size: var(--lpt-fs-body);
}
.c-rank-table tbody tr:hover td {
	background: rgba(113, 0, 245, .1);
}
.c-rank-table__pos {
	width: 72px;
	color: var(--lpt-accent-text);
	font-weight: var(--lpt-fw-semibold);
}
.c-rank-table tbody tr:nth-child(-n + 3) .c-rank-table__pos {
	color: var(--lpt-text);
}
.c-rank-table .c-rank-table__val {
	text-align: right;
	white-space: nowrap;
}
td.c-rank-table__val {
	font-weight: var(--lpt-fw-semibold);
}

@media (max-width: 35em) {
	.c-rank-table .c-rank-table__opt {
		display: none;
	}
	.c-rank-table td {
		padding: .9375rem var(--lpt-space-2);
	}
	.c-rank-table th {
		padding-inline: var(--lpt-space-2);
	}
	.c-rank-table__pos {
		width: 48px;
	}
}

/* ---------- Faixa de números (rótulo, valor, apoio) ----------
   Caixa na largura do container (1320px), colunas separadas por linhas finas.
   Celular 2 × 2; a partir do tablet, uma linha. */
.c-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--lpt-line);
	border-radius: var(--lpt-radius-md);
	background: var(--lpt-surface);
}
.c-stats__item {
	display: grid;
	align-content: start;
	gap: 2px;
	min-width: 0;
	padding: var(--lpt-space-5);
}
.c-stats__item:nth-child(even) {
	border-left: 1px solid var(--lpt-line);
}
.c-stats__item:nth-child(n + 3) {
	border-top: 1px solid var(--lpt-line);
}
.c-stats__label {
	color: var(--lpt-text-muted);
	font-size: var(--lpt-fs-xs);
	font-weight: var(--lpt-fw-medium);
}
.c-stats__value {
	margin-top: var(--lpt-space-1);
	color: var(--lpt-text-strong);
	font-size: clamp(1.125rem, .95rem + .8vw, 1.75rem);
	font-weight: var(--lpt-fw-semibold);
	letter-spacing: var(--lpt-tracking-tight);
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}
.c-stats__sub {
	color: var(--lpt-text-subtle);
	font-size: var(--lpt-fs-xs);
}

@media (min-width: 48em) {
	.c-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.c-stats__item,
	.c-stats__item:nth-child(even),
	.c-stats__item:nth-child(n + 3) {
		padding: clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.25rem, 2.2vw, 2rem);
		border-top: 0;
		border-left: 1px solid var(--lpt-line);
	}
	.c-stats__item:first-child {
		border-left: 0;
	}
}
