/* ============================================================
   G5 Negócios: Modern Industrial Design System (2026 Edition)
   Estética: Modern Dark Glassmorphism, Industrial Cyan Accent
   Regra: Sem Emojis, Ícones SVG Profissionais Nativa
   ============================================================ */

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

:root {
  /* Color Tokens */
  --bg-dark: #090C10;
  --bg-surface: rgba(15, 21, 30, 0.75);
  --bg-surface-solid: #0F151E;
  --bg-card: rgba(22, 30, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 57, 0.85);
  
  --accent-cyan: #00B4D8;
  --accent-cyan-light: #48CAE4;
  --accent-cyan-glow: rgba(0, 180, 216, 0.35);
  --accent-cyan-border: rgba(0, 180, 216, 0.25);
  
  --accent-amber: #F0883E;
  --accent-amber-glow: rgba(240, 136, 62, 0.2);
  
  --text-primary: #F0F6FC;
  --text-secondary: #919EAB;
  --text-muted: #637381;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 180, 216, 0.4);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout & Geometry */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.18);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img, video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Demo Top Bar */
.demo-bar {
  background: linear-gradient(90deg, #0f2b38, #004d61);
  border-bottom: 1px solid var(--accent-cyan-border);
  color: #cbebfa;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.demo-badge {
  background: var(--accent-cyan);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Header Sticky with Smart Hide/Show on Scroll */
.site-header {
  /* sticky, nao fixed: com fixed o cabecalho saia do fluxo e cobria a
     faixa de demonstracao, que fica acima dele. Assim a faixa aparece,
     rola junto com a pagina, e o cabecalho segue fixando no topo. */
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  will-change: transform;
}

.site-header.nav-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.05));
  border: 1px solid var(--accent-cyan);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

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

/* SVG Icons Utility */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-svg svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #0096c7);
  color: #041a24;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
  background: linear-gradient(135deg, #48CAE4, var(--accent-cyan));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ============================================================
   Hero Section (Video from top, Text with optimal breathing room)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  /* era 115px pra compensar o cabecalho fixed. Com sticky, o cabecalho
     ocupa espaco no fluxo e a compensacao vira so respiro. */
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  margin-top: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.15), transparent 50%),
    linear-gradient(180deg, rgba(9, 12, 16, 0.85) 0%, rgba(9, 12, 16, 0.6) 50%, #090C10 100%),
    linear-gradient(90deg, rgba(9, 12, 16, 0.95) 0%, rgba(9, 12, 16, 0.75) 45%, rgba(9, 12, 16, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Mantem o alinhamento a esquerda, mas respeitando a margem lateral do
     .container. Com margin-inline: 0 o texto colava na borda da tela. */
  width: min(1240px, 100% - 2.5rem);
  max-width: none;
  margin-inline: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content > * { max-width: 820px; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 180, 216, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, #FFF, var(--accent-cyan-light), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 60ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 720px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================================
   Sections Common
   ============================================================ */
.section {
  padding-block: 6rem;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 65ch;
}

.section-head-center {
  text-align: center;
  margin-inline: auto;
  max-width: 700px;
  margin-bottom: 4rem;
}

/* ============================================================
   Bento Grid Services
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }

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

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
}

.bento-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-cyan-border);
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-weight: 500;
}

.bento-pending {
  border-style: dashed;
  border-color: rgba(240, 136, 62, 0.4);
}

.bento-pending .bento-badge {
  color: var(--accent-amber);
  background: rgba(240, 136, 62, 0.1);
  border-color: rgba(240, 136, 62, 0.3);
}

.bento-pending .bento-icon {
  background: rgba(240, 136, 62, 0.1);
  border-color: rgba(240, 136, 62, 0.3);
  color: var(--accent-amber);
}

/* ============================================================
   Interactive Capacity Dashboard
   ============================================================ */
.dashboard-wrap {
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.dash-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  /* No celular so cabem 2 das 4 abas. O degrade na direita avisa que rola,
     senao Solda e Logistica somem sem ninguem saber que existem. */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background-image: linear-gradient(90deg, transparent calc(100% - 44px), rgba(0, 0, 0, 0.55) 100%);
  background-attachment: local, scroll;
}

.dash-tabs::-webkit-scrollbar { display: none; }

.dash-tab { flex: 0 0 auto; }

.dash-tab {
  padding: 1.2rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-tab.active, .dash-tab:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.05);
}

.dash-content {
  padding: 2.5rem;
}

.spec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.spec-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.spec-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.03);
}

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

.spec-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.spec-gap-slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent-amber-glow);
  border: 1px dashed var(--accent-amber);
  color: var(--accent-amber);
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse-amber 2s infinite;
}

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

/* ============================================================
   Photo Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Marca cada imagem como referencia visual, nao registro da operacao da G5.
   Some junto com os ativos provisorios, na troca por foto propria. */
.gallery-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 3;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(9, 12, 16, 0.82);
  border: 1px solid rgba(240, 136, 62, 0.55);
  color: #f0883e;
  backdrop-filter: blur(4px);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 12, 16, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.gallery-sub {
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

/* ============================================================
   Reviews & Testimonials
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.stars-svg {
  display: flex;
  gap: 4px;
  color: #FFB800;
  margin-bottom: 1rem;
}

.review-quote {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), #0077b6);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.reviewer-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   CTA Final Section
   ============================================================ */
.cta-section {
  position: relative;
  padding-block: 7rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0c1520 100%);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.22) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin-inline: auto;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-subtle);
  padding-block: 4rem 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.footer-col p, .footer-col a {
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Floating WhatsApp Badge */
.wa-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: float-wa 3s ease-in-out infinite;
}

@keyframes float-wa {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.wa-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .bento-col-8, .bento-col-6, .bento-col-4 { grid-column: span 12; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { margin-top: 60px; }
}
