/* Estilos específicos para a página de Grupos de Crescimento */

:root {
    --primary-blue: #0169b0;
    --dark-blue: #003d69;
    --light-blue: #e3f2fd;
    --accent-gold: #bca488;
    --text-dark: #2c3340;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
}

.gc-body {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    min-height: 100vh;
    height: 100%;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    padding: 20px 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Correção específica do footer na página GC */
.gc-body .site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 1.5rem !important;
}

.gc-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.gc-logo {
    max-width: 280px;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.gc-logo:hover {
    transform: scale(1.02);
}

.gc-title {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gc-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 500;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.gc-filters {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.gc-filter-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.gc-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.gc-filter-btn {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(225, 245, 254, 0.8) 100%);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gc-filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 105, 176, 0.3);
}

.gc-filter-btn.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c7a687 100%);
    border-color: var(--accent-gold);
    color: white;
    box-shadow: 0 6px 20px rgba(188, 164, 136, 0.4);
}

.gc-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gc-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    opacity: 0;
    transform: translateY(30px);
}

.gc-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.gc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gc-card:hover::before {
    opacity: 1;
}

.gc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-heavy);
}

.gc-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.gc-card-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.gc-card-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.3;
}

.gc-card-location {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.gc-card-location i {
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

.gc-card-time {
    color: #666;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.gc-card-time i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.gc-card-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.gc-whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.gc-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}

.gc-whatsapp-btn i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.gc-no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    margin: 2rem 0;
}

.gc-no-results i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.gc-no-results h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.gc-no-results p {
    color: #666;
    font-size: 1.1rem;
}

/* Animações específicas */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gc-card.animate-in {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Media Queries */
@media (max-width: 768px) {
    .gc-body {
        padding: 10px 0 0 0;
    }
    
    .main-content {
        padding-bottom: 1rem;
    }
    
    .gc-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .gc-card {
        padding: 2rem 1.5rem;
    }
    
    .gc-filter-buttons {
        gap: 0.5rem;
    }
    
    .gc-filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .gc-filters {
        padding: 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .gc-header {
        padding: 1rem 0;
    }
    
    .gc-logo {
        max-width: 240px;
    }
    
    .gc-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .gc-card-icon {
        margin: 0 0 1rem 0;
    }
    
    .gc-whatsapp-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Estilos para os botões de ação dos filtros */
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(1, 105, 176, 0.1);
}

.filter-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(1, 105, 176, 0.2);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 105, 176, 0.3);
}

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

.clear-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.clear-btn:hover {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.refresh-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.refresh-btn:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.refresh-btn i {
    animation: none;
}

.refresh-btn:active i {
    animation: spin 0.8s ease-in-out;
}

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

.results-counter {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.results-counter i {
    color: var(--primary-blue);
}

/* Responsivo para os botões */
@media (max-width: 768px) {
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .filter-btn {
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .results-counter {
        justify-content: center;
        margin-top: 1rem;
    }
}