/* ========================================
   CONFIGURADOR DE PROJETOS - DESIGN ELEGANTE
   ======================================== */

.project-configurator-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #000000 0%, #000000 85%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.project-configurator-section::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}

.project-configurator-section::after {
    content: '';
    position: absolute;
    bottom: 150px;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.10) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(70px);
}

.configurator-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Header */
.configurator-header {
    text-align: center;
    margin-bottom: 40px;
}

.configurator-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 107, 53, 0.06));
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--color-orange);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
}

.configurator-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.configurator-highlight {
    background: linear-gradient(135deg, #ff6b35 0%, #ff9d6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.configurator-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Barra de Progresso */
.progress-tracker {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35 0%, #ff9d6e 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-text {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35, #ff9d6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-step {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Breadcrumb */
.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    backdrop-filter: blur(20px);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.breadcrumb-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 107, 53, 0.06));
    border-color: rgba(255, 107, 53, 0.3);
    color: var(--color-orange);
}

.breadcrumb-item i {
    font-size: 12px;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

/* Wrapper Principal */
.configurator-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 25px;
    min-height: 600px;
}

/* Sidebar Esquerda */
.configurator-sidebar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    height: fit-content;
    max-height: 700px;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.configurator-sidebar::-webkit-scrollbar {
    width: 6px;
}

.configurator-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.configurator-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.3);
    border-radius: 10px;
}

.configurator-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.5);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
}

.sidebar-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #ff6b35, #ff9d6e);
    border-radius: 10px 0 0 10px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(3px);
}

.sidebar-item:hover::before {
    transform: scaleY(1);
}

.sidebar-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 107, 53, 0.06));
    border-color: rgba(255, 107, 53, 0.4);
}

.sidebar-item.active::before {
    transform: scaleY(1);
}

.sidebar-item-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-orange);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-item:hover .sidebar-item-icon {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.sidebar-item-content {
    flex: 1;
}

.sidebar-item-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2px;
}

.sidebar-item-content p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-arrow {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sidebar-item:hover .sidebar-arrow {
    color: var(--color-orange);
    transform: translateX(3px);
}

/* Conteúdo Central */
.configurator-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    min-height: 600px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.content-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    gap: 20px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon i {
    font-size: 40px;
    color: var(--color-orange);
    opacity: 0.6;
}

.content-placeholder h3 {
    font-size: 22px;
    color: var(--color-white);
}

.content-placeholder p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 400px;
}

/* Níveis */
.content-level {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.level-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.level-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
}

/* Grid de Opções */
.level-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.option-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff9d6e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-card:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.option-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px;
    color: var(--color-orange);
    transition: all 0.3s ease;
}

.option-card:hover .option-card-icon {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.option-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.option-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.option-card .add-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff6b35, #ff9d6e);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.option-card .add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.5);
}

/* Carrinho Lateral Direito */
.configurator-cart {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    height: fit-content;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-title i {
    font-size: 18px;
    color: var(--color-orange);
}

.cart-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
}

.cart-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    max-height: 450px;
}

.cart-content::-webkit-scrollbar {
    width: 6px;
}

.cart-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.3);
    border-radius: 10px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.5);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    gap: 15px;
}

.cart-empty i {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
    opacity: 0.5;
}

.cart-empty p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.cart-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.cart-item-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-orange);
}

.cart-item-info {
    flex: 1;
    margin-left: 10px;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
}

.cart-item-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.cart-item-remove {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: var(--color-white);
}

.cart-item-features {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-feature {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-feature i {
    font-size: 8px;
    color: var(--color-orange);
}

.cart-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-clear {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-clear:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.cart-finish {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #25D366, #20ba5a);
    border: none;
    border-radius: 10px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.cart-finish:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #20ba5a, #25D366);
}

.cart-finish:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .configurator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .configurator-sidebar,
    .configurator-cart {
        max-height: none;
    }
    
    .configurator-cart {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .configurator-title {
        font-size: 32px;
    }
    
    .level-options {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .breadcrumb-container {
        font-size: 11px;
    }
}