@charset "UTF-8";
:root { --transition-main: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); --turquesa: #4CB2AB; --sidebar-width: 280px; }
.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition-main); pointer-events: none; }
.reveal.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: var(--transition-main); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: var(--transition-main); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; } .stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; } .stagger-5 { transition-delay: 0.5s; } .stagger-6 { transition-delay: 0.6s; }
.module-card, .creative-card, .dna-card, .tech-card, .digital-card, .tutorial-card, .template-card, .process-step {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.module-card:hover, .creative-card:hover, .dna-card:hover, .tech-card:hover, .digital-card:hover, .tutorial-card:hover, .template-card:hover, .process-step:hover {
    transform: translateY(-8px) scale(1.01) !important; box-shadow: none;
}
.sidebar {
    width: var(--sidebar-width); background-color: var(--turquesa) !important; border-right: none !important;
    height: 100vh; position: fixed; left: 0; top: 0; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; z-index: 100;
    transform: translateX(-100%); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: none; -ms-overflow-style: none;
}
.sidebar::-webkit-scrollbar { display: none; }
body.loaded .sidebar { transform: translateX(0); }
.sidebar .nav-title { color: rgba(255, 255, 255, 0.9) !important; }
.sidebar .nav-link { color: rgba(255, 255, 255, 0.8) !important; }
.sidebar .nav-link i { color: rgba(255, 255, 255, 0.7) !important; }
.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.sidebar .nav-link.active i { color: #fff !important; }
.sidebar-header { border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; padding: 1.5rem; display: flex; justify-content: center; }
.lab-logo { 
    width: 100%; max-width: 240px; display: block; 
    filter: brightness(0) invert(1) !important; 
    transition: transform 0.3s ease;
}
.lab-logo:hover { 
    transform: scale(1.05); 
    filter: brightness(0) invert(1) !important; 
}
.main-content {
    opacity: 0; margin-left: var(--sidebar-width); transition: opacity 1.2s ease, margin-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
body.sidebar-minimized .main-content { margin-left: 80px; }
body.loaded .main-content { opacity: 1; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   MANDALLA OFFICIAL PATTERNS (GEOMETRIC COMPOSITION)
   Use: Create a .pattern-container and add .pillar and .acc elements.
   ========================================================================== */
.pattern-container {
    height: 400px;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid #f0f0f0;
    margin: 2rem 0;
}

.pillar {
    position: absolute;
    bottom: -30px;
    border-radius: 999px;
}

.p-purple {
    width: 160px;
    height: 380px;
    background: var(--mandalla-purple);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.p-teal {
    width: 150px;
    height: 240px;
    background: var(--mandalla-teal);
    left: 35%;
    transform: translateX(-50%);
    z-index: 3;
}

.p-orange {
    width: 180px;
    height: 300px;
    background: var(--mandalla-orange);
    left: 65%;
    transform: translateX(-50%);
    z-index: 2;
}

.acc {
    position: absolute;
    background: #1A1A1A;
}

.acc-bowl {
    width: 120px;
    height: 60px;
    border-radius: 0 0 60px 60px;
    top: 15px;
    left: 20px;
}

.acc-hat {
    width: 130px;
    height: 65px;
    border-radius: 65px 65px 0 0;
    top: -20px;
    right: -30px;
}

.p-teal-extra {
    width: 100px;
    height: 50px;
    background: var(--mandalla-teal);
    border-radius: 50px 50px 0 0;
    position: absolute;
    bottom: 220px;
    left: 25%;
    z-index: 2;
}

.p-line {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.3);
    pointer-events: none;
}

.line-purple {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    top: 40px;
    left: 15px;
}

.line-orange {
    width: 140px;
    height: 100px;
    border-radius: 0 70px 70px 0;
    border-left: 0;
    top: 100px;
    left: 0;
}


/* ==========================================================================
   NEW: DYNAMIC COMPOSITIONS & OVERLAPS
   ========================================================================== */

.pillar.p-horizontal {
    width: 280px;
    height: 140px;
    border-radius: 999px;
    bottom: auto;
}

.pillar.p-black { background: #1A1A1A; }

.pillar.p-outline {
    background: transparent !important;
    border: 1.8px solid #1A1A1A;
}

.pillar.p-outline.white {
    border-color: #FFFFFF;
}

.pillar.p-semi { border-radius: 0 0 999px 999px; }
.pillar.p-semi-bottom { border-radius: 999px 999px 0 0; }

/* Carrossel Horizontal de Variações */
.variation-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 2rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.variation-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.variation-carousel .variation-card {
    flex: 0 0 400px; /* Largura fixa para cada card */
    height: 400px;
    background: #fff;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.variation-carousel .variation-card:hover { border-color: #eee; }

.variation-carousel .pillar { bottom: auto; }

@media (max-width: 768px) {
    .variation-carousel .variation-card {
        flex: 0 0 300px;
        height: 300px;
    }
}


/* User Greeting Style */
#user-greeting-container {
    animation: fadeInSlide 1s ease forwards;
}

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

#user-name-greeting {
    background: linear-gradient(90deg, var(--turquesa), #2C7A7B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
