/* NICHO Trabalho · KIT B · Pôster */

.nx-pt-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Metade na cor do site ---------------------------------------------------------- */
.nx-pt-contact__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	padding: 72px var(--nx-gutter) 72px max(var(--nx-gutter), calc((100vw - 1296px) / 2));
	background: var(--nx-accent);
	color: var(--nx-on-accent);
}

.nx-pt-contact__tag {
	padding: 3px 8px;
	background: var(--nx-ink);
	color: #fff;
	font-family: var(--nx-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nx-pt-contact__title {
	font-family: var(--nx-display);
	font-size: 104px;
	font-weight: 800;
	line-height: 0.88;
	text-transform: uppercase;
	text-wrap: balance;
}

.nx-pt-contact__text {
	font-size: 19px;
	font-weight: 500;
	line-height: 1.5;
}

.nx-pt-contact__channels {
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

.nx-pt-contact__channel {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 0;
	border-top: 3px solid currentColor;
}

.nx-pt-contact__label {
	font-family: var(--nx-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nx-pt-contact__channel a {
	font-size: 20px;
	font-weight: 700;
	color: inherit !important;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.nx-pt-contact__channel a:hover {
	text-decoration: underline;
}

.nx-pt-contact__note {
	font-size: 14px;
	opacity: 0.85;
}

.nx-pt-contact__company {
	font-size: 13px;
	line-height: 1.6;
}

/* Metade do formulário ---------------------------------------------------------------- */
.nx-pt-contact__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 72px max(var(--nx-gutter), calc((100vw - 1296px) / 2)) 72px var(--nx-gutter);
	scroll-margin-top: 24px;
}

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

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

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

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

.nx-pt-form__field label,
.nx-pt-form__subjects legend {
	font-size: 14px;
	font-weight: 600;
	color: var(--nx-ink);
}

.nx-pt-form__input {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 3px solid var(--nx-ink);
	border-radius: 0;
	background: #fff;
	color: var(--nx-ink);
	font: 16px var(--nx-font);
}

.nx-pt-form__input:focus {
	outline: none;
	box-shadow: 4px 4px 0 var(--nx-accent);
}

.nx-pt-form__input::placeholder {
	color: var(--nx-field);
}

.nx-pt-form__textarea {
	height: 140px;
	padding: 14px 16px;
	resize: vertical;
}

/* Assunto: botões de escolha */
.nx-pt-form__subjects {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	border: 0;
}

.nx-pt-form__subjects legend {
	margin-bottom: 10px;
	padding: 0;
}

.nx-pt-form__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nx-pt-form__option {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	box-shadow: var(--float);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.nx-pt-form__option input {
	margin: 0;
	accent-color: var(--nx-accent);
}

.nx-pt-form__option:has(input:checked) {
	background: var(--nx-ink);
	color: #fff;
}

.nx-pt-form__option:has(input:focus-visible) {
	outline: 3px solid var(--nx-accent);
	outline-offset: 2px;
}

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

.nx-pt-form__check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--nx-ink);
	cursor: pointer;
}

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

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

.nx-pt-form__submit {
	align-self: flex-start;
	height: 50px;
	padding: 0 26px;
}

/* Responsivo ---------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.nx-pt-contact__title {
		font-size: 76px;
	}

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

@media (max-width: 860px) {
	.nx-pt-contact {
		grid-template-columns: minmax(0, 1fr);
	}

	.nx-pt-contact__info,
	.nx-pt-contact__form {
		padding: 36px var(--nx-gutter);
	}

	.nx-pt-contact__info {
		gap: 20px;
	}

	.nx-pt-contact__title {
		font-size: 56px;
	}

	.nx-pt-contact__text {
		font-size: 17px;
	}

	.nx-pt-contact__form {
		padding-bottom: 56px;
	}
}

@media (max-width: 560px) {
	.nx-pt-form__option {
		flex: 1 1 100%;
	}

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