* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", sans-serif;
  }
 /* ===== Navbar ===== */
/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 25, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.274);
  color: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ===== Logo ===== */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}
.logo span {
  color: #00bcd4;
}
.logo .tagline {
  font-size: 13px;
  color: #ccc;
}

/* ===== Links Desktop ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a {
  color: #002950;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}
.nav-links li a:hover {
  color: #00bcd4;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #00bcd4;
  transition: width 0.3s ease;
}
.nav-links li a:hover::after {
  width: 100%;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #00bcd4;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Side Menu ===== */
.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100vh;
  background: rgba(15, 15, 25, 0.6); /* Transparente */
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 30px 20px;
  transition: left 0.4s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.side-menu.active {
  left: 0;
  box-shadow: 4px 0 12px rgba(0,0,0,0.3);
}

.side-links {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}
.side-links li {
  margin: 15px 0;
}
.side-links li a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
}
.side-links li a:hover {
  color: #00bcd4;
}

/* ===== Side Footer ===== */
.side-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}
.side-footer .social-icons a {
  color: #00bcd4;
  margin: 0 5px;
  font-size: 1rem;
  transition: 0.3s;
}
.side-footer .social-icons a:hover {
  color: #fff;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Esconde menu normal */
  }
  .hamburger {
    display: flex; /* Mostra ícone */
  }
}


  /* post dst */

  .post-preview {
    transition: all 0.3s ease;
  }

  .post-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  

  .destaque-post {
background-image: url('img/proteção de dados.jpg');
background-size: cover;
background-position: center;
padding: 5rem 2rem;
position: relative;
color: white;
margin-bottom: 2rem;
border-radius: 12px;
overflow: hidden;
}

.destaque-post::before {
content: "";
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 1;
}

.destaque-conteudo {
position: relative;
z-index: 2;
max-width: 800px;
margin: auto;
text-align: center;
animation: slideUp 1.5s ease-out;
}

.destaque-conteudo h2 {
font-size: 2.2rem;
margin-bottom: 1rem;
}

.destaque-conteudo p {
font-size: 1.2rem;
margin-bottom: 1.5rem;
}

.btn-destaque {
background: #007BFF;
color: #1e1e2f;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: bold;
text-decoration: none;
transition: 0.3s;
}

.btn-destaque:hover {
background: #fff;
color: #007BFF;
transform: scale(1.05);
}

@keyframes slideUp {
from { transform: translateY(50px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
.destaque-conteudo h2 {
  font-size: 1.6rem;
}
.destaque-conteudo p {
  font-size: 1rem;
}
}
.destaque-post {
background-size: cover;
background-position: center;
position: relative;
border-radius: 12px;
overflow: hidden;
color: white;
padding: 5rem 2rem;
margin-bottom: 2rem;
}

.destaque-post::before {
content: "";
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 1;
}
.destaque-conteudo {
position: relative;
z-index: 2;
text-align: center;
max-width: 800px;
margin: auto;
}



  .footer {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: white;
    padding: 40px 20px 20px;
    font-family: "Segoe UI", sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-brand h2 {
    font-size: 24px;
  }
  
  .footer-links h3,
  .footer-social h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #d1e9ff;
  }
  
  .social-icons a img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    transition: transform 0.3s;
  }
  
  .social-icons a:hover img {
    transform: scale(1.2);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  .footer-contact h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  
  .footer-contact ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .footer-contact img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Deixa o ícone branco */
  }
  

/* ===== Botão Voltar ao Topo ===== */
#btnTopo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: #0d47a1;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

#btnTopo:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

#btnTopo.mostrar {
  opacity: 1;
  visibility: visible;
}
