/* ===== VARIÁVEIS DE CORES - EDITAR AQUI ===== */
:root {
    /* Cores Principais */
    --color-primary: #8b5cf6;        /* Roxo */
    --color-primary-light: #a78bfa;  /* Roxo claro */
    --color-secondary: #d8b4fe;      /* Lilás */
    --color-dark: #0f0f1e;           /* Preto/Escuro */
    --color-darker: #050510;         /* Preto mais escuro */
    --color-white: #ffffff;
    --color-text: #e0e0e0;
    --color-text-light: #a0a0a0;
    
    /* Degradê */
    --gradient-bg: linear-gradient(135deg, #0f0f1e 0%, #1a0033 50%, #0f0f1e 100%);
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #d8b4fe 100%);
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ===== RESET E ESTILOS GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--gradient-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== HEADER ===== */
.header {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-md) 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--spacing-xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* VIDEO CONTAINER */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(139, 92, 246, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.1);
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(216, 180, 254, 0.05) 100%);
    transition: all 0.3s ease;
}

.video-container:hover .video-placeholder {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(216, 180, 254, 0.1) 100%);
}

.play-icon {
    width: 80px;
    height: 80px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    transition: all 0.3s ease;
}

.video-container:hover .play-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

.video-placeholder p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== BOTÕES ===== */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

.btn-buy {
    width: 100%;
}

/* ===== WRAPPER PARA CENTRALIZAR O BOTÃO DA YAMPI (TESTE) ===== */
.yampi-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* PRODUCT CARD */
.product-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
}

.product-card.featured {
    grid-column: auto;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(216, 180, 254, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.product-card.featured:hover {
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.3);
}

.badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--color-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.product-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

/* ===== CHECKOUT SECTION ===== */
.checkout {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}

.checkout-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.checkout-form {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

/* FORM GROUPS */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    background: rgba(15, 15, 30, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(15, 15, 30, 0.8);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--color-text-light);
}

.form-group input:read-only {
    background: rgba(139, 92, 246, 0.05);
    cursor: not-allowed;
}

/* ORDER SUMMARY */
.order-summary {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    color: var(--color-text-light);
}

.summary-item strong {
    color: var(--color-white);
}

.summary-item.total {
    padding-top: var(--spacing-md);
    padding-bottom: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.summary-item.total strong {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-divider {
    height: 1px;
    background: rgba(139, 92, 246, 0.2);
    margin: var(--spacing-md) 0;
}

#paymentBrick_container {
    margin: var(--spacing-lg) 0;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.08);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
    text-align: left;
}

.faq-question:hover {
    color: var(--color-primary-light);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-dark);
    font-weight: 700;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(15, 15, 30, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: var(--color-text-light);
}

.footer p {
    margin-bottom: var(--spacing-sm);
}

.footer-contact a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero {
        padding: var(--spacing-lg) 0;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        grid-column: 1;
    }

    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
        margin-top: var(--spacing-lg);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: var(--spacing-md);
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .header {
        padding: var(--spacing-sm) 0;
    }

    .video-container {
        aspect-ratio: 9 / 16;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

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

    .products-grid {
        gap: var(--spacing-md);
    }

    .checkout-form {
        padding: var(--spacing-md);
    }

    .order-summary {
        padding: var(--spacing-md);
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .btn-large {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.faq-item {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }
.product-card:nth-child(10) { animation-delay: 1s; }
.product-card:nth-child(11) { animation-delay: 1.1s; }

/* ===== UTILITÁRIOS ===== */
.hidden {
    display: none !important;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}
