/* ==========================================
   SANCA GOV FAN HUB - ESTILO CSS CUSTOMIZADO
   Foco em Design Premium, Fluido e Moderno
   ========================================== */

:root {
    /* Paleta de Cores Escura e Futurista */
    --bg-dark: #080c14;
    --bg-dark-secondary: #0e1626;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    
    /* Cores das Fontes */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradientes e Destaques Civicos */
    --accent-blue: #3b82f6;
    --accent-blue-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --accent-blue-glow: rgba(59, 130, 246, 0.35);

    --accent-green: #10b981;
    --accent-green-gradient: linear-gradient(135deg, #10b981 0%, #047857 100%);
    --accent-green-glow: rgba(16, 185, 129, 0.35);

    --accent-orange: #f59e0b;
    --accent-orange-gradient: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    --accent-orange-glow: rgba(245, 158, 11, 0.35);

    --accent-red: #ef4444;
    --accent-red-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --accent-red-glow: rgba(239, 68, 68, 0.35);

    --accent-yellow: #eab308;
    --accent-yellow-gradient: linear-gradient(135deg, #eab308 0%, #a16207 100%);
    --accent-yellow-glow: rgba(234, 179, 8, 0.35);

    /* Efeitos */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-blur: blur(12px);
}

/* 1. RESET E PADRÕES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Partículas/Glows do Fundo */
.bg-glow-1 {
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
}

.bg-glow-2 {
    position: absolute;
    top: 600px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
    filter: blur(90px);
    z-index: -2;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* 2. NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    background: rgba(8, 12, 20, 0.8);
    backdrop-filter: var(--glass-blur);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-blue-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.logo-text .highlight {
    background: linear-gradient(120deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text .badge {
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--accent-orange-gradient);
    color: #000000;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent-blue-gradient);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-primary span {
    font-size: 1.1rem;
}

/* 3. HERO SECTION */
.hero {
    display: flex;
    padding: 140px 8% 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    gap: 60px;
    position: relative;
}

.hero-content {
    flex: 1.2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.tag-icon {
    font-size: 1rem !important;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 60%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 90%;
}

.subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

/* Estatísticas na Hero */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 12px;
    flex: 1;
    min-width: 140px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(120deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-large {
    background: var(--accent-blue-gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}

.btn-secondary-large {
    background: transparent;
    color: white;
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 4. MOCKUP DE CELULAR INTERATIVO */
.hero-visual {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glow atrás do telefone */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 480px;
    border-radius: 40px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}

.phone-wrapper {
    width: 300px;
    height: 600px;
    background: #0f172a;
    border: 10px solid #1e293b;
    border-radius: 36px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    width: 120px;
    height: 18px;
    background: #1e293b;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #090d16;
    padding-top: 18px; /* Espaço para o notch */
    position: relative;
    overflow: hidden;
}

/* App Header */
.app-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0c1220;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-logo-icon {
    font-size: 1.3rem !important;
    color: var(--accent-blue);
}

.app-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.app-subtitle {
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.app-user {
    color: var(--text-secondary);
}

.app-user span {
    font-size: 1.3rem !important;
}

/* App Content Area */
.app-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    font-size: 0.8rem;
    position: relative;
}

/* Estilo para as Telas da Aplicação */
.screen-view {
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: fadeScreen 0.3s ease forwards;
}

.screen-view.active {
    display: flex;
}

@keyframes fadeScreen {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Home Screen específicos */
.welcome-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 12px;
}

.welcome-box h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.welcome-box p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.user-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    margin-top: 8px;
}

.dot-green {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--accent-green);
}

.quick-stats-row {
    display: flex;
    gap: 8px;
}

.quick-stat {
    flex: 1;
    background: #0f1626;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.qs-title {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.qs-desc {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-top: 2px;
}

.notification-card {
    background: #0f1626;
    border-left: 3px solid var(--accent-green);
    padding: 10px;
    border-radius: 6px;
}

.notif-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    margin-bottom: 4px;
}

.notif-icon {
    font-size: 0.95rem !important;
    color: var(--accent-green);
}

.notification-card p {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.notif-alert-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
}

.notif-alert-box span:first-child {
    font-size: 0.95rem !important;
}

/* Saúde Screen */
.screen-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.screen-title-row span {
    font-size: 1.2rem !important;
}

.screen-title-row h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.screen-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.screen-card {
    background: #0f1626;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.card-item {
    display: flex;
    gap: 10px;
}

.card-item span {
    font-size: 1.2rem !important;
    margin-top: 2px;
}

.card-item div {
    display: flex;
    flex-direction: column;
}

.card-item strong {
    font-size: 0.72rem;
    color: white;
}

.card-item span:not(.material-icons-outlined) {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.btn-app-action {
    background: var(--accent-blue-gradient);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: auto;
}

/* Educação Screen */
.student-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0f1626;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.student-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-red-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
}

.student-details {
    display: flex;
    flex-direction: column;
}

.student-details strong {
    font-size: 0.75rem;
}

.student-details span {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.report-card {
    background: #0f1626;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
}

.report-row span {
    color: var(--text-secondary);
}

/* Transporte Screen (Tarifa Zero) */
.qr-box {
    background: white;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #e2e8f0;
    position: relative;
    border-radius: 6px;
}

.qr-square {
    /* QR code simulation: cross-hatch black and white pattern using repeating linear gradients */
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background-image: 
        radial-gradient(#0f172a 40%, transparent 40%),
        radial-gradient(#0f172a 40%, transparent 40%),
        linear-gradient(45deg, #0f172a 25%, transparent 25%, transparent 75%, #0f172a 75%, #0f172a),
        linear-gradient(45deg, #0f172a 25%, transparent 25%, transparent 75%, #0f172a 75%, #0f172a);
    background-size: 16px 16px, 16px 16px, 32px 32px, 32px 32px;
    background-position: 0 0, 8px 8px, 0 0, 16px 16px;
    border: 3px solid #0f172a;
}

.qr-caption {
    font-size: 0.55rem;
    color: #475569;
    text-align: center;
    font-weight: 600;
}

.bus-tracker {
    background: #0f1626;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tracker-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-green);
    animation: dotPulse 1.5s infinite alternate;
}

@keyframes dotPulse {
    from { opacity: 0.4; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

.tracker-eta {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Segurança Screen */
.sos-card {
    background: rgba(239, 68, 68, 0.08);
    border: 1px dashed rgba(239, 68, 68, 0.35);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sos-btn {
    background: var(--accent-red-gradient);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
    transition: all 0.2s ease;
}

.sos-btn span:first-child {
    font-size: 1.5rem !important;
}

.sos-btn span:last-child {
    font-size: 0.45rem;
    font-weight: 700;
    margin-top: 1px;
}

.sos-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
}

.sos-btn.activated {
    background: var(--accent-green-gradient);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
}

.sos-desc {
    font-size: 0.55rem;
    color: var(--text-secondary);
    text-align: center;
}

.cam-feed {
    background: #0f1626;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cam-status {
    font-size: 0.6rem;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.red-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: livePulse 1s infinite alternate;
}

@keyframes livePulse {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.cam-placeholder {
    height: 60px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.cam-placeholder span {
    font-size: 1.5rem !important;
}

/* App Bottom Navigation */
.app-nav {
    height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0c1220;
    display: flex;
}

.app-nav-item {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    gap: 2px;
    transition: all 0.2s ease;
}

.app-nav-item span:first-child {
    font-size: 1.1rem !important;
}

.app-nav-item span:last-child {
    font-size: 0.5rem;
    font-weight: 600;
}

.app-nav-item.active {
    color: var(--accent-blue);
}

.app-nav-item:hover {
    color: #ffffff;
}

/* 5. BENEFÍCIOS SECTION */
.beneficios-section {
    padding: 100px 8%;
    background: var(--bg-dark-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-premium);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.02);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.feature-icon span {
    font-size: 1.4rem !important;
}

/* Variações de Cores dos Icons */
.bg-blue-grad { background: var(--accent-blue-gradient); box-shadow: 0 4px 12px var(--accent-blue-glow); }
.bg-green-grad { background: var(--accent-green-gradient); box-shadow: 0 4px 12px var(--accent-green-glow); }
.bg-orange-grad { background: var(--accent-orange-gradient); box-shadow: 0 4px 12px var(--accent-orange-glow); }
.bg-red-grad { background: var(--accent-red-gradient); box-shadow: 0 4px 12px var(--accent-red-glow); }
.bg-yellow-grad { background: var(--accent-yellow-gradient); box-shadow: 0 4px 12px var(--accent-yellow-glow); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 6. CALCULADORA DO TARIFA ZERO */
.simulador-section {
    padding: 100px 8%;
    display: flex;
    justify-content: center;
    position: relative;
    border-top: 1px solid var(--border-color);
}

/* Glow local na calculadora */
.simulador-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.simulador-card {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    padding: 50px;
    box-shadow: var(--shadow-premium), 0 0 25px rgba(16, 185, 129, 0.05);
    backdrop-filter: var(--glass-blur);
}

.simulador-header {
    text-align: center;
    margin-bottom: 35px;
}

.sim-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 16px;
}

.simulador-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.simulador-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.simulador-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.range-val {
    color: #34d399;
    font-size: 1.2rem;
    font-weight: 800;
}

/* Range input estilizado */
.styled-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #1e293b;
    outline: none;
}

.styled-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    transition: transform 0.1s ease;
}

.styled-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.input-wrapper {
    display: flex;
    position: relative;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
}

.calc-group input[type="number"] {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.calc-group input[type="number"]:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

/* Grid de Resultados */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin-top: 10px;
}

.result-card {
    background: #090d16;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-card.featured {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(180deg, #090d16 0%, rgba(16, 185, 129, 0.04) 100%);
}

.result-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    font-size: 1.6rem;
    font-weight: 800;
}

.text-green {
    color: #34d399;
}

.text-gradient-green {
    background: linear-gradient(120deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

/* Feedback da Calculadora */
.savings-feedback-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 20px;
    border-radius: 12px;
}

.feedback-icon {
    font-size: 2rem !important;
    color: var(--accent-green);
    flex-shrink: 0;
}

.feedback-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 7. DEPOIMENTOS SECTION */
.depoimentos-section {
    padding: 100px 8%;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.depoimento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
}

.depoimento-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
}

.dep-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dep-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.user-1 { background: var(--accent-blue-gradient); }
.user-2 { background: var(--accent-green-gradient); }
.user-3 { background: var(--accent-orange-gradient); }

.dep-header h4 {
    font-size: 0.95rem;
    color: white;
}

.dep-header span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.dep-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.dep-rating {
    display: flex;
    gap: 4px;
}

.dep-rating span {
    color: var(--accent-yellow);
    font-size: 1.1rem !important;
}

/* 8. FOOTER */
.footer {
    border-top: 1px solid var(--border-color);
    background: #04070d;
    padding: 60px 8% 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    font-size: 1.8rem !important;
    color: var(--accent-blue);
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.footer-logo .highlight {
    background: linear-gradient(120deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo .badge {
    font-size: 0.6rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 8px;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.disclaimer-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 10px;
    max-width: 600px;
}

.disclaimer-box p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.disclaimer-box p strong {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 9. ANIMAÇÕES E RESPONSIVIDADE */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Media Queries para Responsividade */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .subtitle {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-stats {
        justify-content: center;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        display: none; /* Simplificando para mobile para focar no CTA */
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .beneficios-section, .simulador-section, .depoimentos-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .simulador-card {
        padding: 30px 20px;
    }

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

/* ==========================================
   10. HAMBURGER MENU (MOBILE)
   ========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(255,255,255,0.05);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(8, 12, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 5%;
        gap: 8px;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.05);
        transform: none;
    }
}

/* ==========================================
   11. NAVBAR SCROLL EFFECT
   ========================================== */
.navbar.scrolled {
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(8, 12, 20, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================
   12. SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================
   13. STATS COUNTER SECTION
   ========================================== */
.stats-section {
    padding: 100px 8%;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.stats-counter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-premium);
    transition: all 0.35s ease;
}

.stats-counter-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
}

.counter-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 20px;
}

.counter-icon span {
    font-size: 1.5rem !important;
}

.counter-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(120deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    line-height: 1;
}

.counter-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ==========================================
   14. TIMELINE SECTION
   ========================================== */
.timeline-section {
    padding: 100px 8%;
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.timeline {
    max-width: 860px;
    margin: 60px auto 0;
    position: relative;
}

/* Linha central */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(59,130,246,0.4), rgba(16,185,129,0.4), rgba(245,158,11,0.2));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

/* Items da esquerda ficam com content à esquerda */
.timeline-item:not(.right) {
    flex-direction: row;
    text-align: right;
}

.timeline-item:not(.right) .timeline-content {
    order: -1;
}

/* Items da direita ficam com content à direita */
.timeline-item.right {
    flex-direction: row;
}

.timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 4px;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 28px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 700px) {
    .timeline::before { left: 22px; }

    .timeline-item,
    .timeline-item:not(.right),
    .timeline-item.right {
        flex-direction: row;
        text-align: left;
    }

    .timeline-item:not(.right) .timeline-content {
        order: unset;
    }

    .timeline-dot {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .timeline-content {
        padding: 18px 16px;
    }
}

/* ==========================================
   15. FAQ SECTION
   ========================================== */
.faq-section {
    padding: 100px 8%;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    transition: border-color 0.3s ease;
}

.faq-item.open {
    border-color: rgba(59, 130, 246, 0.35);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-icon {
    font-size: 1.3rem !important;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 22px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* ==========================================
   16. CTA FINAL SECTION
   ========================================== */
.cta-section {
    padding: 100px 8%;
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.cta-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

.cta-card {
    max-width: 780px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(16,185,129,0.15));
    border: 1px solid rgba(59,130,246,0.3);
    padding: 8px 18px;
    border-radius: 30px;
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.cta-badge span:first-child {
    font-size: 1rem !important;
}

.cta-card h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.cta-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
    max-width: 480px;
    margin: 0 auto 40px;
    text-align: left;
}

.cta-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cta-feat span:first-child {
    font-size: 1.1rem !important;
    color: var(--accent-green);
    flex-shrink: 0;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-main {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4), 0 6px 24px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.cta-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(59, 130, 246, 0.5), 0 10px 32px rgba(16, 185, 129, 0.3);
}

.cta-btn-main span {
    font-size: 1.1rem !important;
}

.cta-btn-store {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-hover);
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-btn-store:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.cta-btn-store span {
    font-size: 1.1rem !important;
}

@media (max-width: 600px) {
    .cta-card h2 { font-size: 2rem; }
    .cta-features { grid-template-columns: 1fr; max-width: 260px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-btn-main, .cta-btn-store { width: 100%; justify-content: center; }
    .timeline-section, .faq-section, .stats-section, .cta-section { padding-left: 5%; padding-right: 5%; }
}