/* ============================================================
   +umlead v3 — Enterprise Salesforce-grade
   Brand book v1.0 estritamente aplicado. iOS Safari otimizado.
   ============================================================ */

:root {
  --navy: #032D60;
  --navy-deep: #021F45;
  --navy-soft: #0A3D7A;
  --camp: #FF6B1A;
  --camp-bright: #FF8A3D;
  --camp-soft: rgba(255, 107, 26, 0.08);
  --white: #FFFFFF;
  --trail: #E5E5E5;
  --trail-soft: #F8F8F5;
  --text: #2D2D2D;
  --text-mute: #6B6B6B;
  --success: #2E844A;
  --error: #BA0517;
  --info: #0176D3;
  --sf-blue: #00A1E0;

  --display: 'Instrument Serif', Georgia, serif;
  --body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--camp); color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.serif { font-family: var(--display); font-style: italic; font-weight: 400; }

/* TERM */
.term {
  display: inline;
  border-bottom: 1.5px dotted var(--camp);
  cursor: help;
  position: relative;
  font-weight: inherit;
  color: inherit;
  padding: 0 1px;
  transition: background .15s;
}
.term:hover, .term:focus-visible { background: var(--camp-soft); outline: none; }
.term::after {
  content: 'ⓘ';
  font-size: .65em;
  vertical-align: super;
  margin-left: 2px;
  color: var(--camp);
  font-weight: 700;
  font-family: var(--body);
}
.term-light { border-bottom-color: var(--camp-bright); }

/* POPUP */
.popup-bg {
  position: fixed; inset: 0;
  background: rgba(2, 31, 69, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  padding-top: calc(1.5rem + var(--safe-top));
  padding-bottom: calc(1.5rem + var(--safe-bottom));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.popup-bg.open { display: flex; opacity: 1; }
.popup {
  background: var(--white);
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
  transform: scale(0.95) translateY(10px);
  transition: transform .35s var(--ease);
}
.popup-bg.open .popup { transform: scale(1) translateY(0); }

.popup-header {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  border-radius: 18px 18px 0 0;
  position: relative;
  overflow: hidden;
}
.popup-header::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 30%, rgba(255,107,26,0.3), transparent 60%);
  pointer-events: none;
}
.popup-eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--camp);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  position: relative; z-index: 1;
}
.popup-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative; z-index: 1;
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  z-index: 2;
}
.popup-close:hover { background: rgba(255,255,255,0.2); }
.popup-body {
  padding: 1.75rem;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text);
}
.popup-body p { margin-bottom: 1rem; }
.popup-body p:last-child { margin-bottom: 0; }
.popup-body strong { color: var(--navy); font-weight: 600; }
.popup-body em { font-style: italic; color: var(--camp); }
.popup-body .h {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
}
.popup-body .h:first-child { margin-top: 0; }
.popup-body .example {
  background: var(--trail-soft);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border-left: 3px solid var(--camp);
  font-size: .9rem;
  color: var(--text);
  margin: .5rem 0;
}
.popup-body .example strong { color: var(--navy); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--trail);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color .35s;
}
.nav.scrolled .logo { color: var(--navy); }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--camp);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.2));
}
.logo-mark span { position: relative; z-index: 1; transform: translateY(-1px); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; font-size: .92rem; font-weight: 500; }
.nav-links a { color: rgba(255,255,255,0.85); transition: color .2s; }
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--camp) !important; }
.nav-cta {
  background: var(--camp) !important;
  color: var(--white) !important;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--camp-bright) !important; transform: translateY(-1px); color: var(--white) !important; }
@media (max-width: 768px) { .nav-links a:not(.nav-cta) { display: none; } }

/* HERO */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: 8rem var(--pad) 5rem;
  padding-top: calc(8rem + var(--safe-top));
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 26, 0.25), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(0, 161, 224, 0.18), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 61, 122, 0.4), transparent 70%);
  animation: meshFloat 18s ease-in-out infinite;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-3%, 2%) scale(1.05); }
  66% { transform: translate(2%, -2%) scale(0.98); }
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; gap: 3rem; } }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: .5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--camp);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--camp);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(2.3rem, 6.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  color: var(--white);
}
.serif-em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--camp);
  letter-spacing: -0.02em;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroWord .9s var(--ease) forwards;
}
@keyframes heroWord { to { opacity: 1; transform: translateY(0); } }
.hero-sub {
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp .9s .6s var(--ease) forwards;
}
.hero-sub strong { color: var(--white); font-weight: 500; }
.hero-sub .term { color: var(--white); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  opacity: 0;
  animation: fadeUp .9s .8s var(--ease) forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--camp);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 30px -10px rgba(255, 107, 26, 0.5);
}
.btn-primary:hover {
  background: var(--camp-bright);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 16px 40px -10px rgba(255, 107, 26, 0.6);
}
.btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s 1s var(--ease) forwards;
}
.hero-stat { border-left: 2px solid var(--camp); padding-left: .9rem; }
.hero-stat-num {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: .76rem;
  color: rgba(255,255,255,0.55);
  margin-top: .3rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* CLOUD ORBIT */
.cloud-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 540px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1.2s .4s var(--ease) forwards;
}
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring.r1 { width: 100%; height: 100%; animation: orbitRotate 50s linear infinite; }
.orbit-ring.r2 { width: 72%; height: 72%; animation: orbitRotate 35s linear infinite reverse; }
.orbit-ring.r3 { width: 45%; height: 45%; animation: orbitRotate 25s linear infinite; }
@keyframes orbitRotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--camp-bright), var(--camp));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.05em;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 0 80px rgba(255, 107, 26, 0.6);
  animation: pulseCore 3s infinite;
}
@keyframes pulseCore {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 0 80px rgba(255, 107, 26, 0.6); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 0 120px rgba(255, 107, 26, 0.8); }
}
.orbit-center-label { line-height: 1.2; }
.orbit-center-label strong { display: block; font-size: .88rem; }

.cloud-node {
  position: absolute;
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: .6rem .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: all .3s;
  z-index: 4;
  transform: translate(-50%, -50%);
}
.cloud-node:hover { background: rgba(255, 107, 26, 0.2); border-color: var(--camp); transform: translate(-50%, -50%) scale(1.05); }
.cloud-node svg { width: 14px; height: 14px; flex-shrink: 0; }
.cloud-node.sales { top: 12%; left: 50%; animation: floatY 6s ease-in-out infinite; }
.cloud-node.service { top: 30%; left: 88%; animation: floatY 7s ease-in-out infinite 1s; }
.cloud-node.marketing { top: 65%; left: 90%; animation: floatY 5.5s ease-in-out infinite .5s; }
.cloud-node.data { top: 88%; left: 50%; animation: floatY 6.5s ease-in-out infinite 1.5s; }
.cloud-node.einstein { top: 65%; left: 10%; animation: floatY 7.5s ease-in-out infinite 2s; }
.cloud-node.mulesoft { top: 30%; left: 12%; animation: floatY 6s ease-in-out infinite .8s; }
@keyframes floatY {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
@media (max-width: 1024px) { .cloud-orbit { max-width: 420px; } }

/* LOGOS */
.logos-strip { background: var(--white); padding: 3rem var(--pad); border-bottom: 1px solid var(--trail); }
.logos-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.logos-label { font-family: var(--mono); font-size: .72rem; color: var(--text-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.logos-row { display: flex; gap: 3rem; align-items: center; justify-content: center; flex-wrap: wrap; opacity: .5; filter: grayscale(1); }
.logo-item { font-family: var(--body); font-size: 1.15rem; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }

/* SECTIONS */
.section-eyebrow {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--camp);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  text-transform: uppercase;
  font-weight: 500;
}
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--camp); }
h2 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.8vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
  max-width: 22ch;
  margin-bottom: 1.25rem;
}
.section-intro {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: 3rem;
}

/* TESE */
.tese { background: var(--navy-deep); color: var(--white); padding: 5rem var(--pad); position: relative; overflow: hidden; }
.tese-bg { position: absolute; inset: 0; pointer-events: none; opacity: .4; }
.tese-bg::before, .tese-bg::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); }
.tese-bg::before { width: 600px; height: 600px; background: var(--camp); top: -200px; right: -100px; opacity: .25; animation: orbFloat1 15s ease-in-out infinite; }
.tese-bg::after { width: 500px; height: 500px; background: var(--sf-blue); bottom: -150px; left: -100px; opacity: .15; animation: orbFloat2 18s ease-in-out infinite; }
@keyframes orbFloat1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-50px, 30px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(60px, -40px); } }
.tese-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.tese-label { font-family: var(--mono); font-size: .76rem; color: var(--camp); margin-bottom: 1.25rem; letter-spacing: 0.08em; }
.tese-statement {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 24ch;
  color: var(--white);
}
.tese-statement .strike { position: relative; color: rgba(255,255,255,0.4); }
.tese-statement .strike::after {
  content: '';
  position: absolute;
  top: 54%; left: -2%;
  width: 104%; height: 5px;
  background: var(--camp);
  transform: rotate(-2deg);
  border-radius: 2px;
}
.tese-byline { margin-top: 1.75rem; font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 56ch; line-height: 1.65; }
.tese-byline strong { color: var(--white); font-weight: 500; }
.tese-byline .term { color: rgba(255,255,255,0.85); border-bottom-color: var(--camp-bright); }

/* DIAGRAMA 1 — FLOW */
.diagram-section { background: var(--white); padding: 6rem var(--pad); border-bottom: 1px solid var(--trail); }
.diagram-inner { max-width: var(--max); margin: 0 auto; }
.flow-diagram { background: var(--trail-soft); border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--trail); position: relative; overflow: hidden; }
.flow-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2rem; align-items: start; position: relative; }
@media (max-width: 800px) { .flow-stages { grid-template-columns: 1fr; gap: 2rem; } }
.flow-stage { text-align: center; position: relative; z-index: 2; padding: 0 .5rem; }
.flow-stage-circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--trail);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  transition: all .4s var(--ease);
}
.flow-stage:hover .flow-stage-circle { border-color: var(--camp); transform: scale(1.08); box-shadow: 0 12px 30px -10px rgba(255, 107, 26, 0.4); }
.flow-stage-circle svg { width: 30px; height: 30px; color: var(--navy); transition: color .3s; }
.flow-stage:hover .flow-stage-circle svg { color: var(--camp); }
.flow-stage-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 26px; height: 26px;
  background: var(--camp);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--trail-soft);
}
.flow-stage h4 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: .35rem; letter-spacing: -0.01em; }
.flow-stage p { font-size: .85rem; color: var(--text-mute); line-height: 1.5; max-width: 22ch; margin: 0 auto; }
.flow-line {
  position: absolute;
  top: 38px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--trail) 8%, var(--trail) 92%, transparent 100%);
  z-index: 1;
}
.flow-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 4px;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--camp), transparent);
  border-radius: 2px;
  animation: flowPulse 3s ease-in-out infinite;
}
@keyframes flowPulse {
  0% { left: -30%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 800px) { .flow-line { display: none; } }

/* LIVE DASHBOARD */
.live-section { background: var(--trail-soft); padding: 6rem var(--pad); position: relative; overflow: hidden; }
.live-inner { max-width: var(--max); margin: 0 auto; }
.live-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.live-header h2 { margin-bottom: 0; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--success);
  background: rgba(46, 132, 74, 0.08);
  padding: .4rem .85rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(46, 132, 74, 0.2);
}
.live-badge::before { content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulseDot 1.5s infinite; }
.live-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } }
.live-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid var(--trail);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.live-card:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -20px rgba(3, 45, 96, 0.15); }
.live-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.live-card-title { font-size: .76rem; color: var(--text-mute); font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.live-card-tag { font-family: var(--mono); font-size: .66rem; padding: .25rem .55rem; background: var(--camp-soft); color: var(--camp); border-radius: 4px; font-weight: 600; }
.footprint-card { grid-row: span 2; display: flex; flex-direction: column; }
.footprint-card .footprint-bars { flex: 1; justify-content: space-around; }
.footprint-bars { display: flex; flex-direction: column; gap: .75rem; }
.footprint-row { display: grid; grid-template-columns: 130px 1fr 48px; gap: 1rem; align-items: center; font-size: .86rem; }
@media (max-width: 500px) { .footprint-row { grid-template-columns: 100px 1fr 40px; gap: .5rem; } }
.footprint-name { color: var(--navy); font-weight: 500; }
.footprint-bar { background: var(--trail-soft); height: 8px; border-radius: 4px; overflow: hidden; position: relative; }
.footprint-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--camp));
  border-radius: 4px;
  width: 0;
  animation: barFill 1.5s var(--ease) forwards;
  position: relative;
}
.footprint-bar-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes barFill { to { width: var(--w, 50%); } }
.footprint-value { font-family: var(--mono); font-size: .76rem; font-weight: 600; color: var(--text); text-align: right; }
.footprint-legend {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--trail);
  font-size: .78rem;
  color: var(--text-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footprint-legend strong { color: var(--navy); font-weight: 600; }

.counter-value { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 4.5vw, 3.8rem); color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.counter-suffix { font-family: var(--body); font-size: 1.4rem; color: var(--camp); font-weight: 500; vertical-align: top; margin-left: .2rem; }
.counter-trend { margin-top: .85rem; font-size: .84rem; color: var(--success); font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.counter-trend svg { width: 14px; height: 14px; }
.counter-detail { font-size: .8rem; color: var(--text-mute); margin-top: .5rem; line-height: 1.5; }

.ticker-card { background: var(--navy); color: var(--white); }
.ticker-card .live-card-title { color: rgba(255,255,255,0.5); }
.ticker-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.ticker-item { display: flex; gap: .85rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: .86rem; align-items: flex-start; }
.ticker-item:last-child { border-bottom: none; }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--camp); margin-top: .45rem; flex-shrink: 0; box-shadow: 0 0 12px var(--camp); }
.ticker-content { flex: 1; line-height: 1.45; }
.ticker-time { font-family: var(--mono); font-size: .68rem; color: rgba(255,255,255,0.4); margin-top: .2rem; }
.ticker-content strong { color: var(--camp); font-weight: 600; }
.ticker-content .term { color: rgba(255,255,255,0.95); border-bottom-color: var(--camp-bright); }

/* ANATOMY */
.anatomy-section { background: var(--trail-soft); padding: 6rem var(--pad); }
.anatomy-inner { max-width: var(--max); margin: 0 auto; }
.anatomy-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; margin-top: 2rem; }
@media (max-width: 900px) { .anatomy-wrap { grid-template-columns: 1fr; gap: 2rem; } }
.anatomy-text h3 { font-family: var(--body); font-weight: 700; font-size: 1.5rem; color: var(--navy); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.anatomy-text p { font-size: 1rem; color: var(--text); line-height: 1.65; margin-bottom: 1rem; }
.anatomy-text p strong { color: var(--navy); font-weight: 600; }
.anatomy-text p em { font-style: italic; color: var(--camp); }
.anatomy-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.anatomy-list li { display: flex; gap: .85rem; align-items: flex-start; font-size: .92rem; line-height: 1.5; padding: .85rem 1rem; background: var(--white); border-radius: 10px; border-left: 3px solid var(--camp); }
.anatomy-list li strong { color: var(--navy); font-weight: 600; display: block; margin-bottom: .15rem; }
.anatomy-list li span { color: var(--text-mute); font-size: .85rem; }
.anatomy-diagram { width: 100%; aspect-ratio: 1 / 1; max-width: 640px; margin: 0 auto; display: block; }
.anatomy-diagram g[data-popup] { cursor: pointer; transition: transform .25s ease, filter .25s ease; transform-origin: center; transform-box: fill-box; }
.anatomy-diagram g[data-popup]:hover { transform: scale(1.08); filter: drop-shadow(0 8px 24px rgba(255,107,26,.35)); }
.anatomy-diagram g[data-popup]:focus { outline: none; transform: scale(1.08); filter: drop-shadow(0 8px 24px rgba(255,107,26,.45)); }
.anatomy-diagram g[data-popup] circle { transition: stroke-width .25s ease; }
.anatomy-diagram g[data-popup]:hover circle:nth-of-type(1),
.anatomy-diagram g[data-popup]:focus circle:nth-of-type(1) { stroke-width: 3; }
.anatomy-list li { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-left-width .2s ease; }
.anatomy-list li:hover { transform: translateX(4px); box-shadow: 0 8px 20px -10px rgba(3,45,96,.18); border-left-width: 5px; }
.cloud-node { cursor: pointer; }
.cloud-node:focus { outline: 2px solid var(--camp); outline-offset: 2px; }
.logo-item { cursor: pointer; transition: color .25s ease, transform .25s ease; }
.logo-item:hover { color: var(--camp); transform: translateY(-2px); }
.logo-item:focus { outline: 2px solid var(--camp); outline-offset: 4px; border-radius: 4px; }
.flow-stage { cursor: pointer; }
.flow-stage:focus { outline: none; }
.flow-stage:focus .flow-stage-circle { border-color: var(--camp); transform: scale(1.08); box-shadow: 0 12px 30px -10px rgba(255,107,26,.4); }

/* SCENARIOS */
.scenarios-section { background: var(--white); padding: 6rem var(--pad); }
.scenarios-inner { max-width: var(--max); margin: 0 auto; }
.scenarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .scenarios-grid { grid-template-columns: 1fr; } }
.scenario {
  background: var(--white);
  border: 1px solid var(--trail);
  border-radius: 18px;
  overflow: hidden;
  transition: all .35s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.scenario:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -25px rgba(3, 45, 96, 0.2); border-color: var(--camp); }
.scenario-img { height: 160px; background: var(--navy); position: relative; overflow: hidden; }
.scenario-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scenario-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.scenario-tag { font-family: var(--mono); font-size: .68rem; color: var(--camp); letter-spacing: 0.06em; font-weight: 600; margin-bottom: .65rem; text-transform: uppercase; }
.scenario h4 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1.3; margin-bottom: .75rem; letter-spacing: -0.015em; }
.scenario-desc { font-size: .92rem; color: var(--text-mute); line-height: 1.55; margin-bottom: 1.25rem; flex: 1; }
.scenario-meta { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--trail); }
.scenario-meta-item { font-size: .78rem; color: var(--text); }
.scenario-meta-item strong { display: block; font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--camp); font-weight: 400; line-height: 1.1; margin-bottom: .15rem; }
.scenario-link { margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: .35rem; }
.scenario-link svg { width: 14px; height: 14px; transition: transform .2s; }
.scenario:hover .scenario-link svg { transform: translateX(3px); }
.scenario:hover .scenario-link { color: var(--camp); }
.scenarios-disclaimer {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-mute);
  max-width: 70ch;
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  background: var(--trail-soft);
  border-radius: 12px;
  border-left: 3px solid var(--info);
}
.scenarios-disclaimer strong { color: var(--info); font-weight: 700; }

/* COMPARE */
.compare-section { background: var(--white); padding: 6rem var(--pad); }
.compare-inner { max-width: var(--max); margin: 0 auto; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col { border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; }
.compare-col.bad { background: var(--trail-soft); border: 1px solid var(--trail); }
.compare-col.good { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.compare-col.good::after {
  content: '';
  position: absolute;
  right: -20%; top: -20%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,107,26,0.2), transparent);
  pointer-events: none;
}
.compare-label { font-family: var(--mono); font-size: .72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.compare-col.bad .compare-label { color: var(--text-mute); }
.compare-col.good .compare-label { color: var(--camp); }
.compare-col h4 { font-family: var(--body); font-weight: 700; font-size: 1.5rem; margin-bottom: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; position: relative; z-index: 1; }
.compare-col.bad h4 { color: var(--navy); }
.compare-col.good h4 { color: var(--white); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; position: relative; z-index: 1; flex: 1; }
.compare-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; line-height: 1.5; }
.compare-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.compare-col.bad .compare-list li svg { color: var(--text-mute); }
.compare-col.good .compare-list li svg { color: var(--camp); }
.compare-col.bad .compare-list li { color: var(--text); }
.compare-col.good .compare-list li { color: rgba(255,255,255,0.9); }
.compare-col.good .compare-list li strong { color: var(--white); }
.compare-foot { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid; font-size: .85rem; line-height: 1.5; position: relative; z-index: 1; }
.compare-col.bad .compare-foot { border-color: var(--trail); color: var(--text-mute); }
.compare-col.good .compare-foot { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.compare-foot strong { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.5rem; display: block; line-height: 1; margin-bottom: .25rem; }
.compare-col.bad .compare-foot strong { color: var(--navy); }
.compare-col.good .compare-foot strong { color: var(--camp); }

/* CALCULADORA */
.calc-section { padding: 6rem var(--pad); background: var(--trail-soft); position: relative; }
.calc-inner { max-width: var(--max); margin: 0 auto; }
.calc-wrap {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--trail);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 600px;
  box-shadow: 0 30px 80px -30px rgba(3, 45, 96, 0.2);
}
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-side { background: var(--navy); color: var(--white); padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.calc-side::before {
  content: '';
  position: absolute;
  right: -50%; bottom: -50%;
  width: 120%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 107, 26, 0.22), transparent);
  animation: orbFloat1 12s ease-in-out infinite;
}
.calc-side-content { position: relative; z-index: 1; }
.calc-step-num { font-family: var(--mono); font-size: .7rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em; margin-bottom: 1rem; }
.calc-progress { display: flex; gap: .35rem; margin-bottom: 1.5rem; }
.calc-progress span { flex: 1; height: 3px; background: rgba(255,255,255,0.12); border-radius: 2px; transition: background .4s; }
.calc-progress span.active { background: var(--camp); }
.calc-side-title { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.75rem; line-height: 1.15; margin-bottom: 1rem; color: var(--white); letter-spacing: -0.015em; }
.calc-side-desc { font-size: .9rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 2rem; }
.calc-side-foot { font-family: var(--mono); font-size: .65rem; color: rgba(255,255,255,0.4); position: relative; z-index: 1; letter-spacing: 0.05em; }
.calc-main { padding: 2.75rem; display: flex; flex-direction: column; background: var(--white); }
@media (max-width: 600px) { .calc-main, .calc-side { padding: 1.75rem 1.5rem; } }
.calc-step { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.calc-question { font-family: var(--body); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.25; color: var(--navy); margin-bottom: .75rem; letter-spacing: -0.02em; }
.calc-question em { font-style: italic; font-weight: 500; color: var(--camp); }
.calc-hint { font-size: .9rem; color: var(--text-mute); margin-bottom: 1.75rem; line-height: 1.55; }
.calc-options { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.75rem; }
.calc-option {
  text-align: left;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--trail);
  border-radius: 14px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: all .2s var(--ease);
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
}
.calc-option:hover { border-color: var(--navy); background: var(--trail-soft); transform: translateX(2px); }
.calc-option.selected { border-color: var(--camp); background: var(--camp-soft); color: var(--navy); }
.calc-option-marker { width: 22px; height: 22px; border: 1.5px solid var(--trail); border-radius: 50%; flex-shrink: 0; position: relative; transition: all .2s; }
.calc-option.selected .calc-option-marker { border-color: var(--camp); }
.calc-option.selected .calc-option-marker::after {
  content: '';
  position: absolute; inset: 4px;
  background: var(--camp);
  border-radius: 50%;
  animation: popIn .25s var(--ease);
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.calc-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1rem; gap: .75rem; }
.calc-back, .calc-next { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .92rem; transition: all .2s; }
.calc-back { color: var(--text-mute); padding: .5rem .8rem; border-radius: 8px; }
.calc-back:hover { color: var(--navy); background: var(--trail-soft); }
.calc-next { background: var(--navy); color: var(--white); padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; }
.calc-next svg { width: 14px; height: 14px; transition: transform .2s; }
.calc-next:hover:not(:disabled) { background: var(--camp); }
.calc-next:hover:not(:disabled) svg { transform: translateX(4px); }
.calc-next:disabled { opacity: .3; cursor: not-allowed; }

/* RESULT */
.calc-result { display: none; animation: stepIn .6s var(--ease); }
.calc-result.active { display: block; }
.result-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: 18px;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}
.result-hero::before { content: ''; position: absolute; right: -30%; top: -30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(255, 107, 26, 0.3), transparent); }
.result-hero-content { position: relative; z-index: 1; }
.result-hero-label { font-family: var(--mono); font-size: .7rem; color: var(--camp); letter-spacing: 0.08em; margin-bottom: .85rem; }
.result-hero-timeline { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.8vw, 2.5rem); line-height: 1.1; margin-bottom: .5rem; letter-spacing: -0.02em; }
.result-hero-confidence { font-size: .9rem; color: rgba(255,255,255,0.65); }
.result-block { margin-bottom: 1.75rem; }
.result-block h4 { font-family: var(--body); font-size: .76rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; display: flex; align-items: center; gap: .5rem; }
.result-block h4::before { content: ''; width: 16px; height: 1px; background: var(--camp); }
.result-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.result-list li { display: flex; gap: 1rem; padding: .85rem 0; font-size: .93rem; line-height: 1.55; border-bottom: 1px solid var(--trail); }
.result-list li:last-child { border-bottom: none; }
.result-list .num { font-family: var(--mono); color: var(--camp); font-weight: 700; font-size: .78rem; flex-shrink: 0; width: 28px; padding-top: 3px; letter-spacing: 0.02em; }
.result-list strong { color: var(--navy); font-weight: 600; }
.result-list em { font-style: italic; color: var(--text-mute); }

/* PROGRESSIVE PROFILING */
.pp-form { background: var(--trail-soft); padding: 1.75rem; border-radius: 16px; margin-top: 2rem; border: 1px solid var(--trail); }
.pp-stage { display: none; animation: stepIn .4s var(--ease); }
.pp-stage.active { display: block; }
.pp-stage-label { font-family: var(--mono); font-size: .68rem; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.pp-stage-label .dots { display: inline-flex; gap: .25rem; margin-left: auto; }
.pp-stage-label .dot { width: 6px; height: 6px; background: var(--trail); border-radius: 50%; }
.pp-stage-label .dot.active { background: var(--camp); }
.pp-stage-label .dot.done { background: var(--success); }
.pp-stage h4 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: .5rem; letter-spacing: -0.01em; }
.pp-stage p { font-size: .88rem; color: var(--text-mute); margin-bottom: 1.1rem; line-height: 1.55; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: .7rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-input, .form-select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--trail);
  border-radius: 10px;
  font-family: var(--body);
  font-size: .92rem;
  background: var(--white);
  transition: all .2s;
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(3, 45, 96, 0.08); }
.form-consent { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0; font-size: .8rem; color: var(--text-mute); line-height: 1.55; }
.form-consent input { margin-top: 3px; accent-color: var(--camp); cursor: pointer; min-width: 16px; }
.form-consent a { color: var(--navy); text-decoration: underline; }
.form-submit {
  background: var(--camp);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  width: 100%;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.form-submit:hover:not(:disabled) { background: var(--camp-bright); transform: translateY(-1px); }
.form-submit:disabled { background: var(--trail); color: var(--text-mute); cursor: not-allowed; }
.pp-skip { display: block; margin-top: .85rem; text-align: center; color: var(--text-mute); font-size: .82rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pp-skip:hover { color: var(--navy); }
.pp-success {
  background: linear-gradient(135deg, var(--success), #3da05c);
  color: var(--white);
  padding: 1.75rem;
  border-radius: 14px;
  margin-top: 1rem;
  display: none;
  animation: stepIn .5s var(--ease);
}
.pp-success.show { display: block; }
.pp-success strong { display: block; font-size: 1.1rem; margin-bottom: .35rem; }
.pp-success p { font-size: .9rem; opacity: 0.95; line-height: 1.55; margin-bottom: 1rem; }
.pp-success-cta {
  background: var(--white);
  color: var(--success);
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform .2s;
}
.pp-success-cta:hover { transform: translateY(-1px); }
.pp-success-cta svg { width: 16px; height: 16px; }
.calc-restart { text-align: center; margin-top: 1rem; }
.calc-restart button { color: var(--text-mute); font-size: .88rem; font-weight: 500; padding: .5rem 1rem; border-radius: 8px; }
.calc-restart button:hover { background: var(--trail-soft); color: var(--navy); }

/* DEMO */
.demo-section { background: var(--navy); color: var(--white); padding: 6rem var(--pad); overflow: hidden; position: relative; }
.demo-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(255, 107, 26, 0.2), transparent 50%), radial-gradient(ellipse at 20% 70%, rgba(0, 161, 224, 0.15), transparent 50%);
  pointer-events: none;
}
.demo-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
@media (max-width: 1024px) { .demo-inner { grid-template-columns: 1fr; gap: 3rem; } }
.demo-section .section-eyebrow { color: var(--camp); }
.demo-section h2 { color: var(--white); }
.demo-section .section-intro { color: rgba(255,255,255,0.75); }
.demo-section .term { color: rgba(255,255,255,0.95); border-bottom-color: var(--camp-bright); }
.demo-bullets { list-style: none; margin: 1.5rem 0 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.demo-bullets li { font-size: .96rem; color: rgba(255,255,255,0.88); padding-left: 2rem; position: relative; line-height: 1.55; }
.demo-bullets li::before { content: ''; position: absolute; left: 0; top: .55rem; width: 18px; height: 1px; background: var(--camp); }
.demo-bullets li strong { color: var(--white); font-weight: 600; }
.demo-mock {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  color: var(--text);
  position: relative;
  cursor: pointer;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .5s var(--ease);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 40px 100px -20px rgba(0,0,0,0.5);
}
.demo-mock:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
@media (max-width: 1024px) { .demo-mock { transform: none; } .demo-mock:hover { transform: translateY(-2px); } }
.demo-mock-bar { background: var(--trail-soft); padding: .7rem 1rem; display: flex; align-items: center; gap: .4rem; border-bottom: 1px solid var(--trail); }
.demo-mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.demo-mock-bar i:nth-child(1) { background: #FF5F57; }
.demo-mock-bar i:nth-child(2) { background: #FEBC2E; }
.demo-mock-bar i:nth-child(3) { background: #28C840; }
.demo-mock-bar .url {
  background: var(--white);
  border-radius: 6px;
  padding: .3rem .75rem;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--text-mute);
  margin-left: 1rem;
  flex: 1;
  max-width: 380px;
  border: 1px solid var(--trail);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-mock-body { padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--trail-soft); }
.demo-card { background: var(--white); padding: 1rem; border-radius: 12px; border-left: 3px solid var(--camp); }
.demo-card.full { grid-column: 1 / -1; border-left-color: var(--navy); }
.demo-card.ok { border-left-color: var(--success); }
.demo-card-label { font-family: var(--mono); font-size: .62rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: .5rem; font-weight: 600; }
.demo-card-value { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--navy); line-height: 1.1; letter-spacing: -0.01em; }
.demo-card-value.small { font-size: 1rem; font-family: var(--body); font-weight: 600; line-height: 1.3; }
.demo-card-trend { font-size: .7rem; font-weight: 600; margin-top: .45rem; color: var(--success); display: flex; align-items: center; gap: .3rem; }
.demo-card-trend.warn { color: var(--camp); }
.demo-bar { background: var(--trail); height: 5px; border-radius: 3px; margin-top: .65rem; overflow: hidden; position: relative; }
.demo-bar-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--camp)); border-radius: 3px; position: relative; }
.demo-bar-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); animation: shimmer 2.5s infinite; }

/* ABOUT */
.about-section { background: var(--white); padding: 3.5rem var(--pad); border-top: 1px solid var(--trail); }
.about-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .about-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.about-card { background: var(--navy); color: var(--white); padding: 1.25rem 1.35rem; border-radius: 10px; position: sticky; top: 90px; }
.about-card-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--camp); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: var(--white); margin-bottom: .75rem; }
.about-card h4 { font-size: .98rem; font-weight: 600; margin-bottom: .15rem; letter-spacing: -0.01em; }
.about-card-role { font-size: .72rem; color: rgba(255,255,255,0.55); margin-bottom: .85rem; font-family: var(--mono); letter-spacing: .03em; }
.about-card p { font-size: .8rem !important; line-height: 1.5 !important; margin-bottom: .9rem !important; color: rgba(255,255,255,0.78) !important; }
.about-card-links { display: flex; gap: .4rem; flex-wrap: wrap; }
.about-card-links a { font-size: .68rem; padding: .3rem .6rem; background: rgba(255,255,255,0.07); border-radius: 4px; font-family: var(--mono); letter-spacing: .02em; transition: background .15s; }
.about-card-links a:hover { background: var(--camp); }
.about-text p { font-family: var(--body); font-size: .96rem; line-height: 1.55; color: var(--text); margin-bottom: .85rem; }
.about-text p strong { color: var(--navy); font-weight: 600; }
.about-text p em { font-style: italic; color: var(--camp); }
.about-text .pullquote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.15rem; line-height: 1.4; color: var(--navy); padding: .85rem 0 .85rem 1rem; border-left: 3px solid var(--camp); margin: 1rem 0 1.2rem; letter-spacing: -0.01em; }
.about-text .section-eyebrow { margin-bottom: .6rem; }

/* FINAL CTA */
.final-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: 6rem var(--pad); position: relative; overflow: hidden; }
.final-cta::after {
  content: '';
  position: absolute;
  right: -10%; top: -30%;
  width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(255, 107, 26, 0.3), transparent);
  pointer-events: none;
  animation: orbFloat1 14s ease-in-out infinite;
}
.final-cta-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .final-cta-inner { grid-template-columns: 1fr; gap: 2rem; } }
.final-cta h2 { font-family: var(--body); font-weight: 700; font-size: clamp(2rem, 4.8vw, 3.25rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--white); margin-bottom: 1.25rem; }
.final-cta p { font-size: 1.02rem; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 50ch; }
.final-cta-actions { display: flex; flex-direction: column; gap: .85rem; }
.final-cta-meta { font-size: .8rem; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* FOOTER */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 4rem var(--pad) calc(2rem + var(--safe-bottom)); }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo { color: var(--white); margin-bottom: 1.25rem; }
.footer-tagline { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.4; max-width: 32ch; margin-bottom: 1.25rem; }
.footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-badge { font-family: var(--mono); font-size: .66rem; padding: .3rem .65rem; background: rgba(255,255,255,0.06); border-radius: 6px; letter-spacing: 0.04em; }
.footer-col h5 { font-family: var(--body); font-size: .76rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: .88rem; transition: color .15s; }
.footer-col a:hover { color: var(--camp); }
.footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: rgba(255,255,255,0.4); }
.footer-bottom .legal { font-family: var(--mono); font-size: .7rem; }

/* MODAL */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(2, 31, 69, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  padding-top: calc(1.5rem + var(--safe-top));
  padding-bottom: calc(1.5rem + var(--safe-bottom));
  opacity: 0;
  transition: opacity .25s;
}
.modal-bg.open { display: flex; opacity: 1; }
.modal { background: var(--white); border-radius: 18px; width: 100%; max-width: 1180px; max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 60px 120px -30px rgba(0,0,0,0.6); animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.96) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { background: var(--trail-soft); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--trail); }
.modal-header-left { display: flex; align-items: center; gap: 1rem; }
.modal-dot { width: 10px; height: 10px; background: var(--success); border-radius: 50%; box-shadow: 0 0 8px var(--success); animation: pulseDot 2s infinite; }
.modal-title { font-weight: 600; color: var(--navy); font-size: .95rem; }
.modal-subtitle { font-size: .7rem; color: var(--text-mute); font-family: var(--mono); }
.modal-close { color: var(--text-mute); padding: .35rem .7rem; border-radius: 8px; transition: background .15s; font-size: 1.5rem; line-height: 1; }
.modal-close:hover { background: var(--trail); }
.modal-body { display: grid; grid-template-columns: 220px 1fr; flex: 1; overflow: hidden; }
@media (max-width: 700px) { .modal-body { grid-template-columns: 1fr; } .modal-sidebar { display: none; } }
.modal-sidebar { background: var(--trail-soft); padding: 1.5rem 1rem; border-right: 1px solid var(--trail); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-sidebar-section { font-family: var(--mono); font-size: .64rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.08em; margin: 1rem .7rem .5rem; font-weight: 600; }
.modal-sidebar-item { display: flex; align-items: center; gap: .65rem; padding: .6rem .7rem; border-radius: 8px; font-size: .86rem; font-weight: 500; color: var(--text); cursor: pointer; transition: all .15s; margin-bottom: .15rem; }
.modal-sidebar-item:hover { background: var(--trail); }
.modal-sidebar-item.active { background: var(--navy); color: var(--white); }
.modal-sidebar-item.active .ic { color: var(--camp); }
.modal-sidebar-item .ic { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-mute); }
.modal-content { padding: 2rem; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--white); }
.modal-tab { display: none; }
.modal-tab.active { display: block; animation: stepIn .3s var(--ease); }
.modal-tab h3 { font-family: var(--body); font-weight: 700; font-size: 1.55rem; color: var(--navy); margin-bottom: .35rem; letter-spacing: -0.02em; }
.modal-tab > p { color: var(--text-mute); font-size: .9rem; margin-bottom: 1.75rem; line-height: 1.55; }
.modal-tab > p strong { color: var(--navy); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--trail-soft); padding: 1.1rem; border-radius: 12px; border-left: 3px solid var(--navy); }
.stat.warn { border-left-color: var(--camp); }
.stat.ok { border-left-color: var(--success); }
.stat-label { font-family: var(--mono); font-size: .62rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: .4rem; font-weight: 600; }
.stat-value { font-family: var(--display); font-size: 1.6rem; color: var(--navy); line-height: 1; font-weight: 400; letter-spacing: -0.01em; }
.stat-value.text { font-family: var(--body); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.stat-detail { font-size: .72rem; color: var(--text-mute); margin-top: .4rem; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-box { padding: 1.15rem; border-radius: 12px; border-left: 3px solid; }
.scope-positive { background: rgba(46,132,74,0.06); border-color: var(--success); }
.scope-negative { background: rgba(186,5,23,0.04); border-color: var(--error); }
.scope-label { font-size: .7rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: 0.06em; text-transform: uppercase; }
.scope-positive .scope-label { color: var(--success); }
.scope-negative .scope-label { color: var(--error); }
.scope-box ul { list-style: none; font-size: .86rem; color: var(--text); line-height: 1.7; }
.scope-box li::before { content: '· '; color: var(--text-mute); }
.section-h4 { font-family: var(--body); font-size: .76rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.roadmap-step { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--trail); align-items: start; }
.roadmap-step:last-child { border-bottom: none; }
.roadmap-num { background: var(--trail-soft); color: var(--navy); font-family: var(--mono); font-size: .78rem; font-weight: 700; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--trail); }
.roadmap-step.done .roadmap-num { background: var(--success); color: var(--white); border-color: var(--success); }
.roadmap-step.now .roadmap-num { background: var(--camp); color: var(--white); border-color: var(--camp); box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15); }
.roadmap-content h4 { font-size: .98rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.roadmap-content p { font-size: .86rem; color: var(--text-mute); line-height: 1.55; }
.roadmap-content p strong { color: var(--text); font-weight: 600; }
.roadmap-tag { font-family: var(--mono); font-size: .66rem; padding: .3rem .6rem; border-radius: 5px; background: var(--trail-soft); color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; font-weight: 600; }
.roadmap-step.done .roadmap-tag { background: rgba(46, 132, 74, 0.12); color: var(--success); }
.roadmap-step.now .roadmap-tag { background: rgba(255, 107, 26, 0.12); color: var(--camp); }
.health-bar { background: var(--trail-soft); padding: 1.3rem; border-radius: 14px; margin-bottom: 1rem; border: 1px solid var(--trail); }
.health-bar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .65rem; flex-wrap: wrap; gap: .5rem; }
.health-bar-name { font-weight: 600; color: var(--navy); font-size: .94rem; }
.health-bar-score { font-family: var(--mono); font-size: .85rem; color: var(--text); font-weight: 600; }
.health-bar-track { background: var(--trail); height: 8px; border-radius: 4px; overflow: hidden; }
.health-bar-fill { height: 100%; border-radius: 4px; width: 0; animation: barFill 1.2s var(--ease) forwards; }
.health-bar-comment { font-size: .8rem; color: var(--text-mute); margin-top: .7rem; line-height: 1.55; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

button:focus-visible, a:focus-visible, .term:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--camp);
  outline-offset: 2px;
}

/* Page-level sections (sobre, contato, etc) */
.page-hero { background: var(--navy); color: var(--white); padding: 10rem var(--pad) 5rem; padding-top: calc(10rem + var(--safe-top)); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(255, 107, 26, 0.2), transparent 50%); }
.page-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--body); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; color: var(--white); margin-bottom: 1.25rem; }
.page-hero h1 .serif-em { color: var(--camp); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 60ch; }
.page-content { max-width: 900px; margin: 0 auto; padding: 5rem var(--pad); }
.page-content h2 { font-size: 1.85rem; max-width: none; margin-bottom: 1rem; margin-top: 2.5rem; }
.page-content h3 { font-family: var(--body); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin: 1.75rem 0 .75rem; letter-spacing: -0.015em; }
.page-content p { font-size: 1.02rem; line-height: 1.7; color: var(--text); margin-bottom: 1.1rem; }
.page-content p strong { color: var(--navy); font-weight: 600; }
.page-content ul { margin: 1rem 0 1.5rem 1.5rem; }
.page-content li { font-size: 1rem; line-height: 1.65; color: var(--text); margin-bottom: .5rem; }
.page-content .legal-note { background: var(--trail-soft); padding: 1.25rem; border-radius: 12px; border-left: 3px solid var(--info); font-size: .9rem; line-height: 1.6; }
.page-content .legal-note strong { color: var(--info); }
