/*
Theme Name: Diário do MEI
Description: Tema personalizado para o blog Diário do MEI - Seu guia prático para vencer os desafios do dia a dia como MEI
Version: 1.0
Author: Radar MEI
*/

/* ===== DIÁRIO DO MEI - CUSTOM STYLES ===== */
:root {
    --primary-color: #0057D8;
    --white-color: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #6B7280;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --purple-color: #8B5CF6;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 87, 216, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: var(--white-color);
}

/* ===== BOOTSTRAP CUSTOMIZATIONS ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 12px 24px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #003d9a;
    border-color: #003d9a;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Custom badge colors */
.bg-success {
    background-color: var(--success-color) !important;
}

.bg-purple {
    background-color: var(--purple-color) !important;
}

.text-purple {
    color: var(--purple-color) !important;
}

/* ===== HEADER ===== */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #003d9a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1F2937;
}

.btn-cta {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link {
    font-weight: 500;
    color: #374151 !important;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1F2937;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 87, 216, 0.3);
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 87, 216, 0.15);
    max-width: 500px;
}
@media (max-width: 992px) {
    .hero-image {
        max-width: 100%;
    }
    
}
@media (min-width: 993px) {
    .menu {
        justify-content: flex-end;
        gap: 15px;
    }
    
}

.radar a, .radar span{
    font-size: 12px;
    color: #6B7280;
}
.radar a:hover {
    color: inherit;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== ARTICLE CARDS ===== */
.article-card {
    height: 100%;
}

.article-icon {
    height: 190px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
}

.article-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.card-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .card-image-container img {
    transform: scale(1.05);
}

.btn-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: #003d9a;
    text-decoration: none;
}

.btn-read-more i {
    transition: var(--transition);
}

.btn-read-more:hover i {
    transform: translateX(4px);
}

/* ===== CATEGORY CARDS ===== */
.category-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.category-desc {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== CTA SECTIONS ===== */
.radar-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d9a 100%);
}

.radar-cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.radar-cta-section .btn-light {
    background-color: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.radar-cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 216, 0.25);
}

.newsletter-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #003d9a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.testimonial-stars {
    color: #f59e0b;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: auto;
}

.footer h6 {
    color: #1F2937;
    font-weight: 600;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* ===== POSTS PAGE ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d9a 100%);
    padding: 100px 0 60px;
}

.filter-btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* ===== SINGLE POST PAGE ===== */
.article-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1F2937;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1F2937;
    margin: 2rem 0 1rem;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1F2937;
    margin: 1.5rem 0 0.8rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content .alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
}

.article-content .alert-info {
    background-color: #eff6ff;
    color: #1e40af;
}

.article-content .alert-success {
    background-color: #f0fdf4;
    color: #166534;
}

.article-content .alert-warning {
    background-color: #fffbeb;
    color: #92400e;
}

.article-actions {
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.article-navigation .card {
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.article-navigation .card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

/* Sidebar */
.author-avatar .logo-icon {
    width: 60px;
    height: 60px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .newsletter-form .row > div {
        margin-bottom: 1rem;
    }
    
    .filter-btn {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-hero {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
}

/* ===== UTILITIES ===== */
.gradient-primary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d9a 100%) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== SCROLLBAR CUSTOMIZATION ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003d9a;
}