@import url('colors.css');
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px; /* altura do header/menu fixo */
}


*{
    margin: 0;
    padding: 0;
}

#home{
    height: 100vh;
    display: flex;
    justify-content: center;
    font-family: 'Inria Serif';
}

#sobre_nos{
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    font-family: 'Inria Serif';
}

#servicos{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Inria Serif';
}

#serviços_realizados{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-direction: column;
    font-family: 'Inria Serif';
  
}

#feedbacks{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Inria Serif';
    gap: 50px;
}

#contato{
    height: 100vh;
    display: flex;
    justify-content: center;
    font-family: 'Inria Serif';
}

.painel {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--gray-text);
    border-radius: 20px;
    margin-top: 1rem;
    width: 85%;
    height: 7%;
    padding: 15px;
    position: fixed;
    z-index: 10;
}

.painel nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.painel nav a{
    color: var(--white);
    text-decoration: none;
    
}

.painel .centro_nav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    font-size: 21px;
    gap: 3.5rem;
}

.painel .centro_nav a{
    position: relative;          
    transition: color 0.3s ease; 
    
}

.painel .centro_nav a::after {
  content: "";
  position: absolute;
  bottom: 0;    
  top: 26px;              
  left: 50%;
  transform: translateX(-50%); 
  width: 0%;                   
  height: 2px;                 
  background-color: var(--orange-dark); 
  transition: width 0.8s ease; 
}

.painel .centro_nav a:hover::after {
  width: 130%;                 
}

.painel .botao{
    display: flex;
    justify-content: center;
    align-items: center;
}

.painel .botao a{
  display: flex;
  justify-content: center;
  align-items: center;
    background-color: var(--white);
    width: 110px;
    border-radius: 20px;
    margin-right: 2rem;
    padding: 10px 20px;
    color: var(--orange-text);
    font-size: 18px;
    transition: 0.7s;
}

.painel .botao a:hover{
    cursor: pointer;
    transition: 1s;
    scale: 1.1;
    background-color: var(--orange-dark);
    color: var(--white);
}

.painel a img{
    margin-top: 0.7rem;
    width: 150px;
    height: 65px;
    margin-left: 2rem;
}

/* ======== 1100px a 1250px ======== */
@media screen and (min-width: 1100px) and (max-width: 1250px) {
  .painel {
    width: 90%;
    padding: 12px;
  }

  .painel .centro_nav {
    gap: 2.5rem;
    font-size: 17px;
  }

  .painel .botao a {
    padding: 8px 12px;
    width: 100px;
    font-size: 15px;
  }

  .painel a img {
    width: 130px;
    height: auto;
  }
}


/* ======== 1251px a 1400px ======== */
@media screen and (min-width: 1251px) and (max-width: 1400px) {
  .painel {
    width: 85%;
    padding: 15px;
  }

  .painel .centro_nav {
    gap: 3rem;
    font-size: 20px;
  }

  .painel .botao a {
    width: 110px;
    font-size: 18px;
  }

  .painel a img {
    width: 140px;
  }
}


/* ======== 1401px a 1500px ======== */
@media screen and (min-width: 1400px) and (max-width: 1500px) {
  .painel {
    width: 80%;
  }

  .painel .centro_nav {
    gap: 3.5rem;
    font-size: 21px;
  }

  .painel .botao a {
    width: 115px;
    font-size: 18px;
  }

  .painel a img {
    width: 150px;
  }
}


/* ======== acima de 1500px ======== */
@media screen and (min-width: 1500px) {
  .painel {
    width: 85%;
  }

  .painel .centro_nav {
    gap: 4rem;
    font-size: 22px;
  }

  .painel .botao a {
    width: 120px;
    font-size: 19px;
  }

  .painel a img {
    width: 160px;
  }
}


/* ================= MOBILE: Navbar responsiva ================= */
@media (max-width: 768px) {

  .painel {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between; 
    align-items: center;
    width: 85%;
    padding: 10px 15px;
    height: auto;
    border-radius: px;
  }

  .painel a img {
    width: 120px;
    height: auto;
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
  }

  
  .centro_nav {
    position: fixed;
    top: 30px;
    right: -400px; 
    width: 160px;
    height: 90vh;
    background-color: var(--gray-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 20;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    overflow: hidden;
  }

  .centro_nav.active {
    display: flex;
    flex-direction: column;
    right: 0;
  }

  
  .centro_nav a {
    display: block;
    font-size: 20px;
    text-align: center;
    width: 60%;
    padding: 10px;
    color: var(--white);
    text-decoration: none;
    border-bottom: 3px solid var(--orange-dark);
  }

  .centro_nav a:hover::after {
    display: none; 
  }

  .painel .botao {
    display: none;
  }

 
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;  
    z-index: 15;
    pointer-events: none;
}

.overlay.active {
    display: none;
    pointer-events: auto; 
}
}



