/* ==========================================================================
   FORMULÁRIO DE CONTATO
   ========================================================================== */

.gle-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	max-width: 34rem;
	margin-top: 2rem;
}

.gle-form-row {
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.gle-form-row label {
	font-family: var(--gle-font-mono);
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gle-muted);
}

.gle-contact-form input,
.gle-contact-form textarea {
	background: var(--gle-panel);
	border: 1px solid var(--gle-panel-line);
	color: var(--gle-white);
	padding: .85rem 1rem;
	border-radius: 6px;
	font-size: .95rem;
	font-family: var(--gle-font-body);
	width: 100%;
	resize: vertical;
}

.gle-contact-form input:focus-visible,
.gle-contact-form textarea:focus-visible {
	outline: 2px solid var(--gle-cyan);
	outline-offset: 2px;
}

.gle-contact-form__submit {
	align-self: flex-start;
	background: linear-gradient(90deg, var(--gle-blue), var(--gle-cyan));
	color: #04101F;
	border: none;
	font-weight: 600;
	font-size: .95rem;
	padding: .85rem 1.6rem;
	border-radius: 6px;
	clip-path: polygon(6% 0, 100% 0, 94% 100%, 0% 100%);
	transition: filter .2s;
}

.gle-contact-form__submit:hover {
	filter: brightness(1.12);
}

.gle-contact-form__submit:focus-visible {
	outline: 2px solid var(--gle-white);
	outline-offset: 2px;
}

/* Honeypot: escondido de humanos, mas presente no DOM/tab order neutralizado
   (tabindex="-1") — apenas bots que preenchem tudo automaticamente caem nele. */
.gle-form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gle-form-message {
	margin-top: 1.5rem;
	padding: 1rem 1.2rem;
	border-radius: 8px;
	font-size: .92rem;
}

.gle-form-message--success {
	background: rgba(54, 214, 255, .1);
	border: 1px solid rgba(54, 214, 255, .4);
	color: var(--gle-cyan);
}

.gle-form-message--error {
	background: rgba(255, 90, 90, .08);
	border: 1px solid rgba(255, 90, 90, .35);
	color: #FF8A8A;
}

/* Formulário de busca nativo do WordPress (get_search_form). */
.search-form {
	display: flex;
	gap: .6rem;
	max-width: 26rem;
	margin: 1.2rem 0;
}

.search-form .search-field {
	flex: 1;
	background: var(--gle-panel);
	border: 1px solid var(--gle-panel-line);
	color: var(--gle-white);
	padding: .75rem 1rem;
	border-radius: 6px;
	font-size: .9rem;
}

.search-form .search-submit {
	background: linear-gradient(90deg, var(--gle-blue), var(--gle-cyan));
	color: #04101F;
	border: none;
	font-weight: 600;
	padding: .75rem 1.2rem;
	border-radius: 6px;
	cursor: pointer;
}
