/* Right Rail Section */
.mentors-card {
    text-align: center;
}

.mentors-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-sm);
    border: 3px solid var(--brand-accent-gold);
}

/* Offer Section */
#offer {
    background-color: var(--brand-primary);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

#offer .card {
    background-color: var(--bg-card);
    /* Keep card white inside dark section */
    color: var(--text-primary);
}

#offer h2,
#offer p {
    color: var(--text-inverse);
}

#offer .check-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

/* Newsletter */
#newsletter {
    background-color: var(--brand-secondary);
    color: var(--text-inverse);
    text-align: center;
    border-radius: var(--radius-lg);
    margin: var(--space-3xl) auto;
    padding: var(--space-xl);
    max-width: 800px;
}

#newsletter h3,
#newsletter p {
    color: var(--text-inverse);
}

/* Footer & Final CTA */
.final-cta-section {
    text-align: center;
    padding: var(--space-3xl) 0;
    background-color: var(--bg-section-alt);
}

footer {
    text-align: center;
    padding: var(--space-lg);
    border-top: 1px solid var(--ui-border);
    font-size: var(--text-small);
    color: var(--text-muted);
}

/* --- NEW STYLES --- */

/* Testimonials Section */
#testimonials {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-section-alt);
    overflow: hidden;
}

.carousel-container {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-lg);
    /* Space for scrollbar if visible, or aesthetics */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonial-card {
    flex: 0 0 100%;
    /* Mobile: 1 item per view */
    scroll-snap-align: center;
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--ui-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - var(--space-lg));
        /* Desktop: 3 items per view roughly, minus gap */
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    text-align: left;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--ui-divider);
}

/* Pricing Upgrade in Offer Section */
.pricing-display {
    background-color: var(--bg-section-alt);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
    display: block;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.price-installments {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-secondary);
}

/* Bonus Highlight in Offer */
.bonus-highlight {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed var(--brand-accent-gold);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-md);
}

.bonus-tag {
    display: inline-block;
    background: var(--brand-accent-gold);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Sticky CTA Bar */
#sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--brand-accent-gold);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px var(--space-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sticky-cta.visible {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: var(--container-max-width);
    width: 100%;
    justify-content: space-between;
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #sticky-cta {
        padding: 12px;
    }

    .sticky-content {
        flex-direction: row;
        /* Keep row for space efficiency */
        align-items: center;
        justify-content: space-between;
    }

    .sticky-info {
        text-align: left;
    }

    .sticky-hide-mobile {
        display: none;
    }

    .sticky-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}