/* ==========================================================================
   Studio Hikari — Processo (numbered steps, estilo editorial)
   Prefixo: shc · BEM · temas dark/light/auto
   ========================================================================== */

.shc {
	--shc-fg: #f4f4f5;
	--shc-muted: rgba(255, 255, 255, .62);
	--shc-muted-2: rgba(255, 255, 255, .40);
	--shc-line: rgba(255, 255, 255, .14);
	--shc-accent: #e8503a;

	display: block;
	box-sizing: border-box;
	width: 100%;
}
.shc *, .shc *::before, .shc *::after { box-sizing: border-box; }

/* --- Temas ---------------------------------------------------------------- */
.shc--theme-light {
	--shc-fg: #14141a;
	--shc-muted: rgba(0, 0, 0, .60);
	--shc-muted-2: rgba(0, 0, 0, .42);
	--shc-line: rgba(0, 0, 0, .14);
}
.dark .shc--theme-auto {
	--shc-fg: #f4f4f5;
	--shc-muted: rgba(255, 255, 255, .62);
	--shc-muted-2: rgba(255, 255, 255, .40);
	--shc-line: rgba(255, 255, 255, .14);
}
.light .shc--theme-auto {
	--shc-fg: #14141a;
	--shc-muted: rgba(0, 0, 0, .60);
	--shc-muted-2: rgba(0, 0, 0, .42);
	--shc-line: rgba(0, 0, 0, .14);
}

/* --- Container ------------------------------------------------------------ */
.shc__inner {
	max-width: var(--shc-maxw, 1400px);
	margin: 0 auto;
	padding-inline: 0px;
}

.shc__heading {
	margin: 0 0 3.2rem !important;
	padding: 0 !important;
	font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
	font-weight: 500 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.02em !important;
	color: var(--shc-fg) !important;
}

/* --- Viewport ------------------------------------------------------------- */
.shc__viewport {
	position: relative;
	overflow: visible;             /* estático: nada é cortado */
}
.shc.is-carousel .shc__viewport {
	overflow: hidden;              /* só o carrossel clipa horizontalmente */
}

/* --- Track ---------------------------------------------------------------- */
.shc__track {
	position: relative;
	display: flex;
	gap: var(--shc-gap, 40px);
	align-items: stretch;
	will-change: transform;
}
/* Estático: grade alinhada (desktop). */
.shc[data-carousel="0"]:not(.is-carousel) .shc__track {
	display: grid;
	grid-template-columns: repeat(var(--shc-cols, 4), minmax(0, 1fr));
}

/* --- Passo (numbered step) ------------------------------------------------ */
.shc__item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--shc-line);
	color: inherit;
	transition: border-color .45s ease;
}
.shc__item.is-carousel-cell { flex: 0 0 auto; } /* largura definida pelo JS */

/* Rótulo/numero fixo no topo */
.shc__num {
	display: inline-flex;
	align-items: center;
	font-size: .82rem !important;
	font-weight: 500 !important;
	letter-spacing: .04em;
	line-height: 1 !important;
	color: var(--shc-muted-2) !important;
	font-variant-numeric: tabular-nums;
	transition: color .4s ease;
}

.shc__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	margin-top: 1.15rem;
}

/* Título (heading de ~2 linhas) */
.shc__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1.15rem !important;
	line-height: 1.35 !important;
	font-weight: 500 !important;
	color: var(--shc-fg) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shc__desc {
	margin: .7rem 0 0 !important;
	padding: 0 !important;
	font-size: .95rem !important;
	line-height: 1.55 !important;
	color: var(--shc-muted) !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.shc__note {
	margin: .6rem 0 0 !important;
	padding: 0 !important;
	font-size: .88rem !important;
	line-height: 1.5 !important;
	color: var(--shc-muted-2) !important;
}

/* "Saiba mais" ancorado ao rodapé do passo */
.shc__more {
	margin-top: auto;
	padding-top: 1.6rem;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .9rem !important;
	font-weight: 500;
	color: var(--shc-fg) !important;
	text-decoration: none !important;
	width: max-content;
	transition: color .2s ease, gap .2s ease;
}
.shc__more .shc__arrow { transition: transform .2s ease; }
@media (hover: hover) {
	.shc__more:hover { color: var(--shc-accent) !important; }
	.shc__more:hover .shc__arrow { transform: translateX(3px); }
}
.shc__more:focus-visible {
	outline: 2px solid var(--shc-accent);
	outline-offset: 4px;
	border-radius: 3px;
}

/* --- Fase (marcação única que se move): só o passo atual acende ----------- */
.shc__item.is-current {
	border-top-color: var(--shc-accent);
}
.shc__item.is-current .shc__num {
	color: var(--shc-accent) !important;
}
.shc__item.is-current .shc__num::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 9px;
	border-radius: 50%;
	background: var(--shc-accent);
}

/* --- Rodapé: apenas as bolinhas do carrossel (à esquerda) ---------------- */
.shc__footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 3.4rem;
	min-height: 16px;
}
.shc__bullets { display: flex; align-items: center; gap: 10px; }
/* As bolinhas (e o rodapé) só aparecem quando o carrossel está ativo de fato. */
.shc:not(.is-carousel) .shc__footer { display: none; }
.shc__bullet {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
	background: transparent;
	box-shadow: 0 0 0 1px var(--shc-muted-2);
	cursor: pointer;
	transition: box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.shc__bullet:hover { transform: scale(1.15); }
.shc__bullet.is-active {
	background: var(--shc-accent);
	box-shadow: 0 0 0 1px var(--shc-accent), 0 0 0 4px rgba(232,80,58,.22);
	box-shadow: 0 0 0 1px var(--shc-accent), 0 0 0 4px color-mix(in srgb, var(--shc-accent) 22%, transparent);
}
.shc__bullet:focus-visible { outline: 2px solid var(--shc-accent); outline-offset: 3px; }

/* --- Arrasto -------------------------------------------------------------- */
.shc.is-carousel .shc__track { transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.shc.is-dragging .shc__track { transition: none; }
.shc.is-dragging { cursor: grabbing; }
.shc.is-dragging .shc__more { pointer-events: none; }

/* --- Responsivo ----------------------------------------------------------- */
/* Tablet: 2 colunas no modo estático. */
@media (min-width: 640px) and (max-width: 1023px) {
	.shc[data-carousel="0"]:not(.is-carousel) .shc__track {
		grid-template-columns: repeat(2, 1fr) !important;
		row-gap: 2.6rem;
	}
	.shc__heading { margin-bottom: 2.6rem !important; }
}

/* Mobile: empilhado (mesma base da referência). */
@media (max-width: 639px) {
	.shc__inner { padding-inline: 6%; }
	.shc__track {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
	}
	.shc__item {
		width: auto !important;
		flex: 0 0 auto !important;
		padding-top: 1.5rem;
		padding-bottom: 1.6rem;
	}
	.shc__more { margin-top: 1rem; padding-top: 1rem; }
	.shc__heading { margin-bottom: 2.2rem !important; }
	.shc__footer { margin-top: 2.4rem; }
}

/* --- Movimento reduzido --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.shc.is-carousel .shc__track { transition: none; }
	.shc__item, .shc__num, .shc__more, .shc__more .shc__arrow,
	.shc__viewall .shc__arrow, .shc__bullet { transition: none; }
	.shc__item.is-current .shc__num::after { animation: none; }
}
