/**
 * MindShift Empresarial - CSS Adicional
 * Estilos complementares e ajustes específicos
 */

/* Header scrolled */
.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* WhatsApp flutuante animação */
.whatsapp-float {
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* Efeito de hover nos cards de serviço */
.servico-card {
    transition: all 0.4s ease;
}

.servico-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Estilo para links ativos no menu */
.nav-links a.current-menu-item,
.nav-links a.current_page_item {
    color: var(--primary);
}

/* Ajustes para WordPress */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

/* Estilo para conteúdo do editor */
.entry-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--gray);
}

/* Estilo para imagens destacadas */
.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Navegação de posts */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: var(--primary);
    font-weight: 600;
}

.post-navigation a:hover {
    color: var(--secondary);
}

/* Comentários */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.comment-author {
    font-weight: 700;
    color: var(--primary);
}

.comment-meta {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
}

/* Formulário de comentário */
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91, 45, 140, 0.1);
}

.comment-form .submit {
    background: var(--gradient-secondary);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 166, 35, 0.4);
}

/* Sidebar widgets */
.widget {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget a {
    color: var(--dark);
    transition: color 0.3s;
}

.widget a:hover {
    color: var(--primary);
}

/* Search form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #E8E8E8;
    border-radius: 30px;
    font-size: 14px;
}

.search-form .search-submit {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form .search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 45, 140, 0.3);
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    transition: all 0.3s;
}

.pagination a {
    background: white;
    color: var(--dark);
    box-shadow: var(--shadow);
}

.pagination a:hover {
    background: var(--primary);
    color: white;
}

.pagination .current {
    background: var(--primary);
    color: white;
}

/* 404 Page */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-404 h1 {
    font-size: 120px;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsivo adicional */
@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .contato-content {
        gap: 40px;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .sobre-content {
        gap: 40px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .cta-section {
        display: none;
    }
    
    .section {
        padding: 30px 0;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}
