body {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
  color: #fff;
  overflow-y: auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

/* Header */
.topo-pagina {
  background: #002c53;
  display: flex;
  align-items: center;
  justify-content: space-around; /* Logo left, menu right side by side */
  padding: 10px 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1100;
  user-select: none;
  gap: 20px;
  flex-wrap: nowrap;
}

.menu-nav {
    display: flex;
}

/* Logo */
.logo,
.logo2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 50px 0 0;
  flex-shrink: 0;
}

.logo img,
.logo2 img {
  width: 100px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  transition: transform 0.3s ease;
  user-select: none;
}

.logo img:hover,
.logo2 img:hover {
  transform: scale(1.05);
}

/* Navigation links (desktop) */
.links {
  display: flex; /* show on desktop */
  width: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  user-select: none;
  flex-grow: 1;
}

.links li {
  position: relative;
  list-style: none;
}

.links li a {
  font-weight: 600;
  font-size: 1rem;
  color: inherit; /* keep color */
  padding: 10px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.links li a:hover,
.links li a:focus {
  background-color: #145374;
  outline: none;
}

/* Dropdown submenus */
.li-mostrar:hover .diminuir,
.li-mostrar:focus-within .diminuir {
  display: flex;
  flex-direction: column;
  background-color: #375a7f;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  z-index: 1100;
}

.diminuir {
  display: none;
  padding: 8px 0;
}

.diminuir li {
  white-space: nowrap;
  margin: 0;
  padding: 8px 20px;
  transition: background-color 0.3s ease;
}

.diminuir li:hover,
.diminuir li:focus-within {
  background-color: #0f4a75;
}

.diminuir li a {
  color: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

/* Hamburger menu */
.hamburger {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

#btn-hamburger {
  font-size: 24px;
  color: #e1e9f0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

#btn-hamburger:hover,
#btn-hamburger:focus {
  color: #22d3ee;
  outline: none;
}

/* Sidebar menu */
#menu-lateral {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background-color: #375a7f;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.6);
  z-index: 1200;
  overflow-y: auto;
  transition: transform 0.3s ease;
  display: none;
  flex-direction: column;
  padding: 20px;
  transition: all 0.3s ease;
}

#menu-lateral.show {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}


/* Sidebar close button */
#btn-fechar-hamb {
    border-radius: 100%;
    background-color: red;
    border: 1px solid rgb(8, 17, 39);
    text-align: center;
    padding: 0px;
    margin: 0px;
    position: fixed;
    left: 60%;
    top: 1%;
}

#logo-menu-lat {
    display: flex !important;
    justify-content: center;
}

/* Menu items in sidebar */
#menu-lateral li {
  /* border-bottom: 1px solid rgba(255 255 255 / 0.15); */
  margin: 0;
  padding: 12px 20px;
}

#menu-lateral li a,
.menu-titulo {
  color: #e1e9f0;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  text-align: left;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

#menu-lateral li a:hover,
#menu-lateral li button:hover {
  background-color: #145374;
  color: #cce7ff;
  border-radius: 6px;
}

/* Slideshow container fixed size */
.capa {
  background: #002c53;
  max-height: 80vh;
  position: relative;
  overflow: hidden;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  height: 450px; /* fixed height */
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Slideshow container stretch */
.slideshow-container {
  width: 100%;
  height: 100%;
  position: relative;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navigation buttons position fixed vertical middle, inside the .capa container */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  z-index: 10;
  user-select: none;
}

.prev {
  left: 15px;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 15px;
  border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Slides */
.mySlides {
  height: 100%;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}

.mySlides.active {
  display: flex;
  position: relative;
}

/* Images */
.img-capa {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  user-select: none;
}

/* The dots/bullets/indicators */
.pontos {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  user-select: none;
  z-index: 15;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Container produtos */
.container-produtos {
  text-align: center;
  margin: 60px 15px 40px;
  border-radius: 8px;
  background: #002c53;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  color: #e1e9f0;
}

.container-produtos h2 {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

/* Box produtos flex-wrap for responsiveness */
.box-produtos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 40px;
  gap: 20px;
}

/* Produtos cards */
.produtos {
  flex: 1 1 280px;
  max-width: 350px;
  text-align: left;
  padding: 20px;
  border: 1px solid rgba(203, 200, 200, 0.25);
  border-radius: 10px;
  background: #003a6f;
  color: #cce7ff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
  user-select: none;
}

.produtos:hover,
.produtos:focus-within {
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.8);
}

.produtos h3,
#quem-somos h2,
#parceiros h2,
#parceiros h4 {
  text-align: center;
  margin-bottom: 16px;
  font-weight: 700;
  color: #22d3ee;
  letter-spacing: 0.05em;
}

.produtos ul {
  padding-left: 18px;
}

.produtos li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.4;
}

/* Imagens exemplo */
.imagens-exemplo {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.imagens-exemplo img {
  height: 100px;
  /* height: 40px; */
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  user-select: none;
}

.imagens-exemplo img:hover,
.imagens-exemplo img:focus {
  transform: scale(3.1);
  outline: none;
}

/* Quem somos */
#quem-somos {
  text-align: justify;
  margin: 60px 15px 40px;
  background: #002c53;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  color: #cce7ff;
  user-select: text;
}

.box-quem-somos {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Parceiros */
#parceiros {
  margin: 80px auto 60px;
  border-radius: 12px;
  background: #002c53;
  max-width: 1200px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.7);
  color: #cce7ff;
  overflow: hidden;
}

.box-parceiros {
  display: flex;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: auto;
}


.item-parceiro {
  border: 1px solid rgba(203, 200, 200, 0.25);
  border-radius: 12px;
  padding: 15px;
  background: #003a6f;
  max-width: 180px;
  min-width: 200px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s ease;
  user-select: none;
}

.item-parceiro:hover,
.item-parceiro:focus-within {
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.7);
}

.item-parceiro img {
  width: 100px;
  margin-bottom: 12px;
  user-select: none;
}

.item-parceiro h4 {
  font-weight: 700;
  color: #22d3ee;
}

/* Avaliações e Planos placeholders */
.avaliacoes,
.planos {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background: #002c53;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  color: #cce7ff;
  min-height: 120px;
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
  border-top: 1px solid white;
  text-align: center;
  background: #003a6f;
  color: #e1e9f0;
  user-select: none;
  /* padding: 20px 0; */
  font-size: 16px;
}

.principal-footer {
  font-size: 18px !important;
  padding: 18px 40px;
  margin: 5px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  text-align: center;
}

.box-footer {
  text-align: center;
  flex: 1 1 200px;
}

.mapa-site ul,
.ferramentas ul,
.redes-sociais {
  padding-left: 0;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.mapa-site ul li,
.ferramentas ul li {
  margin: 6px 12px;
}

.mapa-site .logo2 {
  padding-left: 0;
  margin-top: 12px;
}

.redes-sociais {
  font-size: 28px;
  justify-content: center;
  gap: 20px;
}

.redes-sociais a {
  color: #e1e9f0;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.redes-sociais a:hover,
.redes-sociais a:focus {
  color: #22d3ee;
  outline: none;
}

.copy-rigth {
    width: 100%;
  border-top: 1px solid white;
  padding: 15px 0;
  font-weight: 500;
  user-select: text;
  /* max-width: 1200px; */
  margin: 0 auto;
}

/* Responsive breakpoint */
@media (max-width: 805px) {
    .menu-nav{
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .logo,
    .logo2{
        margin-left: 10%;
    }
    .hamburger {
        margin-right: 10%;
    }
  /* Hide desktop nav links */
  .links {
    display: none !important;
  }

  /* Show hamburger */
  .hamburger {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    /* width: auto; */
  }

  /* Logo stays left */
  .logo,
  .logo2 {
    justify-content: flex-start;
  }
}

/* Large screens: show nav links, hide hamburger & sidebar */
@media (min-width: 806px) {
  #menu-lateral {
    display: none !important;
  }

  .hamburger {
    display: none !important;
  }

  .links {
    display: flex !important;
  }
}