/* ============================================================
   HEADER GLOBAL — Zenit Elevadores
   Extraído do redesign home-v2 para uso em todas as páginas
   ============================================================ */

/* -- Botões flutuantes -- */
.hv2-tag-contact {
  position: fixed;
  top: 350px;
  right: 30px;
  z-index: 501;
  width: 72px;
  height: 72px;
  background: url('../img/tag-contact-hover.png') no-repeat center center;
  background-size: contain;
  transition: opacity 0.2s ease;
}
.hv2-tag-contact:hover { opacity: 0.8; }
.hv2-tag-contact a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.hv2-tag-whatsapp {
  position: fixed;
  top: 440px;
  right: 35px;
  z-index: 501;
  width: 62px;
  height: 62px;
  background: #128c7e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.hv2-tag-whatsapp:hover {
  background: #075e54;
  opacity: 1;
}

/* -- Header -- */
.hv2-header {
  background: #fff;
  border-bottom: 1px solid #e4e5ea;
  position: sticky;
  top: 0;
  z-index: 50;
}
.hv2-header a,
.hv2-megamenu a {
  text-decoration: none;
  color: inherit;
}
.hv2-header a:hover,
.hv2-megamenu a:hover {
  text-decoration: none;
}
.hv2-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hv2-logo img {
  height: 46px;
  width: auto;
}

/* -- Nav items -- */
.hv2-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hv2-nav-item {
  font-size: 13.5px;
  font-weight: 500;
  color: #3c4954;
  transition: color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.hv2-nav-item:hover {
  color: #071273;
}
.hv2-btn-contact {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: #071273;
  padding: 10px 18px;
  border-radius: 2px;
  transition: background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.hv2-btn-contact:hover {
  background: #0a1f8f;
}

/* -- Elevadores group (hover trigger + megamenu) -- */
.hv2-elevadores-group {
  position: static;
  height: 74px;
  display: flex;
  align-items: center;
}
.hv2-elevadores-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: default;
  font-size: 13.5px;
  font-weight: 500;
  color: #3c4954;
  transition: color 0.15s;
  white-space: nowrap;
  user-select: none;
}
.hv2-elevadores-group:hover .hv2-elevadores-trigger {
  color: #071273;
}
.hv2-caret {
  font-size: 8px;
  color: #9aa3ab;
  display: inline-block;
  transition: transform 0.15s;
  line-height: 1;
}
.hv2-elevadores-group:hover .hv2-caret {
  transform: rotate(180deg);
  color: #0b279b;
}

/* -- Mega-menu panel -- */
.hv2-megamenu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 74px;
  background: #fff;
  border-top: 1px solid #e4e5ea;
  box-shadow: 0 30px 60px -30px rgba(7, 18, 115, 0.28);
  z-index: 55;
}
.hv2-elevadores-group:hover .hv2-megamenu {
  display: block;
}
.hv2-megamenu-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 40px 30px;
}
.hv2-megamenu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.hv2-mm-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0b279b;
  white-space: nowrap;
}
.hv2-mm-rule {
  flex: 1;
  height: 1px;
  background: #e4e5ea;
}
.hv2-mm-count {
  font-size: 11px;
  color: #9aa3ab;
  white-space: nowrap;
}
.hv2-mm-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
}
.hv2-mm-col {
  display: flex;
  flex-direction: column;
}
.hv2-mm-col-link {
  display: block;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 6px;
  transition: background 0.15s;
  text-decoration: none;
}
.hv2-mm-col-link:hover {
  background: #eef1fb;
}
.hv2-mm-brand {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hv2-mm-name {
  display: block;
  font-family: 'PT Sans Caption', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #17181c;
  line-height: 1.2;
  margin-top: 4px;
  min-height: 36px;
}
.hv2-mm-subs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid #eef0f3;
  margin-top: 10px;
  padding-top: 10px;
}
.hv2-mm-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #4d4d4d;
  line-height: 1.2;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.hv2-mm-sub:hover {
  color: #071273;
  background: #eef1fb;
}
.hv2-mm-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

/* -- Mobile toggle -- */
.hv2-mobile-trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #3c4954;
  line-height: 1;
}
.hv2-mobile-trigger svg {
  display: block;
}

/* -- Mobile drawer -- */
.hv2-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  overflow-y: auto;
  padding: 0;
}
.hv2-mobile-menu.open {
  display: block;
}
.hv2-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  border-bottom: 1px solid #e4e5ea;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.hv2-mobile-logo img {
  height: 40px;
  width: auto;
}
.hv2-mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #3c4954;
  font-size: 22px;
  line-height: 1;
}
.hv2-mobile-body {
  padding: 24px 20px 40px;
}
.hv2-mobile-section {
  margin-bottom: 32px;
}
.hv2-mobile-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9aa3ab;
  margin-bottom: 10px;
}
.hv2-mobile-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #17181c;
  padding: 11px 0;
  border-bottom: 1px solid #f0f1f4;
  text-decoration: none;
}
.hv2-mobile-link:last-child {
  border-bottom: none;
}
.hv2-mobile-contact {
  display: block;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: #071273;
  padding: 14px;
  border-radius: 2px;
  margin-top: 24px;
  font-size: 14px;
  text-decoration: none;
}

/* -- Responsivo -- */
@media (max-width: 900px) {
  .hv2-header-inner {
    padding: 0 20px;
  }
  .hv2-nav {
    display: none;
  }
  .hv2-mobile-trigger {
    display: block;
  }
}

@media (max-width: 768px) {
  .hv2-tag-contact { right: 0; top: 250px; }
  .hv2-tag-whatsapp { right: 8px; top: 340px; }
}

/* ============================================================
   FOOTER GLOBAL
   ============================================================ */
.hv2-footer {
  background: #050a52;
  color: #fff;
  font-family: 'Archivo', sans-serif;
}
.hv2-footer a {
  text-decoration: none;
  color: inherit;
}
.hv2-footer a:hover {
  text-decoration: none;
}
a.hv2-footer-btn-contact {
  color: #050a52;
}
a.hv2-footer-btn-wa {
  color: #fff;
}
.hv2-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 40px 0;
}
.hv2-footer-products-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.hv2-footer-products {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hv2-footer-prod-name {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 13px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.hv2-footer-prod-name:hover { opacity: 0.7; }
.hv2-footer-prod-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.hv2-footer-subs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 13px;
}
.hv2-footer-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s;
}
.hv2-footer-sub:hover { color: #fff; }

.hv2-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 44px 0;
}
.hv2-footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.hv2-footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hv2-footer-link {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.hv2-footer-link:hover { color: #fff; }
.hv2-footer-address {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.hv2-footer-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hv2-footer-btn-contact {
  font-size: 13px;
  font-weight: 600;
  color: #050a52;
  background: #fff;
  padding: 11px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.hv2-footer-btn-contact:hover { opacity: 0.9; }
.hv2-footer-btn-wa {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.12);
  padding: 11px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.hv2-footer-btn-wa:hover { background: rgba(255,255,255,0.2); }

.hv2-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hv2-footer-copy-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.hv2-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.hv2-footer-dev-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.hv2-footer-dev-link:hover {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

/* Footer responsivo */
@media (max-width: 1100px) {
  .hv2-footer-products { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .hv2-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hv2-footer-inner { padding: 40px 20px 0; }
  .hv2-footer-products { grid-template-columns: repeat(2, 1fr); }
  .hv2-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .hv2-footer-copy-group { align-items: flex-start; }
}
@media (max-width: 480px) {
  .hv2-footer-products { grid-template-columns: 1fr; }
}
