/* Ajustes PCL - feedback do cliente */

html {
  scroll-padding-top: 132px;
  overflow-x: clip;
}

.nav-logo img {
  width: clamp(190px, 14vw, 260px);
  max-width: 260px;
  height: 92px;
  max-height: 92px;
  object-fit: contain;
}

#navbar.scrolled .nav-logo img,
#navbar.solid .nav-logo img {
  width: clamp(185px, 13vw, 240px);
  max-width: 240px;
  height: 84px;
  max-height: 84px;
}

.footer-brand-logo {
  height: 92px;
  max-height: 92px;
  width: auto;
}

#navbar .container,
#hero > .container {
  width: min(100% - 48px, 1200px);
  padding-left: 0;
  padding-right: 0;
}

#navbar .nav-inner {
  gap: clamp(12px, 1.2vw, 24px);
}

#navbar .nav-links {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

#navbar .nav-links a {
  padding-left: clamp(8px, .7vw, 14px);
  padding-right: clamp(8px, .7vw, 14px);
  text-align: center;
  white-space: nowrap;
}

#navbar .nav-right {
  flex: 0 0 auto;
}

#navbar .lang-switcher {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  min-width: max-content;
  padding: 3px;
  cursor: default;
}

#navbar .lang-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.6);
  min-height: 32px;
  padding: 6px 9px;
  font: 800 .64rem 'Montserrat', sans-serif;
  letter-spacing: .05em;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

#navbar .lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

#navbar .lang-btn.active {
  color: #fff;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

#navbar .lang-btn .flag {
  margin-right: 3px;
  font-size: .82rem;
}

@media (min-width: 1280px) {
  #navbar .container,
  #hero > .container {
    width: min(100% - 96px, 1640px);
    max-width: 1640px;
  }

  #hero .hero-content {
    max-width: 760px;
  }
}

@media (min-width: 1181px) and (max-width: 1760px) {
  #navbar .nav-cta {
    display: none !important;
  }
}

@media (min-width: 1181px) and (max-width: 1440px) {
  #navbar .container {
    width: calc(100% - 40px);
  }

  #navbar .nav-inner {
    gap: 8px;
  }

  #navbar .nav-links a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: .72rem;
    letter-spacing: .04em;
  }

  #navbar .nav-right {
    gap: 8px;
  }

  #navbar .lang-btn {
    padding-inline: 7px;
  }
}

@media (max-width: 1180px) {
  #navbar .nav-links {
    display: none;
  }

  #navbar .nav-cta {
    display: none !important;
  }

  #navbar .hamburger {
    display: flex;
  }
}

.product-thumb-wrap img,
.product-line-thumb img {
  object-fit: contain !important;
  padding: 12px;
  background: #fff;
}

.product-card:hover .product-thumb-wrap img,
.product-line-card:hover .product-line-thumb img {
  transform: scale(1.03);
}

.product-section-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.engineering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-line-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font: 800 .68rem 'Montserrat', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-line-download:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232,93,4,.26);
}

.product-line-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(11, 42, 74, .18);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font: 800 .68rem 'Montserrat', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-line-quote:hover,
.product-line-quote:focus-visible {
  border-color: rgba(232,93,4,.48);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11,42,74,.10);
  outline: none;
}

.footer-phone-secondary {
  margin-top: 8px;
}

#pcl-dry,
.contact-cta {
  overflow-x: clip;
}

#hero .hero-title .line-highlight {
  white-space: nowrap;
}

.product-lines-grid.v4-hydraulic-order > :nth-child(1) { order: 3; }
.product-lines-grid.v4-hydraulic-order > :nth-child(2) { order: 4; }
.product-lines-grid.v4-hydraulic-order > :nth-child(3) { order: 10; }
.product-lines-grid.v4-hydraulic-order > :nth-child(4) { order: 11; }
.product-lines-grid.v4-hydraulic-order > :nth-child(5) { order: 2; }
.product-lines-grid.v4-hydraulic-order > :nth-child(6) { order: 7; }
.product-lines-grid.v4-hydraulic-order > :nth-child(7) { order: 1; }
.product-lines-grid.v4-hydraulic-order > :nth-child(8) { order: 5; }
.product-lines-grid.v4-hydraulic-order > :nth-child(9) { order: 6; }
.product-lines-grid.v4-hydraulic-order > :nth-child(10) { order: 8; }
.product-lines-grid.v4-hydraulic-order > :nth-child(11) { order: 12; }
.product-lines-grid.v4-hydraulic-order > :nth-child(12) { order: 9; }

.product-lines-grid.v35-pneumatic-order > :nth-child(1) { order: 2; }
.product-lines-grid.v35-pneumatic-order > :nth-child(2) { order: 1; }
.product-lines-grid.v35-pneumatic-order > :nth-child(3) { order: 3; }
.product-lines-grid.v35-pneumatic-order > :nth-child(4) { order: 4; }
.product-lines-grid.v35-pneumatic-order > :nth-child(5) { order: 5; }

.site-search {
  position: relative;
}

.site-search-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.site-search-toggle:hover,
.site-search.open .site-search-toggle {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.48);
}

.site-search-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid rgba(13,27,62,.12);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(6,14,32,.28);
  padding: 12px;
  display: none;
  z-index: 2100;
}

.site-search.open .site-search-panel {
  display: block;
}

.site-search-form {
  display: grid;
  grid-template-columns: 1fr 122px 44px;
  gap: 8px;
}

.site-search-form input,
.site-search-form select {
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  font: 700 .82rem 'Montserrat', sans-serif;
  color: var(--navy);
  outline: none;
}

.site-search-form button {
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-search-hint {
  margin-top: 8px;
  font-size: .72rem;
  color: var(--text-muted);
}

.scroll-cue {
  position: fixed;
  right: 32px;
  bottom: 104px;
  z-index: 998;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(232,93,4,.34);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition);
}

.scroll-cue:hover {
  transform: translateY(-2px);
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-cue svg {
  transition: transform var(--transition);
}

.scroll-cue.is-up svg {
  transform: rotate(180deg);
}

.footer-map-card {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
}

.footer-map-card iframe {
  display: block;
  width: 100%;
  min-height: 172px;
  border: 0;
  filter: saturate(.92);
}

.footer-map-card a {
  display: block;
  padding: 11px 12px;
  color: rgba(255,255,255,.78);
  font: 800 .68rem 'Montserrat', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.footer-map-card a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.client-logo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 30px;
}

.client-logo-card {
  height: 116px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(13,27,62,.06);
}

.client-logo-card img {
  width: 100%;
  max-width: 172px;
  height: 66px;
  max-height: 66px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.client-logo-card--petrobras {
  padding-inline: 10px;
}

.client-logo-card--petrobras img {
  max-width: 190px;
  height: 54px;
  max-height: 54px;
}

.clients-row--sectors .sectors-wrap {
  align-items: center;
}

.clients-row--sectors .sector-tags {
  justify-content: center;
}

@media (min-width: 1180px) {
  .client-logo-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.cert-qr-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  color: var(--navy);
}

.hero-content .cert-qr-card {
  margin: 0 0 30px;
}

.cert-qr-card img {
  width: 214px;
  max-width: 42vw;
  height: auto;
  display: block;
}

.cert-home-grid {
  display: grid;
  gap: 18px;
}

.cert-home-card {
  display: grid;
  grid-template-columns: minmax(146px, 190px) 1fr;
  gap: 22px;
  align-items: center;
  min-height: 148px;
  padding: 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--light);
  box-shadow: 0 8px 28px rgba(13,27,62,.08);
}

.cert-home-card img {
  width: 132px;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.cert-home-card .tuv-cert-logo {
  width: 190px;
  max-height: 108px;
}

.cert-home-card .onip-cert-logo {
  width: 190px;
  max-height: 108px;
}

.cert-home-card .crcc-cert-logo {
  width: 190px;
  max-height: 96px;
}

.cert-home-card strong {
  display: block;
  font: 800 1rem 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

.cert-home-card span {
  display: block;
  margin-top: 6px;
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.onip-cert-logo {
  object-fit: contain;
  background: #fff;
  filter: none !important;
}

.cert-qr-label {
  font: 800 .72rem 'Montserrat', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.cert-qr-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cert-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cert-hero-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(12px);
}

.cert-hero-item img {
  width: 164px;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
}

.cert-hero-item .onip-cert-logo--hero {
  width: 164px;
  height: 78px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.7);
}

.cert-hero-item .crcc-cert-logo--hero {
  width: 164px;
  height: 82px;
  padding: 4px;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.7);
}

.cert-hero-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  line-height: 1.2;
}

.cert-hero-item span {
  display: block;
  margin-top: 3px;
  font-size: .76rem;
  color: rgba(255,255,255,.78);
}

.cert-hero-badge {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}

.cert-card-logo.cert-qr-logo {
  height: auto;
  margin-bottom: 18px;
}

.cert-card-logo.cert-qr-logo img {
  width: min(320px, 100%);
  max-width: 320px;
  max-height: none;
  filter: none;
}

.cert-card-logo .onip-cert-logo {
  width: min(320px, 100%);
  max-width: 320px;
  max-height: 180px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(13,27,62,.08);
}

.cert-card-logo .crcc-cert-logo {
  width: min(320px, 100%);
  max-width: 320px;
  max-height: 180px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(13,27,62,.08);
}

.cert-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cert-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: #fff;
  font: 800 .74rem 'Montserrat', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cert-download-link:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,93,4,.28);
}

@media (max-width: 560px) {
  .cert-home-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.cert-validation-note {
  margin-top: 22px;
  padding: 18px;
  border-radius: 12px;
  background: var(--light);
  border: 1.5px solid var(--border);
  text-align: left;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.cert-validation-note strong {
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.catalog-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.catalog-card--compact {
  min-height: 112px;
  align-items: center;
}

.catalog-card--compact .catalog-label {
  margin-bottom: 0;
  font-size: .78rem;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.catalog-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.catalog-label {
  font: 800 .62rem 'Montserrat', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.catalog-title {
  font: 800 .98rem 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.25;
}

.catalog-desc {
  margin-top: 7px;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.catalog-approval-notice {
  max-width: 920px;
  margin: 24px auto 28px;
  padding: 14px 18px;
  border: 1px solid rgba(232, 93, 4, .28);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: rgba(232, 93, 4, .06);
  color: var(--navy);
  font-size: .82rem;
  line-height: 1.55;
  text-align: left;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* Preserve the approved PCL palette while meeting WCAG contrast for white text. */
.btn-primary {
  background: #c44d00;
  border-color: #c44d00;
}

.btn-primary:hover {
  background: #9e3d00;
  border-color: #9e3d00;
}

#trust,
.portfolio-trust {
  background: #c44d00;
}

.footer-tagline {
  color: #a8adb7;
}

.footer-copy,
.footer-bottom-links a {
  color: #a8adb7;
}

@media (max-width: 900px) {
  .site-search { display: none; }
  .nav-logo img,
  #navbar.scrolled .nav-logo img,
  #navbar.solid .nav-logo img {
    width: auto;
    height: 72px;
    max-height: 72px;
  }

  .footer-brand-logo {
    height: 82px;
    max-height: 82px;
  }
}

@media (max-width: 560px) {
  .nav-logo img,
  #navbar.scrolled .nav-logo img,
  #navbar.solid .nav-logo img {
    height: 66px;
    max-height: 66px;
  }

  .page-header h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.08;
  }

  .page-header h1 em {
    display: block;
  }

  .engineering-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .how-step {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .how-step-img-wrap {
    transform: none !important;
    margin-bottom: 34px !important;
  }

  .scroll-cue {
    right: 20px;
    bottom: 92px;
    width: 44px;
    height: 44px;
  }

  .cert-qr-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cert-qr-card img {
    max-width: 100%;
    width: 220px;
  }
}

@media (max-width: 360px) {
  #navbar .container,
  #hero > .container {
    width: calc(100% - 24px);
  }

  #navbar .nav-inner,
  #navbar .nav-right {
    gap: 4px;
  }

  .nav-logo img,
  #navbar.scrolled .nav-logo img,
  #navbar.solid .nav-logo img {
    height: 54px;
    max-height: 54px;
  }

  #navbar .lang-switcher {
    gap: 0;
    padding: 2px;
  }

  #navbar .lang-btn {
    min-width: 28px;
    min-height: 28px;
    padding: 5px 6px;
    font-size: 0;
  }

  #navbar .lang-btn .flag {
    margin-right: 0;
    font-size: .78rem;
  }

  #navbar .hamburger {
    padding: 4px;
  }

  #hero .hero-title {
    font-size: 2.05rem;
  }

  #hero .hero-title .line-highlight {
    white-space: normal;
  }

  #hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .scroll-cue {
    display: none;
  }

  .wa-float {
    right: 12px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
