/* ====================================
   COMO FAZEMOS PAGE - PRODUCT TABS & STEPPER
   ==================================== */

/* Product Tabs with Arrows */
.product-tabs-container {
    max-width: 1000px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.product-nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-nav-arrow:hover:not(:disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.product-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.product-tabs-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.product-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}

.product-tab {
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    bottom: -2px;
    flex: 0 0 calc(33.333% - 0px);
    min-width: 250px;
}

.product-tab:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.product-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

/* Product Title Box */
.product-title-box {
    max-width: 1000px;
    margin: 30px auto;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.product-title-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

/* Stepper Container */
.stepper-container {
    max-width: 1000px;
    margin: 0 auto 50px;
}

/* Stepper Navigation */
.stepper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    padding: 30px 0;
    background: var(--bg-light);
    border-radius: 12px;
}

.stepper-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stepper-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.stepper-step:hover .stepper-circle {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.stepper-step.active .stepper-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.stepper-step.completed .stepper-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.stepper-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: var(--text-light);
    max-width: 80px;
}

.stepper-step.active .stepper-label {
    color: var(--primary-color);
}

.stepper-line {
    width: 80px;
    height: 3px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.stepper-line.completed {
    background: var(--primary-color);
}

/* Content Area */
.stepper-content {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    min-height: 500px;
    position: relative;
}

.stepper-phase-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.stepper-phase-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stepper-phase-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.stepper-phase-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.stepper-phase-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stepper-phase-duration {
    font-size: 16px;
    color: var(--text-light);
}

.stepper-objective {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

.stepper-objective strong {
    color: var(--primary-color);
}

.stepper-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.stepper-list li {
    padding: 16px 0;
    line-height: 1.8;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.stepper-list li:last-child {
    border-bottom: none;
}

.stepper-deliverable {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-color);
}

.stepper-deliverable strong {
    color: var(--primary-color);
    font-size: 16px;
}

/* Navigation Buttons */
.stepper-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.stepper-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.stepper-btn:disabled:hover {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-color);
}

/* Info Box */
.stepper-info-box {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    text-align: center;
}

.stepper-info-box h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.stepper-info-box p {
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Product Selector Cards */
.product-selector-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 140px;
    cursor: pointer;
    position: relative;
}

.product-selector-card:hover {
    border-color: #1a56db;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.15);
    transform: translateY(-2px);
}

.product-selector-card.active {
    border-color: #1a56db;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.2);
}

/* Phase Timeline Cards */
.phase-timeline-card {
    cursor: pointer;
    padding: 20px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.phase-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.15);
}

.phase-timeline-card.active {
    background: linear-gradient(135deg, #1a56db 0%, #0f3d9e 100%);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.2);
    border-color: transparent;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-tabs-container {
        gap: 10px;
    }

    .product-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .product-tab {
        min-width: 200px;
        font-size: 14px;
        padding: 14px 20px;
    }

    .product-title-box h3 {
        font-size: 22px;
    }

    .stepper-nav-inner {
        gap: 8px;
    }

    .stepper-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stepper-line {
        width: 40px;
    }

    .stepper-label {
        font-size: 10px;
        max-width: 60px;
    }

    .stepper-content {
        padding: 24px 20px;
    }

    .stepper-phase-title {
        font-size: 24px;
    }

    .stepper-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .stepper-btn {
        width: 100%;
        justify-content: center;
    }
}
