/* IPV7.tic — medidas do original Wix a 1440px */
.ipv7-p-tic { color: #000; }
.ipv7-p-tic :where(h1, h2, h3, h4, p, ul, figure) { margin: 0; }
.ipv7-p-tic .wp-block-image img { width: 100%; height: auto !important; }

/* link "Voltar" */
.ipv7-p-tic .ipv7-back { font-size: 18px; line-height: 22px; letter-spacing: 0.05em; }
.ipv7-p-tic .ipv7-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--red); text-decoration: none; }
.ipv7-p-tic .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-tic .ipv7-back a:hover { text-decoration: underline; }

/* botões vermelhos com texto Coolvetica */
.ipv7-p-tic .tic-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-tic .tic-btn .wp-block-button__link::after { width: 12px; height: 12px; }
.ipv7-p-tic .tic-btn--lg .wp-block-button__link { font-size: 22px; min-width: 556px; height: 52px; }

/* ---------- Hero ---------- */
.ipv7-p-tic .tic-hero { background: var(--light); }
.ipv7-p-tic .tic-hero__wrap { position: relative !important; width: var(--container); margin: 0 auto; height: 679px; }
.ipv7-p-tic .tic-hero .ipv7-back { position: absolute !important; left: 48px; top: 31px; }
.ipv7-p-tic .tic-hero__photo { position: absolute !important; left: 490px; top: 43px; width: 490px; height: 622px; background: var(--red); }
.ipv7-p-tic .tic-hero__photo img { width: 100%; height: 100% !important; object-fit: cover; }
.ipv7-p-tic .tic-hero__box { position: absolute !important; left: 0; top: 82px; width: 490px; height: 552px; background: #fff; padding: 47px 50px 0; box-sizing: border-box; }
.ipv7-p-tic .tic-hero__logo { width: 193px; }
.ipv7-p-tic .tic-hero__text { margin-top: 39px; width: 390px; font-size: 17px; line-height: 20px; text-align: justify; }
.ipv7-p-tic .tic-hero__box .wp-block-buttons { margin-top: 40px; }

/* ---------- Serviços ---------- */
.ipv7-p-tic .tic-services { padding: 44px 0 48px; }
.ipv7-p-tic .tic-services__title { text-align: center; font-size: 38px; line-height: 46px; color: var(--red); }
.ipv7-p-tic .tic-box { background: var(--light); box-sizing: border-box; }
.ipv7-p-tic .tic-box__title { font-size: 28px; line-height: 39.2px; color: #000; }
.ipv7-p-tic .tic-box__text { font-size: 13px; line-height: 23.4px; text-align: justify; }

.ipv7-p-tic .tic-box--audit { width: 942px; margin: 46px auto 0; padding: 29px 53px 33px; }
.ipv7-p-tic .tic-box--audit .tic-box__title + .tic-box__text { margin-top: 16px; }
.ipv7-p-tic .tic-box--audit .tic-box__text + .tic-box__text { margin-top: 23.4px; text-align: left; }
.ipv7-p-tic .tic-box__figs { display: flex; justify-content: center; gap: 10px; margin: 32px -53px 0; }
.ipv7-p-tic .tic-fig-matrix { width: 374px; height: 270px; }
.ipv7-p-tic .tic-fig-flow { width: 281px; height: 270px; }
.ipv7-p-tic .tic-box__figs img { width: 100%; height: 100% !important; object-fit: contain; }

.ipv7-p-tic .tic-ma { width: 945px; margin: 54px auto 0; display: flex; gap: 15px; align-items: flex-start; }
.ipv7-p-tic .tic-box--ma { flex: 0 0 522px; height: 367px; padding: 48px 53px 0; }
.ipv7-p-tic .tic-box--ma .tic-box__text { margin-top: 12px; line-height: 27.3px; }
.ipv7-p-tic .tic-ma__img { flex: 0 0 408px; height: 366px; }
.ipv7-p-tic .tic-ma__img img { width: 100%; height: 100% !important; object-fit: cover; }

.ipv7-p-tic .tic-box--side { width: 942px; margin: 53px auto 0; display: grid; grid-template-columns: 305px 1fr; min-height: 227px; }
.ipv7-p-tic .tic-box--special { grid-template-columns: 304px 1fr; min-height: 321px; margin-top: 52px; }
.ipv7-p-tic .tic-box__img { height: 100%; min-height: 100%; position: relative !important; }
.ipv7-p-tic .tic-box__img img { position: absolute !important; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.ipv7-p-tic .tic-box__body { padding: 29px 53px 26px 53px; }
.ipv7-p-tic .tic-box--special .tic-box__body { padding-left: 51px; }
.ipv7-p-tic .tic-box__body .tic-box__text { margin-top: 10px; }
.ipv7-p-tic .tic-services__cta { margin-top: 45px; }

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

  .ipv7-p-tic .tic-services { padding: 36px 16px 40px; }
  .ipv7-p-tic .tic-services__title { font-size: 30px; line-height: 36px; }
  .ipv7-p-tic .tic-box__title { font-size: 24px; line-height: 30px; }
  .ipv7-p-tic .tic-box__text { font-size: 15px; line-height: 25px !important; text-align: left; }
  .ipv7-p-tic .tic-box--audit { width: auto; margin-top: 28px; padding: 24px 20px; }
  .ipv7-p-tic .tic-box__figs { flex-direction: column; align-items: center; margin: 24px 0 0; gap: 16px; }
  .ipv7-p-tic .tic-fig-matrix, .ipv7-p-tic .tic-fig-flow { width: 100%; max-width: 374px; height: auto; }
  .ipv7-p-tic .tic-box__figs img { height: auto !important; }
  .ipv7-p-tic .tic-ma { width: auto; flex-direction: column; margin-top: 28px; gap: 20px; }
  .ipv7-p-tic .tic-box--ma { flex: none; height: auto; padding: 24px 20px; }
  .ipv7-p-tic .tic-ma__img { flex: none; width: 100%; max-width: 408px; height: auto; margin: 0 auto; }
  .ipv7-p-tic .tic-ma__img img { height: auto !important; }
  .ipv7-p-tic .tic-box--side, .ipv7-p-tic .tic-box--special { width: auto; grid-template-columns: 1fr; margin-top: 28px; min-height: 0; }
  .ipv7-p-tic .tic-box__img { height: 220px; }
  .ipv7-p-tic .tic-box__body, .ipv7-p-tic .tic-box--special .tic-box__body { padding: 22px 20px 26px; }
  .ipv7-p-tic .tic-services__cta { margin-top: 32px; }
}
