/* Estilos Globais Compartilhados - Rede Cesária */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #faf9f6; /* Branco suave, como uma tela */
    color: #2d2d2d;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Canvas de Fundo para "Pintura" */
#painting-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Elementos flutuantes animados */
.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #FBBF24, #EF4444);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #38BDF8, #EC4899);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #10B981, #FBBF24);
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #8B5CF6, #EF4444);
    top: 40%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

/* Navegação */
.main-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(74, 74, 74, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 8px;
    z-index: 1000;
    border: 2px solid #2d2d2d;
    box-shadow: 4px 4px 0px #2d2d2d;
    transition: top 0.3s ease;
}

.nav-link {
    padding: 0.5rem 1.5rem;
    color: #a0a0c0;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: inline-block;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #1a1a2e;
    background-color: #FBBF24;
}

/* Tipografia */
.title-font {
    font-family: 'Space Mono', monospace;
}

/* Seções */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
}

/* Títulos */
.main-title {
    color: #2d2d2d;
    text-shadow: 2px 2px 0px rgba(251, 191, 36, 0.8);
}

.section-title {
    position: relative;
    padding-bottom: 0.5rem;
    color: #2d2d2d;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #EF4444;
}

/* Cards de conteúdo */
.content-card {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid #2d2d2d;
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 4px 4px 0px #2d2d2d;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0px #2d2d2d;
}

/* Animações de Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .main-nav {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}

/* Botões */
.btn-primary {
    background-color: #FBBF24;
    color: #1a1a2e;
    border: 2px solid #2d2d2d;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0px #2d2d2d;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #2d2d2d;
}

.btn-secondary {
    background-color: transparent;
    color: #2d2d2d;
    border: 2px solid #2d2d2d;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2d2d2d;
    color: #faf9f6;
}

/* Lista de links */
.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin: 1rem 0;
}

.link-list a {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-left: 3px solid #FBBF24;
    display: block;
    transition: all 0.3s ease;
}

.link-list a:hover {
    background-color: rgba(251, 191, 36, 0.1);
    padding-left: 1.5rem;
}

/* Texto destacado */
.highlight {
    background: linear-gradient(120deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.3) 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Container principal */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Grid responsivo */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

