/**
 * Formulário de contato — foz&fronteira
 * Usa as cores da marca com variáveis, para herdar do tema se ele já as define.
 */

.ffct {
	--ffct-laranja: var(--ff-laranja, #F7633B);
	--ffct-laranja-escuro: #C7431C;
	--ffct-navy: var(--ff-navy, #1D2F40);
	--ffct-borda: #D6DBE0;
	--ffct-fraco: #6B7883;
	max-width: 640px;
	margin: 32px 0;
}

/* ── Recados ── */
.ffct-recado {
	padding: 16px 18px;
	border-radius: 8px;
	margin-bottom: 26px;
	border-left: 4px solid;
	line-height: 1.55;
}

.ffct-recado strong { display: block; margin-bottom: 4px; font-size: 16px; }
.ffct-recado p { margin: 0; font-size: 14px; }

.ffct-ok {
	background: #EAF6EE;
	border-color: #1E9E52;
	color: #17472C;
}

.ffct-erro {
	background: #FDEEEA;
	border-color: var(--ffct-laranja);
	color: #7A2D14;
}

/* ── Campos ── */
.ffct-campo { margin-bottom: 20px; }

.ffct-campo > label {
	display: block;
	margin-bottom: 7px;
	font-weight: 700;
	font-size: 14px;
	color: var(--ffct-navy);
}

.ffct-obr { color: var(--ffct-laranja); }

.ffct input[type="text"],
.ffct input[type="email"],
.ffct input[type="url"],
.ffct select,
.ffct textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ffct-borda);
	border-radius: 7px;
	/* 16px evita o zoom automático do Safari ao focar */
	font-size: 16px;
	font-family: inherit;
	line-height: 1.4;
	color: var(--ffct-navy);
	background: #fff;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.ffct select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%236B7883' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.ffct textarea { resize: vertical; min-height: 140px; }

.ffct input:focus,
.ffct select:focus,
.ffct textarea:focus {
	outline: 2px solid var(--ffct-laranja);
	outline-offset: 1px;
	border-color: var(--ffct-laranja);
}

.ffct-dica {
	margin: 7px 0 0;
	font-size: 13px;
	color: var(--ffct-fraco);
	line-height: 1.5;
}

/* ── Duas colunas em tela larga ── */
.ffct-dupla { display: grid; gap: 0 18px; }

@media (min-width: 560px) {
	.ffct-dupla { grid-template-columns: 1fr 1fr; }
}

/* ── Consentimento ── */
.ffct-consentimento label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ffct-navy);
	cursor: pointer;
	font-weight: 400;
}

.ffct-consentimento input {
	margin: 2px 0 0;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: var(--ffct-laranja);
}

.ffct-consentimento a { color: var(--ffct-laranja); }

/* ── Botão ── */
.ffct-botao {
	display: inline-block;
	width: 100%;
	padding: 15px 24px;
	background: var(--ffct-laranja);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 6px;
	-webkit-tap-highlight-color: transparent;
}

.ffct-botao:hover { background: var(--ffct-laranja-escuro); }
.ffct-botao:active { transform: translateY(1px); }

@media (min-width: 560px) {
	.ffct-botao { width: auto; min-width: 240px; }
}

.ffct-rodape { margin-top: 16px; }
.ffct-rodape a { color: var(--ffct-laranja); }

/* ── Armadilha para robô: fora da tela, invisível e sem foco ── */
.ffct-armadilha {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
