/* ==========================================================================
   ESTILOS DA PÁGINA CONTATO - INSTOR ROBÓTICA
   Layout limpo diretamente sobre o fundo branco, sem cards,
   inputs com border-radius de 4px e botão no padrão de serviços
   ========================================================================== */

/* --- HERO BANNER VERDE --- */
.contato-hero {
  background-color: #83ba3b;
  padding: 45px 20px;
  text-align: center;
  color: #ffffff;
}

.contato-hero h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px 0;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.contato-hero p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  margin: 0;
  color: #ffffff;
  font-weight: 400;
  opacity: 0.95;
}

/* --- SEÇÃO PRINCIPAL DE CONTATO (FUNDO BRANCO, SEM CARDS) --- */
.contato-section {
  background-color: #ffffff;
  padding: 60px 20px 90px 20px;
}

.contato-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.contato-header-block {
  text-align: center;
  margin-bottom: 40px;
}

.contato-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  color: #14261c;
  margin: 0;
  line-height: 1.25;
}

/* --- FORMULÁRIO DIRETAMENTE NO FUNDO --- */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* RÓTULOS (LABELS) */
.form-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #3a3a3a;
  margin-bottom: 8px;
  text-align: left;
}

.form-label .required {
  color: #d9534f;
  margin-left: 2px;
}

/* INPUTS, SELECTS E TEXTAREAS COM RADIUS DE 4PX EXIGIDO */
.form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  color: #222222;
  background-color: #ffffff;
  border: 1px solid #818a91;
  border-radius: 4px; /* EXIGÊNCIA EXPLÍCITA DO USUÁRIO */
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #888888;
  opacity: 1;
}

.form-control:focus {
  border-color: #4c662b;
  box-shadow: 0 0 0 3px rgba(76, 102, 43, 0.15);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
}

textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
  padding: 12px 14px;
}

/* GRUPO CONDICIONAL DE CURRÍCULO (TRABALHE CONOSCO) */
.curriculo-group {
  display: none;
  background-color: #f8faf6;
  border: 1px dashed #7eac26;
  border-radius: 4px; /* RADIUS DE 4PX */
  padding: 16px 18px;
  margin-top: -4px;
  transition: all 0.3s ease;
}

.curriculo-group.show {
  display: block;
  animation: fadeInDown 0.3s ease forwards;
}

.curriculo-input-wrap {
  position: relative;
  margin-top: 6px;
}

input[type="file"].form-control {
  height: auto;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 4px; /* RADIUS DE 4PX */
  cursor: pointer;
}

.file-hint {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #666666;
  margin-top: 6px;
}

/* BOTÃO DE ENVIO - PADRÃO DE SERVIÇOS SEM ÍCONE */
.form-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.servicos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: #4c662b;
  color: #ffffff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.15px;
  min-width: 180px;
}

.servicos-btn:hover {
  background-color: #3d5222;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 102, 43, 0.3);
  color: #ffffff;
}

.servicos-btn:active {
  transform: translateY(0);
}

/* MENSAGEM DE STATUS (SUCESSO OU AVISO) */
.form-status-alert {
  display: none;
  width: 100%;
  padding: 16px 20px;
  border-radius: 4px;
  margin-top: 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  box-sizing: border-box;
}

.form-status-alert.success {
  display: block;
  background-color: #eaf7eb;
  border: 1px solid #79c582;
  color: #1e5a26;
  animation: fadeIn 0.3s ease;
}

.form-status-alert.error {
  display: block;
  background-color: #fdeeee;
  border: 1px solid #f29f9f;
  color: #8c1e1e;
  animation: fadeIn 0.3s ease;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .contato-section {
    padding: 40px 15px 60px 15px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-grid {
    gap: 16px;
  }
  .servicos-btn {
    width: 100%;
    padding: 14px 24px;
  }
}
