/* Final presentation layer: image-first opening, horizontal client ribbon and
   one continuous black cartographic surface. */

.cinematic-hero { height: 275svh; }

.cinematic-hero-media img {
  object-position: 56% 48%;
  transform: scale(calc(1 + var(--hero-progress) * .68));
  filter: saturate(calc(.96 - var(--hero-progress) * .12)) contrast(1.04) brightness(calc(.98 - var(--hero-progress) * .32));
}

.cinematic-hero-shade {
  background:
    linear-gradient(90deg,rgba(2,4,3,.92) 0%,rgba(2,4,3,.64) 42%,rgba(2,4,3,.08) 78%),
    linear-gradient(180deg,rgba(0,0,0,.12),transparent 42%,rgba(0,0,0,.72));
  opacity: clamp(0, calc((var(--hero-progress) - .3) * 2.25), .92);
}

.cinematic-hero-grid {
  opacity: clamp(0, calc((var(--hero-progress) - .5) * .5), .2);
  background-size: 92px 92px;
}

.cinematic-hero-copy {
  opacity: clamp(0, calc((var(--hero-progress) - .46) * 3.7), 1);
  transform: translateY(calc(-42% + (1 - var(--hero-progress)) * 54px));
}

.cinematic-reveal-label { opacity: clamp(0, calc((var(--hero-progress) - .8) * 5), 1); }

.cinematic-scroll-cue {
  left: auto;
  right: clamp(24px,5.5vw,88px);
  bottom: clamp(28px,4vw,54px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  opacity: clamp(0, calc(1 - var(--hero-progress) * 2.7), 1);
  transform: none;
}
.cinematic-scroll-cue span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(186,255,66,.58);
  border-radius: 999px;
  background: rgba(3,4,3,.72);
  color: #f7f8f3;
  font: 650 11px/1.1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.cinematic-scroll-cue span strong { color: var(--lime); }
.cinematic-scroll-cue svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-header-home:not(.is-scrolled),
.floating-whatsapp-home:not(.is-scrolled) {
  opacity: 0;
  pointer-events: none;
}

.site-header,
.floating-whatsapp {
  transition: opacity .45s ease, background .35s ease, border-color .35s ease, height .35s ease;
}

.inspection-clients { padding-block: clamp(54px,6vw,86px) !important; }
.inspection-section-heading {
  padding-inline: clamp(24px,5.5vw,88px) !important;
  margin-bottom: 34px;
}

.inspection-clients .case-client-logo-marquee {
  width: 100%;
  height: 118px;
  margin: 0;
  overflow: hidden;
  perspective: none;
  mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.inspection-clients .case-client-logo-marquee::after { display: none; }

.inspection-clients .case-client-logo-track {
  position: static;
  width: max-content;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
  transform: none;
  transform-style: flat;
  animation: client-ribbon-scroll 38s linear infinite !important;
  -webkit-animation: client-ribbon-scroll 38s linear infinite !important;
  will-change: transform;
}

.inspection-clients .client-logo-card {
  position: static;
  width: 250px;
  height: 100%;
  padding: 12px 34px;
  display: grid;
  place-items: center;
  flex: 0 0 250px;
  border: 0;
  border-right: 0;
  border-radius: 18px;
  background: transparent;
  transform: none;
  backface-visibility: visible;
  box-shadow: none;
}
.inspection-clients .client-logo-svg {
  display: block;
  width: 150px;
  height: 92px;
  overflow: visible;
}
.inspection-clients .client-logo-hands { width: 78px; height: 68px; overflow: visible; object-fit: contain; filter: none; }

/* Rounded visual language across the full landing page. */
.inspection-lab {
  margin: clamp(12px,2vw,28px) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: clamp(24px,3vw,42px) !important;
  overflow: hidden !important;
}
.inspection-clients,
.inspection-section#avaliacao,
.onepage-section,
.process-section,
.about-story,
.decision-section,
.trust-section,
.faq-page-content,
.faq-contact,
.case-feature,
.service-detail {
  border-radius: clamp(22px,2.4vw,34px) !important;
  overflow: hidden !important;
}
.inspection-section#avaliacao,
.onepage-section {
  margin: clamp(12px,2vw,28px) !important;
}
.facade-explorer,
.lead-form,
.service-data-visual,
.case-feature-visual,
.process-grid,
.process-grid li,
.decision-grid article,
.trust-point,
.faq-item {
  border-radius: 20px !important;
  overflow: hidden !important;
}
:where(.button,.button-primary,.button-secondary,.cinematic-cta,.project-whatsapp-button,.header-cta,.service-detail-actions a,.case-feature-copy a,.floating-whatsapp) {
  border-radius: 999px !important;
  clip-path: none !important;
}
:where(input,select,textarea) { border-radius: 14px !important; }

@keyframes client-ribbon-scroll { to { transform: translateX(-50%); } }
@-webkit-keyframes client-ribbon-scroll { to { -webkit-transform: translateX(-50%); } }

.inspection-lab,
.inspection-clients,
.inspection-section#avaliacao,
.onepage-section,
.page-hero,
.service-detail-list,
.service-detail,
.service-detail:nth-child(even),
.process-section,
.process-grid li,
.cases-list,
.case-feature,
.case-feature:nth-child(even),
.case-confidentiality,
.client-segments,
.decision-section,
.decision-grid article,
.about-story,
.trust-section,
.authority-section,
.client-logo-section,
.faq-page-content,
.faq-contact,
.site-footer {
  background-color: #030403 !important;
  background-image:
    linear-gradient(rgba(225,232,226,.105) 1px,transparent 1px),
    linear-gradient(90deg,rgba(225,232,226,.105) 1px,transparent 1px) !important;
  background-size: 92px 92px !important;
  color: #f7f8f3 !important;
}

.inspection-section#avaliacao :where(h2,h3,p,label,span),
.process-section :where(h2,h3,p,span),
.cases-list :where(h2,h3,p,span),
.case-feature :where(h2,h3,p,span),
.about-story :where(h2,h3,p,span),
.trust-section :where(h2,h3,p,span),
.faq-page-content :where(h2,h3,p,button,span) { color: #f7f8f3 !important; }

.inspection-section#avaliacao .footer-lead h2,
.inspection-section#avaliacao .footer-lead h2 em,
.inspection-section#avaliacao .footer-lead-copy > p,
.inspection-section#avaliacao .footer-lead-copy strong {
  color: #f7f8f3 !important;
}

.inspection-section#avaliacao .project-whatsapp-button,
.inspection-section#avaliacao .project-whatsapp-button :where(span,strong,svg) {
  color: #050706 !important;
}

.inspection-section#avaliacao .eyebrow,
.process-section .eyebrow,
.process-grid span,
.case-feature .eyebrow,
.about-story .eyebrow,
.trust-section .eyebrow,
.faq-page-content .eyebrow { color: var(--lime) !important; }

.inspection-section#avaliacao .project-whatsapp-button,
.process-section .button-primary {
  border-color: var(--lime) !important;
  background: var(--lime) !important;
  color: #050706 !important;
}

.process-grid,
.process-grid li,
.case-feature,
.trust-points,
.trust-point,
.faq-item { border-color: rgba(255,255,255,.18) !important; }

@media (max-width: 700px) {
  .cinematic-hero { height: 260svh; min-height: 1500px; }
  .cinematic-hero-media img {
    object-position: 63% center;
    transform: scale(calc(1 + var(--hero-progress) * .72));
  }
  .cinematic-hero-shade { opacity: clamp(0, calc((var(--hero-progress) - .32) * 2.4), .94); }
  .cinematic-hero-copy {
    bottom: 58px;
    opacity: clamp(0, calc((var(--hero-progress) - .48) * 3.9), 1);
    transform: translateY(calc((1 - var(--hero-progress)) * 38px));
  }
  .cinematic-hero-grid { background-size: 58px 58px; }
  .cinematic-reveal-label { display: none; }
  .cinematic-scroll-cue {
    right: 16px;
    bottom: 22px;
  }
  .cinematic-scroll-cue span {
    display: inline-flex !important;
    max-width: 240px;
    font-size: 10px;
  }
  .inspection-clients .case-client-logo-marquee { height: 92px; }
  .inspection-clients .case-client-logo-track {
    animation-duration: 24s !important;
    -webkit-animation-duration: 24s !important;
  }
  .inspection-clients .client-logo-card {
    width: 190px;
    flex-basis: 190px;
    padding: 10px 22px;
  }
  .inspection-clients .client-logo-svg {
    width: 132px;
    height: 78px;
  }
  .inspection-clients .client-logo-hands { width: 68px !important; height: 56px !important; }
  .inspection-lab,
  .inspection-section#avaliacao,
  .onepage-section { margin: 10px !important; border-radius: 24px !important; }
  .inspection-lab,
  .inspection-clients,
  .inspection-section#avaliacao,
  .onepage-section,
  .page-hero,
  .service-detail,
  .process-section,
  .process-grid li,
  .case-feature,
  .about-story,
  .decision-section,
  .trust-section,
  .faq-page-content,
  .faq-contact,
  .site-footer { background-size: 58px 58px !important; }
}

/* v1.2 — abertura em lente mecânica e remoção do antigo laboratório interativo. */
/* O overflow horizontal do body do WordPress cria um contêiner de rolagem e
   impede o sticky da abertura em alguns navegadores. O corte fica no html. */
html { overflow-x: clip !important; }
body,
body.dr-wordpress-site { overflow-x: visible !important; }
.cinematic-hero {
  height: 300svh;
  min-height: 1700px;
  background: #030403;
}
.cinematic-hero-sticky {
  overflow: hidden;
  isolation: isolate;
  background: #030403;
}
.cinematic-hero-media {
  inset: clamp(10px,1.5vw,24px) !important;
  z-index: -3;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: clamp(26px,4vw,64px);
  background: #030403;
  box-shadow: inset 0 0 0 1px rgba(186,255,66,.08), inset 0 0 90px #000;
}
.cinematic-hero-media img {
  transform: scale(calc(1 + var(--hero-progress) * .82));
  filter: saturate(calc(.98 - var(--hero-progress) * .2)) contrast(1.05) brightness(calc(1 - var(--hero-progress) * .38));
}
.cinematic-shutter {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.cinematic-shutter::before,
.cinematic-shutter::after {
  content: "";
  position: absolute;
  inset: 50%;
  z-index: 3;
  border: 1px solid rgba(186,255,66,.2);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  width: calc(102vmin - var(--hero-progress) * 76vmin);
  height: calc(102vmin - var(--hero-progress) * 76vmin);
  box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 48px rgba(0,0,0,.75);
  opacity: calc(.42 + var(--hero-progress) * .5);
}
.cinematic-shutter::after {
  width: calc(94vmin - var(--hero-progress) * 72vmin);
  height: calc(94vmin - var(--hero-progress) * 72vmin);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.cinematic-shutter i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92vmax;
  height: 92vmax;
  background: linear-gradient(145deg,#111612 0%,#050706 68%,#000 100%);
  clip-path: polygon(0 0,100% 0,50% 50%);
  transform-origin: 0 0;
  opacity: clamp(0, calc((var(--hero-progress) - .28) * 1.7), 1);
  transform: rotate(calc(var(--blade) * 45deg + var(--hero-progress) * 24deg)) translateY(calc((1 - var(--hero-progress)) * -68vmax));
  box-shadow: inset 0 -1px rgba(255,255,255,.09);
  will-change: transform;
}
.cinematic-shutter i:nth-child(1) { --blade: 0; }
.cinematic-shutter i:nth-child(2) { --blade: 1; }
.cinematic-shutter i:nth-child(3) { --blade: 2; }
.cinematic-shutter i:nth-child(4) { --blade: 3; }
.cinematic-shutter i:nth-child(5) { --blade: 4; }
.cinematic-shutter i:nth-child(6) { --blade: 5; }
.cinematic-shutter i:nth-child(7) { --blade: 6; }
.cinematic-shutter i:nth-child(8) { --blade: 7; }
.cinematic-shutter span {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center,transparent 0 16%,rgba(0,0,0,calc(var(--hero-progress) * .38)) 44%,rgba(0,0,0,.88) 100%);
}
.cinematic-hero-shade {
  z-index: -1;
  background: linear-gradient(90deg,rgba(2,4,3,.72),rgba(2,4,3,.18) 56%,rgba(2,4,3,.36));
  opacity: clamp(0, calc((var(--hero-progress) - .18) * 2), .78);
}
.cinematic-hero-grid { z-index: 0; }
.cinematic-inspection-copy {
  left: clamp(34px,6vw,96px);
  top: auto;
  bottom: clamp(116px,15vh,176px);
  width: min(560px,calc(100vw - 68px));
  z-index: 7;
  opacity: clamp(0, calc((var(--hero-progress) - .18) * 4), 1);
  transform: translateY(calc((1 - var(--hero-progress)) * 40px));
  text-shadow: 0 3px 24px #000;
}
.cinematic-inspection-copy h1 { font-size: clamp(54px,6vw,92px); }
.cinematic-inspection-copy .cinematic-description { max-width: 520px; }
.cinematic-scroll-cue {
  left: clamp(34px,6vw,96px);
  right: auto;
  bottom: clamp(34px,6vh,70px);
  z-index: 8;
  align-items: flex-start;
  opacity: clamp(.18,calc(1 - var(--hero-progress) * .72),1);
}
.cinematic-reveal-label { display: none; }
.inspection-clients-first {
  margin: clamp(12px,2vw,28px) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: clamp(24px,3vw,42px) !important;
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .cinematic-hero { height: 270svh; min-height: 1450px; }
  .cinematic-hero-media { inset: 8px !important; border-radius: 26px; }
  .cinematic-hero-media img { transform: scale(calc(1 + var(--hero-progress) * .86)); }
  .cinematic-inspection-copy {
    left: 24px;
    right: 24px;
    bottom: 118px;
    width: auto;
    opacity: clamp(0,calc((var(--hero-progress) - .16) * 4),1);
  }
  .cinematic-inspection-copy h1 { font-size: clamp(48px,14vw,70px); }
  .cinematic-inspection-copy .cinematic-description { max-width: 34ch; font-size: 14px; }
  .cinematic-inspection-copy small { font-size: 9px; }
  .cinematic-scroll-cue { left: 24px; right: auto; bottom: 34px; }
  .cinematic-shutter i { width: 120vmax; height: 120vmax; }
  .inspection-clients-first { margin: 10px !important; border-radius: 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-hero { height: 100svh; min-height: 720px; }
  .cinematic-hero-media img { transform: scale(1.08); }
  .cinematic-shutter i { display: none; }
  .cinematic-inspection-copy { opacity: 1; transform: none; }
}

/* v1.2.3 — refinamentos pontuais de escala, contraste e legibilidade. */
.inspection-clients .client-logo-card {
  width: 270px;
  flex-basis: 270px;
  padding: 8px 24px;
}
.inspection-clients .client-logo-svg {
  width: 184px;
  height: 106px;
  filter: brightness(.78) saturate(.96);
  transform: scale(1.18);
  transform-origin: center;
}
.inspection-clients .client-logo-custom {
  filter: brightness(.78) saturate(.96);
  transform: scale(1.2);
  transform-origin: center;
}
.inspection-clients .client-logo-card-prefeitura-de-sao-paulo .client-logo-svg { transform: scale(1.52); }
.inspection-clients .client-logo-card-prefeitura-de-santos .client-logo-svg { transform: scale(1.52); }
.inspection-clients .client-logo-card-prefeitura-de-campo-limpo-paulista .client-logo-svg { transform: scale(.82); }
.inspection-clients .client-logo-card-cpfl-energia .client-logo-svg { transform: scale(1.1); }
.inspection-clients .client-logo-card-softys .client-logo-svg { transform: scale(1.52); }
.inspection-clients .client-logo-card-pentagono-engenharia .client-logo-svg { transform: scale(1.48); }
.inspection-clients .client-logo-card-rocket-sea-club .client-logo-svg { transform: scale(1.42); }
.inspection-clients .client-logo-card-center-norte .client-logo-svg { transform: scale(1.42); }
.inspection-clients .client-logo-card-softys .client-logo-svg image,
.inspection-clients .client-logo-card-pentagono-engenharia .client-logo-svg image,
.inspection-clients .client-logo-card-rocket-sea-club .client-logo-svg image {
  clip-path: inset(0 0 38% 0);
}
.inspection-clients .client-logo-card-softys .client-logo-svg,
.inspection-clients .client-logo-card-pentagono-engenharia .client-logo-svg,
.inspection-clients .client-logo-card-rocket-sea-club .client-logo-svg {
  transform-origin: center 44%;
}
.inspection-clients .client-logo-hands {
  width: 90px;
  height: 82px;
  transform: scale(1.28);
}

.anchor-nav {
  width: calc(100% - clamp(20px,4vw,48px)) !important;
  margin-inline: auto !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}
.anchor-nav a { border-radius: 12px !important; }

.service-detail-main h2 {
  font-size: clamp(30px,3vw,48px) !important;
  line-height: 1.02 !important;
}
.service-deliverables strong { font-size: 13px !important; }
.service-deliverables span {
  font-size: clamp(14px,1.05vw,17px) !important;
  line-height: 1.55 !important;
}

.about-story .section-side-title h2 { font-size: clamp(44px,5vw,72px) !important; }
.about-story-copy .about-lead {
  color: #fff !important;
  font-size: clamp(27px,2.75vw,43px) !important;
}
.about-story-copy p {
  color: #fff !important;
  font-size: clamp(17px,1.3vw,20px) !important;
  line-height: 1.72 !important;
}

/* v1.2.7 — nova abertura, privacidade compacta e refinamentos dos cases. */
.cinematic-inspection-copy {
  opacity: 1;
  transform: translateY(calc(var(--hero-progress) * -22px));
}
.cinematic-hero-shade { opacity: .56; }
.cinematic-scroll-cue span {
  max-width: 260px;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
}
.cinematic-scroll-cue span strong { display: inline; }

.marketing-consent {
  left: 12px;
  right: 12px;
  bottom: 10px;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px;
  padding: 9px 14px;
  border-radius: 14px;
}
.marketing-consent strong {
  display: inline;
  margin: 0 10px 0 0;
  font-size: 12px;
}
.marketing-consent p {
  display: inline;
  font-size: 10px;
  line-height: 1.35;
}
.marketing-consent-actions { gap: 9px; }
.marketing-consent-actions .button { min-height: 32px; padding: 7px 12px; font-size: 10px; }
.marketing-consent-deny { padding: 6px; font-size: 10px; }

.case-confidentiality { align-items: center !important; }
.case-confidentiality > span {
  color: var(--lime) !important;
  font-family: var(--display) !important;
  font-size: clamp(38px,5vw,78px) !important;
  font-weight: 500 !important;
  line-height: .94 !important;
  letter-spacing: -.045em !important;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .marketing-consent {
    left: 6px;
    right: 6px;
    bottom: 6px;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 8px 10px;
  }
  .marketing-consent > div:first-child { line-height: 1.2; }
  .marketing-consent strong { font-size: 11px; }
  .marketing-consent p { font-size: 9px; }
  .marketing-consent-actions { display: flex; width: 100%; }
  .marketing-consent-actions .button,
  .marketing-consent-deny { width: auto; flex: 1 1 0; min-height: 30px; }
  .case-confidentiality > span { font-size: clamp(34px,11vw,52px) !important; }
}
.about-story .about-tags span {
  color: #fff !important;
  font-size: 12px !important;
}

@media (max-width: 700px) {
  .inspection-clients .client-logo-card { width: 210px; flex-basis: 210px; }
  .inspection-clients .client-logo-svg { width: 154px; height: 86px; }
  .inspection-clients .client-logo-hands { width: 78px !important; height: 68px !important; }
  .anchor-nav { width: calc(100% - 20px) !important; border-radius: 18px !important; }
  .anchor-nav a { border-radius: 10px !important; }
  .service-detail-main h2 { font-size: 34px !important; }
  .service-deliverables span { font-size: 15px !important; }
}
/* Client logo normalization: clean green marks, no residual shadow or raster fringe. */
.inspection-clients .client-logo-featured { width: 158px; height: 88px; filter: none; object-fit: contain; }
.inspection-clients .client-logo-card-pentagono-engenharia .client-logo-custom { filter: grayscale(1) sepia(1) saturate(9) hue-rotate(35deg) brightness(.92) contrast(1.35); }

/* v1.2.8 — alinhamento da abertura, marcas oficiais e serviços responsivos. */
.cinematic-hero-media img {
  object-position: 50% calc(46% - var(--hero-progress) * 17%);
  transform: scale(calc(1 + var(--hero-progress) * 1.22));
}
.cinematic-inspection-copy {
  left: 50%;
  top: 41%;
  right: auto;
  bottom: auto;
  width: min(720px,calc(100vw - 64px));
  text-align: center;
  transform: translate(-50%,-50%);
}
.cinematic-inspection-copy .cinematic-description { margin-inline: auto; }
.cinematic-scroll-cue {
  left: 50%;
  top: 68%;
  right: auto;
  bottom: auto;
  align-items: center;
  transform: translate(-50%,-50%);
}

.inspection-section-heading {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  gap: 10px !important;
  text-align: center;
}
.inspection-section-heading .eyebrow { margin: 0; }

.inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured {
  width: 148px;
  height: 96px;
  filter: grayscale(1) brightness(0) invert(79%) sepia(91%) saturate(728%) hue-rotate(35deg) brightness(104%) contrast(103%);
}
.inspection-clients .client-logo-card-audiofilm .client-logo-featured {
  width: 184px;
  height: 72px;
  filter: grayscale(1) invert(1) contrast(2.1) sepia(1) saturate(7) hue-rotate(35deg) brightness(.86);
  mix-blend-mode: screen;
}
.inspection-clients .client-logo-card-domo .client-logo-featured {
  width: 138px;
  height: 100px;
  filter: grayscale(1) brightness(0) invert(79%) sepia(91%) saturate(728%) hue-rotate(35deg) brightness(104%) contrast(103%);
}

.service-detail {
  grid-template-columns: 90px minmax(0,1fr) minmax(0,1fr) !important;
  grid-template-rows: auto auto;
  align-items: start !important;
}
.service-detail-index { grid-column: 1; grid-row: 1 / span 2; }
.service-detail-main { grid-column: 2; grid-row: 1; text-align: center; }
.service-deliverables { grid-column: 3; grid-row: 1; text-align: center; }
.service-data-visual {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
  width: 100% !important;
  margin-top: 28px !important;
}
.service-detail-main p,
.service-detail-main h2 { max-width: 28ch; margin-inline: auto; }
.service-detail-actions { justify-content: center; }
.service-deliverables span { justify-content: center; }

/* Sections below the fold are skipped until needed, reducing initial render work. */
.inspection-clients,
.inspection-section#avaliacao,
.service-detail,
.case-feature,
.about-story,
.faq-page-content {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

@media (max-width: 900px) {
  .cinematic-hero { height: 235svh; min-height: 1280px; }
  .cinematic-hero-media img {
    object-position: 50% calc(43% - var(--hero-progress) * 15%);
    transform: scale(calc(1 + var(--hero-progress) * 1.34));
  }
  .cinematic-inspection-copy {
    left: 50%;
    top: 38%;
    right: auto;
    bottom: auto;
    width: calc(100% - 42px);
    transform: translate(-50%,-50%);
  }
  .cinematic-inspection-copy h1 { font-size: clamp(43px,12vw,66px); }
  .cinematic-scroll-cue { left: 50%; top: 72%; right: auto; bottom: auto; transform: translate(-50%,-50%); }
  .cinematic-scroll-cue span { max-width: min(300px,calc(100vw - 48px)); }

  .service-detail {
    padding: 42px 22px !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 24px !important;
  }
  .service-detail-index,
  .service-detail-main,
  .service-deliverables,
  .service-data-visual {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  .service-detail-index {
    min-height: 0 !important;
    height: auto !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }
  .service-detail-index small { writing-mode: horizontal-tb; }
  .service-detail-main h2 {
    max-width: 18ch;
    font-size: clamp(30px,8.5vw,42px) !important;
    overflow-wrap: normal !important;
    word-break: normal;
  }
  .service-detail-main p { max-width: 42ch; }
  .service-deliverables { max-width: 560px; margin-inline: auto; }
  .service-data-visual { height: min(76vw,430px) !important; min-height: 270px; margin-top: 4px !important; }
}

@media (max-width: 700px) {
  .inspection-section-heading { padding-inline: 18px !important; }
  .inspection-section-heading h2 { font-size: clamp(1.45rem,7vw,2rem); }
  .inspection-clients .client-logo-card { width: 220px; flex-basis: 220px; }
  .inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured { width: 132px; height: 84px; }
  .inspection-clients .client-logo-card-audiofilm .client-logo-featured { width: 164px; height: 64px; }
  .inspection-clients .client-logo-card-domo .client-logo-featured { width: 124px; height: 88px; }
  .cinematic-scroll-cue span { backdrop-filter: none; }
  .inspection-clients .case-client-logo-track { will-change: auto; }
}

/* v1.2.9 — confidencialidade sem colisão, marcas recortadas e consentimento livre do chatbot. */
.case-confidentiality {
  grid-template-columns: minmax(0,42%) minmax(0,1fr) !important;
  gap: clamp(30px,4vw,62px) !important;
  align-items: center !important;
  overflow: hidden;
}
.case-confidentiality > * { min-width: 0; }
.case-confidentiality > .case-confidentiality-title {
  display: block;
  max-width: 100%;
  font-size: clamp(36px,3.55vw,56px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  overflow-wrap: normal;
  word-break: normal;
}
.case-confidentiality > p {
  max-width: 720px !important;
  font-size: clamp(20px,2.15vw,31px) !important;
  line-height: 1.18 !important;
}

.inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured,
.inspection-clients .client-logo-card-audiofilm .client-logo-featured,
.inspection-clients .client-logo-card-domo .client-logo-featured {
  filter: none !important;
  mix-blend-mode: normal !important;
  object-fit: contain;
}
.inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured { width: 138px; height: 106px; }
.inspection-clients .client-logo-card-audiofilm .client-logo-featured { width: 198px; height: 62px; }
.inspection-clients .client-logo-card-domo .client-logo-featured { width: 98px; height: 98px; }

body:has(.marketing-consent:not([hidden])) .kodee-fab {
  bottom: 82px !important;
  transition: bottom .2s ease;
}

@media (max-width: 900px) {
  .case-confidentiality {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 22px !important;
  }
  .case-confidentiality > .case-confidentiality-title {
    max-width: 13ch;
    font-size: clamp(34px,6.2vw,46px) !important;
  }
  .case-confidentiality > p {
    max-width: 36ch !important;
    font-size: clamp(20px,3.2vw,26px) !important;
  }
}

/* v1.2.13 — fundo topográfico preto com curvas de nível verdes. */
:root {
  --dr-topographic-background: url("../images/ui/topographic-contours.svg");
}

body.home,
main#conteudo,
.inspection-landing,
.inspection-clients,
.inspection-section#avaliacao,
.onepage-section,
.page-hero,
.service-detail-list,
.service-detail,
.process-section,
.cases-list,
.case-feature,
.case-confidentiality,
.about-story,
.decision-section,
.trust-section,
.faq-page-content,
.faq-contact,
.site-footer {
  background-color: #020402 !important;
  background-image: var(--dr-topographic-background) !important;
  background-position: center top !important;
  background-repeat: repeat !important;
  background-size: 960px 640px !important;
}

.service-detail:nth-child(even),
.case-feature:nth-child(even),
.onepage-section:nth-of-type(even) {
  background-position: 480px 210px !important;
}

.lead-form,
.faq-item,
.marketing-consent {
  background-color: rgba(3, 8, 5, .94) !important;
}

/* A fotografia do hero continua sendo o elemento principal da abertura. */
.cinematic-hero,
.cinematic-hero-sticky,
.cinematic-hero-media {
  background-image: none !important;
}

@media (max-width: 700px) {
  body.home,
  main#conteudo,
  .inspection-landing,
  .inspection-clients,
  .inspection-section#avaliacao,
  .onepage-section,
  .page-hero,
  .service-detail-list,
  .service-detail,
  .cases-list,
  .case-feature,
  .case-confidentiality,
  .about-story,
  .faq-page-content,
  .site-footer {
    background-size: 620px 413px !important;
  }
}

@media (max-width: 700px) {
  .case-confidentiality > .case-confidentiality-title {
    max-width: 100%;
    font-size: clamp(31px,8.4vw,37px) !important;
    line-height: 1 !important;
  }
  .case-confidentiality > p { font-size: 20px !important; }
  .inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured { width: 122px; height: 92px; }
  .inspection-clients .client-logo-card-audiofilm .client-logo-featured { width: 172px; height: 56px; }
  .inspection-clients .client-logo-card-domo .client-logo-featured { width: 86px; height: 86px; }
  body:has(.marketing-consent:not([hidden])) .kodee-fab { bottom: 116px !important; }
}

/* v1.2.10 — o cartão de clientes respeita a largura útil em todos os breakpoints. */
.inspection-clients-first {
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* v1.2.11 — texto dentro da janela, foco do zoom na faixa azul e marcas uniformes. */
.cinematic-hero-media img {
  object-position: 50% calc(40% - var(--hero-progress) * 18%);
  transform: scale(calc(1 + var(--hero-progress) * 1.55));
}
.cinematic-inspection-copy {
  top: 59%;
  width: min(680px,calc(100vw - 64px));
}
.cinematic-inspection-copy h1 { font-size: clamp(50px,5.45vw,78px); }
.cinematic-scroll-cue { top: 82%; }

.inspection-clients .client-logo-card {
  width: 232px;
  flex-basis: 232px;
}
.inspection-clients .client-logo-card > img,
.inspection-clients .client-logo-card > svg {
  width: 182px !important;
  height: 92px !important;
  max-width: 182px !important;
  object-fit: contain;
  transform: none !important;
  filter: brightness(0) saturate(100%) invert(67%) sepia(57%) saturate(781%) hue-rotate(37deg) brightness(91%) contrast(91%) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 900px) {
  .cinematic-hero-media img {
    object-position: 50% calc(39% - var(--hero-progress) * 17%);
    transform: scale(calc(1 + var(--hero-progress) * 1.62));
  }
  .cinematic-inspection-copy { top: 57%; }
  .cinematic-scroll-cue { top: 82%; }
}

@media (max-width: 700px) {
  .cinematic-inspection-copy { top: 55%; }
  .cinematic-inspection-copy h1 { font-size: clamp(40px,11.5vw,58px); }
  .inspection-clients .client-logo-card { width: 206px; flex-basis: 206px; }
  .inspection-clients .client-logo-card > img,
  .inspection-clients .client-logo-card > svg {
    width: 164px !important;
    height: 82px !important;
    max-width: 164px !important;
  }
}

/* v1.2.12 — enquadramento final do hero e proporção visual das marcas. */
.cinematic-inspection-copy { top: 63%; }

.inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured,
.inspection-clients .client-logo-card-audiofilm .client-logo-featured,
.inspection-clients .client-logo-card-domo .client-logo-featured,
.inspection-clients .client-logo-card-tv-tribuna .client-logo-featured,
.inspection-clients .client-logo-card-tecnotrat .client-logo-featured {
  filter: brightness(0) saturate(100%) invert(67%) sepia(57%) saturate(781%) hue-rotate(37deg) brightness(91%) contrast(91%) !important;
  mix-blend-mode: normal !important;
}
.inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured {
  width: 100px !important;
  height: 116px !important;
  max-width: 100px !important;
}
.inspection-clients .client-logo-card-audiofilm .client-logo-featured {
  width: 208px !important;
  height: 70px !important;
  max-width: 208px !important;
}
.inspection-clients .client-logo-card-domo .client-logo-featured {
  width: 106px !important;
  height: 106px !important;
  max-width: 106px !important;
}
.inspection-clients .client-logo-card-tv-tribuna .client-logo-featured {
  width: 108px !important;
  height: 100px !important;
  max-width: 108px !important;
}
.inspection-clients .client-logo-card-tecnotrat .client-logo-featured {
  width: 208px !important;
  height: 70px !important;
  max-width: 208px !important;
}

@media (max-width: 900px) {
  .cinematic-inspection-copy { top: 61%; }
}

@media (max-width: 700px) {
  .cinematic-inspection-copy { top: 59%; }
  .inspection-clients .client-logo-card-jpm-construcoes-e-impermeabilizacoes .client-logo-featured {
    width: 90px !important;
    height: 104px !important;
    max-width: 90px !important;
  }
  .inspection-clients .client-logo-card-audiofilm .client-logo-featured,
  .inspection-clients .client-logo-card-tecnotrat .client-logo-featured {
    width: 184px !important;
    height: 64px !important;
    max-width: 184px !important;
  }
  .inspection-clients .client-logo-card-domo .client-logo-featured {
    width: 94px !important;
    height: 94px !important;
    max-width: 94px !important;
  }
  .inspection-clients .client-logo-card-tv-tribuna .client-logo-featured {
    width: 96px !important;
    height: 90px !important;
    max-width: 96px !important;
  }
}

/* v1.2.14 — mapa topográfico orgânico e contínuo em todas as seções. */
body.home,
main#conteudo,
main#conteudo > .inspection-landing,
main#conteudo section:not(.cinematic-hero),
main#conteudo .onepage-section,
main#conteudo article.service-detail,
main#conteudo article.case-feature,
.inspection-clients .case-client-logo-marquee,
.footer-compact-cta,
.site-footer {
  background-color: #020402 !important;
  background-image: var(--dr-topographic-background) !important;
  background-position: center top !important;
  background-repeat: repeat !important;
  background-size: 760px 507px !important;
}

main#conteudo section:nth-of-type(even):not(.cinematic-hero),
main#conteudo article:nth-of-type(even),
.footer-compact-cta {
  background-position: 380px 170px !important;
}

.page-hero::before {
  background-image: none !important;
  opacity: 0 !important;
}

@media (max-width: 700px) {
  body.home,
  main#conteudo,
  main#conteudo > .inspection-landing,
  main#conteudo section:not(.cinematic-hero),
  main#conteudo .onepage-section,
  main#conteudo article.service-detail,
  main#conteudo article.case-feature,
  .inspection-clients .case-client-logo-marquee,
  .footer-compact-cta,
  .site-footer {
    background-size: 540px 360px !important;
  }
}
