/* site.css - Sistema Nacional de Histórico de Celulares (SNHC) */
/* Design moderno inspirado em padrões GovTech e SaaS 2025 */

/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais - Paleta institucional moderna */
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --primary-light: #4895ef;
    --secondary: #7209b7;
    --accent: #f72585;
    --success: #4cc9f0;
    --warning: #ff9e00;
    --danger: #e63946;
    
    /* Cores neutras */
    --gray-900: #1a1a2e;
    --gray-800: #2d3047;
    --gray-700: #4a4e69;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Bordas */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
    
    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary), 'Montserrat', sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gray-900);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(114, 9, 183, 0.05) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    color: var(--gray-700);
    max-width: 90%;
}

.imei-form {
    max-width: 600px;
}

.form-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.input-with-icon {
    flex: 1;
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.input-with-icon input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-hint {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-visual {
    position: relative;
}

.visual-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.card-content {
    padding: var(--space-lg);
}

.card-header {
    margin-bottom: var(--space-md);
}

.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.card-title {
    font-size: 1.5rem;
    color: var(--gray-900);
}

.device-info {
    margin-bottom: var(--space-lg);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.info-label {
    color: var(--gray-600);
}

.info-value {
    font-weight: 500;
    color: var(--gray-900);
}

.status-active {
    color: var(--success);
    font-weight: 600;
}

.event-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--secondary));
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    position: relative;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-content {
    flex: 1;
}

.event-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.event-type.repair {
    background-color: rgba(76, 201, 240, 0.15);
    color: var(--success);
}

.event-type.warning {
    background-color: rgba(255, 158, 0, 0.15);
    color: var(--warning);
}

.event-date {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== ESTATÍSTICAS ===== */
.stats {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.stat-content {
    flex: 1;
    margin-bottom: var(--space-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-900);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    display: block;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 500;
}

/* ===== EVENTOS RECENTES ===== */
.recent-events {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-100);
}

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

.events-table {
    width: 100%;
    border-collapse: collapse;
}

.events-table thead {
    background-color: var(--gray-100);
    border-bottom: 2px solid var(--gray-200);
}

.events-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.events-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.3s ease;
}

.events-table tbody tr:hover {
    background-color: var(--gray-100);
}

.events-table td {
    padding: 1.25rem 1.5rem;
    color: var(--gray-800);
}

.event-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.event-repair {
    background-color: rgba(76, 201, 240, 0.15);
    color: var(--success);
}

.event-warning {
    background-color: rgba(255, 158, 0, 0.15);
    color: var(--warning);
}

.event-danger {
    background-color: rgba(230, 57, 70, 0.15);
    color: var(--danger);
}

.event-info {
    background-color: rgba(67, 97, 238, 0.15);
    color: var(--primary);
}

.severity-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.severity-high {
    background-color: rgba(230, 57, 70, 0.15);
    color: var(--danger);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.severity-medium {
    background-color: rgba(255, 158, 0, 0.15);
    color: var(--warning);
    border: 1px solid rgba(255, 158, 0, 0.3);
}

.severity-low {
    background-color: rgba(76, 201, 240, 0.15);
    color: var(--success);
    border: 1px solid rgba(76, 201, 240, 0.3);
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-top: 1px solid var(--gray-200);
    background-color: var(--gray-100);
}

.table-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== GRÁFICOS ===== */
.charts {
    padding: var(--space-xxl) 0;
    background-color: var(--white);
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.chart-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.chart-title {
    font-size: 1.5rem;
    color: var(--gray-900);
}

.chart-period {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-100);
    border-radius: var(--radius-full);
}

.chart-container {
    height: 300px;
    position: relative;
    margin-bottom: var(--space-lg);
}

.chart-footer {
    border-top: 1px solid var(--gray-200);
    padding-top: var(--space-lg);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-text {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* ===== BENEFÍCIOS ===== */
.benefits {
    padding: var(--space-xxl) 0;
    background-color: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.benefit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto var(--space-lg);
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--gray-900);
}

.benefit-description {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

.benefit-list {
    list-style: none;
    text-align: left;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.benefit-list i {
    color: var(--success);
}

/* ===== CTA FINAL ===== */
.cta {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary);
}

.cta .btn-primary:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

.cta .btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-xxl) 0 var(--space-lg);
    background-color: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.footer-col-main {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.footer-logo .logo-title {
    color: var(--white);
}

.footer-logo .logo-subtitle {
    color: var(--gray-400);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 0.125rem;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-content {
        gap: var(--space-xl);
    }
    
    .stats-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Header mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero::before {
        width: 100%;
        height: 50%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .visual-card {
        transform: none;
    }
    
    /* Grid layouts mobile */
    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .benefit-card {
        padding: var(--space-lg);
    }
    
    .table-footer {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }
}

/* ===== MODAL RESULTADO SNHC ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ÁREA SCROLLÁVEL */
#resultadoConteudo {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}


/* HEADER DO MODAL (opcional se quiser evoluir depois) */
.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* IFRAME COM SCROLL */
.modal-box iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

/* ============================================
   ÍCONES NO MENU - ESTILOS
   ============================================ */

/* Desktop: ícones ao lado do texto */
.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #6b7280;
    transition: color 0.3s ease;
}

.nav-link:hover i,
.nav-link.active i {
    color: #2563eb;
}

/* Mobile: ícones maiores e mais visíveis */
@media (max-width: 768px) {
    .nav-link {
        padding: 16px 20px;
        gap: 15px;
        font-size: 1.1rem;
    }
    
    .nav-link i {
        font-size: 1.3rem;
        width: 24px;
        color: #4b5563;
    }
    
    .nav-link:hover {
        background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
        padding-left: 25px;
    }
    
    .nav-link:hover i {
        color: #2563eb;
        transform: scale(1.1);
    }
}

/* Botões do header também com ícones */
.header-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
}

.header-actions .btn i {
    font-size: 1rem;
}

/* Mobile: esconde texto nos botões, mostra só ícone */

.mobile-actions {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .nav-menu.active .mobile-actions {
        display: flex;
    }
}
@media (max-width: 992px) {
    .header-actions .btn span {
        display: none;
    }
    
    .header-actions .btn {
        padding: 10px 15px;
        min-width: 44px;
        justify-content: center;
    }
    
    .header-actions .btn i {
        font-size: 1.2rem;
        margin: 0;
    }
}

/* Efeito hover suave nos ícones */
.nav-link i, .btn i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover i {
    transform: translateY(-1px);
}

.btn:hover i {
    transform: translateX(2px);
}

/* Cores específicas para cada ícone (opcional) */
.nav-link[href*="sobre.php"] i { color: #3b82f6; }
.nav-link[href*="empresas"] i { color: #10b981; }
.nav-link[href*="recursos"] i { color: #f59e0b; }
.nav-link[href*="contato"] i { color: #8b5cf6; }

/* Indicador de página ativa */
.nav-link.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: #2563eb;
    font-weight: 500;
}

.nav-link.active i {
    color: #2563eb;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Menu mobile com ícones alinhados */
@media (max-width: 768px) {
    .nav-list {
        padding: 10px 0;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .nav-link {
        border-radius: 12px;
        margin: 0 10px;
    }
    
    /* Efeito de "ondulação" ao clicar */
    .nav-link:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

.lgpd-notice {
  margin-top: 40px;
  padding: 14px 18px;
  font-size: 13px;
  color: #6b7280; /* cinza suave */
  background: #f9fafb;
  border-left: 4px solid #3b82f6; /* azul institucional */
  border-radius: 6px;
}

.lgpd-notice strong {
  color: #374151;
}

/* ==========================================
   VIDEO SECTION - SNHC
========================================== */

.video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    position: relative;
}

.video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.video-text {
    color: #fff;
}

.video-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.video-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.video-description {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.7;
}

.video-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-benefits li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #e2e8f0;
}

.video-benefits i {
    color: #22c55e;
    margin-right: 8px;
}

/* VIDEO EMBED */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .video-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .video-title {
        font-size: 28px;
    }

    .video-section {
        padding: 70px 0;
    }
}

/* CSS PARA SECTION SELOS */
.certificacoes-snhc {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
    text-align: center;
}

.certificacoes-snhc .section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.certificacoes-snhc .section-header p {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #555;
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.cert-card:hover {
    transform: translateY(-8px);
}

.cert-card img {
    width: 120px;
    margin-bottom: 20px;
}

.cert-card h3 {
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 14px;
    color: #555;
}

.cert-cta {
    margin-top: 50px;
}

/* CSS PAGINA SELOS INSTITUCIONAL */
.cert-page {
    padding: 80px 0;
}

.cert-page h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cert-page .subtitle {
    max-width: 800px;
    margin-bottom: 60px;
    color: #555;
}

.cert-level {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.cert-level img {
    width: 120px;
}

.cert-level h2 {
    margin-bottom: 10px;
}

.cert-page ul {
    margin-top: 15px;
}

/* PARA MENU SUSPENSO MENU PAINEL E SAIR */
.user-dropdown {
    position: relative;
}

.user-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d9ff;
    box-shadow: 0 0 8px rgba(0,217,255,0.6);
}

.user-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: #1b1b1b;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

.user-menu a {
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

.user-menu a:hover {
    background: #00d9ff;
    color: #000;
}

/* MOBILE USER DROPDOWN */
.mobile-user-dropdown {
    width:100%;
    position:relative;
}

.mobile-user-btn {
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    border-radius:12px;
    background:#111;
    color:#fff;
    border:1px solid rgba(255,255,255,0.15);
    font-weight:600;
    cursor:pointer;
}

.mobile-user-btn img {
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #0ff;
}

.mobile-user-btn i {
    margin-left:auto;
    font-size:14px;
}

.mobile-user-menu {
    display:none;
    position:absolute;
    top:60px;
    left:0;
    width:100%;
    background:#0b0b0b;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.6);
    overflow:hidden;
    z-index:9999;
}

.mobile-user-menu a {
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px;
    color:#fff;
    font-weight:500;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.mobile-user-menu a:hover {
    background:#00f0ff22;
}

.mobile-user-menu.show {
    display:block;
}