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

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #fff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 5%);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 10%), 0 1px 2px -1px rgb(0 0 0 / 10%);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition: all 0.3s ease;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}













@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.navbar {
    position: fixed;
    top: -10px !important;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgb(0 0 0 / 8%);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(0 0 0 / 5%);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    gap: 2rem;
}

.main-content {
    margin-top: 60px;
    min-height: calc(100vh - 80px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo {
    width: 50px !important;
    height: 50px !important;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgb(25 118 210 / 8%);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgb(25 118 210 / 12%);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.nav-badge {
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgb(25 118 210 / 30%);
    transition: all 0.3s ease;
}

.nav-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(25 118 210 / 40%);
}

.user-info {
    color: var(--gray-700);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgb(25 118 210 / 5%);
    border-radius: 25px;
    border: 1px solid rgb(25 118 210 / 10%);
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgb(25 118 210 / 8%);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-auth .btn {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: var(--gray-700);
    border: 1px solid rgb(25 118 210 / 20%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
}

.nav-auth .btn:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-color: rgb(25 118 210 / 30%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-600);
    margin: 3px 0;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.section {
    display: none;
    min-height: 100vh;
    padding-top: 70px;
}

.section.active {
    display: block;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    min-height: calc(100vh - 70px);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray-600);
    font-weight: 500;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-details p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.social-links h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.dashboard-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.status-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--gray-600);
    font-weight: 500;
}

.admin-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.admin-chart {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.admin-chart h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.recent-orders {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.recent-orders h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.chamados-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chamado-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.chamado-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.chamado-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.chamado-id {
    font-weight: 600;
    color: var(--primary-color);
}

.chamado-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-aberto {
    background: var(--warning-color);
    color: var(--white);
}

.status-em-andamento {
    background: var(--secondary-color);
    color: var(--white);
}

.status-concluido {
    background: var(--success-color);
    color: var(--white);
}

.status-cancelado {
    background: var(--error-color);
    color: var(--white);
}

.status-nao_autorizado_cliente {
    background: #ff6b35;
    color: var(--white);
}

.status-atendimento_nao_produtivo {
    background: #8b5a2b;
    color: var(--white);
}

.chamado-info {
    margin-bottom: 1rem;
}

.chamado-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.chamado-info p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.chamado-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 50%);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-slide-in 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

.modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

.modal-content.large {
    max-width: 800px;
}

.modal-content.chat-modal {
    max-width: 600px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.modal-content.modern-modal {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header.modern-header {
    flex-shrink: 0;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header.modern-header .header-content h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-header.modern-header .header-content p {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.modern-form {
    padding: 0; 
}

.form-section {
    margin-bottom: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.modern-group {
    display: flex;
    flex-direction: column;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.modern-input,
.modern-textarea,
.modern-select {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.modern-input:focus,
.modern-textarea:focus,
.modern-select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 10%);
}

.modern-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.modern-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: var(--gray-50);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.close {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--gray-600);
}

.auth-form,
.chamado-form {
    padding: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(30 64 175 / 10%);
}

.form-group input:read-only {
    background: var(--gray-100);
    color: var(--gray-500);
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-600);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section .social-links {
    display: flex;
    gap: 1rem;
}

.footer-section .social-links a {
    color: var(--gray-300);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-section .social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-400);
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
        margin: 0 1rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .main-content {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgb(0 0 0 / 15%);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgb(0 0 0 / 5%);
        gap: 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        margin: 0.25rem 0;
        border-radius: 12px;
    }
    
    .user-info {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-auth .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .status-filters {
        justify-content: center;
    }

    .modal-content {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
        width: calc(100% - 1rem);
        height: calc(100vh - 1rem);
    }
    
    .modal-body {
        padding: 1rem;
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-shrink: 0;
    }

    .chamado-actions {
        justify-content: center;
    }

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .feature-card,
    .service-card {
        padding: 1.5rem;
    }

    .modal-header {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 0;
        max-width: 100%;
        max-height: 100vh;
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 1rem;
        flex-shrink: 0;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: calc(100vh - 10rem);
        overflow-y: auto;
        flex: 1;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
.modal-footer .btn {
    width: 100%;
}

.table-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    overflow-x: auto;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

.table-container {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

.data-table {
    width: 100%;
    min-width: 600px; 
    border-collapse: collapse;
}

.data-table th {
    background: var(--gray-50);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-200);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.data-table tr:hover {
    background: var(--gray-50);
}

    .auth-form,
    .chamado-form {
        padding: 1rem;
    }
    
    
    .table-container {
        margin: 0 -0.5rem;
    }
    
    .data-table {
        min-width: 400px;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    
    .table-container {
        border-radius: var(--border-radius-md);
        margin: 0 -1rem;
        border-left: none;
        border-right: none;
    }
    
    .data-table {
        min-width: 500px;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

@media (display-mode: standalone) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    .section {
        padding-top: calc(70px + env(safe-area-inset-top));
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --white: #1f2937;
        --gray-50: #111827;
        --gray-100: #1f2937;
        --gray-200: #374151;
        --gray-300: #4b5563;
        --gray-400: #6b7280;
        --gray-500: #9ca3af;
        --gray-600: #d1d5db;
        --gray-700: #e5e7eb;
        --gray-800: #f3f4f6;
        --gray-900: #f9fafb;
    }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

.fade-in {
    animation: fade-in 0.5s ease-in;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.email-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.atendimento-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000 !important;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-details {
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 0.75rem;
}

.contact-number,
.contact-email,
.contact-coverage,
.contact-service,
.contact-time {
    color: #000 !important;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-location,
.contact-desc {
    color: #000 !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.contact-section * {
    color: #000 !important;
}

.contact-section .contact-info * {
    color: #000 !important;
}

.contact-section .contact-card * {
    color: #000 !important;
}

.contact-section p,
.contact-section span,
.contact-section div {
    color: #000 !important;
}

.contact-section .contact-email,
.contact-section .contact-desc,
.contact-section .contact-coverage,
.contact-section .contact-service,
.contact-section .contact-time,
.contact-section .contact-location {
    color: #000 !important;
    font-weight: 600 !important;
}

.contact-card .contact-info p,
.contact-card .contact-info span,
.contact-card .contact-info div {
    color: #000 !important;
    font-weight: 600 !important;
}

#contato *,
.contact-section *,
.contact-card *,
.contact-info * {
    color: #000 !important;
}

.contact-section p,
.contact-section span,
.contact-section div,
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section h6,
.contact-section a,
.contact-section li,
.contact-section td,
.contact-section th {
    color: #000 !important;
}

.contact-card p,
.contact-card span,
.contact-card div,
.contact-card h3 {
    color: #000 !important;
    font-weight: 600 !important;
}

.contact-number,
.contact-email,
.contact-location,
.contact-desc,
.contact-coverage,
.contact-service,
.contact-time {
    color: #000 !important;
    font-weight: 700 !important;
}

.contact-email,
.contact-desc,
.contact-coverage,
.contact-service,
.contact-time,
.contact-location {
    color: #000 !important;
    font-weight: 700 !important;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgb(0 0 0 / 15%);
}

.contact-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-svg {
    width: 120px;
    height: 90px;
    filter: drop-shadow(0 5px 15px rgb(0 0 0 / 10%));
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #000 !important;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.contact-number,
.contact-email,
.contact-coverage,
.contact-service,
.contact-time {
    color: #000 !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-location,
.contact-desc {
    color: #000 !important;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 15px rgb(37 211 102 / 30%);
}

.contact-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(37 211 102 / 40%);
}

.contact-btn.email {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    box-shadow: 0 4px 15px rgb(59 130 246 / 30%);
}

.contact-btn.email:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(59 130 246 / 40%);
}

.contact-btn.location {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 15px rgb(239 68 68 / 30%);
}

.contact-btn.location:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(239 68 68 / 40%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(37 211 102 / 30%);
}

.email-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: var(--white);
}

.email-btn:hover {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(59 130 246 / 30%);
}

.atendimento-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
}

.atendimento-btn:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(239 68 68 / 30%);
}

.social-section {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
    margin-top: 4rem;
}

.social-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.social-header h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #000 !important;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.social-header p {
    color: #374151 !important;
    font-weight: 500;
    font-size: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.social-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.instagram-icon {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.facebook-icon {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.linkedin-icon {
    background: linear-gradient(135deg, #0077b5, #004182);
}

.youtube-icon {
    background: linear-gradient(135deg, #f00, #c00);
}

section#contato *,
section#contato p,
section#contato span,
section#contato div,
section#contato h1,
section#contato h2,
section#contato h3,
section#contato h4,
section#contato h5,
section#contato h6,
section#contato a,
section#contato li {
    color: #000 !important;
}

.contact-card .contact-info .contact-number,
.contact-card .contact-info .contact-email,
.contact-card .contact-info .contact-location,
.contact-card .contact-info .contact-desc,
.contact-card .contact-info .contact-coverage,
.contact-card .contact-info .contact-service,
.contact-card .contact-info .contact-time {
    color: #000 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.social-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000 !important;
    margin-bottom: 0.5rem;
}

.social-info p {
    color: #374151 !important;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.social-followers {
    color: #6b7280 !important;
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .social-card {
        padding: 1rem;
    }
}
