/* =========================================
   VARIÁVEIS GLOBAIS E RESET
   ========================================= */
:root {
    --primary: #0a5c8a;
    --primary-dark: #084a6e;
    --secondary: #1b7a2b;
    --secondary-dark: #135c1e;
    --warning: #ff9800;
    --danger: #b00020;
    --bg-color: #f4f7f6;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   BOTÕES GLOBAIS
   ========================================= */
.btn {
    display: inline-block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(0.98); }

.btn-success { background: var(--secondary); }
.btn-success:hover { background: var(--secondary-dark); }

.btn-disabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    color: #666;
}

.btn-pill {
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* =========================================
   HEADER GLOBAL
   ========================================= */
header {
    background: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1.logo {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 0;
}

.btn-header {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.2s;
}
.btn-header:hover { background: var(--primary-dark); }

/* =========================================
   LAYOUT: INDEX (HUB DE APPS)
   ========================================= */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card-produto {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    border-top: 5px solid var(--primary);
}

.card-produto:hover { transform: translateY(-5px); }
.card-produto h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.3rem; }
.card-produto p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 20px; flex-grow: 1; }

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    width: max-content;
}
.status.disponivel { background: #e8f5e9; color: var(--secondary); }
.status.dev { background: #fff3cd; color: #856404; }
.status.planejado { background: #e2e3e5; color: #383d41; }

/* =========================================
   LAYOUT: LANDING PAGE (COPYWRITING)
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0d7bb8 100%);
    color: var(--white);
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 { font-size: 2.2rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; max-width: 600px; opacity: 0.9; }

.hero-mockup {
    width: 100%;
    max-width: 300px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 8px solid #222;
    margin-top: 20px;
}

.benefits {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    background: #e0f2fe;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
}
.benefit-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }
.benefit-card p { color: var(--text-light); font-size: 0.95rem; }

.feature-dark {
    background: #121212;
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}
.feature-dark h2 { color: var(--primary); margin-bottom: 20px; }
.feature-dark p { max-width: 700px; margin: 0 auto 30px auto; opacity: 0.8; font-size: 1.1rem; }

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.feature-item {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    flex: 1 1 250px;
    border-left: 4px solid var(--secondary);
    text-align: left;
}
.feature-item h4 { color: var(--white); margin-bottom: 8px; font-size: 1.1rem; }
.feature-item p { font-size: 0.9rem; margin: 0; opacity: 0.7; }

.cta-final {
    padding: 80px 20px;
    text-align: center;
    background: var(--white);
}
.cta-final h2 { font-size: 2rem; margin-bottom: 20px; color: var(--primary); }
.cta-final p { color: var(--text-light); margin-bottom: 30px; font-size: 1.1rem; }
.price-tag { font-size: 2.5rem; font-weight: bold; color: var(--secondary); display: block; margin-bottom: 20px; }
.price-tag span { font-size: 1rem; color: var(--text-light); font-weight: normal; }

/* =========================================
   LAYOUT: CHECKOUT (VENDAS.HTML)
   ========================================= */
.checkout-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.checkout-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.checkout-card .logo-link {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

.checkout-card h1 { color: var(--text-dark); font-size: 1.8rem; margin-bottom: 10px; }
.checkout-price { font-size: 2.5rem; font-weight: bold; color: var(--secondary); margin-bottom: 20px; }
.checkout-price span { font-size: 1rem; color: var(--text-light); font-weight: normal; }

.beneficios-lista { text-align: left; margin: 20px 0; padding: 0 10px; }
.beneficios-lista li { color: var(--text-light); margin-bottom: 10px; list-style: none; position: relative; padding-left: 24px; }
.beneficios-lista li::before { content: '✅'; position: absolute; left: 0; }

.checkout-card label { display: block; text-align: left; font-weight: bold; margin-bottom: 8px; color: var(--text-dark); font-size: 0.9rem; }
.checkout-card input { width: 100%; padding: 16px; font-size: 1rem; border: 2px solid #ddd; border-radius: 8px; margin-bottom: 20px; }
.checkout-card input:focus { outline: none; border-color: var(--primary); }

.checkout-seguranca { margin-top: 20px; font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 5px; }
.erro-msg { color: var(--danger); font-size: 0.9rem; margin-bottom: 10px; display: none; background: #ffe5e5; padding: 10px; border-radius: 6px; }

/* =========================================
   LAYOUT: STATUS PAGES (SUCESSO, ERRO, PENDENTE)
   ========================================= */
.status-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.status-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 440px;
    width: 100%;
}

.status-icon { font-size: 3rem; margin-bottom: 16px; }
.status-card h1 { font-size: 1.4rem; margin-bottom: 16px; }
.status-card p { color: var(--text-light); line-height: 1.6; margin-bottom: 12px; font-size: 1rem; }

.status-card.erro h1 { color: var(--danger); }
.status-card.pendente h1 { color: var(--warning); }
.status-card.sucesso h1 { color: var(--secondary); }

/* =========================================
   FOOTER GLOBAL
   ========================================= */
footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    margin-top: auto;
}
footer a { color: #17a2b8; text-decoration: none; }

/* =========================================
   RESPONSIVIDADE (LANDING PAGE)
   ========================================= */
@media (min-width: 768px) {
    .hero { flex-direction: row; justify-content: space-around; text-align: left; padding: 80px 40px; }
    .hero-text { max-width: 50%; }
    .hero-mockup { max-width: 350px; margin-top: 0; }
}
/* No final do arquivo site.css */

/* =========================================
   MELHORIAS DE CRO E UX (GEMINI)
   ========================================= */

/* Animação de Pulsar no CTA */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(27, 122, 43, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(27, 122, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(27, 122, 43, 0); }
}

.btn-pill {
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    animation: pulse 2s infinite; /* Adicionado efeito de pulsar */
}

/* Botões 100% de largura no Mobile (facilita o clique com o polegar) */
@media (max-width: 768px) {
    .btn, .btn-pill { width: 100%; display: block; }
    .hero-text .btn { margin-top: 10px; }
}

/* --- Seção de Prova Social --- */
.social-proof {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.social-proof h3 { color: var(--text-dark); margin-bottom: 20px; font-size: 1.2rem; }
.social-proof .avatars { display: flex; justify-content: center; gap: -10px; margin-bottom: 15px; }
.social-proof .avatars span {
    display: inline-flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--primary);
    color: white; font-weight: bold; border: 2px solid white; margin: 0 -5px;
}

/* --- Seção de FAQ --- */
.faq-section { padding: 60px 20px; max-width: 800px; margin: 0 auto; }
.faq-section h2 { text-align: center; color: var(--primary); margin-bottom: 30px; }
.faq-item {
    background: var(--white); border-radius: 8px; margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); overflow: hidden;
}
.faq-item summary {
    padding: 20px; font-weight: bold; color: var(--text-dark); cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; font-weight: bold; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 20px 20px 20px; color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* --- Spinner de Checkout --- */
.spinner {
    border: 3px solid rgba(255,255,255,0.3); border-radius: 50%;
    border-top: 3px solid #fff; width: 20px; height: 20px;
    animation: spin 1s linear infinite; display: inline-block;
    vertical-align: middle; margin-right: 8px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }