/* CEIMEC_PLACA_CSS_CONTRACT_V1 — one-page interest form (/pre-inscricao/). */
.ceimec-interest-prototype-page {
	--ceip-paper: #f6f7f3;
	--ceip-ink: #0a0d0c;
	--ceip-body: #434b47;
	--ceip-line: #cfd6d1;
	--ceip-blue: #1650ac;
	--ceip-blue-soft: #e7edf8;
	--ceip-blue-line: #b9cdf0;
	--ceip-panel: #eceeea;
	--ceip-error: #8d3434;
	background: var(--ceip-paper);
	color: var(--ceip-ink);
	font-family: var(--ceimec-font-body, "Atkinson Hyperlegible", Arial, sans-serif);
	margin: 0;
	padding: clamp(16px, 2.6vw, 32px) 0 clamp(40px, 6vw, 72px);
}

.ceimec-interest-prototype-page *,
.ceimec-interest-prototype-page *::before,
.ceimec-interest-prototype-page *::after {
	box-sizing: border-box;
}

.ceimec-interest-prototype-page [hidden] {
	display: none !important;
}

.ceimec-interest-prototype-page :where(a, button, input, select, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--ceip-blue);
	outline-offset: 3px;
}

.ceimec-interest-prototype-page :where(input, select, [tabindex]) {
	scroll-margin-block: 150px 24px;
}

.ceimec-interest-prototype {
	scroll-margin-top: 150px;
	margin-inline: auto;
	width: min(calc(100% - 32px), 1180px);
}

.ceimec-interest-prototype__shell {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(16px, 2.4vw, 28px);
	align-items: start;
}

.ceimec-interest-prototype__rail,
.ceimec-interest-prototype__rail-head,
.ceimec-interest-prototype__rail-body,
.ceimec-interest-prototype__form,
.ceimec-interest-prototype__form-head,
.ceimec-interest-prototype__success {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.ceimec-interest-prototype__rail {
	padding: clamp(18px, 2.2vw, 28px);
}

.ceimec-interest-prototype__panel {
	background: var(--ceip-panel);
	border: 2px solid var(--ceip-ink);
	padding: clamp(18px, 2.4vw, 28px);
	min-width: 0;
}

.ceimec-interest-prototype__form {
	margin: 0;
}

.ceimec-interest-prototype__rail h1,
.ceimec-interest-prototype__panel h2 {
	font-family: var(--ceimec-font-display, "Archivo", Arial, sans-serif);
	font-weight: 700;
	letter-spacing: -0.035em;
	margin: 0;
	text-wrap: balance;
	line-height: 1.1;
}

.ceimec-interest-prototype__rail h1 {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	max-width: 16ch;
}

.ceimec-interest-prototype__panel h2 {
	font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.ceimec-interest-prototype__panel p,
.ceimec-interest-prototype__rail p {
	color: var(--ceip-body);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	max-width: 62ch;
}

.ceimec-interest-prototype__rail .ceimec-interest-prototype__eyebrow {
	color: var(--ceip-blue);
	font-family: var(--ceimec-font-display, "Archivo", Arial, sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ceimec-interest-prototype__facts > div {
	display: grid;
	grid-template-columns: minmax(112px, 0.8fr) minmax(0, 1fr);
	gap: 12px;
	border-bottom: 1px solid var(--ceip-line);
	padding: 12px 0;
}

.ceimec-interest-prototype__facts strong {
	font-family: var(--ceimec-font-display, "Archivo", Arial, sans-serif);
	font-size: 1.08rem;
	line-height: 1.25;
}

.ceimec-interest-prototype__facts span {
	color: var(--ceip-body);
	font-size: 0.95rem;
	line-height: 1.4;
}

.ceimec-interest-prototype__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ceimec-interest-prototype__field {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.ceimec-interest-prototype__field--wide {
	grid-column: 1 / -1;
}

.ceimec-interest-prototype__field label {
	color: var(--ceip-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.ceimec-interest-prototype__field label span,
.ceimec-interest-prototype__topics summary span {
	color: var(--ceip-body);
	font-weight: 400;
}

.ceimec-interest-prototype__field input,
.ceimec-interest-prototype__field select {
	background: var(--ceip-paper);
	border: 1px solid #87958c;
	border-radius: 0;
	color: var(--ceip-ink);
	font: inherit;
	font-size: 16px;
	min-height: 48px;
	padding: 10px 12px;
	width: 100%;
}

.ceimec-interest-prototype__field select {
	padding-right: 28px;
}

.ceimec-interest-prototype__check {
	align-items: start;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	min-height: 44px;
	padding-block: 10px;
	font-size: 1rem;
	line-height: 1.45;
	cursor: pointer;
}

.ceimec-interest-prototype__check input {
	accent-color: var(--ceip-blue);
	inline-size: 22px;
	block-size: 22px;
	margin: 0;
}

.ceimec-interest-prototype__eligibility {
	border-bottom: 1px solid var(--ceip-line);
	padding-bottom: 8px;
}

.ceimec-interest-prototype__eligibility .ceimec-interest-prototype__check {
	font-weight: 700;
}

.ceimec-interest-prototype__topics {
	border-block: 1px solid var(--ceip-line);
	padding-block: 6px;
}

.ceimec-interest-prototype__topics summary {
	color: var(--ceip-ink);
	font-size: 1rem;
	font-weight: 700;
	min-height: 48px;
	padding-block: 12px;
	cursor: pointer;
}

.ceimec-interest-prototype__choice-list {
	margin-top: 10px;
}

.ceimec-interest-prototype__panel .ceimec-interest-prototype__hint {
	font-size: 0.94rem;
}

.ceimec-interest-prototype__panel .ceimec-interest-prototype__error {
	color: var(--ceip-error);
	font-size: 0.95rem;
	font-weight: 600;
}

.ceimec-interest-prototype__field [aria-invalid="true"] {
	border-color: var(--ceip-error);
	border-width: 2px;
}

.ceimec-interest-prototype__button,
.ceimec-interest-prototype__whatsapp {
	align-items: center;
	background: transparent;
	border: 1px solid var(--ceip-ink);
	border-radius: 0;
	color: var(--ceip-ink);
	display: inline-flex;
	font-family: var(--ceimec-font-display, "Archivo", Arial, sans-serif);
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.3;
	min-height: 48px;
	padding: 12px 20px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: 100%;
	cursor: pointer;
}

.ceimec-interest-prototype__button:hover,
.ceimec-interest-prototype__whatsapp:hover {
	background: var(--ceip-ink);
	border-color: var(--ceip-ink);
	color: var(--ceip-paper);
	text-decoration: none;
}

.ceimec-interest-prototype__button--primary {
	background: var(--ceip-blue);
	border-color: var(--ceip-blue);
	color: #fff;
}

.ceimec-interest-prototype__button--primary:hover {
	background: #103d84;
	border-color: #103d84;
	color: #fff;
}

.ceimec-interest-prototype__button:disabled {
	background: #d9dfda;
	border-color: #87958c;
	color: var(--ceip-body);
	cursor: progress;
}

.ceimec-interest-prototype__success-actions {
	display: grid;
	gap: 12px;
}

.ceimec-interest-prototype__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 900px) {
	.ceimec-interest-prototype-page {
		padding-block: 18px 48px;
	}

	.ceimec-interest-prototype {
		width: calc(100% - 24px);
	}

	/* Keep the form directly after the title; detailed facts follow below. */
	.ceimec-interest-prototype__shell {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.ceimec-interest-prototype__rail {
		display: contents;
	}

	.ceimec-interest-prototype__rail-head,
	.ceimec-interest-prototype__rail-body {
		padding-inline: 6px;
		width: 100%;
		gap: 12px;
	}

	.ceimec-interest-prototype__rail-head { order: 1; }
	.ceimec-interest-prototype__panel { order: 2; width: 100%; }
	.ceimec-interest-prototype__rail-body { order: 3; }
}
