.empresa-content {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;

  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.1),
    0 1px 4px 0 rgba(12, 12, 13, 0.05);
}

.empresa-about {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
}

.empresa-descript {
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.empresa-info {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.list-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.circle-text p {
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.empresa-industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.empresa-industry h2 {
  color: #333;
  font-size: 28px;
  font-weight: 600;
}

.empresa-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.empresa-card {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 300px;

  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.empresa-card:nth-child(1) {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("https://r.djiportugal.pt/imagens/industria-1.png");
}

/* Styles for the second card */
.empresa-card:nth-child(2) {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("https://r.djiportugal.pt/imagens/industria-2.png");
}

/* Styles for the third card */
.empresa-card:nth-child(3) {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("https://r.djiportugal.pt/imagens/industria-3.png");
}

.empresa-text {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
}

.empresa-text h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.empresa-text p {
  width: 300px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
}

.empresa-industry-button {
  align-items: center;
  background: none;
  border: none;
  gap: 8px;
  display: flex;
  flex-direction: row;
}

.empresa-industry-button a {
  color: #fff;
}

.empresas-form-section {
  background-color: #f6f6f6;
  display: flex;
  justify-content: center;
  padding-top: 24px;
  margin-top: 24px;
}

.form-container {
  display: flex;
  padding: 48px;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  max-width: 1280px;
}

.form-title-descript {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.form-title-descript p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.form-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.form-field-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.form-field-line {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: flex-start;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.label {
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.textbox {
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border: none;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.1),
    0 1px 4px 0 rgba(12, 12, 13, 0.05);
}

.dropdown {
  display: flex;
  flex-direction: row;
  padding: 8px 16px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  align-self: stretch;

  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.1),
    0 1px 4px 0 rgba(12, 12, 13, 0.05);
  position: relative;
  /* Essencial para posicionar o SVG dentro */
  /* Adiciona aqui o estilo que define a caixa (border, padding, etc.) */
  border-radius: 4px;
  /* Exemplo de cantos arredondados */
}

.dropdown-arrow {
  position: absolute;
  top: 50%;
  /* Centraliza verticalmente */
  right: 15px;
  /* Margem da direita */
  transform: translateY(-50%);
  /* Ajuste fino para o centro vertical */
  pointer-events: none;
  /* Garante que os cliques "passam" para o SELECT */
}

.select-box {
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
}

.textbox-message {
  display: flex;
  flex-direction: row;
  padding: 8px 16px;
  align-items: flex-start;
  justify-content: flex-start;
  border: none;
  gap: 8px;
  align-self: stretch;

  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.1),
    0 1px 4px 0 rgba(12, 12, 13, 0.05);
}

.obrigatorio {
  margin: 8px 0;
  color: #333;
  font-size: 12px;
  font-weight: 300;
}

.form-terms-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.form-terms {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.form-terms p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

/* .checkbox:hover {
  color: #fff;
  border: none;
  background-color: var(--botao-primario);
} */

.checkbox {
  display: flex;
  min-width: 24px;
  min-height: 24px;
  justify-content: center;
  align-items: center;

  border-radius: 4px;
  border: 1px solid #333;
  cursor: pointer;
}
.input-error {
  border: 1px solid red !important;
  outline: none !important;
}

.checkbox svg {
  stroke: #333;
}

.checkbox:hover {
  background-color: var(--botao-primario);
  opacity: 0.7;
}

.checkbox.checked {
  background-color: var(--botao-primario);
  border: none;
}

.checkbox.checked svg {
  stroke: white;
}

.form-terms-button button {
  display: flex;
  padding: 8px 24px;
  flex-direction: row;
  align-items: center;
  gap: 16px;

  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none;

  background-color: var(--botao-primario);
}

.form-terms-button button:hover {
  background-color: #2f569f;
}

.empresa-card-list .empresa-card:last-child {
  grid-column: span 1;
}

.form-field-tablet {
  display: flex;
  width: 100%;
  gap: 24px;
  flex-direction: column;
}

.mensagem-form {
  display: none;
  color: green;
  font-size: 16px;
  margin-top: 5px;
}

/*  **********************************************
*********** TABLET/MOBILE MEDIA QUERY   **********
**********************************************  */

@media (max-width: 1200px) {
  .empresa-card-list {
    grid-template-columns: repeat(2, 2fr);
  }

  .empresa-card-list .empresa-card:last-child {
    grid-column: span 2;
  }

  .form-container {
    padding: 24px;
    gap: 24px;
  }
}

@media (max-width: 840px) {
  .empresa-card-list {
    grid-template-columns: 1fr;
  }

  .empresa-card-list .empresa-card:last-child {
    grid-column: span 1;
  }

  .empresa-card {
    height: 200px;
  }

  .form-field-line {
    flex-direction: column;
  }

  .form-terms-button {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 648px) {
  .form-terms-button button {
    width: 100%;
    justify-content: center;
  }
}
