/* IPV7.niis — medidas do original Wix a 1440px */
.ipv7-p-niis { color: #000; --niis-green: #77C044; --niis-green-dark: #3F7652; }
.ipv7-p-niis :where(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
.ipv7-p-niis .wp-block-image img { width: 100%; height: auto !important; }
.ipv7-p-niis mark.g { background: none; color: var(--niis-green); }

/* link "Voltar" */
.ipv7-p-niis .ipv7-back { font-size: 18px; line-height: 22px; letter-spacing: 0.05em; }
.ipv7-p-niis .ipv7-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--red); text-decoration: none; }
.ipv7-p-niis .ipv7-back a::before {
  content: ""; width: 19px; height: 19px; flex: none; background: #000;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='9.6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M11.5 6.5 7 11l4.5 4.5M7.5 11h8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='9.6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M11.5 6.5 7 11l4.5 4.5M7.5 11h8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ipv7-p-niis .ipv7-back a:hover { text-decoration: underline; }

/* botões vermelhos com texto Coolvetica */
.ipv7-p-niis .niis-btn .wp-block-button__link {
  font-family: var(--ff-display); font-size: 20px; letter-spacing: 0; min-width: 235px; height: 58px; padding: 0 18px; gap: 10px;
}
.ipv7-p-niis .niis-btn .wp-block-button__link::after { width: 12px; height: 12px; }
.ipv7-p-niis .niis-btn--lg .wp-block-button__link { font-size: 22px; min-width: 341px; height: 52px; }

/* ---------- Hero ---------- */
.ipv7-p-niis .niis-hero { background: var(--light); }
.ipv7-p-niis .niis-hero__wrap { position: relative !important; width: var(--container); margin: 0 auto; height: 722px; }
.ipv7-p-niis .niis-hero .ipv7-back { position: absolute !important; left: 48px; top: 30px; }
.ipv7-p-niis .niis-hero__photo { position: absolute !important; left: 490px; top: 48px; width: 490px; height: 622px; background: var(--red); }
.ipv7-p-niis .niis-hero__photo img { width: 100%; height: 100% !important; object-fit: cover; }
.ipv7-p-niis .niis-hero__box { position: absolute !important; left: 0; top: 78px; width: 490px; height: 569px; background: #fff; padding: 49px 50px 0; box-sizing: border-box; }
.ipv7-p-niis .niis-hero__logo { width: 207px; }
.ipv7-p-niis .niis-hero__text { margin-top: 32px; width: 390px; font-size: 17px; line-height: 30.6px; text-align: justify; }
.ipv7-p-niis .niis-hero__box .wp-block-buttons { margin-top: 30px; }

/* ---------- Tabela de serviços ---------- */
.ipv7-p-niis .niis-table { width: 979px; margin: 0 auto; padding: 35px 0 36px; }
.ipv7-p-niis .niis-table__head { display: flex; gap: 5px; margin-bottom: 11px; align-items: flex-end; }
.ipv7-p-niis .niis-table__head p {
  border: 2px solid #C7C7C7; border-radius: 10px; box-sizing: border-box; height: 31px; display: flex; align-items: center;
  font-size: 18px; font-weight: 700; color: #737373; padding-left: 36px;
}
.ipv7-p-niis .niis-table__head p:first-child { flex: 0 0 292px; }
.ipv7-p-niis .niis-table__head p:last-child { flex: 1; height: 32px; padding-left: 32px; }
.ipv7-p-niis .niis-row {
  display: grid; grid-template-columns: 293px 1fr; align-items: center; min-height: 91px; box-sizing: border-box;
  background: var(--light); border-radius: 10px; padding: 8px 40px 8px 39px;
}
.ipv7-p-niis .niis-row + .niis-row { margin-top: 10px; }
.ipv7-p-niis .niis-row__name { font-size: 18px; line-height: 22px; font-weight: 700; color: var(--niis-green-dark); }
.ipv7-p-niis .niis-row__desc { font-size: 16px; line-height: 19.2px; max-width: 592px; }

/* ---------- Pilares ---------- */
.ipv7-p-niis .niis-pillars { background: var(--light); padding: 64px 16px 70px; text-align: center; }
.ipv7-p-niis .niis-pillars__title { font-size: 42px; line-height: 51px; color: #000; }
.ipv7-p-niis .niis-pillars__list { margin-top: 30px; font-size: 30px; line-height: 37px; font-weight: 700; }
.ipv7-p-niis .niis-pillars__list mark.g { background: var(--niis-green); color: #fff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ipv7-p-niis .niis-pillars__text { width: 784px; max-width: 100%; margin: 35px auto 0; font-size: 21px; line-height: 37.8px; }

/* ---------- Time 24/7 ---------- */
.ipv7-p-niis .niis-team { background: radial-gradient(circle, #77C044 0%, #003010 100%); }
.ipv7-p-niis .niis-team__inner { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 489px 491px; height: 560px; }
.ipv7-p-niis .niis-team__text { background: #fff; padding: 78px 68px 0 64px; font-size: 21px; line-height: 37.8px; text-align: justify; }
.ipv7-p-niis .niis-team__img { height: 560px; background: var(--light); }
.ipv7-p-niis .niis-team__img img { width: 100%; height: 100% !important; object-fit: cover; }

/* ---------- Sistema de monitoramento ---------- */
.ipv7-p-niis .niis-system {
  background:
    radial-gradient(circle at 1.6667% 5.8333%, rgba(255,255,255,.9) 0%, 18%, rgba(255,255,255,0) 36%),
    radial-gradient(circle at 100% 100%, #fff 0%, 42.68%, rgba(255,255,255,0) 55%),
    radial-gradient(circle at 0% 100%, rgba(119,192,68,.99) 0%, 20.434%, rgba(119,192,68,0) 34%),
    radial-gradient(circle at 97.0833% 0%, #77C044 0%, 41.654%, rgba(119,192,68,0) 59%),
    #fff;
}
.ipv7-p-niis .niis-system__wrap { position: relative !important; width: var(--container); margin: 0 auto; height: 663px; }
.ipv7-p-niis .niis-system__title { position: absolute !important; left: 65px; top: 61px; width: 360px; font-size: 53px; line-height: 63.6px; color: #000; }
.ipv7-p-niis .niis-system__title::after { content: ""; position: absolute !important; left: 0; top: 225px; width: 284px; border-top: 1px solid #000; }
.ipv7-p-niis .niis-system__plus {
  position: absolute !important; left: 25px; top: 377px; width: 52px; height: 50px; color: transparent; font-size: 0; overflow: hidden;
  background: linear-gradient(var(--niis-green), var(--niis-green)) center / 100% 11px no-repeat,
              linear-gradient(var(--niis-green), var(--niis-green)) center / 11px 100% no-repeat;
}
.ipv7-p-niis .niis-system__vision { position: absolute !important; left: 66px; top: 327px; width: 340px; }
.ipv7-p-niis .niis-system__flow { position: absolute !important; left: 66px; top: 431px; width: 279px; }
.ipv7-p-niis .niis-system__cta { position: absolute !important; left: 64px; top: 543px; }
.ipv7-p-niis .niis-system__img { position: absolute !important; left: 456px; top: 17px; width: 474px; height: 621px; }
.ipv7-p-niis .niis-system__img img { width: 100%; height: 100% !important; object-fit: contain; }

/* ---------- Celular ---------- */
@media (max-width: 1000px) {
  .ipv7-p-niis .niis-hero__wrap { width: auto; height: auto; padding: 20px 16px 32px; display: flex; flex-direction: column; }
  .ipv7-p-niis .niis-hero .ipv7-back { position: static !important; font-size: 15px; letter-spacing: 0.02em; margin-bottom: 16px; }
  .ipv7-p-niis .niis-hero__box { position: static !important; width: auto; height: auto; padding: 28px 22px 30px; order: 2; }
  .ipv7-p-niis .niis-hero__photo { position: static !important; width: auto; height: 340px; order: 3; }
  .ipv7-p-niis .niis-hero__text { width: auto; margin-top: 22px; font-size: 16px; line-height: 28px; text-align: left; }
  .ipv7-p-niis .niis-hero__box .wp-block-buttons { margin-top: 24px; }
  .ipv7-p-niis .niis-btn .wp-block-button__link { min-width: 0; width: auto; font-size: 18px; }

  .ipv7-p-niis .niis-table { width: auto; padding: 32px 16px; }
  .ipv7-p-niis .niis-table__head { display: none; }
  .ipv7-p-niis .niis-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .ipv7-p-niis .niis-row__name { font-size: 17px; }
  .ipv7-p-niis .niis-row__desc { font-size: 15px; line-height: 23px; }

  .ipv7-p-niis .niis-pillars { padding: 44px 16px 48px; }
  .ipv7-p-niis .niis-pillars__title { font-size: 30px; line-height: 36px; }
  .ipv7-p-niis .niis-pillars__list { font-size: 21px; line-height: 32px; margin-top: 22px; }
  .ipv7-p-niis .niis-pillars__text { font-size: 17px; line-height: 29px; margin-top: 22px; }

  .ipv7-p-niis .niis-team { padding: 0 16px; }
  .ipv7-p-niis .niis-team__inner { width: auto; grid-template-columns: 1fr; height: auto; }
  .ipv7-p-niis .niis-team__text { padding: 32px 22px; font-size: 17px; line-height: 29px; text-align: left; }
  .ipv7-p-niis .niis-team__img { height: 320px; }

  .ipv7-p-niis .niis-system__wrap { width: auto; height: auto; padding: 44px 20px 40px; display: flex; flex-direction: column; align-items: flex-start; }
  .ipv7-p-niis .niis-system__wrap > * { position: static !important; }
  .ipv7-p-niis .niis-system__title { width: auto; font-size: 38px; line-height: 46px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #000; }
  .ipv7-p-niis .niis-system__title::after { display: none; }
  .ipv7-p-niis .niis-system__plus { order: 3; width: 36px; height: 36px; margin: 10px 0; background-size: 100% 8px, 8px 100%; }
  .ipv7-p-niis .niis-system__vision { order: 2; width: 100%; max-width: 300px; }
  .ipv7-p-niis .niis-system__flow { order: 4; width: 100%; max-width: 250px; }
  .ipv7-p-niis .niis-system__cta { order: 5; margin-top: 30px; }
  .ipv7-p-niis .niis-system__img { order: 6; width: 100%; max-width: 380px; height: auto; margin: 32px auto 0; }
  .ipv7-p-niis .niis-system__img img { height: auto !important; }
}
