/* Página inicial – maksoud.dev */

.mkh {
	--mkh-fg: var(--nv-text-color, #1d2129);
	--mkh-muted: #5a606b;
	--mkh-line: #e6e4dc;
	--mkh-surface: #ffffff;
	--mkh-alt: var(--nv-light-bg, #f7f7f3);
	--mkh-accent: var(--nv-primary-accent, #325ce8);
	--mkh-accent-soft: rgba(50, 92, 232, 0.09);
	--mkh-brand: #1567e8;
	--mkh-navy: #0d1626;
	--mkh-whats: #16834a;
	--mkh-whats-hover: #126e3e;
	--mkh-radius: 20px;
	--mkh-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -12px rgba(16, 24, 40, 0.18);

	display: block;
	/* Sai do recuo lateral do tema (mesmo padrão que ele usa no .alignfull). */
	margin: 0 calc(var(--wp--custom--spacing--outer, 0px) * -1) !important;
	padding: 0 !important;
	max-width: none !important;
	width: unset;
	color: var(--mkh-fg);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: clip;
}

.mkh *,
.mkh *::before,
.mkh *::after {
	box-sizing: border-box;
}

.mkh h1,
.mkh h2,
.mkh h3,
.mkh p,
.mkh ul,
.mkh ol,
.mkh dl,
.mkh dd,
.mkh figure {
	margin: 0;
}

.mkh ul,
.mkh ol {
	padding: 0;
	list-style: none;
}

.mkh a {
	text-decoration: none;
}

.mkh img {
	display: block;
	max-width: 100%;
	height: auto;
}

.mkh-wrap {
	width: min(1180px, 100% - 48px);
	margin-inline: auto;
}

.mkh-ico {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.mkh :focus-visible {
	outline: 3px solid var(--mkh-accent);
	outline-offset: 3px;
	border-radius: 8px;
}

/* ---------- Botões ---------- */

.mkh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mkh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.mkh-btn:hover {
	transform: translateY(-1px);
}

.mkh-btn--lg {
	min-height: 56px;
	padding: 14px 28px;
	font-size: 17px;
}

.mkh-btn--whats {
	background: var(--mkh-whats);
	color: #fff !important;
	box-shadow: 0 10px 24px -10px rgba(22, 131, 74, 0.7);
}

.mkh-btn--whats:hover {
	background: var(--mkh-whats-hover);
}

.mkh-btn--ghost {
	border-color: var(--mkh-line);
	background: var(--mkh-surface);
	color: var(--mkh-fg) !important;
}

.mkh-btn--ghost:hover {
	border-color: var(--mkh-fg);
}

.mkh-btn--light {
	background: #fff;
	color: var(--mkh-navy) !important;
}

.mkh-btn--light:hover {
	background: #e8eefc;
}

.mkh-btn--outline-light {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff !important;
}

.mkh-btn--outline-light:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

/* ---------- Títulos de seção ---------- */

.mkh-section {
	padding-block: clamp(72px, 10vw, 120px);
}

.mkh-section--alt {
	background: var(--mkh-alt);
}

.mkh-head {
	max-width: 700px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.mkh-kicker {
	margin-bottom: 12px !important;
	color: var(--mkh-accent);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mkh h2 {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.mkh-head > p:last-child {
	margin-top: 16px;
	color: var(--mkh-muted);
	font-size: 19px;
	text-wrap: pretty;
}

/* ---------- Hero ---------- */

.mkh-hero {
	position: relative;
	padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(50, 92, 232, 0.13), transparent 60%),
		radial-gradient(800px 400px at -10% 110%, rgba(22, 131, 74, 0.08), transparent 60%),
		var(--mkh-surface);
}

.mkh-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
}

.mkh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px !important;
	padding: 7px 14px;
	border: 1px solid var(--mkh-line);
	border-radius: 999px;
	background: var(--mkh-surface);
	color: var(--mkh-muted);
	font-size: 14px;
	font-weight: 600;
}

.mkh-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22a35a;
}

.mkh-dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: mkh-pulse 2s ease-out infinite;
}

@keyframes mkh-pulse {
	to {
		transform: scale(2.8);
		opacity: 0;
	}
}

.mkh-hero h1 {
	font-size: clamp(38px, 5.6vw, 66px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.mkh-hero h1 em {
	font-style: normal;
	background: linear-gradient(100deg, var(--mkh-accent), #7b4dff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.mkh-hero__sub {
	max-width: 600px;
	margin: 24px 0 32px !important;
	color: var(--mkh-muted);
	font-size: clamp(18px, 2vw, 20px);
	line-height: 1.55;
	text-wrap: pretty;
}

.mkh-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 32px !important;
	color: var(--mkh-muted);
	font-size: 15px;
}

.mkh-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mkh-facts .mkh-ico {
	color: var(--mkh-whats);
}

.mkh-hero__visual {
	position: relative;
	justify-self: center;
	width: min(100%, 440px);
}

.mkh-portrait {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 32px;
	overflow: hidden;
	background: linear-gradient(160deg, #dfe6fb, #f1eefb);
	box-shadow: var(--mkh-shadow);
}

.mkh-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

.mkh-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--mkh-shadow);
	color: var(--mkh-fg) !important;
	line-height: 1.2;
}

.mkh-float small {
	display: block;
	color: var(--mkh-muted);
	font-size: 12px;
}

.mkh-float b {
	font-size: 16px;
}

.mkh-float--top {
	top: 28px;
	left: -36px;
	transition: transform 0.2s;
}

.mkh-float--top:hover {
	transform: translateY(-2px);
}

.mkh-float--bottom {
	right: -28px;
	bottom: 36px;
}

.mkh-float__logo,
.mkh-float__code {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #eef3fe;
	color: #1d2529;
}

.mkh-float__code {
	background: var(--mkh-navy);
	color: #fff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	font-weight: 700;
}

.mkh-logo-r {
	width: 26px;
	height: 26px;
}

/* ---------- Serviços ---------- */

.mkh-services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.mkh-service {
	padding: 28px;
	border: 1px solid var(--mkh-line);
	border-radius: var(--mkh-radius);
	background: var(--mkh-surface);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mkh-service:hover {
	border-color: transparent;
	box-shadow: var(--mkh-shadow);
	transform: translateY(-3px);
}

.mkh-service__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: var(--mkh-accent-soft);
	color: var(--mkh-accent);
}

.mkh-service__icon .mkh-ico {
	width: 24px;
	height: 24px;
}

.mkh h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.mkh-service p {
	margin-top: 10px;
	color: var(--mkh-muted);
	font-size: 16px;
}

/* ---------- Reiniciando ---------- */

.mkh-feature {
	position: relative;
	padding-block: clamp(72px, 10vw, 128px);
	background:
		radial-gradient(900px 500px at 100% 0%, rgba(21, 103, 232, 0.35), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(123, 77, 255, 0.18), transparent 60%),
		var(--mkh-navy);
	color: #e8edf6;
}

.mkh-feature__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(48px, 7vw, 96px);
}

.mkh-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px !important;
	padding: 6px 16px 6px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.mkh-badge .mkh-logo-r {
	width: 28px;
	height: 28px;
	padding: 3px;
	border-radius: 50%;
	background: #fff;
	color: #1d2529;
}

.mkh-feature h2 {
	color: #fff;
}

.mkh-feature__copy > p {
	margin-top: 20px;
	color: #b9c3d6;
	font-size: 18px;
	text-wrap: pretty;
}

.mkh-checks {
	display: grid;
	gap: 12px;
	margin: 28px 0 !important;
}

.mkh-checks li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #e8edf6;
}

.mkh-checks .mkh-ico {
	margin-top: 2px;
	padding: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(21, 103, 232, 0.35);
	color: #9cc0ff;
}

.mkh-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 36px !important;
	border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.mkh-stats div {
	padding: 18px 0;
}

.mkh-stats div + div {
	padding-left: 20px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mkh-stats dt {
	color: #8d99b0;
	font-size: 13px;
}

.mkh-stats dd {
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.mkh-feature__visual {
	position: relative;
	padding: 40px 0 72px;
}

.mkh-browser {
	position: relative;
	z-index: 1;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.mkh-browser__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: #eef1f6;
}

.mkh-browser__bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #cfd5df;
}

.mkh-browser__bar span {
	flex: 1;
	margin-left: 10px;
	padding: 3px 12px;
	border-radius: 8px;
	background: #fff;
	color: #6b7383;
	font-size: 12px;
}

.mkh-browser img {
	width: 100%;
}

.mkh-shot {
	position: absolute;
	z-index: 2;
	border-radius: 14px;
	box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.55);
}

.mkh-shot--a {
	left: -40px;
	bottom: 0;
	width: 64%;
}

.mkh-shot--b {
	top: 0;
	right: -36px;
	width: 38%;
	z-index: 0;
	opacity: 0.95;
	transform: rotate(3deg);
}

/* ---------- Como funciona ---------- */

.mkh-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	counter-reset: mkh;
}

.mkh-step {
	position: relative;
	padding: 28px;
	border-radius: var(--mkh-radius);
	background: var(--mkh-surface);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.mkh-step__n {
	display: block;
	margin-bottom: 18px;
	color: var(--mkh-accent);
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.mkh-step p {
	margin-top: 10px;
	color: var(--mkh-muted);
	font-size: 16px;
}

/* ---------- Quem faz ---------- */

.mkh-about {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: start;
	gap: clamp(40px, 6vw, 88px);
}

.mkh-about__copy h2 {
	margin-bottom: 24px;
}

.mkh-about__copy p + p {
	margin-top: 16px;
}

.mkh-about__copy p:not(.mkh-kicker) {
	color: var(--mkh-muted);
	font-size: 18px;
	text-wrap: pretty;
}

.mkh-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px !important;
}

.mkh-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--mkh-line);
	border-radius: 999px;
	color: var(--mkh-fg) !important;
	font-size: 15px;
	font-weight: 600;
	transition: border-color 0.2s;
}

.mkh-social a:hover {
	border-color: var(--mkh-fg);
}

.mkh-about__projects {
	padding: 28px;
	border: 1px solid var(--mkh-line);
	border-radius: var(--mkh-radius);
	background: var(--mkh-alt);
}

.mkh-about__projects-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.mkh-about__projects-head a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--mkh-accent) !important;
	font-size: 15px;
	font-weight: 600;
}

.mkh-mini {
	display: grid;
	gap: 12px;
}

.mkh-mini__card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border-radius: 14px;
	background: var(--mkh-surface);
	color: var(--mkh-fg) !important;
	transition: box-shadow 0.2s, transform 0.2s;
}

.mkh-mini__card:hover {
	box-shadow: var(--mkh-shadow);
	transform: translateX(3px);
}

.mkh-mini__media {
	display: grid;
	place-items: center;
	flex: none;
	width: 76px;
	height: 60px;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, #e3e9fc, #d6e0fb);
	color: var(--mkh-accent);
}

.mkh-mini__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mkh-mini__media .mkh-ico {
	width: 28px;
	height: 28px;
}

.mkh-mini__body {
	display: grid;
	gap: 2px;
	line-height: 1.35;
}

.mkh-mini__body span {
	color: var(--mkh-muted);
	font-size: 14px;
}

/* ---------- Contato ---------- */

.mkh-cta {
	padding-block: 0 clamp(72px, 10vw, 120px);
}

.mkh-cta__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: clamp(32px, 5vw, 56px);
	border-radius: 28px;
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
		linear-gradient(120deg, var(--mkh-accent), #5a3fe0);
	color: #fff;
}

.mkh-cta h2 {
	color: #fff;
}

.mkh-cta__box p {
	max-width: 600px;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
}

.mkh-cta__box .mkh-cta__meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 15px;
}

.mkh-cta .mkh-btn--whats {
	flex: none;
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}

/* ---------- Botão flutuante ---------- */

.mkh-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 50;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--mkh-whats);
	color: #fff !important;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
	opacity: 0;
	transform: translateY(16px) scale(0.9);
	pointer-events: none;
	transition: opacity 0.25s, transform 0.25s, background-color 0.2s;
}

.mkh-fab[hidden] {
	display: none;
}

.mkh-fab .mkh-ico {
	width: 28px;
	height: 28px;
}

.mkh-fab.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.mkh-fab:hover {
	background: var(--mkh-whats-hover);
}

/* ---------- Entrada suave ---------- */

.mkh-js .mkh-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.mkh-js .mkh-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
	.mkh-services,
	.mkh-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mkh-float--top {
		left: -16px;
	}

	.mkh-float--bottom {
		right: -12px;
	}
}

@media (max-width: 900px) {
	.mkh-hero__grid,
	.mkh-feature__grid,
	.mkh-about {
		grid-template-columns: minmax(0, 1fr);
	}

	.mkh-hero__visual {
		width: min(100%, 380px);
	}

	.mkh-feature__visual {
		max-width: 560px;
		margin-inline: auto;
		padding-inline: 24px;
	}

	.mkh-shot--a {
		left: 0;
	}

	.mkh-shot--b {
		right: 0;
	}

	.mkh-cta__box {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.mkh {
		font-size: 16px;
	}

	.mkh-wrap {
		width: calc(100% - 32px);
	}

	.mkh-services,
	.mkh-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.mkh-actions .mkh-btn {
		width: 100%;
	}

	.mkh-float--top {
		top: 16px;
		left: -8px;
	}

	.mkh-float--bottom {
		right: -8px;
		bottom: 20px;
	}

	.mkh-stats dd {
		font-size: 21px;
	}

	.mkh-stats div + div {
		padding-left: 14px;
	}

	.mkh-shot--b {
		display: none;
	}

	.mkh-feature__visual {
		padding: 0 0 56px;
	}

	.mkh-shot--a {
		width: 78%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mkh *,
	.mkh *::after {
		animation: none !important;
		transition: none !important;
	}

	.mkh-js .mkh-reveal {
		opacity: 1;
		transform: none;
	}
}
