/* Crecerto – Material Educativo.
   Os seletores usam #cme-root (ID) de propósito: assim vencem as regras do tema para o
   conteúdo das páginas (ex.: ".s-pagina-padrao .conteudo-editor h2"), que antes mudavam
   cor, tamanho e margens dos textos do bloco. */
#cme-root {
	--cme-az: #122561;
	--cme-az2: #026EE5;
	--cme-am: #FBAA03;
	--cme-tx: #1b2440;
	--cme-mut: #5b6480;
	--cme-bd: #cfd5e3;
	--cme-err: #c62828;
	max-width: 1120px;
	margin: 0 auto;
	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--cme-tx);
	text-align: left;
	container: cme / inline-size;
}
#cme-root *, #cme-root *::before, #cme-root *::after { box-sizing: border-box; font-family: inherit; letter-spacing: normal; text-transform: none; }
#cme-root [hidden] { display: none !important; }

/* ---------- Painel ---------- */
#cme-root .cme-painel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: 48px;
	align-items: center;
	padding: 56px;
	border-radius: 24px;
	background: var(--cme-az);
	overflow: hidden;
}
#cme-root .cme-painel::before {
	content: "";
	position: absolute;
	width: 420px; height: 420px;
	left: -170px; bottom: -230px;
	border-radius: 50%;
	border: 56px solid rgba(251, 170, 3, .16);
	pointer-events: none;
}
#cme-root .cme-info { position: relative; }

#cme-root .cme-selo {
	display: inline-block;
	margin: 0 0 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--cme-am);
	color: var(--cme-az);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
}
#cme-root .cme-titulo {
	margin: 0 0 16px;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.01em !important;
	text-wrap: balance;
}
#cme-root .cme-desc {
	margin: 0 0 30px;
	color: rgba(255, 255, 255, .86);
	font-size: 17px;
	line-height: 1.55;
	max-width: 30em;
}

#cme-root .cme-conteudo { display: flex; gap: 30px; align-items: center; }
#cme-root .cme-capa {
	flex: 0 0 132px;
	height: 178px;
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 14px 12px 12px;
	border-radius: 6px 10px 10px 6px;
	background: #fff;
	border-left: 8px solid var(--cme-am);
	box-shadow: 0 16px 32px rgba(0, 0, 0, .32);
	transform: rotate(-4deg);
	overflow: hidden;
}
#cme-root .cme-capa-img { height: 185px; padding: 0; border-left: 0; border-radius: 6px; background: #0a1640; }
#cme-root .cme-capa img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
#cme-root .cme-capa-marca { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cme-az2); }
#cme-root .cme-capa-tit { margin-top: 10px; font-size: 12.5px; font-weight: 800; line-height: 1.22; color: var(--cme-az); }
#cme-root .cme-capa-pdf { margin-top: auto; align-self: flex-start; padding: 2px 7px; border-radius: 4px; background: var(--cme-az); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; }

#cme-root .cme-lista { flex: 1 1 0; min-width: 0; }
#cme-root .cme-lista-tit { margin: 0 0 10px; color: var(--cme-am); font-size: 13.5px; font-weight: 700; letter-spacing: .02em; }
#cme-root .cme-topicos { margin: 0; padding: 0; list-style: none; }
#cme-root .cme-topicos li {
	position: relative;
	margin: 0 0 9px;
	padding: 0 0 0 28px;
	color: #fff;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.4;
	list-style: none;
}
#cme-root .cme-topicos li::before {
	content: "";
	position: absolute;
	left: 0; top: 3px;
	width: 17px; height: 17px;
	border-radius: 50%;
	background: var(--cme-am) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122561' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Cartão do formulário ---------- */
#cme-root .cme-card {
	position: relative;
	padding: 34px 32px 32px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 48px rgba(4, 12, 40, .35);
}
#cme-root .cme-card-tit { margin: 0 0 4px; padding: 0; color: var(--cme-az); font-family: inherit; font-size: 22px; font-weight: 800; line-height: 1.25; }
#cme-root .cme-card-sub { margin: 0 0 22px; color: var(--cme-mut); font-size: 14.5px; line-height: 1.45; }

#cme-root .cme-campo { position: relative; margin: 0 0 12px; }
#cme-root .cme-campo input[type="text"],
#cme-root .cme-campo input[type="email"],
#cme-root .cme-campo input[type="tel"],
#cme-root .cme-campo select {
	display: block;
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 22px 14px 6px;
	border: 1.5px solid var(--cme-bd);
	border-radius: 10px;
	background-color: #fff;
	color: var(--cme-tx);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	box-shadow: none;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
#cme-root .cme-campo select {
	padding-right: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6480' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 18px;
	text-overflow: ellipsis;
}
#cme-root .cme-campo select:disabled { background-color: #f3f5f9; color: var(--cme-mut); }
#cme-root .cme-campo input::placeholder { color: transparent; }
#cme-root .cme-campo #cme-cidade-txt::placeholder { color: #8a92a8; }
#cme-root .cme-campo input:focus,
#cme-root .cme-campo select:focus { border-color: var(--cme-az2); box-shadow: 0 0 0 3px rgba(2, 110, 229, .16); }

#cme-root .cme-campo label {
	position: absolute;
	left: 15px; top: 17px;
	margin: 0;
	color: var(--cme-mut);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.3;
	pointer-events: none;
	transition: top .14s, font-size .14s, color .14s;
}
#cme-root .cme-campo input:focus + label,
#cme-root .cme-campo input:not(:placeholder-shown) + label,
#cme-root .cme-campo.cme-fixo label {
	top: 7px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
}
#cme-root .cme-campo input:focus + label,
#cme-root .cme-campo.cme-fixo:focus-within label { color: var(--cme-az2); }

#cme-root .cme-linha { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }

#cme-root .cme-msg { display: none; margin: 4px 2px 0; color: var(--cme-err); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
#cme-root .cme-erro .cme-msg { display: block; }
#cme-root .cme-erro input[type="text"],
#cme-root .cme-erro input[type="email"],
#cme-root .cme-erro input[type="tel"],
#cme-root .cme-erro select { border-color: var(--cme-err); }

#cme-root .cme-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#cme-root .cme-check { margin: 12px 0 0; }
#cme-root .cme-check label { display: flex; gap: 10px; align-items: flex-start; margin: 0; cursor: pointer; color: var(--cme-mut); font-size: 13px; font-weight: 500; line-height: 1.45; }
#cme-root .cme-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cme-az2); cursor: pointer; }
#cme-root .cme-check a { color: var(--cme-az2); font-weight: 600; text-decoration: underline; }
#cme-root .cme-check em { font-style: normal; opacity: .8; }

#cme-root .cme-geral { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdecea; color: var(--cme-err); font-size: 13.5px; font-weight: 600; }

#cme-root .cme-botao {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	margin: 20px 0 0;
	padding: 14px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--cme-am);
	color: var(--cme-az);
	font-family: inherit;
	font-size: 16.5px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(251, 170, 3, .35);
	transition: transform .12s, filter .12s;
}
#cme-root .cme-botao:hover { filter: brightness(1.06); transform: translateY(-1px); color: var(--cme-az); }
#cme-root .cme-botao:focus-visible { outline: 3px solid var(--cme-az2); outline-offset: 2px; }
#cme-root .cme-botao[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Sucesso ---------- */
#cme-root .cme-sucesso { text-align: center; outline: none; padding: 8px 0 2px; }
#cme-root .cme-ok { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 0 14px; border-radius: 50%; background: #e7f6ec; color: #1b8a45; }
#cme-root .cme-sucesso .cme-card-sub { margin-bottom: 4px; font-size: 16px; }
#cme-root .cme-s-aviso { margin: 14px 0 0; color: var(--cme-mut); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
#cme-root .cme-cta { margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid #e3e7f0; }
#cme-root .cme-cta p { margin: 0 0 4px; color: var(--cme-tx); font-size: 14.5px; font-weight: 600; }
#cme-root .cme-cta a { color: var(--cme-az2); font-size: 15px; font-weight: 700; text-decoration: none; }
#cme-root .cme-cta a:hover { text-decoration: underline; }

/* ---------- Larguras menores ----------
   As regras valem tanto para telas pequenas (@media) quanto para quando o tema
   coloca o bloco numa coluna estreita em tela grande (@container). */
@media (max-width: 900px) {
	#cme-root .cme-painel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 22px 24px; border-radius: 18px; }
	#cme-root .cme-titulo { font-size: 29px; }
	#cme-root .cme-desc { font-size: 16px; margin-bottom: 24px; }
	#cme-root .cme-card { padding: 26px 20px 22px; }
}
@container cme (max-width: 860px) {
	#cme-root .cme-painel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 22px 24px; border-radius: 18px; }
	#cme-root .cme-titulo { font-size: 29px; }
	#cme-root .cme-desc { font-size: 16px; margin-bottom: 24px; }
	#cme-root .cme-card { padding: 26px 20px 22px; }
}
@media (max-width: 480px) {
	#cme-root .cme-capa { flex-basis: 96px; height: 130px; padding: 10px 8px 8px; }
	#cme-root .cme-capa-img { height: 134px; padding: 0; }
	#cme-root .cme-capa-tit { font-size: 9.5px; }
	#cme-root .cme-conteudo { gap: 18px; }
	#cme-root .cme-topicos li { font-size: 14.5px; }
}
@container cme (max-width: 440px) {
	#cme-root .cme-capa { flex-basis: 96px; height: 130px; padding: 10px 8px 8px; }
	#cme-root .cme-capa-img { height: 134px; padding: 0; }
	#cme-root .cme-capa-tit { font-size: 9.5px; }
	#cme-root .cme-conteudo { gap: 18px; }
	#cme-root .cme-topicos li { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
	#cme-root * { transition: none !important; }
}
