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

body {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4fc3f7 0%, #4dd0e1 50%, #4db6ac 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><g opacity="0.15"><path d="M100 40 L140 60 L140 100 L100 120 L60 100 L60 60 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="100" cy="80" r="15" fill="white" opacity="0.6"/><circle cx="100" cy="80" r="8" fill="white" opacity="0.8"/><circle cx="100" cy="60" r="3" fill="white" opacity="0.9"/><circle cx="120" cy="70" r="3" fill="white" opacity="0.9"/><circle cx="120" cy="90" r="3" fill="white" opacity="0.9"/><circle cx="100" cy="100" r="3" fill="white" opacity="0.9"/><circle cx="80" cy="90" r="3" fill="white" opacity="0.9"/><circle cx="80" cy="70" r="3" fill="white" opacity="0.9"/><path d="M100 80 L100 60 M100 80 L120 70 M100 80 L120 90 M100 80 L100 100 M100 80 L80 90 M100 80 L80 70" stroke="white" stroke-width="1" opacity="0.5"/></g></svg>');
    background-size: 300px 300px;
    background-position: 0 0, 150px 150px;
    animation: float 30s ease-in-out infinite;
    transform-origin: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 40px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
}

header h1 {
    font-size: 3em;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 20px;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: none;
    background: transparent;
    padding: 5px 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.logo-link {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    background: #fdfcf8;
    padding: 20px 25px;
    border-radius: 0 0 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo-link:hover {
    background: #f5f2e8;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.home-icon {
    width: 20px !important;
    height: 20px !important;
    margin-left: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.logo-link:hover .home-icon {
    opacity: 1;
}

/* Garantir que nenhum outro SVG seja afetado */
svg:not(.home-icon) {
    max-width: 100%;
    height: auto;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2.5em;
    color: #4db6ac;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    color: #666;
}

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

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    color: #4dd0e1;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.card p {
    color: #666;
    line-height: 1.8;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: white;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 1.8em;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 20px) rotate(5deg);
    }
}