/* =========================================================
   HURB v2 – sistema visual (leve, elegante, foco em conversão)
   Carregado depois de style.css em todas as páginas.
   ========================================================= */
:root {
  --ink: #1c242d;
  --ink-2: #26313d;
  --ink-3: #33404e;
  --paper: #f6f4ef;
  --line: #e6e2da;
  --text: #3b444e;
  --muted: #66707b;
  --terra: #c2622d;
  --terra-d: #a44f20;
  --terra-l: #f6e6dc;
  --wa: #25d366;
  --r: 14px;
  --shadow: 0 10px 30px rgba(28, 36, 45, .08);
  --shadow-h: 0 18px 40px rgba(28, 36, 45, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
body { font-family: "Open Sans", Arial, sans-serif; color: var(--text); font-size: 16px; line-height: 1.7; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .hx-h { font-family: "Poppins", Arial, sans-serif; color: var(--ink); letter-spacing: -.01em; }
a { transition: color .2s var(--ease); }
::selection { background: var(--terra); color: #fff; }

/* ---------- Cabeçalho ---------- */
header.static { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s; }
header.static.hx-scrolled { box-shadow: 0 6px 24px rgba(28,36,45,.08); border-bottom-color: var(--line); }
header.static > .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
header.static > .container:before, header.static > .container:after { display: none; }
header.static .logo { margin: 0 !important; float: none !important; }
header.static .logo img { height: 46px; width: auto; }
header.static .top-info { display: none !important; }
header.static .nav { float: none; margin: 0; }
header.static .nav .main-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
header.static .nav .main-menu > li { float: none; margin: 0; padding: 0; list-style: none; }
header.static .nav .main-menu > li > a { font-family: "Poppins", sans-serif; font-size: 14.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 10px 14px; line-height: 1; border-radius: 8px; }
header.static .nav .main-menu > li > a:hover { color: var(--terra) !important; background: var(--paper); }
header.static .nav .main-menu > li.hx-nav-cta > a { background: var(--terra); color: #fff !important; padding: 12px 20px; margin-left: 8px; box-shadow: 0 6px 16px rgba(194,98,45,.28); }
header.static .nav .main-menu > li.hx-nav-cta > a:hover { background: var(--terra-d); color: #fff !important; }
header.static .btn-toggle { position: static; margin: 0; border: 0; background: var(--paper); color: var(--ink); width: 44px; height: 44px; border-radius: 10px; font-size: 18px; }

@media (max-width: 991px) {
  header.static > .container { min-height: 66px; position: relative; }
  header.static .logo img { height: 38px; }
  header.static .btn-toggle { display: block !important; }
  header.static .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-h); padding: 10px 16px 18px; }
  header.static .nav.menu-mobile { display: block !important; }
  header.static .nav .main-menu { flex-direction: column; align-items: stretch; }
  header.static .nav .main-menu > li > a { display: block; padding: 14px 12px; font-size: 16px; }
  header.static .nav .main-menu > li.hx-nav-cta > a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Botões ---------- */
.hx-btn, .ot-btn { font-family: "Poppins", sans-serif !important; font-weight: 600 !important; letter-spacing: .01em; text-transform: none !important; border-radius: 10px !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s !important; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font-size: 16px; text-decoration: none !important; border: 0; cursor: pointer; line-height: 1.2; }
.hx-btn:hover, .ot-btn:hover { transform: translateY(-2px); }
.hx-btn--terra, .ot-btn.tw-bg-custom-blue-original { background: var(--terra) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(194,98,45,.3); }
.hx-btn--terra:hover, .ot-btn.tw-bg-custom-blue-original:hover { background: var(--terra-d) !important; color: #fff !important; }
.hx-btn--ghost { background: rgba(255,255,255,.08); color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
.hx-btn--ghost:hover { background: rgba(255,255,255,.16); }
.hx-btn--wa { background: var(--wa); color: #0d2b18 !important; }
.hurb-link-secundario { color: var(--terra) !important; text-decoration: none !important; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.hurb-link-secundario:hover { color: var(--terra-d) !important; }

/* ---------- Tipografia de seção ---------- */
.hurb-seo { padding: 88px 0; }
.hurb-seo h2, .why-choose h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; font-weight: 700; text-transform: none; }
h2.after:before, h2.after:after { display: none !important; }
h2.after { position: relative; padding-bottom: 18px; margin-bottom: 36px; }
h2.after.text-center:after { content: "" !important; display: block !important; position: absolute; left: 50%; bottom: 0; width: 56px; height: 3px; margin-left: -28px; background: var(--terra); border-radius: 3px; }
.hx-eyebrow { display: inline-block; font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.hurb-lead { font-size: 18px; line-height: 1.75; color: var(--text); }
.hurb-seo a:not(.ot-btn):not(.hx-btn) { color: var(--terra); }

/* ---------- Hero ---------- */
.hx-hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: hxZoom 18s var(--ease) forwards; }
.hx-hero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,26,33,.94) 0%, rgba(20,26,33,.82) 42%, rgba(20,26,33,.35) 100%); }
.hx-hero-in:before, .hx-hero-in:after { display: none !important; }
.hx-hero-in { position: relative; z-index: 2; width: 100%; max-width: 1170px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hx-chip { display: inline-flex; align-items: center; gap: 8px; font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.hx-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); display: inline-block; box-shadow: 0 0 0 4px rgba(194,98,45,.25); }
.hx-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; font-weight: 700; margin: 22px 0 18px; }
.hx-hero h1 em { font-style: normal; color: #f0a274; }
.hx-hero-sub { font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.86); max-width: 620px; }
.hx-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hx-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; color: rgba(255,255,255,.82); }
.hx-trust li:before { content: "\2713"; color: #f0a274; font-weight: 700; margin-right: 8px; }

/* ---------- Formulário qualificador ---------- */
.hx-quiz { background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); padding: 28px; position: relative; }
.hx-quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hx-quiz h2, .hx-quiz .hx-q-title { font-size: 21px !important; margin: 0 0 4px; line-height: 1.3; color: var(--ink); font-weight: 700; }
.hx-q-step { font-size: 13px; color: var(--muted); white-space: nowrap; }
.hx-q-bar { height: 5px; background: var(--paper); border-radius: 5px; margin: 14px 0 20px; overflow: hidden; }
.hx-q-bar span { display: block; height: 100%; width: 20%; background: var(--terra); border-radius: 5px; transition: width .4s var(--ease); }
.hx-q-label { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 12px; display: block; }
.hx-q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-q-opt { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 14.5px; line-height: 1.35; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; font-family: inherit; }
.hx-q-opt:hover { border-color: var(--terra); transform: translateY(-1px); }
.hx-q-opt.is-on { border-color: var(--terra); background: var(--terra-l); }
.hx-q-opt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hx-q-field { margin-bottom: 12px; }
.hx-q-field input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; font-size: 15px; font-family: inherit; color: var(--ink); }
.hx-q-field input:focus { outline: 0; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(194,98,45,.12); }
.hx-q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.hx-q-back { background: none; border: 0; color: var(--muted); font-size: 14px; cursor: pointer; padding: 6px 0; }
.hx-q-back[hidden] { visibility: hidden; display: inline; }
.hx-q-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; align-items: center; }
.hx-q-error { color: #b42318; font-size: 13.5px; margin-top: 8px; min-height: 18px; }
.hx-q-pane { animation: hxFade .35s var(--ease); }

/* ---------- Faixa de números ---------- */
.hx-stats { background: var(--ink); color: #fff; }
.hx-stats ul { list-style: none; margin: 0; padding: 34px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hx-stats li { border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
.hx-stats li:first-child { border-left: 0; padding-left: 0; }
.hx-stats strong { display: block; font-family: "Poppins", sans-serif; font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; line-height: 1.1; }
.hx-stats span { font-size: 14px; color: rgba(255,255,255,.72); }

/* ---------- Logos de clientes (marquee) ---------- */
.hx-logos { padding: 44px 0; border-bottom: 1px solid var(--line); background: #fff; }
.hx-logos p { text-align: center; font-family: "Poppins", sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.hx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hx-marquee-track { display: flex; gap: 64px; width: max-content; animation: hxMarquee 32s linear infinite; }
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-marquee img { height: 78px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.hx-marquee img:hover { filter: none; opacity: 1; }

/* ---------- Seção escura "o risco" ---------- */
.hx-dor { background: var(--ink); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.hx-dor h2 { color: #fff !important; max-width: 820px; }
.hx-dor .hurb-lead { color: rgba(255,255,255,.8); max-width: 760px; }
.hx-dor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 36px; }
.hx-dor-grid div { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--r); padding: 24px; }
.hx-dor-grid strong { display: block; font-family: "Poppins", sans-serif; color: #fff; font-size: 18px; margin-bottom: 8px; }
.hx-dor-grid span { font-size: 15px; line-height: 1.6; }
.hx-dor-grid b { color: #f0a274; font-weight: 600; }
.hx-dor-fim { font-family: "Poppins", sans-serif; font-size: 20px; color: #fff; margin-bottom: 22px; }

/* ---------- Cartões (unificação) ---------- */
.hurb-proj-grid a, .hurb-proc li, .hurb-porque-grid div, .hurb-posts-grid a, .hurb-numbers li {
  border-radius: var(--r) !important; border: 1px solid var(--line) !important; background: #fff; box-shadow: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.hurb-proj-grid a:hover, .hurb-posts-grid a:hover, .hurb-porque-grid div:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: transparent !important; }
.hurb-proj-grid a { padding: 24px; position: relative; }
.hurb-proj-grid a:after { content: "\2192"; position: absolute; right: 20px; top: 22px; color: var(--terra); font-size: 18px; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.hurb-proj-grid a:hover:after { opacity: 1; transform: none; }
.hurb-proj-grid strong, .hurb-proc strong, .hurb-porque-grid strong { color: var(--ink) !important; font-family: "Poppins", sans-serif; }
.hurb-proc { counter-reset: none; }
.hurb-proc li { background: var(--paper) !important; border-top: 3px solid var(--terra) !important; }
.hurb-autoridade, .hurb-lider, .hurb-home-faq, .hurb-cta-box { background: var(--paper) !important; }
.hurb-autoridade img, .hurb-lider img { border-radius: var(--r) !important; box-shadow: var(--shadow); }
.hurb-check li:before { color: var(--terra) !important; }
.hurb-faq h3 { color: var(--ink) !important; font-size: 18px; }
.hurb-faq { max-width: 860px; }
.hurb-home-faq .hurb-faq h3 { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 12px 0 0; cursor: pointer; position: relative; padding-right: 44px; }
.hurb-home-faq .hurb-faq h3:after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--terra); transition: transform .3s; }
.hurb-home-faq .hurb-faq h3.is-open:after { transform: rotate(45deg); }
.hurb-home-faq .hurb-faq p { padding: 12px 18px 4px; margin: 0; }
.hx-js .hurb-home-faq .hurb-faq p { display: none; }
.hx-js .hurb-home-faq .hurb-faq h3.is-open + p { display: block; animation: hxFade .3s var(--ease); }
.hurb-numbers li { box-shadow: var(--shadow); }
.hurb-numbers strong { color: var(--ink) !important; font-family: "Poppins", sans-serif; }

/* ---------- Faixa de CTA ---------- */
.parallax-action { background: linear-gradient(110deg, rgba(20,26,33,.95), rgba(20,26,33,.78)), url(../images/hero-obra-900.webp) center/cover no-repeat !important; }
.parallax-action .overlay { display: none; }
.parallax-action .get-action h4 { font-family: "Poppins", sans-serif; letter-spacing: .12em; color: #f0a274 !important; font-size: 14px; }
.parallax-action .get-action p { font-family: "Poppins", sans-serif; text-transform: none; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; color: #fff; }
.parallax-action .ot-btn { background: var(--terra) !important; color: #fff !important; padding: 15px 28px !important; }

/* ---------- Páginas internas: faixa de título ---------- */
.page-title { background: linear-gradient(100deg, rgba(20,26,33,.95), rgba(20,26,33,.8)), url(../images/hero-obra-900.webp) center 40%/cover no-repeat !important; }
.page-title h1 { text-transform: none !important; font-size: clamp(28px, 3.6vw, 44px) !important; font-weight: 700; padding: 64px 0 !important; letter-spacing: -.01em; animation: hxUp .7s var(--ease) both; }
.action-about { background: var(--paper); padding: 48px 0; }
.action-about h4 { font-family: "Poppins", sans-serif; font-size: 22px; line-height: 1.4; color: var(--ink) !important; }
.hurb-side-cta { background: var(--ink) !important; border-radius: var(--r) !important; }
.hurb-side-cta a { color: var(--ink) !important; border-radius: 8px !important; }
.title-service li.hurb-menu-ativo a { color: var(--terra) !important; }

/* ---------- Rodapé ---------- */
footer .widget-footer { background: var(--ink) !important; }
footer .sub-footer { background: #141a21 !important; }
footer h4 { font-family: "Poppins", sans-serif; color: #fff; text-transform: none; letter-spacing: 0; }

/* ---------- WhatsApp flutuante e barra móvel ---------- */
.hx-wa { position: fixed; right: 22px; bottom: 22px; z-index: 1200; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 12px 28px rgba(37,211,102,.4); text-decoration: none !important; }
.hx-wa:before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: hxPulse 2.4s ease-out infinite; }
.hx-wa:hover { transform: scale(1.06); }
#back-to-top { display: none !important; }
.hx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.hx-bar.is-on { transform: none; }
.hx-bar .hx-btn { flex: 1; padding: 13px 10px; font-size: 15px; }
.hx-bar .hx-btn--wa { flex: 0 0 52px; font-size: 22px; padding: 0; }

/* ---------- Modal (orçamento e aviso de saída) ---------- */
.hx-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(15,20,26,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hx-modal.is-on { display: flex; animation: hxFade .25s var(--ease); }
.hx-modal-box { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; position: relative; animation: hxUp .35s var(--ease); }
.hx-modal-x { position: absolute; right: 12px; top: 10px; z-index: 3; background: var(--paper); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; color: var(--ink); cursor: pointer; }
.hx-exit { background: #fff; border-radius: 18px; padding: 34px 30px 28px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hx-exit h2 { font-size: 26px !important; margin: 6px 0 10px; }
.hx-exit p { color: var(--text); }
.hx-exit .hx-btn { width: 100%; margin-top: 10px; }
.hx-exit .hx-exit-alt { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 14px; background: none; border: 0; cursor: pointer; }

/* ---------- Animações ---------- */
.hx-js .hx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hx-js .hx-reveal.hx-in { opacity: 1; transform: none; }
@keyframes hxZoom { to { transform: scale(1); } }
@keyframes hxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hxUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hxMarquee { to { transform: translateX(-50%); } }
@keyframes hxPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .hx-js .hx-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
  .hx-hero { min-height: 0; }
  .hx-hero-in { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 48px; }
  .hx-stats ul { grid-template-columns: repeat(2, 1fr); }
  .hx-stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hx-dor-grid { grid-template-columns: 1fr; }
  .hx-bar { display: flex; }
  .hx-wa { bottom: 84px; right: 16px; width: 54px; height: 54px; font-size: 26px; }
  .hurb-seo { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hx-q-opts { grid-template-columns: 1fr; }
  .hx-quiz { padding: 22px 18px; }
  .hx-hero-ctas .hx-btn { width: 100%; }
  .hx-marquee img { height: 60px; }
}

/* ---------- Unificação de cores (remove o azul antigo) ---------- */
.hurb-seo h1, .hurb-seo h2, .hurb-seo h3, .hurb-seo .hurb-h3, .service-details .hurb-h3, .hurb-sobre-txt .hurb-h3,
.hurb-cta-box h3, .hurb-lider h2, .hurb-autoridade h2, .hurb-sub, .hurb-faq h3 { color: var(--ink) !important; }
.hx-dor h2 { color: #fff !important; }
.hurb-post-meta, .hurb-cta-prova, .hurb-social-links a { color: var(--terra) !important; }
.hurb-cta-box { border-left-color: var(--terra) !important; border-radius: var(--r); }
.hurb-proj-grid strong, .hurb-porque-grid strong, .hurb-proc strong { font-weight: 600; }
.hurb-posts-grid img { transition: transform .6s var(--ease); }
.hurb-posts-grid a:hover img { transform: scale(1.04); }
.hurb-posts-grid a { overflow: hidden; }
.service-details > img, .top-about figure img, .top-about .image-about img { border-radius: var(--r); }
.service-details > img { width: 100%; height: auto; box-shadow: var(--shadow); }
@media (max-width: 991px) { .hx-wa { display: none !important; } }
.col-md-6.hurb-seo, .col-md-8.hurb-seo, .service-details.hurb-seo { padding-left: 15px !important; padding-right: 15px !important; }
@media (min-width: 992px) { .service-details.hurb-seo { padding-left: 30px !important; } }
