/* style.css (Light Theme with Dark Blue Accents) */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #EEF2F6;
    --accent: #00BA61; 
    --accent-glow: rgba(0, 186, 97, 0.3);
    
    /* Reintroducing Dark Blue from Logo */
    --brand-blue: #0A1128;
    
    --text-primary: #0F172A;
    --text-muted: #1E293B; /* Much darker for legibility */
    --border-color: rgba(15, 23, 42, 0.1);

    --font-main: 'Outfit', sans-serif;
    
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; font-size: 1.125rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--spacing-sm); }
.section { padding: var(--spacing-xl) 0; scroll-margin-top: 100px; }
.bg-alternate { background-color: var(--bg-secondary); }
.text-accent { color: var(--accent); }
.highlight { color: var(--brand-blue); font-weight: 800; text-shadow: none; }

.btn { display: inline-block; padding: 1rem 2rem; border-radius: var(--radius-pill); font-weight: 700; font-size: 1.1rem; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn-primary { background-color: var(--accent); color: #FFF; box-shadow: 0 4px 15px var(--accent-glow); }
.btn-primary:hover { background-color: #00a053; transform: translateY(-2px); }
.btn-secondary { background-color: var(--brand-blue); color: #FFF; }
.btn-secondary:hover { background-color: #1a2a5e; transform: translateY(-2px); }

.glass-card { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-8px); border-color: var(--brand-blue); box-shadow: 0 15px 40px rgba(10, 17, 40, 0.1); }

/* Navbar - Reverting to Logo Blue */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--brand-blue); border-bottom: none; padding: 1rem 0; transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }

/* Logo Fix: Proporcional, nítida e vetorial */
.logo-img {
    height: auto;
    width: 160px;
    max-width: 100%;
    object-fit: contain;
    /* Nitidez máxima para SVG em telas HiDPI */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* Logo no footer ligeiramente maior */
.footer-brand .logo-img {
    width: 175px;
}

.nav-links { display: flex; gap: var(--spacing-md); }
.nav-links a { font-weight: 600; font-size: 1.15rem; color: #FFF; }
.nav-links a:hover { color: var(--accent); }

/* Text Enlargement */
.section-badge { display: inline-block; padding: 0.5rem 1.2rem; background: rgba(10, 17, 40, 0.1); color: var(--brand-blue); border-radius: var(--radius-pill); font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: var(--spacing-sm); }
.section-title { font-size: 3.2rem; font-weight: 800; margin-bottom: var(--spacing-md); line-height: 1.2; color: var(--brand-blue); }
.section-paragraph { color: var(--text-muted); font-size: 1.25rem; font-weight: 400; margin-bottom: var(--spacing-sm); max-width: 700px; line-height: 1.7; }
.section-align-center { text-align: center; margin-bottom: var(--spacing-lg); }
.section-align-center .section-paragraph { margin: 0 auto; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%); z-index: 0; opacity: 0.5; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--spacing-lg); align-items: center; }
.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: var(--spacing-sm); color: var(--text-primary); }
.hero-subtitle { font-size: 1.4rem; color: var(--text-muted); margin-bottom: var(--spacing-md); max-width: 95%; font-weight: 500;}
.hero-cta-group { display: flex; gap: var(--spacing-sm); }

/* Decorative Card */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.glow-circle { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: 0.15; z-index: 0; animation: float 6s ease-in-out infinite; }
.decorative-card { position: relative; z-index: 1; text-align: center; padding: var(--spacing-md); width: 280px; animation: float 5s ease-in-out infinite alternate; background: #FFF; border: 2px solid var(--bg-tertiary); box-shadow: 0 10px 40px rgba(0,0,0,0.1);}
.decorative-card h4 { margin-top: var(--spacing-sm); font-size: 1.3rem; color: var(--brand-blue); font-weight: 800; }
.decorative-card p { font-size: 1.05rem; color: var(--text-muted); margin-top: 0.5rem; font-weight: 500;}

@keyframes float { 0% { transform: translateY(0px); } 100% { transform: translateY(-15px); } }

/* About */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; }
.about-visual { display: flex; justify-content: center; }
.image-placeholder { width: 100%; max-width: 450px; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0,0,0,0.05); overflow: hidden; }
.icon-xl { font-size: 10rem; color: var(--brand-blue); opacity: 0.1; }

/* MVV */
.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--spacing-md); }
.card-icon-wrapper { width: 70px; height: 70px; background: rgba(10, 17, 40, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin-bottom: var(--spacing-sm); color: var(--brand-blue); }
.mvv-grid h3 { font-size: 2rem; margin-bottom: var(--spacing-sm); color: var(--brand-blue); font-weight: 800;}
.mvv-grid p { color: var(--text-muted); font-size: 1.15rem; font-weight: 500;}
.values-list { margin-top: var(--spacing-sm); }
.values-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--text-muted); font-size: 1.15rem; font-weight: 600;}

/* Footer - Premium Modern Design */
.footer { 
    background: linear-gradient(180deg, var(--brand-blue) 0%, #05081a 100%);
    border-top: 1px solid rgba(255,255,255,0.03); 
    padding: var(--spacing-lg) 0 var(--spacing-md); 
    color: #FFF; 
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 186, 97, 0.4), transparent);
}

.footer-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-bottom: 0.5rem; 
}

.footer-brand { 
    display: flex; 
    align-items: center; 
}

.footer-divider { 
    height: 1px; 
    background: linear-gradient(90deg, rgba(255,255,255,0.01), rgba(255,255,255,0.08), rgba(255,255,255,0.01));
    width: 100%; 
    margin: 2.5rem 0; 
}

.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 1.5rem; 
}

.footer-copyright { 
    color: rgba(255,255,255,0.4); 
    font-size: 0.9rem; 
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-link { 
    color: rgba(255,255,255,0.6); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.95rem;
    transition: var(--transition); 
}

.footer-link:hover { 
    color: var(--accent);
}

.social-links { 
    display: flex; 
    gap: 1.25rem; 
}

.social-links a { 
    color: #FFF; 
    font-size: 1.6rem; 
    transition: var(--transition); 
    opacity: 0.5; 
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.social-links a:hover { 
    color: var(--accent); 
    transform: translateY(-5px); 
    opacity: 1; 
    background: rgba(0, 186, 97, 0.08);
    border-color: rgba(0, 186, 97, 0.2);
    box-shadow: 0 10px 20px rgba(0, 186, 97, 0.1);
}

/* Universal Toast Notification */
#global-toast { position: fixed; bottom: 30px; right: 30px; background: var(--brand-blue); color: #FFF; padding: 1.2rem 1.5rem; border-radius: 12px; display: flex; align-items: center; gap: 0.8rem; box-shadow: 0 15px 40px rgba(0,0,0,0.2); font-weight: 500; font-size: 1.05rem; z-index: 10000; transform: translateX(150%); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border-left: 5px solid var(--accent); }
#global-toast.show { transform: translateX(0); }

/* Contact Modal */
.contact-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 9998; opacity: 0; pointer-events: none; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.contact-modal-overlay.active { opacity: 1; pointer-events: all; }
.contact-modal { background: #fff; width: 90%; max-width: 450px; border-radius: var(--radius-lg); padding: 2.5rem; transform: translateY(20px); transition: var(--transition); box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; }
.contact-modal-overlay.active .contact-modal { transform: translateY(0); }
.close-modal { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.8rem; color: var(--text-muted); cursor: pointer; transition: 0.3s;}
.close-modal:hover { color: var(--brand-blue); }
.contact-modal h3 { font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; color: var(--brand-blue); font-weight: 800;}
.contact-options { display: flex; flex-direction: column; gap: 1rem; }
.contact-option-btn { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border-radius: var(--radius-md); border: 2px solid var(--border-color); background: var(--bg-secondary); color: var(--text-primary); font-weight: 700; font-size: 1.2rem; transition: var(--transition); text-decoration: none; cursor: pointer; text-align: left;}
.contact-option-btn:hover { border-color: var(--brand-blue); background: #FFF; transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.contact-option-btn i { font-size: 2rem; }
.icon-whatsapp { color: #25D366; }
.icon-telegram { color: #0088cc; }
.icon-email { color: #EA4335; }
.icon-chat { color: var(--accent); }

/* FAQ Section */
.faq-grid { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.faq-item { background: #FFFFFF; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.02);}
.faq-question { padding: 1.5rem; width: 100%; text-align: left; background: none; border: none; font-size: 1.25rem; font-weight: 700; color: var(--brand-blue); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-main); transition: var(--transition);}
.faq-question:hover { background: rgba(0, 186, 97, 0.05); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); font-size: 1.15rem; }
.faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 500px; }
.faq-icon { transition: transform 0.3s; color: var(--accent); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* Internal Chat Window */
/* Floating Chat Bubble - Premium Design */
.chat-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: var(--accent);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 186, 97, 0.3);
    z-index: 9999;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255,255,255,0.1);
    animation: bubblePulse 3s infinite;
}

.chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px rgba(0, 186, 97, 0.5);
}

@keyframes bubblePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 186, 97, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(0, 186, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 186, 97, 0); }
}

.chat-bubble.inactive {
    background: #4b5563; /* Elegante tom de cinza para estado inativo */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: none;
    opacity: 0.9;
}

.chat-window { position: fixed; bottom: 2rem; right: 2rem; width: 350px; height: 500px; background: #FFF; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,0.25); z-index: 10000; display: flex; flex-direction: column; overflow: hidden; transform: translateY(150%); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid var(--border-color); }
.chat-window.active { transform: translateY(0); }
.chat-header { background: var(--brand-blue); color: #FFF; padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.chat-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.2rem; }
.chat-btn-icon { background: none; border: none; color: #FFF; cursor: pointer; font-size: 1.5rem; transition: 0.3s; }
.chat-btn-icon:hover { color: var(--accent); transform: scale(1.1); }
.chat-body { flex: 1; padding: 1.2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; background: var(--bg-secondary); }
.chat-message { max-width: 85%; padding: 1rem 1.2rem; border-radius: 12px; font-size: 1.05rem; line-height: 1.4; }
.bot-message { background: #E2E8F0; color: var(--text-primary); border-bottom-left-radius: 4px; align-self: flex-start; }
.user-message { background: var(--accent); color: #FFF; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-footer { padding: 1rem; background: #FFF; border-top: 1px solid var(--border-color); display: flex; gap: 0.5rem; }
.chat-input { flex: 1; border: 1px solid var(--border-color); border-radius: 50px; padding: 0.8rem 1.2rem; font-family: var(--font-main); outline: none; transition: 0.3s; font-size: 1rem;}
.chat-input:focus { border-color: var(--accent); }
.chat-send-btn { width: 45px; height: 45px; border-radius: 50%; background: var(--accent); color: #FFF; border: none; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.chat-send-btn:hover { background: #009950; transform: scale(1.05); }

/* Blog Filters Custom Style */
.filter-btn { background: rgba(10, 17, 40, 0.05); color: var(--text-muted); border: none; padding: 0.5rem 1.2rem; border-radius: 100px; font-weight: 600; cursor: pointer; transition: 0.3s; font-family: var(--font-main); }
.filter-btn:hover { background: rgba(0, 186, 97, 0.1); color: var(--accent); }
.filter-btn.active { background: var(--brand-blue); color: #FFF; }
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 186, 97, 0.1); }

@media (max-width: 900px) {
    .navbar { padding: 0.5rem 0;}
    .hero-content, .about-container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 3.5rem; }
    .hero-cta-group { justify-content: center; }
    .nav-links { display: none; }
    .footer-top, .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem;}
    .footer-brand { flex-direction: column; margin-bottom: 0.5rem; }
    .social-links { justify-content: center; width: 100%; }
    .footer-links { flex-direction: column; gap: 0.8rem; margin-top: 1rem; }
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px !important;
}
.typing-indicator span {
    height: 8px;
    width: 8px;
    background: #94a3b8;
    border-radius: 50%;
    display: block;
    animation: typing 1s infinite ease-in-out;
}
.typing-indicator span:nth-child(1) { animation-delay: 0.1s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* System Error Message Styling */
.system-error {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #991b1b !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* External Widget Cleanups (Hiding Free Badges & Branding) */
a[href*="elfsight.com"], 
div[class*="elfsight-app"] a,
div[class*="elfsight-app"] + a,
[class*="LogoContainer"], 
[class*="Logo-root"],
[class*="LogoLink"],
[class*="BadgeContainer"] { 
    display: none !important; 
    visibility: hidden !important; 
    opacity: 0 !important; 
    width: 0 !important; 
    height: 0 !important; 
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}
