@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;
    flex-wrap: nowrap;
    background-color: #dbf4fd;
    padding: 1rem 8rem;
} 

.info__instagram, .info__linkedin{
    height: 100%;
    padding: 1rem;
    margin-left: 0.3rem;
}

.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; /* altura fixa ou mínima */
    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;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;  /* ocupa só a altura do header */
    background-image: url("../imagens/contatos-bg.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

.header__guide p{
    margin: 0;
}

.welcome{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    margin: 3rem 0;
}

.title-row{
    margin-bottom: 4rem;
}

.welcome__img{
    height: 50%;
    margin-right: 2rem;
    display: flex;
    justify-self: center;
}

.welcome__text{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.welcome__paragraph{
    font-size: 1.2rem;
    margin-bottom: 1rem; 
    max-width: 560px;
}

.welcome__text-content{
    width: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    flex-direction: column;
}

.content__p{

    font-size: 1.2rem;
    color: #000000c7;
    line-height: 1.5;
    max-width: 280px;
    margin: 1.5rem 0;

}

.LESSS{
    font-size: 1.2rem;
    color: red;
    font-weight: 600;
}

aside{
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    flex-direction: column;
    position: relative;  /* <- está correto */
    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;
}

.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;
    margin-top: 1rem;
    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;
}

main{
    display: flex;
    margin: 4rem auto;
    width: 80%;
    flex-direction: column;
    box-shadow: 10px 1px 10px #00000037, -10px -1px 10px #00000037;
}

.main__title{
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.main__grid{
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(3, 0.28fr);
    gap: 3rem;
    margin: 3rem;
    margin-bottom: 8rem;
}

.main__card{
    width: 23rem;
    min-height: 33rem;
    box-shadow: 1px 1px 10px #00000037, -1px -1px 10px #00000037;
    transition: background-color 0.15s ease;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main__card:hover{
    background-color: #00c1db;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.card__img-wrapper{
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.card__roles{
    position: absolute;
    z-index: 3;
    bottom: 0;
    width: 100%;
    height: 24%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 1rem 0;
}

.role-box {
    width: auto;
    height: 4rem;
    padding: 0.3rem;
    margin-bottom: 0.3rem;
    border-radius: 0.5rem;
    background-color: #54cdd5;
    font-size: 1.3rem; /* Tamanho visível */
    text-wrap: nowrap; /* Impede quebra de linha */
    line-height: normal; /* Ou algo como 1.2 ou igual à altura */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centraliza horizontalmente caso tenha quebra */
    transform: scale(1);
    transition: transform 0.3s ease, margin-bottom 0.3s ease;
}

.main__card:hover .role-box{
    transform: scale(1.15);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, margin-bottom 0.3s ease;
}

.main__card img{
    display: block;
    width: 100%;
    height: auto;
    width: 100%;
    height: 23rem;
    object-fit: cover;
    background: #fff; 
    border-bottom: 1px black solid;
}

.main__card:hover .card__name{
    color: #93f8ff;
}

.card__container{
    display: flex;
    flex-direction: column;
    padding: 3rem 1.7rem;
}

.card__name{
    font-size: 1.5rem;
    color: #184892;
    padding-bottom: 5%;
    transition: color 0.2s ease;
}

.card__details{
    font-size: 1.15rem;
    color: #000000c7;
    line-height: 1;
}

.main__card:hover .card__details, .main__card:hover .arrow-color{
    color: #fff;
    transition: color 0.15s ease;
}

.card__container h2,
.card__container p{
  margin: 0;
}

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;
}

.arrow-icon{
    color: #184892;
    font-size: 1.5rem;
}

@media screen and (max-width: 1200px) {
    

.main__grid{
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(2, .40fr);
    gap: 3rem;
    margin: 3rem;
    margin-bottom: 8rem;
}

}

@media screen and (max-width: 1000px) {
    
.welcome{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
}

.welcome__img{
    width: 50vw;
    margin-right: 2rem;
    display: flex;
    justify-self: center;
}

.welcome__text{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.title-row{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.welcome__paragraph{
    text-align: center;
}

.welcome__text-content{
    width: auto;
    margin: 0 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex-direction: column;
}

.content__p{

    font-size: 1.2rem;
    color: #000000c7;
    line-height: 1.5;
    max-width: 280px;
    margin: 1.5rem 0;

}

.LESSS{
    font-size: 1.2rem;
    color: red;
    font-weight: 600;
}

}

@media screen and (max-width: 1200px) {
    

.main__grid{
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 8rem;
}

}

@media screen and (max-width:930px){

    html{
        font-size: 10px;
    }

    .navbar{
        font-size: 0.8rem;
    }

    .navbar__logo{
        margin-left: 8rem;
    }

}

@media screen and (max-width:700px){

    .main__grid{
    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 8rem;
}

}

@media screen and (max-width: 754px) {

  .navbar{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background-color: #184892;
    height: 10rem;
    border: 0;
  }

  .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;
  }

  .navbar__title-logo-mobile{
    display: flex;
    align-items: center;
}

  .mobile-btn-fixed{
    position:fixed !important;
  }

  .mobile-title{
    display: block;
    margin: 1rem;
    font-size: 10px;
  }

  .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: 1.5rem;
    transition: color 0.3s ease;
  }

  .navbar__btn{
    display: flex;
    text-decoration: none;
    margin: 1rem 0;
    font-weight: 600;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    color: #fff;
  }

}

@media screen and (max-width: 500px){

    html{
        font-size: 8px;
    }

    .info-contatos{
        padding: 1rem 3rem;
    }

    .mobile-title{
        font-size: 0.9rem
    }

}

