/*primary color*/
.bg-cream {
    background-color: #F8F9FF;
}

/*fonts*/
/* Fonte Ananda cursiva manuscrita - arquivo local */
@font-face {
    font-family: 'Ananda';
    src: url('../fonts/Ananda Black Personal Use.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Restaurado para swap - mostra fonte quando carregar */
}

/* Estilo especial para o texto do logo - cursiva manuscrita Ananda */
.logo-text {
    font-family: 'Ananda', cursive !important;
    font-weight: normal;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Nova paleta de cores baseada no logo */
.bg-yellow-500 {
    background-color: #8b5cf6;
}
.text-yellow-500 {
    color: #8b5cf6;
}

/* Cores adicionais para harmonizar */
.bg-purple-primary {
    background-color: #8b5cf6;
}
.bg-purple-secondary {
    background-color: #a855f7;
}
.bg-purple-accent {
    background-color: #6366f1;
}
.text-purple-primary {
    color: #8b5cf6;
}
.text-purple-secondary {
    color: #a855f7;
}
.text-purple-accent {
    color: #6366f1;
}

/* Gradientes para botões e elementos especiais */
.bg-gradient-purple {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}
.bg-gradient-purple-light {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #d8b4fe 100%);
}

.floating { 
    animation-name: floating; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
} 
@keyframes floating { 
    0% { transform: translate3d(0, 0px, 0); } 
    50% { transform: translate3d(0, 8px, 0); } 
    100% { transform: translate3d(0, -0px, 0); }  
} 
.floating-4 { 
    animation-name: floating; 
    animation-duration: 4s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
} 
@keyframes floating-4 { 
    0% { transform: translate3d(0, 0px, 0); } 
    50% { transform: translate3d(0, 8px, 0); } 
    100% { transform: translate3d(0, -0px, 0); }  
}
.text-darken {
    color: #2F327D;
}

/* Fix para botões do navbar */
nav button {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
    display: block !important;
}

/* Regras para desktop */
@media (min-width: 769px) {
    .navbar-container {
        /* Mantém comportamento original */
    }
    
    .navbar-logo {
        /* Volta ao comportamento original do desktop */
        position: absolute !important;
        top: -11px !important;
        left: -12px !important;
        height: 44px !important;
        width: 44px !important;
        transform: none !important;
    }
    
    .navbar-text {
        /* Volta ao comportamento original do desktop */
        position: relative !important;
        left: 20px !important;
        margin-left: 0 !important;
        top: 0 !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }
    .logo-text {
        font-size: 1.125rem !important; /* text-lg */
    }
}

/* Media queries para dispositivos móveis */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 1.8rem !important;
        line-height: 2.25rem;
    }
    
    .text-2xl {
        font-size: 1rem !important;
        line-height: 1.5rem;
    }
    
    .leading-normal {
        line-height: 1.5;
    }
    
    /* Container do navbar para mobile */
    .navbar-container {
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        height: 40px !important;
    }
    
    /* Logo responsivo */
    .navbar-logo {
        height: 32px !important;
        width: 32px !important;
        position: absolute !important;
        left: -3px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    /* Texto responsivo */
    .navbar-text {
        font-size: 0.875rem !important;
        margin-left: 35px !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        line-height: 1.2 !important;
    }
    .logo-text {
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    .text-5xl {
        font-size: 1.5rem !important;
        line-height: 2rem;
    }
    
    .text-2xl {
        font-size: 0.875rem !important;
        line-height: 1.25rem;
    }
    
    /* Container ainda menor para celulares pequenos */
    .navbar-container {
        height: 36px !important;
    }
    
    /* Logo ainda menor */
    .navbar-logo {
        height: 28px !important;
        width: 28px !important;
    }
    
    /* Texto ainda menor */
    .navbar-text {
        font-size: 0.75rem !important;
        margin-left: 20px !important;
        tracking-wider !important;
    }
    .logo-text {
        font-size: 0.75rem !important;
    }
}