/* Trabalhe Conosco — página pública (mobile-first) */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

.tcp-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f6fa;
  color: #1f2437;
  min-height: 100vh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.tcp-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

/* Header */
.tcp-header {
  text-align: center;
  padding: 16px 0 20px;
}
.tcp-logo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tcp-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1f2437;
}
.tcp-loja {
  margin: 0;
  color: #5a6172;
  font-size: 15px;
}

/* Sucesso */
.tcp-sucesso {
  background: #fff;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.tcp-sucesso-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #1E6F30;
  font-size: 36px;
  line-height: 64px;
  margin: 0 auto 16px;
  font-weight: 700;
}
.tcp-sucesso h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.tcp-sucesso p {
  margin: 0;
  color: #5a6172;
}

/* Alerta de erro global */
.tcp-alerta-erro {
  background: #FFEBEE;
  color: #B71C1C;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* Form */
.tcp-form {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.tcp-group {
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  padding: 12px 14px 10px;
  margin: 0 0 14px;
}
.tcp-group legend {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2b3147;
}
.tcp-group.has-error {
  border-color: #B71C1C;
}

.tcp-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.tcp-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f6fa;
  border: 1px solid transparent;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: all .15s;
}
.tcp-check input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #1F6791;
}
.tcp-check:has(input:checked) {
  background: #E3F2FD;
  border-color: #1F6791;
  color: #0B66A8;
  font-weight: 600;
}

/* Field (label + input) */
.tcp-field {
  display: block;
  margin: 0 0 14px;
}
.tcp-field > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2b3147;
  margin-bottom: 6px;
}
.tcp-field input[type="text"],
.tcp-field input[type="tel"],
.tcp-field input[type="date"],
.tcp-field input[type="email"],
.tcp-field input[type="file"] {
  width: 100%;
  font-size: 16px; /* evita zoom iOS */
  padding: 12px 14px;
  border: 1px solid #d4d9e4;
  border-radius: 8px;
  background: #fff;
  color: #1f2437;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.tcp-field input[type="file"] {
  padding: 10px 12px;
  background: #f9fafd;
}
.tcp-field input:focus {
  outline: none;
  border-color: #1F6791;
  box-shadow: 0 0 0 3px rgba(31,103,145,.15);
}
.tcp-field.has-error input {
  border-color: #B71C1C;
}

.tcp-req { color: #B71C1C; }

.tcp-hint {
  display: block;
  color: #6a7189;
  font-size: 12px;
  margin-top: 4px;
}

.tcp-erro {
  display: block;
  color: #B71C1C;
  font-size: 13px;
  margin-top: 4px;
}
.tcp-erro-lgpd {
  margin: -8px 0 12px;
}

/* LGPD */
.tcp-lgpd {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: #f9fafd;
  border-radius: 8px;
  margin: 6px 0 14px;
  font-size: 14px;
  color: #2b3147;
  cursor: pointer;
}
.tcp-lgpd input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #1F6791;
}
.tcp-lgpd.has-error {
  background: #FFEBEE;
  color: #B71C1C;
}

/* Submit */
.tcp-submit {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: #1F6791;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.tcp-submit:hover { background: #155478; }
.tcp-submit:disabled {
  background: #8a9bb0;
  cursor: not-allowed;
}

/* Honeypot — absolutamente oculto */
.tcp-hp {
  position: absolute !important;
  left: -10000px !important;
  top: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.tcp-footer {
  text-align: center;
  margin-top: 24px;
  padding: 12px 0;
}
.tcp-footer a {
  color: #6a7189;
  font-size: 13px;
  text-decoration: none;
}

/* Desktop ajustes */
@media (min-width: 640px) {
  .tcp-wrap { padding: 32px 16px 48px; }
  .tcp-header h1 { font-size: 28px; }
  .tcp-form { padding: 28px 24px; }
}
