/* FERSAP – Formulário Ser Associado (réplica do formulário Elementor original) */

.fsa-wrap {
	--fsa-primary: #1A73E8;
	--fsa-hover: #1565CE;
	--fsa-label: #3E4144;
	--fsa-required: #D63638;
	--fsa-border: #B4B4B440;
	--fsa-inactive: #C2CBD2;
	--fsa-divider: #BABFC5;
	--fsa-gap-x: 32px;
	--fsa-gap-y: 30px;
	--fsa-font: "Outfit", sans-serif;
	font-family: var(--fsa-font);
}

.fsa-form,
.fsa-form * {
	box-sizing: border-box;
}

.fsa-step {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.fsa-step[hidden],
.fsa-message[hidden] {
	display: none !important;
}

.fsa-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Grelha */
.fsa-fields {
	display: flex;
	flex-wrap: wrap;
	margin: 0 calc(var(--fsa-gap-x) / -2);
}

.fsa-field {
	width: 100%;
	padding: 0 calc(var(--fsa-gap-x) / 2);
	margin-bottom: var(--fsa-gap-y);
}

.fsa-col-25 { width: 25%; }
.fsa-col-30 { width: 30%; }
.fsa-col-33 { width: 33.333%; }
.fsa-col-50 { width: 50%; }
.fsa-col-66 { width: 66.666%; }
.fsa-col-70 { width: 70%; }
.fsa-col-75 { width: 75%; }
.fsa-col-100 { width: 100%; }

@media (max-width: 767px) {
	.fsa-field { width: 100%; }
}

/* Etiquetas */
.fsa-label {
	display: block;
	padding-bottom: 13px;
	color: var(--fsa-label);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

.fsa-required > .fsa-label::after {
	content: "*";
	color: var(--fsa-required);
	padding-inline-start: 0.2em;
}

.fsa-html {
	color: var(--fsa-label);
	font-size: 15px;
	line-height: 1.5;
}

.fsa-html > :last-child { margin-bottom: 0; }

/* Campos */
.fsa-form .fsa-input {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 59px;
	margin: 0;
	padding: 12px 14px;
	color: #1f2124;
	background-color: #fff;
	border: solid var(--fsa-border);
	border-width: 1px 1px 3px 1px;
	border-radius: 0;
	box-shadow: none;
	font-family: var(--fsa-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	vertical-align: middle;
	outline: 0;
	transition: border-color .2s, box-shadow .2s;
}

.fsa-form .fsa-input:focus {
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.fsa-form textarea.fsa-input {
	min-height: 120px;
	resize: vertical;
}

.fsa-form .fsa-upload {
	padding: 15px 14px;
	cursor: pointer;
}

.fsa-select-wrap {
	position: relative;
}

.fsa-form .fsa-select-wrap select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-inline-end: 40px;
	cursor: pointer;
}

.fsa-caret {
	position: absolute;
	top: 50%;
	inset-inline-end: 15px;
	width: 12px;
	height: 12px;
	transform: translateY(-50%);
	fill: currentColor;
	color: var(--fsa-label);
	pointer-events: none;
}

/* Radio / checkbox / aceitação */
.fsa-options {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.fsa-option {
	display: inline-flex;
	align-items: center;
	margin-inline-end: 1.25em;
	margin-bottom: 4px;
}

.fsa-option input {
	margin: 0 6px 0 0;
	width: 16px;
	height: 16px;
	accent-color: var(--fsa-primary);
	vertical-align: middle;
}

.fsa-option label {
	color: var(--fsa-label);
	font-family: var(--fsa-font);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

/* Botões */
.fsa-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: flex-end;
}

.fsa-form .fsa-button {
	flex: 1 1 0;
	min-height: 59px;
	padding: 5px 50px;
	border: 0;
	border-radius: 7px;
	color: #fff;
	background-color: var(--fsa-primary);
	font-family: var(--fsa-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	transition: background-color .3s, opacity .3s;
}

.fsa-form .fsa-button:hover,
.fsa-form .fsa-button:focus-visible {
	color: #fff;
	background-color: var(--fsa-hover);
}

.fsa-form .fsa-button-prev:hover {
	background-color: var(--fsa-primary);
	opacity: .9;
}

.fsa-form.is-loading .fsa-button-submit {
	opacity: .55;
	pointer-events: none;
}

/* Indicadores de passos (número + texto, círculo) */
.fsa-indicators {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: var(--fsa-gap-y);
	font-family: var(--fsa-font);
	font-size: 16px;
	line-height: 22px;
}

.fsa-ind {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	align-items: center;
	max-width: 180px;
	text-align: center;
}

.fsa-ind-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--fsa-inactive);
	border-radius: 50%;
	color: var(--fsa-inactive);
	background: #fff;
	transition: all .5s;
}

.fsa-ind-label {
	margin-top: 8px;
	color: var(--fsa-inactive);
	transition: color .5s;
}

.fsa-ind.is-active .fsa-ind-num,
.fsa-ind.is-done .fsa-ind-num {
	border-color: var(--fsa-primary);
	color: #fff;
	background: var(--fsa-primary);
}

.fsa-ind.is-active .fsa-ind-label,
.fsa-ind.is-done .fsa-ind-label {
	color: var(--fsa-primary);
}

.fsa-ind-sep {
	flex: 1 1 auto;
	min-width: 20px;
	max-width: 160px;
	height: 1px;
	margin: 26px 8px 0;
	background: var(--fsa-divider);
	transition: background .5s;
}

.fsa-ind-sep.is-done {
	background: var(--fsa-primary);
}

@media (max-width: 767px) {
	.fsa-ind-label { display: none; }
	.fsa-ind-num { width: 40px; height: 40px; }
	.fsa-ind-sep { margin-top: 20px; }
	.fsa-form .fsa-button { padding: 5px 20px; }
}

/* Erros e mensagens */
.fsa-error:empty {
	display: none;
}

.fsa-error {
	margin-top: 6px;
	color: #d9534f;
	font-size: 14px;
}

.fsa-field.has-error .fsa-input {
	border-color: #d9534f;
}

.fsa-message {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.5;
}

.fsa-message.is-success { color: #5cb85c; }
.fsa-message.is-error { color: #d9534f; }

/* Honeypot */
.fsa-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
