/* ═══ VME INOX HIGH-END LIGHT ARCHITECTURAL ENGINEERING DESIGN SYSTEM ═══ */
:root {
  --bg-deep: #F3F5F9;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --line-light: #E2E8F0;
  --line-strong: #CBD5E1;
  --line-accent: rgba(228, 78, 0, 0.35);
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  
  --accent: #E44E00;
  --accent-light: #FF5500;
  --accent-glow: rgba(228, 78, 0, 0.35);
  --accent-tint: #FCEEE5;
  
  --ok: #157347;
  --danger: #DC3545;
  
  --shadow-diffused: 0 20px 45px -12px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 10px 25px -5px rgba(228, 78, 0, 0.3);
  --inner-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.8);
  
  --r-card: 20px;
  --r-pill: 9999px;
  
  --fd: "Archivo", sans-serif;
  --fb: "Plus Jakarta Sans", sans-serif;
  --fm: "IBM Plex Mono", monospace;
}

/* Reset Geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #A0ACB8;
  color-scheme: light;
  font-size: 13.5px;
}

body.light-vme-theme {
  font-family: var(--fb);
  background-color: #B4BEC9;
  background-image: url('assets/brushed_steel_bg.png');
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  color: var(--text-main);
  line-height: 1.55;
  font-size: 13.5px;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--fd);
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* Telemetria Top Bar (Header de Contraste Escuro) */
.telemetry-bar {
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: .45rem 0;
  font-size: .75rem;
  font-family: var(--fm);
  color: #94A3B8;
}

.t-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.t-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t-badge {
  color: #FF7722;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.3); }
}

.t-divider {
  color: rgba(255, 255, 255, 0.2);
}

.v1-link {
  color: #FF7722;
  font-weight: 500;
  transition: opacity .2s;
}

.v1-link:hover {
  opacity: .8;
}

/* Command Header (Ilha Suspensa de Vidro Claro) */
.command-header {
  position: sticky;
  top: 1rem;
  z-index: 100;
  margin-top: .8rem;
}

.header-inner {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-diffused);
  border-radius: var(--r-pill);
  padding: .65rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* LOGO MARCANTE VME INOX LIGHT MODE */
.brand-hub {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0F172A;
  border: 1px solid #1E293B;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1);
}

.brand-hub:hover .brand-logo-mark {
  transform: rotate(15deg) scale(1.05);
}

.vme-logo-svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px rgba(255, 85, 0, 0.5));
}

.brand-title {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--text-main);
}

.orange-glow-text {
  color: var(--accent);
}

.brand-subtitle {
  display: block;
  font-family: var(--fm);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--text-muted);
  margin-top: 3px;
}

.main-menu {
  display: flex;
  gap: 1.8rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mono-num {
  font-family: var(--fm);
  font-size: .72rem;
  color: var(--accent);
}

.main-menu a {
  transition: color .2s;
  position: relative;
  padding: .3rem 0;
}

.main-menu a:hover {
  color: var(--text-main);
}

.main-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
  border-radius: 2px;
}

.main-menu a:hover::after {
  width: 100%;
}

.btn-quote-cart {
  background: linear-gradient(135deg, var(--accent), #B33D00);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1.3rem .55rem .7rem;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: var(--shadow-glow);
  transition: transform .25s cubic-bezier(0.32, 0.72, 0, 1), box-shadow .25s;
}

.btn-quote-cart:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 35px -5px rgba(228, 78, 0, 0.5);
}

.cart-icon-bg {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
}

.cart-badge {
  background: #fff;
  color: #000;
  font-family: var(--fm);
  font-weight: 700;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 12px;
}

/* HERO STAGE ARQUITETÔNICO LIGHT */
.hero-stage {
  position: relative;
  padding: 3.8rem 0 4.5rem;
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: 10%;
  left: 45%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 78, 0, 0.08) 0%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 3rem;
  align-items: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--accent-tint);
  border: 1px solid var(--line-accent);
  color: var(--accent);
  font-family: var(--fm);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.2rem;
}

.hero-main-title {
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
  color: #0F172A;
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.inox-metallic-text {
  color: #0F172A;
  border-bottom: 3px solid var(--line-strong);
}

.highlight-orange {
  color: var(--accent);
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.hero-description {
  font-size: 1.12rem;
  color: #1E293B;
  max-width: 33rem;
  margin-bottom: 2.4rem;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.hero-actions-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), #B33D00);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.8rem;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  box-shadow: var(--shadow-glow);
  transition: transform .25s cubic-bezier(0.32, 0.72, 0, 1), box-shadow .25s;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px -5px rgba(228, 78, 0, 0.55);
}

.btn-hero-ghost {
  background: #FFFFFF;
  border: 1.5px solid var(--line-strong);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 1.8rem;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: border-color .2s, transform .2s;
}

.btn-hero-ghost:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.arrow-circle, .gear-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-size: .9rem;
}

.hero-telemetry-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 2rem;
}

.t-metric {
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.m-val {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
}

.m-unit {
  color: var(--accent);
  font-size: 1.1rem;
  margin-left: 2px;
}

.m-desc {
  font-family: var(--fm);
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: .4rem;
}

/* Prancheta Técnica de Engenharia */
.board {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-diffused);
  position: relative;
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.3rem;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #FFFFFF;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  position: relative;
  z-index: 50;
}

.picker {
  position: relative;
  display: inline-block;
}

.picker-btn {
  background: #F8FAFC;
  border: 1px solid var(--line-strong);
  padding: .45rem .85rem;
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--fm);
  font-size: .78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: border-color .15s, background .15s;
}

.picker-btn b {
  color: var(--accent);
  font-weight: 700;
}

.picker-btn:hover {
  border-color: var(--accent);
  background: #FFFFFF;
}

.picker .menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: .5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  z-index: 100;
}

.picker.open .menu, .menu.open, .menu.show {
  display: block;
}

.cat {
  position: relative;
  border-radius: 8px;
}

.cat > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem .8rem;
  font-family: var(--font-main);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.cat > span::after {
  content: "›";
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.cat:hover > span, .cat.open > span {
  background: var(--accent-tint);
  color: var(--accent);
}

.cat .sub {
  position: absolute;
  left: calc(100% - 4px);
  top: -4px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  min-width: 270px;
  max-height: 320px;
  overflow-y: auto;
  padding: .4rem;
  z-index: 101;

  /* Oculto por padrão com tolerância de movimento (grace period) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 0.2s ease 0.15s, transform 0.2s ease 0.15s, visibility 0.2s ease 0.15s;
}

/* Ponte de hover invisível expandida para estabilizar o curso do mouse */
.cat .sub::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -15px;
  bottom: -15px;
  width: 30px;
  background: transparent;
  z-index: -1;
}

.cat:hover .sub, .cat.open .sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  /* Abertura imediata sem atraso */
  transition: opacity 0.12s ease 0s, transform 0.12s ease 0s, visibility 0.12s ease 0s;
}

.cat .sub button, .btn-select-peça {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-size: .82rem;
  font-weight: 500;
  padding: .6rem .85rem;
  margin-bottom: 2px;
  border-radius: 8px;
  color: var(--text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background .15s, color .15s;
}

.cat .sub button i, .btn-select-peça i {
  font-family: var(--fm);
  font-style: normal;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .15s, color .15s;
}

.cat .sub button:hover, .btn-select-peça:hover {
  background: #FFF4EC;
  color: var(--accent);
}

.cat .sub button:hover i, .btn-select-peça:hover i {
  background: var(--accent);
  color: #FFFFFF;
}

.board-stage {
  position: relative;
  padding: .5rem 1rem 0;
  background: linear-gradient(var(--line-light) 1px, transparent 1px) 0 0/28px 28px, linear-gradient(90deg, var(--line-light) 1px, transparent 1px) 0 0/28px 28px;
  background-color: #FBFCFD;
}

.board-stage svg {
  display: block;
  width: 100%;
  height: auto;
}

.board-meta {
  padding: .75rem 1.3rem;
  font-family: var(--fm);
  font-size: .78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line-light);
  background: #F8FAFC;
}

.board-tools {
  padding: 1.1rem 1.3rem 1.3rem;
  border-top: 1px solid var(--line-light);
  background: #FFFFFF;
}

.tool-row {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.fieldm {
  flex: 1;
}

.fieldm label {
  display: block;
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--text-muted);
  margin-bottom: .4rem;
  text-transform: uppercase;
}

.tool-row input {
  width: 100%;
  font-family: var(--fm);
  font-size: .95rem;
  padding: .72rem .95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  background: #F8FAFC;
  color: var(--text-main);
  outline: 0;
  transition: border-color .2s;
}

.tool-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(228, 78, 0, 0.15);
}

.conv {
  color: var(--accent);
  font-size: 1.2rem;
  padding-top: 1.2rem;
}

.tool-out {
  margin-top: .85rem;
  font-size: .86rem;
  padding: .85rem 1rem;
  border-radius: 11px;
  background: #F8FAFC;
  border: 1px dashed var(--line-strong);
  color: var(--text-muted);
  min-height: 3.3rem;
  transition: background .25s, border-color .25s;
}

.tool-out.hit {
  background: #EFF7F1;
  border-color: #BFDCC9;
  color: var(--text-main);
}

.tool-out.custom {
  background: var(--accent-tint);
  border-color: var(--line-accent);
  color: var(--text-main);
}

.tool-out b {
  font-family: var(--fm);
  font-weight: 600;
}

.tool-out .go {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 6px;
}

/* Cotas SVGs */
.dim { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.dim-ext { stroke: rgba(15, 23, 42, 0.3); stroke-width: 1; stroke-dasharray: 3 4; }
.dim-txt { font-family: var(--fm); font-size: 12px; font-weight: 600; fill: var(--accent); }
.dim-note { font-family: var(--fm); font-size: 10px; fill: var(--text-muted); letter-spacing: .04em; }

.draw {
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.1s .5s cubic-bezier(.4, 0, .2, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* TERMINAL DE COMMODITIES LIGHT */
.terminal-market-section {
  padding: 4.2rem 0;
  border-top: 1px solid var(--line-light);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-tag {
  font-family: var(--fm);
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: .15em;
  margin-bottom: .4rem;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 900;
  color: #0F172A;
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.section-desc {
  color: #1E293B;
  max-width: 28rem;
  font-size: .95rem;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.terminal-card {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: 1.2rem;
  box-shadow: var(--shadow-diffused);
}

.terminal-card-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent);
  padding-left: .8rem;
}

.term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.term-title {
  font-family: var(--fm);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-muted);
}

/* FAMÍLIAS RIBBON */
.families-ribbon {
  border-block: 1px solid var(--line-light);
  background: #FFFFFF;
}

.families-ribbon .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding: .9rem 0;
  font-family: var(--fm);
  font-size: .74rem;
  color: var(--text-muted);
}

.families-ribbon span b {
  color: var(--accent);
  margin-right: .4rem;
}

.families-ribbon span:hover {
  color: var(--text-main);
  cursor: pointer;
}

/* MATRIX BENTO CATALOG GRID */
.catalog-matrix-section {
  padding: 4.5rem 0;
}

.catalog-filter-bar {
  margin-bottom: 2rem;
}

.search-box-wrapper {
  position: relative;
  max-width: 480px;
}

.search-box-icon {
  position: absolute;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.qsearch {
  width: 100%;
  font-family: var(--fb);
  font-size: .95rem;
  padding: .9rem 1.4rem .9rem 3.2rem;
  background: #FFFFFF;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--text-main);
  outline: 0;
  transition: border-color .2s;
}

.qsearch:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(228, 78, 0, 0.15);
}

.matrix-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 2.5rem;
  overflow-x: auto;
}

.tab {
  font-size: .92rem;
  font-weight: 600;
  color: #334155;
  padding: .85rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4);
}

.tab:hover { color: #0F172A; }
.tab.on { color: #0F172A; border-color: var(--accent); }

/* GRID DE CARDS DO CATÁLOGO LIGHT */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.card {
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1), border-color .3s, box-shadow .3s;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-diffused);
}

.card-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-top .mat {
  border: 1px solid var(--line-light);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--accent);
}

.fig {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .8rem 0 .9rem;
  background: #F8FAFC;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 1.1rem;
  overflow: hidden;
  box-sizing: border-box;
}

.fig img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.08));
  transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1);
}

.card:hover .fig img {
  transform: scale(1.06);
}

.fig svg {
  max-width: 100%;
  max-height: 100%;
  width: 95px;
  height: 95px;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.1));
}

.card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .6rem;
  color: var(--text-main);
}

.specs {
  margin-bottom: 1.3rem;
  font-family: var(--fm);
  font-size: .76rem;
  color: var(--text-muted);
  display: grid;
  gap: .35rem;
}

.specs div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted var(--line-light);
  padding-bottom: .35rem;
}

.specs b { color: var(--text-main); }

.card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.no-price {
  font-family: var(--fm);
  font-size: .65rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.add {
  background: var(--text-main);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: .84rem;
  padding: .65rem 1.2rem;
  border-radius: 10px;
  transition: background .2s, transform .15s;
}

.add:hover {
  background: var(--accent);
}

.add.ok {
  background: var(--ok);
}

/* PIPELINE DE PROCESSO LIGHT */
.process-section {
  padding: 6.5rem 0;
  background: #FFFFFF;
  border-block: 1px solid var(--line-light);
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pipe-card {
  background: #F8FAFC;
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  padding: 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pipe-step-num {
  font-family: var(--fd);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
}

.pipe-icon {
  font-size: 1.5rem;
}

.pipe-card h4 {
  font-size: 1.2rem;
  margin-bottom: .6rem;
  color: var(--text-main);
}

.pipe-card p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pipe-badge {
  margin-top: auto;
  font-family: var(--fm);
  font-size: .65rem;
  color: var(--accent);
  background: var(--accent-tint);
  padding: .35rem .75rem;
  border-radius: 6px;
  width: max-content;
}

/* BENTO SPLIT SECTION LIGHT */
.bento-duo-section {
  padding: 6.5rem 0;
}

.bento-split-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 2rem;
}

.bento-card {
  border-radius: 28px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.custom-engineering-card {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: var(--shadow-diffused);
}

.card-glow-effect {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.bento-badge {
  display: inline-block;
  font-family: var(--fm);
  font-size: .72rem;
  color: #FF7722;
  letter-spacing: .15em;
  margin-bottom: 1.4rem;
}

.custom-engineering-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.custom-engineering-card p {
  color: #94A3B8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.spec-list-grid {
  display: grid;
  gap: .8rem;
  font-family: var(--fm);
  font-size: .85rem;
  color: #F8FAFC;
  margin-bottom: 2.4rem;
}

.check-mark {
  color: var(--accent);
  font-weight: 700;
  margin-right: .4rem;
}

.certificate-card {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-diffused);
}

.cert-seal {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.8rem;
}

.seal-inner {
  text-align: center;
  line-height: 1;
}

.seal-text {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.seal-sub {
  font-family: var(--fm);
  font-size: .6rem;
  color: var(--text-muted);
}

.certificate-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.certificate-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cert-footer-tag {
  font-family: var(--fm);
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: .1em;
}

/* FINAL CTA BOX LIGHT */
.final-cta-section {
  padding-bottom: 6.5rem;
}

.cta-box {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 28px;
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-diffused);
}

.cta-info h3 {
  font-size: 2rem;
  margin-bottom: .6rem;
}

.cta-info p {
  color: #94A3B8;
  font-size: 1.05rem;
}

/* RODAPÉ SITE LIGHT */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 5.5rem 0 3rem;
  font-size: .92rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-about {
  margin-top: 1.2rem;
  max-width: 24rem;
  line-height: 1.65;
}

.footer-links-col h5 {
  font-family: var(--fd);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.3rem;
}

.footer-links-col ul {
  list-style: none;
  display: grid;
  gap: .7rem;
}

.footer-links-col a:hover { color: #fff; }

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--fm);
  font-size: .75rem;
}

/* LIGHT GAVETA (DRAWER) */
.veil {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.veil.on, .veil.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(520px, 100vw);
  background: #FFFFFF;
  border-left: 1px solid var(--line-strong);
  z-index: 160;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
}

.drawer.on, .drawer.open {
  transform: translateX(0);
}

.d-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line-light);
  background: #F8FAFC;
}

.d-title {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.d-title h3 {
  font-size: 1.2rem;
  letter-spacing: .05em;
  color: var(--text-main);
}

.d-head-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-clear-cart {
  background: #F1F5F9;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-family: var(--fm);
  font-size: .74rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.btn-clear-cart:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}

.x {
  font-size: 1.3rem;
  color: var(--text-muted);
}

.d-body {
  padding: 1.8rem;
  overflow-y: auto;
  flex: 1;
}

/* CARDS DE ITENS DA COTAÇÃO NO DRAWER */
#qItems {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.q-it {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  background: #F8FAFC;
  border: 1px solid var(--line-light);
  border-radius: 14px;
}

.qi {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.qi b {
  font-size: .92rem;
  color: var(--text-main);
}

.qi span {
  font-family: var(--fm);
  font-size: .75rem;
  color: var(--text-muted);
}

.select-furação {
  margin-top: .3rem;
  padding: .25rem .6rem;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  font-family: var(--fm);
  font-size: .74rem;
  color: var(--text-main);
}

.qty {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 3px 6px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #F1F5F9;
  border: 0;
  color: var(--text-main);
  font-weight: 700;
  font-size: .9rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s;
}

.qty button:hover {
  background: var(--accent-tint);
  color: var(--accent);
}

.qty input {
  width: 38px;
  text-align: center;
  font-family: var(--fm);
  font-weight: 700;
  font-size: .88rem;
  border: 0;
  background: transparent;
  color: var(--text-main);
  outline: none;
  transition: background .15s;
}

.qty input:focus {
  background: var(--bg-deep);
  border-radius: 4px;
}

/* Remove setinhas de input do tipo number */
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty input[type=number] {
  -moz-appearance: textfield;
}

/* TELA DE SUCESSO DO DRAWER (DONE) */
.done {
  display: none;
  padding: 3rem 2rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.done.show {
  display: flex;
}

.ok-c {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EFF7F1;
  border: 2px solid #BFDCC9;
  color: #15803D;
  font-size: 2.2rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.done h4 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: .8rem;
}

.done p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 1.6rem;
}

.code-badge {
  font-family: var(--fm);
  background: var(--accent-tint);
  color: var(--accent);
  padding: .2rem .6rem;
  border-radius: 6px;
  border: 1px solid var(--line-accent);
}

.done-actions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  width: 100%;
  max-width: 320px;
}

.btn-wa-direct {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: .9rem;
  padding: .85rem 1.4rem;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: transform .2s;
}

.btn-wa-direct:hover {
  transform: translateY(-2px);
}

.btn-reset-quote {
  background: #F1F5F9;
  color: var(--text-main);
  font-weight: 700;
  font-size: .88rem;
  padding: .8rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.btn-reset-quote:hover {
  background: #E2E8F0;
}

.form-section-title {
  font-family: var(--fm);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--accent);
  margin: 1.6rem 0 1rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.field input, .select-field {
  width: 100%;
  font-family: var(--fb);
  font-size: .92rem;
  padding: .8rem 1.1rem;
  background: #F8FAFC;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text-main);
  outline: 0;
}

.field input:focus, .select-field:focus {
  border-color: var(--accent);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-checkbox {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.8rem;
  font-size: .84rem;
}

.switch-card {
  background: var(--accent-tint);
  border: 1px solid var(--line-accent);
  padding: 1.1rem;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.4rem 0;
}

.sw {
  width: 46px;
  height: 25px;
  background: #CBD5E1;
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: background .2s;
}

.sw[aria-checked="true"] { background: var(--accent); }

.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.sw[aria-checked="true"]::after { transform: translateX(21px); }

.lgpd {
  display: flex;
  gap: .65rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
}

/* POP-006: Novo botão LGPD com modal de leitura obrigatória */
.lgpd-aceite-wrap {
  margin-top: 1.2rem;
}

.lgpd-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--line-light, #E2E8F0);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: left;
  width: 100%;
  transition: border-color 0.15s, color 0.15s;
  line-height: 1.5;
}

.lgpd-btn:hover {
  border-color: var(--accent, #FF6B00);
  color: var(--text, #1e293b);
}

.lgpd-check-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.3;
  color: var(--accent, #FF6B00);
}

.d-foot {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--line-light);
  background: #F8FAFC;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.btn-reset-quote-link {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-family: var(--fm);
  font-size: .78rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}

.btn-reset-quote-link:hover {
  color: #DC2626;
}

.d-note {
  font-family: var(--fm);
  font-size: .62rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: .8rem;
}

/* MODAL DE FICHA TÉCNICA LIGHT */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  z-index: 170;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.modal.on, .modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 2rem;
  width: min(600px, 92vw);
  box-shadow: var(--shadow-diffused);
}

.m-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--fm);
  font-size: .82rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.m-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.6rem;
}

.m-fig {
  background: #F8FAFC;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.m-foot {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.6rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-glow);
  z-index: 200;
  transition: transform .3s cubic-bezier(0.32, 0.72, 0, 1);
}

.toast.on { transform: translateX(-50%) translateY(0); }

.wa-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 100;
  transition: transform .2s;
}

.wa-float-btn:hover { transform: scale(1.08); }
.wa-float-btn svg { width: 30px; height: 30px; fill: #fff; }

/* RESPONSIVIDADE MOBILE (Mobile Collapse) */
@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .main-menu { display: none; }
  .terminal-grid { grid-template-columns: 1fr; }
  .pipeline-grid { grid-template-columns: 1fr 1fr; }
  .bento-split-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
  .footer-columns { grid-template-columns: 1fr; gap: 2.5rem; }
  .m-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pipeline-grid { grid-template-columns: 1fr; }
  .hero-telemetry-metrics { grid-template-columns: 1fr; }
  .t-left { display: none; }
}

/* ==============================================================================
   ESTILOS INTERATIVOS E HOVER DA NOVA LOGO VME INOX (Fase J)
   ============================================================================== */
.brand-logo-mark {
  width: 44px;
  height: 44px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vme-logo-svg {
  width: 100%;
  height: 100%;
}

.logo-border {
  transition: stroke 0.3s ease, filter 0.3s ease;
}


/* Hover interativo */
.brand-hub:hover .brand-logo-mark {
  transform: scale(1.06);
}

.brand-hub:hover .logo-border {
  stroke: #FF6B00;
  filter: drop-shadow(0 0 3px rgba(255, 107, 0, 0.8));
}

/* DRAWER BULK ORDER BANNER */
.drawer-bulk-banner {
  margin-bottom: 1.2rem;
}

.btn-drawer-bulk {
  width: 100%;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-card);
  padding: 0.85rem 1rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-diffused);
}

.btn-drawer-bulk:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  transform: translateY(-1px);
}

.btn-drawer-bulk .bulk-icon {
  font-size: 1.3rem;
}

.btn-drawer-bulk .bulk-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.btn-drawer-bulk .bulk-text b {
  font-size: 0.84rem;
  color: #F8FAFC;
}

.btn-drawer-bulk .bulk-text small {
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 0.1rem;
}

.btn-drawer-bulk .bulk-arrow {
  color: var(--accent);
  font-size: 1rem;
}
.btn-bulk-matrix {
  background: var(--bg-surface);
  border: 1.5px solid var(--line-strong);
  color: var(--text-main);
  font-family: var(--fb);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-bulk-matrix:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.modal-wide {
  max-width: 920px !important;
  width: 95% !important;
}

.m-body-bulk {
  padding: 1.2rem 0;
}

.bulk-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.table-scroll {
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
}

.bulk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.bulk-table th {
  background: #F8FAFC;
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--fm);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--line-strong);
  z-index: 10;
}

.bulk-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line-light);
  vertical-align: middle;
}

.bulk-table tr:hover td {
  background: #F1F5F9;
}

.bulk-table select, .bulk-table input {
  font-family: var(--fb);
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: none;
  background: #FFFFFF;
}

.bulk-table input[type="number"] {
  width: 70px;
  text-align: center;
}

/* Modal de Seleção de Furação (POP-006) */
.furo-pill {
  background: var(--bg-card, #FFFFFF);
  border: 1.5px solid var(--line-strong, #E4E8EC);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--fm, sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main, #10161E);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.furo-pill:hover {
  border-color: var(--accent, #FF6B00);
  color: var(--accent, #FF6B00);
  background: rgba(255, 107, 0, 0.04);
}

.furo-pill.active {
  background: var(--accent, #FF6B00) !important;
  border-color: var(--accent, #FF6B00) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.28);
}
