/* =========================================
   STYLE: INDEX (HOME)
========================================= */

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--btn-text);
    border: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--btn-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(79, 70, 229, 0.05);
}

.hero-graphic {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.15;
}

.graphic-icon {
    font-size: 15rem;
    color: var(--color-primary);
}

/* Vitrine */
.vitrine-section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.vitrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.estudo-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.estudo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.card-cover {
    position: relative;
    height: 200px;
    background-color: var(--bg-main);
    overflow: hidden;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.estudo-card:hover .card-cover img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.card-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.3;
}

.card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.preco-gratis {
    color: #10B981;
    font-weight: 800;
}

.preco-pago {
    font-weight: 800;
    color: var(--color-primary);
}

/* CTA */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-main));
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* =========================================
   RESPONSIVIDADE (MOBILE OPTIMIZATION)
========================================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        flex: 1 1 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-graphic {
        display: none;
    }

    .vitrine-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}