/* ==========================================================================
   GARCIA OFFSHORE - DESIGN SYSTEM INDUSTRIAL B2B & CATÁLOGO
   Arquivo: css/style.css
   ========================================================================== */

/* ==========================================================================
   1. RESET E BOX MODEL
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   2. VARIÁVEIS DE SISTEMA (TONS TÉCNICOS INDUSTRIAIS & NEUTROS)
   ========================================================================== */
:root {
  /* Tons Base Sólidos */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f8fafc;
  --bg-surface-elevated: #f1f5f9;

  /* Cores Técnicas e Destaque Neutro */
  --industrial-blue: #0284c7;
  --industrial-blue-hover: #0369a1;
  --industrial-dark: #0f172a;
  --industrial-border: #e2e8f0;
  --industrial-border-dark: #1e293b;

  /* Feedback & Estados */
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --color-danger-hover: #b91c1c;
  --color-warning: #d97706;

  /* Tipografia & Contrastes */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* Tipografia Base */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Estrutura */
  --container-max-width: 1240px;
  --container-gutter: 1.5rem;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Sombras Técnicas Sutis */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.09);
  --shadow-card-hover: 0 18px 40px rgba(15, 23, 42, 0.12);

  /* Transições Suaves */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

/* ==========================================================================
   3. BASE TIPOGRÁFICA
   ========================================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-surface-soft);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* ==========================================================================
   4. LAYOUT & UTILS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-dark {
  background-color: var(--bg-primary);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-light-muted);
}

.section-light {
  background-color: var(--bg-surface-elevated);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--industrial-blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 680px;
}

.section-slogan {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--industrial-blue);
  letter-spacing: -0.01em;
  position: relative;
  padding: 0.25rem 0;
}

.u-hidden {
  display: none !important;
}

/* ==========================================================================
   5. LOGOMARCA - RENDERIZAÇÃO DEFINITIVA, GRANDE & NÍTIDA
   ========================================================================== */
.brand-link {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 100px !important;
}

.logo-link {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none;
  line-height: 0;
  padding: 6px 0;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-img {
  display: block !important;
  height: 96px !important;
  max-height: 104px !important;
  width: auto !important;
  max-width: 380px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  filter: contrast(1.06) brightness(1.02) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
  opacity: 1 !important;
  visibility: visible !important;
  user-select: none;
  -webkit-user-drag: none;
}

.logo-title-fallback {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--industrial-dark);
  line-height: 1;
}

/* ==========================================================================
   6. HEADER FIXO COM ALTURA GENEROSA
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--industrial-border);
  z-index: 999;
  transition: box-shadow var(--transition-fast);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--industrial-blue);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--industrial-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primeiro-acesso {
  background-color: var(--industrial-blue);
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-primeiro-acesso:hover {
  background-color: var(--industrial-blue-hover);
  transform: translateY(-1px);
}

.btn-admin-discreto {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--industrial-border);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-admin-discreto:hover {
  color: var(--industrial-blue);
  border-color: var(--industrial-blue);
}

.usuario-logado-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--industrial-border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
}

.usuario-logado-chip span {
  font-weight: 700;
  color: var(--industrial-blue);
}

.btn-chip-action,
.btn-chip-sair {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-chip-action {
  color: var(--text-main);
  text-decoration: underline;
}

.btn-chip-sair {
  color: #dc2626;
}

/* ==========================================================================
   7. BOTÕES B2B
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  border: 1px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  padding: 0.85rem 1.5rem;
}

.btn-primary {
  background-color: var(--industrial-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--industrial-border);
}

.btn-secondary:hover {
  background-color: var(--industrial-dark);
  color: var(--text-light);
  border-color: var(--industrial-dark);
}

/* ==========================================================================
   8. CATÁLOGO: PLATAFORMA EM ALTO MAR (IMAGEM LOCAL NÍTIDA)
   ========================================================================== */
.section-offshore-hero {
  position: relative !important;
  background-color: #0c182b !important;
  background: 
    linear-gradient(180deg, rgba(12, 24, 43, 0.42) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(11, 15, 25, 0.78) 100%),
    url('../assets/imagenfundo/logoplataforma.png') center right / cover no-repeat fixed !important;
  color: #ffffff !important;
}

.section-offshore-hero .section-title {
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75);
}

.section-offshore-hero .section-subtitle {
  color: #e2e8f0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.section-offshore-hero .section-tag {
  color: #ffffff !important;
  background-color: var(--industrial-blue);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.14em;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.5);
}

.section-offshore-hero .section-slogan {
  color: #38bdf8 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(56, 189, 248, 0.5);
  font-weight: 800;
}

.catalogo-painel-controles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.busca-bloco input {
  width: 100%;
  padding: 1rem 1.4rem;
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.busca-bloco input:focus {
  border-color: #0284c7;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.35);
}

.filtro-botoes-bloco {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filtro-btn {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--industrial-dark);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.filtro-btn:hover {
  background-color: #ffffff;
  border-color: #38bdf8;
  color: var(--industrial-blue);
  transform: translateY(-1px);
}

.filtro-btn.ativo {
  background-color: var(--industrial-blue);
  border-color: var(--industrial-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.5);
}

.catalogo-vazio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  color: #cbd5e1;
}

/* ==========================================================================
   9. CARDS DE PRODUTOS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.product-header-badge {
  background-color: var(--bg-surface-elevated);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--industrial-border);
  color: var(--industrial-blue);
  text-transform: uppercase;
  display: inline-block;
  width: 100%;
}

.product-image-box {
  height: 200px;
  background-color: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--industrial-border);
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--industrial-blue);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.product-description {
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-specs li {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
}

.product-specs li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--industrial-blue);
}

.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-whatsapp-produto {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  background-color: var(--industrial-dark);
  color: var(--text-light);
  border: 1px solid var(--industrial-dark);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.btn-whatsapp-produto:hover {
  background-color: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-detalhes-card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
  cursor: pointer;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--industrial-border);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.btn-detalhes-card:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--text-muted);
}

/* ==========================================================================
   10. SEÇÃO MARCAS - CARROSSEL COM 4 CARDS, SETAS E EXPANSÃO
   ========================================================================== */
.section-brands {
  background-color: #f8fafc;
  border-top: 1px solid var(--industrial-border);
  border-bottom: 1px solid var(--industrial-border);
  position: relative;
}

.brands-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.btn-nav-brands {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border: 1px solid var(--industrial-border);
  border-radius: 50%;
  color: var(--industrial-dark);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.btn-nav-brands:hover {
  background-color: var(--industrial-blue);
  color: #ffffff;
  border-color: var(--industrial-blue);
  transform: translateY(-50%) scale(1.08);
}

.btn-nav-prev {
  left: -22px;
}

.btn-nav-next {
  right: -22px;
}

.brands-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  width: 100%;
  padding: 0.5rem 0.25rem 1.25rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.brands-grid::-webkit-scrollbar {
  display: none;
}

.brand-card {
  flex: 0 0 calc((100% - (1.5rem * 3)) / 4);
  scroll-snap-align: start;
  background-color: var(--bg-surface);
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--industrial-blue);
}

.brands-grid.modo-grade-completa {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  overflow-x: visible;
  scroll-snap-type: none;
}

.brands-grid.modo-grade-completa .brand-card {
  flex: initial;
}

.marcas-toggle-bar {
  text-align: center;
  margin-top: 2.25rem;
}

.btn-ver-todas-marcas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--industrial-border);
  color: var(--industrial-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.btn-ver-todas-marcas:hover {
  background-color: var(--industrial-dark);
  color: #ffffff;
  border-color: var(--industrial-dark);
  transform: translateY(-2px);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-whatsapp-marca {
  display: block;
  width: 100%;
  padding: 0.65rem 1rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--industrial-border);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-whatsapp-marca:hover {
  background-color: var(--industrial-dark);
  color: var(--text-light);
  border-color: var(--industrial-dark);
}

/* ==========================================================================
   11. BANNER CTA DE COTAÇÃO
   ========================================================================== */
.commercial-cta-section {
  background-color: var(--bg-primary);
  color: var(--text-light);
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--industrial-border-dark);
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-title {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-description {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.btn-cta-highlight {
  background-color: #ffffff;
  color: var(--industrial-dark);
  border: none;
  padding: 0.95rem 1.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-cta-highlight:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

/* ==========================================================================
   12. SEÇÃO CONTATO B2B
   ========================================================================== */
.section-contact {
  background-color: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.contact-form-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--industrial-border);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.col-half {
  flex: 1;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #fafbfc;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--industrial-dark);
  background-color: #ffffff;
}

.btn-submit-form {
  width: 100%;
  padding: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  background-color: var(--industrial-dark);
  color: #ffffff;
  border: none;
  text-transform: uppercase;
  transition: background-color var(--transition-fast);
}

.btn-submit-form:hover {
  background-color: #000000;
}

/* ==========================================================================
   13. MODAIS GLOBAIS (PRODUTO E DETALHES)
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.modal-backdrop.modal-aberto {
  display: flex;
}

.modal-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 760px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  box-shadow: var(--shadow-lg);
}

.modal-fechar-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 20;
}

.modal-fechar-btn:hover {
  color: var(--text-main);
}

.modal-corpo {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 680px) {
  .modal-corpo {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-midia {
  background-color: #fafbfc;
  min-height: 280px;
  border-right: 1px solid var(--industrial-border);
}

.modal-midia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-dados {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.modal-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--bg-surface-elevated);
  color: var(--industrial-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  margin-bottom: 0.75rem;
  border: 1px solid var(--industrial-border);
  text-transform: uppercase;
}

.modal-dados h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.modal-marca-linha {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.modal-linha {
  border: 0;
  border-top: 1px solid var(--industrial-border);
  margin-bottom: 1rem;
}

.modal-descricao-texto {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   14. PAINEL ADMINISTRATIVO & GESTÃO COMPLETA
   ========================================================================== */
.modal-card-admin {
  max-width: 860px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  max-height: 90vh;
  overflow-y: auto;
}

.admin-modal-body {
  padding: 2.2rem;
}

.admin-modal-header {
  margin-bottom: 1.5rem;
}

.painel-header-barra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--industrial-border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.tabs-nav-admin {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--industrial-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn-admin {
  background: none;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.tab-btn-admin.ativo {
  color: var(--industrial-blue);
  border-bottom-color: var(--industrial-blue);
}

.tab-painel-conteudo {
  display: none;
}

.tab-painel-conteudo.ativo {
  display: block;
}

.box-form-cad {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-xs);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.tabela-scroll-wrap {
  max-height: 350px;
  overflow-y: auto;
  border: 1px solid var(--industrial-border);
  border-radius: var(--radius-xs);
}

.tabela-admin-itens {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.tabela-admin-itens th,
.tabela-admin-itens td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--industrial-border);
}

.tabela-admin-itens th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--text-main);
  position: sticky;
  top: 0;
  z-index: 5;
}

.thumb-preview-admin {
  width: 50px;
  height: 36px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.badge-tag-tipo {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 3px;
  text-transform: uppercase;
}

.badge-padrao {
  background-color: #e2e8f0;
  color: #475569;
}

.badge-custom {
  background-color: #e0f2fe;
  color: #0369a1;
}

.btn-excluir-item {
  background-color: var(--color-danger);
  color: #ffffff;
  border: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.btn-excluir-item:hover {
  background-color: var(--color-danger-hover);
}

.aviso-alerta {
  padding: 0.85rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius-xs);
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   15. MODAL DE AUTENTICAÇÃO / LOGIN / PRIMEIRO ACESSO
   ========================================================================== */
.modal-auth-card {
  max-width: 440px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.auth-card-body {
  padding: 2.5rem 2rem;
}

.auth-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  text-align: center;
}

.auth-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-form .form-group {
  margin-bottom: 1rem;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.auth-links a {
  color: var(--industrial-blue);
  text-decoration: underline;
}

/* ==========================================================================
   16. NOTIFICAÇÕES TOAST / FEEDBACK AO USUÁRIO
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-item {
  min-width: 300px;
  padding: 0.85rem 1.25rem;
  background-color: var(--industrial-dark);
  color: #ffffff;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--industrial-blue);
  animation: slideToastIn 0.25s ease forwards;
}

.toast-item.toast-success {
  border-left-color: var(--color-success);
}

.toast-item.toast-error {
  border-left-color: var(--color-danger);
}

/* ==========================================================================
   17. WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   18. RODAPÉ B2B
   ========================================================================== */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid #1e293b;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-desc {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-data p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.footer-contact-data strong {
  color: #cbd5e1;
}

.footer-address {
  margin: 0.75rem 0 !important;
  line-height: 1.45;
}

.footer-bottom {
  font-size: 0.825rem;
  color: #64748b;
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
}

/* ==========================================================================
   19. ANIMAÇÕES & EFEITOS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideToastIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   20. RESPONSIVIDADE COMPLETA (@MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .header-container {
    min-height: 95px;
  }
  .logo-img {
    height: 82px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .brand-card {
    flex: 0 0 calc((100% - (1.5rem * 2)) / 3);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }
  .brand-link {
    min-height: auto !important;
  }
  .logo-img {
    height: 70px !important;
  }
  .nav-list {
    display: none; /* Submetido ao menu hambúrguer caso presente */
  }
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .brand-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
  .btn-nav-prev {
    left: -10px;
  }
  .btn-nav-next {
    right: -10px;
  }
}

@media (max-width: 480px) {
  .brand-card {
    flex: 0 0 88%;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 0.65rem 1rem;
  }
  .whatsapp-label {
    display: none;
  }
}