/* === style.css === */

/* Importa a fonte Poppins do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* Reset básico e Box Sizing */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; font-size: 16px; line-height: 1.6; color: #333; background-color: #fff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Header --- */
.header { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; background-color: #fff; border-bottom: 1px solid #eee; position: relative; flex-wrap: wrap; transition: padding 0.3s ease; z-index: 997; }
.logo img { width: 150px; transition: width 0.3s ease; }
.contato-header { display: none; align-items: center; gap: 10px; }
.contato-header a { display: flex; align-items: center; gap: 8px; color: #053742; font-size: 0.9rem; transition: color 0.3s ease; }
.contato-header a:hover { color: #f88f06; }
.contato-header img { width: 35px; height: 35px; }
.contato-header p { line-height: 1.3; margin: 0; }
.contato-header p strong { font-weight: 600; }

/* --- Navbar --- */
.navbar { background-color: #053742; min-height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; position: sticky; top: 0; z-index: 999; width: 100%; transition: min-height 0.3s ease; }
.nav-menu { display: flex; align-items: center; justify-content: center; flex-grow: 1; gap: 25px; padding-left: 0; }
.nav-link { color: #d6d6d6; padding: 8px 12px; border-radius: 4px; transition: background-color 0.3s ease, color 0.3s ease; font-weight: 500; white-space: nowrap; }
.nav-link:hover, .nav-link:focus { background-color: #f88f06; color: #fff; outline: none; }
.wrapper { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wrapper .button { display: flex; justify-content: center; align-items: center; width: 38px; height: 38px; background: transparent; border-radius: 50%; transition: background-color 0.3s ease; overflow: hidden; border: 1px solid #5a8a93; }
.wrapper .button .icon { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
.wrapper .button .icon img { width: 18px; height: 18px; transition: transform 0.3s ease; filter: brightness(0) invert(1); }
.wrapper .button:hover { background-color: #f88f06; border-color: #f88f06; }
.wrapper .button:hover .icon img { transform: scale(1.1); }
.hamburguer { display: none; cursor: pointer; padding: 10px; margin-right: 5px; }
.bar { display: block; width: 25px; height: 3px; border-radius: 2px; margin: 5px auto; background-color: #d6d6d6; transition: all 0.3s ease-in-out; }
/* Esconde extras (sociais) do menu mobile por padrão */
.mobile-menu-extras { display: none; }
/* Esconde ícones da barra mobile por padrão */
.navbar-mobile-icons { display: none; }

/* --- Home Banner --- */
.home { background-color: #f2f2f2; }
.banner-home { position: relative; display: flex; justify-content: center; align-items: center; min-height: 55vh; width: 100%; text-align: center; padding: 40px 20px; }
.banner-home::before { content: ""; position: absolute; background-image: url('/imagens/banner.webp'); background-attachment: fixed; background-repeat: no-repeat; background-size: cover; background-position: center center; top: 0; right: 0; bottom: 0; left: 0; opacity: 0.40; z-index: 0; }
.banner-home h1 { position: relative; z-index: 1; background-color: rgba(255, 255, 255, 0.75); padding: 30px 40px; max-width: 800px; width: auto; color: #003840; font-size: 2rem; font-weight: 800; line-height: 1.4; border-radius: 5px; box-shadow: 8px 8px 0px #f88f06; display: inline-block; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.banner-home h1:hover { transform: scale(1.03); box-shadow: 10px 10px 0px #e07e00; }

/* --- Linha Divisória Laranja --- */
.linha-qsomos { margin-top: 50px; display: flex; justify-content: center; margin-bottom: 50px; }
#linha-horizontal-quem { width: 100px; border: 2px solid #f88f06; }

/* --- Seção Sobre Nós --- */
.sobre { display: flex; flex-direction: column; align-items: center; text-align: center; background-color: #f9f9f9; padding: 40px 20px; gap: 30px; }
.sobre img { width: 100%; max-width: 450px; border-radius: 8px; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.sobre img:hover { transform: scale(1.04); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
.quem-somos { max-width: 700px; }
.quem-somos h2 { margin-bottom: 20px; font-size: 1.8rem; font-weight: 700; color: #053742; }
.quem-somos p { font-size: 1rem; font-weight: 400; line-height: 1.7; color: #444; margin-bottom: 15px; }
.quem-somos p:last-child { margin-bottom: 0; }
.quem-somos strong { font-weight: 600; color: #053742; }

/* --- Seção Pilares/Objetivos --- */
.container-objetivo { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; padding: 60px 20px; }
.title-pilares { width: 100%; text-align: center; margin-bottom: 40px; }
.title-pilares h2 { font-size: 2rem; color: #053742; font-weight: 700; position: relative; display: inline-block; padding-bottom: 10px; }
.title-pilares h2::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 80px; height: 3px; background-color: #f88f06; }
.objetivos { flex: 1 1 300px; max-width: 350px; text-align: center; padding: 30px 25px; border-radius: 8px; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08); background-color: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease; border-top: 4px solid transparent; }
.objetivos:hover { transform: translateY(-8px); box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.12); border-top-color: #f88f06; }
.objetivos img { width: 50px; height: 50px; margin: 0 auto 15px auto; }
.title-objetivo { color: #f88f06; font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.text-obj { font-size: 0.95rem; font-weight: 400; line-height: 1.6; color: #555; }

/* --- Seção Corpo Principal (Background) --- */
#corpo { position: relative; width: 100%; background-image: url('/imagens/banner.webp'); background-attachment: fixed; background-repeat: no-repeat; background-size: cover; background-position: center center; padding-top: 1px; padding-bottom: 1px; z-index: 1; }
#corpo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.75); z-index: -1; }

/* --- Seção Serviços --- */
#servicos { display: flex; width: 100%; flex-direction: column; align-items: center; padding: 60px 0; position: relative; z-index: 2; }
.title-servicos { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; }
.title-servicos h2 { font-size: 2rem; color: #053742; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; text-align: center; }
#linha-horizontal { width: 80px; border: 2px solid #f88f06; }
.container-servicos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding: 0 20px; width: 100%; max-width: 1200px; margin: 0 auto; }
.text-serv-resid, .text-serv-com, .text-serv-pred { background-color: #fff; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.text-serv-resid:hover, .text-serv-com:hover, .text-serv-pred:hover { transform: translateY(-5px); box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12); }
.container-servicos img { width: 100%; height: 200px; object-fit: cover; }
.text-servicos { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.text-servicos h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; color: #053742; }
.text-servicos p { font-size: 0.95rem; text-align: center; color: #555; line-height: 1.6; margin-bottom: 25px; padding: 0; }
.btn-info { margin-top: auto; }
.btn-info .btn { font-size: 0.9rem; text-transform: uppercase; font-weight: 700; border: none; padding: 12px 25px; cursor: pointer; background-color: #f88f06; color: #fff; border-radius: 4px; display: inline-block; transition: background-color 0.3s ease, transform 0.2s ease; }
.btn-info .btn:hover, .btn-info .btn:focus { background-color: #e07e00; transform: translateY(-2px); outline: none; }

/* --- Serviços Especializados --- */
.servicos-especializados { margin-top: 60px; padding: 50px 20px; background-color: rgba(248, 248, 248, 0.95); border-radius: 8px; width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; text-align: center; position: relative; z-index: 2; }
.servicos-especializados h3 { text-align: center; margin-bottom: 40px; font-size: 1.8em; color: #053742; font-weight: 700; }
.servicos-especializados ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); justify-content: center; gap: 20px; }
.servicos-especializados li { background-color: #fff; padding: 20px 15px; border-radius: 5px; box-shadow: 0 3px 8px rgba(0,0,0,0.08); font-size: 0.9rem; line-height: 1.5; color: #333; transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: left; }
.servicos-especializados li:hover { transform: translateY(-5px); box-shadow: 0 6px 15px rgba(0,0,0,0.12); }
.servicos-especializados li strong { display: block; margin-bottom: 5px; font-weight: 600; color: #053742; }
.servicos-especializados li i { margin-right: 8px; font-size: 1.1em; vertical-align: middle; width: 20px; text-align: center; display: inline-block; }
.servicos-especializados li i.fa-bolt { color: #f39c12; }
.servicos-especializados li i.fa-tint { color: #3498db; }
.servicos-especializados li i.fa-paint-brush { color: #8e44ad; }
.servicos-especializados li i.fa-paint-roller { color: #95a5a6; }
.servicos-especializados li i.fa-layer-group { color: #7f8c8d; }
.servicos-especializados li i.fa-arrow-down { color: #1abc9c; }
.servicos-especializados li i.fa-th-large { color: #e67e22; }
.servicos-especializados li i.fa-building { color: #c0392b; }
.servicos-especializados li i.fa-hard-hat { color: #e74c3c; }
.servicos-especializados p { text-align: center; margin-top: 40px; font-size: 1rem; color: #555; }

/* --- Seção Depoimentos --- */
#depoimentos { padding: 60px 20px; background-color: #fff; position: relative; z-index: 2; }
.title-depoimentos { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; }
.title-depoimentos h2 { font-size: 2rem; color: #053742; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; text-align: center; }
#linha-horizontal-depoimentos { width: 80px; border: 2px solid #f88f06; }
.container-depoimentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.depoimento-item { background-color: #f9f9f9; border-left: 5px solid #f88f06; border-radius: 8px; padding: 25px 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.07); position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.depoimento-item:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.depoimento-aspas { font-size: 3rem; color: #f88f06; position: absolute; top: 10px; left: 15px; opacity: 0.2; line-height: 1; }
.depoimento-item blockquote { font-size: 0.95rem; font-style: italic; color: #555; line-height: 1.7; margin-bottom: 15px; padding-left: 10px; border-left: 2px solid #eee; }
.depoimento-item cite { display: block; font-size: 0.9rem; font-weight: 600; color: #053742; margin-bottom: 10px; text-align: right; }
.depoimento-estrelas { text-align: right; color: #f39c12; font-size: 0.9rem; }
.depoimento-estrelas .fas, .depoimento-estrelas .far, .depoimento-estrelas .fa-star-half-alt { margin-left: 2px; }

/* --- Seção Galeria de Projetos --- */
#gallery-projetos { padding: 60px 0; position: relative; z-index: 2; }
.title-projetos { display: flex; flex-direction: column; align-items: center; margin-bottom: 40px; }
.title-projetos h2 { color: #053742; font-size: 2rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
#linha-horizontal-projetos { width: 80px; border: 2px solid #f88f06; }
.gallery-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; padding: 0 15px; max-width: 1200px; margin: 0 auto 50px auto; }
.gallery-items { width: 250px; height: 250px; border: 6px solid #FFF; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); flex-grow: 1; transition: transform 0.4s ease, box-shadow 0.4s ease; overflow: hidden; position: relative; }
.gallery-items img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-items:hover { transform: scale(1.05) rotate(1deg); box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3); z-index: 10; }
.gallery-items::after { content: attr(data-title); position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); color: #fff; text-align: center; padding: 8px 0; font-size: 0.9rem; opacity: 0; transition: opacity 0.4s ease; }
.gallery-items:hover::after { opacity: 1; }

/* --- Chamada Instagram --- */
.sigaInstra { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 40px; padding-bottom: 60px; /* Adicionado espaço extra antes do footer */ }
.sigaInstra h3 { color: #053742; font-size: 1.3rem; font-weight: 600; margin-bottom: 15px; }
.sigaInstra img { padding: 0; width: 100%; max-width: 220px; height: auto; transition: transform 0.3s ease; }
.sigaInstra a:hover img { transform: scale(1.05); }

/* --- Footer --- */
footer { color: #d9d9d9; background-color: #053742; padding-bottom: 0; position: relative; z-index: 5; }
.footer-logo-container { text-align: center; padding-top: 50px; margin-bottom: 30px; }
.footer-logo-container img { width: 150px; display: inline-block; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 20px; gap: 30px; align-items: flex-start; padding-bottom: 40px; }
.footer .section { flex: 1 1 auto; margin-bottom: 30px; }
.footer-section-left { flex-basis: calc(40% - 15px); min-width: 280px; text-align: left; }
.footer-section-center { flex-basis: calc(60% - 15px); min-width: 320px; }
/* Footer Esquerda */
.footer-section-left .cnpj-title { font-size: 1rem; font-weight: 600; color: #f88f06; margin-top: 0; margin-bottom: 15px; position: relative; display: inline-block; padding-bottom: 5px; }
.footer-section-left .cnpj-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background-color: #f88f06; }
.footer-section-left .content p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; color: #ccc; }
.footer-section-left .social { margin: 0; text-align: left; }
.footer-section-left .social a { display: inline-block; margin-right: 10px; }
.footer-section-left .social a span { height: 38px; width: 38px; background: transparent; line-height: 38px; text-align: center; font-size: 1rem; border-radius: 50%; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; border: 1px solid #656565; color: #ccc; display: inline-block; }
.footer-section-left .social a span:hover { background: #f88f06; border-color: #f88f06; color: #fff; }
/* Footer Centro */
.footer-section-center h2 { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; margin-bottom: 25px; color: #f88f06; position: relative; padding-bottom: 8px; text-align: left; /* Padrão */ }
.footer-section-center h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: #f88f06; transform: translateX(0); /* Padrão */ }
.footer-section-center .content { display: block; /* Padrão vertical */ }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 18px; gap: 12px; }
.icon-contact { font-size: 1rem; color: #f88f06; width: 20px; text-align: center; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item .text { font-size: 0.9rem; font-weight: 400; color: #d9d9d9; line-height: 1.5; }
.footer-contact-item a .text:hover { color: #f88f06; text-decoration: underline; }
.text-contact-group { display: flex; align-items: center; gap: 10px; }
.whatsapp-link-footer .fa-whatsapp { font-size: 1.2rem; color: #25D366; transition: color 0.3s ease; }
.whatsapp-link-footer:hover .fa-whatsapp { color: #128C7E; }

/* --- Copyright --- */
.copy { padding: 15px 10px; width: 100%; text-align: center; font-size: 0.8rem; background: #f1f1f1; color: #555; border-top: 1px solid #ddd; }
.copy p { margin: 3px 0; font-size: 0.8rem; color: #666666; }
.copy p:first-child { font-size: 0.85rem; color: #053742; }
.copy strong { font-weight: 600; color: #053742; }
.copy a { color: #f88f06; font-weight: 500; text-decoration: none; }
.copy a:hover { text-decoration: underline; }

/* --- Botão Flutuante WhatsApp --- */
#div-fixa { position: fixed; right: 15px; bottom: 200px; border-radius: 50px; cursor: pointer; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); background: #ffffff; transition: width 0.4s ease-in-out, background-color 0.3s ease, border-color 0.3s ease; overflow: hidden; border: 1px solid #eee; height: 55px; display: flex; align-items: center; }
#div-fixa a.whatsapp-float-link { display: flex; align-items: center; padding: 0 5px 0 5px; height: 100%; text-decoration: none; width: auto; max-width: 270px; }
.whatsapp-float-icon { font-size: 28px; color: #25D366; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color 0.3s ease; margin-right: 8px; }
#div-fixa span.whatsapp-float-text { font-size: 13px; font-weight: 600; color: #053742; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 1; transition: opacity 0.2s ease-out, width 0.2s ease-out, margin-right: 0.2s ease-out; margin-right: 10px; width: auto; }
#div-fixa.shrink { width: 55px; background-color: #25D366; border-color: #128C7E; }
#div-fixa.shrink a.whatsapp-float-link { padding: 0 5px; justify-content: center; }
#div-fixa.shrink .whatsapp-float-icon { color: #fff; margin-right: 0; }
#div-fixa.shrink span.whatsapp-float-text { opacity: 0; width: 0; margin-right: 0; padding: 0; }
.flutuar { animation-name: flutuar; animation-duration: 1.5s; animation-iteration-count: infinite; animation-direction: alternate; animation-timing-function: ease-in-out; }
@keyframes flutuar { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -8px, 0); } }

/* --- Pop-up Social Proof --- */
#social-proof-popup { position: fixed; bottom: 20px; left: 20px; background-color: #fff; color: #333; border-radius: 8px; padding: 15px 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); display: flex; align-items: center; z-index: 1001; opacity: 0; transform: translateY(100%); transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; max-width: 320px; } /* REVERTIDO para bottom */
#social-proof-popup.visible { opacity: 1; transform: translateY(0); }
.popup-content { display: flex; align-items: center; flex-grow: 1; }
.popup-icon { font-size: 1.8rem; color: #28a745; margin-right: 10px; flex-shrink: 0; }
.popup-text { font-size: 0.85rem; line-height: 1.4; }
.popup-text strong { font-weight: 600; color: #053742; }
.popup-close { background: none; border: none; color: #aaa; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 5px; margin-left: 10px; opacity: 0.7; transition: opacity 0.3s ease, color 0.3s ease; }
.popup-close:hover { opacity: 1; color: #555; }


/* --- Media Queries (Responsividade) --- */

/* Desktop/Telas Largas (992px+) */
@media (min-width: 992px) {
    .servicos-especializados ul { grid-template-columns: repeat(4, 1fr); }
    /* Footer Contatos Desktop Grid */
    .footer-section-center .content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 15px 25px; align-items: baseline; }
    .footer-contact-item { margin-bottom: 0; display: flex; align-items: flex-start; gap: 10px; }
    /* Footer "Fale Conosco" Desktop Centralizado */
    .footer-section-center h2 { text-align: center; }
    .footer-section-center h2::after { left: 50%; transform: translateX(-50%); }
}

/* Telas Médias (769px - 991px) */
@media (min-width: 769px) {
    .contato-header { display: flex; }
    .sobre { flex-direction: row; text-align: left; justify-content: center; gap: 40px; padding: 60px 30px; }
    .sobre img { width: 40%; max-width: 400px; }
    .quem-somos { width: 55%; max-width: 600px; }
    .quem-somos h2, .quem-somos p { text-align: left; }
    /* Footer "Fale Conosco" Médio/Desktop Centralizado (Herdado de min-width: 992px ou pode repetir aqui) */
     .footer-section-center h2 { text-align: center; }
     .footer-section-center h2::after { left: 50%; transform: translateX(-50%); }
}

/* Tablets (Ajustes Footer Vertical - 769px até 991px) */
@media (max-width: 991px) {
    .footer-section-center .content { display: block; } /* Garante layout vertical se não for grid */
    .footer-contact-item { margin-bottom: 18px; } /* Mantém margem vertical */
     /* Footer "Fale Conosco" - Mantendo centralizado em tablets também */
     .footer-section-center h2 { text-align: center; } /* Mantendo centralizado */
     .footer-section-center h2::after { left: 50%; transform: translateX(-50%); } /* Mantendo centralizado */
}

/* ========================================== */
/* === ESTILOS ESPECÍFICOS PARA MOBILE ====== */
/* ========================================== */
@media (max-width: 768px) {
    /* Header Mobile */
    .header { padding: 10px 15px; justify-content: center; z-index: 996; } /* Mantém z-index */
    .logo { margin: 0 auto; width: fit-content; }
    .logo img { width: 120px; }

    /* Navbar Mobile */
    .navbar { justify-content: space-between; padding: 0 15px; min-height: 60px; z-index: 999; } /* Mantém z-index */
    .wrapper { display: none; } /* Esconde ícones desktop */

    /* Ícones na Barra Mobile - AUMENTADO FONT-SIZE */
    .navbar-mobile-icons { display: flex; align-items: center; gap: 15px; flex-grow: 1; justify-content: center; }
    .navbar-mobile-icons a { color: #d6d6d6; font-size: 1.2rem; /* AUMENTADO o tamanho dos ícones */ transition: color 0.3s ease; }
    .navbar-mobile-icons a:hover { color: #f88f06; }

    /* Botão Hamburguer */
    .hamburguer { display: block; cursor: pointer; padding: 10px 0 10px 10px; margin-right: 0; z-index: 1001; flex-shrink: 0; }
    .hamburguer.active .bar:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .hamburguer.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburguer.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Menu Lateral (Slide-down Horizontal) - REFEITO */
    .nav-menu {
        position: absolute; /* Alterado para absolute */
        top: 100%; /* Inicia logo abaixo da navbar */
        left: 0;
        width: 100%; /* Ocupa toda a largura da navbar */
        /* height: auto;  Altura automática */
        max-height: 0; /* <<< ALTURA INICIAL ZERO */
        overflow: hidden; /* Esconde conteúdo */
        background-color: #053742;
        flex-direction: column; /* Mantém layout vertical interno */
        text-align: center;
        transition: max-height 0.3s ease-out; /* Animação na altura */
        z-index: 998; /* Z-index médio */
        padding-top: 0; /* Removido padding top e bottom */
        padding-bottom: 0;
    }
    .nav-menu.active {
        max-height: 500px; /* <<< ALTURA MÁXIMA (Ajuste conforme necessário) - Garante que menu se expanda para baixo */
        overflow-y: auto; /* Adiciona scroll se o conteúdo for maior que max-height */
        padding-top: 15px; /* Retorna padding vertical quando ativo */
        padding-bottom: 25px;
    }
    .nav-item { margin: 0; width: 100%; flex-shrink: 0; /* Remove margem vertical */ }
    .nav-link { font-size: 1rem; /* Fonte ligeiramente menor */ display: block; padding: 14px 20px; /* Aumenta padding horizontal e vertical */ } /* AUMENTADO PADDING AQUI */
    .nav-link:hover, .nav-link:focus { background-color: #f88f06; color: #fff; }

    /* Extras no Menu Lateral (Sociais no Fundo) - REMOVIDO INTEIRAMENTE */
    .mobile-menu-extras { display: none; } /* <<< ESCONDE COMPLETAMENTE */

    /* --- Ajustes Gerais Mobile --- */
    .banner-home { min-height: 45vh; }
    .banner-home h1 { font-size: 1.6rem; padding: 20px; box-shadow: 6px 6px 0px #f88f06; }
    .quem-somos h2, .title-pilares h2, .title-servicos h2, .title-depoimentos h2, .title-projetos h2 { font-size: 1.8rem; }
    .servicos-especializados h3 { font-size: 1.6em; }

    /* Footer Mobile */
    #social-proof-popup { /* REVERTIDO popup social-proof para bottom */
        position: fixed;
        bottom: 20px; /* REVERTIDO para 20px */
        left: 20px; /* REVERTIDO para 20px */
        background-color: #fff;
        color: #333;
        border-radius: 8px;
        padding: 15px 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        z-index: 1001;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
        max-width: 320px;
        top: auto; /* Garante que o top não interfira no bottom */
        right: auto; /* Garante que o right não interfira no left */
    }
    .footer-logo-container { padding-top: 40px; margin-bottom: 20px; }
    .footer-logo-container img { width: 120px; }
    .footer-container { flex-direction: column; padding: 0 15px; align-items: center; padding-bottom: 30px; }
    .footer .section { flex-basis: auto; width: 100%; max-width: 400px; margin-bottom: 35px; text-align: center; }
    .footer-section-left .cnpj-title { text-align: center; display: block; }
    .footer-section-left .cnpj-title::after { left: 50%; transform: translateX(-50%); }
    .footer-section-left .social { text-align: center; }
    .footer-section-center h2 { text-align: center; }
    .footer-section-center h2::after { left: 50%; transform: translateX(-50%); }
    .footer-contact-item { justify-content: center; text-align: left; width: 100%; max-width: 300px; margin: 0 auto 18px auto; }
    .footer-contact-item .icon-contact { margin-top: 1px; }

    /* Galeria Mobile */
    .gallery-items { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1 / 1; }
    .gallery-items:hover { transform: scale(1.03); }
} /* Fim da Media Query Mobile */

/* --- Media Queries Desktop/Tablet (Mantidas da versão anterior) --- */
@media (min-width: 992px) {
    .servicos-especializados ul { grid-template-columns: repeat(4, 1fr); }
    .footer-section-center .content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 15px 25px; align-items: baseline; }
    .footer-contact-item { margin-bottom: 0; display: flex; align-items: flex-start; gap: 10px; }
    .footer-section-center h2 { text-align: center; }
    .footer-section-center h2::after { left: 50%; transform: translateX(-50%); }
}
@media (min-width: 769px) {
    .contato-header { display: flex; }
    .sobre { flex-direction: row; text-align: left; justify-content: center; gap: 40px; padding: 60px 30px; }
    .sobre img { width: 40%; max-width: 400px; }
    .quem-somos { width: 55%; max-width: 600px; }
    .quem-somos h2, .quem-somos p { text-align: left; }
}
@media (max-width: 991px) {
    /* Garante footer vertical em tablets se não for desktop */
    .footer-section-center .content { display: block; }
    .footer-contact-item { margin-bottom: 18px; }
     /* Pode decidir manter o H2 centralizado ou voltar à esquerda aqui */
     .footer-section-center h2 { text-align: center; } /* Mantendo centralizado */
     .footer-section-center h2::after { left: 50%; transform: translateX(-50%); } /* Mantendo centralizado */
}
/* ==========================================================
   Upgrade 2026 - Design premium + retenção/conversão ética
   ========================================================== */
:root {
  --brand-dark: #071f2a;
  --brand-deep: #0b3442;
  --brand-gold: #f88f06;
  --brand-gold-2: #ffb347;
  --brand-green: #25D366;
  --soft-bg: #f6f8fb;
  --text-strong: #10232b;
  --text-muted: #5d6b73;
  --card-shadow: 0 24px 70px rgba(7,31,42,.14);
}
html { scroll-behavior: smooth; }
body { background: linear-gradient(180deg, #fff 0%, #f7f9fb 45%, #fff 100%); color: var(--text-strong); }
.header {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,31,42,.08);
  box-shadow: 0 12px 32px rgba(7,31,42,.06);
}
.header .logo img { filter: drop-shadow(0 8px 16px rgba(0,0,0,.10)); }
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(7,31,42,.96) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(7,31,42,.24);
}
.nav-link { position: relative; font-weight: 700 !important; letter-spacing: .01em; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-2));
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-link:hover::after { width: 72%; }
.hero-premium {
  min-height: clamp(620px, 78vh, 840px);
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vw, 130px) 20px;
  overflow: hidden;
  background-position: center !important;
}
.hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(248,143,6,.35), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(37,211,102,.24), transparent 22%),
    linear-gradient(115deg, rgba(7,31,42,.94) 0%, rgba(7,31,42,.76) 48%, rgba(7,31,42,.42) 100%);
  z-index: 1;
}
.hero-premium::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  width: min(1180px, 100%);
  position: relative;
  z-index: 3;
  color: #fff;
}
.hero-badge, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .02em;
  backdrop-filter: blur(12px);
}
.section-kicker { background: rgba(248,143,6,.12); color: var(--brand-gold); border-color: rgba(248,143,6,.25); }
.hero-content h1 {
  max-width: 940px;
  margin: 22px 0 18px;
  color: #fff !important;
  font-size: clamp(2.2rem, 7vw, 5.8rem) !important;
  line-height: .94 !important;
  letter-spacing: -.055em;
  text-shadow: 0 16px 45px rgba(0,0,0,.35);
}
.hero-subtitle {
  max-width: 760px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 34px; }
.btn.btn-hero-primary, .btn.btn-hero-secondary, .diagnostic-submit, .retention-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 15px 22px;
  text-decoration: none;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.btn.btn-hero-primary, .diagnostic-submit, .retention-bar a {
  background: linear-gradient(135deg, var(--brand-green), #128C7E);
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(37,211,102,.28);
}
.btn.btn-hero-secondary {
  background: rgba(255,255,255,.12);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(12px);
}
.btn.btn-hero-primary:hover, .btn.btn-hero-secondary:hover, .diagnostic-submit:hover, .retention-bar a:hover { transform: translateY(-3px); filter: saturate(1.08); }
.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}
.hero-trust-grid div, .trust-ribbon, .lead-diagnostic, .process-section, .depoimento-item, .objetivos, .text-serv-resid, .text-serv-pred, .text-serv-com, .servicos-especializados {
  border: 1px solid rgba(7,31,42,.08);
  box-shadow: var(--card-shadow);
}
.hero-trust-grid div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  color: #fff;
}
.hero-trust-grid strong { display: block; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1; color: var(--brand-gold-2); }
.hero-trust-grid span { display: block; margin-top: 6px; font-weight: 700; color: rgba(255,255,255,.84); }
.trust-ribbon {
  width: min(1180px, calc(100% - 28px));
  margin: -42px auto 58px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.trust-ribbon-item { padding: 22px; display: flex; align-items: center; gap: 12px; border-right: 1px solid rgba(7,31,42,.08); }
.trust-ribbon-item:last-child { border-right: 0; }
.trust-ribbon-item i { color: var(--brand-gold); font-size: 1.35rem; }
.trust-ribbon-item span { font-weight: 800; color: var(--brand-dark); line-height: 1.3; }
.objetivos, .depoimento-item, .text-serv-resid, .text-serv-pred, .text-serv-com, .servicos-especializados {
  border-radius: 24px !important;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.objetivos:hover, .depoimento-item:hover, .text-serv-resid:hover, .text-serv-pred:hover, .text-serv-com:hover { transform: translateY(-7px); box-shadow: 0 30px 80px rgba(7,31,42,.18); }
.lead-diagnostic, .process-section {
  width: min(1180px, calc(100% - 28px));
  margin: 70px auto;
  border-radius: 34px;
  background:
    radial-gradient(circle at 5% 0%, rgba(248,143,6,.16), transparent 30%),
    linear-gradient(135deg, #fff, #f8fafc);
  padding: clamp(28px, 5vw, 58px);
}
.lead-diagnostic {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: center;
}
.lead-diagnostic h2, .process-section h2 {
  margin: 16px 0;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.lead-diagnostic p, .process-section p { color: var(--text-muted); line-height: 1.75; font-size: 1.02rem; }
.lead-benefits { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.lead-benefits li { display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--brand-deep); }
.lead-benefits i { color: var(--brand-green); }
.diagnostic-card {
  background: var(--brand-dark);
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 26px 70px rgba(7,31,42,.28);
}
.diagnostic-card label { display: block; color: rgba(255,255,255,.86); font-weight: 800; margin-bottom: 16px; }
.diagnostic-card input, .diagnostic-card select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 14px;
  padding: 14px 13px;
  outline: none;
  font: inherit;
}
.diagnostic-card select option { color: #111; }
.diagnostic-card input::placeholder { color: rgba(255,255,255,.5); }
.diagnostic-submit { width: 100%; margin-top: 4px; font-size: 1rem; }
.diagnostic-card small { display: block; margin-top: 12px; color: rgba(255,255,255,.62); text-align: center; }
.process-section { text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; text-align: left; }
.process-grid article {
  background: #fff;
  border: 1px solid rgba(7,31,42,.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(7,31,42,.08);
}
.process-grid strong { color: var(--brand-gold); font-size: 2.2rem; }
.process-grid h3 { margin: 12px 0 8px; color: var(--brand-dark); }
.retention-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 130%);
  width: min(970px, calc(100% - 24px));
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 14px 20px;
  border-radius: 22px;
  background: rgba(7,31,42,.94);
  color: #fff;
  box-shadow: 0 24px 70px rgba(7,31,42,.34);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.retention-bar.show { transform: translate(-50%, 0); opacity: 1; }
.retention-bar strong { display: block; font-size: 1rem; }
.retention-bar span { display: block; color: rgba(255,255,255,.72); font-size: .9rem; }
.retention-close, .exit-close, .exit-secondary, .scroll-top {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.retention-close { background: rgba(255,255,255,.12); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.3rem; flex: 0 0 auto; }
.exit-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2,8,12,.62);
  backdrop-filter: blur(12px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.exit-modal.show { opacity: 1; pointer-events: auto; }
.exit-modal-card {
  width: min(560px, 100%);
  position: relative;
  border-radius: 34px;
  padding: clamp(26px, 5vw, 44px);
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  transform: translateY(20px) scale(.98);
  transition: transform .25s ease;
}
.exit-modal.show .exit-modal-card { transform: translateY(0) scale(1); }
.exit-modal-card h2 { margin: 16px 0 12px; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1; letter-spacing: -.04em; color: var(--brand-dark); }
.exit-modal-card p { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.exit-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: #f1f4f6; color: var(--brand-dark); font-size: 1.5rem; }
.exit-secondary { display: block; margin: 14px auto 0; background: transparent; color: var(--text-muted); font-weight: 800; }
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 16px 36px rgba(7,31,42,.25);
  z-index: 1100;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
#social-proof-popup {
  border-radius: 18px !important;
  border: 1px solid rgba(7,31,42,.08);
  box-shadow: 0 18px 46px rgba(7,31,42,.18) !important;
}
@keyframes subtlePulse { 0%,100% { box-shadow: 0 16px 34px rgba(37,211,102,.28); } 50% { box-shadow: 0 16px 46px rgba(37,211,102,.44); } }
.btn-hero-primary, .diagnostic-submit { animation: subtlePulse 2.8s ease-in-out infinite; }
@media (max-width: 991px) {
  .hero-trust-grid, .trust-ribbon, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-diagnostic { grid-template-columns: 1fr; }
  .retention-bar { align-items: stretch; flex-direction: column; text-align: center; }
  .retention-close { position: absolute; top: -12px; right: -8px; }
}
@media (max-width: 640px) {
  .hero-premium { min-height: 720px; padding-top: 78px; }
  .hero-premium::after { inset: 10px; border-radius: 20px; }
  .hero-actions a { width: 100%; }
  .hero-trust-grid, .trust-ribbon, .process-grid { grid-template-columns: 1fr; }
  .trust-ribbon { margin-top: -28px; }
  .trust-ribbon-item { border-right: 0; border-bottom: 1px solid rgba(7,31,42,.08); }
  .trust-ribbon-item:last-child { border-bottom: 0; }
  .lead-diagnostic, .process-section { margin: 44px auto; border-radius: 26px; }
  #div-fixa { bottom: 154px !important; }
  .scroll-top { bottom: 102px; right: 14px; }
}
