/* =========================================================
   PORGUI — Borrachas e Plásticos
   Sistema de design
   Paleta extraída do logótipo:
     Vermelho PORGUI  #B31316
     Azul PORGUI      #015E8D
     Tinta            #14181C
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* Cor */
  --red:        #B31316;
  --red-dark:   #8E0E11;
  --blue:       #015E8D;
  --blue-dark:  #014A70;
  --ink:        #14181C;
  --graphite:   #3B4046;
  --steel:      #E7EAEC;
  --steel-line: #D3D8DB;
  --paper:      #FAFAF9;
  --rubber:     #16181A;
  --white:      #FFFFFF;

  /* Tipografia */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --header-h: 76px;
  --nav-h: 52px;
  --container: 1220px;
  --radius: 2px;

  /* Movimento */
  --ease: cubic-bezier(.4,0,.2,1);
}

@media (max-width: 720px){
  :root{ --header-h: 64px; --nav-h: 48px; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-family: var(--f-body);
  color: var(--graphite);
  background: var(--paper);
  padding-top: calc(var(--header-h) + var(--nav-h));
  -webkit-font-smoothing: antialiased;
}

main{ flex: 1 0 auto; }

h1,h2,h3,h4{
  font-family: var(--f-display);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1{ font-weight:600; }
h2{ font-weight:600; }
h3{ font-weight:500; }
p{ margin: 0 0 1em; line-height: 1.65; }
a{ color: var(--blue); text-decoration:none; }
a:hover{ color: var(--red); }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible{
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.eyebrow{
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  display:flex;
  align-items:center;
  gap:.6em;
  margin-bottom: .9em;
}
.eyebrow::before{
  content:"";
  width: 28px; height: 2px;
  background: var(--red);
  display:inline-block;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family: var(--f-display);
  font-weight:600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor:pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover{ background: var(--ink); color: var(--white); }
.btn-solid{ background: var(--red); border-color: var(--red); color: var(--white); }
.btn-solid:hover{ background: var(--red-dark); border-color: var(--red-dark); color:var(--white); }
.btn-ghost-light{ border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost-light:hover{ background: var(--white); color: var(--ink); }

/* =========================================================
   Marca registada visual: moldura de canto tipo desenho técnico
   ========================================================= */
.tech-frame{ position:relative; }
.tech-frame::before, .tech-frame::after,
.tech-frame > .tf-tr, .tech-frame > .tf-bl{
  content:"";
  position:absolute;
  width: 22px; height: 22px;
  pointer-events:none;
  z-index:2;
}
.tech-frame::before{ /* top-left */
  top:-1px; left:-1px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}
.tech-frame::after{ /* bottom-right */
  bottom:-1px; right:-1px;
  border-bottom: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
}

.ruler{
  height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--steel-line) 0 1px, transparent 1px 24px);
  background-position: center;
  background-repeat: repeat-x;
  background-size: 100% 14px;
  position: relative;
  margin: 0;
}
.ruler::after{
  content:"";
  position:absolute; left:0; right:0; top:6px;
  height:1px; background: var(--steel-line);
}

/* =========================================================
   Cabeçalho fixo
   ========================================================= */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--steel-line);
  z-index: 100;
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand img{ height: 46px; width:auto; }

.header-contacts{
  display:flex;
  align-items:center;
  gap: 28px;
  font-family: var(--f-mono);
  font-size: .88rem;
  color: var(--graphite);
}
.header-contacts a{ color: var(--graphite); display:flex; align-items:center; gap:.5em; white-space:nowrap; }
.header-contacts a:hover{ color: var(--red); }
.header-contacts svg{ width:16px; height:16px; flex-shrink:0; }

.search-toggle{
  flex-shrink:0;
  width:44px; height:44px;
  border-radius:50%;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.search-toggle:hover{ background: var(--red); border-color: var(--red); color:var(--white); }
.search-toggle svg{ width:19px; height:19px; }

/* =========================================================
   Barra de menu fixa
   ========================================================= */
.site-nav{
  position: fixed;
  top: var(--header-h);
  left:0; right:0;
  height: var(--nav-h);
  background: var(--ink);
  z-index: 99;
}
.nav-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.nav-list{
  display:flex;
  align-items:center;
  height:100%;
}
.nav-list a{
  display:flex;
  align-items:center;
  height:100%;
  padding: 0 20px;
  color: rgba(255,255,255,.82);
  font-family: var(--f-display);
  font-size: .92rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight:500;
  border-bottom: 3px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nav-list a:hover{ color: var(--white); border-color: var(--blue); }
.nav-list a.active{ color: var(--white); border-color: var(--red); background: rgba(255,255,255,.05); }

.nav-toggle{
  display:none;
  width: 40px; height: 40px;
  background:transparent; border:none;
  color: var(--white);
  cursor:pointer;
  align-items:center; justify-content:center;
}
.nav-toggle svg{ width:24px; height:24px; }

/* =========================================================
   Pesquisa (overlay)
   ========================================================= */
.search-overlay{
  position: fixed;
  inset:0;
  background: rgba(20,24,28,.92);
  z-index: 200;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding: 12vh 20px 40px;
  opacity:0;
  visibility:hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.search-overlay.is-open{ opacity:1; visibility:visible; }
.search-box{
  width:100%;
  max-width: 680px;
}
.search-field{
  display:flex;
  align-items:center;
  gap:14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 8px 8px 20px;
  border: 2px solid var(--red);
}
.search-field svg{ width:20px; height:20px; color: var(--graphite); flex-shrink:0; }
.search-field input{
  flex:1;
  border:none; outline:none;
  font-family: var(--f-body);
  font-size: 1.05rem;
  padding: 12px 0;
  color: var(--ink);
  background:transparent;
}
.search-close{
  width:40px; height:40px;
  border-radius:50%;
  border:none;
  background: var(--steel);
  color: var(--ink);
  font-size: 1.3rem;
  line-height:1;
  cursor:pointer;
  flex-shrink:0;
}
.search-hint{
  color: rgba(255,255,255,.55);
  font-family: var(--f-mono);
  font-size: .78rem;
  margin: 10px 2px 0;
}
.search-results{
  margin-top: 18px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 50vh;
  overflow-y:auto;
}
.search-results a{
  display:block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--steel-line);
  color: var(--ink);
}
.search-results a:last-child{ border-bottom:none; }
.search-results a:hover{ background: var(--steel); }
.search-results .sr-title{ font-family: var(--f-display); font-weight:600; text-transform:uppercase; font-size:.95rem; letter-spacing:.02em; }
.search-results .sr-meta{ font-family: var(--f-mono); font-size:.76rem; color: var(--blue); margin-top:2px; }
.search-results .sr-empty{ padding: 22px 20px; color: var(--graphite); font-style: italic; }
mark{ background: rgba(179,19,22,.16); color: var(--red-dark); border-radius:1px; }

/* =========================================================
   Carrossel (Home)
   ========================================================= */
.carousel{
  position: relative;
  width:100%;
  height: min(62vh, 620px);
  min-height: 340px;
  overflow: hidden;
  background: var(--ink);
}
.carousel-track{
  display:flex;
  height:100%;
  transition: transform .7s var(--ease);
}
.carousel-slide{
  position:relative;
  min-width:100%;
  height:100%;
}
.carousel-slide img{
  width:100%; height:100%;
  object-fit: cover;
  object-position: center;
}
.carousel-slide .slide-copy{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 40px 6vw 56px;
  background: linear-gradient(0deg, rgba(10,14,18,.86) 0%, rgba(10,14,18,.35) 55%, transparent 100%);
  color: var(--white);
}
.slide-copy .eyebrow{ color: #ff8a8c; }
.slide-copy .eyebrow::before{ background: #ff8a8c; }
.slide-copy h2{ color: var(--white); font-size: clamp(1.5rem, 4vw, 2.6rem); max-width: 720px; }
.slide-copy p{ max-width: 560px; color: rgba(255,255,255,.85); font-size: 1rem; }

.carousel-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px;
  border-radius:50%;
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(20,24,28,.35);
  color: var(--white);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:5;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.carousel-arrow:hover{ background: var(--red); border-color: var(--red); }
.carousel-arrow.prev{ left: 20px; }
.carousel-arrow.next{ right: 20px; }
.carousel-arrow svg{ width:20px; height:20px; }

.carousel-dots{
  position:absolute;
  bottom: 18px; left:50%; transform:translateX(-50%);
  display:flex; gap:10px;
  z-index:5;
}
.carousel-dots button{
  width:10px; height:10px;
  border-radius:50%;
  border: 2px solid var(--white);
  background: transparent;
  padding:0;
  cursor:pointer;
  transition: background .2s var(--ease);
}
.carousel-dots button.active{ background: var(--white); }

@media (max-width: 720px){
  .carousel{ height: 66vh; min-height:420px; }
  .carousel-arrow{ width:38px; height:38px; }
  .slide-copy p{ display:none; }
}

/* =========================================================
   Secções gerais
   ========================================================= */
.section{ padding: clamp(48px, 7vw, 96px) 0; }
.section-alt{ background: var(--steel); }
.section-dark{ background: var(--ink); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3{ color: var(--white); }

.section-head{ max-width: 720px; margin-bottom: 40px; }

.grid{ display:grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.card{
  background: var(--white);
  padding: 28px;
  border: 1px solid var(--steel-line);
  position:relative;
}
.card .card-icon{
  width:44px; height:44px;
  margin-bottom: 18px;
  color: var(--blue);
}
.card h3{ font-size: 1.05rem; }
.card p{ font-size: .93rem; margin-bottom:0; color: var(--graphite); }

.spec-code{
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--blue);
  letter-spacing: .04em;
}

.hero-page{
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: clamp(56px,8vw,100px) 0;
  position:relative;
  overflow:hidden;
}
.hero-page::after{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 46px);
  pointer-events:none;
}
.hero-page h1{ color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); }
.hero-page .lead{ max-width: 640px; font-size: 1.1rem; color: rgba(255,255,255,.75); }

.stat-row{ display:flex; flex-wrap:wrap; gap: clamp(24px,5vw,56px); margin-top: 8px; }
.stat{ font-family: var(--f-display); }
.stat .num{ font-size: clamp(1.8rem,3vw,2.6rem); color: var(--red); font-weight:600; display:block; }
.stat .label{ font-family: var(--f-mono); font-size:.78rem; color: rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.06em; }
.section-dark .stat .label{ color: rgba(255,255,255,.6); }
:root .stat .label{ }
.hero-page .stat .label{ color: rgba(255,255,255,.6); }
.stats-light .stat .num{ color: var(--red); }
.stats-light .stat .label{ color: var(--graphite); }

table.data-table{ width:100%; border-collapse: collapse; font-size:.92rem; }
.data-table th, .data-table td{ text-align:left; padding: 12px 16px; border-bottom: 1px solid var(--steel-line); }
.data-table th{ font-family: var(--f-display); text-transform:uppercase; letter-spacing:.04em; font-size:.8rem; color: var(--ink); background: var(--steel); }
.data-table td.mono{ font-family: var(--f-mono); font-size:.82rem; color: var(--blue); }

.cta-band{
  background: var(--red);
  color: var(--white);
  padding: clamp(36px,5vw,56px) 0;
  text-align:center;
}
.cta-band h2{ color: var(--white); margin-bottom:.3em; }
.cta-band p{ color: rgba(255,255,255,.85); margin-bottom: 1.6em; }

/* Formulário de contacto */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full{ grid-column: 1 / -1; }
@media (max-width:640px){ .form-grid{ grid-template-columns: 1fr; } }
label{ display:block; font-family: var(--f-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color: var(--ink); margin-bottom:6px; }
input, textarea, select{
  width:100%;
  font-family: var(--f-body);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--steel-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus, select:focus{ border-color: var(--blue); outline:none; }
textarea{ resize: vertical; min-height: 130px; }

.map-frame{ border:0; width:100%; height:340px; filter: grayscale(.15); }

/* =========================================================
   Rodapé
   ========================================================= */
.site-footer{
  background: var(--rubber);
  color: rgba(255,255,255,.7);
  flex-shrink:0;
}
.footer-top{
  display:grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 32px;
  align-items:start;
  padding: 44px 0 32px;
}
.footer-brand{ font-family: var(--f-display); color: var(--white); }
.footer-brand strong{ color: var(--red); font-size: 1.15rem; letter-spacing:.02em; }
.footer-brand .sub{ display:block; font-family: var(--f-body); font-weight:400; font-size:.85rem; color: rgba(255,255,255,.55); margin-top:4px; text-transform:none; letter-spacing:0; }

.footer-contacts{ text-align:center; font-size: .92rem; }
.footer-contacts address{ font-style:normal; line-height:1.7; }
.footer-contacts .fc-line{ line-height:1.7; }
.footer-contacts a{ color: rgba(255,255,255,.8); }
.footer-contacts a:hover{ color: var(--white); }
.footer-contacts .fc-title{ font-family: var(--f-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color: rgba(255,255,255,.4); margin-bottom:8px; }

.footer-social{ display:flex; gap:14px; justify-content:flex-end; }
.footer-social a{
  width:40px; height:40px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.85);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover{ background: var(--red); border-color: var(--red); color: var(--white); }
.footer-social svg{ width:19px; height:19px; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align:center;
  font-family: var(--f-mono);
  font-size: .74rem;
  color: rgba(255,255,255,.4);
}

@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr; text-align:center; gap:26px; }
  .footer-contacts{ order:2; }
  .footer-social{ order:3; justify-content:center; }
  .footer-brand{ order:1; }
}

/* =========================================================
   Mobile: cabeçalho / menu
   ========================================================= */
@media (max-width: 900px){
  .header-contacts{ display:none; }
}
@media (max-width: 720px){
  .brand img{ height: 38px; }
  .search-toggle{ width:38px; height:38px; }

  .nav-toggle{ display:flex; }
  .nav-list{
    position:fixed;
    top: calc(var(--header-h) + var(--nav-h));
    left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    height:auto;
    background: var(--ink);
    max-height: calc(100vh - var(--header-h) - var(--nav-h));
    overflow-y:auto;
    transform: translateY(-8px);
    opacity:0;
    visibility:hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-list.is-open{ opacity:1; visibility:visible; transform: translateY(0); }
  .nav-list a{ height:auto; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.08); border-left:3px solid transparent; }
  .nav-list a.active{ border-bottom: 1px solid rgba(255,255,255,.08); border-left-color: var(--red); }
}


/* v10 — Navegação interna, tabela ordenável e imagens compactas no título */
.industry-catalog-section{background:var(--paper)}.industry-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:34px;align-items:start}.industry-sidebar{background:var(--white);border:1px solid var(--steel-line);position:sticky;top:calc(var(--header-h) + var(--nav-h) + 18px);max-height:calc(100vh - var(--header-h) - var(--nav-h) - 36px);overflow-y:auto}.industry-sidebar h2{margin:0;padding:18px 20px;color:var(--white);background:var(--ink);font-size:1.25rem}.industry-sidebar nav{padding:8px 0}.industry-menu-item{width:100%;display:block;text-align:left;padding:11px 18px;border:0;border-left:4px solid transparent;border-bottom:1px solid var(--steel-line);background:transparent;color:var(--graphite);font-family:var(--f-body);font-size:.92rem;cursor:pointer;transition:background .18s var(--ease),color .18s var(--ease),border-color .18s var(--ease)}.industry-menu-item:hover{background:var(--steel);color:var(--red)}.industry-menu-item.active{background:rgba(179,19,22,.08);border-left-color:var(--red);color:var(--ink);font-weight:700}.industry-content{background:var(--white);border:1px solid var(--steel-line);padding:clamp(24px,4vw,42px);min-height:560px}.industry-content-head{max-width:100%;margin-bottom:28px}.industry-content-head h2{font-size:clamp(1.55rem,3vw,2.3rem)}.industry-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.industry-title-copy{min-width:0}.industry-title-images{display:flex;align-items:flex-start;gap:12px;flex-shrink:0}.industry-title-thumb{width:96px;height:82px;background:var(--white);border:1px solid var(--steel-line);padding:6px;object-fit:contain}.industry-title-thumb.med{width:74px;height:96px}.industry-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.industry-product-card{margin:0;background:var(--paper);border:1px solid var(--steel-line);padding:14px;color:inherit;display:block;text-align:left;font:inherit}button.industry-product-card{cursor:pointer}.industry-product-link{transition:transform .18s var(--ease),border-color .18s var(--ease),box-shadow .18s var(--ease)}.industry-product-link:hover{transform:translateY(-3px);border-color:var(--red);box-shadow:0 12px 26px rgba(20,24,28,.10)}.industry-product-visual{aspect-ratio:4/3;background:var(--white);display:flex;align-items:center;justify-content:center;overflow:hidden}.industry-product-visual img{width:100%;height:100%;object-fit:contain}.industry-product-card figcaption{margin-top:12px;font-family:var(--f-display);color:var(--ink);text-transform:uppercase;letter-spacing:.03em;font-size:.95rem}.industry-back-row{margin-bottom:20px}.sortable-table-wrap{overflow-x:auto;border:1px solid var(--steel-line);background:var(--white)}.sortable-table{width:100%;border-collapse:collapse;font-size:.9rem}.sortable-table th,.sortable-table td{padding:12px 14px;border-bottom:1px solid var(--steel-line);text-align:left;white-space:nowrap}.sortable-table th{background:var(--ink);color:var(--white);font-family:var(--f-display);text-transform:uppercase;letter-spacing:.04em;font-size:.82rem;cursor:pointer;user-select:none}.sortable-table th:hover{background:var(--red)}.sortable-table th .sort-mark{font-family:var(--f-mono);font-size:.72rem;margin-left:6px;color:rgba(255,255,255,.8)}.sortable-table tbody tr:nth-child(even){background:var(--paper)}.sortable-table tbody tr:hover{background:rgba(1,94,141,.08)}@media(max-width:1080px){.industry-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.industry-layout{grid-template-columns:1fr}.industry-sidebar{position:relative;top:auto;max-height:360px}.industry-title-row{flex-direction:column}.industry-title-images{margin-top:-8px}}@media(max-width:520px){.industry-products-grid{grid-template-columns:1fr}.industry-title-thumb{width:82px;height:70px}.industry-title-thumb.med{width:64px;height:82px}}

/* v11 — Hover nas imagens compactas do título */
.industry-title-thumb{
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  transform-origin: center;
  cursor: zoom-in;
}
.industry-title-thumb:hover{
  transform: scale(1.35);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(20,24,28,.18);
  z-index: 5;
  position: relative;
}


/* v13 — Botão para gerar PDF da página Apoios Redondos PP */
.pdf-button{ margin-top: 8px; }

@media print{
  @page{ size: A4 landscape; margin: 12mm; }
  body{ padding-top:0 !important; background:#fff !important; color:#14181C !important; }
  .site-header{ position:static !important; height:auto !important; border-bottom:2px solid #D3D8DB !important; margin-bottom:10px !important; }
  .header-inner{ height:auto !important; padding:10px 0 !important; }
  .brand img{ height:42px !important; }
  .site-nav,.search-toggle,.header-contacts,.industry-sidebar,.industry-back-row,.pdf-button,.site-footer,.ruler,.search-overlay{ display:none !important; }
  .container{ max-width:none !important; width:100% !important; padding:0 !important; }
  .section{ padding:0 !important; }
  .industry-layout{ display:block !important; }
  .industry-content{ border:0 !important; padding:0 !important; min-height:0 !important; }
  .industry-content-head{ margin-bottom:12px !important; }
  .industry-title-row{ display:flex !important; align-items:flex-start !important; justify-content:space-between !important; gap:16px !important; }
  .industry-title-images{ display:flex !important; gap:8px !important; }
  .industry-title-thumb{ width:70px !important; height:58px !important; transform:none !important; box-shadow:none !important; }
  .industry-title-thumb.med{ width:54px !important; height:70px !important; }
  .spec-code{ margin-bottom:4px !important; }
  #industryTitle{ font-size:24px !important; margin-bottom:6px !important; }
  #industryDescription{ font-size:11px !important; margin-bottom:6px !important; }
  .sortable-table-wrap{ overflow:visible !important; border:1px solid #D3D8DB !important; }
  .sortable-table{ font-size:8.2px !important; page-break-inside:auto !important; }
  .sortable-table th,.sortable-table td{ padding:4px 5px !important; white-space:nowrap !important; }
  .sortable-table th{ background:#14181C !important; color:#fff !important; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .sortable-table tr{ page-break-inside:avoid; page-break-after:auto; }
  .sort-mark{ display:none !important; }
}

/* v14 — Botão PDF alinhado à direita na linha de ações */
.pp-actions-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
/* Catálogo técnico — Batentes Cais */
.bc-catalog-intro{margin:0 0 4px;color:#5c6670;font-size:.96rem}
.industry-product-card.bc-technical-card{min-height:305px;align-items:stretch}
.bc-technical-visual{height:235px!important;background:#fff!important;padding:10px;border-bottom:1px solid #e6e9ed}
.bc-technical-visual img{width:100%!important;height:100%!important;object-fit:contain!important;mix-blend-mode:multiply}
@media (max-width:650px){.industry-product-card.bc-technical-card{min-height:280px}.bc-technical-visual{height:205px!important}}

/* Batentes Cais: uma referência por bloco, com descrição seguida do respetivo desenho. */
.industry-products-grid:has(.bc-product-row){grid-template-columns:1fr;gap:14px}
.bc-product-row{margin:0;display:block;background:var(--paper);border:1px solid var(--steel-line);box-shadow:0 2px 7px rgba(20,24,28,.05);overflow:hidden}
.bc-product-description{padding:18px 22px 14px;border-bottom:1px solid var(--steel-line);background:var(--white)}
.bc-product-ref{display:block;margin-bottom:6px;color:var(--red);font-family:var(--f-display);font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.bc-product-description h3{margin:0;color:var(--ink);font-family:var(--f-display);font-size:1.05rem;letter-spacing:.02em;text-transform:uppercase}
.bc-product-description p{margin:7px 0 0;color:var(--graphite);font-size:.88rem}
.bc-product-drawing{min-height:265px;padding:16px 22px;background:#fff;display:flex;align-items:center;justify-content:center}
.bc-product-drawing img{display:block;width:100%;max-width:760px;max-height:390px;object-fit:contain;mix-blend-mode:multiply}
@media(max-width:650px){.bc-product-description{padding:15px 16px 12px}.bc-product-drawing{min-height:190px;padding:12px}.bc-product-description h3{font-size:.95rem}}
