@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
}

i{
    color: #184892;
    padding-right: 0.5rem;
}

.nav__mobile-btn{
    display: none;
}

.mobile-title{
    display: none;
    color: white;
}

.navbar__logo-mobile{
    display: none;
}


/*Faixa azul de contatos*/
.info-contatos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-wrap: nowrap;
    background-color: #dbf4fd;
    padding: 1rem 8rem;
} 

.info__instagram, .info__linkedin{
    height: 100%;
    padding: 1rem;
}

.info__instagram:hover,
.info__linkedin:hover{
    background-color: #008698af;

}
.navbar{
    display: flex;
    align-items: center;
    padding-left: 4rem;
    width: 100%;
    background-color: white;
    height: 10rem;
    flex-direction: row;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
}


.navbar__list{
    display: flex;
    align-items: center;
    list-style: none;
    text-wrap: nowrap;
    padding: 0 3rem;
}

.navbar__logo{
    width: 9rem;
    height: 9rem;
    margin-left: 12rem;
}


.navbar__btn{
    display: flex;
    text-decoration: none;
    margin: 0 1.3rem;
    color: rgb(0, 0, 0);
    font-weight: 600;
    font-size: 1.6rem;
    transition:0.3s ease;
}

.navbar__home{
    display: flex;
    text-decoration: none;
    margin: 0 1.3rem;
    color: rgb(255, 0, 0);
    font-weight: 600;
    font-size: 1.6rem;
    transition:0.3s ease;
}

.navbar__btn:hover{
    color: #008698af;
}

header{
    position: relative;
    width: 100%;
    min-height: 30rem;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}

.header__guide{
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
    justify-content: center;
    position: absolute;
    top: 4rem;
    font-size: 1.3rem;
    margin-left: 4rem;
}

.header__title{
    color: #184892;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    align-self: center;
    height: 100%;
    margin-left: 4rem;
    font-size: 2rem;
}

header::before{
    content: "";
    position: absolute;
    width: 100%;
    min-height: 30rem;
    background-image: url("../imagens/contatos-bg.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.header__guide p{
    margin: 0;
}

aside{
display: flex;
align-items: center;
color: #fff;
justify-content: center;
flex-direction: column;
position: relative;
min-height: 35rem;
width: 100%;
margin-top: 1.5rem;
box-shadow: 0 6px 20px 1px rgba(0, 0, 0, 0.674), 0 -10px 25px 8px rgba(0, 0, 0, 0.2);
overflow: hidden;               /* evita bordas aparecendo no zoom */
}

.aside__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* mantém proporção sem distorcer */
  transform-origin: center; /* centraliza o zoom */
  transform: scale(1);    /* aumenta o zoom — ajuste aqui */
  transition: transform .7s ease;
}

.aside__overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 71, 141, 0.353);
}

.aside__title{
    display: flex;
    font-size: 1.5rem;
    z-index: 1;
}

.aside__btn{
    background-color: white;
    color: #184892;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    border-radius: 100px;
    transform: scale(1); /* estado normal = mouse out */
    transition: transform 0.2s ease;
}

.aside__btn:hover{
    background-color: #184892;
    color: white;
    transition: ease 0.3s;
    transform: scale(1.2);
}

.aside__btn:hover i{
    color: white;
}

.news-row{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
}

.news__subtitle{
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff0000;
}

.news__title{
    font-size: 2rem;
    color: #184892;
    font-weight: 700;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #001244;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    color: #ffffff;
    padding: 2rem 0;
}

.red-text{
    color: red;
}

@media screen and (max-width: 865px){
    html{
        font-size: 10px;
    }
}

@media screen and (max-width: 930px) {

  .navbar{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background-color: #184892;
    height: 10rem;
    border: 0;
  }

  .navbar__logo{
    margin-left: 1rem;
  }

  .navbar__title-logo-mobile{
    display: flex;
    align-items: center;
    font-size: 0.5rem;
  }

  .nav__mobile-btn{
    position: absolute;
    right: 0;
    z-index: 11;
    display: flex;
    text-align: center;
    padding: .4rem;
    border-radius: 3px;
    margin: 3rem;
    border: 0;
    color: rgb(0, 0, 0);
    background-color: #fff;
  }

  i{
    padding: 0;
  }

  .mobile-btn-fixed{
    position:fixed !important;
  }

  .mobile-title{
    display: block;
    margin: 1rem;
    font-size: 8px;    
  }

  .navbar__list{
    display: flex;
    justify-items: center;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
    background-color: #184992b4;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    flex-direction: column;
    list-style: none;
    margin: 0;                /* evita “pulo” no layout */
    padding: 10rem 5rem;
    height: 100vh;
    width: 50vw;              /* 40vw pode ficar estreito no mobile */
    transform: translateX(100%);           /* começa fora da tela */
    transition: transform 0.3s ease;       /* anima o transform */
  }

  .navbar__list.navbar__list-mobile{
    transform: translateX(0);              /* entra */
  }

  .navbar__logo{
    width: 7rem; 
    height: 7rem; 
    margin-left: 1rem;
  }

.navbar__logo-mobile{
    display: block;
    width: 15rem; 
    height: 15rem; 
    margin-left: 0;
    margin-bottom: 2rem;
  }

    .navbar__home{
    display: flex;
    text-decoration: none;
    margin: 1rem 0;
    font-weight: 600;
    font-size: 2rem;
    transition: color 0.3s ease;
  }

  .navbar__btn{
    display: flex;
    text-decoration: none;
    margin: 1rem 0;
    font-weight: 600;
    font-size: 1.4rem;
    transition: color 0.3s ease;
    color: #fff;
  }

}

@media screen and (max-width: 500px) {
    html{
        font-size: 9px;
    }

        .info-contatos{
        padding: 1rem 3rem;
    }
}