* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
  }
  body {
    /* background-color: #ffffff; */
    background-image: url(../midia/bgIcon.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    
  }
  
  
  header {
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    /* border: 1px solid brown; */
    box-shadow: 5px 0 10px brown;
    justify-content: space-between;
    padding: 10px;
    z-index: 1;
    background-color: #fff;
  }
  
  header:hover {
    box-shadow: 0 0 10px darkgoldenrod;
  }
  
  header img {
    width: 200px;
  }
  
  header a {
    position: relative;
    float: left;
    list-style: none;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
    display: flex;
    color: #333;
    text-decoration: none;
  }
  
  .menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
  }
  
  .btnAcess {
    border-radius: 50px;
    padding: 6px;
    border: 3px solid #B95151;
    width: 90px;
    cursor: pointer;
    background-color: #fff;
  }
  
  .btnAcess:hover {
    background-color: #B95151;
    color: #fff;
  }
  
  /*side menu*/
  
  /* Ícone hamburguer */
  .menu-icon {
    font-size: 30px;
    cursor: pointer;
  }
  
  /* MENU LATERAL */
  .side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    /* Escondido por padrão */
    width: 250px;
    height: 100%;
    background-color: white;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease-in-out;
    padding-top: 20px;
    z-index: 1100;
  }
  
  /* Mostrar menu */
  .side-menu.open {
    left: 0;
  }
  
  /* Botão fechar */
  .close-btn {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
  }
  
  /* Estilização dos links do menu */
  .side-menu {
    list-style: none;
    padding: 20px;
  }
  
  .side-menu a {
    padding: 15px;
    text-align: center;
  }
  
  .side-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    display: block;
    transition: 0.3s;
  }
  
  .side-menu a:hover {
    color: brown;
  }
  
  .overlay {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo semi-transparente */
    z-index: 999;
    /* Fica abaixo do menu */
  }
  
  /* Mostrar o overlay quando o menu estiver aberto */
  .overlay.show {
    display: block;
  } 
  
  /*rodapé*/
  footer {
    box-shadow: 0px 5px 10px #333;
    background-color: #fff;
    width: 100%;
    height: auto;
    padding: 20px 0;
    margin-top: 50px;
  }
  
  .icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }
  
  .icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
  }
  
  .icons img {
    width: 100%;
    max-width: 60px;
    transition: transform 0.3s ease;
  }
  
  .icons img:hover {
    transform: scale(1.1);
  }
  
  #imgfoot {
    transition: transform 0.3s ease;
  }
  
  #imgfoot:hover {
    transform: scale(1.1);
  }
  
  footer p {
    margin-top: 20px;
    text-align: center;
    color: rgb(0, 68, 255)
  }
  

  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: brown;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    /* Escondido por padrão */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .back-to-top:hover {
    background-color: darkgoldenrod;
    transform: scale(1.1);
  }
  


main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.protocolo {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 5px 0 10px #333;
}
.protocolo:hover {
    box-shadow: 5px 0 10px brown;
}

.protocolo h2 {
    margin-top: 0;
    color: #2c3e50;
}

.protocolo p {
    color: #555;
    line-height: 1.5;
}

.protocolo a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: brown;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.protocolo a:hover {
    background-color: darkgoldenrod;
}



@media (max-width: 768px) {

  body {
    /* background-color: #ffffff; */
    background-image: url(../midia/bgIcon.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    align-items: center;
    
  }

  .menu-icon {
    display: block;
  }

  /* Menu mobile */
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0px 5px 10px #ccc;
    padding: 10px;
    text-align: center;
  }

  .menu.active {
    display: flex;
    animation: slideIn 0.3s ease-in-out;
  }

  header a {
    padding: 10px;
  }

  #mainhead {
    display: none;
  }

  .icons a img {
    width: 40px;
    height: 40px;
  }

  .videoContainer video {
    margin-top: 1px;
  }

  .videoContainer {
    padding-top: 36%;
  }

  .btnYear button {
    flex: 1 1 45%;
    font-size: 13px;
  }

  /* -------- AJUSTE DO BLOCO INTERATIVO (sidebar + fundo + conteúdo) -------- */

  .heroy {
    height: auto;
    flex-direction: column;
    padding: 20px;
    background-attachment: scroll;
    background-size: contain;
  }

  .sidebars {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
  }

  .sidebars a {
    font-size: 18px;
  }

  .sidebars a::after {
    display: none; /* Linha hover removida no mobile para não quebrar layout */
  }

  .content {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .content h1 {
    font-size: 45px;
  }
  #openChat {
    bottom: 90px;
    right: 15px;
  }

  #chatBox {
    right: 10px;
    width: 95vw;
  }
}
