/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --secondary-color: #030b1c;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    position: relative;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(227, 242, 253, 0.3) 0%, 
        rgba(243, 229, 245, 0.2) 25%,
        rgba(255, 249, 196, 0.2) 50%,
        rgba(255, 224, 178, 0.2) 75%,
        rgba(227, 242, 253, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFF9C4;
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-tagline i {
    color: #FFD93D;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    display: inline-block;
    width: 120px;
    height: 40px;
    background: linear-gradient(90deg, #6BC4FF 0%, #8B5CF6 50%, #FF9F66 100%);
    border-radius: 8px;
    margin: 0 8px;
    vertical-align: middle;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Decorations */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.decoration-icon {
    position: absolute;
    font-size: 48px;
    opacity: 0.15;
    color: var(--text-secondary);
}

.icon-1 { top: 10%; left: 10%; color: #6BC4FF; }
.icon-2 { top: 30%; left: 5%; color: #8B5CF6; }
.icon-3 { top: 50%; right: 10%; color: #FF6B9D; }
.icon-4 { bottom: 20%; right: 15%; color: #FFD93D; }
.icon-5 { bottom: 10%; left: 50%; color: var(--gray-400); }

/* Metrics Section */
.metrics {
    padding: 60px 0;
    background-color: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-blue { color: #6BC4FF; }
.metric-purple { color: #8B5CF6; }
.metric-orange { color: #FF9F66; }

.metric-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Projetos Section */
.projetos {
    padding: 80px 0;
    background-color: var(--white);
}

.section-badge {
    display: inline-block;
    background-color: #E3F2FD;
    color: #1976D2;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-orange {
    background-color: #FFE0B2;
    color: #E65100;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.projeto-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projeto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.projeto-card .card-header {
    padding: 32px 24px 24px;
    text-align: center;
    position: relative;
}

.card-sophia .card-header {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.card-kids .card-header {
    background: linear-gradient(135deg, #6BC4FF 0%, #87CEEB 100%);
}

.card-worship .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.projeto-card .card-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.card-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.projeto-card .card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projeto-card .card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 15px;
}

.projeto-card .card-features {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
}

.projeto-card .card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.projeto-card .card-features i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.projeto-card .btn-card-sophia,
.projeto-card .btn-card-kids,
.projeto-card .btn-card-worship {
    width: 100%;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.projeto-card .btn-card-sophia {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.projeto-card .btn-card-sophia:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.projeto-card .btn-card-kids {
    background: linear-gradient(135deg, #6BC4FF 0%, #87CEEB 100%);
}

.projeto-card .btn-card-kids:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.projeto-card .btn-card-worship {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.projeto-card .btn-card-worship:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Seções */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Recursos Section */
.recursos {
    padding: 80px 0;
    background-color: var(--white);
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.recurso-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    text-align: left;
    transition: all 0.2s ease;
}

.recurso-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Planos Section */
.planos {
    padding: 60px 0;
    background-color: var(--gray-50);
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    justify-items: center;
}

.plano-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    max-width: 300px;
}

.plano-card-empty {
    display: block;
}

.plano-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.plano-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plano-card .card-icon {
    margin: 0 auto 20px;
}

.plano-card .card-title {
    font-size: 20px;
    margin-bottom: 6px;
}

.plano-card .card-description {
    margin-bottom: 20px;
    font-size: 14px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.currency {
    font-size: 16px;
    color: var(--text-secondary);
}

.amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.period {
    font-size: 14px;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.features-list i {
    color: var(--primary-color);
    font-size: 12px;
    flex-shrink: 0;
}

/* Sobre Section */
.sobre {
    padding: 80px 0;
    background-color: var(--white);
}

.sobre-text {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.sobre-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.sobre-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sobre-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.icon-blue {
    background-color: #6BC4FF;
}

.icon-pink {
    background-color: #FF6B9D;
}

.icon-yellow {
    background-color: #FFD93D;
}

.icon-purple {
    background-color: #B794F6;
}

.sobre-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sobre-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-cta {
    background-color: var(--white);
    color: var(--text-primary);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Quote Section */
.quote {
    padding: 60px 0;
    background-color: var(--gray-100);
}

.quote-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.quote-content blockquote {
    font-size: 24px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.quote-content cite {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.brand-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-contact i {
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.link-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 8px;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-group a:hover {
    color: var(--primary-color);
}

.link-group a i {
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    color: var(--text-light);
    font-size: 14px;
}

.footer-attribution {
    margin-top: 8px;
}

.footer-attribution i {
    color: #FF69B4;
    margin: 0 4px;
}

/* Responsividade */
@media (max-width: 968px) {
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header .container {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .gradient-text {
        width: 80px;
        height: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.section-header,
.recurso-card,
.plano-card,
.sobre-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de foco para acessibilidade */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
