:root {
  --bg-deep: #020203;
  --bg: #050506;
  --surface: #0a0a0c;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --text: #ededef;
  --muted: #8a8f98;
  --subtle: rgba(255, 255, 255, 0.6);
  --accent: #0fd6c4;
  --accent-hover: #3ae3d3;
  --accent-glow: rgba(15, 214, 196, 0.3);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.1);
  --radius: 8px;
  --shell: min(1160px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: #04211d;
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 200ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(15, 214, 196, 0.18), transparent 34%),
    linear-gradient(180deg, #020203 0%, #050506 46%, #030304 100%);
}

.ambient {
  position: absolute;
  filter: blur(86px);
  opacity: 0.52;
  transform: translate3d(0, 0, 0);
  animation: drift 18s var(--ease) infinite alternate;
}

.ambient-a {
  width: 58vw;
  height: 36vw;
  left: -18vw;
  top: 4vh;
  background: rgba(11, 130, 120, 0.35);
}

.ambient-b {
  width: 52vw;
  height: 30vw;
  right: -20vw;
  top: 22vh;
  background: rgba(15, 214, 196, 0.28);
  animation-delay: -6s;
}

.ambient-c {
  width: 42vw;
  height: 26vw;
  left: 26vw;
  bottom: -18vw;
  background: rgba(18, 160, 148, 0.16);
  animation-delay: -10s;
}

.technical-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 112px 0;
  position: relative;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(5, 5, 6, 0.62);
  backdrop-filter: blur(18px);
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.84);
  border-color: var(--border);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 28px rgba(15, 214, 196, 0.22);
  color: #fff;
  font-size: 12px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 600;
}

.nav-menu a:not(.btn) {
  transition: color 220ms var(--ease);
}

.nav-menu a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 800;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-small {
  min-height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(15, 214, 196, 0.18), 0 18px 48px var(--accent-glow);
  color: #04211d;
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(15, 214, 196, 0.28), 0 22px 58px rgba(15, 214, 196, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: var(--border-hover);
}

.hero {
  padding-top: 168px;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 66px;
  align-items: center;
}

.hero-copy,
.section-heading,
.cta-panel {
  min-width: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 800;
}

h1 span,
h2 {
  background: linear-gradient(90deg, #fff 0%, #ededf0 52%, rgba(237, 237, 239, 0.56) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 span {
  display: block;
}

h1 strong {
  background: linear-gradient(100deg, #f0fffc 0%, #5eead4 46%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lead {
  max-width: 690px;
  color: var(--subtle);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.authority-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.authority-strip span,
.audience-grid span,
.authority-grid span {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.authority-strip span {
  padding: 10px 12px;
}

.founder-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.portrait-card {
  position: absolute;
  inset: 0 54px 34px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.46), 0 0 92px rgba(15, 214, 196, 0.18);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(2, 2, 3, 0.9) 100%);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.68);
  backdrop-filter: blur(18px);
}

.portrait-badge span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portrait-badge strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.system-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(330px, 78%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.5);
}

.dashboard-card {
  padding: 18px;
}

.card-topline,
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.card-topline {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-topline span:last-child {
  color: #8de0b1;
}

.metric-row {
  margin: 24px 0;
}

.metric-row div {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.metric-row small {
  display: block;
  min-height: 36px;
  color: var(--muted);
  font-size: 12px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.flow-lines {
  display: grid;
  gap: 8px;
}

.flow-lines span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.08));
}

.flow-lines span:nth-child(2) {
  width: 74%;
}

.flow-lines span:nth-child(3) {
  width: 52%;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 44px;
}

.section-heading h2,
.cta-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
}

.section-heading p:not(.eyebrow),
.cta-panel p {
  max-width: 760px;
  color: var(--subtle);
  font-size: 17px;
  line-height: 1.75;
}

.bento-grid,
.solutions-grid,
.ecosystem-grid {
  display: grid;
  gap: 14px;
}

.pain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(15, 214, 196, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.glass-card:hover::before {
  opacity: 1;
}

.pain-grid .glass-card {
  min-height: 154px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.glass-card svg {
  width: 22px;
  height: 22px;
  color: #8ce8dc;
}

.pain-grid span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  min-height: 282px;
  padding: 26px;
}

.solution-card h3,
.ecosystem-card h3,
.timeline-step h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 12px;
  color: #fff;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.solution-card p,
.ecosystem-card p,
.timeline-step p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.method-section {
  overflow: hidden;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  /* do centro do chip 01 ao centro do chip 05 */
  left: 60px;
  right: calc((100% - 132px) / 5);
  top: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 214, 196, 0.2), rgba(15, 214, 196, 0.55), rgba(15, 214, 196, 0.2));
}

.timeline-step {
  position: relative;
  padding: 0 4px;
}

.timeline-step span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 214, 196, 0.34);
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.9);
  box-shadow: 0 0 30px rgba(15, 214, 196, 0.16);
  color: #a5f3eb;
  font-size: 13px;
  font-weight: 800;
}

.ecosystem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecosystem-card {
  min-height: 318px;
  padding: 28px;
}

.ecosystem-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 214, 196, 0.28);
  border-radius: 8px;
  background: rgba(15, 214, 196, 0.1);
}

.ecosystem-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #a5f3eb;
  font-size: 14px;
  font-weight: 800;
}

.ecosystem-card a svg {
  width: 16px;
  height: 16px;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-grid span,
.authority-grid span {
  padding: 12px 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 64px;
  align-items: start;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.authority-grid span {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 20%, rgba(15, 214, 196, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.36);
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 214, 196, 0.7), transparent);
}

.site-footer {
  padding: 44px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-grid p {
  max-width: 420px;
  margin: 18px 0 0;
}

.footer-grid strong,
.footer-grid a {
  display: block;
}

.footer-grid strong {
  margin-bottom: 14px;
  color: var(--text);
}

.footer-grid a {
  margin-top: 9px;
  transition: color 220ms var(--ease);
}

.footer-grid a:hover {
  color: var(--text);
}

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

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-in 700ms var(--ease) both;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, -2vh, 0) scale(1.08);
  }
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 660px;
    max-width: 620px;
  }

  .pain-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline,
  .ecosystem-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 28px;
  }

  .timeline::before {
    left: 27px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(15, 214, 196, 0.7), transparent);
  }

  .timeline::after {
    left: 27px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top center;
    background: linear-gradient(180deg, rgba(125, 240, 230, 0.95), rgba(15, 214, 196, 0.95));
  }

  .timeline.is-active::after {
    transform: scaleY(1);
  }

  .timeline-step {
    padding-left: 78px;
  }

  .timeline-step span {
    position: absolute;
    left: 0;
    top: 0;
  }

  .timeline-step h3 {
    margin-top: 0;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 128px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  h1,
  h2 {
    letter-spacing: -0.045em;
  }

  h1 {
    font-size: clamp(35px, 10vw, 40px);
    line-height: 1.08;
  }

  .eyebrow {
    line-height: 1.6;
    letter-spacing: 0.11em;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-card {
    inset: 0 28px 48px 0;
  }

  .system-card {
    width: min(318px, 86%);
  }

  .pain-grid,
  .solutions-grid,
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid .glass-card,
  .solution-card,
  .ecosystem-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .nav {
    min-height: 68px;
  }

  .brand span:last-child {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .portrait-card {
    inset: 0 0 70px;
  }

  .portrait-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .system-card {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .metric-row {
    display: grid;
  }
}

/* Rafael Paulino v2: executive command interface */
:root {
  --shell: min(1240px, calc(100% - 44px));
  --cyan: #7df0e6;
  --mint: #8de0b1;
  --danger: #ff6b8a;
}

body {
  background:
    radial-gradient(circle at 50% -20%, rgba(125, 240, 230, 0.08), transparent 30%),
    var(--bg-deep);
}

.site-bg {
  background:
    radial-gradient(circle at 18% 16%, rgba(15, 214, 196, 0.24), transparent 24%),
    radial-gradient(circle at 74% 32%, rgba(125, 240, 230, 0.12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(141, 224, 177, 0.06), transparent 28%),
    linear-gradient(180deg, #020203 0%, #050506 44%, #020203 100%);
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.055) 28.08%, transparent 28.2% 100%),
    linear-gradient(90deg, transparent 0 58%, rgba(15, 214, 196, 0.09) 58.08%, transparent 58.22% 100%);
  opacity: 0.75;
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 7px);
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, transparent, black 12%, transparent 72%);
}

.technical-grid {
  background-size: 56px 56px;
  transform: perspective(800px) rotateX(58deg) scale(1.4) translateY(-16vh);
  transform-origin: top;
  opacity: 0.62;
}

.cursor-glow {
  position: fixed;
  left: var(--mx, 50vw);
  top: var(--my, 50vh);
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(125, 240, 230, 0.105), rgba(15, 214, 196, 0.08) 34%, transparent 66%);
  transform: translate(-50%, -50%);
  transition: opacity 220ms var(--ease);
}

.site-header {
  top: 14px;
  left: 50%;
  width: min(1240px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transform: translateX(-50%);
  background: rgba(7, 7, 9, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 9, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav {
  min-height: 62px;
  width: calc(100% - 28px);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(125, 240, 230, 0.16), rgba(15, 214, 196, 0.18)),
    rgba(255, 255, 255, 0.06);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
  transform: rotate(18deg);
  animation: scan-mark 4.8s var(--ease) infinite;
}

.nav-menu {
  gap: 18px;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 7px;
  background: linear-gradient(100deg, rgba(255,255,255,0.16), transparent 34%, rgba(255,255,255,0.08));
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background:
    linear-gradient(90deg, rgba(125, 240, 230, 0.28), transparent 32%),
    linear-gradient(180deg, #2ee0cf, #0bab9d);
  box-shadow: 0 0 0 1px rgba(125, 240, 230, 0.16), 0 18px 54px rgba(15, 214, 196, 0.48);
}

.hero {
  min-height: 104vh;
  padding-top: 142px;
  overflow: hidden;
}

.hero::before {
  content: "RP";
  position: absolute;
  right: -3vw;
  top: 7vh;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(180px, 31vw, 520px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  gap: 50px;
}

.hero-orbit {
  position: absolute;
  left: 26px;
  top: 150px;
  bottom: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.signal-line {
  display: grid;
  grid-template-columns: 82px 32px 54px 18px;
  gap: 8px;
  margin-bottom: 28px;
}

.signal-line span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--accent), transparent);
  box-shadow: 0 0 24px rgba(125, 240, 230, 0.32);
  transform-origin: left;
  animation: signal-pulse 1.8s var(--ease) infinite alternate;
}

.signal-line span:nth-child(2) {
  background: var(--mint);
  animation-delay: 120ms;
}

.signal-line span:nth-child(4) {
  background: var(--danger);
  animation-delay: 260ms;
}

.eyebrow {
  color: rgba(165, 243, 235, 0.78);
}

h1 {
  max-width: 900px;
  font-size: clamp(56px, 7.5vw, 104px);
  line-height: 0.9;
}

h1 span,
h2 {
  background: linear-gradient(96deg, #ffffff 0%, #e8e8ea 42%, rgba(255, 255, 255, 0.34) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

h1 strong {
  background:
    linear-gradient(90deg, var(--cyan), #f0fffc 22%, #57e6d4 58%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 42px rgba(15, 214, 196, 0.18);
}

.hero-lead {
  max-width: 650px;
  color: rgba(237, 237, 239, 0.68);
}

.authority-strip {
  max-width: 660px;
}

.authority-strip span,
.audience-grid span,
.authority-grid span {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.072), rgba(255,255,255,0.024)),
    rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.105);
}

.hero-visual {
  min-height: 660px;
  transform-style: preserve-3d;
}

.portrait-card {
  inset: 12px 54px 72px 18px;
  border-color: rgba(125, 240, 230, 0.16);
  background:
    linear-gradient(135deg, rgba(125, 240, 230, 0.08), transparent 32%),
    var(--surface);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.58),
    0 0 110px rgba(15, 214, 196, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(125, 240, 230, 0.18), transparent 1px) 0 0 / 52px 52px,
    linear-gradient(0deg, rgba(125, 240, 230, 0.12), transparent 1px) 0 0 / 52px 52px;
  opacity: 0.08;
  pointer-events: none;
}

.portrait-card::after {
  z-index: 1;
  background:
    radial-gradient(circle at 78% 18%, rgba(15,214,196,0.18), transparent 34%),
    linear-gradient(180deg, transparent 34%, rgba(2, 2, 3, 0.88) 100%);
}

.portrait-card img {
  object-position: 52% 38%;
  filter: contrast(1.08) saturate(0.92);
}

.portrait-badge {
  left: 24px;
  right: auto;
  bottom: 22px;
  width: min(340px, calc(100% - 48px));
  background:
    linear-gradient(135deg, rgba(125, 240, 230, 0.08), rgba(255,255,255,0.03)),
    rgba(5, 5, 6, 0.78);
  border-color: rgba(125, 240, 230, 0.16);
}

.system-card {
  right: 0;
  bottom: 12px;
  width: min(365px, 78%);
  border-color: rgba(141, 224, 177, 0.18);
  background:
    linear-gradient(135deg, rgba(141, 224, 177, 0.08), transparent 44%),
    rgba(7, 7, 9, 0.82);
}

.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
}

.hero-marquee div {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 14px 0;
  animation: marquee 28s linear infinite;
}

.hero-marquee span {
  color: rgba(255,255,255,0.34);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-marquee span::after {
  content: "/";
  margin-left: 34px;
  color: rgba(125, 240, 230, 0.55);
}

.section {
  padding: 128px 0;
}

.section::before {
  content: "";
  position: absolute;
  left: max(22px, calc((100vw - 1240px) / 2));
  right: max(22px, calc((100vw - 1240px) / 2));
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(125,240,230,0.45), transparent 28%, rgba(255,255,255,0.08), transparent 72%, rgba(15,214,196,0.38));
  opacity: 0.6;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.56fr);
  gap: 44px;
  max-width: none;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 4px;
}

.pain-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr;
}

.pain-grid .glass-card:nth-child(1),
.pain-grid .glass-card:nth-child(8) {
  grid-column: span 2;
}

.glass-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.028);
  border-color: rgba(255,255,255,0.09);
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 18%, transparent 74%, rgba(125,240,230,0.12));
  opacity: 0.52;
}

.solutions-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.solution-card {
  grid-column: span 4;
  min-height: 330px;
  padding: 26px;
}

.solution-card:nth-child(1),
.solution-card:nth-child(6) {
  grid-column: span 5;
}

.solution-card:nth-child(2),
.solution-card:nth-child(5) {
  grid-column: span 7;
}

.card-index {
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 1;
  color: rgba(255,255,255,0.16);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.solution-card svg,
.ecosystem-icon {
  filter: drop-shadow(0 0 22px rgba(125,240,230,0.18));
}

.timeline {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125,240,230,0.05), transparent 32%),
    rgba(255,255,255,0.025);
}

.timeline-step span {
  background:
    linear-gradient(135deg, rgba(125,240,230,0.12), rgba(15,214,196,0.16)),
    #08080a;
}

.ecosystem-card {
  min-height: 360px;
}

.ecosystem-card:nth-child(2) {
  transform: translateY(34px);
}

.cta-panel {
  min-height: 440px;
  display: grid;
  align-content: center;
  background:
    linear-gradient(110deg, rgba(125,240,230,0.12), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(15,214,196,0.34), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.cta-panel::before {
  content: "DIAGNOSTICO";
  position: absolute;
  right: -2vw;
  bottom: -7vw;
  color: rgba(255,255,255,0.035);
  font-size: clamp(80px, 16vw, 240px);
  font-weight: 800;
  letter-spacing: -0.08em;
}

@keyframes scan-mark {
  0%, 52% {
    transform: translateX(0) rotate(18deg);
  }
  100% {
    transform: translateX(340%) rotate(18deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes kinetic-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes signal-pulse {
  from {
    opacity: 0.45;
    transform: scaleX(0.55);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes portrait-scan {
  0%, 45% {
    transform: translateX(-120%);
  }
  72%, 100% {
    transform: translateX(120%);
  }
}

@keyframes photo-breathe {
  from {
    transform: scale(1);
    filter: contrast(1.05) saturate(0.92);
  }
  to {
    transform: scale(1.045);
    filter: contrast(1.12) saturate(1);
  }
}

@media (max-width: 1180px) {
  .hero-orbit {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .pain-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card,
  .solution-card:nth-child(1),
  .solution-card:nth-child(2),
  .solution-card:nth-child(5),
  .solution-card:nth-child(6) {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-menu .btn {
    margin-top: 8px;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
  }

  .nav {
    width: calc(100% - 20px);
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(38px, 10.8vw, 48px);
    line-height: 1;
  }

  .signal-line {
    grid-template-columns: 64px 24px 40px 14px;
    margin-bottom: 20px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .portrait-card {
    inset: 0 0 92px 0;
  }

  .system-card {
    left: 22px;
    right: 22px;
    bottom: 8px;
    width: auto;
  }

  .pain-grid,
  .solutions-grid,
  .ecosystem-grid,
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid .glass-card:nth-child(1),
  .pain-grid .glass-card:nth-child(8) {
    grid-column: auto;
  }

  .ecosystem-card:nth-child(2) {
    transform: none;
  }

  .section {
    padding: 92px 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(36px, 10vw, 40px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .portrait-card {
    inset: 0 0 108px 0;
  }

  .portrait-badge {
    width: auto;
  }

  .hero-marquee {
    display: none;
  }
}

/* v3: Apple-like product stage, adapted for a personal AI brand */
.hero {
  min-height: auto;
  padding-top: 132px;
  padding-bottom: 74px;
}

.hero::before,
.hero-orbit,
.hero-marquee {
  display: none;
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: 54px;
  text-align: center;
}

.hero-copy {
  max-width: 1040px;
  margin: 0 auto;
}

.signal-line {
  width: max-content;
  margin: 0 auto 28px;
}

h1 {
  max-width: 1120px;
  margin-inline: auto;
  font-size: clamp(58px, 8.8vw, 126px);
  line-height: 0.88;
}

.hero-lead {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(19px, 2vw, 24px);
}

.hero-actions,
.authority-strip {
  justify-content: center;
}

.founder-note {
  text-align: center;
}

.hero-visual {
  min-height: clamp(520px, 54vw, 760px);
  width: min(940px, 100%);
  margin: 0 auto;
}

.portrait-card {
  inset: 0;
  border-radius: 8px;
  clip-path: none;
  background: #020203;
  box-shadow:
    0 46px 150px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 140px rgba(15, 214, 196, 0.22);
}

.portrait-card::before {
  opacity: 1;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(125,240,230,0.16), transparent 58%),
    linear-gradient(90deg, rgba(125, 240, 230, 0.08), transparent 1px) 0 0 / 76px 76px,
    linear-gradient(0deg, rgba(125, 240, 230, 0.06), transparent 1px) 0 0 / 76px 76px;
  transform: translateX(-120%);
  animation: portrait-scan 5.6s var(--ease) infinite;
}

.portrait-card::after {
  z-index: 1;
  background:
    radial-gradient(circle at 70% 10%, rgba(125,240,230,0.13), transparent 30%),
    linear-gradient(180deg, transparent 58%, rgba(2, 2, 3, 0.78) 100%);
}

.portrait-card img {
  object-fit: cover;
  object-position: 50% 40%;
  animation: photo-breathe 9s var(--ease) infinite alternate;
}

.kinetic-strip {
  width: min(100%, 1240px);
  margin: 36px auto 0;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.08);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.kinetic-strip div {
  display: flex;
  width: max-content;
  gap: 44px;
  padding: 16px 0;
  animation: kinetic-move 20s linear infinite;
}

.kinetic-strip span {
  color: rgba(255,255,255,0.42);
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.kinetic-strip span:nth-child(2n) {
  color: rgba(125,240,230,0.72);
}

.apple-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.apple-proof-row article {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.025);
}

.apple-proof-row article::after,
.highlight-card::before,
.solution-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255,255,255,0.16), transparent 58%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}

.apple-proof-row article:hover::after,
.highlight-card:hover::before,
.solution-card:hover::before {
  transform: translateX(120%);
}

.apple-proof-row span,
.highlight-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apple-proof-row strong {
  display: block;
  max-width: 320px;
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.apple-highlights {
  padding-top: 84px;
}

.highlight-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 18%, rgba(15,214,196,0.28), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    #070709;
  box-shadow: 0 30px 90px rgba(0,0,0,0.34);
  transition: transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.highlight-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(125,240,230,0.2);
  box-shadow: 0 44px 120px rgba(0,0,0,0.46), 0 0 80px rgba(15,214,196,0.14);
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 58%;
  background: radial-gradient(ellipse at center, rgba(125,240,230,0.16), transparent 62%);
  pointer-events: none;
}

.highlight-large {
  grid-row: 1 / 3;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 18%, rgba(125,240,230,0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018)),
    #070709;
}

.highlight-card h3 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #f5f5f6;
  font-size: clamp(28px, 3.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.highlight-card:not(.highlight-large) h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

@media (max-width: 900px) {
  .hero-grid {
    gap: 38px;
  }

  h1 {
    font-size: clamp(48px, 12vw, 74px);
    line-height: 0.95;
  }

  .hero-visual {
    min-height: clamp(460px, 96vw, 680px);
  }

  .apple-proof-row,
  .highlight-stage {
    grid-template-columns: 1fr;
  }

  .highlight-stage {
    grid-template-rows: auto;
  }

  .highlight-large {
    grid-row: auto;
    min-height: 430px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(34px, 8.8vw, 38px);
    line-height: 1.05;
    max-width: 360px;
  }

  .hero-lead {
    max-width: 360px;
  }

  .hero-actions {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .authority-strip {
    display: none;
  }

  .apple-proof-row article {
    min-height: auto;
  }
}

/* v4: headline + portrait in the same premium first viewport */
.hero {
  min-height: 100vh;
  padding-top: 124px;
  padding-bottom: 56px;
  display: grid;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  text-align: left;
}

.hero-copy {
  max-width: 760px;
  margin: 0;
}

.signal-line {
  margin-left: 0;
  margin-right: 0;
}

h1 {
  max-width: 700px;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 0.96;
}

.hero-lead {
  max-width: 620px;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions,
.authority-strip {
  justify-content: flex-start;
}

.founder-note {
  text-align: left;
}

.hero-visual {
  width: 100%;
  min-height: clamp(560px, 46vw, 700px);
}

.portrait-card {
  inset: 0;
  transform: translateZ(0);
}

.portrait-card::after {
  background:
    radial-gradient(circle at 70% 10%, rgba(125,240,230,0.13), transparent 30%),
    linear-gradient(90deg, rgba(2,2,3,0.08), transparent 42%),
    linear-gradient(180deg, transparent 58%, rgba(2, 2, 3, 0.78) 100%);
}

.portrait-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  width: min(330px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid rgba(125, 240, 230, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 240, 230, 0.08), rgba(255,255,255,0.03)),
    rgba(5, 5, 6, 0.78);
  backdrop-filter: blur(18px);
}

.portrait-badge span,
.mini-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portrait-badge strong,
.mini-card strong {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.35;
}

.system-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  z-index: 5;
  width: min(312px, 66%);
  border: 1px solid rgba(141, 224, 177, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(141, 224, 177, 0.08), transparent 44%),
    rgba(7, 7, 9, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.5);
}

.mini-card {
  position: absolute;
  z-index: 5;
  width: 205px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(7, 7, 9, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.38);
}

.mini-card-a {
  left: -18px;
  bottom: 178px;
}

.mini-card-b {
  right: 8px;
  bottom: 214px;
}

.hero-visual .dashboard-card {
  padding: 14px;
}

.hero-visual .metric-row {
  gap: 10px;
  margin: 16px 0;
}

.hero-visual .metric-row div {
  padding: 12px;
}

.hero-visual .metric-row small {
  min-height: 30px;
  font-size: 11px;
}

.hero-visual .metric-row strong {
  font-size: 21px;
}

.kinetic-strip {
  grid-column: 1 / -1;
}

.apple-proof-row {
  margin-top: 22px;
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 940px;
    margin: 0 auto;
  }

  .signal-line {
    margin-left: auto;
    margin-right: auto;
  }

  h1,
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .authority-strip {
    justify-content: center;
  }

  .founder-note {
    text-align: center;
  }

  .hero-visual {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .mini-card-b {
    right: 12px;
  }
}

@media (max-width: 520px) {
  .hero-grid {
    gap: 30px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(34px, 8.8vw, 40px);
    line-height: 1.06;
  }

  .hero-visual {
    min-height: 430px;
  }

  .mini-card,
  .mini-card-b {
    display: none;
  }

  .portrait-badge {
    left: 14px;
    bottom: 14px;
    width: min(300px, calc(100% - 28px));
  }

  .system-card {
    right: 12px;
    left: 12px;
    bottom: -62px;
    width: auto;
  }

  .hero {
    padding-bottom: 118px;
  }
}

/* v5: polish — radii scale, contrast, proof section, calmer motion */
:root {
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --muted: #9ea3ad;
}

.glass-card,
.highlight-card,
.timeline,
.cta-panel,
.portrait-card,
.system-card,
.apple-proof-row article {
  border-radius: var(--radius-lg);
}

.authority-strip span,
.audience-grid span,
.authority-grid span {
  border-radius: var(--radius-pill);
}

.solution-card p,
.ecosystem-card p,
.timeline-step p,
.footer-grid p,
.footer-grid a {
  color: #aab0ba;
}

/* single remaining hero mini-card, centered on the lower-left */
.mini-card-a {
  left: -14px;
  bottom: 150px;
}

/* calmer motion: keep only the essentials */
.brand-mark::after,
.portrait-card img {
  animation: none;
}

/* proof section */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stats-band article {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 14%, rgba(125, 240, 230, 0.16), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #070709;
}

.stats-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(96deg, var(--cyan), #f0fffc 40%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-band span {
  display: block;
  max-width: 280px;
  color: #aab0ba;
  font-size: 15px;
  line-height: 1.6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.testimonial-card figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.t-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 240, 230, 0.24);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(125, 240, 230, 0.16), rgba(15, 214, 196, 0.18));
  color: #dcfbf6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.t-avatar svg {
  width: 20px;
  height: 20px;
  color: #c9fbf4;
}

.t-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 5px 11px;
  border: 1px solid rgba(125, 240, 230, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(125, 240, 230, 0.08);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* v7: more interaction, less text */

/* solution cards: animated index + icon on hover */
.solution-card .card-index,
.solution-card i,
.solution-card h3,
.solution-card p {
  transition: transform 320ms var(--ease), color 320ms var(--ease), opacity 320ms var(--ease);
}

.solution-card:hover {
  transform: translateY(-7px) scale(1.012);
}

.solution-card:hover .card-index {
  transform: translateY(-4px) scale(1.08);
  color: rgba(125, 240, 230, 0.42);
}

.solution-card:hover i {
  transform: translateY(-3px) scale(1.12);
}

.solution-card:hover h3 {
  transform: translateX(3px);
}

.solution-card:hover p {
  transform: translateX(3px);
  color: var(--cyan);
}

/* pain cards: icon kick + brighter on hover */
.pain-grid .glass-card i {
  transition: transform 300ms var(--ease), color 300ms var(--ease);
}

.pain-grid .glass-card:hover {
  transform: translateY(-6px) scale(1.015);
}

.pain-grid .glass-card:hover i {
  transform: translateY(-4px) rotate(-6deg) scale(1.15);
  color: var(--cyan);
}

/* ecosystem: icon orbit + link arrow slide */
.ecosystem-icon,
.ecosystem-card a svg {
  transition: transform 320ms var(--ease);
}

.ecosystem-card:hover .ecosystem-icon {
  transform: translateY(-4px) rotate(8deg) scale(1.08);
}

.ecosystem-card:hover a svg {
  transform: translate(4px, -4px);
}

/* timeline node pulse on hover */
.timeline-step span {
  position: relative;
  z-index: 1;
  transition: transform 300ms var(--ease), box-shadow 600ms var(--ease),
    border-color 600ms var(--ease), color 600ms var(--ease);
}

.timeline-step:hover span {
  transform: scale(1.12);
  border-color: rgba(125, 240, 230, 0.6);
  box-shadow: 0 0 38px rgba(125, 240, 230, 0.4);
}

/* ===== Método: linha de progresso que se desenha conectando os passos ===== */
.timeline::after {
  content: "";
  position: absolute;
  left: 60px;
  right: calc((100% - 132px) / 5);
  top: 55px;
  height: 2px;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(125, 240, 230, 0.95), rgba(15, 214, 196, 0.95));
  box-shadow: 0 0 16px rgba(125, 240, 230, 0.55);
  transition: transform 1500ms var(--ease);
}

.timeline.is-active::after {
  transform: scaleX(1);
}

/* os números acendem em sequência conforme a linha "chega" neles */
.timeline.is-active .timeline-step span {
  border-color: rgba(125, 240, 230, 0.6);
  box-shadow: 0 0 34px rgba(125, 240, 230, 0.34);
  color: #fff;
  animation: node-lit 650ms var(--ease) both;
}

.timeline.is-active .timeline-step:nth-child(1) span { animation-delay: 200ms; }
.timeline.is-active .timeline-step:nth-child(2) span { animation-delay: 520ms; }
.timeline.is-active .timeline-step:nth-child(3) span { animation-delay: 840ms; }
.timeline.is-active .timeline-step:nth-child(4) span { animation-delay: 1160ms; }
.timeline.is-active .timeline-step:nth-child(5) span { animation-delay: 1480ms; }

@keyframes node-lit {
  from {
    border-color: rgba(15, 214, 196, 0.34);
    box-shadow: 0 0 30px rgba(15, 214, 196, 0.16);
    color: #a5f3eb;
  }
  to {
    border-color: rgba(125, 240, 230, 0.6);
    box-shadow: 0 0 34px rgba(125, 240, 230, 0.34);
    color: #fff;
  }
}

/* audience pills: lift + glow on hover */
.audience-grid span,
.authority-grid span {
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease), background 240ms var(--ease);
}

.audience-grid span:hover,
.authority-grid span:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 240, 230, 0.35);
  color: #fff;
}

/* stat cards react too */
.stats-band article {
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}

.stats-band article:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 240, 230, 0.28);
}

/* compact proof cards without quote */
.testimonial-card {
  gap: 18px;
}

/* v9: FAQ accordion + contact form */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  transition: border-color 240ms var(--ease), background 240ms var(--ease);
}

.faq-item[open] {
  border-color: rgba(125, 240, 230, 0.28);
  background: linear-gradient(145deg, rgba(125, 240, 230, 0.06), rgba(255, 255, 255, 0.02));
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--cyan);
  transition: transform 280ms var(--ease);
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease);
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  color: #aab0ba;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0;
  transition: opacity 300ms var(--ease), padding 300ms var(--ease);
}

.faq-item[open] .faq-answer > p {
  padding: 0 22px 22px;
  opacity: 1;
}

/* contact form */
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 620px;
  margin: 30px 0 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(5, 5, 6, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus {
  outline: none;
  border-color: rgba(125, 240, 230, 0.5);
  background: rgba(5, 5, 6, 0.85);
  box-shadow: 0 0 0 3px rgba(125, 240, 230, 0.12);
}

.cta-form button[type="submit"] {
  width: 100%;
  margin-top: 4px;
}

.cta-alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 200ms var(--ease);
}

.cta-alt strong {
  color: var(--cyan);
}

.cta-alt svg {
  width: 16px;
  height: 16px;
}

.cta-alt:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .cta-form {
    grid-template-columns: 1fr;
  }
}

/* v11: brand mark with real logo */
.brand-mark img {
  display: block;
  width: 22px;
  height: auto;
}

/* v10: device showcase gallery with live sites */
.showcase-list {
  display: grid;
  gap: clamp(60px, 8vw, 110px);
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}

.showcase-item.is-reversed {
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
}

.showcase-item.is-reversed .showcase-meta {
  order: 2;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.showcase-meta .t-tag {
  align-self: flex-start;
}

.showcase-meta h3 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(96deg, #fff 0%, #e8e8ea 50%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcase-meta p {
  margin: 0;
  max-width: 460px;
  color: #aab0ba;
  font-size: 15px;
  line-height: 1.65;
}

.showcase-meta .showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 10px 16px;
  border: 1px solid rgba(125, 240, 230, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(125, 240, 230, 0.08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease);
}

.showcase-meta .showcase-link svg {
  width: 14px;
  height: 14px;
}

.showcase-meta .showcase-link:hover {
  transform: translateY(-2px);
  background: rgba(125, 240, 230, 0.16);
  border-color: rgba(125, 240, 230, 0.5);
}

.showcase-devices {
  position: relative;
  width: 100%;
  padding-bottom: 40px;
}

/* ambient glow behind devices */
.showcase-devices::before {
  content: "";
  position: absolute;
  inset: -8% -4% 6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(15, 214, 196, 0.28), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
}

.macbook {
  position: relative;
  z-index: 1;
  width: 100%;
  transition: transform 420ms var(--ease);
  will-change: transform;
}

.mb-screen {
  position: relative;
  padding: 12px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px 22px 6px 6px;
  background: linear-gradient(180deg, #1c1f27, #0c0d12);
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 120px rgba(15, 214, 196, 0.18);
}

.mb-cam {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mb-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: #06070b;
}

.mb-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

/* moving screen glare */
.mb-glare {
  position: absolute;
  inset: 12px 12px 14px;
  z-index: 2;
  border-radius: 10px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 48%, transparent 58% 100%);
  background-size: 280% 100%;
  background-position: 120% 0;
  animation: mb-glare 7s var(--ease) infinite;
}

@keyframes mb-glare {
  0%, 55% { background-position: 120% 0; }
  85%, 100% { background-position: -40% 0; }
}

.mb-base {
  position: relative;
  height: 16px;
  width: 106%;
  margin-left: -3%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #2a2d36, #15171d 60%, #0a0b0f);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
}

.mb-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 7px;
  border-radius: 0 0 8px 8px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.06);
}

/* iPhone overlapping bottom-right */
.iphone {
  position: absolute;
  z-index: 3;
  right: -6px;
  bottom: 0;
  width: 168px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(170deg, #23262f, #0c0d12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.ip-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 48px;
  height: 14px;
  border-radius: 999px;
  background: #06070b;
}

.ip-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 22px;
  background: #06070b;
}

.ip-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

.ip-glare {
  position: absolute;
  inset: 7px;
  z-index: 2;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 40%);
}

/* "site no ar" live badge */
.live-badge {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(141, 224, 177, 0.32);
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 9, 0.72);
  backdrop-filter: blur(12px);
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(141, 224, 177, 0.6);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(141, 224, 177, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(141, 224, 177, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 224, 177, 0); }
}

.macbook:hover {
  transform: translateY(-6px);
}

.showcase-link {
  align-self: center;
}

@media (max-width: 960px) {
  .showcase-item,
  .showcase-item.is-reversed {
    grid-template-columns: 1fr;
  }
  .showcase-item.is-reversed .showcase-meta {
    order: 0;
  }
  .showcase-meta {
    align-items: center;
    text-align: center;
  }
  .showcase-meta p {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .iphone {
    width: 124px;
    right: -2px;
  }
  .live-badge {
    font-size: 10px;
    padding: 6px 11px;
  }
}

/* ===== showcase: chips técnicos + grid compacto (destaque só no 1º case) ===== */
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  padding: 5px 11px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 36px);
}

.showcase-grid .showcase-item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 22px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.showcase-grid .showcase-item .iphone {
  display: none;
}

.showcase-grid .showcase-devices {
  padding-bottom: 10px;
}

.showcase-grid .showcase-meta {
  gap: 12px;
}

.showcase-grid .showcase-meta h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

.showcase-grid .showcase-item:nth-child(odd):last-child {
  grid-column: 1 / -1;
  width: calc(50% - clamp(11px, 1.5vw, 18px));
  margin-inline: auto;
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid .showcase-item:nth-child(odd):last-child {
    width: 100%;
  }
}

/* ===== rede neural interativa (canvas) ===== */
.neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero > .shell {
  position: relative;
  z-index: 1;
}

.cta-panel {
  position: relative;
  overflow: hidden;
}

.cta-panel > :not(.neural-canvas) {
  position: relative;
  z-index: 1;
}

/* ===== Método: pulso de sinal percorrendo a timeline ===== */
/* o passo inteiro fica acima da linha — inclusive quando o navegador o transforma
   em stacking context próprio (animation-timeline: view() no bloco de reveal) */
.timeline-step {
  z-index: 1;
}

.timeline-pulse {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #c8fff8;
  box-shadow: 0 0 18px rgba(125, 240, 230, 0.95), 0 0 44px rgba(15, 214, 196, 0.55);
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}

.timeline-step h3 {
  color: rgba(255, 255, 255, 0.78);
  transition: color 400ms var(--ease);
}

.timeline-step:hover h3,
.timeline-step.is-lit h3 {
  color: #fff;
}

.timeline-step.is-lit span {
  border-color: rgba(125, 240, 230, 0.9);
  box-shadow: 0 0 46px rgba(125, 240, 230, 0.55);
  color: #fff;
  transform: scale(1.1);
}

/* no empilhamento mobile, a linha volta a ser vertical (esta regra precisa vir por último) */
@media (max-width: 1040px) {
  .timeline::before,
  .timeline::after {
    left: 56px;
    right: auto;
    top: 56px;
    bottom: 52px;
    width: 1px;
    height: auto;
  }

  .timeline::before {
    background: linear-gradient(180deg, rgba(15, 214, 196, 0.55), rgba(15, 214, 196, 0.15));
  }

  .timeline::after {
    width: 2px;
    transform: scaleY(0);
    transform-origin: top center;
    background: linear-gradient(180deg, rgba(125, 240, 230, 0.95), rgba(15, 214, 196, 0.95));
  }

  .timeline.is-active::after {
    transform: scaleY(1);
  }
}
