:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    
    /* Pastel Accents */
    --accent-yellow: #fce4aa;
    --accent-blue: #b9edf8;
    --accent-green: #a7f3a5;
    --accent-purple: #cfa9f2;

    --text-primary: #161914;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    
    --border: #e5e7eb;
    --radius: 16px;
    --radius-sm: 8px;
    
    /* Soft shadow for depth */
    --shadow: 0 10px 30px rgba(0,0,0,0.04);
    
    --font: 'Nunito Sans', -apple-system, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 80px 2rem 100px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.hero-logo {
    justify-content: flex-start;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text-primary);
    color: #fff;
    font-weight: 800;
    padding: 18px 48px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.2s;
}
.hero .cta-btn:hover {
    transform: translateY(-2px);
}

/* BANNER ANIMATIONS */
.banner-thumb {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}
.banner-thumb .main-thumb img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    z-index: 1;
    position: relative;
    transform: translateY(0);
}
.banner-thumb .wheel {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    z-index: 3;
    animation: spinSlow 15s linear infinite;
}

.animation-ball .ball {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: floatBall 4s ease-in-out infinite;
}
.animation-ball .ball-1 { width: 45px; height: 45px; top: 15%; left: -25px; background: var(--accent-yellow); animation-delay: 0s; }
.animation-ball .ball-2 { width: 25px; height: 25px; bottom: 25%; right: -10px; background: var(--accent-green); animation-delay: 1s; }
.animation-ball .ball-3 { width: 70px; height: 70px; bottom: -30px; left: 25%; background: var(--accent-purple); animation-delay: 1.5s; }
.animation-ball .ball-4 { width: 15px; height: 15px; top: -10px; left: 50%; background: var(--accent-blue); animation-delay: 0.5s; }
.animation-ball .ball-5 { width: 35px; height: 35px; top: 35%; right: 15px; background: var(--accent-yellow); animation-delay: 2s; }
.animation-ball .ball-6 { width: 20px; height: 20px; bottom: 10%; left: 5%; background: var(--accent-green); animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes spinSlow {
    to { transform: rotate(360deg); }
}
@keyframes floatBall {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 40px;
    }
    .hero-logo { justify-content: center; }
    .hero-visual { display: none; } /* Oculto no celular para poupar espaço */
}

/* STATS BAR */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 2rem;
    margin: 0 auto;
    background: var(--bg-secondary);
}

.stat-item { text-align: center; }
.stat-item .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}
.stat-item .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Platform Tabs */
.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.platform-tab {
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.platform-tab:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}
.platform-tab.active {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* ORDER FORM */
.order-section {
    padding: 6rem 0;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.order-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.summary-card {
    background: var(--accent-blue);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: var(--text-primary);
}

.order-card h3, .summary-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

/* FORM ELEMENTS */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
}
.form-group select:focus,
.form-group input:focus {
    border-color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
    display: block;
}

/* Summary Card Details */
.summary-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.summary-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.summary-detail .label {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.summary-detail .value {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.3;
}
.price-highlight {
    text-align: center;
    padding: 2rem;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.price-highlight .price-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
}
.price-highlight .price-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
}

/* CHECKBOX (terms) */
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: rgba(0,0,0,0.7);
    cursor: pointer;
    line-height: 1.5;
}
.terms-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--text-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* BTN PIX */
.btn-pix {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    background: var(--text-primary);
    color: #fff;
}
.btn-pix:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}
.btn-pix:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* HOW IT WORKS */
.steps-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.step-card:nth-child(1) { border-top: 6px solid var(--accent-yellow); }
.step-card:nth-child(2) { border-top: 6px solid var(--accent-green); }
.step-card:nth-child(3) { border-top: 6px solid var(--accent-purple); }

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--text-primary);
    color: #fff;
    font-weight: 900;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.step-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(22,25,20,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.modal p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.qr-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 2rem;
    display: inline-block;
    margin-bottom: 2rem;
}
.qr-container img {
    width: 200px;
    height: 200px;
}

.pix-copy-area {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 12px 12px 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}
.pix-copy-area input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.9rem;
    outline: none;
}
.btn-copy {
    padding: 10px 20px;
    background: var(--text-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-copy:hover { opacity: 0.9; }

.payment-status {
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
}
.payment-status.waiting {
    background: var(--accent-yellow);
    color: #854d0e;
}
.payment-status.approved {
    background: var(--accent-green);
    color: #166534;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--bg-primary);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .order-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-direction: column; gap: 2rem; }
    .navbar { padding: 0 1.5rem; }
    .navbar nav { display: none; }
    .hero { padding: 80px 1.5rem 60px; }
}
