/* ================== Base ================== */

* {
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	margin: 0;
	padding: 0;
	color: #000;
	background-color: #fff;
}

p {
	text-align: left;
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 13px;
	line-height: 1.6;
}

a {
	font-weight: bold;
	color: #005E9E;
	text-decoration: none;
}

a:hover {
	color: #000;
}


/* ================== Estrutura ================== */

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px 40px;
	box-sizing: border-box;
}

.form-section {
	width: 100%;
}


/* ================== Header ================== */

header {
	background: #fff;
	padding: 15px 0 10px;
	display: flex;
	align-items: flex-start;
}

header img {
	height: 100px;
	width: auto;
	max-width: 100%;
}


/* ================== Barra Instituto ================== */

.barra-instituto {
	width: 100%;
	height: 28px;
	background-color: #007CC2;
	margin-bottom: 30px;
}


/* ================== Títulos ================== */

.titulo {
	color: #000;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 20px;
}

.titulo-direita {
	text-align: right;
}

.titulo-formulario {
	text-align: left;
	font-size: 15px;
	margin-top: 25px;
	margin-bottom: 15px;
}

.secao-formulario {
	margin-top: 24px;
}

.titulo-secao {
	font-size: 15px;
	font-weight: 700;
	color: #222;
	margin-top: 0;
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #007CC2;
}

.subtitulo-secao {
	font-size: 11px;
	font-style: italic;
	color: #666;
	margin-top: -4px;
	margin-bottom: 14px;
}


/* ================== Campos ================== */

.campo-formulario {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	margin-bottom: 12px;
}

.campo-formulario label {
	width: 120px;
	flex: 0 0 120px;
	font-size: 13px;
}

.campo {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 8px 12px;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #333;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	outline: none;
}

.campo:focus {
	border-color: #007CC2;
	box-shadow: 0 0 0 2px rgba(0, 124, 194, 0.10);
}

.campo[readonly] {
	background-color: #f5f5f5;
	color: #555;
}

select.campo {
	cursor: pointer;
}


/* ================== Linhas com mais de um campo ================== */

.linha-campos {
	display: flex;
	gap: 20px;
	width: 100%;
	margin-bottom: 12px;
	padding-left: 140px;
}

.campo-grupo {
	flex: 1;
	min-width: 0;
}

.campo-grupo label {
	display: block;
	font-size: 13px;
	margin-bottom: 5px;
}

.campo-cidade {
	flex: 1;
}

.campo-uf {
	flex: 0 0 100px;
}

.cidade-uf {
	align-items: flex-end;
}


/* ================== Telefones ================== */

.telefone-container {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.telefone-container .campo-ddd {
	width: 55px !important;
	flex: 0 0 55px;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
}

.telefone-container input:not(.campo-ddd) {
	flex: 1;
	width: auto;
}


/* ================== Campos sem label lateral ================== */

.campo-sem-label {
	padding-left: 140px;
}


/* ================== Mensagens ================== */

.campovazio {
	background-color: #FAE8E8 !important;
	border-color: #C4151C !important;
}

.mensagem-campo {
	margin: -7px 0 10px 140px;
	font-size: 11px;
	color: #C4151C;
}

.mensagem-erro {
	margin-left: 140px;
	margin-top: 5px;
	font-size: 12px;
	color: #C4151C;
}

.mensagem-erro-geral {
	padding: 10px 12px;
	margin-bottom: 20px;
	background: #FAE8E8;
	border-left: 4px solid #C4151C;
	border-radius: 4px;
	color: #C4151C;
	font-size: 12px;
}


/* ================== Botões ================== */

.acoes {
	text-align: right;
	margin-top: 30px;
}

.botao {
	display: inline-block;
	min-width: 120px;
	height: 42px;
	padding: 0 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background-color: #005E9E;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.botao:hover {
	background-color: #004d82;
}

.botao:disabled {
	background-color: #ccc;
	color: #666;
	cursor: not-allowed;
}


/* ================== Compatibilidade com classes antigas ================== */

.campomaior,
.campomenor {
	width: 100%;
	height: 42px;
	padding: 8px 12px;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #333;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	outline: none;
}

.campomaior:focus,
.campomenor:focus {
	border-color: #007CC2;
	box-shadow: 0 0 0 2px rgba(0, 124, 194, 0.10);
}

.textobranco {
	font-size: 13px;
	color: #fff;
}

.textoitalico {
	font-size: 12px;
	font-style: italic;
	color: #666;
}

.textoitalicomenor {
	font-size: 11px;
	font-style: italic;
	color: #666;
}

.textovermelhomenor {
	font-size: 11px;
	color: red;
}

.tituloazul {
	font-size: 14px;
	font-weight: bold;
	color: #005E9E;
}

.titulobranco {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
}

.fundo_azul {
	background-color: #007CC2;
}


/* ================== Responsividade ================== */

@media (max-width: 600px) {

	.container {
		padding: 0 15px 30px;
	}

	header {
		padding-top: 10px;
	}

	header img {
		height: 80px;
	}

	.barra-instituto {
		height: 22px;
		margin-bottom: 22px;
	}

	.titulo-direita {
		text-align: left;
	}

	.titulo-formulario {
		margin-top: 20px;
	}

	.secao-formulario {
		margin-top: 22px;
	}

	.titulo-secao {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.campo-formulario {
		display: block;
		margin-bottom: 15px;
	}

	.campo-formulario label {
		display: block;
		width: 100%;
		margin-bottom: 5px;
	}

	.campo {
		width: 100%;
		font-size: 16px;
	}

	.linha-campos {
		display: block;
		padding-left: 0;
		margin-bottom: 0;
	}

	.campo-grupo {
		width: 100%;
		margin-bottom: 15px;
	}

	.campo-uf {
		width: 100%;
	}

	.campo-sem-label {
		padding-left: 0;
	}

	.telefone-container {
		display: flex;
		width: 100%;
		gap: 6px;
	}

	.telefone-container .campo-ddd {
		width: 55px !important;
		flex: 0 0 55px;
		font-size: 16px;
	}

	.telefone-container input:not(.campo-ddd) {
		flex: 1;
		width: auto;
	}

	.mensagem-campo,
	.mensagem-erro {
		margin-left: 0;
	}

	.acoes {
		margin-top: 25px;
		text-align: right;
	}

	.botao {
		min-width: 120px;
	}
}

/* ================== Confirmação ================== */

.confirmacao-section {
	padding-bottom: 20px;
}

.nome-confirmacao {
	color: #005E9E;
	font-size: 14px;
	margin-top: 20px;
	margin-bottom: 15px;
}

.dados-evento {
	margin: 25px 0;
	padding: 18px 20px;
	background-color: #f5f8fa;
	border-left: 4px solid #007CC2;
	border-radius: 5px;
}

.dados-evento p {
	margin-bottom: 12px;
}

.dados-evento p:last-child {
	margin-bottom: 0;
}

.assinatura-instituto {
	color: #005E9E;
	margin-top: 5px;
}