/* ============================
   VARIÁVEIS GERAIS HUBBRA
============================ */
:root {
  --hubbra-deep: #083163;
  --hubbra-lightbg: #F8FAFC;
  --hubbra-ice: #DDE4FF;
  --hubbra-line: #E5E7EB;
  --hubbra-white: #FFFFFF;
  --hubbra-glow: rgba(221, 228, 255, 0.35);
}

/* ============================
   BASE GLOBAL
============================ */
html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  scroll-behavior: smooth;
  background-color: var(--hubbra-deep);
  color: var(--hubbra-white);
}

/* Tipografia HUBBRA */
.hubbra-headline {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hubbra-body {
  font-weight: 400;
  line-height: 1.6;
}

.hubbra-body-strong {
  font-weight: 600;
  line-height: 1.5;
}

.hubbra-minihead {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Wordmark HUBBRA */
.hubbra-wordmark {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================
   HEADER
============================ */
#site-header {
  backdrop-filter: blur(8px);
  background-color: rgba(8, 49, 99, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* ============================
   HERO
============================ */
.hero-texture {
  background: radial-gradient(circle at 50% 20%,
      rgba(108, 62, 230, 0.12) 0%,
      transparent 60%);
}

.hero-glow {
  background: radial-gradient(circle at 70% 30%,
      rgba(221, 228, 255, 0.2),
      transparent 70%);
  filter: blur(120px);
}

/* Cartão softglass */
.hubbra-card-softglass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

/* Selo institucional (repetível) */
.hubbra-ecosystem-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background-color: rgba(221, 228, 255, 0.1);
  border: 1px solid rgba(221, 228, 255, 0.25);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================
   BOTÕES
============================ */
.btn-primary {
  background-color: var(--hubbra-white);
  color: var(--hubbra-deep);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(1px);
  box-shadow: 0 0 20px rgba(221, 228, 255, 0.3);
}

.btn-outline-light {
  border: 1px solid var(--hubbra-white);
  color: var(--hubbra-white);
  background-color: transparent;
  transition: all 0.2s ease;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background-color: var(--hubbra-deep);
  color: var(--hubbra-white);
  transition: all 0.2s ease;
}

.btn-dark:hover {
  background-color: #0a437e;
}

.btn-disabled {
  background-color: var(--hubbra-line);
  color: #9ca3af;
}

/* ============================
   CARDS / PRODUTOS
============================ */
.about-card,
.product-card {
  border: 1px solid var(--hubbra-line);
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(8, 49, 99, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover,
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 49, 99, 0.08);
}

/* Card ativo com faixa superior */
.product-card-active {
  position: relative;
}

.product-card-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--hubbra-ice);
  border-top-left-radius: .75rem;
  border-top-right-radius: .75rem;
}

/* ============================
   MÉTODO (framework)
============================ */
.method-desktop-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.method-step-block {
  border-top: none;
}



.method-step-dot {
  width: 10px;
  height: 10px;
  background-color: var(--hubbra-ice);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--hubbra-glow);
}

.method-step-headline-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hubbra-ice);
  line-height: 1;
}

/* ============================
   EDITORIAIS
============================ */
.editorial-line-top {
  border-top: 1px solid rgba(8, 49, 99, 0.08);
}

.editorial-line-bottom {
  border-bottom: 1px solid rgba(8, 49, 99, 0.08);
}

.editorial-border {
  border: 1px solid var(--hubbra-line);
}

/* ============================
   FOOTER
============================ */
#footer {
  border-top: 1px solid rgba(221, 228, 255, 0.1);
}

.footer-link {
  color: var(--hubbra-white);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--hubbra-ice);
}

/* ============================
   ANIMAÇÕES BÁSICAS
============================ */
.fade-up {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   FORMULÁRIOS
============================ */
input:focus-visible {
  outline: none;
  border-color: var(--hubbra-deep);
  box-shadow: 0 0 0 2px var(--hubbra-deep);
}

/* ============================
   MOBILE
============================ */
.mobile-nav-panel {
  display: none;
}

.mobile-nav-panel[aria-hidden="false"] {
  display: block;
}

.export-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  z-index: 999;
}

.export-button:hover {
  opacity: 0.9;
}

@media print {
  body {
    background: #ffffff;
    padding: 0;
    margin: 0;
  }

  .page {
    box-shadow: none;
    border-radius: 0;
    margin: 0 auto;
    page-break-after: always;
  }

  .page:last-child {
    page-break-after: auto;
  }

  .export-button {
    display: none;
  }
}

@page {
  size: A4 portrait;
  margin: 0;
}