/* =========================================================================
   Página de Vendas - Financeiro Ambulante - Glassmorphism
   ========================================================================= */

:root {
    /* Mesmas cores do app principal! */
    --bg-light: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(15, 23, 42, 0.08);
    --text-main: #0f172a;
    --text-muted: #475569;
    
    /* Vibrant Accents */
    --accent-cyan: #0891b2;
    --accent-cyan-glow: rgba(8, 145, 178, 0.2);
    --accent-purple: #7c3aed;
    --accent-purple-glow: rgba(124, 58, 237, 0.2);
    --accent-red: #e11d48;
    
    /* Shadow and Blurs */
    --blur-glass: blur(12px);
    --shadow-glass: 0 4px 20px 0 rgba(15, 23, 42, 0.08);
    --shadow-accent-button: 0 4px 12px var(--accent-purple-glow);
    
    /* Structure */
    --radius-lg: 16px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    /* Mesmo background do app principal */
    background: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.04), transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(8, 145, 178, 0.04), transparent 40%);
    background-color: var(--bg-light);
    background-attachment: fixed;
    line-height: 1.6;
}

.sales-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ================== HEADER ================== */
.sales-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-glass);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sales-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
}
.btn-ghost {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-purple);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.btn-ghost:hover {
    background: var(--accent-purple);
    color: white;
}

/* ================== UTILS ================== */
.text-neon-cyan { color: var(--accent-cyan); }
.text-neon-purple { color: var(--accent-purple); }
.text-neon-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 800; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }
.max-width-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ================== GLASS CARD ================== */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-glass);
}

/* ================== HERO SECTION ================== */
.hero-section {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 999px;
    color: var(--accent-purple);
    font-size: 0.95rem;
    font-weight: 600;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--accent-purple);
    color: white;
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-accent-button);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}
.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    border: 2px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: var(--accent-cyan);
    color: white;
}
.hero-visual {
    display: flex;
    justify-content: center;
}

/* ================== APP MOCKUP ================== */
.app-mockup {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.app-header {
    background: white;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.app-header-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    text-align: center;
}
.app-content {
    padding: 1rem;
    background: var(--bg-light);
    max-height: 520px;
    overflow-y: auto;
}
.app-filter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.app-dashboard-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.app-period-filter {
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.app-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}
.app-select {
    background: white;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}
.app-card {
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-glass);
}
.app-card-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.app-card-value {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.app-card-details {
    font-size: 0.875rem;
}
.app-card-details p {
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}
.app-card-details p span {
    font-weight: 600;
    color: var(--text-main);
}
.app-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.app-stat-card {
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-glass);
}
.app-stat-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.app-stat-value {
    font-weight: 800;
    font-size: 1.125rem;
    margin: 0.25rem 0;
}
.app-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.app-section-title {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.app-product-item {
    background: var(--bg-glass);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-glass);
}
.app-product-info {
    flex: 1;
}
.app-product-name {
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--text-main);
}
.app-product-qty {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.app-product-profit {
    font-weight: 800;
    font-size: 1rem;
}
.app-nav {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
}
.app-nav-item.active {
    color: var(--accent-cyan);
}
.app-nav-item i {
    font-size: 1.25rem;
}

.hero-card {
    max-width: 300px;
}

/* ================== PAIN POINTS SECTION ================== */
.pain-section {
    padding: 4rem 0;
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.pain-card {
    text-align: center;
    transition: transform 0.3s ease;
}
.pain-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 29, 72, 0.3);
}
.pain-card h4 {
    margin-bottom: 0.5rem;
}

/* ================== SECTION TITLE ================== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* ================== FEATURES SECTION ================== */
.features-section {
    padding: 4rem 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    text-align: center;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-card h3 {
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* ================== FOUNDER SECTION ================== */
.founder-section {
    padding: 4rem 0;
}
.founder-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}
.founder-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 700;
}
.founder-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.founder-story p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.02rem;
}
.founder-highlight {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--accent-purple);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(124, 58, 237, 0.06);
    color: var(--text-main) !important;
    font-weight: 600;
}
.founder-side {
    display: grid;
    gap: 1.5rem;
}
.proof-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.proof-heading i {
    font-size: 1.5rem;
}
.proof-heading h3,
.founder-photo-callout h3 {
    font-size: 1.25rem;
}
.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.proof-item {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-glass);
}
.proof-item strong {
    display: block;
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.proof-item span,
.founder-photo-callout p {
    color: var(--text-muted);
}
.founder-photo-callout {
    text-align: left;
}
.founder-photo-callout i {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.founder-photo-callout p {
    margin-bottom: 0.9rem;
}

/* ================== TESTIMONIALS SECTION ================== */
.testimonials-section {
    padding: 4rem 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    font-size: 1rem;
}
.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
}

/* ================== GALLERY SECTION (Prints de Tela) ================== */
.gallery-section {
    padding: 4rem 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.gallery-item {
    display: flex;
    justify-content: center;
}
.gallery-image {
    width: 100%;
    max-width: 300px;
    height: auto; /* Altura automática, para não cortar a imagem */
    object-fit: contain; /* Mostra a imagem completa, sem cortar */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    border: 2px solid var(--border-glass);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

/* ================== PRICING/OFFERS SECTION ================== */
.pricing-section {
    padding: 4rem 0;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}
.pricing-card.featured {
    border-color: var(--accent-purple);
    border-width: 3px;
    box-shadow: 0 10px 40px var(--accent-purple-glow);
}
.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-purple);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.pricing-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.pricing-price {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.pricing-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.pricing-new {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
}
.pricing-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.pricing-features li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
}
.btn-large {
    padding: 1rem !important;
    font-size: 1.1rem !important;
}
.guarantee-box {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 2px solid rgba(8, 145, 178, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.guarantee-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 145, 178, 0.12);
    color: var(--accent-cyan);
    font-size: 1.75rem;
}
.guarantee-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}
.guarantee-content p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ================== CTA SECTION ================== */
.cta-section {
    padding: 4rem 0;
}
.cta-card {
    text-align: center;
}
.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* ================== FOOTER ================== */
.sales-footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
}

/* ================== MOBILE RESPONSIVE ================== */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }
    .hero-title {
        font-size: 1.875rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        justify-content: center;
        text-align: center;
    }
    .trust-badge {
        display: flex;
        border-radius: var(--radius-md);
        justify-content: center;
    }
    .pain-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .founder-wrapper,
    .proof-grid {
        grid-template-columns: 1fr;
    }
    .founder-title {
        font-size: 1.6rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    .section-title {
        font-size: 1.5rem;
    }
}
