:root {
  --hr-blue: #0a7cff;
  --hr-blue-dark: #0757dd;
  --hr-cyan: #36d7ff;
  --hr-navy: #020c1c;
  --hr-ink: #07152d;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body.hidro-rede-layout-fixed {
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.6;
}

/* A prévia local usa Inter em toda a composição. O Elementor estava
   reintroduzindo Roboto nos widgets e Sora nos blocos personalizados. */
body.hidro-rede-layout-fixed .hr-header,
body.hidro-rede-layout-fixed .hr-footer,
body.hidro-rede-layout-fixed .hr-footer p,
body.hidro-rede-layout-fixed .hr-footer div,
body.hidro-rede-layout-fixed .hr-footer a,
body.hidro-rede-layout-fixed .hr-hero,
body.hidro-rede-layout-fixed .hr-hero h1,
body.hidro-rede-layout-fixed .hr-hero p,
body.hidro-rede-layout-fixed .hr-hero div,
body.hidro-rede-layout-fixed .hr-section,
body.hidro-rede-layout-fixed .hr-section h1,
body.hidro-rede-layout-fixed .hr-section h2,
body.hidro-rede-layout-fixed .hr-section h3,
body.hidro-rede-layout-fixed .hr-section p,
body.hidro-rede-layout-fixed .hr-section li,
body.hidro-rede-layout-fixed .hr-section summary,
body.hidro-rede-layout-fixed .hr-section div,
body.hidro-rede-layout-fixed .hr-nav a,
body.hidro-rede-layout-fixed .hr-action-button,
body.hidro-rede-layout-fixed .hr-fluent-form input,
body.hidro-rede-layout-fixed .hr-fluent-form select,
body.hidro-rede-layout-fixed .hr-fluent-form textarea,
body.hidro-rede-layout-fixed .hr-fluent-form button {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.hidro-rede-layout-fixed .hr-hero-copy h1,
body.hidro-rede-layout-fixed .hr-centered-head h2,
body.hidro-rede-layout-fixed .hr-proof-copy h2,
body.hidro-rede-layout-fixed .hr-section-copy h2,
body.hidro-rede-layout-fixed .hr-founders-copy h2,
body.hidro-rede-layout-fixed .hr-contact-copy h2 {
  font-weight: 850 !important;
}

body.hidro-rede-layout-fixed .hr-faq-list summary {
  font-weight: 780 !important;
  line-height: 1.6 !important;
}

body.hidro-rede-layout-fixed .hr-faq-list details > div {
  font-size: 0.91rem !important;
  line-height: 1.6 !important;
}

body.hidro-rede-layout-fixed .hr-footer p {
  font-size: 0.73rem !important;
  line-height: 1.6 !important;
}

body.hidro-rede-layout-fixed .hr-wrap {
  width: min(1180px, calc(100% - 64px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

/* Cabeçalho: neutraliza o espaçamento estrutural adicionado pelo Elementor. */
body.hidro-rede-layout-fixed .hr-header {
  min-height: 78px !important;
  padding: 0 !important;
  background: rgba(2, 12, 28, 0.91) !important;
  border-bottom: 1px solid rgba(54, 215, 255, 0.55) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(16px);
}

body.hidro-rede-layout-fixed .hr-header-inner {
  position: relative !important;
  min-height: 78px !important;
  padding-block: 0 !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
}

body.hidro-rede-layout-fixed .hr-header-inner > .elementor-element {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.hidro-rede-layout-fixed .hr-header-inner > .elementor-element:nth-child(2) {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

body.hidro-rede-layout-fixed .hr-logo img {
  display: block !important;
  width: 182px !important;
  height: auto !important;
}

body.hidro-rede-layout-fixed .hr-nav {
  align-items: center !important;
  justify-content: center !important;
  gap: 29px !important;
  white-space: nowrap;
}

body.hidro-rede-layout-fixed .hr-nav a {
  color: #d8e5f3 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
}

body.hidro-rede-layout-fixed .hr-nav a:hover,
body.hidro-rede-layout-fixed .hr-nav a:focus-visible {
  color: var(--hr-cyan) !important;
}

body.hidro-rede-layout-fixed .hr-header .hr-action-button--header {
  min-height: 42px !important;
  padding: 11px 17px !important;
  border-radius: 9px !important;
  font-size: 0.72rem !important;
  white-space: nowrap;
}

/* Hero com as mesmas proporções e o mesmo cartão de vídeo da prévia local. */
body.hidro-rede-layout-fixed .hr-hero {
  min-height: 720px !important;
  padding-top: 78px !important;
  background: var(--hr-navy) !important;
}

body.hidro-rede-layout-fixed .hr-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 4px;
  background: linear-gradient(90deg, var(--hr-blue), var(--hr-cyan), var(--hr-blue));
  box-shadow: 0 0 30px rgba(54, 215, 255, 0.78);
}

body.hidro-rede-layout-fixed .hr-hero-grid {
  min-height: 642px !important;
  padding: 60px 0 85px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
  gap: 56px !important;
  align-items: center !important;
}

body.hidro-rede-layout-fixed .hr-hero-copy {
  max-width: 565px !important;
  padding: 0 !important;
  justify-content: center !important;
}

body.hidro-rede-layout-fixed .hr-hero-title h1 {
  margin: 17px 0 20px !important;
  font-size: clamp(2.45rem, 4.65vw, 4rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.052em !important;
}

body.hidro-rede-layout-fixed .hr-hero-text {
  max-width: 550px !important;
}

body.hidro-rede-layout-fixed .hr-hero-media {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 500px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(54, 215, 255, 0.34) !important;
  border-radius: 28px !important;
  background: #06152a !important;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5) !important;
}

body.hidro-rede-layout-fixed .hr-hero-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  pointer-events: none;
}

body.hidro-rede-layout-fixed .hr-video-stage,
body.hidro-rede-layout-fixed .hr-video-stage img {
  min-height: 500px !important;
  border-radius: inherit;
}

body.hidro-rede-layout-fixed .hr-video-stage::before {
  background: linear-gradient(180deg, rgba(2, 12, 28, 0.12), rgba(2, 12, 28, 0.28) 50%, rgba(2, 12, 28, 0.92)) !important;
}

body.hidro-rede-layout-fixed .hr-play {
  left: 50% !important;
  top: 45% !important;
  width: 96px !important;
  height: 96px !important;
  transform: translate(-50%, -50%) !important;
}

body.hidro-rede-layout-fixed .hr-play:hover {
  transform: translate(-50%, -50%) scale(1.05) !important;
}

body.hidro-rede-layout-fixed .hr-video-hint {
  left: 38px !important;
  top: auto !important;
  bottom: 35px !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-style: normal !important;
  font-weight: 780 !important;
}

body.hidro-rede-layout-fixed .hr-section {
  padding-block: 104px !important;
}

/* Evita deslocamentos durante saltos longos entre âncoras. */
body.hidro-rede-layout-fixed .hr-section:not(.hr-hero) {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}

/* Restaura o respiro interno dos painéis que também usam a classe hr-wrap. */
body.hidro-rede-layout-fixed .hr-proof {
  padding: 38px 0 104px !important;
}

body.hidro-rede-layout-fixed .hr-proof-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  gap: 42px !important;
  padding: 48px !important;
  border-radius: 27px !important;
}

body.hidro-rede-layout-fixed .hr-proof-copy,
body.hidro-rede-layout-fixed .hr-proof-media {
  padding: 0 !important;
}

/* No desktop, os valores grandes dos indicadores não podem alargar a coluna
   de texto e invadir o respiro reservado para a comparação Antes/Depois. */
@media (min-width: 1021px) {
  body.hidro-rede-layout-fixed .hr-proof-grid {
    gap: 56px !important;
  }

  body.hidro-rede-layout-fixed .hr-proof-copy,
  body.hidro-rede-layout-fixed .hr-proof-media,
  body.hidro-rede-layout-fixed .hr-metric-grid,
  body.hidro-rede-layout-fixed .hr-metric {
    min-width: 0 !important;
  }

  body.hidro-rede-layout-fixed .hr-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.hidro-rede-layout-fixed .hr-metric {
    padding-inline: 10px !important;
  }
}

body.hidro-rede-layout-fixed .hr-cta-strip-inner {
  padding: 22px 38px !important;
}

body.hidro-rede-layout-fixed .hr-footer-inner {
  min-height: 44px;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
}

body.hidro-rede-layout-fixed .hr-footer .hr-logo img {
  width: 145px !important;
}

body.hidro-rede-layout-fixed .hr-footer .elementor-widget-text-editor {
  text-align: right;
}

body.hidro-rede-layout-fixed .hr-trust-wrap {
  margin-top: -52px !important;
}

body.hidro-rede-layout-fixed .hr-trust-grid {
  padding: 24px 30px !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 50px rgba(3, 27, 61, 0.27) !important;
}

body.hidro-rede-layout-fixed a:focus-visible,
body.hidro-rede-layout-fixed button:focus-visible,
body.hidro-rede-layout-fixed summary:focus-visible {
  outline: 3px solid var(--hr-cyan) !important;
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  body.hidro-rede-layout-fixed .hr-header-inner > .elementor-element:nth-child(2) {
    display: none !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-title h1 {
    font-size: clamp(2.4rem, 5vw, 3.4rem) !important;
  }

  body.hidro-rede-layout-fixed .hr-proof-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    padding: 36px !important;
  }

  body.hidro-rede-layout-fixed .hr-cta-strip-inner {
    padding: 24px 30px !important;
  }
}

@media (max-width: 860px) {
  body.hidro-rede-layout-fixed .hr-hero {
    min-height: 0 !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-grid {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 38px !important;
    padding-top: 72px !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-copy {
    max-width: 680px !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-media,
  body.hidro-rede-layout-fixed .hr-video-stage,
  body.hidro-rede-layout-fixed .hr-video-stage img {
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 69px;
  }

  body.hidro-rede-layout-fixed .hr-wrap {
    width: min(100% - 30px, 1180px) !important;
  }

  body.hidro-rede-layout-fixed .hr-header,
  body.hidro-rede-layout-fixed .hr-header-inner {
    min-height: 68px !important;
  }

  body.hidro-rede-layout-fixed .hr-logo img {
    width: 137px !important;
  }

  body.hidro-rede-layout-fixed .hr-header .hr-action-button--header {
    display: inline-flex !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
    text-align: center;
  }

  body.hidro-rede-layout-fixed .hr-section {
    padding-block: 76px !important;
  }

  body.hidro-rede-layout-fixed .hr-proof {
    padding: 12px 0 76px !important;
  }

  body.hidro-rede-layout-fixed .hr-proof-grid {
    gap: 29px !important;
    padding: 28px 20px !important;
    border-radius: 22px !important;
  }

  /* O widget HTML do comparador colapsava para 2 px no Elementor. A proporção
     aplicada também ao widget faz a seção reservar toda a altura da imagem. */
  body.hidro-rede-layout-fixed .hr-proof-media > .elementor-widget-html {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 836 / 469;
    flex: 0 0 auto !important;
  }

  body.hidro-rede-layout-fixed .hr-proof-media > .elementor-widget-html > .hr-ba {
    width: 100% !important;
    height: 100% !important;
  }

  body.hidro-rede-layout-fixed .hr-cta-strip-inner {
    padding: 27px !important;
  }

  body.hidro-rede-layout-fixed .hr-hero {
    padding-top: 68px !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-grid {
    gap: 34px !important;
    padding: 66px 0 88px !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-title h1 {
    font-size: 2.68rem !important;
  }

  body.hidro-rede-layout-fixed .hr-hero-media,
  body.hidro-rede-layout-fixed .hr-video-stage,
  body.hidro-rede-layout-fixed .hr-video-stage img {
    aspect-ratio: 4 / 3;
    border-radius: 20px !important;
  }

  body.hidro-rede-layout-fixed .hr-play {
    width: 72px !important;
    height: 72px !important;
  }

  body.hidro-rede-layout-fixed .hr-video-hint {
    display: block !important;
    left: 25px !important;
    bottom: 24px !important;
    font-size: 0.94rem !important;
  }

  body.hidro-rede-layout-fixed .hr-trust-wrap {
    margin-top: -37px !important;
  }

  body.hidro-rede-layout-fixed .hr-footer-inner {
    min-height: 0;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 18px !important;
    text-align: center;
  }

  body.hidro-rede-layout-fixed .hr-footer .elementor-widget-text-editor {
    text-align: center;
  }
}

@media (max-width: 430px) {
  body.hidro-rede-layout-fixed .hr-header .hr-action-button--header {
    max-width: 145px;
    padding-inline: 14px !important;
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
