/*
Theme Name: WeCare Theme (Hello Elementor Child)
Theme URI: https://wecareconsultoria.com.br
Description: Tema institucional WeCare Consultoria
Author: Pedro
Template: hello-elementor
Version: 5.4.0 (Final Fixes)
*/

/* =========================================
   1. GLOBAL & RESET
   ========================================= */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background-color: #ffffff;
    height: 100%; /* Garante altura total */
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; }

.site-header, .site-footer, .hero-section, .services-section, .cta-section, .about-hero, .timeline-section, .values-section, .services-hero, .service-block {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.badge-dev {
    display: inline-block;
    background-color: #e3f2fd;
    color: #0e2a47;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 10px;
    border: 1px solid rgba(14, 42, 71, 0.1);
    white-space: nowrap;
}

.card-link.disabled, .btn-disabled {
    color: #999 !important;
    cursor: default;
    pointer-events: none;
    background: #eee;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

.bg-light { background-color: #f8f9fa !important; }

/* =========================================
   2. HEADER
   ========================================= */
.site-header {
    background-color: #0e2a47;
    padding: 15px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff !important;
}

.wecare-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wecare-menu li a {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.wecare-menu li a:hover { opacity: 1; }

/* =========================================
   3. ELEMENTOS GERAIS
   ========================================= */
.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}
.btn-primary { background-color: #0e2a47; color: #ffffff !important; border: 1px solid #0e2a47; }
.btn-primary:hover { background-color: #1a3c5e; transform: translateY(-2px); }

.hero-actions .btn-primary { background-color: #ffffff; color: #0e2a47 !important; border: none; }
.btn-outline { border: 1px solid #ffffff; color: #ffffff !important; background: transparent; }
.btn-outline-dark { border: 1px solid #0e2a47; color: #0e2a47 !important; background: transparent; }
.btn-outline-dark:hover { background: #0e2a47; color: white !important; }

/* =========================================
   4. HOME PAGE
   ========================================= */
.hero-section {
    background-color: #0e2a47;
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-content h1 { font-size: 3rem; color: #ffffff !important; margin-bottom: 1rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; }
.hero-actions { display: flex; justify-content: center; gap: 15px; }

.services-section { background-color: #f8f9fa; padding: 80px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 2.5rem; color: #0e2a47; margin-bottom: 15px; font-weight: 700; }
.section-header p { color: #666; font-size: 1.2rem; line-height: 1.6; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; width: 100%; }
.service-card { background: #ffffff; padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.02); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: flex-start; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(14, 42, 71, 0.15); border-bottom: 4px solid #0e2a47; }
.card-icon { font-size: 3rem; margin-bottom: 25px; display: inline-block; }
.service-card h3 { color: #0e2a47; font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; }
.service-card p { color: #555; line-height: 1.6; font-size: 1rem; margin-bottom: 30px; flex-grow: 1; }
.card-link { color: #0e2a47 !important; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; }

.cta-section { background-color: #ffffff; padding: 80px 0; text-align: center; border-top: 1px solid #eee; }
.cta-section h2 { color: #0e2a47; font-size: 2rem; margin-bottom: 30px; }

/* =========================================
   5. PÁGINA DE CONTATO
   ========================================= */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; padding: 60px 0; }
.contact-info h2 { color: #0e2a47; margin-bottom: 20px; font-size: 2rem; }
.info-list { margin-top: 30px; list-style: none !important; padding: 0; }
.info-list li { margin-bottom: 25px; font-size: 1.1rem; color: #555; }
.info-list li a { color: #0e2a47 !important; font-weight: 600; }
.info-list strong { color: #0e2a47; display: block; margin-bottom: 5px; }

.contact-form-container { background: #f8f9fa; padding: 40px; border-radius: 12px; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #0e2a47; font-size: 0.9rem; }
.wecare-form input, .wecare-form select, .wecare-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; box-sizing: border-box; background-color: #fff; }
.wecare-form input:focus, .wecare-form select:focus, .wecare-form textarea:focus { border-color: #0e2a47; outline: none; box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.1); }
.wecare-form button.btn-primary { background-color: #0e2a47 !important; color: #ffffff !important; width: 100%; border: none; font-size: 1.1rem; margin-top: 10px; cursor: pointer; transition: background 0.3s; }
.wecare-form button.btn-primary:hover { background-color: #1a3c5e !important; }
.form-feedback { margin-top: 15px; font-weight: 600; text-align: center; min-height: 20px; }
.form-feedback.success { color: #2ecc71; } .form-feedback.error { color: #e74c3c; }

/* =========================================
   6. PÁGINA SOBRE NÓS
   ========================================= */
.about-hero { background-color: #0e2a47; padding: 100px 0 80px 0; color: white; text-align: center; }
.about-hero .eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 700; display: block; margin-bottom: 20px; }
.about-hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; margin: 0; color: #ffffff !important; }

.about-story-container { display: flex; justify-content: center; padding: 60px 0; }
.about-story-content { max-width: 800px; text-align: center; }
.about-story-content h2 { font-size: 2.2rem; color: #0e2a47; margin-bottom: 30px; }
.about-story-content p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 20px; }
.separator-center { border: 0; height: 1px; background: #e0e0e0; width: 100px; margin: 40px auto; }

.stats-row { display: flex; justify-content: center; gap: 60px; margin-top: 20px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: #0e2a47; }
.stat-label { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.timeline-section { background-color: #f9f9f9; padding: 80px 0; }
.timeline { max-width: 800px; margin: 40px auto; position: relative; padding-left: 30px; }
.timeline-line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #e0e0e0; }
.timeline-item { position: relative; margin-bottom: 50px; padding-left: 30px; }
.timeline-dot { position: absolute; left: -6px; top: 0; width: 14px; height: 14px; background: #fff; border: 3px solid #0e2a47; border-radius: 50%; z-index: 2; }
.timeline-date { display: inline-block; font-size: 0.8rem; font-weight: 700; color: #888; text-transform: uppercase; margin-bottom: 5px; }
.timeline-content h3 { margin: 0 0 10px 0; color: #0e2a47; font-size: 1.4rem; }
.timeline-content p { margin: 0; color: #666; line-height: 1.6; }

.values-grid-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.value-card { background: #fff; padding: 30px; border-radius: 8px; border: 1px solid #eee; text-align: center; transition: transform 0.2s; }
.value-card:hover { transform: translateY(-5px); border-color: #0e2a47; }
.value-card h3 { color: #0e2a47; margin-bottom: 15px; font-size: 1.2rem; }
.value-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   7. PÁGINA SERVIÇOS
   ========================================= */
.services-hero { background-color: #0e2a47; padding: 80px 0; text-align: center; color: white; }
.services-hero h1 { font-size: 2.8rem; margin: 0; color: white !important; }
.services-hero p { color: rgba(255,255,255,0.7); font-size: 1.2rem; margin-top: 10px; }

.service-block { border-bottom: 1px solid #eee; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; width: 100%; }
.service-grid.reverse .service-content { order: 2; }
.service-grid.reverse .service-visual { order: 1; }

.service-content h2 { font-size: 2.5rem; color: #0e2a47; margin-bottom: 20px; line-height: 1.1; }
.service-label { text-transform: uppercase; color: #3498db; font-weight: 700; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 15px; display: block; }
.service-content p { font-size: 1.1rem; color: #555; line-height: 1.7; margin-bottom: 20px; }

.service-list { list-style: none; padding: 0; margin-bottom: 30px; }
.service-list li { margin-bottom: 15px; color: #444; padding-left: 20px; position: relative; }
.service-list li::before { content: '•'; color: #0e2a47; position: absolute; left: 0; font-weight: bold; font-size: 1.2rem; line-height: 1rem; }
.service-list strong { color: #0e2a47; }

.service-visual { height: 400px; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 20px 20px 0 rgba(14, 42, 71, 0.05); position: relative; overflow: hidden; color: white; }
.visual-tasy { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); }
.visual-rat { background: linear-gradient(135deg, #0e2a47 0%, #245686 100%); }
.visual-portal { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.visual-icon { font-size: 6rem; background: rgba(255,255,255,0.2); width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; border-radius: 50%; backdrop-filter: blur(5px); }

/* =========================================
   8. FOOTER & FIXES
   ========================================= */
.site-footer {
    background-color: #0e2a47;
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    text-align: center;
    margin-top: auto;
    /* CORREÇÃO LINHA BRANCA */
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
    vertical-align: bottom;
}

.site-footer p {
    margin: 0 !important;
    padding: 0;
}

/* --- WHATSAPP FLUTUANTE (CORRIGIDO) --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px !important;
    right: 20px !important;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 999999 !important; /* Força suprema de camada */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 0; /* Evita espaçamento fantasma */
}

.whatsapp-float:hover {
    background-color: #1da851;
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff !important; /* Força ícone branco */
    display: block; /* Remove comportamento inline estranho */
}

/* --- LGPD FOOTER LINK --- */
.footer-separator {
    margin: 0 10px;
    opacity: 0.5;
    color: rgba(255,255,255,0.4);
}

.privacy-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* =========================================
   9. MOBILE FINAL
   ========================================= */
.menu-toggle { display: none; }

@media (max-width: 991px) {
    .menu-toggle { display: block; background: transparent; border: 1px solid rgba(255,255,255,0.3); padding: 8px; cursor: pointer; }
    .menu-toggle .bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }
    
    .site-navigation .wecare-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #0e2a47; flex-direction: column; padding: 20px 0; z-index: 999; border-top: 1px solid rgba(255,255,255,0.1); }
    .site-header { position: relative; }
    .site-navigation.toggled .wecare-menu { display: flex; align-items: center; }
    .wecare-menu li { padding: 10px 0; width: 100%; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-container { padding: 25px; }

    .about-hero h1 { font-size: 2rem; }
    .stats-row { flex-direction: column; gap: 30px; }
    .values-grid-premium { grid-template-columns: 1fr; }
    .timeline { padding-left: 20px; }
    .timeline-line { left: 0; }
    .timeline-dot { left: -6px; }

    .service-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-grid.reverse .service-content { order: 0; }
    .service-grid.reverse .service-visual { order: 1; }
    .service-visual { height: 250px; }
    
    /* Ajuste WhatsApp Mobile */
    .whatsapp-float { width: 50px; height: 50px; bottom: 15px !important; right: 15px !important; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    
    /* Ajuste LGPD Mobile */
    .footer-separator { display: none; }
    .privacy-link { display: block; margin-top: 10px; }
}