/* assets/css/style.css */
/* Sistema de Acesso à Informação - PMRR */

/* ========================================
   RESET E CONFIGURAÇÕES GLOBAIS
======================================== */

:root {
    /* Paleta de Cores */
    --primary-color: #1e3c72;
    --primary-dark: #152d5a;
    --primary-light: #2a5298;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    
    /* Cores Neutras */
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Cores de Status */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   HERO SECTION
======================================== */

.hero-lai {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-lai::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
}

.min-vh-50 {
    min-height: 50vh;
}

.badge-lai {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   BOTÕES
======================================== */

.btn-lai-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-lai-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: var(--primary-dark);
}

.btn-lai-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.btn-lai-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   FEATURE SECTION
======================================== */

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-item h5 {
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   BROWSER MOCKUP
======================================== */

.falabr-preview {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.browser-mockup {
    background: white;
}

.browser-bar {
    background: var(--gray-200);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.browser-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
}

.browser-bar span:nth-child(1) { background: #ff5f56; }
.browser-bar span:nth-child(2) { background: #ffbd2e; }
.browser-bar span:nth-child(3) { background: #27c93f; }

.browser-content {
    background: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-content img {
    width: 100%;
    height: auto;
}

/* ========================================
   CARDS DE MANIFESTAÇÃO
======================================== */

.manifestacao-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
    border: 2px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.manifestacao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.manifestacao-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.manifestacao-card:hover::before {
    transform: scaleX(1);
}

.manifestacao-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.manifestacao-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.manifestacao-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Cores específicas por tipo */
.bg-primary { background-color: var(--primary-color); }
.bg-danger { background-color: var(--danger); }
.bg-warning { background-color: var(--warning); }
.bg-success { background-color: var(--success); }
.bg-info { background-color: var(--info); }
.bg-secondary { background-color: var(--gray-600); }

.bg-purple-subtle { background-color: #e9d5ff; }
.text-purple { color: #7c3aed; }

/* ========================================
   TRANSPARÊNCIA ATIVA
======================================== */

.bg-gradient-subtle {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hover-lift {
    transition: all var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.doc-list {
    margin: 0;
    padding: 0;
}

.doc-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
}

.doc-list li:last-child {
    border-bottom: none;
}

.doc-list li:hover {
    padding-left: 0.5rem;
    background: var(--gray-50);
}

.doc-list i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.doc-list a {
    color: var(--gray-800);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.doc-list a:hover {
    color: var(--primary-color);
}

/* ========================================
   PROCESSO STEP BY STEP
======================================== */

.process-step {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* ========================================
   FAQ / ACCORDION
======================================== */

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: white;
    color: var(--gray-900);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(30, 60, 114, 0.1);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--gray-50);
    line-height: 1.8;
}

/* ========================================
   SIC PRESENCIAL
======================================== */

.sic-info-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h5 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.info-item p {
    margin: 0;
    color: var(--gray-600);
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* ========================================
   FOOTER LINKS
======================================== */

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

/* ========================================
   UTILIDADES
======================================== */

.info-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: none;
    border-left: 4px solid var(--primary-color);
}

/* ========================================
   ANIMAÇÕES
======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width: 991.98px) {
    .hero-lai {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-lai {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lai-primary,
    .btn-lai-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .manifestacao-card {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
    }
}

/* ========================================
   ACESSIBILIDADE
======================================== */

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   PRINT
======================================== */

@media print {
    .hero-lai,
    .cta-section,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ========================================
   FIX PARA LINKS EXTERNOS
======================================== */

/* Garantir que links sejam clicáveis */
a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Remover qualquer sobreposição que possa bloquear */
a[target="_blank"] {
    position: relative;
    z-index: 10;
}

/* Ícone de link externo não deve bloquear clique */
.external-icon {
    pointer-events: none;
    display: inline;
}

