/* Cores personalizadas baseadas no logo da Talents */
:root {
    --color-primary: #5C2D91; /* Roxo escuro principal do logo */
    --color-secondary: #8A5BAF; /* Roxo médio do "GESTÃO DE PESSOAS" */
    --color-accent: #B794D4; /* Roxo claro para destaques */
    --color-light: #F8F6FC; /* Fundo claro com tom roxo */
    --color-dark: #2D1B4E; /* Roxo muito escuro para textos */
    --color-error: #DC2626;
    --color-success: #16A34A;
    --color-warning: #F59E0B; /* Dourado para alertas */
}

/* Animações personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estilos personalizados para componentes */
.card-hover {
    transition: all 0.2s ease-in-out;
}

.card-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pill-default {
    background: linear-gradient(to right, #f6f6f6, #ececec);
    color: #1f2937;
}

.pill-success {
    background-color: #dcfce7;
    color: #166534;
}

.pill-error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Loading spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

/* Responsividade melhorada */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-logo {
        height: 5rem; /* Aumentado de 3rem para 5rem apenas no mobile */
    }
    
    .navbar-logo {
        height: 2rem;
    }
    
    .footer-logo {
        height: 1.5rem;
    }
    
    /* Menu mobile específico */
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }
    
    #mobile-menu.hidden {
        animation: slideUp 0.3s ease-out;
    }
    
    /* Botão do menu mobile */
    #mobile-menu-button {
        border: 1px solid rgba(92, 45, 145, 0.1);
    }
    
    #mobile-menu-button:hover {
        background-color: rgba(92, 45, 145, 0.05);
        border-color: rgba(92, 45, 145, 0.2);
    }
}

/* Hero Section responsivo */
@media (max-width: 640px) {
    #home {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-logo {
        height: 4rem; /* Aumentado de 2.5rem para 4rem na tela pequena */
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    #home {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1025px) {
    #home {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Estilos para o logo */
.hero-logo {
    filter: drop-shadow(0 4px 6px rgba(92, 45, 145, 0.2));
}

.navbar-logo {
    transition: transform 0.2s ease-in-out;
}

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

/* Estilos atualizados para cards com cores roxas */
.card-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(92, 45, 145, 0.1), 0 10px 10px -5px rgba(138, 91, 175, 0.1);
}

/* Pills com cores roxas */
.pill-default {
    background: linear-gradient(to right, #F3F4F6, #E5E7EB);
    color: #5C2D91;
    border: 1px solid rgba(92, 45, 145, 0.1);
}

.pill-default:hover {
    background: linear-gradient(to right, #E5E7EB, #D1D5DB);
    border-color: rgba(92, 45, 145, 0.2);
}

/* Estilos para a foto da Suzane */
.suzane-photo {
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0 8px 16px rgba(92, 45, 145, 0.15));
}

.suzane-photo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 12px 24px rgba(92, 45, 145, 0.25));
}

/* Responsividade para a foto */
@media (max-width: 1024px) {
    .suzane-photo {
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 768px) {
    .suzane-photo {
        width: 10rem;
        height: 10rem;
        margin: 0 auto 1.5rem auto;
    }
}

/* Estilos para a seção de clientes */
.client-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%;
    max-width: 200px;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(92, 45, 145, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.client-logo-container:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(92, 45, 145, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(92, 45, 145, 0.1);
}

.client-logo {
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.client-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-placeholder:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Animação para os logos dos clientes */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-logo-container {
    animation: floatIn 0.6s ease-out forwards;
}

.client-logo-container:nth-child(1) { animation-delay: 0.1s; }
.client-logo-container:nth-child(2) { animation-delay: 0.2s; }
.client-logo-container:nth-child(3) { animation-delay: 0.3s; }
.client-logo-container:nth-child(4) { animation-delay: 0.4s; }
.client-logo-container:nth-child(5) { animation-delay: 0.5s; }
.client-logo-container:nth-child(6) { animation-delay: 0.6s; }
.client-logo-container:nth-child(7) { animation-delay: 0.7s; }
.client-logo-container:nth-child(8) { animation-delay: 0.8s; }

/* Responsividade para a seção de clientes */
@media (max-width: 768px) {
    .client-logo-container {
        min-height: 100px;
        max-width: 150px;
        padding: 0.75rem;
    }
    
    .client-logo {
        max-height: 60px;
        max-width: 140px;
    }
    
    .client-placeholder {
        min-height: 60px;
    }
    
    .client-placeholder i {
        width: 2rem;
        height: 2rem;
    }
}

/* Classes utilitárias para cores personalizadas */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-dark { color: var(--color-dark) !important; }
.text-error { color: var(--color-error) !important; }
.text-success { color: var(--color-success) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-dark { background-color: var(--color-dark) !important; }
.bg-error { background-color: var(--color-error) !important; }
.bg-success { background-color: var(--color-success) !important; }
.border-primary { border-color: var(--color-primary) !important; }
.border-secondary { border-color: var(--color-secondary) !important; }
.border-error { border-color: var(--color-error) !important; }
.ring-primary { --tw-ring-color: var(--color-primary) !important; }
.ring-secondary { --tw-ring-color: var(--color-secondary) !important; }
.ring-error { --tw-ring-color: var(--color-error) !important; }
