:root {
    --primary-color: #1a1a1a;
    --secondary-color: #FFC700;
    --action-color: #25D366;
    --action-hover: #1da851;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f4f4f5;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

.main-header { background-color: #08499a; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--secondary-color); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.header-logo-img { max-height: 60px; }
.header-contact-wrapper { display: flex; align-items: center; gap: 20px; }
.header-phone { color: var(--primary-color); font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 5px; font-size: 19px; }
.btn-header-cta { background-color: var(--secondary-color); color: var(--primary-color); border: none; padding: 12px 20px; border-radius: 6px; font-weight: 800; cursor: pointer; transition: 0.3s; font-size: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.btn-header-cta:hover { background-color: #e6b300; transform: translateY(-1px); }

.hero-section { background-color: var(--primary-color); background-image: url('../assets/img/bg-hero.webp'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 100px 20px; color: #fff; position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(26, 26, 26, 0.88); z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.tag-title { display: inline-block; background-color: var(--secondary-color); padding: 6px 18px; border-radius: 4px; font-size: 15px; font-weight: 800; margin-bottom: 20px; color: var(--primary-color); letter-spacing: 0.5px; }
.hero-title { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.hero-subtitle { font-size: 19px; margin-bottom: 30px; font-weight: 400; color: #e0e0e0; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-subtitle strong { color: var(--secondary-color); font-weight: 700; }
.btn-primary-cta { background-color: var(--action-color); color: #fff; border: none; padding: 18px 40px; border-radius: 8px; font-size: 19px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3); transition: 0.3s; width: 100%; max-width: 420px; position: relative; overflow: hidden; }
.btn-primary-cta:hover { background-color: var(--action-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }

.services-section { padding: 80px 0; }
.section-title { font-size: 26px; margin-bottom: 50px; color: var(--primary-color); font-weight: 800; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-box { background: #fff; border-radius: 12px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s; border: 1px solid #eaeaea; }
.service-box:hover { transform: translateY(-5px); border-color: var(--secondary-color); }
.service-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 4px solid var(--secondary-color); }
.service-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; }
.service-content h4 { font-size: 22px; margin-bottom: 10px; color: var(--primary-color); font-weight: 800; }
.service-content p { font-size: 15px; color: #555; margin-bottom: 25px; flex-grow: 1; }
.btn-service-cta { background-color: var(--bg-light); color: var(--primary-color); border: 2px solid var(--primary-color); padding: 14px; border-radius: 6px; font-weight: 700; font-size: 16px; cursor: pointer; width: 100%; transition: 0.3s; }
.btn-service-cta:hover { background-color: var(--primary-color); color: #fff; }

.testimonials-section { padding: 60px 0; background-color: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background-color: #fff; border-radius: 12px; padding: 30px 24px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); position: relative; border-top: 4px solid var(--secondary-color); transition: 0.3s;}
.testimonial-card:hover { transform: translateY(-5px); }
.quote-icon { font-size: 40px; color: var(--primary-color); position: absolute; top: -25px; left: 20px; background: var(--secondary-color); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 800; line-height: 1; z-index: 1; }
.testimonial-text { color: #333; margin-top: 10px; position: relative; z-index: 1; font-size: 16px; line-height: 1.6; }

.bairros-section { padding: 10px 0; background-color: #fff; }
.bairros-subtitle { text-align: center; color: #555; margin-bottom: 40px; font-size: 18px; font-weight: 500;}
.bairros-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.bairro-category h3 { font-size: 20px; margin-bottom: 20px; color: var(--primary-color); border-bottom: 2px solid var(--secondary-color); padding-bottom: 10px; font-weight: 800; }
.bairro-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.bairro-pill { background-color: var(--bg-light); border: 1px solid #d1d5db; color: #333; padding: 10px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.bairro-pill:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); transform: translateY(-2px); }

.main-footer { background-color: #08499a; color: #fff; padding: 60px 0 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; text-align: left; }
.footer-logo-img-bottom { max-height: 60px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-desc { color: #d1d5db; font-size: 15px; line-height: 1.7; }
.footer-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; color: var(--secondary-color); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-service-btn { background: none; border: none; color: #d1d5db; font-size: 15px; font-family: inherit; cursor: pointer; padding: 0; text-align: left; transition: color 0.3s; font-weight: 500; }
.footer-service-btn:hover { color: var(--secondary-color); }
.footer-contact-info p { margin-bottom: 15px; font-size: 15px; color: #d1d5db; line-height: 1.6; }
.btn-footer-phone-large { display: inline-block; background-color: var(--action-color); color: #fff; padding: 14px 20px; border-radius: 6px; text-decoration: none; font-weight: 800; font-size: 16px; margin-top: 10px; transition: 0.3s; }
.btn-footer-phone-large:hover { background-color: var(--action-hover); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; background-color: #111; }
.footer-bottom p { font-size: 14px; color: #888; }

.hidden { display: none !important; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 26, 0.9); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(5px); }
.modal-content { background: #fff; padding: 40px 30px; border-radius: 12px; width: 100%; max-width: 450px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.5); border-top: 5px solid var(--secondary-color); }
.close-modal { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; font-weight: bold; color: #999; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: var(--primary-color); }
.modal-header h3 { color: var(--primary-color); margin-bottom: 5px; font-size: 24px; font-weight: 800; }
.modal-header p { font-size: 14px; color: #555; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #222; }
.form-group input, .form-group select { width: 100%; padding: 14px; border: 2px solid #e5e7eb; border-radius: 6px; font-size: 16px; outline: none; background-color: #f9fafb; transition: 0.3s;}
.form-group input:focus, .form-group select:focus { border-color: var(--secondary-color); background-color: #fff; }
.btn-submit-crm { background-color: var(--action-color); color: #fff; border: none; padding: 16px; border-radius: 6px; font-size: 18px; font-weight: 800; cursor: pointer; width: 100%; margin-top: 10px; transition: 0.3s; }
.btn-submit-crm:hover { background-color: var(--action-hover); }
.error-message { color: #dc2626; font-size: 14px; margin: 10px 0; text-align: center; font-weight: 600; }
.float-cta-btn { position: fixed; bottom: 20px; right: 50px; background-color: var(--action-color); color: #fff; border: none; padding: 15px 60px; border-radius: 50px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.float-cta-btn:hover { background-color: var(--action-hover); transform: scale(1.05); }

/* ==========================================================
   ESTILOS DA SEÇÃO: TRABALHO NA PRÁTICA (LAYOUT ESCURO)
   ========================================================== */
.pratica-section { padding: 80px 0; background-color: #0f172a; color: #fff; } 
.pratica-header p { font-size: 18px; color: #94a3b8; margin-bottom: 40px; max-width: 800px; line-height: 1.6; text-align: left; font-weight: 500; }
.pratica-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pratica-card { background-color: #1e293b; border-radius: 12px; border: 1px solid #334155; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); transition: transform 0.3s; }
.pratica-card:hover { transform: translateY(-5px); border-color: #f97316; }
.pratica-img-wrapper { position: relative; width: 100%; height: 200px; }
.pratica-img { width: 100%; height: 100%; object-fit: cover; }
.pratica-badge { position: absolute; top: 15px; left: 15px; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.badge-blue { background-color: #3b82f6; }
.badge-red { background-color: #ef4444; }
.badge-green { background-color: #22c55e; }
.pratica-content { padding: 24px; text-align: left; }
.pratica-content h4 { color: #ffc700; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.pratica-content p { color: #cbd5e1; font-size: 14px; line-height: 1.6; }

/* Ajuste Responsivo para Tablets */
@media (max-width: 1024px) {
    .pratica-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   ESTILOS DA SEÇÃO: PROFISSIONAL RESPONSÁVEL
   ========================================================== */
.professional-section { padding: 80px 0; background-color: #ffffff; }
.professional-box { background-color: var(--bg-light); border-radius: 16px; border: 1px solid #e5e7eb; box-shadow: var(--card-shadow); display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; padding: 40px; }
.professional-img-wrapper { width: 100%; display: flex; justify-content: center; }
.professional-img { width: 100%; max-width: 320px; height: 335px; object-fit: cover; border-radius: 12px; border: 4px solid var(--secondary-color); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.professional-info { text-align: left; }
.tag-title-pro { display: inline-block; background-color: var(--secondary-color); padding: 5px 14px; border-radius: 4px; font-size: 13px; font-weight: 800; margin-bottom: 15px; color: var(--primary-color); letter-spacing: 0.5px; }
.professional-info h2 { font-size: 34px; font-weight: 800; color: var(--primary-color); margin-bottom: 5px; }
.professional-role { font-size: 16px; font-weight: 600; color: #555; margin-bottom: 20px; }
.professional-desc { font-size: 15px; color: #4b5563; line-height: 1.7; margin-bottom: 25px; }
.professional-highlights { display: flex; flex-wrap: wrap; gap: 10px; }
.professional-highlights span { background-color: #fff; border: 1px solid #d1d5db; color: var(--primary-color); padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 4px rgba(0,0,0,0.03); }

/* ==========================================================
   ESTILOS DA SEÇÃO: SERVIÇOS COMPLEMENTARES (DESENTUPIMENTO)
   ========================================================== */
.complementary-services { padding: 10px 0; background-color: #f9fcf8; border-top: 1px solid #e2e8f0; }
.complementary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.complementary-card { background-color: #ffffff; padding: 30px 25px; border-radius: 8px; border-left: 5px solid var(--secondary-color); box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s, box-shadow 0.3s; }
.complementary-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.comp-info h4 { font-size: 19px; color: var(--primary-color); font-weight: 800; margin-bottom: 12px; }
.comp-info p { font-size: 14px; color: #475569; line-height: 1.6; margin-bottom: 25px; }
.btn-comp-cta { background-color: #00501e; color: #ffffff; border: 0px solid var(--secondary-color); padding: 12px 15px; border-radius: 6px; font-size: 14px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; width: 100%; text-align: center; }
.btn-comp-cta:hover { background-color: var(--secondary-color); color: var(--primary-color); }

/* Ajuste intermediário para tablets (2 colunas) */
@media (max-width: 1024px) {
    .complementary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; padding: 15px 0; }
    .header-contact-wrapper { flex-direction: column; width: 100%; gap: 10px; }
    .header-phone { display: flex; justify-content: center; width: 100%; font-size: 20px; background-color: var(--bg-light); padding: 12px; border-radius: 8px; border: 1px solid #e0e0e0; }
    .btn-header-cta { width: 100%; font-size: 16px; padding: 14px; }
    .hero-title { font-size: 32px; }
    .hero-section { padding: 60px 20px; }
    .services-section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .btn-footer-phone-large { width: 100%; }
    .footer-service-btn { text-align: center; width: 100%; display: block; }
    .pratica-grid { grid-template-columns: 1fr; gap: 20px; }
    .pratica-header p { text-align: center; margin: 0 auto 30px auto; }
    .professional-box { grid-template-columns: 1fr; text-align: center; padding: 25px; }
    .professional-info { text-align: center; }
    .professional-highlights { justify-content: center; }
    .complementary-grid { grid-template-columns: 1fr; gap: 20px; }
}