.hero {
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(circle at 50% 58%, rgba(217, 74, 90, 0.18), transparent 34rem),
		radial-gradient(circle at 12% 52%, rgba(143, 162, 184, 0.09), transparent 30rem),
		linear-gradient(180deg, #0b0c0f 0%, var(--softone-color-background-primary) 54%, #050607 100%);
}

.hero::before,
.hero::after,
.hero__ambient {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero::before {
	content: "";
	z-index: -3;
	background:
		radial-gradient(circle at 50% 22%, rgba(245, 243, 239, 0.08), transparent 22rem),
		radial-gradient(circle at 50% 82%, rgba(217, 74, 90, 0.1), transparent 26rem);
	filter: blur(4px);
}

.hero::after {
	content: "";
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.58)),
		linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 34%, rgba(0, 0, 0, 0.68));
}

.hero__ambient {
	z-index: -2;
	opacity: 0.32;
	background:
		linear-gradient(115deg, rgba(245, 243, 239, 0.018), transparent 34%, rgba(0, 0, 0, 0.026) 68%),
		linear-gradient(245deg, transparent 18%, rgba(245, 243, 239, 0.012), transparent 62%);
	background-size: 180px 140px, 260px 220px;
	mix-blend-mode: overlay;
	animation: heroAmbientShift 18s var(--softone-ease-standard) infinite alternate;
}

.hero__shell {
	position: relative;
	display: grid;
	min-height: 100svh;
	place-items: center;
	padding: clamp(14px, 2.2svh, 28px) 0 clamp(20px, 3svh, 36px);
}

.hero__wordmark {
	position: absolute;
	z-index: 0;
	top: clamp(-10px, 1.8svh, 28px);
	left: 50%;
	width: max-content;
	margin: 0;
	color: rgba(217, 74, 90, 0.24);
	font-family: var(--softone-font-display);
	font-size: clamp(5.8rem, 12.8vw, 17rem);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.78;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
	transform: translateX(-50%);
	user-select: none;
	white-space: nowrap;
}

.hero__stage {
	position: relative;
	z-index: 2;
	display: block;
	width: min(98vw, 2400px);
	min-height: 92svh;
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid rgba(245, 243, 239, 0.1);
	border-radius: clamp(28px, 3vw, 44px);
	background:
		radial-gradient(circle at 50% 18%, rgba(245, 243, 239, 0.07), transparent 20rem),
		radial-gradient(circle at 50% 70%, rgba(217, 74, 90, 0.09), transparent 28rem),
		linear-gradient(135deg, rgba(21, 24, 30, 0.96), rgba(10, 11, 14, 0.98) 58%, rgba(15, 17, 21, 0.96));
	box-shadow:
		0 34px 80px rgba(0, 0, 0, 0.46),
		0 10px 30px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(245, 243, 239, 0.08);
}

.hero__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(245, 243, 239, 0.055), transparent 18%),
		linear-gradient(90deg, rgba(143, 162, 184, 0.05), transparent 22%, transparent 74%, rgba(217, 74, 90, 0.05));
}

.hero__stage::after {
	content: "";
	position: absolute;
	right: 9%;
	bottom: -18%;
	z-index: 0;
	width: 54%;
	height: 36%;
	pointer-events: none;
	background: radial-gradient(ellipse, rgba(217, 74, 90, 0.12), transparent 68%);
	filter: blur(22px);
}

.hero__content,
.hero__ribbons {
	position: relative;
	z-index: 2;
}

.hero__content {
	display: flex;
	min-height: 92svh;
	max-width: min(1720px, 88vw);
	margin: 0 auto;
	padding: clamp(64px, 12svh, 126px) clamp(24px, 5vw, 92px) clamp(184px, 21svh, 252px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero__label,
.hero__title,
.hero__dynamic,
.hero__subtitle,
.hero__actions {
	opacity: 1;
	transform: translateY(0);
	animation: heroContentIn 720ms var(--softone-ease-standard) backwards;
}

.hero__label {
	color: var(--softone-color-text-tertiary);
	font-family: var(--softone-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.hero__label span {
	color: var(--softone-color-primary);
}

.hero__title {
	width: min(100%, 1720px);
	margin: 22px 0 0;
	color: var(--softone-color-text-primary);
	font-family: var(--softone-font-display);
	font-size: clamp(4rem, 6.6vw, 8.4rem);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 0.92;
	text-wrap: balance;
	animation-delay: 70ms;
}

.hero__dynamic {
	min-height: 1.35em;
	margin: 24px 0 0;
	color: var(--softone-color-text-secondary);
	font-family: var(--softone-font-display);
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	animation-delay: 140ms;
}

.hero__dynamic-live {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.34em;
	white-space: nowrap;
}

.hero__dynamic-slot {
	position: relative;
	display: inline-grid;
	grid-template: "slot" auto / auto;
	min-width: max-content;
	color: var(--softone-color-primary-soft);
	justify-items: start;
}

.hero__dynamic-measure,
.hero__dynamic-word {
	grid-area: slot;
}

.hero__dynamic-measure {
	visibility: hidden;
	pointer-events: none;
}

.hero__dynamic-word {
	position: relative;
	color: var(--softone-color-primary-soft);
	opacity: 1;
	transition: opacity 150ms var(--softone-ease-standard);
}

.hero__dynamic-slot.is-disintegrating .hero__dynamic-word {
	opacity: 0;
}

.hero__dynamic-canvas {
	position: absolute;
	inset: -12px -18px;
	z-index: 2;
	width: calc(100% + 36px);
	height: calc(100% + 24px);
	opacity: 0;
	pointer-events: none;
}

.hero__dynamic-slot.is-disintegrating .hero__dynamic-canvas {
	opacity: 1;
}

.hero__dynamic-static {
	display: none;
}

.hero__subtitle {
	width: min(100%, 680px);
	margin: 18px 0 0;
	color: var(--softone-color-text-secondary);
	font-size: clamp(1rem, 1.35vw, 1.18rem);
	font-weight: 400;
	line-height: 1.55;
	animation-delay: 210ms;
}

.hero__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
	animation-delay: 280ms;
}

.hero .button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: var(--softone-radius-button);
	color: inherit;
	cursor: pointer;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(217, 74, 90, 0.16);
	transition:
		transform var(--softone-duration-fast) var(--softone-ease-standard),
		background-color var(--softone-duration-fast) var(--softone-ease-standard),
		border-color var(--softone-duration-fast) var(--softone-ease-standard),
		color var(--softone-duration-fast) var(--softone-ease-standard);
}

.hero .button:focus-visible {
	outline: 2px solid var(--softone-color-primary);
	outline-offset: 5px;
}

.hero .button--offset {
	--button-front: var(--softone-color-text-primary);
	--button-text: var(--softone-color-carbon-text);
	--button-border: rgba(245, 243, 239, 0.84);
	--button-plate: var(--softone-color-primary);
	--button-offset: var(--softone-offset-plate);

	position: relative;
	min-height: 54px;
	padding: 0 var(--button-offset) var(--button-offset) 0;
	border: 0;
	background: transparent;
	color: var(--button-text);
	isolation: isolate;
	box-sizing: border-box;
}

.hero .button--offset::before {
	content: "";
	position: absolute;
	inset: 0 var(--button-offset) var(--button-offset) 0;
	z-index: -1;
	border-radius: var(--softone-radius-button);
	background: var(--button-plate);
	transform: translate(var(--button-offset), var(--button-offset));
	transition: transform 220ms var(--softone-ease-standard);
}

.hero .button__surface {
	display: inline-flex;
	width: 100%;
	min-height: inherit;
	align-items: center;
	justify-content: center;
	gap: 11px;
	border: 1px solid var(--button-border);
	border-radius: var(--softone-radius-button);
	padding: 14px 20px;
	background: var(--button-front);
	color: var(--button-text);
	transition:
		background-color 220ms var(--softone-ease-standard),
		border-color 220ms var(--softone-ease-standard),
		color 220ms var(--softone-ease-standard),
		transform 160ms var(--softone-ease-standard);
}

.hero .button__label {
	min-width: 0;
}

.hero .button__icon {
	position: relative;
	display: inline-block;
	width: 1.2rem;
	height: 1.2rem;
	flex: 0 0 1.2rem;
	overflow: hidden;
	color: currentColor;
}

.hero .button__arrow {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: currentColor;
	-webkit-mask-image: url("../../icon/seta-diagonal.svg");
	mask-image: url("../../icon/seta-diagonal.svg");
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition:
		transform 260ms var(--softone-ease-standard),
		opacity 180ms ease;
}

.hero .button__arrow--current {
	opacity: 1;
	transform: translate(0, 0);
}

.hero .button__arrow--incoming {
	opacity: 0;
	transform: translate(-115%, 115%);
}

.hero .button--offset:hover::before {
	transform: translate(0, 0);
}

.hero .button--offset:hover .button__surface {
	border-color: var(--button-plate);
	background: var(--button-plate);
	color: var(--softone-color-text-primary);
}

.hero .button:hover .button__arrow--current,
.hero .button:focus-visible .button__arrow--current {
	opacity: 0;
	transform: translate(115%, -115%);
}

.hero .button:hover .button__arrow--incoming,
.hero .button:focus-visible .button__arrow--incoming {
	opacity: 1;
	transform: translate(0, 0);
}

.hero .button--offset:active .button__surface {
	transform: translate(1px, 1px);
}

.hero .button--secondary-arrow {
	--button-arrow-text: var(--softone-color-text-primary);
	--button-arrow-border: rgba(245, 243, 239, 0.22);
	--button-arrow-hover-bg: rgba(245, 243, 239, 0.08);
	--button-arrow-hover-border: rgba(245, 243, 239, 0.38);

	min-height: 46px;
	gap: 10px;
	border-color: var(--button-arrow-border);
	padding: 12px 16px;
	background: transparent;
	color: var(--button-arrow-text);
}

.hero .button--secondary-arrow:hover {
	border-color: var(--button-arrow-hover-border);
	background: var(--button-arrow-hover-bg);
}

.hero__ribbons {
	position: absolute;
	right: -10%;
	bottom: 5.8%;
	left: -10%;
	height: 164px;
	pointer-events: none;
}

.service-ribbon {
	position: absolute;
	left: 50%;
	width: 104%;
	overflow: hidden;
	border-block: 1px solid rgba(245, 243, 239, 0.11);
	background: rgba(15, 17, 21, 0.96);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
	contain: paint;
}

.service-ribbon--primary {
	top: 38px;
	transform: translateX(-50%) rotate(-4.6deg);
}

.service-ribbon--secondary {
	top: 64px;
	opacity: 0.76;
	background: rgba(21, 24, 30, 0.92);
	transform: translateX(-50%) rotate(4deg);
}

.service-ribbon__track {
	display: flex;
	gap: 0;
	width: max-content;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	animation: ribbonScroll 48s linear infinite;
}

.service-ribbon--secondary .service-ribbon__track {
	animation-duration: 54s;
	animation-direction: reverse;
}

.service-ribbon__group {
	display: flex;
	flex: 0 0 auto;
	flex-shrink: 0;
	align-items: center;
	gap: 0;
}

.service-ribbon__group span {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	padding: 0 28px;
	color: var(--softone-color-text-secondary);
	font-family: var(--softone-font-mono);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.service-ribbon__group span::after {
	content: "·";
	margin-left: 28px;
	color: var(--softone-color-primary);
}

.hero__foreground-base {
	position: absolute;
	z-index: 3;
	right: 7vw;
	bottom: 34px;
	left: 7vw;
	height: clamp(34px, 6svh, 62px);
	border-radius: 999px 999px 0 0;
	background:
		linear-gradient(180deg, rgba(245, 243, 239, 0.09), transparent 34%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(21, 24, 30, 0.92), rgba(0, 0, 0, 0.88));
	box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.48);
	opacity: 0.82;
	pointer-events: none;
}

@keyframes heroContentIn {
	from {
		opacity: 1;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes heroAmbientShift {
	to {
		opacity: 0.22;
		transform: translate3d(0, -10px, 0);
	}
}

@keyframes ribbonScroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@supports not ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
	.hero .button__arrow {
		background-color: transparent;
		background-image: url("../../icon/seta-diagonal.svg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}
}

@media (max-width: 1180px) {
	.hero__stage {
		width: min(98vw, 2400px);
		min-height: 92svh;
	}

	.hero__title {
		font-size: clamp(3.7rem, 7vw, 6.4rem);
	}

	.hero__content {
		max-width: min(1060px, 84vw);
		padding-bottom: clamp(176px, 21svh, 232px);
	}
}

@media (min-width: 1025px) {
	.softone-hero--hide-desktop {
		display: none;
	}
}

@media (max-width: 1024px) and (min-width: 641px) {
	.softone-hero--hide-tablet {
		display: none;
	}
}

@media (max-width: 900px) {
	.hero__shell {
		padding: 18px 0 24px;
	}

	.hero__wordmark {
		top: 28px;
		color: rgba(217, 74, 90, 0.2);
		font-size: clamp(5rem, 19vw, 11rem);
	}

	.hero__stage {
		width: min(98vw, 920px);
		min-height: calc(100svh - 42px);
	}

	.hero__content {
		max-width: 100%;
		min-height: calc(100svh - 42px);
		padding: clamp(58px, 10svh, 90px) 22px clamp(174px, 20svh, 210px);
	}

	.hero__title {
		font-size: clamp(3.3rem, 9.8vw, 5.2rem);
	}

	.hero__ribbons {
		right: -18%;
		bottom: 10%;
		left: -18%;
		height: 146px;
	}

	.service-ribbon {
		width: 148%;
	}
}

@media (max-width: 640px) {
	.softone-hero--hide-mobile {
		display: none;
	}

	.hero {
		min-height: 100svh;
	}

	.hero__ambient {
		opacity: 0.2;
	}

	.hero__shell {
		min-height: 100svh;
		padding: 6px 0 10px;
	}

	.hero__wordmark {
		top: 20px;
		left: 43%;
		color: rgba(217, 74, 90, 0.17);
		font-size: clamp(4.3rem, 23vw, 7rem);
	}

	.hero__stage {
		width: calc(100vw - 10px);
		min-height: calc(100svh - 16px);
		border-radius: 28px;
	}

	.hero__content {
		min-height: calc(100svh - 16px);
		padding: clamp(42px, 7svh, 58px) 16px clamp(150px, 20svh, 178px);
	}

	.hero__label {
		font-size: 0.66rem;
		letter-spacing: 0.06em;
	}

	.hero__title {
		margin-top: 18px;
		font-size: clamp(2.8rem, 12vw, 4.35rem);
		letter-spacing: 0;
		line-height: 0.94;
	}

	.hero__dynamic {
		margin-top: 20px;
		font-size: clamp(1.2rem, 5.2vw, 1.55rem);
	}

	.hero__subtitle {
		margin-top: 16px;
		font-size: 1rem;
	}

	.hero__actions {
		width: 100%;
		flex-direction: column;
		margin-top: 28px;
	}

	.hero__actions .button {
		width: 100%;
	}

	.hero__ribbons {
		right: -38%;
		bottom: 5.5%;
		left: -38%;
		height: 132px;
	}

	.service-ribbon {
		width: 184%;
	}

	.service-ribbon--primary {
		top: 40px;
		transform: translateX(-50%) rotate(-3.2deg);
	}

	.service-ribbon--secondary {
		top: 68px;
		opacity: 0.56;
		transform: translateX(-50%) rotate(3.2deg);
	}

	.service-ribbon__track {
		animation-duration: 56s;
	}

	.service-ribbon--secondary .service-ribbon__track {
		animation-duration: 62s;
	}

	.service-ribbon__group span {
		min-height: 46px;
		padding-inline: 18px;
		font-size: 0.66rem;
	}

	.service-ribbon__group span::after {
		margin-left: 18px;
	}

	.hero__foreground-base {
		right: 22px;
		bottom: 18px;
		left: 22px;
		height: 34px;
	}
}

@media (max-width: 380px) {
	.hero__stage {
		width: calc(100vw - 8px);
	}

	.hero__content {
		padding-inline: 14px;
	}

	.hero__title {
		font-size: 2.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__label,
	.hero__title,
	.hero__dynamic,
	.hero__subtitle,
	.hero__actions {
		opacity: 1;
		transform: none;
	}

	.hero__dynamic-live {
		display: none;
	}

	.hero__dynamic-static {
		display: inline;
	}

	.hero__ambient,
	.service-ribbon__track {
		animation: none;
	}

	.hero .button,
	.hero .button__surface,
	.hero .button__arrow {
		transition: none;
	}
}
