@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;
}

p{
    margin: 0 !important;
    padding: 0 !important;
}

/*Faixa azul de contatos
*/

.info-contatos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #dbf4fd;
    padding: 1rem 8rem;
} 

.nav__mobile-btn{
    display: none;
}

.info__instagram, .info__linkedin{
    padding: 1.1rem;
}

.info__instagram:hover,
.info__linkedin:hover{
    background-color: #008698af;

}

.navbar__title-logo-mobile{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction:row;
}

.mobile-title{
    display: none;
    color: white;
}

.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__logo-mobile{
    display: none;
  }

.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__container{
  position: relative;
  width: 100%;
  /* fallback 16:9 */
  padding-bottom: 56.25%;
  overflow: hidden;
}

/* Usa aspect-ratio quando disponível e remove o padding-hack */
@supports (aspect-ratio: 16 / 9) {
  .header__container{
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
  }
}

.responsive-video{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.header__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__overlay{
  position: absolute;
  inset: 0;
  background-color: rgba(25, 68, 136, 0.606);
  z-index: 1;
}

.header__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__grid{
  position: absolute;
  inset: 0;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;           /* centraliza verticalmente */
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1rem, 5vw, 6rem);
}

/* Colunas esquerda/direita */
.header__left{
  display: grid;
  place-items: center;
}

.header__right{
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  gap: 1rem;
  color: #fff;
  max-height: 1024px;
  max-width: 80ch;                     /* limita largura do texto */
}

/* Título e tipografia (exemplo) */
.header__title{
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-align: left;
}

/* Logo: evite height fixa enorme; torne fluido */
.header__logo{
  width: min(40vw, 500px);
  height: auto;
}

.header__marca{ font-size: clamp(1rem, 1.6vw, 1.25rem); }
.header__bemvindo{ font-size: clamp(1.5rem, 3.5vw, 3rem); }

/* Lista e botão */
.header__topics{
  margin: .5rem 0 0;
  font-weight: 600;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
}

.header__topics li{
    margin: 0.5rem 0;
}

.header__btn{
  width: clamp(12rem, 20vw, 15rem);
  height: clamp(3rem, 7vw, 4rem);
  background-color: #008698ca;
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  cursor: pointer;
  transition: background-color .3s ease, transform .2s ease;
}

.header__btn:hover{
  background-color: #00c0d9;
  transform: translateY(-2px);
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8rem;
    font-family: 'Open Sans', sans-serif;
}

.main__margin{
    width: 85%;
}

.calsse{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

 .main__img{
    max-height: 50vw;
 }

.main__row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.titulo__cargo{
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff0000;
    margin-bottom: 0.5rem;
}

.titulo__nome{
    color: #184892;
    font-size: 3.55rem;
}

.main__article-stretch{
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: stretch;
}

.article-gap{
    margin: 1rem 0;
}

.main-font{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    color: rgb(107, 107, 107);
}

.main__article{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.main__btn-row{
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.main__btn{
    width: 15rem;
    height: 4rem;
    margin-bottom: 2rem;
    background-color: #008698af;
    color: #fff;
    border: none;
    border-radius: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.main__btn:hover{
    background-color: #006f7d;
}

.responsive-video-coluna{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    z-index: -2;
}

.responsive-video-coluna video{
    width: 100%;
    height: 90vh;
    object-fit: cover;
}

.main__coluna-gif{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 42.25%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.section__title{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0; 
}

.section__description{
    font-size: 1.2rem;
}

.section__name{
    color: red;
    font-weight: 600;

}

.main__linkedin{

}

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 QUERIES

*/

@media screen and (max-width: 1158px) {


html{
    font-size: 12px;
}

    .main-font{
        font-size: 16px;
    }

.header__right{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  color: #fff;
  max-width: 75ch;                     /* limita largura do texto */
}



}

@media screen and (max-width: 990px) {

    html{
        font-size: 8px;
    }

        .main-font{
        font-size: 10.5px;
    }

    .main__img{
        max-height: 40vw;
    }

}

@media screen and (max-width: 850px) {

    .main__row{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

}

@media screen and (max-width: 754px) {
  html { font-size: 6px; }

  .main-font { font-size: 10.5px; }

  .navbar{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background-color: #184892;
    height: 11rem;
    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{
    font-size: 8px;
    display: block;
    margin: 1rem;
  }

  .navbar__list{
    font-size: 12px;
    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: 9rem; 
    height: 9rem; 
    margin-left: 1rem;
    
  }

.navbar__logo-mobile{
    display: block;
    width: 25rem; 
    height: 25rem; 
    margin-left: 0;
    margin-bottom: 2rem;
  }

    .navbar__home{
    display: flex;
    text-decoration: none;
    margin: 1rem 0;
    font-weight: 600;
    font-size: 3rem;
    transition: color 0.3s ease;
  }

  .navbar__btn{
    display: flex;
    text-decoration: none;
    margin: 1.8rem 0;
    font-weight: 600;
    font-size: 2.3rem;
    transition: color 0.3s ease;
    color: #fff;
  }

  .main__img{
    max-height: 60vw;
  }

}
@media screen and (max-width: 564px) {

    .main-font{
        font-size: 12px;
    }


}

@media screen and (max-width: 540px) {

    .header__container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 */
    overflow: hidden;
}

@supports (aspect-ratio: 3 / 3) {
    .header__container {
        padding-bottom: 0;
        aspect-ratio: 3 / 3;
    }
}

.header__grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    padding: clamp(1rem, 5vw, 6rem);
}

.header__title{
  text-align: center;
}

.header__right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        color: #fff;
        max-width: 75ch;

}

}

@media screen and (max-height: 430px) {
  
    html { font-size: 6px; }

  .main-font { font-size: 10.5px; }

  .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;
    align-items: center;
    justify-content: center;
    padding: .4rem;
    border-radius: 3px;
    margin: 3rem;
    border: 0;
    color: rgb(0, 0, 0);
    background-color: #fff;
  }

  .mobile-btn-fixed{
    position:fixed !important;
  }

  .mobile-title{
    display: block;
    margin: 1rem;
  }

  .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: 5rem;
  }

.navbar__logo-mobile{
    display: block;
    width: 15rem; 
    height: 15rem; 
    margin-left: 0;
    margin-bottom: 2rem;
  }

  .navbar__home{
    display: flex;
    text-decoration: none;
    margin: 1.3rem 0;
    font-weight: 600;
    font-size: 2rem;
    transition: color 0.3s ease;
  }

  .navbar__btn{
    display: flex;
    text-decoration: none;
    margin: 1.3rem 0;
    font-weight: 600;
    font-size: 2rem;
    transition: color 0.3s ease;
    color: #fff;
  }

  .main__img{
    max-height: 60vw;
  }

}

@media screen and (max-width: 400px){

    .header__container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 */
    overflow: hidden;
}

@supports (aspect-ratio: 2 / 3) {
    .header__container {
        padding-bottom: 0;
        aspect-ratio: 2 / 3;
    }
} 

}