/* Fabriletras .net.br - Design System & Styles (B2B Industrial Metal Tech) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0b0f19;
  --bg-card: #151c2c;
  --bg-card-hover: #1e293b;
  --border-metallic: rgba(56, 189, 248, 0.2);
  --border-gold: rgba(245, 158, 11, 0.3);
  --primary-blue: #2563eb;
  --accent-cyan: #38bdf8;
  --accent-gold: #fbbf24;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: clip;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-weight: 700;
  color: #f8fafc;
}

/* Card Styling - Sleek Metallic Dark */
.card-shadow, .card-metal {
  background: linear-gradient(145deg, rgba(21, 28, 44, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid var(--border-metallic);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.card-shadow:hover, .card-metal:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 40px -15px rgba(56, 189, 248, 0.25);
}

/* Button Styling */
.btn-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.55);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(217, 119, 6, 0.39);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.5);
}

/* Navigation Header — sempre fixo ao rolar */
header.site-header,
#site-header,
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  z-index: 9999 !important;
  margin: 0 !important;
  background: rgba(11, 15, 25, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  transform: none !important;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: rgba(7, 10, 17, 0.99) !important;
}

body {
  padding-top: 4.75rem !important;
}

@media (min-width: 640px) {
  body {
    padding-top: 5rem !important;
  }
}

nav a.nav-link,
nav a.mobile-nav-link,
nav button {
  color: #cbd5e1;
  font-weight: 600;
  transition: all 0.2s ease;
}

nav a.nav-link:hover,
nav a.mobile-nav-link:hover,
nav button:hover {
  color: var(--accent-cyan);
}

nav a.nav-link.is-active,
nav a.mobile-nav-link.is-active,
nav a.nav-active {
  color: var(--accent-cyan) !important;
  position: relative;
}

nav a.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 999px;
}

nav a.mobile-nav-link.is-active {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan) !important;
}

/* Top bar above header */
.top-bar {
  background-color: #070a11;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.top-bar > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Badge Metallic Highlights */
.badge-metal {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Footer Styling */
footer {
  background: #070a11;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent-cyan);
}

footer h4 {
  color: #f8fafc;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #0b0f19;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem !important;
  }
  h2 {
    font-size: 1.75rem !important;
  }
}

/* ===== Landing Page (.net.br) ===== */

.hero-lp img,
.card-metal img,
.gallery-item img {
  display: block;
  color: transparent;
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(7, 10, 17, 0.92) 0%, rgba(7, 10, 17, 0.78) 48%, rgba(7, 10, 17, 0.45) 100%),
    linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, transparent 40%);
}

.brand-mark {
  letter-spacing: 0.22em;
}

.highlight-bar {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.15);
  background: #0f172a;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: linear-gradient(to top, rgba(7, 10, 17, 0.92), transparent);
}

.faq-item {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 0.9rem;
  overflow: hidden;
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: #38bdf8;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.25rem;
  color: #94a3b8;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: '−';
}

.faq-body {
  padding: 0 1.25rem 1.15rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

.wa-float:hover {
  background: #22c55e;
  transform: scale(1.06);
  color: #fff;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-lp .reveal-up {
  animation: hero-enter 0.85s ease forwards;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-whatsapp:active {
  transform: scale(0.98);
}

.form-input::placeholder {
  color: #64748b;
}
