html,
body {
  height: 100%;
  font-family: "Alegreya Sans", sans-serif;
  background-color: #e9e8e6;
  --sb-track-color: #dedede;
  --sb-thumb-color: #232e33;
  --sb-size: 22px;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: var(--sb-size);
}

::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 1px;
}

::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 1px;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

/* NAVBAR STYLES - FIXED */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 1rem;
  font-family: "Alegreya Sans", sans-serif;
  background-color: #e9e8e6;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
  margin-left: auto;
}

.navbar-dark .navbar-nav .nav-link {
  color: #000;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #555;
}

.navbar a:link,
.navbar a:hover,
.navbar a:visited {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}

.navbar-toggler {
  border: none;
  padding: 0;
  width: 35px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 100%;
  height: 100%;
  background-image: none;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: 8px;
}

.navbar-toggler-icon::after {
  top: 18px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 14px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  top: 14px;
}

/* MAIN CONTENT STYLES */
.Container {
  padding-top: 100px; /* Ajustado para compensar a navbar fixa */
  min-height: calc(100vh - 100px);
}

.Wrapper {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-wrap: wrap;
}
.menu-divider {
  width: 60%;
  margin: 0.25rem auto;
  opacity: 0.3;
}

/* ===== BOTÃO DE INSTALAÇÃO DO PWA ===== */
#installBtn {
  display: none;               /* só aparece quando for possível instalar */
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 120, 255, 0.4);
  transition: all 0.25s ease;
  animation: glow 2s infinite alternate;
}

/* hover suave */
#installBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 150, 255, 0.6);
  background: linear-gradient(135deg, #0066dd, #00aaff);
}

/* brilho pulsante */
@keyframes glow {
  from {
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.3);
  }
  to {
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.8);
  }
}

/* em telas pequenas, move o botão mais pro centro */
@media (max-width: 600px) {
  #installBtn {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
}

/* Esconde a logo em telas maiores */
.nav-item.mobile-logo {
  display: none;
}

/* Mostra a logo apenas no mobile */
@media (max-width: 768px) {
  .nav-item.mobile-logo {
    display: block;
  }
}

.LeftContent {
  flex: 0 0 40%;
  background-image: url("./assets/img/left-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  border-radius: 10px;
  margin: 0 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.RightContent {
  flex: 0 0 55%;
  overflow-y: auto;
  padding: 2rem;
  padding-top: 0;
}


/* MOBILE STYLES */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e9e8e6;
    z-index: 999;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .navbar-nav {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
  }

  .nav-item {
    margin: 1rem 0;
  }

  #social {
    border-top: 1px solid #000;
    position: absolute;
    bottom: 0;
    width: 90%;
    margin: 5%;
  }

  #social p {
    font-size: 0.9rem;
    padding-top: 1rem;
  }

  .Wrapper {
    flex-direction: column;
  }

  .LeftContent {
    margin-bottom: 2rem;
  }

.RightContent {
  padding: 0;
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
}
}

/* CONTENT STYLES */
.content-box {
  padding: 40px;
  background: #f5f5f4;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
  font-family: Inter, system-ui, Arial;
  color: #111827;
  line-height: 1.7;
}

.content-box h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #0f172a;
  text-align: center;
}

.content-box h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #1e293b;
}

.content-box p {
  margin-top: 8px;
  color: #111827;
  font-size: 1rem;
}

.content-box blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #e2e8f0;
  border-left: 5px solid #475569;
  border-radius: 6px;
  color: #1e293b;
  font-style: italic;
}

.content-box ul {
  margin: 12px 0 0 20px;
  list-style: disc;
  color: #334155;
}

.content-box li {
  margin-top: 6px;
}

/* SIDEBAR STYLES */
.sidebar {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
  color: #1e293b;
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #475569;
  padding-bottom: 10px;
}

.sidebar-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-item h4 {
  color: #334155;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.sidebar-item p {
  font-size: 0.9rem;
  color: #64748b;
}

/* MEDIUM SCREENS */
@media (min-width: 992px) and (max-width: 1200px) {
  .LeftContent {
    flex: 0 0 35%;
  }

  .RightContent {
    flex: 0 0 60%;
  }
}
