/* ==========================================================
   MP hub — Move Performance Hub
   Tokens da identidade visual
   ========================================================== */
:root {
  /* Base */
  --midnight: #0B1220;
  --graphite: #1E2A3B;
  --line-dark: #2A3648;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --line: #DDE2E9;

  /* Neutros de texto */
  --text: #0B1220;
  --text-2: #3A4556;
  --text-3: #556070;
  --on-dark: #F6F7F9;
  --on-dark-2: #B4BECC;
  --on-dark-3: #9AA6B8;

  /* Sinais (um por braço) */
  --signal-blue: #3D7BFF;   /* mp analytics */
  --blue-text: #1F4FD1;
  --blue-tint: #EEF3FF;
  --pulse-coral: #FF6B4A;   /* mp academy */
  --coral-text: #C2410C;
  --coral-tint: #FFF0EC;
  --volt: #C8F13A;          /* mp tech + marca-mãe (só preenchimento) */
  --volt-tint: #F4FBDD;

  /* Tipografia */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
a { color: var(--blue-text); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-3); }
.section-dark .muted, .hero .muted, .site-footer .muted { color: var(--on-dark-3); }
.small { font-size: 13px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--volt); color: var(--midnight); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--signal-blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-volt { background: var(--volt); color: var(--midnight); }
.btn-volt:hover { background: #D6F865; }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--on-dark-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; color: var(--on-dark); --node: var(--volt); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-move { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.05em; }
.brand-sub { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.42em; margin-top: 3px; }
.brand-sub b { color: var(--volt); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--on-dark); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--midnight); border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: var(--on-dark); padding: 96px 0 112px; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.hero-lines polyline { fill: none; stroke: var(--on-dark-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero-lines .dashed { stroke-dasharray: 4 8; stroke-width: 1; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; color: var(--on-dark-3); margin-bottom: 18px; }
.eyebrow.dark { color: var(--text-3); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; }
.hero .hl { color: var(--volt); }
.lead { font-size: 19px; color: var(--on-dark-2); margin-top: 22px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-card { background: rgba(30, 42, 59, .7); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; }
.hc-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .12em; }
.pill-volt { background: var(--volt); color: var(--midnight); padding: 4px 10px; border-radius: 6px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; margin: 26px 0; }
.bars span { flex: 1; height: var(--h); background: var(--line-dark); border-radius: 4px; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.bars span:nth-child(2) { animation-delay: .05s; } .bars span:nth-child(3) { animation-delay: .1s; }
.bars span:nth-child(4) { animation-delay: .15s; } .bars span:nth-child(5) { animation-delay: .2s; }
.bars span:nth-child(6) { animation-delay: .25s; } .bars span:nth-child(7) { animation-delay: .3s; }
.bars .b-blue { background: var(--signal-blue); }
.bars .b-volt { background: var(--volt); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .bars span { animation: none; } }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line-dark); padding-top: 18px; }
.hc-stats div { display: flex; flex-direction: column; gap: 4px; }
.hc-stats span { font-size: 12px; }
.hc-stats strong { font-size: 22px; font-weight: 500; }
.hc-note { font-size: 12px; color: var(--on-dark-3); margin-top: 14px; }

@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Faixa de softwares ---------- */
.tools-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.tools-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 22px; padding-bottom: 22px; }
.tools-inner > span { font-size: 12px; letter-spacing: .16em; }
.tools-inner ul { display: flex; flex-wrap: wrap; gap: 12px 36px; list-style: none; margin: 0; padding: 0; }
.tools-inner li { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-2); }

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section-dark { background: var(--midnight); color: var(--on-dark); }
.section-paper { background: var(--white); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: 56px; }
.section h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; }
.section-lead { max-width: 520px; color: var(--text-2); font-size: 17px; }
.section-dark .section-lead { color: var(--on-dark-2); }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Braços ---------- */
.arms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .arms { grid-template-columns: 1fr; } }
.arm { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.arm:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 18, 32, .08); }
.arm-bar { height: 8px; }
.arm-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.arm-title { display: flex; align-items: center; gap: 14px; }
.arm-mark { width: 52px; height: 52px; flex-shrink: 0; color: var(--midnight); }
.arm h3 { font-size: 28px; font-weight: 700; }
.tag { font-size: 11px; letter-spacing: .16em; color: var(--text-3); margin-top: 4px; }
.arm-body > p { color: var(--text-2); font-size: 15px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chips li { padding: 14px 16px; border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 4px; }
.chips strong { font-size: 15px; font-weight: 600; }
.chips span { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.arm-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; text-decoration: none; padding: 10px 0; }
.arm-link:hover { text-decoration: underline; }

.arm-blue .arm-bar { background: var(--signal-blue); }
.arm-blue .arm-mark { --node: var(--signal-blue); }
.arm-blue h3 span, .arm-blue .arm-link { color: var(--blue-text); }
.arm-blue .chips li { background: var(--blue-tint); }

.arm-coral .arm-bar { background: var(--pulse-coral); }
.arm-coral .arm-mark { --node: var(--pulse-coral); }
.arm-coral h3 span, .arm-coral .arm-link { color: var(--coral-text); }
.arm-coral .chips li { background: var(--coral-tint); }

.arm-volt .arm-bar { background: var(--volt); }
.arm-volt .arm-mark { --node: var(--volt); }
.arm-volt h3 span { background: var(--volt); padding: 0 6px; border-radius: 4px; }
.arm-volt .arm-link { color: var(--midnight); }
.arm-volt .chips li { background: var(--volt-tint); }

/* ---------- Para quem ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }
.aud-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.aud-card .num { color: var(--volt); font-size: 14px; }
.aud-card h3 { font-size: 24px; font-weight: 600; }
.aud-card p { color: var(--on-dark-2); }

/* ---------- Etapas ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: var(--line); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--midnight); margin-bottom: 12px; position: relative; }
.step-dot-volt { background: var(--volt); width: 24px; height: 24px; margin-top: -2px; margin-bottom: 10px; }
.steps h3 { font-size: 22px; font-weight: 600; }
.steps p { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 36px; }
  .steps::before { top: 10px; bottom: 10px; left: 9px; right: auto; width: 2px; height: auto; }
  .step-dot { position: absolute; left: -36px; top: 2px; margin: 0; }
  .step-dot-volt { left: -38px; top: 0; margin: 0; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--paper); border: 1px dashed #C9D0DA; display: flex; align-items: center; justify-content: center; }
.about h2 { margin-bottom: 20px; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-size: 28px; font-weight: 500; }
.facts span { font-size: 14px; color: var(--text-3); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 14px; }
.form { background: var(--graphite); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--on-dark-2); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--on-dark); background: var(--midnight);
  border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--volt); outline-offset: 1px; border-color: transparent; }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--pulse-coral); }
.form .btn { align-self: flex-start; }
.form-status { font-size: 14px; color: var(--on-dark-2); min-height: 1.4em; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--midnight); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--on-dark-2); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--on-dark); }

/* ---------- Revelar ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
