/* ==========================================================================
   tintas-flexograficas-page.css
   Estilos específicos da página Nossos Produtos (tintas-flexograficas.html)
   ========================================================================== */

/* ── Banner interno ──────────────────────────────────────────────────────── */
.page-banner {
  background-color: var(--banner-bg);
  background-image: url('imagens/topo-produtos.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1,20,63,0.92) 40%, rgba(1,20,63,0.3) 100%);
}
.page-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--branco);
  margin-bottom: 14px;
}
.page-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  line-height: 1.6;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.tf-breadcrumb {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.tf-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.tf-breadcrumb a:hover { color: var(--azul-claro); }
.tf-breadcrumb span { color: var(--azul-claro); }

/* ── Aviso de nicho ──────────────────────────────────────────────────────── */
.tf-niche {
  background: #f0f4fb;
  border: 1px solid #d0daf0;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 36px 0;
}
.tf-niche__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #003078;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}
.tf-niche p {
  font-size: 0.92rem;
  color: var(--cor-corpo-texto);
  line-height: 1.6;
  font-weight: 500;
}
.tf-niche p strong { color: #003078; }

/* ── Seções de produto ───────────────────────────────────────────────────── */
.tf-products {
  background: var(--branco);
  padding: 0 0 60px;
}

.tf-product {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .tf-product {
    flex-direction: row;
    min-height: 320px;
  }
}

/* Foto lateral — 280px fixo */
.tf-product__img {
  flex: 0 0 280px;
  width: 280px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}
.tf-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tf-product:hover .tf-product__img img { transform: scale(1.04); }

/* Coluna central — 50% do espaço restante */
.tf-product__main {
  flex: 1 1 0;
  padding: 28px 24px;
  border-right: 1px solid var(--borda);
  min-width: 0;
}

.tf-product__main h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #003078;
  margin-bottom: 2px;
  line-height: 1.2;
}
.tf-product__main h2 + p.tf-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: #003078;
  margin-bottom: 14px;
}
.tf-product__main .tf-desc {
  font-size: 0.88rem;
  color: var(--texto-cinza);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Sublinha dentro da coluna central */
.tf-subitem {
  margin-bottom: 10px;
}
.tf-subitem strong {
  display: block;
  font-size: 0.88rem;
  color: var(--cor-corpo-texto);
  margin-bottom: 2px;
}
.tf-subitem span {
  font-size: 0.84rem;
  color: var(--texto-cinza);
  font-weight: 500;
  line-height: 1.5;
}

/* Coluna lateral direita — 50% do espaço restante */
.tf-product__side {
  flex: 1 1 0;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.tf-side-item {
  margin-bottom: 14px;
}
.tf-side-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--cor-corpo-texto);
  font-weight: 700;
  margin-bottom: 3px;
}
.tf-side-item span {
  font-size: 0.82rem;
  color: var(--texto-cinza);
  font-weight: 500;
  line-height: 1.5;
}

/* Botão solicitar orçamento */
.tf-product__side .btn-orcamento {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #003078;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: auto;
  white-space: nowrap;
}
.tf-product__side .btn-orcamento:hover {
  background: var(--azul-claro);
  color: #003078;
  transform: translateY(-1px);
}

/* Mobile: side vira linha embaixo */
@media (max-width: 767px) {
  .tf-product__main { border-right: none; border-bottom: 1px solid var(--borda); }
  .tf-product__side { flex: none; padding: 20px 24px; }
  .tf-product__side .btn-orcamento { width: 100%; }
}

/* ── Âncoras com offset do header fixo ──────────────────────────────────── */
#base-agua,
#ultra-violeta,
#tintas-especiais,
#aditivos {
  scroll-margin-top: 110px;
}
