/* VESTIAIRE — structure generale de la page */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--v-bg);
  color: var(--v-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

/* --- Barra lateral (espresso + ouro, alinhada à marca) --------------- */
.app-sidebar {
  width: var(--v-sidebar-width);
  flex: 0 0 var(--v-sidebar-width);
  background:
    linear-gradient(180deg, #241f18 0%, #1a1612 55%, #14110e 100%);
  color: var(--v-primary-light, #f5edd8);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(197, 163, 90, 0.18);
}

.sidebar-brand {
  min-height: var(--v-topbar-height);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--v-space-2);
  padding: 0.85rem var(--v-space-3);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f5edd8;
  border-bottom: 1px solid rgba(197, 163, 90, 0.22);
  background: linear-gradient(180deg, rgba(197, 163, 90, 0.14) 0%, transparent 100%);
}

.sidebar-brand i { font-size: 1.25rem; color: var(--v-primary); }

.sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--v-space-2) 0;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
  padding: 9px var(--v-space-3);
  color: rgba(245, 237, 216, 0.72);
  border-left: 3px solid transparent;
  transition: var(--v-transition);
}

.sidebar-nav .nav-link:hover {
  background: rgba(197, 163, 90, 0.12);
  color: #f5edd8;
}

.sidebar-nav .nav-link.active {
  background: rgba(197, 163, 90, 0.2);
  border-left-color: var(--v-primary);
  color: #f5edd8;
  font-weight: 600;
}

.sidebar-nav .nav-link i { width: 18px; text-align: center; color: var(--v-primary); }

.sidebar-footer {
  padding: var(--v-space-2) var(--v-space-3);
  border-top: 1px solid rgba(197, 163, 90, 0.22);
  font-size: 0.75rem;
  color: rgba(245, 237, 216, 0.55);
}

.sidebar-ext {
  font-size: 0.7rem;
  opacity: 0.65;
}

.sidebar-loja-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--v-radius-sm);
  background: linear-gradient(135deg, #e0c878 0%, #c5a35a 50%, #8f7538 100%);
  color: #1a1814;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  border: 1px solid rgba(245, 237, 216, 0.25);
}

.sidebar-loja-btn:hover {
  background: linear-gradient(135deg, #f0d98a 0%, #d4b46a 50%, #a08442 100%);
  color: #0c0a08;
}

/* --- Zone principale -------------------------------------------------- */
.app-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-topbar {
  height: var(--v-topbar-height);
  background: var(--v-surface);
  border-bottom: 1px solid var(--v-border);
  display: flex;
  align-items: center;
  gap: var(--v-space-3);
  padding: 0 var(--v-space-4);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.topbar-search {
  flex: 1 1 auto;
  max-width: 520px;
  position: relative;
}

.topbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--v-text-muted);
}

.topbar-search .form-control {
  padding-left: 34px;
  background: var(--v-bg);
  border-color: transparent;
}

.topbar-search .form-control:focus {
  background: #fff;
  border-color: var(--v-primary);
  box-shadow: 0 0 0 3px var(--v-primary-light);
}

.sidebar-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 auto;
  --bs-btn-color: #4a3024;
  --bs-btn-border-color: #4a3024;
  --bs-btn-hover-color: #f5edd8;
  --bs-btn-hover-bg: #3d2b1f;
  --bs-btn-hover-border-color: #3d2b1f;
  --bs-btn-active-color: #f5edd8;
  --bs-btn-active-bg: #3d2b1f;
  --bs-btn-active-border-color: #3d2b1f;
  --bs-btn-focus-shadow-rgb: 61, 43, 31;
  color: #4a3024;
  border-color: #4a3024;
  background: transparent;
}
.sidebar-toggle:hover,
.sidebar-toggle:focus,
.sidebar-toggle:focus-visible,
.sidebar-toggle:active,
.sidebar-toggle[aria-expanded="true"] {
  color: #f5edd8;
  background: #3d2b1f;
  border-color: #3d2b1f;
  box-shadow: none;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--v-space-2);
}

.app-content {
  flex: 1 1 auto;
  padding: var(--v-space-4);
  max-width: 1600px;
  width: 100%;
}

.app-footer {
  padding: var(--v-space-3) var(--v-space-4);
  border-top: 1px solid var(--v-border);
  background: var(--v-surface);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--v-text-muted);
}
.ryu-credit {
  display: block;
  margin: 0;
  font-size: 5px;
  letter-spacing: 0.04em;
  color: var(--v-text-muted);
  opacity: 0.7;
  font-weight: 400;
}
.ryu-reg {
  font-size: 0.62em;
  vertical-align: super;
  margin-left: 0.08em;
}
.app-footer .ryu-credit {
  flex: 1 1 100%;
  text-align: right;
  margin: 0.15rem 0 0;
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 991.98px) {
  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1040;
    transform: translateX(-100%);
    transition: transform 120ms ease;
    box-shadow: var(--v-shadow-lg);
  }

  .app-sidebar.open { transform: translateX(0); }

  .app-content { padding: var(--v-space-3); }
}

.breadcrumb { font-size: 0.85rem; }

/* Logo empresa — alinhado ao site público (sem medalhão) */
.logo-marque {
  display: block;
  width: 80px;
  height: 80px;
  max-height: 80px;
  max-width: 80px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
