/* style.css - Missão Ágape */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Poppins', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #2c2c2c;
    min-height: 100vh;
}

/* ==================== BACKGROUND COM IMAGEM REAL ==================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('../images/bg-church.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.85) contrast(1.1);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.55);
}

/* ==================== HEADER ==================== */
header {
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo profissional */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #d4af37, #b8960c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: bold;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #f5f5f5;
}

.logo-text span {
    color: #d4af37;
    font-weight: 400;
    font-size: 0.8rem;
    display: block;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

nav a:hover, nav a.active {
    color: #d4af37;
}

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

/* ==================== CARDS ==================== */
.card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(0px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.card-hero {
    background: linear-gradient(135deg, #1e3a2f 0%, #0f281f 100%);
    padding: 2.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/cross-overlay.png');
    background-size: 300px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.card-hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.card-hero p {
    font-size: 1rem;
    opacity: 0.85;
}

.card-body {
    padding: 2rem;
}

/* ==================== FORMULÁRIOS ==================== */
.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: #2c2c2c;
}

input, select, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.row-2 {
    display: flex;
    gap: 1rem;
}

.row-2 .form-group {
    flex: 1;
}

/* ==================== BOTÕES ==================== */
.btn {
    display: inline-block;
    background: #1e3a2f;
    color: white;
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background: #2d5a4f;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-block {
    width: 100%;
}

.btn-gold {
    background: #d4af37;
    color: #1a1a1a;
}

.btn-gold:hover {
    background: #e6c44d;
}

.btn-outline {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.btn-outline:hover {
    background: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* ==================== METAS (STATS) ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #eee;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-top: 0.5rem;
}

/* ==================== VERSÍCULO ==================== */
.verse-block {
    background: #f5f0e0;
    border-left: 4px solid #d4af37;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    font-style: italic;
    color: #3a3a3a;
    font-size: 0.95rem;
}

/* ==================== FOOTER ==================== */
footer {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .card-hero h1 {
        font-size: 1.6rem;
    }
    
    .row-2 {
        flex-direction: column;
        gap: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================== QR CODE PIX ==================== */
.qrcode-container {
    text-align: center;
    padding: 1rem;
}

.qrcode-image {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pix-code {
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.7rem;
    word-break: break-all;
    margin: 1rem 0;
}

/* ==================== LOGIN ADMIN ==================== */
.login-container {
    max-width: 400px;
    margin: 5rem auto;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
}

.login-card input {
    background: white;
    margin-bottom: 1rem;
}