/* ==========================================================================
   COMEXPB — SISTEMA DE DESIGN INSTITUCIONAL & RECEPÇÃO DE ALTO IMPACTO
   ========================================================================== */

:root {
  --bg-light: #F7F5F0;
  --bg-sand: #EFECE4;
  --bg-card-light: #FFFFFF;
  --bg-dark: #061318;
  --bg-dark-elevated: #0C2027;

  --text-primary: #0B191E;
  --text-secondary: #43545B;
  --text-muted: #6B7C83;
  --text-on-dark: #F7F5F0;
  --text-on-dark-muted: #A9BBC2;

  --accent-burgundy: #7A0F14;
  --accent-terracotta: #D96B27;
  --accent-terracotta-hover: #BF5819;
  --accent-amber: #E89B3C;
  --accent-gold-soft: #F6C87A;
  --accent-teal: #0F766E;
  --accent-teal-bright: #14B8A6;

  --border-light: rgba(11, 25, 30, 0.10);
  --border-light-strong: rgba(11, 25, 30, 0.18);
  --border-dark: rgba(247, 245, 240, 0.12);
  --shadow-sm: 0 2px 10px rgba(7, 22, 27, 0.04);
  --shadow-md: 0 12px 32px rgba(7, 22, 27, 0.08);
  --shadow-lg: 0 24px 56px rgba(4, 14, 18, 0.28);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --container-max: 1220px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

button, select, input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER INSTITUCIONAL EM CREME QUENTE (#FFFCF7) — CONTRASTE TOTAL COM A LOGO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(122, 15, 20, 0.14);
  box-shadow: 0 4px 20px rgba(6, 19, 24, 0.06);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 252, 247, 0.99);
  border-bottom: 1px solid rgba(122, 15, 20, 0.20);
  box-shadow: 0 8px 28px rgba(6, 19, 24, 0.10);
}

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

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 4px 8px;
  border-radius: 10px;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #7A0F14;
}

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

/* Seletor de idioma (dropdown com bandeira + sigla) */
.lang-dropdown {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  background: rgba(122, 15, 20, 0.06);
  border: 1px solid rgba(122, 15, 20, 0.16);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
  background: rgba(122, 15, 20, 0.10);
  border-color: rgba(122, 15, 20, 0.30);
}

.lang-trigger:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid var(--accent-burgundy);
  outline-offset: 2px;
}

.lang-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(11, 25, 30, 0.14);
  flex-shrink: 0;
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-trigger[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 92px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(122, 15, 20, 0.16);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 19, 24, 0.16);
  z-index: 120;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lang-option:hover {
  background: rgba(122, 15, 20, 0.07);
}

.lang-option.is-active {
  background: rgba(122, 15, 20, 0.10);
}

.lang-option .lang-code {
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(122, 15, 20, 0.06);
  border: 1px solid rgba(122, 15, 20, 0.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #7A0F14;
  border-radius: 2px;
}

.mobile-nav {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 0 28px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 10px 18px;
}

.btn-lg {
  font-size: 0.96rem;
  padding: 16px 28px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.92rem;
}

.btn-primary {
  background: linear-gradient(135deg, #E0742E 0%, #C85B18 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(217, 107, 39, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(217, 107, 39, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 5.5s infinite;
}

@keyframes btnShimmer {
  0%, 72% { left: -120%; }
  100% { left: 160%; }
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(247, 245, 240, 0.20);
  color: #F7F5F0;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(232, 155, 60, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.btn-secondary:hover {
  background: var(--bg-dark-elevated);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-light-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(11, 25, 30, 0.04);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(247, 245, 240, 0.25);
  color: #F7F5F0;
}

/* ==========================================================================
   1. HERO SECTION — RECEPÇÃO LIMPA & LISTA DE ESPERA
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 132px 0 84px;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow-burgundy {
  position: absolute;
  top: -14%;
  right: -8%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(107, 15, 20, 0.62) 0%, rgba(107, 15, 20, 0.18) 45%, transparent 72%);
  filter: blur(20px);
}

.hero-glow-amber {
  position: absolute;
  bottom: -18%;
  left: -10%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(217, 107, 39, 0.24) 0%, rgba(232, 155, 60, 0.06) 45%, transparent 72%);
  filter: blur(24px);
}

.hero-glow-teal {
  position: absolute;
  top: 28%;
  left: 38%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  filter: blur(30px);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 245, 240, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 245, 240, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 45%, black 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 35%, transparent 82%);
}

.hero-orbit-ring {
  position: absolute;
  top: 50%;
  right: 4%;
  width: 680px;
  height: 680px;
  margin-top: -340px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 155, 60, 0.14);
  animation: slowSpin 75s linear infinite;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  animation: heroReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 155, 60, 0.32);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-gold-soft);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 0 0 rgba(232, 155, 60, 0.7);
  animation: pulseBeacon 2.2s infinite;
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(232, 155, 60, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(232, 155, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 155, 60, 0); }
}

.hero-title {
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-brand-highlight {
  display: block;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #E89B3C 0%, #F6C87A 55%, #E0742E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.hero-serif-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.16em;
  color: var(--accent-gold-soft);
}

.hero-subtitle {
  font-size: clamp(1.06rem, 1.3vw, 1.18rem);
  color: var(--text-on-dark-muted);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 32px;
}

/* ==========================================================================
   FORMULÁRIO INLINE DE LISTA DE ESPERA (HERO)
   ========================================================================== */
.hero-waitlist-wrap {
  max-width: 520px;
}

.hero-waitlist-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 245, 240, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-waitlist-form:focus-within {
  border-color: rgba(232, 155, 60, 0.65);
  box-shadow: 0 0 0 4px rgba(232, 155, 60, 0.12);
}

.hero-waitlist-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.hero-waitlist-input::placeholder {
  color: rgba(247, 245, 240, 0.52);
}

.hero-waitlist-input:focus {
  outline: none;
}

.hero-waitlist-btn {
  padding: 13px 22px;
  font-size: 0.92rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.hero-waitlist-note {
  margin-top: 11px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  line-height: 1.45;
}

.hero-waitlist-confirmed {
  padding: 16px 18px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.38);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-waitlist-confirmed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #FFFFFF;
}

.wl-check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-teal-bright);
  color: #061318;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.wl-enrich-link {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--accent-gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.wl-enrich-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   HERO RIGHT: PAINEL VISUAL ANIMADO DE CONEXÃO GLOBAL
   ========================================================================== */
.hero-visual {
  position: relative;
  padding: 32px 0 48px;
}

.trade-command-card {
  position: relative;
  background: linear-gradient(165deg, rgba(16, 38, 46, 0.92) 0%, rgba(7, 20, 25, 0.97) 100%);
  border: 1px solid rgba(247, 245, 240, 0.14);
  border-radius: var(--radius-xl);
  padding: 18px 18px 26px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.tc-map-stage {
  position: relative;
  margin: 0 0 14px;
  border-radius: var(--radius-md);
  background: #041015;
  border: 1px solid rgba(247, 245, 240, 0.08);
  overflow: hidden;
}

.trade-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.route-base {
  stroke: rgba(232, 155, 60, 0.28);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.route-flow {
  stroke: url(#arcGradGold);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 22 78;
  stroke-dashoffset: 100;
  animation: routeDash 3.6s linear infinite;
}

@keyframes routeDash {
  to {
    stroke-dashoffset: 0;
  }
}

.dest-halo {
  fill: rgba(20, 184, 166, 0.24);
}

.dest-dot {
  fill: #14B8A6;
  stroke: #061318;
  stroke-width: 1.5;
}

.pb-radar-ring {
  fill: none;
  stroke: rgba(232, 155, 60, 0.65);
  stroke-width: 1.5;
  animation: radarExpand 2.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes radarExpand {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.tc-workflow-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 245, 240, 0.08);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F7F5F0;
}

.wf-arrow {
  color: var(--accent-amber);
}

/* Badges Flutuantes */
.floating-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: rgba(11, 29, 36, 0.92);
  border: 1px solid rgba(232, 155, 60, 0.34);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  animation: floatGentle 5.5s ease-in-out infinite;
}

.badge-top-right {
  top: 0;
  right: -12px;
}

.badge-bottom-left {
  bottom: 0;
  left: -12px;
  animation-delay: 2.2s;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.fb-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(217, 107, 39, 0.22);
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-icon.teal {
  background: rgba(20, 184, 166, 0.18);
  color: var(--accent-teal-bright);
}

.floating-badge strong {
  display: block;
  font-size: 0.82rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.floating-badge span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   SEÇÕES COMUNS
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-sand {
  background: var(--bg-sand);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 12px;
}

.section-tag-dark {
  color: var(--accent-amber);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-title.text-light {
  color: var(--text-on-dark);
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  color: var(--accent-terracotta);
}

.section-header-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 48px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

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

/* ==========================================================================
   2. SOBRE A PLATAFORMA
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.context-card {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.context-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
}

.fact-value {
  display: block;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 4px;
}

.fact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  line-height: 1.42;
}

.context-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark);
}

.thesis-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.thesis-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.thesis-copy {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   3. COMO FUNCIONA (4 ETAPAS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step-card:hover {
  border-color: var(--accent-amber);
  transform: translateY(-4px);
}

.step-num {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-amber);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-on-dark);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  line-height: 1.62;
}

/* ==========================================================================
   4. SOLUÇÕES E RECURSOS DO HUB
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.solution-wide {
  grid-column: span 2;
}

.sol-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-sand);
  color: var(--text-primary);
}

.sol-icon.accent-amber {
  background: rgba(217, 107, 39, 0.14);
  color: var(--accent-terracotta);
}

.sol-icon.accent-teal {
  background: rgba(15, 118, 110, 0.14);
  color: var(--accent-teal);
}

.solution-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.solution-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   5. SETORES ATENDIDOS
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sector-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.22s ease;
}

.sector-card:hover {
  border-color: var(--accent-terracotta);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sector-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-terracotta);
}

.sector-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

/* ==========================================================================
   6. PLANOS E ASSINATURAS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.pricing-popular {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border: 2px solid var(--accent-terracotta);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 26px;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-popular .plan-tagline {
  color: var(--text-on-dark-muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-popular .plan-price {
  border-bottom-color: var(--border-dark);
}

.currency {
  font-size: 1.05rem;
  font-weight: 700;
}

.amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.period {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-popular .period {
  color: var(--text-on-dark-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
}

.check-icon {
  width: 19px;
  height: 19px;
  color: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-popular .check-icon {
  color: var(--accent-amber);
}

/* ==========================================================================
   7. PARCEIROS LOGÍSTICOS E ADUANEIROS
   ========================================================================== */
.partner-box {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.partner-content {
  max-width: 680px;
}

.partner-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.partner-text {
  font-size: 1.04rem;
  color: var(--text-on-dark-muted);
  line-height: 1.68;
  margin-bottom: 24px;
}

.partner-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pillar-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
}

.partner-action {
  flex-shrink: 0;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 68px 0 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  max-width: 38ch;
}

.footer-links-group, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group h4, .footer-contact h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-amber);
  margin-bottom: 6px;
}

.footer-links-group a {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: #FFFFFF;
}

.footer-contact p {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}

.footer-contact a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.86rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   MODAIS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 22, 27, 0.74);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-light-strong);
  border-radius: 10px;
  font-size: 0.92rem;
  background: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  background: #FFFFFF;
}

.form-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.14);
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ==========================================================================
   ANIMAÇÃO DE ENTRADA SUAVE
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-enter {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .floating-badge, .hero-orbit-ring, .route-flow, .pb-radar-ring, .beacon-dot {
    animation: none;
  }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-section {
    min-height: auto;
    padding: 120px 0 72px;
  }
  .hero-container,
  .about-grid,
  .partner-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-visual {
    width: 100%;
    max-width: 600px;
  }
  .badge-top-right {
    right: 10px;
  }
  .badge-bottom-left {
    left: 10px;
  }
  .section-header-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-grid,
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-wide {
    grid-column: span 2;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .brand-logo-img {
    height: 44px;
    max-width: 170px;
  }
  .hero-section {
    padding: 108px 0 60px;
  }
  .hero-waitlist-form {
    flex-direction: column;
  }
  .hero-waitlist-btn {
    width: 100%;
  }
  .hero-visual {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .floating-badge {
    position: static;
    animation: none;
    width: 100%;
  }
  .trade-command-card {
    order: 1;
    padding: 14px;
  }
  .badge-top-right {
    order: 2;
  }
  .badge-bottom-left {
    order: 3;
  }
  .context-facts,
  .steps-grid,
  .solutions-grid,
  .sectors-grid,
  .pricing-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .solution-wide {
    grid-column: span 1;
  }
  .partner-box {
    padding: 32px 24px;
  }
  .section {
    padding: 72px 0;
  }
}

/* Telas muito pequenas: o botão "Lista de espera" já existe no menu mobile */
@media (max-width: 480px) {
  .header-actions .btn-sm {
    display: none;
  }
}
