/* Metalcoop — refinamento dos formulários de contato e currículo.
   Escopo isolado em .mc-card / .mc-form para não colidir com as regras
   legadas de .contact-form / .curriculo-form já existentes em style.css. */

.mc-card {
	--mc-green: #00a651;
	--mc-green-dark: #008f45;
	--mc-green-tint: #e8f5ee;
	--mc-ink: #26313a;
	--mc-muted: #5c6b73;
	--mc-border: #d7e1dc;
	--mc-error: #c0392b;
	--mc-error-tint: #fdecea;
	background: #fff;
	border: 1px solid #dfe8e2;
	border-top: 3px solid var(--mc-green);
	border-radius: 0;
	box-shadow: 0 1px 2px rgba(15, 30, 24, .08);
	padding: 0;
}

.mc-form {
	padding: 26px 28px 26px;
}

.mc-form-head {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	margin: 0 0 22px;
}

.mc-form-head--plain {
	display: block;
}

.mc-form-head h4 {
	border-bottom: 1px solid #e8edee;
	color: var(--mc-muted);
	font-family: 'Puritan', Helvetica, 'Lato', Arial;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	margin: 0 0 10px;
	padding: 0 0 10px;
	text-transform: uppercase;
}

.mc-form-head .form-intro {
	color: var(--mc-muted);
	font-size: 13.5px;
	line-height: 1.55;
	margin: 0;
}

.mc-form .field-row {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin: 0 0 16px;
}

.mc-form .field-row .form-field {
	margin-bottom: 0;
}

.mc-form .form-field {
	margin-bottom: 16px;
}

.mc-form label {
	color: var(--mc-ink);
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
	margin: 0 0 7px;
}

.mc-form .req {
	color: var(--mc-green-dark);
	font-weight: 700;
	margin-left: 1px;
}

.mc-form input[type="text"],
.mc-form input[type="email"],
.mc-form input[type="tel"],
.mc-form textarea {
	background: #fff;
	border: 1px solid var(--mc-border);
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04) inset;
	box-sizing: border-box;
	color: var(--mc-ink);
	font-size: 15px;
	padding: 10px 13px;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
	width: 100%;
}

.mc-form textarea {
	min-height: 128px;
	padding-top: 11px;
}

.mc-form input::placeholder,
.mc-form textarea::placeholder {
	color: #9fabb0;
}

.mc-form input:hover,
.mc-form textarea:hover {
	border-color: #b9c8c2;
}

.mc-form input:focus,
.mc-form textarea:focus {
	background: #fff;
	border-color: var(--mc-green);
	box-shadow: 0 0 0 3px rgba(0, 166, 81, .15);
	outline: none;
}

.mc-form .form-field.has-error input,
.mc-form .form-field.has-error textarea,
.mc-form .form-field.has-error .file-drop {
	border-color: var(--mc-error);
}

.mc-form .form-field.has-error input:focus,
.mc-form .form-field.has-error textarea:focus {
	box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.mc-form .field-error {
	color: var(--mc-error);
	display: block;
	font-size: 12.5px;
	line-height: 1.4;
	margin: 6px 0 0;
	min-height: 0;
}

.mc-form .field-error:empty {
	display: none;
}

.mc-form .form-field.has-error {
	animation: mcFieldShake .32s cubic-bezier(.36, .07, .19, .97);
}

@keyframes mcFieldShake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

/* Dropzone de currículo */
.mc-form .file-drop {
	align-items: center;
	background: #fbfcfc;
	border: 1.5px dashed #b7c7cd;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 16px;
	position: relative;
	text-align: center;
	transition: border-color .15s ease, background-color .15s ease;
}

.mc-form .file-drop:hover {
	background: #f5faf7;
	border-color: var(--mc-green);
}

.mc-form .file-drop:focus-within {
	border-color: var(--mc-green);
	box-shadow: 0 0 0 3px rgba(0, 166, 81, .15);
	outline: none;
}

.mc-form .file-drop.is-dragover {
	background: var(--mc-green-tint);
	border-color: var(--mc-green);
}

.mc-form .file-drop.has-file {
	background: var(--mc-green-tint);
	border-color: var(--mc-green);
	border-style: solid;
}

.mc-form .file-drop input[type="file"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.mc-form .file-drop-icon {
	align-items: center;
	color: var(--mc-green-dark);
	display: flex;
	justify-content: center;
}

.mc-form .file-drop-icon svg {
	height: 26px;
	width: 26px;
}

.mc-form .file-drop-text {
	color: var(--mc-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

.mc-form .file-drop-text strong {
	color: var(--mc-green-dark);
}

.mc-form .file-drop-name {
	color: var(--mc-ink);
	font-size: 13.5px;
	font-weight: 700;
	word-break: break-word;
}

.mc-form .form-note {
	color: var(--mc-muted);
	font-size: 12.5px;
	line-height: 1.5;
	margin: 8px 0 0;
}

.mc-recaptcha {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin: 4px 0 18px;
}

.mc-recaptcha .field-error {
	text-align: center;
}

/* Lista de informações de contato (contato.html) */
.mc-info-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.mc-info-item {
	border-bottom: 1px solid #edf2f0;
	padding: 12px 0;
}

.mc-info-item:first-child {
	padding-top: 0;
}

.mc-info-item:last-child {
	border-bottom: 0;
}

.mc-info-item strong {
	color: #26313a;
	display: block;
	font-size: 13px;
	margin-bottom: 3px;
}

.mc-info-item a {
	color: #5c6b73;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
}

.mc-info-item a:hover,
.mc-info-item a:focus-visible {
	color: #008f45;
	text-decoration: underline;
}

@media only screen and (max-width: 479px) {
	.mc-recaptcha .g-recaptcha {
		margin-bottom: -11px;
		transform: scale(.86);
		transform-origin: center top;
	}
}

/* Botão de envio — mesma linguagem do botão "leia mais" do site:
   preenchimento solido, sem sombra, raio que cresce no hover. */
.mc-form .sendbtn {
	align-items: center;
	background: var(--mc-green);
	border: 0;
	border-radius: 3px;
	box-shadow: 0 0 0 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: 'Lato', Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	gap: 9px;
	justify-content: center;
	margin-top: 6px;
	padding: 13px 24px;
	transition: background-color .17s ease, border-radius .17s ease;
	width: 100%;
}

.mc-form .sendbtn svg {
	height: 16px;
	transition: transform .2s ease;
	width: 16px;
}

.mc-form .sendbtn:hover,
.mc-form .sendbtn:focus-visible {
	background: var(--mc-green-dark);
	border-radius: 5px;
}

.mc-form .sendbtn:hover svg,
.mc-form .sendbtn:focus-visible svg {
	transform: translateX(2px);
}

.mc-form .sendbtn:disabled {
	cursor: wait;
}

.mc-trust-note {
	align-items: flex-start;
	color: var(--mc-muted);
	display: flex;
	font-size: 12px;
	gap: 7px;
	line-height: 1.5;
	margin: 14px 0 0;
}

.mc-trust-note svg {
	color: #93a3aa;
	flex: 0 0 auto;
	height: 15px;
	margin-top: 1px;
	width: 15px;
}

.mc-trust-note a {
	color: var(--mc-muted);
	text-decoration: underline;
}

.mc-trust-note a:hover {
	color: var(--mc-green-dark);
}

/* Estado de envio */
.mc-form.is-sending .file-drop-icon svg {
	color: #b7c2c6;
}

/* Modal de sucesso */
.form-success-panel {
	border-radius: 0;
	border-top: 3px solid var(--mc-green, #00a651);
	box-shadow: 0 12px 28px -14px rgba(15, 30, 24, .35);
	padding: 30px 26px 26px;
	animation: mcModalIn .28s cubic-bezier(.22, 1, .36, 1);
}

@keyframes mcModalIn {
	from {
		opacity: 0;
		transform: translateY(10px) scale(.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.form-success-icon {
	align-items: center;
	background: var(--mc-green-tint, #e8f5ee);
	border-radius: 50%;
	color: #008f45;
	display: flex;
	height: 52px;
	justify-content: center;
	margin: 0 auto 14px;
	width: 52px;
}

.form-success-icon svg {
	height: 26px;
	width: 26px;
}

.form-success-panel button {
	border-radius: 3px;
	transition: background-color .15s ease, border-radius .15s ease;
}

.form-success-panel button:hover,
.form-success-panel button:focus-visible {
	background: #008f45;
	border-radius: 5px;
}

@media only screen and (max-width: 767px) {
	.mc-form {
		padding: 22px 20px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mc-form .form-field.has-error,
	.form-success-panel,
	.mc-form .sendbtn,
	.mc-form .sendbtn svg {
		animation: none;
		transition: none;
	}
}
