*,
*:after,
*:before {
  box-sizing: border-box;
  user-select: none;

  -webkit-appearance: none;
  text-decoration: none;
}

html {
  --body-font-family: "Nunito", sans-serif;
  --primary-color: black;
  --secondary-color: #003aa8;

  height: 100%;

  color: var(--primary-color);
  background: #fff;
}

body {
  position: relative;

  font-family: var(--body-font-family);
  font-size: 16px;
  line-height: 1;
  height: 100%;

  overflow-x: hidden;
  overflow-y: auto;

  -webkit-overflow-scrolling: touch;

  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility !important;
}

a {
  color: inherit;
  outline: none;
  text-decoration: none;
}
img,
picture {
  display: block;
  width: 100%;
  max-width: 100%;
}
svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
}
textarea {
  resize: none;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

p a {
  color: var(--secondary-color);
}

hr {
  border: 0;
  border-top: 1px solid;
}

/* Layout */

.main-page {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  min-height: 100%;
}
.masthead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;

  z-index: 20;
}
.masthead .container {
  width: 100%;
  max-width: 1360px;
  margin: auto;
  padding: 0 16px;
}
.main-content {
  position: relative;
  width: 100%;
  align-self: flex-start;
  z-index: 10;
}
.main-content .container {
  width: 100%;
  padding: 0 16px;
  margin: auto;
  max-width: 1150px;

}
.page-footer {
  background: #ffffff;
  width: 100%;
  border-bottom: 10px solid var(--secondary-color);
}
.page-footer .container {
  width: 100%;
  padding: 12px 16px;
  margin: auto;
  max-width: 1150px;
}
section {
  position: relative;
}
figure {
  width: 100%;
  margin: 0;
}
@media only screen and (min-width: 768px) {
  #header-links {
    min-width: 200px;
  }
}

/* utilities */
.d-block {
  display: block;
}
.d-table {
  display: table;
}
.d-flex {
  display: flex;
  align-items: center;
}
.flex-grow-1 {
  flex-grow: 1;
}
.flex-shrink-1 {
  flex-shrink: 1;
}
.text-center {
  text-align: center;
}

.icon-box {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.mt-1 {
  margin-top: 16px !important;
}
.mt-2 {
  margin-top: 32px !important;
}
.mt-3 {
  margin-top: 64px !important;
}
.mb-1 {
  margin-bottom: 16px !important;
}
.mb-2 {
  margin-bottom: 32px !important;
}
.mb-3 {
  margin-bottom: 64px !important;
}

/* Colors */
.style-light {
  color: var(--primary-color);
}
.style-dark {
  color: #ffffff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.h1 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 400;
}
.h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 400;
}
.h3 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
}
.h4 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
}
.h5 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}
.h6 {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 400;
}
p {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}
.fw-light {
  font-weight: 300;
}
.fw-bold {
  font-weight: bold;
}

@media only screen and (min-width: 768px) {
  .h1 {
    font-size: 72px;
  }
  .h2 {
    font-size: 48px;
  }
  .h3 {
    font-size: 36px;
  }
  .h4 {
    font-size: 24px;
  }
  p {
    font-size: 18px;
  }
}

/* Inputs */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  opacity: 1;
  color: #9ea6b0;
  font-weight: 400;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ea6b0;
  font-weight: 400;
} /* firefox 19+ */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  opacity: 1;
  color: #9ea6b0;
  font-weight: 400;
} /* ie */
input:-moz-placeholder,
textarea:-moz-placeholder {
  opacity: 1;
  color: #9ea6b0;
  font-weight: 400;
}

label {
  display: block;
  font-size: 1.4rem;
  line-height: 1.4rem;
  font-weight: 400;

  margin-bottom: 12px;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
  font-family: var(--body-font-family) !important;
  display: block;
  width: 100%;
  height: auto;

  color: var(--primary-color) !important;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;

  padding: 20px 12px;

  background-color: #ffffff;
  border: 1px solid #ffffff;

  outline: 0;
  height: auto;
  margin: 0;

  border-radius: 8px;
  background-image: none;

  -webkit-box-shadow: none;
  box-shadow: none;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition: all 0.3s ease;
}

textarea {
  height: 144px;
}

.field_checkbox {
  position: relative;
  display: inline-block;
  vertical-align: top;

  margin: 12px 0;
  margin-right: 30px;
}
.field_checkbox:last-child {
  margin-right: 0;
}
.field_checkbox:only-child {
  margin: 0;
}

.field_checkbox label {
  position: relative;
  display: inline-block;
  vertical-align: top;

  color: var(--primary-color) !important;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;

  text-align: left;
  margin: 0;

  transition: all color 0.3s linear;
}
.field_checkbox input[type="checkbox"],
.field_checkbox input[type="radio"] {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;

  cursor: pointer;
  z-index: 5;
}
.field_checkbox input[type="checkbox"]:checked + label,
.field_checkbox input[type="radio"]:checked + label {
  font-weight: bold;
}

/* Buttons */
button {
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  box-shadow: none;
  appearance: none;
}
.button-action {
  display: inline-block;
  vertical-align: top;

  color: #ffffff;
  background: var(--secondary-color);
  border-radius: 8px;
  min-width: 200px;

  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;

  padding: 13px 18px;
  text-align: center;
  border: 1px solid transparent;

  overflow: hidden;
  backface-visibility: hidden;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 10;
}
.button-action:hover {
  color: var(--secondary-color);
  background: #fff;
  border: 1px solid var(--secondary-color);
}
.button-action.outline {
  color: var(--secondary-color);
  background: #fff;
  border: 1px solid var(--secondary-color);
}
.button-action.outline:hover {
  color: #ffffff;
  background: var(--secondary-color);
}

/* Header */
.logo {
  display: block;
  width: 3.5rem;
}
.menu-link {
  display: inline-block;
  vertical-align: middle;
  margin: 0 15px;
}

/* Page */
.padded-cells {
  padding-right: 26px;
}
.grid-container {
  width: auto;
  margin: 0 -8px;
  font-size: 0;
}
.grid-cell-33 {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  padding: 8px;
}
.hero {
  background-image: url("../../images/header.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-content {
  color: var(--primary-color);
  padding: 105px 0;
}
.hero-info {
  position: relative;
}
.hero-info > div {
  max-width: 625px;
}
.hero-image {
  position: relative;
  width: 100%;
  max-width: 385px;
  margin: 24px 0;
}
.searchbox {
  transform: translateY(-70%);
}
.searchbox form {
  position: relative;
  box-shadow: 0px 4px 6px -6px rgb(0 0 0 / 60%);
}
.searchbox form .field_checkbox {
  margin: 0;
}
.searchbox form .field_checkbox label {
  padding: 18px 12px;
  background: #f1fbff;
  text-align: center;
  min-width: 140px;
}
.searchbox form .field_checkbox input:checked + label {
  font-weight: bold;
  background: #ffffff;
}
.searchbox form input {
  padding-right: 50px;
  border-top-left-radius: 0;
}
.searchbox form button {
  position: absolute;
  top: 50%;
  right: 0;

  cursor: pointer;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}
.searchbox form button:hover {
  opacity: 0.6;
}
.imoveis-recentes {
  padding: 84px 0;
}
.card-imovel {
  border-radius: 16px;
  overflow: hidden;
}
.card-imovel picture {
  position: relative;
}
.card-imovel picture:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 6e-5) 59.61%,
    rgba(25, 28, 31, 0.36) 100%
  );
}
.imovel-preco {
  position: absolute;
  left: 20px;
  bottom: 20px;
}
.card-imovel figcaption > div:first-child {
  padding: 10px 18px;
}
.card-imovel figcaption > div:last-child {
  padding: 14px 18px;
  background: #deedf9;
}
.card-imovel .icon-box {
  margin-right: 12px;
}
.card-imovel .icon-box:last-child {
  margin-right: 0px;
}
.card-imovel .icon-box .flex-shrink-1 {
  padding-right: 4px;
}

.sobre {
  padding: 42px 0;
}
.sobre .media-text picture img {
  display: inline-block;
  vertical-align: top;
  padding: 8px;
  border-radius: 16px;
}
.sobre .media-text figcaption {
  margin-top: 25px;
}
.sobre .h5 {
  color: #7384a6;
  text-transform: uppercase;
}
.sobre .h3 {
}

.servicos {
  padding-top: 6%;
  padding-bottom: 12%;
}
.servicos .servicos-intro > .flex-grow-1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.servicos .icon-box {
  width: 50%;
}
.servicos .icon-box .flex-shrink-1 {
  padding-right: 12px;
  margin-top: 6px;
}

.blog-section {
  padding: 34px 0;
}
.card-blog {
  text-align: left;
}
.card-blog picture img {
  border-radius: 16px;
}

.pessoa {
  padding: 56px 0;
}
.pessoa .media-text picture {
  position: relative;
}
.pessoa .media-text picture img {
  position: relative;
}
.social-icons {
  display: inline-block;
  vertical-align: top;
  width: 36px;
  height: 36px;
  line-height: 32px;
  border-radius: 50px;
  color: #003aa8;
  border: 1px solid #dae4ea;
  text-align: center;
  margin: 8px 2px;
  transition: all 0.3s linear;
}
.social-icons svg {
  max-width: 24px;
}
.social-icons:hover {
  background-color: #003aa8;
  color: white;
}

/* Contact section */
.contact-section {
  padding: 5rem 0;
}

/* Contact form */
.contact-form-ctn {
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 4px 6px 20px rgba(84, 97, 142, 0.1);
  border-radius: 6px;
  padding: 25px 20px;
}

.contact-form-ctn .phone-info-ctn > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.contact-form-ctn .contact-buttons-ctn > button {
  display: inline-block;
  width: 49%;
  max-width: 193px;
  border: 1px solid var(--secondary-color);
  padding: 15px 0;
  border-radius: 6px;
  color: var(--secondary-color);
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out;
}

.contact-form-ctn .contact-buttons-ctn > button svg {
  margin-right: 5px;
}

.contact-form-ctn .contact-buttons-ctn > button:hover {
  opacity: 0.7;
}

.contact-form-ctn .contact-buttons-ctn > button:last-child {
  background: #16dd0e;
  border: none;
  color: #ffffff;
}

.contact-form-ctn .contact-buttons-ctn > button span {
  vertical-align: middle;
}

.contact-form-ctn form {
  border-top: 1px solid #dae4ea;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.contact-form-ctn form > input,
.contact-form-ctn form > textarea {
  margin-top: 1rem;
  border: 1px solid #dae4ea;
  border-radius: 2px !important;
  padding: 15px 10px;
  color: #4c555f;
}

.contact-form-ctn form > input:first-child {
  margin-top: 0;
}

.contact-form-ctn form > input::placeholder,
.contact-form-ctn form > textarea::placeholder {
  color: #4c555f;
}

.contact-form-ctn form .terms-ctn {
  display: flex;
  font-size: 13px;
  line-height: 21px;
  color: #4c555f;
}

/** Check box **/

/* Customize the label (the container) */
.checkbox-ctn {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-ctn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #eee;
  border-radius: 2px;
  margin-top: 5px;
}

/* On mouse-over, add a grey background color */
.checkbox-ctn:hover input ~ .checkmark {
  background-color: #ccc;
  transition: all 0.15s ease-in-out;
}

/* When the checkbox is checked, add a blue background */
.checkbox-ctn input:checked ~ .checkmark {
  background-color: var(--secondary-color);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-ctn input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-ctn .checkmark:after {
  left: 40%;
  top: 15%;
  width: 5px;
  height: 15px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.contact-form-ctn form .submit-btn {
  width: 100%;
  padding: 15px 0;
  border-radius: 6px;
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.contact-form-ctn form .submit-btn:hover {
  background: white;
  color: var(--secondary-color);
}

/* Footer */
.footer-cell {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  padding: 8px 0;
  text-align: left;
}

@media only screen and (min-width: 560px) {
  .grid-cell-33 {
    width: 50%;
  }
}
@media only screen and (min-width: 768px) {
  .d-md-flex {
    display: flex;
    align-items: center;
  }

  

  .grid-cell-33 {
    width: 33.333%;
  }
  .hero-limit {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sobre .media-text {
    display: grid;
    align-items: center;
    grid-gap: 80px;
    gap: 80px;
    grid-template-columns: 1fr 50%;
  }
  .sobre .media-text picture {
    order: 2;
  }
  .sobre .media-text figcaption {
    order: 1;
    margin: 0;
  }
  .pessoa .media-text {
    display: grid;
    align-items: center;
    grid-gap: 80px;
    gap: 80px;
    grid-template-columns: 1fr 55%;
  }

  .double-cell {
    columns: 2;
  }

  .footer-cell {
    width: 60%;
    order: 2;
    text-align: right;
  }
  .footer-cell:last-child {
    width: 40%;
    order: 1;
    text-align: left;
  }
}
@media only screen and (max-width: 768px) {
  .hero > img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
  }
  .masthead .button-action{
    display: none;
  }
  #menu-links-1 .menu-link, #header-links a{
    margin: 0 5px;
    font-size: 14px;
  }
  #menu-links-1{
    flex: 85%;
  }
}
@media only screen and (max-width: 374px) {
  #menu-links-1 .logo {
    width: 3rem;
  }
}