@font-face{
font-family: BarlowRegular;
src: url(../font/BarlowCondensed-Regular.ttf)
}
@font-face{
font-family: BarlowBlack;
src: url(../font/BarlowCondensed-Black.ttf)
}
@font-face{
font-family: BarlowExtraBold;
src: url(../font/BarlowCondensed-ExtraBold.ttf)
}

/* ── RESET GLOBAL — evita scroll horizontal ── */
*, *::before, *::after {
  box-sizing: border-box;
}

/* CORRETO — só no body */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden; /* ← só aqui */
  max-width: 100%;
  margin: 0;
  font-family: BarlowRegular;
}

:target {
  scroll-margin-top: 5em;
}

/* ── SCROLL TO TOP ── */
#subirTopo {
    font-size: 1rem;
    text-decoration: none;
    background: #e8f5f9;
    border: 1px solid #060040;
    bottom: 15px;
    right: 20px;
    text-align: center;
    cursor: pointer;
    padding: 15px;
    text-transform: uppercase;
    position: fixed;
    border-radius: 50%;
    opacity: .8;
    z-index: 2;
}
#subirTopo:hover { opacity: 1; }

/* ── WHATSAPP FLOAT ── */
#whatss {
    text-decoration: none;
    background: #4ec200;
    bottom: 75px;
    right: 20px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    position: fixed;
    border-radius: 50%;
    z-index: 50;
    transition: background 0.3s ease;
}
#whatss:hover { background: #3ba100; text-decoration: none; }

/* ── NAVBAR ── */
.nav-topo {
  background: rgba(232, 245, 249, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 0, 64, 0.08);
  padding: 12px 0;
  transition: box-shadow 0.3s, padding 0.3s;
  z-index: 1030;
}

.nav-topo.scrolled {
  box-shadow: 0 4px 24px rgba(6, 0, 64, 0.1);
  padding: 8px 0;
}

.nav-link-custom {
  font-size: 14px;
  font-weight: 600;
  color: #060040 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px !important;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #0d6efd;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link-custom:hover { color: #0d6efd !important; }
.nav-link-custom:hover::after { transform: scaleX(1); }
.nav-link-custom.active { color: #0d6efd !important; }
.nav-link-custom.active::after { transform: scaleX(1); }

.nav-whats-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4ec200;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.nav-whats-btn:hover {
  background: #3ba100;
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}

.nav-whats-btn i { font-size: 16px; }

.nav-toggler-custom {
  border: 1.5px solid rgba(6, 0, 64, 0.2) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.nav-toggler-custom:hover { border-color: #0d6efd !important; }

.toggler-icon { font-size: 22px; color: #060040; line-height: 1; }
.icon-close { display: none; }
.nav-toggler-custom:not(.collapsed) .icon-open { display: none; }
.nav-toggler-custom:not(.collapsed) .icon-close { display: inline; }

/* ── NAVBAR MOBILE ── */
@media (max-width: 767px) {
  .navbar-collapse {
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(6, 0, 64, 0.08);
    box-shadow: 0 12px 40px rgba(6, 0, 64, 0.12);
    padding: 16px;
    margin-top: 12px;
    max-width: 100%;
    width: 100%;
  }
  .navbar-nav {
    gap: 4px !important;
    width: 100%;
  }
  .nav-item { width: 100%; }
  .nav-link-custom {
    font-size: 15px;
    padding: 12px 16px !important;
    border-radius: 6px;
    display: block;
    width: 100%;
    white-space: normal;
  }
  .nav-link-custom:hover { background: #f0f4fa; }
  .nav-link-custom::after { display: none; }
  .nav-whats-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    margin-top: 8px;
    border-radius: 6px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
}

/* ── BANNER ── */
.banner {
  padding-top: 100px;
  padding-bottom: 100px;
  margin-top: 80px;
  overflow: hidden;
  width: 100%;
  background:
    url('../image/textura-quimica.png'),
    linear-gradient(135deg, #060040 0%, #0D1B3E 60%, #1A3A6B 100%);
  background-blend-mode: overlay;
  background-size: auto, cover;
  background-repeat: repeat, no-repeat;
}

@media (max-width: 767px) {
  .banner {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 90px;
  }
}

.badge-banner {
    border-radius: 5px;
    border: 1px solid;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-banner i {
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.text-banner-1 {
    text-transform: uppercase;
    display: inline-block;
    font-size: 4rem;
    color: #fff;
    line-height: 0.5;
    font-family: BarlowExtraBold;
    max-width: 100%;
}
.text-banner-2 {
    text-transform: uppercase;
    font-size: 4rem;
    font-family: BarlowExtraBold;
    max-width: 100%;
    display: inline-block;
}
.text-banner-3 {
    color: #fff;
    font-size: 1.5rem;
}
.text-banner-4 { line-height: 0; }

@media (max-width: 767px) {
  .text-banner-1 { font-size: 2.8rem; line-height: 1; }
  .text-banner-2 { font-size: 2.8rem; }
  .text-banner-3 { font-size: 1.1rem; }
  .text-banner-4 { line-height: 1.4; }
}

/* ── EMPRESA / QUEM SOMOS ── */
.empresa {
    padding-top: 100px;
    padding-bottom: 100px;
    color: #060040;
    overflow: hidden;
}

@media (max-width: 767px) {
  .empresa { padding-top: 60px; padding-bottom: 60px; }
}

.text-quemsomos {
    font-size: 1.5rem;
    color: #060040;
}
.text-quemsomos-1 {
    text-transform: uppercase;
    display: inline-block;
    font-size: 4rem;
    color: #060040;
    line-height: 0.5;
    font-family: BarlowExtraBold;
    max-width: 100%;
}
.text-quemsomos-2 {
    color: #64748b;
    text-align: justify;
}

@media (max-width: 767px) {
  .text-quemsomos-1 { font-size: 2.8rem; line-height: 1; }
}

/* ── TIMELINE ── */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 28px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d6efd;
  margin-top: 10px;
  position: relative;
}

.timeline-item:not(:last-child) .timeline-dot::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 10px);
  max-height: 90px;
  background: #ccc;
}

.timeline-content b {
  display: block;
  font-size: 1.5rem;
  color: #0d1b3e;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ── IMAGENS COM BADGE ── */
.img-badge-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
  max-width: 100%;
}

.img-badge-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(3) brightness(0.6);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.img-badge-wrap:hover img {
  filter: none;
  transform: scale(1.05);
}

.img-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 0, 64, 0.85);
  border: 1px solid #06B6D4;
  color: #06B6D4;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.img-badge.top-left     { top: 12px; left: 12px; }
.img-badge.bottom-right { bottom: 12px; right: 12px; }

.img-badge i {
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── DIFERENCIAIS ── */
.diferenciais {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #060040 0%, #0D1B3E 60%, #1A3A6B 100%);
    overflow: hidden;
}

@media (max-width: 767px) {
  .diferenciais { padding-top: 60px; padding-bottom: 60px; }
}

.text-difer { font-size: 1.5rem; }

.dif-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 28px 20px;
  height: 100%;
  transition: background 0.2s;
}
.dif-card:hover { background: rgba(26, 79, 163, 0.2); }

.dif-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dif-icon i { font-size: 22px; color: #06B6D4; }

.dif-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.dif-desc {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ── SEGMENTOS ── */
.segmento {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #e8f5f9 0%, #ffffff 100%);
    overflow: hidden;
}

@media (max-width: 767px) {
  .segmento { padding-top: 60px; padding-bottom: 60px; }
}

.seg-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.seg-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 79, 163, 0.1);
}
.seg-num {
  font-size: 13px;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 0.1em;
}
.seg-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0d1b3e;
  line-height: 1.3;
}

/* ── INSTALAÇÕES ── */
.inst-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}
.inst-card-header {
  background: #0D1B3E;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.inst-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.inst-badge {
  font-size: 1rem;
  font-weight: 600;
  color: #06B6D4;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.inst-badge-warning {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
}
.inst-card-body {
  padding: 22px;
  background: #fff;
}
.inst-address {
  font-size: 1.3rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 12px 0;
}
.inst-address i { color: #2563eb; margin-right: 6px; }

.inst-metric {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
}
.inst-metric-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0D1B3E;
  line-height: 1.2;
}
.inst-metric-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.inst-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
  max-width: 100%;
}
.inst-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(3) brightness(0.6);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.inst-img-wrap:hover img { filter: none; transform: scale(1.04); }

@media (max-width: 767px) {
  .inst-img-wrap img { height: 200px; }
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  max-width: 100%;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

/* ── DEPOIMENTO ── */
.depoimento {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #060040 0%, #1A4FA3 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
  .depoimento { padding-top: 60px; padding-bottom: 60px; }
  .dep-quote { font-size: 1.2rem; }
}

.dep-stars i { color: #F59E0B; font-size: 18px; margin: 0 2px; }
.dep-quote {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}
.dep-author {
  font-size: 13px;
  font-weight: 600;
  color: #06B6D4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bg-azul  { background-color: #060040; padding: 100px; }
.bg-branco { background-color: #e8f5f9; padding: 100px; }

@media (max-width: 767px) {
  .bg-azul  { padding: 40px 20px; }
  .bg-branco { padding: 40px 20px; }
}

.text-dep-1 {
    text-transform: uppercase;
    display: inline-block;
    font-size: 4rem;
    line-height: 1;
    font-family: BarlowExtraBold;
    max-width: 100%;
}

@media (max-width: 767px) {
  .text-dep-1 { font-size: 2.8rem; }
}

/* ── CONTATO ── */
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 12px;
  max-width: 100%;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.contact-channel:hover {
  border-color: #2563eb;
  transform: translateX(4px);
}
.contact-ch-icon {
  width: 42px;
  height: 42px;
  background: #0D1B3E;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #06B6D4;
  font-size: 18px;
}
.contact-ch-label {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.contact-ch-value {
  font-size: 20px;
  font-weight: 500;
  color: #0D1B3E;
  word-break: break-word;
}

@media (max-width: 767px) {
  .contact-ch-value { font-size: 16px; }
}

.form-label-custom {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.form-input-custom {
  width: 100%;
  max-width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 18px;
  color: #0D1B3E;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-input-custom:focus { border-color: #2563eb; }

.btn-form-submit {
  width: 100%;
  background: #0D1B3E;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-form-submit:hover { background: #2563eb; }

/* ── FOOTER ── */
.footer { background: #060040; overflow: hidden; }

.footer-top-bar { background: #2563eb; padding: 14px 0; }
.footer-topbar-text { font-size: 14px; font-weight: 500; color: #fff; }
.footer-topbar-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.footer-topbar-btn:hover { opacity: 0.9; color: #2563eb; }

.footer-body { padding: 70px 0 50px; }

@media (max-width: 767px) {
  .footer-body { padding: 40px 0 30px; }
}

.footer-logo {
  height: 100px;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
  display: block;
  max-width: 100%;
}
.footer-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social-btn:hover { background: #2563eb; border-color: #2563eb; color: #fff; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #06B6D4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}
.footer-links a i { font-size: 10px; color: #2563eb; }
.footer-links a:hover { color: #fff; gap: 10px; }

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-list i { font-size: 15px; color: #06B6D4; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  word-break: break-word;
}
.footer-divider { padding: 0; }
.footer-divider-line { height: 1px; background: rgba(255, 255, 255, 0.07); }
.footer-bottom { padding: 22px 0; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.25); }
/* ── SEGMENTOS v2 – Tabs + Produtos ── */

/* Wrapper de Tabs */
.seg-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 28px;
  scrollbar-width: none;
  padding: 6px 4px 10px 4px;
}
.seg-tabs-wrapper::-webkit-scrollbar { display: none; }

.seg-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

.seg-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 28px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-align: left;
  width: 100%;
}
.seg-tab:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
}
.seg-tab.active {
  background: #0D1B3E;
  border-color: #0D1B3E;
  box-shadow: 0 8px 24px rgba(13,27,62,0.18);
}

.seg-tab-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #3b82f6;
}
.seg-tab.active .seg-tab-num {
  color: rgba(255,255,255,0.5);
}

.seg-tab-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d1b3e;
  line-height: 1.35;
}
.seg-tab.active .seg-tab-label {
  color: #fff;
}

/* Painéis */
.seg-panels {
  position: relative;
}
.seg-panel {
  display: none;
  animation: segFadeIn 0.3s ease;
}
.seg-panel.active {
  display: block;
}

@keyframes segFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header do painel */
.seg-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0D1B3E 0%, #1a3a7c 100%);
  border-radius: 12px;
  color: #fff;
}
.seg-panel-icon {
  font-size: 2rem;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 2px;
}
.seg-panel-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.seg-panel-desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

/* Grid de Produtos */
.seg-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.seg-products-grid--dense {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.seg-product-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-left: 3px solid #3b82f6;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.35;
  transition: all 0.2s ease;
  cursor: default;
}
.seg-product-card:hover {
  border-left-color: #0D1B3E;
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,99,235,0.10);
}

/* Produto card pequeno (matéria-prima) */
.seg-product-card--sm {
  padding: 10px 14px;
  font-size: 0.82rem;
}

@media (max-width: 1199px) {
  .seg-products-grid,
  .seg-products-grid--dense {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .seg-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .seg-tab {
    padding: 16px 18px;
  }
  .seg-products-grid,
  .seg-products-grid--dense {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .seg-panel-header {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }
  .seg-panel-title { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .seg-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .seg-tab {
    padding: 14px 14px;
  }
  .seg-tab-label {
    font-size: 0.92rem;
  }
  .seg-products-grid,
  .seg-products-grid--dense {
    grid-template-columns: 1fr 1fr;
  }
}