/* ============================================================
   Static Navbar — clean, full-bleed, navy with gold accents
   No floating/glass; just a serious, proportioned bar.
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.20);
  color: var(--color-white);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.12), 0 4px 14px rgba(0, 0, 0, 0.18);
  /* no glass, no shadow halo — just a confident solid bar fixed at the top */
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--navbar-height);
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Brand =================================================== */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.brand-logo:hover { opacity: 0.92; }

.brand-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.1) drop-shadow(0 1px 4px rgba(212, 175, 55, 0.25));
}

.brand-logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.brand-logo-text .logo-accent { color: var(--color-gold); }

@media (max-width: 480px) {
  .brand-logo-text { display: none; }   /* logo image alone on tiny screens */
}

/* Desktop nav links ======================================= */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link i {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-link:hover { color: var(--color-white); background: rgba(255, 255, 255, 0.04); }
.nav-link:hover i { opacity: 1; }
.nav-link.active {
  color: var(--color-gold);
  font-weight: 600;
  background: rgba(212, 175, 55, 0.10);
}
.nav-link.active i { opacity: 1; transform: scale(1.05); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.95rem; right: 0.95rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* Right actions =========================================== */
.nav-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .nav-actions { display: inline-flex; }
}

/* Mobile burger — rendered OUTSIDE .nav-actions so it stays visible on mobile */
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--color-gold);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(212, 175, 55, 0.30);
}
.mobile-menu-btn:active { transform: scale(0.96); }
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

/* Guest "Entrar" ghost link */
.nav-link-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.nav-link-ghost:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.30);
}

/* Guest "Começar Grátis" gold CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-gold) 0%, #b88f1f 100%);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.nav-cta i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.32);
}
.nav-cta:hover i { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) {
  .nav-cta, .nav-cta i { transition: none; }
  .nav-cta:hover { transform: none; }
  .nav-cta:hover i { transform: none; }
}

/* Mobile burger =========================================== */
.mobile-menu-btn {
  /* (see top of file — styles moved up so they live next to .nav-actions) */
  display: none;
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

/* Avatar + dropdown ======================================= */
.user-profile-menu { position: relative; }

.avatar-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: transparent;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.avatar-btn:hover {
  background: var(--color-gold-10);
  transform: scale(1.04);
}
.avatar-initials {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-gold);
  position: relative;
  z-index: 1;
}
.avatar-btn {
  position: relative;
}
.avatar-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px var(--color-navy), 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: avatar-pulse 1.8s ease-out infinite;
}
@keyframes avatar-pulse {
  0%   { box-shadow: 0 0 0 2px var(--color-navy), 0 0 0 0   rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 2px var(--color-navy), 0 0 0 8px rgba(34, 197, 94, 0);   }
  100% { box-shadow: 0 0 0 2px var(--color-navy), 0 0 0 0   rgba(34, 197, 94, 0);   }
}
@media (prefers-reduced-motion: reduce) {
  .avatar-pulse { animation: none; }
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 260px;
  background: var(--color-navy);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-card);
  padding: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 1100;
  display: flex;
  flex-direction: column;
}
.nav-dropdown.hidden { display: none; }

.dropdown-header { padding: 0.4rem 0.5rem 0.6rem; }
.dropdown-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-header span {
  display: block;
  font-size: 0.7rem;
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}

.nav-dropdown hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0.4rem 0;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-gold);
}
.nav-dropdown a i, .nav-dropdown a svg {
  color: var(--color-gold);
  width: 16px; height: 16px;
}
.nav-dropdown .logout-link { color: var(--color-danger); }
.nav-dropdown .logout-link:hover {
  background: rgba(220, 38, 38, 0.10);
  color: var(--color-danger);
}

/* ============================================================
   Mobile side drawer — kept from previous design
   ============================================================ */

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo);
}
.nav-drawer-overlay.visible { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: 92vw;
  height: 100dvh;
  height: 100vh;
  background: var(--color-navy);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.4);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease-out-expo);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }
@media (min-width: 1024px) {
  .nav-drawer, .nav-drawer-overlay { display: none !important; }
}

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem;
  gap: 0;
  min-height: 100%;
}
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
}
.nav-drawer-close {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}
.nav-drawer-close i { width: 18px; height: 18px; }

.nav-drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 0.5rem 0 0.5rem;
}

.nav-drawer-section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(212, 175, 55, 0.65);
  display: block;
  margin-bottom: 0.5rem;
  padding: 0 0.25rem;
}

.nav-drawer-links,
.nav-drawer-account {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  min-height: 44px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}
.nav-drawer-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-gold);
}
.nav-drawer-link.active {
  background: rgba(212, 175, 55, 0.10);
  color: var(--color-gold);
  font-weight: 600;
  border-left: 3px solid var(--color-gold);
  border-radius: 4px 12px 12px 4px;
}
.nav-drawer-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-gold-10);
  color: var(--color-gold);
  flex-shrink: 0;
}
.nav-drawer-link.active .nav-drawer-link-icon {
  background: var(--color-gold);
  color: var(--color-navy);
}
.nav-drawer-link-icon i { width: 16px; height: 16px; }
.nav-drawer-link-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  margin-left: auto;
}
.nav-drawer-link i, .nav-drawer-link svg {
  width: 18px; height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
}
.nav-drawer-pill {
  background: var(--color-gold-10);
  border: 1px solid var(--color-gold-20);
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.nav-drawer-pill i, .nav-drawer-pill svg { color: var(--color-gold); }

.nav-drawer-logout { color: rgba(220, 38, 38, 0.85) !important; }
.nav-drawer-logout i, .nav-drawer-logout svg { color: rgba(220, 38, 38, 0.85) !important; }
.nav-drawer-logout:hover {
  background: rgba(220, 38, 38, 0.08) !important;
  color: var(--color-danger) !important;
}

/* ============================================================
   Footer — premium, structured, multi-column with brand band
   ============================================================ */

.footer {
  background: linear-gradient(180deg, #0a1623 0%, var(--color-navy) 100%);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  margin-top: 0;
  position: relative;
  animation: footerFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.55) 50%,
    transparent 100%);
  opacity: 0.6;
}

@keyframes footerFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Entrada suave das colunas quando o footer entra em vista */
.footer-col { animation: footerColIn 0.6s ease-out both; }
.footer-col:nth-child(1) { animation-delay: 0.08s; }
.footer-col:nth-child(2) { animation-delay: 0.16s; }
.footer-col:nth-child(3) { animation-delay: 0.24s; }
.footer-col:nth-child(4) { animation-delay: 0.32s; }

@keyframes footerColIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

@media (prefers-reduced-motion: reduce) {
  .footer, .footer-col { animation: none !important; }
  .footer::before { display: none; }
}

/* Top brand band */
.footer-band {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 56px 0 48px;
}
.footer-band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-band-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand-block .brand-logo { font-size: 1.2rem; }
.footer-brand-block .brand-logo-img { height: 42px; }

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 56ch;
  margin: 0;
}

.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 0.25rem;
}
.footer-stat {
  display: flex;
  flex-direction: column;
}
.footer-stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.footer-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.35rem;
}

/* Middle link columns */
.footer-main {
  padding: 48px 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col h4::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 0.35rem 0;
  border-radius: 6px;
  transition:
    color 0.3s ease,
    padding-left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-col a:hover {
  color: var(--color-gold);
  padding-left: 6px;
  transform: translateX(2px);
}
.footer-col a i, .footer-col a svg {
  width: 14px; height: 14px;
  color: var(--color-gold);
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-col a:hover i, .footer-col a:hover svg { opacity: 1; transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .footer-col a,
  .footer-col a i,
  .footer-col a svg { transition: none !important; }
  .footer-col a:hover { transform: none; }
}

/* Newsletter column */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.footer-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-input);
  color: var(--color-white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.footer-newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-newsletter-input:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
}
.footer-newsletter-btn {
  padding: 0.6rem 0.9rem;
  background: var(--color-gold);
  color: var(--color-navy);
  border: none;
  border-radius: var(--radius-input);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.footer-newsletter-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.footer-newsletter-btn i { width: 14px; height: 14px; }

/* Social row */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  position: relative;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  overflow: hidden;
  /* suave transição base */
  transition:
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link i, .social-link svg {
  width: 18px; height: 18px;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Onda sutil ao passar o rato — brilho dourado varrendo o botão */
.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.45s ease, transform 0.55s ease;
  z-index: 1;
  pointer-events: none;
}

/* Tooltip discreto acima do ícone */
.social-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  padding: 4px 10px;
  background: rgba(13, 27, 42, 0.95);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
}
.social-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(13, 27, 42, 0.95);
}

/* HOVER base (suave) */
.social-link:hover {
  transform: translateY(-4px);
  color: var(--color-navy);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  border-color: transparent;
}
.social-link:hover::before { opacity: 1; transform: scale(1); }
.social-link:hover i, .social-link:hover svg { transform: scale(1.12) rotate(-4deg); }
.social-link:hover .social-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Instagram — gradiente característico */
.social-instagram:hover {
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  box-shadow: 0 10px 26px -6px rgba(214, 41, 118, 0.55);
}

/* Facebook — azul */
.social-facebook:hover {
  background: #1877F2;
  box-shadow: 0 10px 26px -6px rgba(24, 119, 242, 0.55);
}

/* WhatsApp — verde */
.social-whatsapp:hover {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
}

/* Animação de entrada suave quando o footer aparece */
.footer-socials .social-link {
  opacity: 0;
  animation: footerSocialIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.footer-socials .social-link:nth-child(1) { animation-delay: 0.05s; }
.footer-socials .social-link:nth-child(2) { animation-delay: 0.15s; }
.footer-socials .social-link:nth-child(3) { animation-delay: 0.25s; }

@keyframes footerSocialIn {
  from { opacity: 0; transform: translateY(10px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0)   scale(1);   }
}

@media (prefers-reduced-motion: reduce) {
  .social-link,
  .social-link i,
  .social-link svg,
  .social-link::before,
  .social-tooltip {
    transition: none !important;
    animation: none !important;
  }
  .social-link:hover { transform: translateY(-2px); }
  .social-link:hover i, .social-link:hover svg { transform: none; }
  .social-tooltip { display: none; }
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}
.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.85rem;
  align-items: center;
  font-size: 0.82rem;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--color-gold); }
.footer-legal .divider {
  color: rgba(255, 255, 255, 0.18);
}

/* Kubodev credit — the "desenvolvido por" badge */
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 18px 0 22px;
  text-align: center;
}
.footer-credit p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-credit a {
  color: var(--color-gold);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease, filter 0.2s ease;
}
.footer-credit a:hover {
  color: #f0c850;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.35));
}
.footer-credit a i, .footer-credit a svg {
  width: 13px; height: 13px;
}

/* ============================================================
   Admin Navbar — dedicated top bar for /admin/* pages
   Replaces the public Navbar() on admin pages. Same visual
   language (navy + gold, fixed at top) but a tighter link set.
   ============================================================ */

.navbar-admin {
  /* inherits .navbar fixed positioning + colors */
}

.navbar-admin-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
  margin: 0 1rem;
}
@media (min-width: 1024px) {
  .navbar-admin-links { display: flex; }
}

.navbar-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.navbar-admin-link i {
  width: 15px;
  height: 15px;
  color: var(--color-gold);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.navbar-admin-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}
.navbar-admin-link:hover i { opacity: 1; }
.navbar-admin-link.active {
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.10);
}
.navbar-admin-link.active i { opacity: 1; }

.navbar-admin-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.30);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.navbar-admin-pill:hover {
  background: rgba(212, 175, 55, 0.22);
  transform: translateY(-1px);
}
.navbar-admin-pill i {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}
@media (min-width: 1024px) {
  .navbar-admin-pill { display: inline-flex; }
}

/* Hide the brand text on small screens in the admin bar too. */
@media (max-width: 480px) {
  .navbar-admin .brand-logo-text { display: none; }
}

/* ============================================================
   Student Navbar — dedicated top bar for /dashboard/* pages
   ============================================================ */

.navbar-student {
  /* inherits .navbar */
}

.navbar-student-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
  margin: 0 1rem;
}
@media (min-width: 1024px) {
  .navbar-student-links { display: flex; }
}

.navbar-student-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.navbar-student-link i {
  width: 15px;
  height: 15px;
  color: var(--color-gold);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.navbar-student-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}
.navbar-student-link:hover i { opacity: 1; }
.navbar-student-link.active {
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.10);
}
.navbar-student-link.active i { opacity: 1; }

/* Plan chip — small pill that surfaces the user's current plan */
.navbar-student-plan {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.navbar-student-plan i { width: 13px; height: 13px; }
.navbar-student-plan--gratuito {
  background: rgba(100, 116, 139, 0.20);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(100, 116, 139, 0.35);
}
.navbar-student-plan--gratuito i { color: rgba(255, 255, 255, 0.7); }

.navbar-student-plan--semanal,
.navbar-student-plan--mensal,
.navbar-student-plan--elite,
.navbar-student-plan--familia {
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-gold);
  border-color: rgba(212, 175, 55, 0.40);
}
.navbar-student-plan--semanal i,
.navbar-student-plan--mensal i,
.navbar-student-plan--elite i,
.navbar-student-plan--familia i { color: var(--color-gold); }

@media (min-width: 1024px) {
  .navbar-student-plan { display: inline-flex; }
}

.navbar-student-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.navbar-student-pill:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.navbar-student-pill i { width: 14px; height: 14px; color: var(--color-gold); }
@media (min-width: 1024px) {
  .navbar-student-pill { display: inline-flex; }
  .navbar-student-pill-label { display: inline; }
}
@media (max-width: 1023px) {
  .navbar-student-pill { padding: 0.5rem; }
}
@media (max-width: 480px) {
  .navbar-student .brand-logo-text { display: none; }
}

/* ============================================================
   Honours reduced-motion for the new nav links
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .navbar-admin-link,
  .navbar-admin-pill,
  .navbar-student-link,
  .navbar-student-pill {
    transition: none !important;
  }
  .navbar-admin-pill:hover,
  .navbar-student-pill:hover {
    transform: none !important;
  }
}
