/* =============================================
   ALANGOLA.AO — menu.css (navbar + slider + FAQ + notificações)
   ============================================= */

/* === NAVBAR === */
.navbar {
  position:fixed; top:0; width:100%; z-index:1000;
  background:rgba(26,58,92,.96); backdrop-filter:blur(10px);
  border-bottom:2px solid rgba(232,160,32,.3);
  transition:var(--transition);
}
.nav-container {
  max-width:1300px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; gap:24px; height:70px;
}
.nav-brand { display:flex; align-items:center; }
.nav-logo-text {
  font-family:'Russo One', sans-serif; font-size:1.8rem;
  color:#fff; letter-spacing:-1px;
}
.nav-logo-text span { color:var(--accent); }
.nav-menu {
  display:flex; gap:4px; margin-left:auto;
}
.nav-link {
  color:rgba(255,255,255,.85); padding:8px 14px;
  border-radius:6px; font-size:0.88rem; font-weight:500;
  transition:var(--transition);
}
.nav-link:hover, .nav-link.active { color:#fff; background:rgba(255,255,255,.12); }
.nav-actions { display:flex; align-items:center; gap:12px; margin-left:16px; }

.nav-user { position:relative; cursor:pointer; }
.nav-avatar { width:38px; height:38px; border-radius:50%; object-fit:cover; border:2px solid var(--accent); }
.nav-dropdown {
  position:absolute; right:0; top:calc(100% + 10px); min-width:180px;
  background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-md);
  overflow:hidden; display:none; z-index:999;
}
.nav-user:hover .nav-dropdown { display:block; }
.nav-dropdown a {
  display:flex; align-items:center; gap:10px; padding:12px 18px;
  color:var(--text); font-size:0.88rem; border-bottom:1px solid var(--border);
}
.nav-dropdown a:hover { background:var(--body-bg); }
.nav-dropdown a.text-danger { color:var(--error); }

/* ═══════════════════════════════════════════
   NAVBAR — Mobile Toggle
═══════════════════════════════════════════ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,.9);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  z-index: 1001;
  transition: color .2s;
}
.nav-toggle:hover { color: var(--accent); }

.nav-divider {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 10px !important;
  margin-top: 6px;
}
.nav-divider span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  font-weight: 600;
}
.nav-mobile-only { display: none; }
.nav-badge {
  background: var(--error);
  color: #fff;
  font-size: .68rem;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 700;
  vertical-align: middle;
}
.nav-link-cta { color: var(--accent) !important; font-weight: 700 !important; }

/* ═══════════════════════════════════════════
   SLIDER
═══════════════════════════════════════════ */
.slider-section {
  position: relative;
  margin-top: 70px;
  height: 90vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--dark);
}
.slider-wrap {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #1a5276 100%);
}
.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.55);
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,61,88,.65) 0%, rgba(14,61,88,.2) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 60px;
}
.slide-content h1 {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.slide-content h1 span { color: var(--accent); }
.slide-content p {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 520px;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  line-height: 1;
}
.slider-nav:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 2px 16px rgba(235,99,22,.08);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color .2s, background .2s;
  font-family: inherit;
}
.faq-question:hover { background: var(--body-bg); }
.faq-item.open .faq-question { color: var(--accent); }
.faq-q-text { flex: 1; }
.faq-icon-wrap {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--body-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.faq-item.open .faq-icon-wrap { background: var(--accent); }
.faq-icon {
  font-size: .8rem;
  color: var(--text-muted);
  transition: transform .3s ease, color .2s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: .94rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-answer-inner { padding-bottom: 20px; }
.faq-cta {
  margin-top: 48px;
  text-align: center;
  background: var(--body-bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
}
.faq-cta-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.faq-cta-icon i { font-size: 1.6rem; color: #fff; }
.faq-cta h3 { color: var(--primary); margin-bottom: 10px; }
.faq-cta p  { color: var(--text-muted); margin-bottom: 22px; }

/* ═══════════════════════════════════════════
   NOTIFICAÇÕES — Dropdown Desktop
═══════════════════════════════════════════ */
.notif-wrapper { position: relative; }
.notif-toggle-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.notif-toggle-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.notif-dot {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 9px;
  height: 9px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid var(--dark);
}
.notif-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 340px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  z-index: 1050;
  overflow: hidden;
  animation: notifFadeIn .18s ease;
}
.notif-panel.open { display: block; }
@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.notif-panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
  align-items: flex-start;
}
.notif-item:hover { background: var(--body-bg); }
.notif-item.unread { background: #f0f7ff; }
.notif-item.unread:hover { background: #e4f0ff; }
.notif-avatar { flex-shrink: 0; }
.notif-body { flex: 1; min-width: 0; }
.notif-text { font-size:.88rem; color:var(--text); }
.notif-time { font-size:.78rem; color:var(--text-muted); margin-top:3px; }
.notif-loading { padding: 28px; text-align: center; color: var(--text-muted); font-size: .88rem; }

/* =============================================
   RESPONSIVE — menu/navbar/slider/FAQ
   ============================================= */
@media (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-toggle { display: flex !important; align-items: center; justify-content: center; order: 3; }
  .nav-actions { display: none !important; }
  .nav-mobile-only { display: list-item !important; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    background: var(--dark);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 2px;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    display: flex !important;
    animation: slideDown .22s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-menu .nav-link {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1rem;
  }
  .nav-menu li:last-child .nav-link { border-bottom: none; }

  /* Slider mobile */
  .slider-section { height: 70vh; min-height: 380px; }
  .slide-content { padding: 0 24px; }
  .slider-nav { width: 38px; height: 38px; font-size: 1.1rem; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }

  /* Notif Panel — mobile overlay */
  .notif-panel { display: none !important; }
  .notif-wrapper { display: none; }

  /* FAQ */
  .faq-question { padding: 16px 18px; font-size: .95rem; }
}

@media (max-width: 480px) {
  .slider-section { height: 65vh; }
  .nav-container { padding: 0 14px; gap: 10px; }
  .slide-content h1 { font-size: 1.5rem; }
  .slide-content p { font-size: .92rem; }
}
