/* =========================
   FORMULÁRIO PÚBLICO
========================= */
html,
body{
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

body.public-form-body{
	min-height: 100vh;
	background:
		radial-gradient(circle at top left, rgba(227,165,56,0.14) 0%, rgba(227,165,56,0) 28%),
		radial-gradient(circle at bottom right, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%),
		linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
	padding: 30px 15px;
	font-family: "Segoe UI", Arial, sans-serif;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	color: #1f2937;
}

body.public-form-body::before{
	content: "";
	position: fixed;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(227,165,56,0.18) 0%, rgba(227,165,56,0) 72%);
	top: -140px;
	right: -120px;
	pointer-events: none;
	z-index: 0;
}

body.public-form-body::after{
	content: "";
	position: fixed;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 72%);
	left: -100px;
	bottom: -120px;
	pointer-events: none;
	z-index: 0;
}

.form-wrapper{
	width: 100%;
	max-width: 760px;
	position: relative;
	z-index: 2;
	margin: 0 auto;
}

.form-card{
	background: rgba(255,255,255,0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,0.70);
	border-radius: 28px;
	padding: 36px 34px;
	box-shadow: 0 20px 55px rgba(15,23,42,0.10);
	position: relative;
	overflow: hidden;
	animation: publicFadeUp 0.55s ease;
}

.form-card::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #000000 0%, #E3A538 100%);
}

.logo{
	text-align: center;
	margin-bottom: 24px;
}

.logo img{
	max-width: 200px;
	width: 100%;
	height: auto;
	margin-bottom: 8px;
}

.logo h1{
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111827;
	margin: 0;
}

.logo p{
	color: #6b7280;
	margin: 6px 0 0;
	font-size: 0.98rem;
}

.info{
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e8edf3;
	border-radius: 16px;
	padding: 14px 16px;
	font-size: 0.93rem;
	color: #4b5563;
	margin-bottom: 24px;
	box-shadow: 0 6px 16px rgba(15,23,42,0.04);
}

.form-label{
	font-weight: 700;
	font-size: 0.95rem;
	color: #374151;
	margin-bottom: 8px;
}

.public-form-body .form-control,
.public-form-body .form-select{
	height: 52px;
	border-radius: 16px;
	border: 1px solid #dbe3ec;
	background: rgba(251,252,254,0.95);
	padding-left: 16px;
	padding-right: 16px;
	box-shadow: none;
	transition: all 0.25s ease;
}

.public-form-body .form-control::placeholder,
.public-form-body .form-select{
	color: #6b7280;
}

.public-form-body .form-control:focus,
.public-form-body .form-select:focus{
	background: #ffffff;
	border-color: rgba(227,165,56,0.70);
	box-shadow: 0 0 0 0.18rem rgba(227,165,56,0.16);
}

.public-form-body textarea.form-control{
	height: auto;
	min-height: 160px;
	padding-top: 14px;
	padding-bottom: 14px;
	resize: vertical;
}

.btn-submit{
	height: 50px;
	background: linear-gradient(135deg, #f0b84b 0%, #E3A538 60%, #cf9228 100%);
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	color: #111111;
	padding: 0 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 6px 16px rgba(227,165,56,0.25);
	transition: all 0.25s ease;
}

.btn-submit:hover{
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(227,165,56,0.32);
	color: #111111;
}

.btn-submit:focus{
	box-shadow: 0 0 0 0.18rem rgba(227,165,56,0.18), 0 12px 28px rgba(227,165,56,0.28);
}

.success-icon-wrap{
	width: 92px;
	height: 92px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(25,135,84,0.10) 0%, rgba(25,135,84,0.18) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.60);
}

.success-icon{
	font-size: 52px;
	color: #198754;
	line-height: 1;
}

.success-title{
	font-size: 1.85rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111827;
	margin-bottom: 12px;
}

.success-text{
	color: #6b7280;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 500px;
	margin: 0 auto 28px;
}

.success-actions{
	display: flex;
	justify-content: center;
}

@keyframes publicFadeUp{
	from{
		opacity: 0;
		transform: translateY(18px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767.98px){
	body.public-form-body{
		padding: 20px 12px;
	}

	.form-card{
		padding: 26px 20px;
		border-radius: 22px;
	}

	.logo h1{
		font-size: 1.45rem;
	}

	.logo p{
		font-size: 0.92rem;
	}

	.info{
		font-size: 0.89rem;
		padding: 12px 14px;
	}

	.public-form-body .form-control,
	.public-form-body .form-select{
		height: 50px;
		border-radius: 14px;
	}

	.public-form-body textarea.form-control{
		min-height: 140px;
	}

	.btn-submit{
		height: 52px;
		border-radius: 14px;
	}

	.success-title{
		font-size: 1.5rem;
	}

	.success-text{
		font-size: 0.95rem;
	}
}