.insygma-breakdown {
  --ink: #0B1020;
  --ink-soft: #2A3140;
  --paper: #F8F6F1;
  --paper-2: #FBFAF6;
  --rule: #DDD7CB;
  --mute: #8A8478;
  --accent: #5C6F5A;

  position: relative;
  background: var(--paper);
  color: var(--ink);
width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 120px 24px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
.insygma-breakdown * { box-sizing: border-box; }
.ib-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }

/* === BACKGROUND PARTICLES (pó / dust) === */
.ib-dust {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.ib-dust span {
  position: absolute; top: -10px;
  width: 2px; height: 2px; border-radius: 50%;
  background: var(--accent); opacity: 0;
  animation: ib-fall linear infinite;
}
.ib-dust span:nth-child(1)  { left: 6%;  animation-duration: 22s; animation-delay: 0s;  }
.ib-dust span:nth-child(2)  { left: 14%; animation-duration: 28s; animation-delay: 4s;  width: 1px; height: 1px; }
.ib-dust span:nth-child(3)  { left: 22%; animation-duration: 26s; animation-delay: 9s;  }
.ib-dust span:nth-child(4)  { left: 31%; animation-duration: 32s; animation-delay: 2s;  width: 1px; height: 1px; }
.ib-dust span:nth-child(5)  { left: 39%; animation-duration: 24s; animation-delay: 12s; }
.ib-dust span:nth-child(6)  { left: 47%; animation-duration: 30s; animation-delay: 6s;  width: 3px; height: 3px; opacity: 0.6; }
.ib-dust span:nth-child(7)  { left: 56%; animation-duration: 26s; animation-delay: 15s; }
.ib-dust span:nth-child(8)  { left: 64%; animation-duration: 34s; animation-delay: 8s;  width: 1px; height: 1px; }
.ib-dust span:nth-child(9)  { left: 72%; animation-duration: 28s; animation-delay: 3s;  }
.ib-dust span:nth-child(10) { left: 81%; animation-duration: 30s; animation-delay: 18s; }
.ib-dust span:nth-child(11) { left: 89%; animation-duration: 24s; animation-delay: 10s; width: 1px; height: 1px; }
.ib-dust span:nth-child(12) { left: 95%; animation-duration: 32s; animation-delay: 5s;  }

@keyframes ib-fall {
  0%   { transform: translateY(0) translateX(0);     opacity: 0; }
  10%  { opacity: 0.35; }
  50%  { transform: translateY(50vh) translateX(20px); opacity: 0.5; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(100vh) translateX(-15px); opacity: 0; }
}

/* === FLOATING CAPSULE === */
.ib-capsule-wrap {
  position: absolute;
  right: 20%;
  top: 180px;
  width: 280px;
  height: 280px;
  z-index: 1;
  animation: ib-float 9s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 35px 50px rgba(11, 16, 32, 0.20));
}
.ib-capsule {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: rotate(-18deg);
}
@keyframes ib-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(2deg); }
}

/* === REVEAL ON SCROLL === */
.ib-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.ib-reveal.is-in { opacity: 1; transform: translateY(0); }
.ib-reveal[data-delay="1"] { transition-delay: 0.1s; }
.ib-reveal[data-delay="2"] { transition-delay: 0.2s; }
.ib-reveal[data-delay="3"] { transition-delay: 0.3s; }
.ib-reveal[data-delay="4"] { transition-delay: 0.4s; }

/* === EYEBROW === */
.ib-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); font-weight: 500; margin-bottom: 28px;
}
.ib-eyebrow::before {
  display:none;
}


/* === HERO STATEMENT === */
.ib-statement {
  font-size: clamp(34px, 4.8vw, 60px) !important;
  font-weight: 300; line-height: 1.05; letter-spacing: -0.025em;
  max-width: 920px; margin: 0 0 36px 0;
  position: relative; z-index: 2;
}
.ib-statement em { font-style: italic; font-weight: 400; color: var(--ink); }
.ib-statement b { font-weight: 500; }

.ib-sub {
  font-size: 17px; line-height: 1.65; color: var(--ink-soft);
  max-width: 660px; margin: 0 0 72px 0; font-weight: 400;
}
.ib-sub b { font-weight: 600; color: var(--ink); }

/* === STATS BAR === */
.ib-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 0 0 100px 0;
  position: relative;
}
.ib-stats::after {
  content: ""; position: absolute; left: 0; top: -1px;
  height: 1px; width: 0; background: var(--ink);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.ib-stats.is-in::after { width: 100%; }
.ib-stat { padding: 28px 24px; border-right: 1px solid var(--rule); }
.ib-stat:last-child { border-right: 0; }
.ib-stat-num {
  font-size: 36px; font-weight: 300; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.ib-stat-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); font-weight: 500;
}

/* === COMPARISON === */
.ib-compare {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.ib-col { padding: 52px 44px; }
.ib-col + .ib-col {
  border-left: 1px solid var(--rule);
  background: var(--paper-2);
}
.ib-col-label {
  font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 18px; font-weight: 600;
}
.ib-col--us .ib-col-label { color: var(--accent); }
.ib-col h3 {
  font-size: 23px; font-weight: 400; letter-spacing: -0.012em;
  margin: 0 0 28px 0; line-height: 1.3;
}
.ib-col ul { list-style: none; padding: 0; margin: 0; }
.ib-col li {
  font-size: 14.5px; line-height: 1.55; padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  display: flex; gap: 14px; color: var(--ink-soft);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ib-col li:last-child { border-bottom: 0; }
.ib-col li::before {
  content: "—"; color: var(--mute); flex-shrink: 0;
  font-variant-numeric: tabular-nums; line-height: 1.55;
}
.ib-col--us li::before {
  content: "✓"; color: var(--accent); font-weight: 500;
}
.ib-compare.is-in .ib-col li { opacity: 1; transform: translateX(0); }
.ib-compare.is-in .ib-col li:nth-child(2) { transition-delay: 0.15s; }
.ib-compare.is-in .ib-col li:nth-child(3) { transition-delay: 0.25s; }
.ib-compare.is-in .ib-col li:nth-child(4) { transition-delay: 0.35s; }
.ib-compare.is-in .ib-col li:nth-child(5) { transition-delay: 0.45s; }
.ib-compare.is-in .ib-col li:nth-child(6) { transition-delay: 0.55s; }

/* === CLOSING === */
.ib-close {
  margin-top: 100px; padding-top: 64px;
  border-top: 1px solid var(--rule);
  position: relative;
}
.ib-close-line {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 300; font-style: italic;
  letter-spacing: -0.018em; line-height: 1.25;
  max-width: 820px; color: var(--ink);
}
.ib-close-line b { font-weight: 500; font-style: normal; }
.ib-signature {
  margin-top: 36px; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--mute); font-weight: 500;
  display: flex; align-items: center; gap: 14px;
}
.ib-signature::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
  max-width: 200px;
}

@media (max-width: 1100px) {
  .ib-capsule-wrap { width: 220px; height: 220px; right: 3%; top: 200px; }
}

@media (max-width: 860px) {
  .insygma-breakdown { padding: 80px 20px; }
   .ib-capsule-wrap {
    width: 140px; height: 140px;
    right: 4%; top: auto;
    bottom: auto;
    /* no mobile vai para o topo da secção, longe do título que ocupa toda a largura */
    top: 24px;
  }
  .ib-stats { grid-template-columns: repeat(2, 1fr); }
  .ib-stat:nth-child(2) { border-right: 0; }
  .ib-stat:nth-child(1), .ib-stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .ib-compare { grid-template-columns: 1fr; }
  .ib-col + .ib-col { border-left: 0; border-top: 1px solid var(--rule); }
  .ib-col { padding: 40px 28px; }
  .ib-close { margin-top: 70px; padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .ib-dust, .ib-capsule-wrap { display: none; }
  .ib-reveal { opacity: 1; transform: none; }
  .ib-stats::after { width: 100%; }
  .ib-col li { opacity: 1; transform: none; }
}
