/**
 * MetalMar — Site Institucional — Estilos Padronizados & Utilitários
 * Centraliza tipografia, layout, componentes reutilizáveis e substitui estilos inline.
 */

:root {
  --primary: #2585c0;
  --primary-hover: #1c6fa3;
  --primary-rgb: 37, 133, 192;
  --navy-900: #0f172a;
  --navy-950: #0a0f1d;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

/* ─── Utilitários Globais ─── */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden !important; }
.shrink-0 { flex-shrink: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

/* Margens */
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-auto { margin-top: auto !important; }

/* Cores de Texto */
.text-primary { color: var(--primary) !important; }
.text-navy { color: var(--navy-950) !important; }
.text-white { color: #ffffff !important; }
.text-slate-300 { color: var(--slate-300) !important; }
.text-slate-400 { color: var(--slate-400) !important; }
.text-slate-500 { color: var(--slate-500) !important; }
.text-slate-600 { color: var(--slate-600) !important; }
.text-slate-700 { color: var(--slate-700) !important; }
.text-slate-800 { color: var(--slate-800) !important; }

/* ─── Header & Topbar ─── */
.header-top-social-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-social-bar {
  margin-top: 0 !important;
}
.brand-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-950);
  font-family: var(--font-display);
}
.text-primary-accent {
  color: var(--primary) !important;
}
.header-cta-btn {
  padding: 0.55rem 1.15rem !important;
  font-size: 0.875rem !important;
}
.icon-md { font-size: 1rem !important; }
.icon-sm { font-size: 0.875rem !important; }
.icon-lg { font-size: 1.25rem !important; }
.icon-xl { font-size: 1.5rem !important; }
.icon-2xl { font-size: 2rem !important; }

/* ─── Drawer Responsivo (Mobile) ─── */
.drawer-logo-img {
  max-height: 38px;
  width: auto;
}
.drawer-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  font-family: var(--font-display);
}
.drawer-close-btn {
  display: flex !important;
}
.drawer-icon {
  margin-right: 0.65rem;
  color: var(--primary);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.drawer-meta-title {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.drawer-contact-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--slate-800);
  font-weight: 600;
  text-decoration: none;
}
.drawer-contact-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  text-decoration: none;
}
.drawer-cta-btn {
  margin-top: 0.5rem;
  width: 100% !important;
}

/* ─── Main Content Wrapper ─── */
.site-main {
  flex: 1 0 auto;
}

/* ─── Rodapé do Site (Footer) ─── */
.footer-brand-wrap {
  margin-bottom: 1.25rem;
}
.footer-logo-img {
  max-height: 44px;
  width: auto;
}
.footer-logo-img-invert {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
}
.footer-desc {
  color: var(--slate-400);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9375rem;
}
.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  color: var(--slate-300);
}
.footer-contact-icon {
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.footer-contact-icon-map {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.footer-credit-link {
  color: #ffffff !important;
  font-weight: 600;
}

/* ─── Hero Slider & Banner Home ─── */
.hero-slide-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.hero-cta-btn {
  box-shadow: 0 10px 25px -5px rgba(37, 133, 192, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 700;
}
.hero-float-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--navy-950);
  color: #ffffff;
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-float-icon {
  font-size: 2.25rem;
  color: var(--primary);
}
.hero-float-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}
.hero-float-sub {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Página Quem Somos ─── */
.about-intro-p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.75;
}
.about-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 0.75rem;
}
.about-card-desc {
  color: var(--slate-600);
  line-height: 1.7;
}

/* ─── Página Contato ─── */
.contact-intro-p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-info-card {
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.contact-info-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.contact-info-val {
  color: var(--navy-950);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ─── Blog & Pesquisa ─── */
.blog-search-form {
  max-width: 480px;
  margin: 2rem auto 0;
  display: flex;
  gap: 0.5rem;
}
.blog-search-input {
  border-radius: 9999px !important;
  padding-left: 1.25rem !important;
}
.blog-search-btn {
  border-radius: 9999px !important;
  padding: 0.65rem 1.25rem !important;
  flex-shrink: 0;
}
.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
}
.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-category-badge {
  background: var(--slate-100);
  color: var(--navy-900);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
}
.post-title-hero {
  max-width: 800px;
  font-size: 2.5rem;
}
.post-body-wrap {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Galeria & Privacidade ─── */
.gallery-empty-box {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--slate-200);
  max-width: 600px;
  margin: 0 auto;
}
.gallery-empty-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(37, 133, 192, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.privacy-content-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem;
}
.privacy-section-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--slate-100);
}
.privacy-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 1.25rem;
}
.privacy-section-p {
  color: var(--slate-700);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── Soluções ─── */
.solution-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.solution-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ─── Checklists & Destaques Home ─── */
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
  font-weight: 500;
}
.checklist-icon-green {
  color: #16a34a !important;
}
.checklist-box {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1.25rem;
}

/* ─── Mini Cards & Seções ─── */
.feature-mini-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1.15rem !important;
  padding: 1.15rem 1.25rem !important;
  background: var(--slate-50, #f8fafc) !important;
  border: 1px solid var(--slate-200, #e2e8f0) !important;
  border-left: 4px solid var(--primary, #2585c0) !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
}
.feature-mini-card:hover {
  transform: translateX(4px);
  background: #ffffff !important;
  border-color: var(--primary, #2585c0) !important;
  box-shadow: 0 6px 16px rgba(37, 133, 192, 0.12) !important;
}
.feature-mini-icon {
  font-size: 1.6rem !important;
  color: var(--primary, #2585c0) !important;
  flex-shrink: 0 !important;
  margin-top: 0.15rem !important;
  background: transparent !important;
}
.feature-mini-title {
  color: var(--navy-950, #0b1731) !important;
  display: block !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.35 !important;
}
.feature-mini-desc {
  color: var(--slate-600, #475569) !important;
  font-size: 0.875rem !important;
  line-height: 1.55 !important;
  display: block !important;
}
.btn-whatsapp {
  background-color: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}
.btn-whatsapp:hover {
  background-color: #1eb956 !important;
  border-color: #1eb956 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
}
.section-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 1rem;
}
.section-card-desc {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.section-intro-text {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.section-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.card-footer-auto {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}
.badge-cta-primary {
  background: rgba(37,133,192,0.15) !important;
  border-color: rgba(37,133,192,0.3) !important;
}
.social-icon-share {
  background: #ffffff;
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon-share:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}


/* ─── Formulários & Contato ─── */
.form-feedback-error {
  color: #ef4444 !important;
  font-size: 0.8125rem !important;
  margin-top: 0.25rem !important;
  display: block !important;
}
.social-btn-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.2s;
}
.social-btn-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.social-btn-facebook { color: #1877f2 !important; }
.social-btn-instagram { color: #e1306c !important; }
.social-btn-whatsapp { color: #25d366 !important; }
.social-btn-linkedin { color: #0a66c2 !important; }
.contact-map-banner {
  border-radius: 0 !important;
  height: 420px !important;
  border-left: none !important;
  border-right: none !important;
}
.d-none { display: none !important; }
.textarea-min-120 { min-height: 120px !important; }
.btn-submit-contact { width: 100% !important; padding: 0.85rem !important; }
.consent-checkbox-wrap {
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.5;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.text-underline { text-decoration: underline !important; }

.aspect-video { aspect-ratio: 16 / 9 !important; }
.m-0 { margin: 0 !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-4xl { font-size: 2.25rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-7xl { max-width: 80rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.border-t { border-top-width: 1px !important; }
.border-slate-200 { border-color: var(--slate-200) !important; }
.mt-12 { margin-top: 3rem !important; }

.empty-state-icon {
  font-size: 3.5rem !important;
  color: var(--slate-400) !important;
  margin-bottom: 1rem !important;
  display: inline-block !important;
}
.empty-state-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--navy-950) !important;
  margin-bottom: 0.5rem !important;
}
.empty-state-desc {
  color: var(--slate-500) !important;
  margin-bottom: 2rem !important;
}

/* ─── Páginas de Erro ─── */
.error-page-body { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #0b1731; color: #ffffff; text-align: center; padding: 2rem; }
.error-container { max-width: 600px; margin: 0 auto; width: 100%; }
.error-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.25rem; padding: 3.5rem 2rem; backdrop-filter: blur(12px); }
.error-code { font-size: 5.5rem; font-weight: 800; color: #2585c0; font-family: var(--font-display, sans-serif); line-height: 1; margin-bottom: 1rem; }
.error-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; color: #ffffff; }
.error-desc { color: #94a3b8; margin-bottom: 2rem; font-size: 1.05rem; }
.error-btn-home { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; padding: 0.75rem 1.5rem; border-radius: 0.5rem; background: #2585c0; color: #ffffff; font-weight: 600; transition: background 0.2s; }
.error-btn-home:hover { background: #1c6ba0; }

/* ─── Seção de Vídeo Institucional ─── */
.video-institutional-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(37, 133, 192, 0.18) 0%, rgba(10, 15, 29, 0) 70%),
              linear-gradient(180deg, #0a0f1d 0%, #0c152a 50%, #0a0f1d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.video-institutional-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.video-institutional-wrapper {
  position: relative;
  border-radius: 1.25rem;
  padding: 0.625rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(37, 133, 192, 0.2);
  backdrop-filter: blur(16px);
}

.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.875rem;
  overflow: hidden;
  background-color: #030712;
}

.video-player-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.video-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.video-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.video-feature-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(37, 133, 192, 0.4);
  transform: translateY(-2px);
}

.video-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 133, 192, 0.15);
  color: #38bdf8;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.video-feature-title {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.video-feature-desc {
  color: #94a3b8;
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 0.15rem;
}

