/* ============================================
   HOME STORYTELLING — Desktop Layout
   ============================================ */

/* 1. Hero Guest Storytelling */
.st-hero {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1e88e5 100%);
    border-radius: 20px;
    padding: 48px 40px 40px;
    color: white;
    margin-bottom: 48px;
    box-shadow: 0 15px 40px rgba(13, 71, 161, 0.3);
    text-align: center;
}

.st-hero-content {
    max-width: 640px;
    margin: 0 auto 32px;
}

.st-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
}

.st-hero-content p {
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.6;
    margin: 0 0 28px;
}

.st-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.st-btn-primary {
    background: white;
    color: #1565c0;
}

.st-btn-primary:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.st-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.st-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.st-btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.st-hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
    justify-content: center;
}

.st-stat {
    text-align: center;
}

.st-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.st-stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.75;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* 2. Features Grid (2x4) */
.st-features {
    margin-bottom: 48px;
}

.st-features h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0 0 8px;
    text-align: center;
}

.st-features-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.05rem;
    margin: 0 0 32px;
}

.st-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.st-feature-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e0e7ff;
    padding: 28px 22px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.st-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: #c7d2fe;
}

.st-feature-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.st-feature-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.st-badge-free {
    background: #10b981;
}

.st-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: #1e1b4b;
}

.st-feature-card p {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.45;
}

/* 3. How It Works (3 passos) */
.st-how-it-works {
    background: #f8fafc;
    border-radius: 20px;
    padding: 48px 40px;
    margin-bottom: 48px;
    text-align: center;
}

.st-how-it-works h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0 0 36px;
}

.st-hiw-steps {
    display: flex;
    gap: 40px;
    justify-content: center;
    position: relative;
}

/* Connecting line between steps */
.st-hiw-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 2px;
    background: #c7d2fe;
    z-index: 0;
}

.st-hiw-step {
    flex: 1;
    max-width: 260px;
    position: relative;
    z-index: 1;
}

.st-hiw-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.st-hiw-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.st-hiw-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 8px;
}

.st-hiw-step p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* 4. Calculadoras Carrossel (Desktop) */
.st-calculadoras {
    margin-bottom: 48px;
}

.st-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.st-calc-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
}

.st-calc-nav {
    display: flex;
    gap: 8px;
}

.st-calc-prev,
.st-calc-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e7ff;
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #4338ca;
}

.st-calc-prev:hover,
.st-calc-next:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.st-calc-viewport {
    overflow: hidden;
    border-radius: 16px;
}

.st-calc-track {
    display: flex;
    gap: 16px;
    transition: transform 0.35s ease;
}

.st-calc-card {
    flex: 0 0 220px;
    background: white;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.st-calc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: #c7d2fe;
}

.st-calc-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.st-calc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    font-size: 2.5rem;
}

.st-calc-info {
    padding: 14px;
}

.st-calc-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.st-calc-uses {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* 5. CTA Final */
.st-cta-final {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1e88e5 100%);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    color: white;
    margin-bottom: 48px;
    box-shadow: 0 15px 40px rgba(13, 71, 161, 0.3);
}

.st-cta-final h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.st-cta-final p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* 6. Responsive Desktop */
@media (max-width: 1024px) {
    .st-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .st-features-grid {
        grid-template-columns: 1fr;
    }

    .st-hero {
        padding: 24px 20px 20px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .st-hero-content {
        margin: 0 auto 20px;
    }

    .st-hero-content h1 {
        font-size: 1.35rem;
        margin: 0 0 8px;
    }

    .st-hero-content p {
        font-size: 0.9rem;
        margin: 0 0 16px;
        line-height: 1.4;
    }

    .st-hero-cta {
        gap: 10px;
    }

    .st-btn {
        padding: 11px 20px;
        font-size: 0.9rem;
    }

    .st-hero-stats {
        flex-direction: row;
        gap: 0;
        justify-content: space-around;
        padding-top: 16px;
    }

    .st-stat {
        text-align: center;
    }

    .st-stat-number {
        font-size: 1.3rem;
    }

    .st-stat-label {
        font-size: 0.65rem;
    }

    .st-hiw-steps {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .st-hiw-steps::before {
        display: none;
    }

    .st-how-it-works {
        padding: 32px 24px;
    }

    .st-cta-final {
        padding: 32px 24px;
    }
}
