/* NICHO Trabalho · KIT E · Mosaico */

/* Topo -------------------------------------------------------------------------- */
.nx-mo-contact-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 24px;
	padding-bottom: 24px;
}

.nx-mo-contact-head__title {
	font-family: var(--nx-display);
	font-size: 60px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1;
	text-wrap: balance;
}

.nx-mo-contact-head__text {
	max-width: 720px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--nx-muted);
}

/* Formulário | lateral ------------------------------------------------------------ */
.nx-mo-contact {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
	padding-bottom: 48px;
}

.nx-mo-contact__form {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 40px;
	border-radius: 20px;
	background: #fff;
	scroll-margin-top: 16px;
}

.nx-alert--ok {
	border: 0;
	box-shadow: var(--float);
	background: color-mix(in oklab, #16a34a 8%, #fff);
	color: #14532d;
}

.nx-mo-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.nx-mo-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.nx-mo-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nx-mo-form__field label {
	font-size: 14px;
	font-weight: 600;
}

.nx-mo-form__input {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0 18px;
	border: 0;
	border-radius: 14px;
	background: color-mix(in oklab, var(--nx-accent) 10%, #F5F5F6);
	color: var(--nx-ink);
	font: 16px var(--nx-font);
}

.nx-mo-form__input:focus {
	outline: 2px solid var(--nx-accent-ink);
	outline-offset: 0;
}

.nx-mo-form__select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2315171C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
}

.nx-mo-form__textarea {
	height: 140px;
	padding: 16px 18px;
	line-height: 1.5;
	resize: vertical;
}

.nx-mo-form__note {
	padding: 12px 16px;
	border-radius: 12px;
	background: color-mix(in oklab, var(--nx-accent) 10%, #F5F5F6);
	font-size: 14px;
	line-height: 1.5;
}

.nx-mo-form__check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	cursor: pointer;
}

.nx-mo-form__check input {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--nx-accent);
}

.nx-mo-form__check a {
	color: var(--nx-ink);
}

.nx-mo-form__submit {
	align-self: flex-start;
}

/* Lateral ------------------------------------------------------------------------ */
.nx-mo-contact__side {
	grid-column: span 5;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* prazo: cartão na cor do site */
.nx-mo-contact-time {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px;
	border-radius: 20px;
	background: var(--nx-accent);
	color: var(--nx-on-accent);
	font-size: 15px;
}

.nx-mo-contact-time strong {
	font-family: var(--nx-display);
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.nx-mo-contact-box {
	padding: 28px;
	border-radius: 20px;
	background: #fff;
}

.nx-mo-contact-box h2 {
	margin-bottom: 6px !important;
	font-family: var(--nx-display);
	font-size: 22px;
	font-weight: 700;
}

.nx-mo-contact-mails {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-mo-contact-mails li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 0;
	border-top: 1px solid var(--nx-line);
}

.nx-mo-contact-mails span {
	font-size: 13px;
	color: var(--nx-muted);
}

.nx-mo-contact-mails a {
	font-size: 16px;
	font-weight: 700;
	color: var(--nx-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.nx-mo-contact-mails a:hover {
	color: var(--nx-accent-ink);
}

.nx-mo-contact-faq {
	padding: 14px 0;
	border-top: 1px solid var(--nx-line);
}

.nx-mo-contact-faq summary {
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.nx-mo-contact-faq p {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--nx-muted);
}

.nx-mo-contact-company {
	padding: 24px 28px;
	border-radius: 20px;
	background: var(--nx-dark);
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
}

.nx-mo-contact-company strong {
	font-size: 16px;
}

/* Responsivo --------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.nx-mo-contact__form {
		grid-column: span 7;
		padding: 32px;
	}

	.nx-mo-contact__side {
		grid-column: span 5;
	}
}

@media (max-width: 860px) {
	.nx-mo-contact-head {
		padding-top: 12px;
		padding-bottom: 16px;
	}

	.nx-mo-contact-head__title {
		font-size: 38px;
		line-height: 1.04;
	}

	.nx-mo-contact-head__text {
		font-size: 16px;
	}

	/* 12 colunas com 16px de espaço não cabem no celular: vira 1 coluna */
	.nx-mo-contact {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding-bottom: 32px;
	}

	.nx-mo-contact__form,
	.nx-mo-contact__side {
		grid-column: 1 / -1;
	}

	.nx-mo-contact__form {
		padding: 24px 20px;
	}

	.nx-mo-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-mo-form__submit {
		align-self: stretch;
	}

	.nx-mo-contact__side {
		gap: 12px;
	}

	.nx-mo-contact-time,
	.nx-mo-contact-box {
		padding: 22px;
	}

	.nx-mo-contact-time strong {
		font-size: 32px;
	}
}
