.contato {
  padding: 5rem 0;
  background-color: #f7f7f7;
}

.contato .container {
  background-color: #fff;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 96px;
  padding: 48px;
}

.contato-header p {
  color: #424242;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 32px;
}

#form-contato {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: fit-content;
}

#form-contato .badge {
  margin-bottom: 16px;
}

#form-contato h3 {
  color: #121212;
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -1.08px;
  margin-bottom: 16px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.input-field label {
  color: #888;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: -0.64px;
}

.input-field input,
.input-field select,
.input-field textarea {
  border: 1px solid #cbcbcb;
  background-color: #fff;
  padding: 16px;
  width: 100%;
  color: #a4a4a4;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: -0.64px;
  height: 100%;
}

.input-field input::placeholder,
.input-field select::placeholder,
.input-field textarea::placeholder {
  color: #c3c3c3;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
}

.input-field textarea {
  resize: none;
  height: 200px;
  padding: 16px;
}

.attention-icon {
  color: var(--primary-color);
}

.form-contato__flex {
  display: flex;
  gap: 16px;
}

#form-contato .primary-btn {
  width: 100%;
  padding: 16px 32px;
}

.contato-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contato-links__link {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contato-links__link-icon {
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background-color: var(--primary-color);
  border-radius: 50px;
  flex-shrink: 0;
}

.contato-links__link span {
  color: #626262;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 143%;
  letter-spacing: -0.32px;
  display: block;
}

.contato-links__link a {
  color: #020818;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  text-decoration: none;
  word-break: break-all;
}

.contato-socials {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #c3c3c3;
}

.contato-socials h3 {
  color: #424242;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-bottom: 12px;
}

.contato-socials__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contato-socials__links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50px;
  background-color: var(--primary-color);
}

.unidades {
  padding: 5rem 0;
  background-color: #f7f7f7;
}

.unidades .badge {
  margin: 0 auto 40px;
}

.unidades .section-title {
  margin: 0 auto;
  text-align: center;
}

.unidades-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
  margin-top: 5rem;
}

.unidades-tabs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.unidades-tabs__tab {
  border-radius: 10px;
  background: #fff;
  padding: 24px;
  cursor: pointer;
}

.unidades-tabs__tab h3 {
  color: #000;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.unidades-tabs__tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.unidades-tabs__tab-header__content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.unidades-tabs__tab-header__content + svg {
  align-self: flex-start;
  margin-top: 20px;
}

.unidades-tabs__tab.active {
  background: #00948e;
}

.unidades-tabs__tab.active .unidades-tabs__tab-icon {
  width: 52px;
  height: 52px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50px;
  flex-shrink: 0;
}

.unidades-tabs__tab.active .unidades-tabs__tab-icon svg {
  transform: rotate(0deg);
}

.unidades-tabs__tab.active .unidades-tabs__tab-icon svg path {
  fill: var(--primary-color);
  transform: rotate(0deg);
}

.unidades-tabs__tab.active svg {
  transform: rotate(180deg);
}

.unidades-tabs__tab.active svg path {
  fill: #fff;
}

.unidades-tabs__tab.active .unidades-tabs__tab-header__content {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.unidades-tabs__tab.active .unidades-tabs__tab-header__content h3 {
  color: #fff;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.unidades-map {
  height: 100%;
  min-height: 420px;
}

#mapFrame {
  border: none;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

@media screen and (max-width: 992px) {
  .unidades-wrapper {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .contato .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contato .container {
    padding: 24px;
  }
  .unidades-tabs__tab-header__content + svg {
    display: none;
  }
}

@media screen and (max-width: 475px) {
  .form-contato__flex {
    flex-direction: column;
  }

  .input-field textarea {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .contato .container {
    grid-template-columns: 1fr;
  }
  #form-contato {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  #form-contato {
    padding: 0;
    background: none;
  }
  .contato-links__link-icon,
  .contato-socials__links a {
    width: 40px;
    height: 40px;
  }
}
