.idt-tpl-work-with-us {
  width: 100%;
  overflow: hidden;
  background: #f7f7f5;
}

.idt-tpl-work-with-us #idt-main,
.idt-tpl-work-with-us .idt-main-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* HERO */

.arkos-work-hero {
  position: relative;
  padding: 90px 0;
  background: #f7f7f5;
}

.arkos-work-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 70px;
}

.arkos-work-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.arkos-work-hero__eyebrow,
.arkos-work-form__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #ed1c24;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.arkos-work-hero__title {
  max-width: 650px;
  margin: 0 0 26px;
  color: #202020;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}

.arkos-work-hero__description {
  max-width: 590px;
  color: #6f7c7a;
  font-size: 18px;
  line-height: 1.75;
}

.arkos-work-hero__description p {
  margin: 0 0 18px;
}

.arkos-work-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 28px;
  border: 1px solid #ed1c24;
  border-radius: 999px;
  background: #ed1c24;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.arkos-work-hero__button:hover {
  background: transparent;
  color: #ed1c24;
  transform: translateY(-2px);
}

.arkos-work-hero__image-wrapper {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #f7f7f5;
}

.arkos-work-hero__image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.arkos-work-hero__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* FORMULÁRIO */

.arkos-work-form {
  padding: 75px 20px 85px;
  background: #f4f4f2;
}

.arkos-work-form__header {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 30px;
  text-align: center;
}

.arkos-work-form__title {
  margin: 0 0 18px;
  color: #202020;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.arkos-work-form__description {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  color: #727b79;
  font-size: 16px;
  line-height: 1.65;
}

.arkos-work-form__description p {
  margin: 0;
}

/* Caixa principal */

.arkos-work-form__content {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 38px 42px;
  border: 1px solid #e5e5e1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

/* Remove limitações antigas do tema e CF7 */

.arkos-work-form__content .wpcf7,
.arkos-work-form__content .wpcf7-form,
.arkos-work-form__content form,
.arkos-career-form {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.arkos-career-form *,
.arkos-career-form *::before,
.arkos-career-form *::after {
  box-sizing: border-box;
}

/* Grid */

.arkos-career-form__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 0 18px !important;
}

.arkos-career-form__field {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
}

.arkos-career-form__grid .arkos-career-form__field {
  min-width: 0;
  margin: 0 !important;
}

/* Labels */

.arkos-career-form__field label {
  display: block;
  margin: 0 0 9px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.arkos-career-form .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

/* Inputs */

.arkos-career-form input[type="text"],
.arkos-career-form input[type="email"],
.arkos-career-form input[type="tel"],
.arkos-career-form input[type="url"],
.arkos-career-form select,
.arkos-career-form textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #ddddda !important;
  border-radius: 11px !important;
  background: #f8f8f6 !important;
  color: #202020 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  outline: none !important;
  box-shadow: none !important;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

.arkos-career-form textarea {
  min-height: 115px;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  resize: vertical;
}

.arkos-career-form select {
  padding-right: 46px !important;
  cursor: pointer;
}

.arkos-career-form input::placeholder,
.arkos-career-form textarea::placeholder {
  color: #929997;
  opacity: 1;
}

.arkos-career-form input:focus,
.arkos-career-form select:focus,
.arkos-career-form textarea:focus {
  border-color: #ed1c24 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.09) !important;
}

/* Upload */

.arkos-career-form__field--file {
  padding: 17px !important;
  border: 1px dashed #bfc4c1;
  border-radius: 12px;
  background: #f8f8f6;
}

.arkos-career-form__field--file input[type="file"] {
  display: block;
  width: 100% !important;
  color: #6f7876;
  font-family: inherit;
  font-size: 14px;
}

.arkos-career-form__field--file input[type="file"]::file-selector-button {
  margin-right: 14px;
  min-width: 145px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: #202020;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.arkos-career-form__field--file input[type="file"]::file-selector-button:hover {
  background: #ed1c24;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(237, 28, 36, 0.18);
}

.arkos-career-form__field--file small {
  display: block;
  margin-top: 10px;
  color: #7d8583;
  font-size: 12px;
  line-height: 1.5;
}

/* Política */

.arkos-career-form__privacy {
  margin-top: 4px;
  color: #68716f;
  font-size: 13px;
  line-height: 1.5;
}

.arkos-career-form__privacy .wpcf7-list-item {
  margin: 0 !important;
}

.arkos-career-form__privacy input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  margin: 2px 8px 0 0 !important;
  accent-color: #ed1c24;
}

.arkos-career-form__privacy a {
  color: #ed1c24;
  font-weight: 600;
}

/* Botão */

.arkos-career-form__submit {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 25px;
}

.arkos-career-form__submit .wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 190px !important;
    height: 50px !important;
    min-height: 50px !important;

    margin: 0 !important;
    padding: 0 25px !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: #ed1c24 !important;
    color: #fff !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;

    cursor: pointer !important;
    box-shadow: none !important;
    appearance: none !important;
}

/* Mensagens */

.arkos-career-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: #ed1c24;
  font-size: 12px;
}

.arkos-work-form__content .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 15px 18px !important;
  border-radius: 10px;
  font-size: 14px;
}

@media (max-width: 991px) and (min-width: 768px) {
  .arkos-work-form__content {
    max-width: 760px;
    padding: 34px 30px;
  }
}

/* =========================================================
   RESPONSIVO — TRABALHE CONOSCO
========================================================= */

@media (max-width: 767px) {

  /* Container geral */
  .idt-tpl-work-with-us .container {
    width: 100%;
    max-width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  /* =======================================================
     HERO
  ======================================================= */

  .arkos-work-hero {
    padding: 40px 0 60px;
    overflow: hidden;
  }

  .arkos-work-hero__grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
  }

  .arkos-work-hero__content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .arkos-work-hero__eyebrow {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  .arkos-work-hero__title {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 24px;
    font-size: clamp(38px, 11vw, 52px);
    line-height: 0.95;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  .arkos-work-hero__description {
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.6;
  }

  .arkos-work-hero__description p {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
  }

  .arkos-work-hero__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    text-align: center;
  }

  .arkos-work-hero__image-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
  }

  .arkos-work-hero__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 460px;
    object-fit: cover;
    object-position: center;
  }

  /* =======================================================
     SEÇÃO DO FORMULÁRIO
  ======================================================= */

  .arkos-work-form {
    padding: 55px 0 65px;
  }

  .arkos-work-form__header {
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
  }

  .arkos-work-form__eyebrow {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 2px;
  }

  .arkos-work-form__title {
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1;
  }

  .arkos-work-form__description {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.6;
  }

  .arkos-work-form__content {
    width: 100%;
    max-width: 100%;
    padding: 25px 18px;
    border-radius: 16px;
    box-sizing: border-box;
  }

  /* =======================================================
     CONTACT FORM 7
  ======================================================= */

  .arkos-work-form .wpcf7,
  .arkos-work-form .wpcf7-form {
    width: 100%;
    max-width: 100%;
  }

  .arkos-career-form__grid {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100%;
    gap: 16px !important;
  }

  .arkos-career-form__field {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px !important;
  }

  .arkos-career-form__grid .arkos-career-form__field {
    margin: 0 !important;
  }

  .arkos-work-form .wpcf7-form-control-wrap,
  .arkos-work-form label,
  .arkos-work-form p {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .arkos-work-form input:not([type="checkbox"]):not([type="radio"]),
  .arkos-work-form select,
  .arkos-work-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .arkos-work-form textarea {
    min-height: 105px;
    resize: vertical;
  }

  .arkos-work-form input[type="file"] {
    min-height: auto;
    padding: 14px;
    white-space: normal;
    overflow: hidden;
  }

  .arkos-career-form__submit {
    width: 100%;
  }

  .arkos-career-form__submit .wpcf7-submit,
  .arkos-career-form__submit input[type="submit"],
  .arkos-work-form input[type="submit"],
  .arkos-work-form button[type="submit"] {
    width: 100% !important;
    min-height: 50px;
    margin-top: 6px;
    padding: 12px 18px;
    box-sizing: border-box;
    cursor: pointer;
  }

  .arkos-work-form .wpcf7-spinner {
    display: block;
    margin: 16px auto 0;
  }

  .arkos-work-form .wpcf7-response-output {
    width: 100%;
    max-width: 100%;
    margin: 24px 0 0;
    padding: 14px;
    box-sizing: border-box;
  }
}