/* ==========================================================================
   LOSVERT — Design System & Estilos Modernos (Tema Escuro Oficial)
   ========================================================================== */

:root {
  /* Paleta oficial extraída da logo LOSVERT */
  --bg-page: #07090f;
  --bg-surface: rgba(16, 21, 33, 0.72);
  --bg-surface-solid: #101521;
  --bg-brand-panel: #191a1e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 212, 255, 0.38);

  --color-blue: #0066ff;
  --color-blue-deep: #0038a8;
  --color-cyan: #00d4ff;
  --color-emerald: #22c55e;
  --color-violet: #a78bfa;
  --color-rose: #fb7185;

  --text-main: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --glow-cyan: 0 0 28px rgba(0, 212, 255, 0.25);
  --glow-blue: 0 0 36px rgba(0, 102, 255, 0.28);

  --container-max: 1180px;
  --header-height: 74px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Fundo Ambiente (Brilhos sutis & Malha tecnológica estilo Emocionou)
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 15%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 15%, #000 35%, transparent 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.48;
}

.glow-orb--blue {
  top: -120px;
  left: 12%;
  width: 480px;
  height: 480px;
  background: rgba(0, 102, 255, 0.24);
}

.glow-orb--cyan {
  top: 22%;
  right: 8%;
  width: 380px;
  height: 380px;
  background: rgba(0, 212, 255, 0.14);
}

.glow-orb--violet {
  bottom: 18%;
  left: 20%;
  width: 360px;
  height: 360px;
  background: rgba(124, 58, 237, 0.1);
}

/* ==========================================================================
   Layout Container & Helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, #93c5fd 45%, #00d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header Fixo (Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 50;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(7, 9, 15, 0.92);
  border-bottom-color: rgba(0, 212, 255, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25);
}

.brand-wordmark {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #e2e8f0;
  text-transform: uppercase;
}

.brand-wordmark .accent-v {
  color: var(--color-cyan);
  text-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--color-cyan);
}

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

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.menu-toggle:hover {
  border-color: var(--border-hover);
  background: rgba(0, 212, 255, 0.08);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(10, 13, 22, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  z-index: 49;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.05rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-blue) 0%, #0088ff 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px -8px rgba(0, 102, 255, 0.65);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(0, 212, 255, 0.5);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
}

.btn--secondary:hover {
  background: rgba(0, 212, 255, 0.09);
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-2px);
}

.btn--emocionou {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px -8px rgba(124, 58, 237, 0.55);
}

.btn--emocionou:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -6px rgba(236, 72, 153, 0.55);
}

.btn--whatsapp {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #dcfce7;
}

.btn--whatsapp svg {
  color: var(--color-emerald);
}

.btn--whatsapp:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.65);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.26);
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.55);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-title {
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.35rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-full);
}

.pillar-chip svg {
  width: 14px;
  height: 14px;
  color: var(--color-cyan);
}

/* Hero Right Panel (Logo Oficial em destaque) */
.hero-brand-card {
  background: var(--bg-brand-panel);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card), var(--glow-blue);
  position: relative;
  overflow: hidden;
}

.hero-brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(0, 212, 255, 0.09), transparent 65%);
  pointer-events: none;
}

.hero-brand-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-brand-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-brand-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-ecosystem-bar {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.eco-mini-card {
  background: rgba(7, 9, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.eco-mini-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.eco-mini-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
}

.eco-mini-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   Seção Projetos (Showcases Amplos + Galerias Interativas)
   ========================================================================== */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition);
}

.project-card:hover {
  border-color: rgba(0, 212, 255, 0.26);
}

.project-card--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.project-card--reverse .project-visual {
  order: -1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-badge--emocionou {
  color: #e9d5ff;
  background: rgba(124, 58, 237, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.project-badge--smartstock {
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.project-badge--tbcast {
  color: #bae6fd;
  background: rgba(0, 102, 255, 0.18);
  border: 1px solid rgba(0, 212, 255, 0.35);
}

.project-badge--neutral {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}

.project-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.project-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: 1rem;
}

.project-card--emocionou .project-tagline {
  color: #f472b6;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-list svg {
  width: 17px;
  height: 17px;
  color: var(--color-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.project-card--emocionou .feature-list svg {
  color: #c084fc;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.28rem 0.65rem;
  border-radius: 0.45rem;
}

.legal-note {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Visual Emocionou */
.emocionou-stage {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(24, 24, 38, 0.95), rgba(11, 10, 20, 0.98));
  border: 1px solid rgba(167, 139, 250, 0.25);
  padding: 1.25rem;
  overflow: hidden;
  display: grid;
  gap: 0.95rem;
}

.emocionou-stage::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22), transparent 70%);
  pointer-events: none;
}

.emocionou-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.emocionou-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.emocionou-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
}

.emocionou-brand strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.emocionou-brand-link {
  font-size: 0.78rem;
  color: #c4b5fd;
  text-decoration: underline;
  text-decoration-color: rgba(196, 181, 253, 0.35);
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.emocionou-brand-link:hover {
  color: #f9a8d4;
}

.emocionou-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #f9a8d4;
  background: rgba(236, 72, 153, 0.14);
  border: 1px solid rgba(236, 72, 153, 0.3);
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-full);
}

.emocionou-niches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.emocionou-niche {
  font-size: 0.74rem;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Galeria Interativa (SmartStock & TBCast)
   ========================================================================== */
.gallery-widget {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gallery-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #05070c;
  box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.75);
}

.gallery-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(15, 20, 32, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.window-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.window-dots span:nth-child(1) { background: #ef4444; opacity: 0.75; }
.window-dots span:nth-child(2) { background: #f59e0b; opacity: 0.75; }
.window-dots span:nth-child(3) { background: #22c55e; opacity: 0.75; }

.gallery-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.28);
  color: var(--color-cyan);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 0.45rem;
  transition: background var(--transition);
}

.gallery-zoom-btn:hover {
  background: rgba(0, 212, 255, 0.2);
}

.gallery-zoom-btn svg {
  width: 13px;
  height: 13px;
}

.gallery-main-trigger {
  display: block;
  width: 100%;
  border: none;
  background: #0a0d14;
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.gallery-main-trigger:hover .gallery-main-img {
  transform: scale(1.02);
}

.gallery-caption-bar {
  padding: 0.65rem 0.9rem;
  background: rgba(11, 15, 25, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gallery-caption-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.gallery-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.gallery-thumbs--two {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-thumb {
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: #0b0e17;
  border-radius: 0.55rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  opacity: 0.68;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gallery-thumb:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--color-cyan);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}

/* ==========================================================================
   Bloco Especial: Plugins Sob Medida para GLPI
   ========================================================================== */
.glpi-custom-banner {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.14) 0%, rgba(16, 21, 33, 0.92) 55%, rgba(0, 212, 255, 0.1) 100%);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.glpi-custom-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.glpi-custom-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.glpi-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.glpi-cap-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-main);
  background: rgba(7, 9, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0.85rem;
  border-radius: 0.6rem;
}

.glpi-cap-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.glpi-cta-box {
  background: rgba(7, 9, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
}

.glpi-cta-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Seção Missão, Visão e Valores
   ========================================================================== */
.mvv-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.mvv-card {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition), transform var(--transition);
}

.mvv-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.mvv-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  background: rgba(0, 102, 255, 0.14);
  border: 1px solid rgba(0, 212, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  margin-bottom: 1.15rem;
}

.mvv-icon svg {
  width: 24px;
  height: 24px;
}

.mvv-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.mvv-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.values-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.values-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.values-header .mvv-icon {
  margin-bottom: 0;
}

.values-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

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

.value-item {
  background: rgba(7, 9, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition);
}

.value-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.value-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 0.45rem;
}

.value-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Seção Contato & Footer
   ========================================================================== */
.contact-box {
  background: linear-gradient(145deg, rgba(16, 21, 33, 0.9), rgba(10, 14, 24, 0.95));
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: var(--radius-lg);
  padding: 3.25rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-card), var(--glow-blue);
  position: relative;
  overflow: hidden;
}

.contact-box h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.contact-box p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 7, 12, 0.92);
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Botão Flutuante WhatsApp */
.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.45);
  z-index: 45;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.6);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Lightbox Modal para Screenshots
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  width: 100%;
  max-width: 1060px;
  background: #0d111c;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
}

.lightbox-body {
  position: relative;
  background: #05070c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 75vh;
}

.lightbox-body img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 20, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.lightbox-nav:hover {
  background: rgba(0, 102, 255, 0.85);
  border-color: var(--color-cyan);
}

.lightbox-nav--prev { left: 1rem; }
.lightbox-nav--next { right: 1rem; }

.lightbox-footer {
  padding: 0.75rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Animações Sutis
   ========================================================================== */
@keyframes ping {
  75%, 100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .status-dot::after { animation: none; }
}

/* ==========================================================================
   Responsividade (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .project-card,
  .project-card--reverse,
  .glpi-custom-banner {
    grid-template-columns: 1fr;
  }

  .project-card--reverse .project-visual {
    order: 0;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mvv-top-grid,
  .glpi-capabilities {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .project-card {
    padding: 1.5rem;
    gap: 1.75rem;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .hero-ecosystem-bar {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }
}
