/* ================================================================
   FUTURA NA MÃO — Shared Desktop Preview Styles
   Importar em cada página desktop:
   <link rel="stylesheet" href="shared.css">
   ================================================================ */

/* FONTS */
@font-face { font-family: 'Gotham'; src: url('../Identidade Futura/Fontes/Gotham-Font/Gotham-Font/Gotham-Black.otf') format('opentype'); font-weight: 900; }
@font-face { font-family: 'Gotham'; src: url('../Identidade Futura/Fontes/Gotham-Font/Gotham-Font/GothamBold.ttf') format('truetype'); font-weight: 700; }
@font-face { font-family: 'Gotham'; src: url('../Identidade Futura/Fontes/Gotham-Font/Gotham-Font/GothamMedium.ttf') format('truetype'); font-weight: 500; }
@font-face { font-family: 'Gotham'; src: url('../Identidade Futura/Fontes/Gotham-Font/Gotham-Font/GothamBook.ttf') format('truetype'); font-weight: 400; }

/* ---- TOKENS ---- */
:root {
  --blue-primary: #0088CC;
  --blue-dark:    #164397;
  --blue-navy:    #1B4279;
  --blue-medium:  #1D4F91;
  --yellow:       #FFC901;
  --cyan:         #00A9CE;
  --turquoise:    #02B5A4;
  --white:        #FFFFFF;
  --gray-light:   #F5F7FA;
  --gray-mid:     #E0E6ED;
  --gray-body:    #5A6473;
  --text-heading: #1A2332;
  --radius-pill:  9999px;
  --radius-card:  16px;
  --font:         'Open Sans', sans-serif;
  --font-heading: 'Gotham', 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: linear-gradient(135deg, #0D1B3E 0%, #1B4279 40%, #0088CC 100%);
  min-height: 100vh;
  font-family: var(--font);
  padding: 40px 0 80px;
}

/* ================================================================
   PRESENTATION HEADER
   ================================================================ */
.presentation-header {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 220px 0 40px;
}
.presentation-header .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.presentation-header .brand img {
  height: 36px;
  filter: brightness(0) invert(1);
}
.presentation-header h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.presentation-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.badge-desktop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
  margin-top: 14px;
}

/* ================================================================
   SECTION LABEL
   ================================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0 220px 0 40px;
}
.section-label-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 4px 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-label-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.section-label-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-left: auto;
}

/* ================================================================
   BROWSER FRAME
   ================================================================ */
.frames-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 0 220px 80px 40px;
}
.browser-wrap { width: 100%; }
.browser-frame {
  width: 1200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
}
.browser-bar {
  background: #2C2C2E;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-dot.red    { background: #FF5F57; }
.browser-dot.yellow { background: #FFBD2E; }
.browser-dot.green  { background: #28C840; }
.browser-url {
  flex: 1;
  height: 26px;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0 12px;
}
.browser-content {
  display: flex;
  height: 680px;
  overflow: hidden;
}

/* ================================================================
   APP SIDEBAR
   ================================================================ */
.app-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--blue-navy);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-logo img {
  height: 28px;
  filter: brightness(0) invert(1);
}
.sidebar-logo-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}
.sidebar-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
}
.sidebar-nav-section {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 10px 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 2px;
}
.nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.nav-item.active {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,136,204,0.35);
}
.nav-item svg { flex-shrink: 0; opacity: 0.8; }
.nav-item.active svg { opacity: 1; }
.nav-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 8px 10px; }
.nav-badge {
  margin-left: auto;
  background: var(--blue-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 2px 6px;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
}
.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-footer-info { flex: 1; min-width: 0; }
.sidebar-footer-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-footer-city {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  margin-top: 1px;
}

/* ================================================================
   APP MAIN / TOP BAR / CONTENT
   ================================================================ */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--gray-light);
  min-width: 0;
}
.top-bar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  flex-shrink: 0;
}
.top-bar-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}
.top-bar-search {
  flex: 1;
  max-width: 340px;
  height: 38px;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}
.top-bar-search span { font-size: 13px; color: #AAB0BC; }
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  color: var(--gray-body);
}
.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #E83D3D;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.badge-parceiro {
  background: var(--yellow);
  color: #1A2332;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.top-bar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* ================================================================
   CARD BASE
   ================================================================ */
.card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--gray-mid);
  overflow: hidden;
}
.card-header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}
.card-link {
  font-size: 12px;
  color: var(--blue-primary);
  font-weight: 600;
}

/* ================================================================
   FILTRO SIDEBAR (shared entre Produtos, Cores)
   ================================================================ */
.filtros-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--gray-mid);
  padding: 18px 16px;
  overflow-y: auto;
}
.filtro-group { margin-bottom: 20px; }
.filtro-title {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.filtro-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
}
.filtro-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.filtro-check.checked {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
}
.filtro-label { font-size: 12px; color: var(--text-heading); }
.filtro-count {
  margin-left: auto;
  font-size: 10px;
  color: var(--gray-body);
  background: var(--gray-light);
  border-radius: 99px;
  padding: 1px 6px;
}
.filtros-btn-limpar {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  background: transparent;
  font-size: 12px;
  color: var(--gray-body);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
}

/* ================================================================
   PAGINAÇÃO (shared)
   ================================================================ */
.paginacao {
  background: #fff;
  border-top: 1px solid var(--gray-mid);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}
.pag-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--gray-mid);
  background: #fff;
  font-size: 12px;
  color: var(--gray-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
}
.pag-btn.active { background: var(--blue-primary); border-color: var(--blue-primary); color: #fff; }

/* ================================================================
   FLOATING SIDE NAV (navegação rápida entre previews)
   ================================================================ */
.side-nav {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  background: rgba(8,18,42,.9); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  padding: 12px 8px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,.45);
  min-width: 168px;
}
.side-nav-header {
  font-family: 'Gotham','Montserrat',sans-serif;
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,.35);
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 2px 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 4px;
}
.side-nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 10px;
  color: rgba(255,255,255,.55); text-decoration: none;
  font-family: 'Gotham','Montserrat',sans-serif;
  font-size: 12px; font-weight: 500;
  transition: all .18s; white-space: nowrap;
}
.side-nav-item:hover { color: white; background: rgba(255,255,255,.08); }
.side-nav-item.active { color: white; background: #0088CC; box-shadow: 0 2px 12px rgba(0,136,204,.4); }
.side-nav-item svg { flex-shrink: 0; }
.side-nav-sep { height: 1px; background: rgba(255,255,255,.08); margin: 4px 8px; }

/* ================================================================
   SCROLL HINT
   ================================================================ */
.scroll-hint {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: rgba(255,255,255,.7);
  font-family: 'Open Sans',sans-serif; font-size: 13px;
  pointer-events: none; transition: opacity .4s;
}
.scroll-hint.hidden { opacity: 0; }
.scroll-arrow {
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounceDown 1.6s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: .65; }
  50%       { transform: translateY(7px); opacity: 1; }
}
