* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg-black: #000;
  --bg-white: #fff;
  --green: #00FF00;
  --bg-dark-blue: #012840;
  --bg-blue: #0026C7;
  --bg-blue-400: #2E7BFF;
  --bg-mark-blue: #26348C;
}

@font-face {
  font-family: "League Spartan";
  src: url(../fonts/LeagueSpartan-Regular.ttf) format("truetype");
  font-weight: 400;  
}
@font-face {
  font-family: "League Spartan";
  src: url(../fonts/LeagueSpartan-Medium.ttf) format("truetype");
  font-weight: 500;  
}
@font-face {
  font-family: "League Spartan";
  src: url(../fonts/LeagueSpartan-Bold.ttf) format("truetype");
  font-weight: 700;
}

body {
  font-family: "League Spartan", sans-serif;
}

/* Menu DESKTOP */
.header {
  /* max-width: 1440px; */
  margin: 0 auto;
  font-family: "sweet-sans-pro", Sans-serif;
  background-color: var(--bg-blue, #0026C7);
  color: #fff;
  padding-top: 5px;
  padding-bottom: 0px;
}
.header a {
  color: var(--e-global-color-text);
  transition: 0.5s;
  font-size: clamp(13px, 1vw, 16px);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "sweet-sans-pro", Sans-serif;
}
.header .logo {
  margin: 5px auto 10px;
  max-height: 100px;
}

.header .btn-doe {
  background-color: var(--e-global-color-secondary, #F2B705);
  border-radius: 10px;
  padding: 8px 24px !important;
  display: flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 900;
}
.header .btn-doe:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.primary-menu ul {
  list-style-type: none;
  padding: 0;
  position: relative;
  margin-left: 0;
  margin-bottom: -2px;
}
.primary-menu ul li {
  /* display: inline;
  margin: 0 10px; */
  padding: 12px 0;
}
.primary-menu ul li a {
  color: var(--e-global-color-text);
  transition: 0.5s;
  font-size: clamp(13px, 1vw, 14px);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 24px;
}
.primary-menu ul li.navlink a {
  padding: 0;
}

.primary-menu ul li a:hover {
  color: var(--bg-black, #000);
  background: var(--bg-white, #fff);
  
}

.primary-menu ul li.navlink a:hover {
  background: transparent;
}

.primary-menu ul li a .ico {
  margin-left: 4px;
}

.primary-menu ul li.navlink {
  background: #fff;
  width: 100%;
}

/* submenu */
.primary-menu .submenu {
  display: none;
  position: absolute;
  background-color: var(--e-global-color-primary, #012840);
}

.primary-menu ul li:hover .submenu {
  width: 200px;
  display: block;
  z-index: 1000;
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin-left: 0;
}
.primary-menu ul li .submenu a {
  display: block;
}

.primary-menu .wrap-btn-doe {
  position: relative;
}
.primary-menu .wrap-btn-doe .d-flex {
  position: absolute;
  top: 0;
  margin-top: -80px;
  margin-left: -160px;
  gap: 15px;
}

.primary-menu .wrap-btn-doe .d-flex .btn-language {
  font-size: 14px;
  font-weight: 900;
}




/* Menu DESKTOP */

/* MENU MOBILE */
@media (max-width: 768px) {
  .header {
    justify-content: space-between;
  }

  .header .logo {
    height: 50px;
    margin-left: -10%;
  }

  .header .btn-doe {
    padding: 8px 8px;
    margin-right: 10px;
  }

  .header .btn-doe .ico {
    width: 20px;
    height: 20px;
  }

  .primary-menu ul li {
    padding: 8px 0;
  }

  .menu-mobile .card.card-body {
    background-color: var(--e-global-color-primary, #012840);
  }

  .primary-menu .submenu{
    display: block;
    position: relative;
  }
  .primary-menu ul li:hover .submenu {
    width: initial;
    box-shadow: none;
    padding: initial;
    margin: initial;
  }
  .menu-mobile .primary-menu ul li .submenu {
    width: initial;
    box-shadow: none;
    display: block;
    position: relative;
  }

}

.header .menu-icon {
  cursor: pointer;
  width: 60px;
}

.menu-mobile {
  position: fixed;
  z-index: 2000;
  background-color: var(--e-global-color-primary, #012840);
  top: 50%;
  right: -100%;
  width: 100%;
  height: 1%;
  transition: opacity, height 0.3s;
}

.menu-mobile.active {
  opacity: 1;
  height: 100%;
  /* width: 100vw; */
  right: 0;
  /* left: 0; */
  top: 0;
}

.header .menu-mobile .logo img {
  max-height: 70px;
  max-width: 200px;
}

.menu-mobile .body-menu {
  opacity: 0;
  transition: 0.4s;
}
.menu-mobile.active .body-menu {
  opacity: 1;
}

.menu-mobile .main-link {
  color: #fff;
  font-size: 18px;
  margin-top: 10px;
}

.menu-mobile .btn-tertiary {
  border-radius: 8px;
  padding-inline: 8%;
}

.menu-mobile .logo {
  width: 40%;
}
.menu-mobile .exit {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.menu-mobile .exit .close-ico {
  width: 38px;
  cursor: pointer;
}

.xtb-appear .menu-mobile.primary-menu.active {
  position: absolute;
  height: 100lvh;
  width: 100vw;
  left: -10px;
  top: -10px;
}
/* MENU MOBILE */


/* MAIN */
.main-banner {
  background-color: #5c6469;
  background-image: url(../img/bg-residencial.jpg);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  height: 40vh;
}
.main-banner::after{
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  width: 100%;
  height: 40vh;
  z-index: 0;
}

.main-banner .text-content {
  z-index: 1;
  position: relative;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}
.sub-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}


.news {
  padding-top: 80px;
  padding-bottom: 0px;
}

.news .news-posts{
  margin-bottom: 80px;
}
.news .news-posts .wrap {
  box-shadow: 2px 2px 12px 0px #00000059;
  width: 97%;
}
.news .news-posts .card-noticia{
  position: relative;
  margin-bottom: 30px;
}
.news .news-posts .card-noticia .date-post{
  position: absolute;
  top: 25px;
  right: 35px;
  background-color: var(--bg-green);
  padding: 8px 15px;
  border-radius: 10px;
  text-align: center;
  color: var(--bg-black);
}
.news .news-posts .card-noticia .date-post p{
  margin: 0;
  padding: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5rem;
}
.news .news-posts .card-noticia .date-post span{
  font-weight: 400;
  font-size: 0.8rem;
}

.news .news-posts .card-noticia .img-destaque {
  width: 100%;
  height: 230px;
  margin-bottom: 15px;
  object-fit: cover;
  object-position: top left;
}
.news .news-posts .card-noticia .footer-noticia {
  color: var(--bg-black);
  padding: 5px 30px 15px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news .news-posts .card-noticia .footer-noticia .category-label {
  font-size: 1rem;
  font-weight: 400;

}
.news .news-posts .card-noticia .footer-noticia .titulo-noticia {
  font-weight: 700;
  font-size: 1.2rem;
}

.news .news-posts .card-noticia .footer-noticia .link {
  font-size: 1.2rem;
  text-decoration: underline;
  color: var(--bg-white);
  background-color: var(--bg-mark-blue);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin: 0 auto;
  margin-top: 5px;
  padding: 9px 20px 6px;
  width: fit-content;
}
.news .news-posts .card-noticia .footer-noticia .link:hover {
  opacity: 0.7;
}

.news .news-posts .card-noticia .footer-noticia .main-button {
  background-color: var(--bg-green);
  color: var(--bg-black);
  font-size: 1.2rem;
  padding: 10px 20px;
  width: fit-content;
}

.news .news-posts .carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}
.news .news-posts .carousel-controls .arrow {
  height: 50px;
  width: 50px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.news .news-posts .carousel-controls .arrow:hover {
  opacity: 0.2;
}
.news .news-posts .carousel-controls .main-button {
  background-color: var(--bg-green);
  color: var(--bg-black);
  font-weight: 500;
  font-size: 1.2rem;
}

.news .action-news {
  text-align: center;
  font-weight: 900;
  font-size: 5rem;
  opacity: 0.1;
  margin: 0;
  line-height: 4rem;
}

.news .pagination {
  justify-content: center;
  gap: 8px;
}

.pagination li a {
  background: var(--bg-green);
  padding: 8px 8px 5px;
  border-radius: 10px;
  transition: opacity 0.3s ease;

  color: var(--bg-black);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.pagination li:hover a{
  opacity: 0.7;
}

.pagination li.active a {
  background: var(--bg-black);
  color: var(--bg-white);
}


@media (max-width: 767px) {
  .news .news-posts .carousel-controls .main-button {
    font-size: 1rem;
    max-width: 200px;
    text-align: center;
  }
  .news .action-news {
    font-size: 3rem;
  }
}
@media (max-width: 767px) {

  .news .pagination {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 280px;
    margin: auto;
  }
}

/* MAIN */

/* SEARCH AREA */
.search_area input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  max-width: 450px;
  width: 100%;
}
.search_area button {
  background: var(--bg-blue, #0026C7);
  color: #fff;
  padding: 2px 15px;
  border: none;
  margin-left: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-blue, #0026C7);
  border-radius: 0px 8px 8px 0;
}
/* SEARCH AREA */


/* BLOG PAGE */
.blog-page .banner img {
  width: 100%;
  height: 45vh;
  object-fit: cover;
  margin-bottom: 30px;
}

.volta-posts{
  color: var(--bg-blue,#0026C7);
  transition: .5s;
  font-size: clamp(13px,1vw,14px);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 12px;
  margin-top: 7px;
}
.volta-posts:hover{
  text-decoration: underline;
}

.blog-page .blog-body img {
  /* height: 65vh !important; */
  max-height: 900px;
  object-fit: cover;
}

.blog-page .posts-relacionados {
  padding-top: 30px;
  padding-bottom: 50px;
}
.blog-page .posts-relacionados .link-related-post {
  text-decoration: none;
  color: var(--bg-black);
}


.blog-page .posts-relacionados .card-related-post {
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
  box-shadow: 2px 2px 12px 0px #00000059;
  height: 320px;
  justify-content: space-between;
}
.blog-page .posts-relacionados .card-related-post .img-destaque {
 
  width: 100%;
  object-fit: cover;
  max-height: 145px;
  height: 100%;
}
.blog-page .posts-relacionados .card-related-post .main-title {
  font-size: 1.2rem;
  margin: 0 15px 20px;
}

.blog-page .posts-relacionados .card-related-post .main-button {
  font-size: 1.1rem;
  text-decoration: underline;
  color: var(--bg-white);
  background-color: #1d87ad;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  margin: 0 auto;
  margin-top: 10px;
  padding: 6px 18px 4px;
  display: block;
  width: fit-content;
}
.blog-page .posts-relacionados .card-related-post .main-button:hover {
  opacity: 0.7;
}

.blog-page .galeria .main-title {
  font-weight: 500;
  font-size: 2.5;
  padding: 10px;
}
.blog-page .galeria .img-galeria {
  object-fit: cover;
  max-width: 300px;
  height: 200px;
  margin: 5px;
}

.blog-page .prev-next .blog-nav {
  color: var(--bg-black);
}

@media (max-width: 767px) {
  .blog-page .posts-relacionados .main-title {
    font-size: 2rem;
  } 
  .blog-page .posts-relacionados .card-related-post .img-destaque {
    max-height: 200px;
  }
  .blog-page .posts-relacionados .card-related-post .main-title {
    text-align: center;
  }

  .blog-page .posts-relacionados .card-related-post {
    height: 350px;
  }
  .blog-page .posts-relacionados .carousel-control-next, 
  .blog-page .posts-relacionados .carousel-control-prev {
    margin-top: -30px;
    opacity: .7;
  }
  .icon-carousel {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px){
  .blog-page .blog-body img {
    /* height: 420px !important; */
    object-fit: cover;
  }
}

/* BLOG PAGE */

/* FOOTER */
footer {
  background-color: var(--bg-mark-blue, #26348C);
  color: #fff;
  padding: 100px 0 0 0;
}
.footer-logo img {
  max-width: 200px;
  width: 100%;
}
footer .text-footer {
  font-size: 1rem;
}

footer .whats-link {
  margin-bottom: 20px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  color: var(--bg-white, #fff);
  display: block;
  text-decoration: none;
}
footer .whats-link:hover {
  color: #34af23
} 

footer .copy-line {
  /* padding: 50px 0px; */
  padding: 15px 0px 12px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

footer .copy-line .copy {
  margin: 0;
}

@media (max-width: 767px){
  .footer-logo {
    text-align: center;
    margin-bottom: 50px;
  }

  footer .copy-line .copy {
    text-align: center;
  }

  footer .click-icon {
    margin-top: 30px !important;
  }
  
}
/* FOOTER */

