/* =========================================
   1. CONFIGURAÇÕES GERAIS & PALETA LIGHT
   ========================================= */
:root {
    /* Paleta Light & Clean */
    --bg-body: #f8fafc; /* Branco gelo muito suave */
    --primary: #4f46e5; /* Indigo (Profissional e Moderno) */
    --secondary: #8b5cf6; /* Roxo (Criativo) */
    --accent: #0ea5e9; /* Azul Claro (Tech) */
    
    /* Textos (Escuros para fundo claro) */
    --text-main: #1e293b; /* Slate Dark */
    --text-muted: #64748b; /* Slate Grey */
    --white: #ffffff;
    --black: #000000;
    
    /* Vidro Light (Frosted Glass) */
    --glass-bg: rgba(255, 255, 255, 0.65); /* Branco transparente */
    --glass-border: 1px solid rgba(255, 255, 255, 0.8); /* Borda quase branca */
    --glass-blur: blur(20px);
    --glass-shadow: 0 8px 32px rgba(30, 41, 59, 0.08); /* Sombra suave escura */
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; }
img { width: 100%; display: block; border-radius: 16px; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 100px 0; }

/* =========================================
   2. LIQUID BACKGROUND (Claro e Vibrante)
   ========================================= */
.liquid-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: #f8fafc; /* Fundo base */
    overflow: hidden;
}

.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
    animation: float 15s infinite alternate;
}

/* Cores das bolhas ajustadas para aparecerem no fundo branco */
.blob-1 { width: 600px; height: 600px; background: #c7d2fe; top: -10%; right: -10%; } /* Indigo suave */
.blob-2 { width: 500px; height: 500px; background: #e9d5ff; bottom: -10%; left: -10%; animation-delay: -3s; } /* Roxo suave */
.blob-3 { width: 400px; height: 400px; background: #bae6fd; top: 40%; left: 30%; animation-delay: -6s; opacity: 0.6; } /* Azul suave */

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 60px); }
}

/* =========================================
   3. COMPONENTES GLASS & BOTÕES
   ========================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.8); /* Mais opaco no header */
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05); border-radius: 50px;
    margin-top: 20px; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.glass-card {
    background: var(--glass-bg); backdrop-filter: var(--glass-blur);
    border: var(--glass-border); border-radius: 24px;
    padding: 30px; box-shadow: var(--glass-shadow); transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.12);
}

/* Botões */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    transition: var(--transition); cursor: pointer; font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    border: none;
}
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5); }

.btn-glass {
    background: white; color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.2);
}
.btn-glass:hover { border-color: var(--primary); background: #f1f5f9; }

.btn-cta-nav {
    /* --- AS DUAS LINHAS IMPORTANTES --- */
    background: var(--primary); /* Fundo Roxo/Azul */
    color: #ffffff !important;  /* Letra Branca (Forçada) */
    /* ---------------------------------- */

    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}
.btn-cta-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4); }

/* =========================================
   4. HERO SECTION
   ========================================= */
header { position: fixed; width: 100%; z-index: 1000; top: 0; }
.nav-menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-menu a { color: var(--text-main); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }

.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); }
.logo span { color: var(--primary); }
.hamburger { display: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: 100px; position: relative;
}
.badge {
    background: rgba(79, 70, 229, 0.1); color: var(--primary); padding: 6px 16px;
    border-radius: 30px; font-size: 0.85rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px;
    margin-bottom: 20px; display: inline-block;
}
.hero h1 { font-size: 3.5rem; line-height: 1.15; margin-bottom: 25px; color: #0f172a; letter-spacing: -1px; }
.highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* =========================================
   5. BENEFÍCIOS
   ========================================= */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: #0f172a; letter-spacing: -0.5px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.benefit-card { text-align: center; padding: 40px 30px; }

.icon-box {
    width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px; font-size: 1.8rem; color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.color-1 { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.color-2 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.color-3 { background: linear-gradient(135deg, #059669, #34d399); } /* Verde para dinheiro/SEO */

.benefit-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-main); }
.benefit-card p { color: var(--text-muted); }

/* =========================================
   6. PORTFÓLIO
   ========================================= */
.grid-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.project-card { padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.6); }

.card-img { position: relative; height: 230px; overflow: hidden; }
.card-img img { height: 100%; width: 100%; object-fit: cover; transition: 0.5s; border-radius: 0; }
.project-card:hover .card-img img { transform: scale(1.05); }

.tag {
    position: absolute; top: 15px; left: 15px;
    background: rgba(255,255,255,0.9); color: var(--primary);
    padding: 6px 14px; border-radius: 30px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-info { padding: 30px; }
.card-info h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-main); }
.card-info p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }

.link-arrow {
    color: var(--primary); font-weight: 700; display: flex; align-items: center; gap: 8px; transition: 0.3s;
}
.link-arrow:hover { gap: 12px; color: var(--secondary); }

/* =========================================
   7. FAQ & CTA
   ========================================= */
.faq-box { max-width: 800px; margin: 0 auto; padding: 50px; background: rgba(255,255,255,0.8); }
.accordion-item { border-bottom: 1px solid rgba(0,0,0,0.05); margin-bottom: 10px; }

.accordion-header {
    padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-weight: 700; font-size: 1.1rem; color: var(--text-main);
}
.accordion-header:hover { color: var(--primary); }

.accordion-body {
    max-height: 0; overflow: hidden; transition: 0.3s; color: var(--text-muted);
    padding-bottom: 0; font-size: 1rem;
}
.accordion-body.active { padding-bottom: 20px; }

/* CTA Final */
.cta-panel {
    text-align: center; padding: 70px 40px; max-width: 900px; margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6));
    border: 1px solid rgba(255,255,255,1);
}
.cta-panel h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--text-main); }
.cta-panel p { font-size: 1.2rem; margin-bottom: 35px; color: var(--text-muted); }
.btn-large { padding: 18px 40px; font-size: 1.2rem; }
.small-text { font-size: 0.9rem; color: var(--text-muted); margin-top: 20px; }

.icon-pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

footer { text-align: center; padding: 40px; color: var(--text-muted); border-top: 1px solid rgba(0,0,0,0.05); background: white; }

/* Animações de Entrada */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsividade Celular */
@media (max-width: 768px) {
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 2.3rem; }
    .nav-menu { display: none; }
    .hamburger { display: block; color: var(--text-main); }
    
    .glass-nav {
        flex-wrap: wrap; border-radius: 20px;
        background: rgba(255,255,255,0.95);
    }
    .nav-menu.active {
        display: flex; flex-direction: column; width: 100%; padding-top: 20px;
        border-top: 1px solid rgba(0,0,0,0.05); margin-top: 15px;
    }
    .btn-cta-nav { width: 100%; text-align: center; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .cta-panel { padding: 40px 20px; }
}
