/* ==========================================================
   VARIÁVEIS DE COR E ESTILO - KING DESENTUPIDORA
   ========================================================== */
:root {
    --primary-color: #111111; /* Fundo escuro e títulos (Baseado na logo) */
    --secondary-color: #185a42; /* Verde escuro para apoio */
    --action-color: #148f65; /* Verde principal da logo King */
    --action-hover: #0f6b4b; /* Hover mais escuro */
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Reset Global e Fonte Padrão (Inter) */
* { 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; }

/* CABEÇALHO */
.main-header { background-color: #fff; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.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: #ffffff; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 5px; font-size: 18px; }
.btn-header-cta { background-color: #e10909; color: #ffffff; border: none; padding: 12px 20px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 15px;}
.btn-header-cta:hover { background-color: var(--primary-color); }

/* HERO SECTION */
.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(17, 17, 17, 0.90); z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.tag-title { display: inline-block; background-color: rgba(20, 143, 101, 0.2); padding: 6px 18px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 15px; border: 1px solid rgba(20, 143, 101, 0.5); backdrop-filter: blur(4px); color: #20c997; }
.hero-title { font-size: 46px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.hero-subtitle { font-size: 18px; margin-bottom: 30px; font-weight: 400; color: #e0e0e0; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-subtitle strong { color: #fff; }
.btn-primary-cta { background-color: var(--action-color); color: #fff; border: none; padding: 18px 40px; border-radius: 8px; font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 15px rgba(20, 143, 101, 0.3); transition: 0.3s; width: 100%; max-width: 400px; position: relative; overflow: hidden; }
.btn-primary-cta:hover { background-color: var(--action-hover); transform: translateY(-2px); }

/* VITRINE DE SERVIÇOS */
.services-section { padding: 80px 0; }
.section-title { font-size: 36px; margin-bottom: 50px; color: var(--primary-color); font-weight: 700; }
.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(--action-color); }
.service-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 4px solid var(--action-color); }
.service-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; }
.service-content h4 { font-size: 20px; margin-bottom: 10px; color: var(--primary-color); font-weight: 600; }
.service-content p { font-size: 15px; color: #555; margin-bottom: 25px; flex-grow: 1; }
.btn-service-cta { background-color: #079263; color: #ffffff; border: 1px solid var(--action-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(--action-color); color: #fff; }

/* DEPOIMENTOS */
.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: 16px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); position: relative; border: 1px solid #f0f0f0; transition: 0.3s;}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.quote-icon { font-size: 60px; color: rgba(20, 143, 101, 0.1); position: absolute; top: -10px; left: 15px; font-family: serif; font-weight: bold; line-height: 1; z-index: 0; }
.testimonial-text { font-style: italic; color: #4a5568; margin-bottom: 20px; position: relative; z-index: 1; font-size: 15px; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; }
.author-avatar { width: 40px; height: 40px; background-color: var(--action-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 18px; }
.author-info { margin-left: 12px; }
.author-name { font-weight: 700; color: var(--text-dark); font-size: 15px; margin-bottom: 2px; }
.author-city { font-size: 13px; color: #718096; }

/* BAIRROS ATENDIDOS */
.bairros-section { padding: 80px 0; background-color: #fff; }
.bairros-subtitle { text-align: center; color: #666; margin-bottom: 40px; font-size: 16px; }
.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(--bg-light); padding-bottom: 10px; }
.bairro-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.bairro-pill { background-color: var(--bg-light); border: 1px solid #e2e8f0; color: #4a5568; padding: 10px 18px; border-radius: 30px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.bairro-pill:hover { background-color: var(--action-color); color: #fff; border-color: var(--action-color); transform: translateY(-2px); }
.bairros-outros { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* RODAPÉ COMPLETO */
.main-footer { background-color: var(--primary-color); 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: 14px; line-height: 1.7; }
.footer-title { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: var(--action-color); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-service-btn { background: none; border: none; color: #d1d5db; font-size: 14px; font-family: inherit; cursor: pointer; padding: 0; text-align: left; transition: color 0.3s; }
.footer-service-btn:hover { color: var(--action-color); }
.footer-contact-info p { margin-bottom: 15px; font-size: 14px; 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: 700; 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.05); padding: 20px 0; background-color: #0a0a0a; }
.footer-bottom p { font-size: 13px; color: #777; }

/* MODAL CRM E BTN FLUTUANTE */
.hidden { display: none !important; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); 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); }
.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; }
.modal-header p { font-size: 14px; color: #666; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #333; }
.form-group input, .form-group select { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; outline: none; background-color: var(--bg-light); transition: 0.3s;}
.form-group input:focus, .form-group select:focus { border-color: var(--action-color); background-color: #fff; box-shadow: 0 0 0 3px rgba(20, 143, 101, 0.1); }
.btn-submit-crm { background-color: var(--action-color); color: #fff; border: none; padding: 16px; border-radius: 6px; font-size: 16px; font-weight: 700; cursor: pointer; width: 100%; margin-top: 10px; }
.error-message { color: #e53e3e; font-size: 14px; margin: 10px 0; text-align: center; font-weight: 600; }
.float-cta-btn { position: fixed; bottom: 20px; right: 20px; background-color: var(--action-color); color: #fff; border: none; padding: 15px 20px; border-radius: 50px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 15px rgba(20, 143, 101, 0.4); z-index: 999; display: flex; align-items: center; gap: 10px; }
.float-cta-btn:hover { background-color: var(--action-hover); }

/* RESPONSIVO */
@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: #0f6b4b; padding: 10px; 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; }
}