/* ==============================================
   PÁGINA DE ESPAÇOS - ESTILOS ESPECÍFICOS
   ============================================== */

/* Page Header */
.page-header {
    padding: 140px 20px 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Espaços Section */
.espacos-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding) 4rem;
}

.espacos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Espaço Card */
.espaco-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.espaco-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.espaco-large {
    grid-column: span 2;
    grid-row: span 1;
}

.espaco-large .espaco-content {
    padding: 3rem;
}

.espaco-large .espaco-title {
    font-size: 2.5rem;
}

/* Espaço Image */
.espaco-image {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.espaco-large .espaco-image {
    height: 400px;
}

.espaco-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.espaco-image .placeholder-icon {
    opacity: 0.3;
}

.espaco-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Espaço Content */
.espaco-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.espaco-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.2;
}

.espaco-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex: 1;
}

/* Espaço Stats */
.espaco-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Espaço Button */
.espaco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.espaco-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* CTA Section */
.cta {
    max-width: var(--container-max);
    margin: 0 auto 4rem;
    padding: 0 var(--container-padding);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 40px;
    }

    .espacos-grid {
        grid-template-columns: 1fr;
    }

    .espaco-large {
        grid-column: span 1;
    }

    .espaco-large .espaco-content {
        padding: 2rem;
    }

    .espaco-large .espaco-title {
        font-size: 1.75rem;
    }

    .espaco-stats {
        gap: 1rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-btns {
        flex-direction: column;
    }

    .btn-white,
    .btn-outline {
        width: 100%;
    }
}
