/* 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;
}

/* Hero Section - Fundo mais escuro */
#home {
    background: linear-gradient(135deg, #f3f0f9 0%, #e8dff2 50%, #ddd6e8 100%) !important;
}

/* 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));
}

/* Estilos para a imagem da Suzane na seção hero */
#home .suzane-hero-image {
    position: absolute !important;
    left: 2rem !important; /* Posicionada do lado esquerdo */
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18rem !important; /* w-72 equivalente */
    height: 20rem !important; /* h-80 equivalente */
    z-index: 10 !important;
    right: auto !important; /* Força a remoção do right */
}

.suzane-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsividade para a imagem da Suzane no hero */
@media (max-width: 1024px) {
    #home .suzane-hero-image {
        width: 16rem !important;
        height: 18rem !important;
        left: 1rem !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    #home .suzane-hero-image {
        width: 14rem !important;
        height: 16rem !important;
        left: 0.5rem !important;
        right: auto !important;
    }
}

@media (max-width: 640px) {
    #home .suzane-hero-image {
        display: none; /* Esconder em telas muito pequenas */
    }
}

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

@media (max-width: 768px) {
    .suzane-photo {
        width: 14rem;
        height: 26rem; /* Aumentado de 22rem para 26rem */
        margin: 0 auto 1.5rem auto;
    }
}

@media (max-width: 640px) {
    .suzane-photo {
        width: 12rem;
        height: 24rem; /* Aumentado de 20rem para 24rem */
    }
}

/* Estilos para a seção de clientes - Cards com padrão único */
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f6fc 100%);
    border: 2px solid rgba(92, 45, 145, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(92, 45, 145, 0.05);
}

.client-logo-card:hover {
    background: linear-gradient(135deg, #f8f6fc 0%, #ffffff 100%);
    border-color: rgba(92, 45, 145, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(92, 45, 145, 0.15);
}

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

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

/* Responsividade para a seção de clientes - Cards */
@media (max-width: 1024px) {
    .client-logo-card {
        width: 120px;
        height: 85px;
    }
    
    .client-logo-standard {
        height: 50px;
        max-width: 100px;
    }
}

@media (max-width: 768px) {
    .client-logo-card {
        width: 100px;
        height: 75px;
    }
    
    .client-logo-standard {
        height: 45px;
        max-width: 90px;
    }
}

@media (max-width: 640px) {
    .client-logo-card {
        width: 90px;
        height: 70px;
    }
    
    .client-logo-standard {
        height: 40px;
        max-width: 80px;
    }
}

/* 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; }

/* Estilos para botão "Ver mais" */
.ver-mais-btn {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(92, 45, 145, 0.05);
    border: 1px solid rgba(92, 45, 145, 0.1);
}

.ver-mais-btn:hover {
    background: rgba(92, 45, 145, 0.1);
    border-color: rgba(92, 45, 145, 0.2);
    transform: translateY(-1px);
}

.ver-mais-btn:active {
    transform: translateY(0);
}

/* Animação suave para pontos ocultos */
.hidden-points {
    transition: all 0.3s ease;
    overflow: hidden;
}

.hidden-points.hidden {
    max-height: 0;
    opacity: 0;
}

.hidden-points:not(.hidden) {
    max-height: 1000px;
    opacity: 1;
}

/* Estilos para a nova estrutura grid da Suzane - Efeito Pílula */
.suzane-hero-container {
    width: 100%;
    max-width: 480px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -4rem;
    transform: translateX(-0.5rem);
    position: relative;
}

.suzane-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem 0.5rem 2rem 0.5rem; /* Forma orgânica com cantos arredondados assimétricos */
    filter: drop-shadow(0 12px 24px rgba(92, 45, 145, 0.3));
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, #5C2D91 0%, #8A5BAF 50%, #B794D4 100%);
    padding: 8px;
    box-sizing: border-box;
    transform: rotate(2deg); /* Leve rotação para dar dinamismo */
}

.suzane-hero-img:hover {
    transform: rotate(2deg) scale(1.02); /* Mantém a rotação no hover */
    filter: drop-shadow(0 16px 32px rgba(92, 45, 145, 0.4));
}

/* Estilos para a imagem da Suzane na seção de contato */
.suzane-contact-photo {
    transition: all 0.3s ease-in-out;
    min-height: 300px;
}

.suzane-contact-photo:hover {
    transform: scale(1.02);
}

/* Responsividade para os cards de contato */
@media (max-width: 1024px) {
    .suzane-contact-photo {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .suzane-contact-photo {
        min-height: 250px;
    }
}

@media (max-width: 640px) {
    .suzane-contact-photo {
        min-height: 220px;
    }
}

/* Responsividade para a nova estrutura */
@media (max-width: 1024px) {
    .suzane-hero-container {
        max-width: 420px;
        height: 540px;
        margin-left: -3rem;
        transform: translateX(-0.25rem);
    }
}

@media (max-width: 768px) {
    .suzane-hero-container {
        max-width: 360px;
        height: 480px;
        margin-left: -2rem;
        transform: translateX(-0.25rem);
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .suzane-hero-container {
        max-width: 336px;
        height: 420px;
        margin-left: -1rem;
        transform: translateX(-0.125rem);
        justify-content: center;
    }
}
