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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 25%, #2d3748 50%, #1a2332 75%, #0f1419 100%);
    min-height: 100vh;
    color: white;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Logo de fundo com efeito parallax */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    will-change: transform;
}

.background-logo .logo-background {
    width: 800px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Efeito de fundo com gradientes dinâmicos */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

/* Header melhorado */
header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.logo-header {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.logo-main {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #cbd5e0;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

header p {
    font-size: 1rem;
    opacity: 0.8;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    color: #a0aec0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.header-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #3b82f6);
    margin: 30px auto 0;
    border-radius: 2px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Grid de cards melhorado */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* Cards redesenhados */
.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 120px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 25px rgba(0, 0, 0, 0.15),
        0 10px 10px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.card-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.card:hover .card-icon img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.card-content {
    flex: 1;
    text-align: left;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.card:hover .card-content h3 {
    color: #f8fafc;
}

.card-content p {
    font-size: 0.9rem;
    color: #cbd5e0;
    font-weight: 400;
    line-height: 1.4;
}

.card-arrow {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: #a0aec0;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.card:hover .card-arrow {
    color: #ffffff;
    transform: translateX(8px);
}

/* Footer melhorado */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-text {
    text-align: center;
}

.footer-text p:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-text p:last-child {
    font-size: 0.9rem;
    color: #a0aec0;
    font-weight: 400;
}

.footer-responsaveis {
    font-size: 0.85rem !important;
    color: #cbd5e0 !important;
    margin-top: 8px;
    font-weight: 400 !important;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsividade melhorada */
@media (max-width: 1024px) {
    .container {
        padding: 40px 20px;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
    
    header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    
    .logo-main {
        height: 60px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    header h2 {
        font-size: 1.25rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 24px;
        min-height: 100px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon img {
        width: 32px;
        height: 32px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .background-logo .logo-background {
        width: 600px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    header h2 {
        font-size: 1.1rem;
    }
    
    header p {
        letter-spacing: 2px;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .card-content {
        text-align: center;
    }
    
    .card-arrow {
        transform: rotate(90deg);
    }
    
    .card:hover .card-arrow {
        transform: rotate(90deg) translateX(8px);
    }
    
    .background-logo .logo-background {
        width: 400px;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .background-logo {
        transform: translate(-50%, -50%) !important;
    }
}

/* Estados de foco para acessibilidade */
.card:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.card:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}


/* Estados de foco para acessibilidade */
.card:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.card:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}