/********** Template CSS **********/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body{
    font-family: 'Exo 2', sans-serif;
}


:root {
    --primary: #FB5B21;
    --secondary: #BDBDBF;
    --light: #F4F5F8;
    --dark: #222429;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    font-family: 'Exo 2', sans-serif;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn-primary {
    color: #fff;
    background-color:#00a8c6;
    border-color:#000;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0198b3;
  border-color: #00191e;
}

.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0198b3;
  border-color: #00191e;
}

.btn-check:focus + .btn-primary, .btn-primary:focus {
  color: #fff;
  background-color: #0198b3;
  border-color: #00191e;
  box-shadow: 0 0 0 .25rem #0198b3;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Oswald', sans-serif;
    margin-right: 30px;
    padding: 40px 0;
    color: var(--light);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
  color: #000 !important;
}	
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #f2ea31;
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 36, 41, .8);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.programe::after {
    position :absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--dark);
    z-index: -1;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

@media (min-width: 991.98px) {
    .credit {
        background: #9c9900
    }
}
.center{
  display: flex;
  justify-content: center;
}
.text-secondary a:hover{
	color: #fff !important;
}
#msg_erro{
	color: #fff !important;
	text-align: center;
	margin: 35px 0px;
	font-weight: bold;
}
.nav-link:hover, .nav-link:focus{
	color: #f2ea31 !important;
}

.errorimg{
    left: 2px;
    position: relative;
    top: 2px;
}
.errortxt {
    float: right;
    margin: -33px 0 0;
    width: 20px;
}
.error {
    /*display: block;*/
    float: right;
    font-size: 12px;
    font-weight: normal;
    padding-top: 3px;
}

#div_loading {
  position:fixed;
  left:0;
  top:0;
  z-index:9000;
  background-image: url(../adm/images/bg-branco.png);
  display:none;
  text-align: center;
  padding:150px 0px 0px 0px;
}



.header {
  background: #0b1119;
  padding: 24px 0;
  position: relative;
  z-index: 20;
}

.container {
  width: 73%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
}

.header .container .logo img{
    width: 126px;
}

.header .container .nav{
    margin: 0 auto;
    top: 6px;
    position: relative;
}

.nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1rem;
  font-weight: 620;
  font-family: 'Exo 2', sans-serif;
}

.nav a:hover,
.nav .active {
  color: #00a8c6;
}

/* Botão Contato */
.btn-contato {
  background: #00a8c6;
  padding: 10px 38px;
  border-radius: 6px;
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9px;
}

.dropdown-contato{
    left: 200px;
    position: relative;
}

/* Dropdown */
.dropdown {
  position: relative;
}

/* Oculta sempre o submenu */
.dropdown-menu {
  position: absolute;
  top: 28px;
  left: 0;
  background: #d1e9ef;
  list-style: none;
  width: 230px;
  border-radius: 4px;
  overflow: hidden;
  display: none; /* <- IMPORTANTE: fica sempre escondido */
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-in-out;
}

/* Mostra SOMENTE quando passar o mouse */
.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu li a {
  display: block;
  padding: 10px;
  color: #000;
}

.dropdown-menu li a:hover {
  background: #b9d6df;
}


/* Banner */
.banner {
  background: #00a8c6;
  padding: 55px 0;
  text-align: center;
  color: white;  
}
.banner h1 {
  font-size: 52px;
  font-weight: 200;
  font-family: 'Exo 2', sans-serif;
}
.banner strong {
  font-weight: 700;
}
.banner strong span {
  opacity: 0.7;
}

/* Mobile */
.mobile-menu-icon {
  display: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 850px) {
  .nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b1119;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    display: none;
  }

  .nav ul.show {
    display: flex;
  }

  .mobile-menu-icon {
    display: block;
  }
}


.footer {
  background: #ffffff;
  padding: 60px 0 20px;
  font-family: 'Exo 2', sans-serif;
  color: #0b1119;
  text-align: center;
}

.footer-container {
  width: 85%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  text-align: left;
}

.logo-footer {
  font-size: 40px;
  font-weight: 700;
}
.logo-footer span {
  color: #00a8c6;
}

.logo-footer img{
    width: 130px;
}

.blog-container {
    padding: 50px;
    font-family: 'Exo 2', sans-serif;
}

.blog-content {
    flex: 3;
}

.blog-conteudo{
  margin-top: 70px;
  margin-bottom: 50px;
}

.blog-tag {
    display: inline-block;
    margin: 15px 20px 10px;
    color: #00a8d2;
    font-size: 14px;
    font-weight: 600;
}

.blog-btn {
  margin: 0 14px 20px;
  text-decoration: none;
  margin-top: auto;
  display: inline-block;
  transition: .3s;


  background: #00a8c6;
  padding: 7px 30px;
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9px;
}

.blog-btn:hover {
  color: #007b8d;
}

/* Sidebar */
.blog-sidebar {
    width: 250px;
    border-left: 2px solid #eee;
    padding-left: 30px;
}

.blog-categories {
    flex: 1;
    width: 250px;
    border-left: 2px solid #eee;
    padding-left: 30px;
}

.blog-categories h4 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Exo 2', sans-serif;
}

.blog-categories ul {
    list-style: none;
    padding: 0;
}

.blog-categories li {
    margin-bottom: 12px;
}

.blog-categories a {
    color: #003f75;
    text-decoration: none;
    font-weight: 500;
}

.blog-categories a:hover {
    color: #00a8d2;
    text-decoration: underline;
}

.card-btn {
  text-decoration: none;
  color: #00a8c6;
  font-weight: 600;
  margin-top: auto;
  display: inline-block;
  transition: .3s;
}

.card-btn:hover {
  color: #007b8d;
}

.footer-text {
  margin: 15px 0;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Exo 2', sans-serif;
}
.footer-social{
    display: flex;
    align-items: center;
}
.footer-social a img {
  width: 26px;
  margin-right: 10px;
}

.footer-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: #00a8c6;
  margin-bottom: 8px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #0b1119;
  margin: 6px 0;
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 600;
  transition: 0.3s;
}
.footer-col a:hover {
  color: #00a8c6;
}

.footer-col a img{
    margin-top: 35px;
}

.footer-bottom {
  margin: 40px 0 10px;
}
.footer-bottom img {
  height: 40px;
  margin: 0 8px;
}

.copy {
  font-size: 14px;
  margin-top: 12px;
  opacity: 0.7;
}

/* Botão voltar ao topo */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #00a8c6;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: none;
  transition: 0.3s;
}

.back-to-top:hover {
  background: #007c92;
}

/* Responsivo */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .blog-categories {
    order: -1; /* coloca as categorias acima */
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    width: 100%;
  }

  .blog-list {
      grid-template-columns: 1fr; /* apenas 1 card por linha */
  }

  .blog-categories h4,
  .blog-categories ul {
      text-align: center;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}





.blog-content {
    flex: 3;
}

.blog-content h1 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 50px;
    font-family: 'Exo 2', sans-serif;
}

.post-image {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    margin: 0 0 25px 0;
    object-fit: cover;
    object-position: center; /* garante que mostra o meio */
}

/* Sidebar */
.sidebar {
    flex: 0.9;
    padding-left: 50px;
}

.sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
}

.related-post {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
    color: #0f172a;
    align-items: center;
    transition: .3s /* animação suave */
}

.related-post:hover{
  transform: translateY(-4px);
}

.related-post img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

.related-post .category {
    font-size: 12px;
    font-weight: 600;
    color: #0284c7;
}

.related-post p {
    font-size: 14px;
    line-height: 1.2;
    font-family: 'Exo 2', sans-serif;
}

/* Galeria */
.photo-gallery {
    margin-top: 30px;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.photo-gallery img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 120px;
    transition: transform 0.25s ease-in-out; /* animação suave */
}

.photo-gallery img:hover {
  transform: scale(1.1); /* aumenta 10% */
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .blog-container {
        flex-direction: column;
    }

    .sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e5e7eb;
        margin-top: 30px;
        padding-top: 20px;
    }
}


.sidebar h3 {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 600;
    color: #111;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    padding: 10px 0;
    transition: 0.25s;
    border-radius: 8px;
}

.related-item:hover {
    background: #f5f8fa;
}

.related-item img {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.related-category {
    font-size: 13px;
    color: #00A3D9; /* azul ikatec */
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    font-family: 'Exo 2', sans-serif;
}

.related-title {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limita a 2 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 900px) {
    .related-item img {
        width: 60px;
        height: 60px;
    }
}


a {
  color: #00a8c6;
  text-decoration: none;
}
a:hover {
  color: #0198b2;
}


.blog-area {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.blog-list {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 1px solid #e7e7e7;
    max-width: 450px;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* garante mostrar o MEIO */
    display: block;
}

.image-wrapper-detail{
    position: relative;
    overflow: hidden;
    margin-bottom:20px;
    max-width: 70%;
}

.autor-links .blog-tag{
  margin:0 auto;
}

.image-wrapper-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* garante mostrar o MEIO */
    display: block;
}

.post-date {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 95, 134, 0.85); /* azul ikatec com 85% de opacidade */
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    backdrop-filter: blur(2px); /* opcional: dá um leve efeito de vidro */
}

.blog-card h3 {
    margin: 18px;
    line-height: 1.3;

    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Exo 2', sans-serif;
}

.blog-card p {
    margin: 0 18px 20px;
    color: #666;
    font-size: 15px;
}

/* Responsivo */
@media (max-width: 900px) {
    .blog-area {
        flex-direction: column;
    }
}

