/* ============================================
   CetNet - Portal do Colaborador CETURB
   Design System & Custom Styles
   ============================================ */

:root {
    --brand-pink: #ED1556;
    --brand-blue: #00AEEF;
    --brand-gray: #58595B;
    --brand-dark-gray: #3a3b3c;
    --brand-white: #ffffff;
    --brand-bg-light: #f4f7f9;
    --brand-pink-light: rgba(237, 21, 86, 0.08);
    --brand-blue-light: rgba(0, 174, 239, 0.08);
    --brand-pink-glow: rgba(237, 21, 86, 0.25);
    --brand-blue-glow: rgba(0, 174, 239, 0.25);
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --header-height: 68px;
    --card-radius: 20px;
    --card-shadow: 0 2px 16px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
    --transition-default: all 0.3s ease;
}

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

html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: var(--brand-dark-gray);
    background: var(--brand-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,.h1 { font-size: 32px; font-weight: 700; font-family: 'Poppins', sans-serif; }
h2,.h2 { font-size: 26px; font-weight: 600; font-family: 'Poppins', sans-serif; }
h3,.h3 { font-size: 20px; font-weight: 600; font-family: 'Poppins', sans-serif; }
small,.small { font-size: 13px; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }

#blazor-error-ui {
    background: var(--brand-pink); color: white; padding: 0.8rem 1.5rem;
    position: fixed; bottom: 0; width: 100%; z-index: 9999; text-align: center; display: none;
}
#blazor-error-ui .reload { color: white; text-decoration: underline; }
#blazor-error-ui .dismiss { cursor: pointer; margin-left: 1rem; }

.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; }
.blazor-error-boundary::after { content: "Ocorreu um erro."; }

.app-wrapper { display: flex; min-height: 100vh; background: var(--brand-bg-light); }

/* SIDEBAR */
.sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: var(--sidebar-width); background: var(--brand-white);
    border-right: 1px solid rgba(0,0,0,0.05); z-index: 1040;
    transition: var(--transition-default); display: flex; flex-direction: column;
    box-shadow: 2px 0 20px rgba(0,0,0,0.03); overflow: hidden;
}
.sidebar.collapsed { width: var(--sidebar-collapsed-width); }

.sidebar-logo {
    padding: 20px; display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.05); min-height: 80px;
}
.sidebar-logo img { max-width: 140px; height: auto; transition: var(--transition-default); }
.sidebar.collapsed .sidebar-logo img { max-width: 36px; }

.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sidebar-nav .nav-item { position: relative; margin: 2px 8px; }
.sidebar-nav .nav-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    border-radius: 12px; color: var(--brand-gray); font-weight: 500;
    font-size: 14px; transition: var(--transition-default);
    text-decoration: none; white-space: nowrap; overflow: hidden;
}
.sidebar-nav .nav-link i { font-size: 20px; min-width: 24px; text-align: center; transition: var(--transition-default); }
.sidebar-nav .nav-link:hover { background: var(--brand-blue-light); color: var(--brand-blue); }
.sidebar-nav .nav-link.active {
    background: var(--brand-blue-light); color: var(--brand-blue);
    font-weight: 600; border-left: 3px solid var(--brand-pink); margin-left: -3px;
}
.sidebar-nav .nav-link.active i { color: var(--brand-blue); }
.sidebar.collapsed .nav-link span { opacity: 0; width: 0; }
.sidebar.collapsed .nav-link { justify-content: center; padding: 12px; }

.sidebar-toggle {
    padding: 12px; border-top: 1px solid rgba(0,0,0,0.05);
    display: flex; justify-content: center;
}
.sidebar-toggle button {
    background: none; border: none; color: var(--brand-gray);
    cursor: pointer; padding: 8px; border-radius: 8px;
    transition: var(--transition-default); font-size: 18px;
}
.sidebar-toggle button:hover { background: var(--brand-bg-light); color: var(--brand-blue); }

/* MAIN CONTENT */
.main-content { flex: 1; margin-left: var(--sidebar-width); transition: var(--transition-default); min-height: 100vh; }
.main-content.expanded { margin-left: var(--sidebar-collapsed-width); }

/* HEADER GLASSMORPHISM */
.top-header {
    position: sticky; top: 0; z-index: 1030; height: var(--header-height);
    background: rgba(255,255,255,0.72); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex; align-items: center; padding: 0 28px; gap: 20px;
}
.header-greeting { font-weight: 600; font-size: 18px; color: var(--brand-dark-gray); white-space: nowrap; }
.header-greeting span { color: var(--brand-pink); }

.header-search { flex: 1; max-width: 520px; margin: 0 auto; position: relative; }
.header-search input {
    width: 100%; padding: 10px 16px 10px 44px;
    border: 2px solid rgba(0,0,0,0.06); border-radius: 14px;
    background: var(--brand-bg-light); font-size: 14px;
    color: var(--brand-dark-gray); transition: var(--transition-default); outline: none;
}
.header-search input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px var(--brand-blue-glow); background: var(--brand-white); }
.header-search input::placeholder { color: var(--brand-gray); opacity: 0.6; }
.header-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--brand-gray); font-size: 16px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.notification-btn {
    position: relative; background: none; border: none; font-size: 22px;
    color: var(--brand-gray); cursor: pointer; padding: 6px; border-radius: 10px;
    transition: var(--transition-default);
}
.notification-btn:hover { background: var(--brand-bg-light); color: var(--brand-blue); }
.notification-dot {
    position: absolute; top: 4px; right: 4px; width: 10px; height: 10px;
    background: var(--brand-pink); border-radius: 50%; border: 2px solid white;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--brand-pink-glow); }
    70% { box-shadow: 0 0 0 8px rgba(237,21,86,0); }
    100% { box-shadow: 0 0 0 0 rgba(237,21,86,0); }
}

.user-avatar {
    position: relative; width: 40px; height: 40px; border-radius: 12px;
    overflow: hidden; cursor: pointer; transition: var(--transition-default);
    background: var(--brand-blue-light); display: flex; align-items: center;
    justify-content: center; font-weight: 700; color: var(--brand-blue); font-size: 16px;
}
.user-avatar:hover { transform: scale(1.05); }
.user-avatar .online-dot {
    position: absolute; bottom: 0; right: 0; width: 12px; height: 12px;
    background: #22c55e; border-radius: 50%; border: 2px solid white;
}

/* DASHBOARD */
.dashboard-content { padding: 24px 28px; }

/* BENTO GRID */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento-card {
    background: var(--brand-white); border-radius: var(--card-radius);
    box-shadow: var(--card-shadow); padding: 24px;
    transition: var(--transition-default); overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.col-span-12 { grid-column: span 12; }
.col-span-8 { grid-column: span 8; }
.col-span-6 { grid-column: span 6; }
.col-span-4 { grid-column: span 4; }
.col-span-3 { grid-column: span 3; }

.card-header-custom { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-header-custom h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--brand-dark-gray); }
.card-header-custom .card-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.card-icon.pink { background: var(--brand-pink-light); color: var(--brand-pink); }
.card-icon.blue { background: var(--brand-blue-light); color: var(--brand-blue); }

/* HERO CAROUSEL */
.hero-carousel { border-radius: var(--card-radius); overflow: hidden; position: relative; }
.hero-slide {
    min-height: 220px; display: flex; align-items: center; justify-content: center;
    padding: 40px; position: relative;
    background: linear-gradient(135deg, var(--brand-blue) 0%, #0077b6 50%, var(--brand-pink) 100%);
    color: white;
}
.hero-slide.slide-2 { background: linear-gradient(135deg, var(--brand-pink) 0%, #c9184a 50%, #ff6b6b 100%); }
.hero-slide.slide-3 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.hero-content { text-align: center; z-index: 2; }
.hero-content h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 28px; margin-bottom: 12px; }
.hero-content p { font-size: 16px; opacity: 0.9; margin-bottom: 20px; }

.btn-cta {
    display: inline-block; padding: 12px 28px;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 12px;
    color: white; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: var(--transition-default); cursor: pointer;
}
.btn-cta:hover { background: rgba(255,255,255,0.35); transform: scale(1.02); color: white; }

.carousel-control-prev, .carousel-control-next {
    width: 44px; height: 44px; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); border-radius: 12px; top: 50%;
    transform: translateY(-50%); opacity: 0.8; margin: 0 12px; position: absolute;
}
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; background: rgba(255,255,255,0.35); }
.carousel-indicators { bottom: 12px; }
.carousel-indicators [data-bs-target] {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.5); margin: 0 4px;
}
.carousel-indicators .active { background: white; width: 24px; border-radius: 4px; }

/* QUOTE */
.quote-card { background: linear-gradient(135deg, var(--brand-bg-light) 0%, rgba(0,174,239,0.05) 100%); border-left: 4px solid var(--brand-blue); }
.quote-text { font-style: italic; font-size: 16px; color: var(--brand-dark-gray); line-height: 1.6; }
.quote-author { font-size: 13px; color: var(--brand-gray); margin-top: 8px; }

/* QUICK ACCESS */
.quick-access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-access-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 8px; border-radius: 16px; cursor: pointer;
    transition: var(--transition-default); text-decoration: none; color: var(--brand-dark-gray);
}
.quick-access-item:hover { background: var(--brand-bg-light); transform: scale(1.05); color: var(--brand-dark-gray); }
.quick-access-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; transition: var(--transition-default);
}
.quick-access-icon.blue { background: var(--brand-blue-light); color: var(--brand-blue); }
.quick-access-icon.pink { background: var(--brand-pink-light); color: var(--brand-pink); }
.quick-access-item:hover .quick-access-icon { transform: scale(1.1); }
.quick-access-label { font-size: 12px; font-weight: 500; text-align: center; }

/* NOTICES */
.notice-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 12px;
    border-radius: 12px; transition: var(--transition-default);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: var(--brand-bg-light); }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.notice-dot.urgent { background: var(--brand-pink); }
.notice-dot.info { background: var(--brand-blue); }
.notice-dot.normal { background: #22c55e; }
.notice-content h4 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--brand-dark-gray); }
.notice-content p { font-size: 12px; color: var(--brand-gray); margin: 0; }

/* BIRTHDAY STORIES */
.birthday-stories { display: flex; gap: 16px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.birthday-stories::-webkit-scrollbar { display: none; }
.birthday-story { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; cursor: pointer; transition: var(--transition-default); }
.birthday-story:hover { transform: scale(1.05); }
.birthday-avatar {
    width: 64px; height: 64px; border-radius: 50%; padding: 3px;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-blue)); position: relative;
}
.birthday-avatar.today { animation: birthday-ring 2s infinite; }
@keyframes birthday-ring {
    0%, 100% { box-shadow: 0 0 0 0 var(--brand-pink-glow); }
    50% { box-shadow: 0 0 0 6px rgba(237,21,86,0); }
}
.birthday-avatar .avatar-placeholder {
    width: 100%; height: 100%; border-radius: 50%; background: var(--brand-bg-light);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px; color: var(--brand-blue); border: 2px solid white;
}
.birthday-name { font-size: 11px; font-weight: 500; text-align: center; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--brand-dark-gray); }
.birthday-dept { font-size: 10px; color: var(--brand-gray); text-align: center; }

/* CONFETTI */
@keyframes confetti-fall {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
.confetti-piece { position: fixed; width: 10px; height: 10px; top: -10px; z-index: 9999; animation: confetti-fall 3s ease-in-out forwards; }

/* APPROVAL */
.approval-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 10px; transition: var(--transition-default);
}
.approval-item:hover { border-color: var(--brand-blue-glow); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.approval-info h4 { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.approval-info p { font-size: 12px; color: var(--brand-gray); margin: 0; }
.approval-actions { display: flex; gap: 8px; }
.btn-approve {
    padding: 6px 16px; border-radius: 8px; border: none; font-size: 12px;
    font-weight: 600; cursor: pointer; transition: var(--transition-default);
    background: var(--brand-pink); color: white;
}
.btn-approve:hover { background: #d4124e; transform: scale(1.02); box-shadow: 0 2px 8px var(--brand-pink-glow); }
.btn-reject {
    padding: 6px 16px; border-radius: 8px; border: 1px solid var(--brand-gray);
    background: transparent; font-size: 12px; font-weight: 600;
    color: var(--brand-gray); cursor: pointer; transition: var(--transition-default);
}
.btn-reject:hover { border-color: var(--brand-pink); color: var(--brand-pink); }

/* TICKETS */
.ticket-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.ticket-item:last-child { border-bottom: none; }
.ticket-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; background: var(--brand-blue-light); color: var(--brand-blue); flex-shrink: 0;
}
.ticket-info { flex: 1; }
.ticket-info h4 { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.ticket-progress { height: 4px; background: var(--brand-bg-light); border-radius: 2px; overflow: hidden; }
.ticket-progress-bar { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink)); transition: var(--transition-default); }
.badge-status { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.badge-progress { background: var(--brand-blue-light); color: var(--brand-blue); }
.badge-waiting { background: rgba(245,158,11,0.1); color: #f59e0b; }
.badge-done { background: rgba(34,197,94,0.1); color: #22c55e; }

/* MISSION */
.mission-card { background: linear-gradient(135deg, var(--brand-dark-gray) 0%, #2d2e30 100%); color: white; }
.mission-card h3 { color: white; }
.mission-text { font-size: 15px; line-height: 1.7; opacity: 0.9; }

/* CHART */
.chart-container { position: relative; width: 100%; height: 260px; }

/* SERVICE CARDS */
.service-card {
    display: flex; align-items: flex-start; gap: 16px; padding: 16px;
    border-radius: 14px; border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-default); margin-bottom: 12px;
}
.service-card:last-child { margin-bottom: 0; }
.service-card:hover { border-color: var(--brand-blue-glow); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.service-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.service-info h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.service-info p { font-size: 13px; color: var(--brand-gray); margin: 0 0 4px; }
.service-info .service-company { font-size: 11px; color: var(--brand-blue); font-weight: 500; }

/* BUTTONS */
.btn-brand-pink {
    background: var(--brand-pink); color: white; border: none;
    padding: 10px 24px; border-radius: 12px; font-weight: 600;
    font-size: 14px; cursor: pointer; transition: var(--transition-default);
}
.btn-brand-pink:hover { background: #d4124e; transform: scale(1.02); box-shadow: 0 4px 16px var(--brand-pink-glow); color: white; }
.btn-brand-blue {
    background: var(--brand-blue); color: white; border: none;
    padding: 10px 24px; border-radius: 12px; font-weight: 600;
    font-size: 14px; cursor: pointer; transition: var(--transition-default);
}
.btn-brand-blue:hover { background: #009ad6; transform: scale(1.02); box-shadow: 0 4px 16px var(--brand-blue-glow); color: white; }
.btn-outline-brand {
    background: transparent; color: var(--brand-blue); border: 2px solid var(--brand-blue);
    padding: 10px 24px; border-radius: 12px; font-weight: 600;
    font-size: 14px; cursor: pointer; transition: var(--transition-default);
}
.btn-outline-brand:hover { background: var(--brand-blue); color: white; }

/* PAGE HEADER */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 28px; font-weight: 700; color: var(--brand-dark-gray); margin: 0 0 4px; }
.page-header p { color: var(--brand-gray); font-size: 14px; margin: 0; }

/* INFO CARD */
.info-card {
    background: var(--brand-white); border-radius: var(--card-radius);
    box-shadow: var(--card-shadow); padding: 28px;
    transition: var(--transition-default); margin-bottom: 20px;
}
.info-card:hover { box-shadow: var(--card-shadow-hover); }

/* SYSTEM CARDS */
.system-card {
    background: var(--brand-white); border-radius: var(--card-radius);
    box-shadow: var(--card-shadow); padding: 24px; text-align: center;
    transition: var(--transition-default);
}
.system-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.system-card .system-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 16px;
}
.system-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.system-card p { font-size: 13px; color: var(--brand-gray); margin-bottom: 16px; }

/* RAMAL CARDS */
.ramal-card {
    background: var(--brand-white); border-radius: 16px;
    box-shadow: var(--card-shadow); padding: 20px;
    transition: var(--transition-default);
}
.ramal-card:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.ramal-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--brand-dark-gray); }
.ramal-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 13px;
}
.ramal-item:last-child { border-bottom: none; }

/* CHAT */
.chat-container {
    display: flex; height: calc(100vh - var(--header-height) - 120px);
    background: var(--brand-white); border-radius: var(--card-radius);
    box-shadow: var(--card-shadow); overflow: hidden;
}
.chat-sidebar { width: 280px; border-right: 1px solid rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.chat-sidebar-header { padding: 16px; border-bottom: 1px solid rgba(0,0,0,0.06); font-weight: 600; font-size: 16px; }
.chat-contact {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    cursor: pointer; transition: var(--transition-default);
}
.chat-contact:hover, .chat-contact.active { background: var(--brand-bg-light); }
.chat-contact .contact-avatar {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--brand-blue-light); display: flex; align-items: center;
    justify-content: center; font-weight: 600; color: var(--brand-blue); flex-shrink: 0;
}
.chat-contact .contact-info h4 { font-size: 14px; font-weight: 600; margin: 0; }
.chat-contact .contact-info p { font-size: 12px; color: var(--brand-gray); margin: 0; }
.chat-main { flex: 1; display: flex; flex-direction: column; }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-message { max-width: 70%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.chat-message.sent { align-self: flex-end; background: var(--brand-blue); color: white; border-bottom-right-radius: 4px; }
.chat-message.received { align-self: flex-start; background: var(--brand-bg-light); color: var(--brand-dark-gray); border-bottom-left-radius: 4px; }
.chat-input-area { padding: 16px; border-top: 1px solid rgba(0,0,0,0.06); display: flex; gap: 12px; }
.chat-input-area input {
    flex: 1; padding: 10px 16px; border: 2px solid rgba(0,0,0,0.06);
    border-radius: 12px; font-size: 14px; outline: none; transition: var(--transition-default);
}
.chat-input-area input:focus { border-color: var(--brand-blue); }
.chat-input-area button {
    padding: 10px 20px; border-radius: 12px; border: none;
    background: var(--brand-blue); color: white; font-weight: 600;
    cursor: pointer; transition: var(--transition-default);
}
.chat-input-area button:hover { background: #009ad6; }

/* INFOMAP */
.infomap-step {
    display: flex; align-items: center; gap: 20px; padding: 20px;
    border-radius: 16px; border: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 16px; transition: var(--transition-default); position: relative;
}
.infomap-step:hover { border-color: var(--brand-blue); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.infomap-step::after {
    content: ''; position: absolute; bottom: -16px; left: 50%;
    transform: translateX(-50%); width: 2px; height: 16px; background: var(--brand-blue);
}
.infomap-step:last-child::after { display: none; }
.step-number {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 20px; flex-shrink: 0;
}
.step-content h4 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.step-content p { font-size: 13px; color: var(--brand-gray); margin: 0; }

/* MOBILE */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1035; backdrop-filter: blur(4px); }
.sidebar-overlay.show { display: block; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--brand-dark-gray); cursor: pointer; padding: 4px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .bento-grid { grid-template-columns: repeat(6, 1fr); }
    .col-span-8 { grid-column: span 6; }
    .col-span-4 { grid-column: span 6; }
    .col-span-3 { grid-column: span 3; }
}
@media (max-width: 992px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .sidebar-overlay.show { display: block; }
    .main-content, .main-content.expanded { margin-left: 0; }
    .mobile-menu-btn { display: block; }
    .bento-grid { grid-template-columns: repeat(6, 1fr); }
    .col-span-8 { grid-column: span 6; }
    .col-span-4 { grid-column: span 6; }
    .col-span-3 { grid-column: span 3; }
    .chat-sidebar { width: 200px; }
    .header-greeting { display: none; }
}
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .col-span-12, .col-span-8, .col-span-6, .col-span-4, .col-span-3 { grid-column: span 1; }
    .dashboard-content { padding: 16px; }
    .top-header { padding: 0 16px; }
    .quick-access-grid { grid-template-columns: repeat(3, 1fr); }
    .chat-container { flex-direction: column; height: auto; }
    .chat-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); max-height: 200px; overflow-y: auto; }
    .chat-messages { min-height: 300px; }
    .hero-content h2 { font-size: 22px; }
    .hero-slide { min-height: 180px; padding: 24px; }
}
@media (max-width: 576px) {
    .quick-access-grid { grid-template-columns: repeat(2, 1fr); }
    .header-search { display: none; }
    .approval-item { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* UTILITIES */
.text-pink { color: var(--brand-pink) !important; }
.text-blue { color: var(--brand-blue) !important; }
.text-gray { color: var(--brand-gray) !important; }
.text-dark-gray { color: var(--brand-dark-gray) !important; }
.bg-pink-light { background: var(--brand-pink-light) !important; }
.bg-blue-light { background: var(--brand-blue-light) !important; }

.section-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-gray); margin: 8px 16px 4px; }

.glass-card {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--card-radius); box-shadow: var(--card-shadow);
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
.slide-in-left { animation: slideInLeft 0.4s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Setor cards */
.setor-card {
    background: var(--brand-white); border-radius: var(--card-radius);
    box-shadow: var(--card-shadow); padding: 24px;
    transition: var(--transition-default); text-align: center;
}
.setor-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.setor-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 12px;
}
