/* ===== VARIÁVEIS ===== */
:root {
    --primary: #00C853;
    --primary-hover: #00A040;
    --primary-light: #DCFCE7;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border: #E2E8F0;
    --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-white); color: var(--text-main); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-highlight { color: var(--primary); }
.section-subtitle { text-align: center; color: var(--primary); font-weight: 800; letter-spacing: 2px; font-size: 0.78rem; text-transform: uppercase; margin-bottom: 12px; display: block; }
.section-title { text-align: center; font-size: 2.4rem; font-weight: 800; margin-bottom: 50px; color: var(--text-main); }

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 30px; border-radius: 50px; font-weight: 700;
    text-decoration: none; cursor: pointer; transition: all 0.3s; border: none;
    font-size: 1rem; gap: 10px; font-family: var(--font);
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 20px rgba(0,200,83,0.3); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,200,83,0.4); }
.btn-outline-white { border: 2px solid white; color: white; background: transparent; }
.btn-outline-white:hover { background: white; color: var(--text-main); }
.btn-whatsapp { background: #25D366; color: white; box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000; padding: 12px 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 48px; width: auto; }
.nav-menu a { color: var(--text-main); text-decoration: none; margin: 0 14px; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }

/* ===== HERO COM IMAGEM DE FUNDO ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    background-image: url('images/Hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,50,20,0.3) 100%);
}
.hero-content { position: relative; z-index: 1; }
.badge { background: rgba(0,200,83,0.2); color: #6EE7A0; padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; display: inline-block; margin-bottom: 24px; border: 1px solid rgba(0,200,83,0.4); backdrop-filter: blur(4px); }
.hero h1 { font-size: 3.8rem; line-height: 1.15; margin-bottom: 24px; font-weight: 800; }
.subheadline { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto 40px; }
.hero-ctas { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 60px; }

/* Stats no Hero */
.hero-stats {
    display: inline-flex; align-items: center; gap: 30px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 20px 40px; border-radius: 16px; flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ===== NICHOS ===== */
.niches { padding: 50px 0; background: white; border-bottom: 1px solid var(--border); }
.niches-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.niche-item { background: var(--bg-light); padding: 10px 22px; border-radius: 8px; font-weight: 600; color: var(--text-main); font-size: 0.9rem; border: 1px solid transparent; transition: 0.3s; cursor: default; }
.niche-item:hover { background: white; border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ===== SERVIÇOS COM IMAGENS ===== */
.services { padding: 100px 0; background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border); transition: 0.3s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.card-image { position: relative; height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-image img { transform: scale(1.05); }
.card-image-overlay { position: absolute; top: 15px; left: 15px; }
.card-tag { background: var(--primary); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.card-body { padding: 30px; }
.icon-box { font-size: 2rem; display: block; margin-bottom: 12px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card-body p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card-list li { font-size: 0.9rem; color: var(--text-main); font-weight: 500; }

/* ===== DEPOIMENTOS ===== */
.testimonials { padding: 100px 0; background: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--bg-light); padding: 35px; border-radius: 20px; border: 1px solid var(--border); transition: 0.3s; }
.testimonial-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,200,83,0.08); }
.testimonial-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-header strong { display: block; font-size: 1rem; }
.testimonial-header span { font-size: 0.85rem; color: var(--text-muted); }
.stars { color: #F59E0B; font-size: 0.85rem; margin-top: 2px; }
.testimonial-card > p { color: var(--text-main); line-height: 1.8; font-size: 0.95rem; margin-bottom: 20px; }
.testimonial-result { background: var(--primary-light); color: #166534; padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; display: inline-block; }

/* ===== CONTATO ===== */
.contact { padding: 100px 0; background: #0F172A; color: white; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.contact-info > p { color: #94A3B8; font-size: 1.05rem; margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.detail-item { display: flex; align-items: center; gap: 15px; }
.detail-icon { font-size: 1.5rem; }
.detail-item strong { display: block; font-size: 1rem; }
.detail-item span { font-size: 0.85rem; color: #94A3B8; }
.form-container { background: white; padding: 40px; border-radius: 24px; color: var(--text-main); }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
input, select { width: 100%; padding: 14px; border: 2px solid var(--bg-light); border-radius: 12px; font-size: 1rem; transition: 0.3s; background: var(--bg-light); font-family: var(--font); color: var(--text-main); }
input:focus, select:focus { outline: none; border-color: var(--primary); background: white; }
input::placeholder { color: #CBD5E1; }

/* ===== FOOTER MELHORADO ===== */
.footer { background: #0A0F1E; color: #94A3B8; }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 15px; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-logo-img { height: 60px; width: auto; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: #1E293B; display: flex; align-items: center; justify-content: center; color: #94A3B8; transition: 0.3s; text-decoration: none; }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 0.9rem; }
.footer-col ul li a { color: #94A3B8; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #1E293B; padding: 20px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; }
.footer-disclaimer { color: #475569; font-size: 0.78rem; }

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25D366; color: white;
    width: 65px; height: 65px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 2000; transition: 0.3s;
    animation: pulse 2.5s infinite;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1DA851; }
.whatsapp-float:hover .wpp-tooltip { opacity: 1; transform: translateX(0); }
.wpp-tooltip {
    position: absolute; right: 75px; background: #1E293B; color: white;
    padding: 8px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
    white-space: nowrap; opacity: 0; transform: translateX(10px); transition: 0.3s; pointer-events: none;
}
.wpp-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right: none; border-left-color: #1E293B; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .hero { background-attachment: scroll; }
    .nav-menu, .hidden-mobile { display: none; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; padding: 20px; }
    .stat-divider { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 55px; height: 55px; }
}