:root {
    --primary-color: #0066cc;
    --secondary-color: #004499;
    --accent-color: #00aaff;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --gradient-secondary: linear-gradient(135deg, #00aaff 0%, #0066cc 100%);
    
    /* Cores específicas para o header - inspiradas na Tray */
    --navbar-bg: #ffffff;
    --navbar-bg-scroll: rgba(255, 255, 255, 0.98);
    --navbar-shadow: rgba(0, 0, 0, 0.08);
    --navbar-shadow-scroll: rgba(0, 0, 0, 0.15);
    --navbar-text: #333333;
    --navbar-text-hover: #0066cc;
    --navbar-border: rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 90px; /* Altura do navbar fixo aumentada */
}

/* Ajustes de padding do body para mobile */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Reduz padding em tablets */
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 70px; /* Reduz ainda mais em mobile */
    }
}

/* Bootstrap Customizations */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.text-primary {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px var(--navbar-shadow);
    transition: all 0.3s ease;
    padding: 1rem 0; /* Aumenta o padding vertical do navbar */
    min-height: 100px; /* Define altura mínima do navbar */
    border-bottom: 1px solid var(--navbar-border);
}

.navbar.scrolled {
    background: var(--navbar-bg-scroll) !important;
    box-shadow: 0 4px 20px var(--navbar-shadow-scroll);
    padding: 0.75rem 0; /* Reduz um pouco quando scrolled */
}

.navbar-brand {
    padding: 0.5rem 0; /* Adiciona padding ao brand */
    font-weight: 600;
    font-size: 1.4rem;
}

.navbar-brand img {
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: all 0.3s ease;
    color: var(--navbar-text) !important;
    position: relative;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover {
    transform: translateY(-1px);
    color: var(--navbar-text-hover) !important;
    background: rgba(0, 102, 204, 0.05) !important;
}

.nav-link.active {
    background: rgba(0, 102, 204, 0.1) !important;
    border-radius: 8px;
    color: var(--navbar-text-hover) !important;
    font-weight: 600;
}

.navbar-nav .dropdown-menu {
    background: var(--navbar-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--navbar-text) !important;
    transition: all 0.3s ease;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
}

.dropdown-item:hover {
    background: rgba(0, 102, 204, 0.08) !important;
    color: var(--navbar-text-hover) !important;
}

.btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

/* Hero específica para páginas internas (contato, sobre, etc) */
.hero.contact-hero {
    min-height: auto;
    padding: 120px 0 60px !important;
}

/* Responsividade para hero de contato */
@media (max-width: 768px) {
    .hero.contact-hero {
        padding: 100px 0 50px !important;
    }
}

@media (max-width: 575.98px) {
    .hero.contact-hero {
        padding: 80px 0 40px !important;
    }
    
    .hero.contact-hero h1 {
        font-size: 2.5rem !important;
    }
    
    .hero.contact-hero .lead {
        font-size: 1.1rem !important;
    }
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 170, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    animation: heroAnimation 20s ease-in-out infinite;
}

@keyframes heroAnimation {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    25% { transform: translateX(-20px) translateY(-10px) scale(1.05); }
    50% { transform: translateX(20px) translateY(10px) scale(0.95); }
    75% { transform: translateX(-10px) translateY(20px) scale(1.02); }
}

.text-gradient {
    background: linear-gradient(135deg, #ffbf00, #17a2b8, #28a745);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.floating-card {
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.floating-card:nth-child(1) { animation-delay: 0s; }
.floating-card:nth-child(2) { animation-delay: 1s; }
.floating-card:nth-child(3) { animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-graphic {
    position: relative;
    height: 500px;
}

.hero-main-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(0, 64, 96, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scroll-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: scale(1.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 135px; /* Espaço a partir do header */
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Melhorias específicas para título responsivo */
.hero-content h1 {
    word-wrap: break-word;
    hyphens: auto;
}

.hero-content h1 .d-block {
    margin-bottom: 0.2rem;
}

/* Ajustes para telas muito pequenas (menos de 400px) */
@media (max-width: 399px) {
    .display-3 {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
    }
    
    .hero {
        padding: 60px 0 30px !important;
    }
    
    .hero-content .lead {
        font-size: 0.95rem !important;
    }
    
    .btn-lg {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .hero-content h1 .d-block {
        margin-bottom: 0.1rem;
    }
    
    /* Stack buttons vertically on very small screens */
    .hero-content .d-flex.flex-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .hero-content .d-flex.flex-wrap .btn {
        margin-bottom: 10px;
        width: 100%;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Downloads Page Styles */
.download-filters .btn {
    border-radius: 25px;
    margin: 0 5px 10px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-filters .btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.download-card {
    transition: all 0.3s ease;
}

.download-item {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.app-icon {
    transition: all 0.3s ease;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.download-item:hover .app-icon {
    transform: scale(1.1) rotate(5deg);
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.app-features .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.download-item .btn {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-item .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Download Categories Colors */
.download-card[data-category="remote"] .app-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-card[data-category="security"] .app-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.download-card[data-category="utilities"] .app-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.download-card[data-category="development"] .app-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

/* Animation for filtered cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-card[style*="block"] {
    animation: fadeIn 0.5s ease-in-out;
}

/* Security Section Styles */
.security-notice {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
    border: 1px solid #d4edda;
    border-radius: 15px;
    padding: 2rem;
}

.security-notice .fa-shield-check {
    color: #28a745;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* ========================================
   ANIMAÇÕES ESPECIAIS PARA CYBERSECURITY
   ======================================== */

/* Animações de entrada quando o elemento entra na viewport */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes de animação desabilitadas */
.animate-slide-up,
.animate-slide-left,
.animate-slide-right,
.animate-fade-scale {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Delays escalonados para efeito em cascata */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Animação especial Zero Trust desabilitada */
.zero-trust-card.animate-special {
    animation: none;
}

/* Efeito de "typing" para títulos importantes */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #0066cc; }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid #0066cc;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3s steps(30, end), blink-caret 0.5s step-end infinite;
}

/* Animações desabilitadas para segurança cibernética */
.badge.cybersec-badge.animate-float {
    animation: none;
}

.badge.cybersec-badge:nth-child(1) { animation-delay: 0s; }
.badge.cybersec-badge:nth-child(2) { animation-delay: 0.2s; }
.badge.cybersec-badge:nth-child(3) { animation-delay: 0.4s; }
.badge.cybersec-badge:nth-child(4) { animation-delay: 0.6s; }
.badge.cybersec-badge:nth-child(5) { animation-delay: 0.8s; }

/* Animação para métricas desabilitada */
.metric-card.animate-count {
    animation: none;
}

/* Cards de segurança cibernética - design limpo sem efeitos especiais */

/* Desabilita todos os efeitos na seção de segurança cibernética */
#seguranca .service-card,
#seguranca .metric-card,
#seguranca .certification-badge,
#seguranca .sector-card,
#seguranca .badge.cybersec-badge {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

#seguranca .service-card:hover,
#seguranca .metric-card:hover,
#seguranca .certification-badge:hover,
#seguranca .sector-card:hover,
#seguranca .badge.cybersec-badge:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-color: initial !important;
}

#seguranca .service-icon:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2) !important;
}

/* Responsividade para animações */
@media (prefers-reduced-motion: reduce) {
    .animate-slide-up,
    .animate-slide-left,
    .animate-slide-right,
    .animate-fade-scale,
    .service-card,
    .metric-card,
    .badge.cybersec-badge {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .typing-effect {
        animation: none;
        border-right: none;
        white-space: normal;
    }
    
    .service-card .card-header {
        padding: 25px 30px;
    }
    
    .service-card .card-body {
        padding: 25px 30px;
    }
    
    .service-card-header {
        padding: 25px 30px;
    }
    
    .service-card-body {
        padding: 25px 30px;
    }
}

/* Footer Improvements */
footer .hover-link {
    transition: all 0.3s ease;
}

footer .hover-link:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
    transform: translateX(5px);
}

footer .social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer .social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--accent-color) !important;
}

footer .text-warning {
    color: #ffc107 !important;
}

footer .text-light {
    color: #f8f9fa !important;
}

/* Privacy Page Styles */
.privacy-section {
    padding: 2rem 0;
}

.privacy-section .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.privacy-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.privacy-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.rights-grid .card {
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.lgpd-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    display: inline-block;
    margin: 0.5rem 0;
}

.data-protection-timeline {
    position: relative;
    padding-left: 2rem;
}

.data-protection-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

/* Contact Cards Improvement */
.contact-quick-cards .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-quick-cards .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-quick-cards .card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Table Improvements */
.table-responsive table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(0, 102, 204, 0.05);
    transform: scale(1.01);
}

/* Melhorias adicionais de acessibilidade e contraste */

/* Garantir contraste mínimo WCAG AA em todos os elementos de texto */
.text-muted {
    color: #6c757d !important;
    font-weight: 500;
}

/* Em cards, usar cor mais escura */
.card .text-muted {
    color: #495057 !important;
}

/* Para elementos small, aumentar peso da fonte */
small.text-muted {
    font-weight: 600;
    color: #5a6169 !important;
}

/* Links muted com hover mais visível */
a.text-muted:hover {
    color: #212529 !important;
    text-decoration: underline;
}

/* Melhorar visibilidade de badges */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Elementos de navegação com melhor contraste */
.dropdown-menu .dropdown-item {
    color: #212529;
    font-weight: 500;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0066cc;
}

/* Inputs com melhor visibilidade */
.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* Placeholders mais visíveis */
.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Alertas com melhor contraste */
.alert {
    border: 1px solid;
    font-weight: 500;
}

.alert-success {
    border-color: #198754;
}

.alert-danger {
    border-color: #dc3545;
}

.alert-warning {
    border-color: #fd7e14;
}

.alert-info {
    border-color: #0dcaf0;
}

/* Tabelas com melhor legibilidade */
.table th {
    font-weight: 700;
    color: #212529;
}

.table td {
    color: #495057;
}

/* Footer com melhor contraste */
footer .text-light {
    color: #f8f9fa !important;
    font-weight: 500;
}

footer .text-muted {
    color: #adb5bd !important;
}

/* Breadcrumbs mais visíveis */
.breadcrumb-item {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

/* Status indicators com cores mais fortes */
.text-success {
    color: #198754 !important;
    font-weight: 600;
}

.text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

.text-warning {
    color: #fd7e14 !important;
    font-weight: 600;
}

.text-info {
    color: #0dcaf0 !important;
    font-weight: 600;
}

/* Tooltips com melhor contraste */
.tooltip .tooltip-inner {
    background-color: #212529;
    color: #fff;
    font-weight: 500;
}

/* Popovers com melhor visibilidade */
.popover {
    border: 1px solid #dee2e6;
}

.popover-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #495057;
    font-weight: 600;
}

.popover-body {
    color: #495057;
}

/* Media queries para melhor contraste em dispositivos móveis */
@media (max-width: 768px) {
    .text-muted {
        color: #495057 !important;
    }
    
    small.text-muted {
        color: #495057 !important;
        font-weight: 600;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-muted {
        color: #495057 !important;
    }
    
    .card .text-muted {
        color: #212529 !important;
    }
    
    small.text-muted {
        color: #212529 !important;
    }
}

/* Security Badges */
.security-badge {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.security-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.security-badge i {
    transition: all 0.3s ease;
}

.security-badge:hover i {
    transform: scale(1.1);
}

/* Professional Services Section Styles */
.service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.service-icon-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.4);
}

.service-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.tech-showcase {
    position: relative;
    overflow: hidden;
}

.tech-showcase .card {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.tech-showcase .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tech-showcase .card-header {
    background: var(--gradient-primary) !important;
    border: none;
}

.tech-badge {
    text-align: center;
    padding: 15px 10px;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.process-step {
    position: relative;
    padding: 20px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.4);
}

/* Service Cards - Design estático sem efeitos */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card .card-header {
    padding: 35px 40px;
    border: none;
    background: var(--gradient-primary);
    color: white;
}

.service-card .card-body {
    padding: 35px 40px;
}

/* Melhorias específicas para elementos internos dos service cards */
.service-card-header {
    padding: 35px 40px;
    text-align: center;
    position: relative;
}

.service-card-body {
    padding: 35px 40px;
}

.service-card-header .service-icon {
    margin-bottom: 25px;
}

.service-card-header h5 {
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card-body p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-card-body .feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card-body .feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-body .feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Cloud Services Cards */
.cloud-service-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.cloud-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cloud-feature {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cloud-feature:last-child {
    border-bottom: none;
}

.cloud-feature .icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* Professional Support Cards */
.support-level-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.support-level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-level-card:hover::before {
    opacity: 1;
}

.support-level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Professional Metrics Cards */
.metrics-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.metrics-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.metrics-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   MÉTRICAS E BADGES DOS SERVIÇOS
   ======================================== */

/* Cards de métricas - estático */
.metric-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.metric-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.metric-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.metric-card p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
}

.metric-card i {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Badges especializados - estático */
.badge.cybersec-badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: default;
}

/* Cores específicas para diferentes tipos de badges */
.badge.security-framework {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.badge.compliance-sector {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #7b1fa2;
}

.badge.certification {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #2e7d32;
}

.badge.technology {
    background: linear-gradient(135deg, #fff3e0, #ffcc80);
    color: #ef6c00;
}

/* Containers para badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

/* Cards de certificação - estático */
.certification-badge {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid #e9ecef;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.certification-badge h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.certification-badge small {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Cards de setores - estático */
.sector-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sector-card h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.sector-card ul {
    text-align: left;
}

.sector-card ul li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #495057;
    transition: color 0.2s ease;
}

.sector-card:hover ul li {
    color: #2c3e50;
}

/* Trust metrics styling */
.trust-metrics {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-metrics .d-flex {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-metrics .d-flex:last-child {
    border-bottom: none;
}

.trust-metrics span {
    font-size: 0.9rem;
}

.trust-metrics strong {
    font-weight: 600;
}

/* Feature items estáticos */
.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
}

.feature-item i {
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.feature-item h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.feature-item small {
    color: #6c757d;
    line-height: 1.3;
}

/* ========================================
   TOQUES FINAIS E MELHORIAS VISUAIS
   ======================================== */

/* Gradientes especiais para headers de cards */
.service-card-header.protection-header {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.service-card-header.monitoring-header {
    background: linear-gradient(135deg, #007bff, #6610f2);
}

.service-card-header.analysis-header {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.service-card-header.compliance-header {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

/* Feature items enhanced desabilitados */
.feature-item.enhanced {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.02), rgba(0, 170, 255, 0.02));
    border-left: 3px solid transparent;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 5px 0;
}

/* Melhorias para trust metrics */
.trust-metrics.enhanced {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.trust-metrics.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.05), transparent);
    transition: left 0.5s ease;
}

.trust-metrics.enhanced:hover::before {
    left: 100%;
}

/* Aprimoramentos para Zero Trust components */
.zero-trust-component.enhanced {
    position: relative;
    overflow: hidden;
}

.zero-trust-component.enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zero-trust-component.enhanced:hover::before {
    opacity: 1;
}

/* Melhorias para certification badges */
.certification-badge.premium {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #0066cc, #00aaff) border-box;
    position: relative;
}

.certification-badge.premium::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Sector cards premium styling */
.sector-card.premium {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 170, 255, 0.2)) border-box;
    position: relative;
}

.sector-card.premium::after {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffc107;
    font-size: 16px;
}

/* Loading skeletons para performance */
.service-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    .feature-item.enhanced {
        padding: 10px 12px;
        margin: 3px 0;
    }
    
    .zero-trust-component.enhanced {
        padding: 15px;
    }
    
    .certification-badge.premium,
    .sector-card.premium {
        border-width: 1px;
    }
    
    .certification-badge.premium::after,
    .sector-card.premium::after {
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .service-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .service-card-body p {
        color: #a0aec0;
    }
    
    .trust-metrics.enhanced {
        background: linear-gradient(135deg, #2d3748, #4a5568);
        border-color: rgba(0, 102, 204, 0.3);
    }
    
    .zero-trust-component.enhanced {
        background: #374151;
    }
}

/* Print styles */
@media print {
    .service-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .animate-slide-up,
    .animate-slide-left,
    .animate-slide-right,
    .animate-fade-scale {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    
    .service-icon {
        border: 2px solid #000;
    }
    
    .badge.cybersec-badge {
        border: 1px solid #000;
        font-weight: bold;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .metric-card,
    .certification-badge,
    .sector-card,
    .badge.cybersec-badge,
    .zero-trust-component {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================
   FIM DOS TOQUES FINAIS
   ======================================== */

/* Zero Trust Card Enhancements */
.zero-trust-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.zero-trust-card .service-card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.zero-trust-component {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zero-trust-component:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.component-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    margin: 0 auto;
}

.badges-container .badge.technology {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 20px;
    font-weight: 500;
}

/* ========================================
   BANNER DE COOKIES - ANTI-SCROLL
   ======================================== */

/* Banner de cookies com animação suave e sem interferir no scroll */
#cookie-consent-banner {
    pointer-events: auto !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botões do banner sem interferir no scroll */
#cookie-consent-banner .btn {
    pointer-events: auto !important;
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    background-clip: padding-box !important;
    transition: all 0.3s ease !important;
}

#cookie-consent-banner .btn:focus,
#cookie-consent-banner .btn:active,
#cookie-consent-banner .btn:hover {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

/* Link da política de privacidade */
#cookie-consent-banner a {
    pointer-events: auto !important;
    text-decoration: underline !important;
    outline: none !important;
}

#cookie-consent-banner a:focus,
#cookie-consent-banner a:active,
#cookie-consent-banner a:hover {
    outline: none !important;
    text-decoration: underline !important;
}

/* Previne qualquer scroll ou movimentação indesejada */
#cookie-consent-banner * {
    scroll-behavior: auto !important;
}

/* Animação de entrada/saída */
#cookie-consent-banner.entering {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#cookie-consent-banner.leaving {
    opacity: 0 !important;
    transform: translateY(100%) !important;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 1rem !important;
    }
    
    #cookie-consent-banner .col-lg-4 {
        margin-top: 1rem;
        text-align: center !important;
    }
    
    #cookie-consent-banner .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}