/* Gartner Desenvolvimentos — sistema baseado no DESIGN.md (Deep Void + trio pastel + sunset sweep) */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/geist-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/geist-mono-latin-wght-normal.woff2) format("woff2"); }
:root {
  --void: #0e0e0e;
  --carbon: #1c1c1c;
  --graphite: #2b2b2b;
  --smoke: #3f3f3f;
  --edge: #2f3336;
  --snow: #ffffff;
  --ash: #d3d3d3;
  --mist: #a1a1aa;
  --cyan: #6fe2ff;
  --amber: #ffba6a;
  --lavender: #d8d3ff;
  --sunset: linear-gradient(90deg, #f4c587 9%, #d6d3e9 52%, #99d2ec 94%);
  --sunset-v: linear-gradient(180deg, #f4c587 0%, #d6d3e9 50%, #99d2ec 100%);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-card: 20px;
  --r-sm: 16px;
  --pill: 9999px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(96px, 11vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--void); color: var(--snow);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }
::selection { background: var(--lavender); color: var(--void); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--pill); background: var(--snow); color: var(--void); font-weight: 500; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--smoke); }
.display { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.56; color: var(--ash); max-width: 42ch; text-wrap: pretty; }
.ico { width: 16px; height: 16px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s;
}
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn--primary { background: var(--cyan); color: var(--void); }
.btn--primary:hover { background: #a3ecff; }
.btn--ghost { border: 1px solid var(--smoke); color: var(--snow); }
.btn--ghost:hover { border-color: #6a6a6a; background: rgba(255, 255, 255, .05); }

/* ---------- Progress + Nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--snow); transform-origin: 0 50%; transform: scaleX(0); opacity: .8; }

.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding-inline: var(--gutter); pointer-events: none; transition: transform .6s var(--ease); }
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav__bar {
  pointer-events: auto; max-width: calc(var(--max) + 24px); margin: 0 auto; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 8px 0 20px; border-radius: var(--pill); border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, backdrop-filter .5s;
}
.nav.is-scrolled .nav__bar, .menu-open .nav__bar { background: rgba(28, 28, 28, .74); border-color: var(--edge); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.nav__brand { display: inline-flex; padding: 6px 0; }
.logo { height: 24px; width: auto; color: var(--snow); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 9px 14px; border-radius: var(--pill); font-size: 15px; color: var(--ash); white-space: nowrap; transition: background-color .25s, color .25s; }
.nav__links a:hover { background: rgba(255, 255, 255, .08); color: var(--snow); }
.nav__links a.is-current { background: rgba(255, 255, 255, .08); color: var(--snow); }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--smoke); }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--snow); border-radius: 2px; transition: transform .45s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--void); padding: 104px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--edge); font-size: clamp(32px, 9vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.menu__foot { display: grid; gap: 10px; justify-items: start; }
.menu__foot .btn { margin-bottom: 8px; }

@media (max-width: 1100px) {
  .nav__links a { padding: 9px 11px; font-size: 14px; }
}
@media (max-width: 759px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .nav__bar { padding-left: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; }
/* The hero is sized by height as well as width, so short laptop screens (e.g. 1920x1080 at 150%) keep the CTAs above the fold */
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: clamp(84px, 14svh, 120px); padding-bottom: clamp(12px, 3svh, 32px); }
.hero__copy { position: relative; z-index: 2; }
.announce { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 14px 4px 4px; border-radius: var(--pill); background: var(--carbon); border: 1px solid var(--smoke); font-size: 14px; color: var(--snow); transition: border-color .3s; }
.announce:hover { border-color: #6a6a6a; }
.announce__tag { padding: 4px 10px; border-radius: var(--pill); background: var(--snow); color: var(--void); font-size: 12px; font-weight: 600; }
.announce .ico { color: var(--ash); transition: transform .45s var(--ease); }
.announce:hover .ico { transform: translateX(3px); }

.hero__title { margin-top: clamp(14px, 2.8svh, 28px); font-size: clamp(44px, min(7.4vw, 12.2svh), 112px); line-height: .96; letter-spacing: -.05em; font-weight: 500; }
.line { display: block; overflow: clip; padding: .12em .1em .12em 0; margin: -.12em 0; }
.line__in { display: block; }
.hl { position: relative; display: inline-block; padding: 0 .16em .04em; margin-left: .02em; color: var(--void); font-weight: 600; letter-spacing: -.045em; }
.hl__bg { position: absolute; inset: 0; border-radius: clamp(12px, 1.3vw, 22px); background: var(--sunset); transform-origin: 0 50%; }
.hl__dash { position: absolute; inset: -.055em; border-radius: clamp(16px, 1.7vw, 28px); border: 1.5px dashed rgba(255, 255, 255, .5); }
.hl__txt { position: relative; }
.hero__sub { margin-top: clamp(14px, 2.8svh, 28px); max-width: 36ch; font-size: clamp(16px, min(1.35vw, 2.7svh), 20px); line-height: 1.5; color: var(--ash); text-wrap: pretty; }
.hero__actions { margin-top: clamp(18px, 3.6svh, 36px); display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage { position: relative; width: 100%; max-width: min(580px, 72svh); aspect-ratio: 1; justify-self: end; }
.sc-stage, .pl, .sc { position: absolute; inset: 0; }
.dotgrid {
  position: absolute; inset: 9%; border-radius: 36px; border: 1px solid var(--smoke);
  background: radial-gradient(circle at center, rgba(255, 255, 255, .14) 1px, transparent 1.5px) 0 0 / 22px 22px, var(--carbon);
}
.ring { position: absolute; inset: 1%; border-radius: 50%; border: 1px solid var(--edge); }
.ring--b { inset: 17%; border-style: dashed; border-color: #34383b; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ribbons { position: absolute; inset: 20%; }
.ribbon { width: 100%; height: 100%; overflow: visible; }
.sc--left { transform-origin: 39% 51%; }
.sc--top { transform-origin: 56% 36%; }
.sc--swirl { transform-origin: 70% 69%; }

.pl--chip-a, .pl--chip-b, .pl--chip-c, .pl--chip-d { inset: auto; }
.pl--chip-a { top: 7%; left: -2%; }
.pl--chip-b { top: 44%; right: -3%; }
.pl--chip-c { bottom: 6%; left: 5%; }
.pl--chip-d { bottom: 20%; right: -2%; }
.pl--chip-a .sc, .pl--chip-b .sc, .pl--chip-c .sc, .pl--chip-d .sc { position: relative; inset: auto; }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  background: rgba(28, 28, 28, .92); border: 1px solid var(--smoke); border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.3; white-space: nowrap;
}
.chip strong { display: block; font-weight: 500; }
.chip__meta { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mist); }
.chip__swatch { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; color: var(--void); }
.chip__swatch .ico { width: 18px; height: 18px; }
.chip__swatch--lavender { background: var(--lavender); }
.chip__swatch--amber { background: var(--amber); }
.chip--code { padding: 12px 16px; font-family: var(--mono); font-size: 13px; color: #d4d4d4; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--snow); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip__bars { display: flex; align-items: flex-end; gap: 3px; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--cyan); }
.chip__bars i { flex: 1; background: var(--void); border-radius: 1px; }
.chip__bars i:nth-child(1) { height: 30%; } .chip__bars i:nth-child(2) { height: 55%; } .chip__bars i:nth-child(3) { height: 42%; }
.chip__bars i:nth-child(4) { height: 70%; } .chip__bars i:nth-child(5) { height: 62%; } .chip__bars i:nth-child(6) { height: 100%; }
.t-k { color: #9cdcfe; } .t-f { color: #dcdcaa; } .t-n { color: #b5cea8; } .t-s { color: #dcdcaa; } .t-c { color: #80858a; } .t-t { color: #4fc1ff; }

.hero__bottom { position: relative; z-index: 2; }
.hero__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(8px, 1.4svh, 12px) 0 clamp(12px, 2.8svh, 28px); border-top: 1px solid var(--edge); }
@media (min-width: 960px) and (max-height: 600px) {
  .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } /* keeps both CTAs on one row */
  .hero__title { font-size: clamp(40px, min(7.4vw, 11svh), 112px); }
  .hero .btn--lg { min-height: 46px; padding: 11px 22px; }
}
@media (min-width: 960px) and (max-height: 560px) {
  .hero__title { font-size: clamp(36px, min(7.4vw, 10.4svh), 112px); }
  .hero__foot { padding-bottom: 10px; }
}
@media (min-width: 960px) and (max-height: 500px) {
  .hero__grid { padding-top: 78px; }
  .hero__title { font-size: clamp(34px, min(7.4vw, 9.4svh), 112px); }
  .hero__sub { max-width: 44ch; }
  .announce { min-height: 32px; }
}
/* Large portrait screens (iPad Pro upright, vertical monitors): stack the hero instead of floating it in empty space */
@media (min-width: 960px) and (max-aspect-ratio: 4/5) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-content: center; gap: clamp(28px, 4svh, 56px); }
  .hero__stage { justify-self: center; max-width: min(560px, 62vw, 42svh); }
}
.scrollcue { display: inline-flex; align-items: center; gap: 10px; }
.scrollcue i { position: relative; width: 1px; height: 22px; background: var(--edge); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--snow); transform: translateY(-100%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { transform: translateY(200%); } }

/* Performance: decorative loops pause off screen (main.js toggles .is-idle); lite quality drops the nav blur */
.is-idle, .is-idle *, .is-idle *::before, .is-idle *::after { animation-play-state: paused !important; }
.fx-lite .nav.is-scrolled .nav__bar, .fx-lite.menu-open .nav__bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(24, 24, 24, .95); }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; overflow: clip; padding: clamp(112px, 14vw, 200px) 0 clamp(88px, 10vw, 140px); }
.manifesto__mark { position: absolute; top: 50%; right: -10vw; width: min(64vw, 860px); aspect-ratio: 320 / 312; translate: 0 -50%; pointer-events: none; }
.manifesto__mark svg { width: 100%; height: 100%; overflow: visible; }
.manifesto__mark use { fill: none; stroke: #2a2d30; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.manifesto .container { position: relative; }
.manifesto__body { margin-top: 32px; display: grid; gap: clamp(28px, 4vw, 48px); }
.manifesto__title { font-size: clamp(34px, 5.2vw, 76px); line-height: 1.03; letter-spacing: -.04em; font-weight: 500; max-width: 17ch; text-wrap: balance; }
.manifesto__text { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.28; letter-spacing: -.02em; color: var(--ash); max-width: 34ch; margin-left: auto; margin-right: clamp(0px, 6vw, 96px); text-wrap: pretty; }
.facts { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.facts > div { padding-top: 18px; border-top: 1px solid var(--edge); }
.facts dd { margin-top: 8px; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }

/* ---------- Section heads ---------- */
.sechead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sechead .eyebrow { grid-column: 1 / -1; }
.sechead .lead { justify-self: end; }
[data-split] .split-line { padding-bottom: .06em; }

/* ---------- Services stack ---------- */
.services { padding-bottom: calc(var(--section) - 24px); }
.stack { display: grid; gap: 24px; }
/* Sticks below the nav, but never so low that a tall card's bottom (and its link) ends up off a short screen */
.tile { position: sticky; top: min(calc(96px + var(--i, 0) * 16px), calc(100svh - max(480px, min(580px, 100svh - 150px)) - 12px)); }
.tile__card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px;
  height: min(580px, calc(100svh - 150px)); min-height: 480px; padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card); color: var(--void); overflow: hidden; transform-origin: 50% 0;
}
.tile--amber .tile__card { background: var(--amber); }
.tile--lavender .tile__card { background: var(--lavender); }
.tile--cyan .tile__card { background: var(--cyan); }
.tile--carbon .tile__card { background: var(--carbon); color: var(--snow); box-shadow: inset 0 0 0 1px var(--edge); }
.tile__shade { position: absolute; inset: 0; z-index: 4; background: var(--void); opacity: 0; pointer-events: none; }
.tile__body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.tag { display: inline-flex; padding: 5px 12px; border-radius: var(--pill); border: 1px solid rgba(14, 14, 14, .3); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tile--carbon .tag { border-color: var(--smoke); color: var(--ash); }
.tile h3 { margin-top: 24px; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.tile__body p { margin-top: 16px; max-width: 36ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: rgba(14, 14, 14, .78); }
.tile--carbon .tile__body p { color: var(--ash); }
.tile__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tile__foot .tile__price { flex-basis: 100%; }
.tile__more { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tile__more:hover { text-decoration-thickness: 2px; }
.plans__note a { color: var(--snow); text-decoration: underline; text-underline-offset: 3px; }
.tile .tile__price { margin: 0; font-size: 16px; font-weight: 600; color: inherit; }
.tile__price span { font-weight: 400; opacity: .7; }
.tile__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--pill); background: var(--void); color: var(--snow); font-size: 15px; font-weight: 500; }
.tile__link .ico { transition: transform .45s var(--ease); }
.tile__link:hover .ico { transform: translateX(3px); }
.tile--carbon .tile__link { background: transparent; border: 1px solid var(--smoke); }
.tile--carbon .tile__link:hover { border-color: #6a6a6a; }
.tile__visual { position: relative; min-width: 0; }
.fw { position: absolute; }

/* Mocks */
.mock { background: var(--carbon); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-sm); overflow: hidden; }
.mk { display: block; border-radius: 6px; background: var(--graphite); }
.w-50 { width: 50% !important; } .w-60 { width: 60% !important; } .w-70 { width: 70% !important; } .w-80 { width: 80% !important; }

.fw--browser { left: 2%; right: -14%; top: 6%; bottom: -12%; }
.mock--browser { width: 100%; height: 100%; }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--edge); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--smoke); }
.mock__bar span { margin-left: 14px; padding: 3px 12px; border-radius: var(--pill); background: var(--graphite); font-family: var(--mono); font-size: 11px; color: var(--mist); }
.mock__page { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; }
.mk-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mk--logo { width: 56px; height: 12px; background: var(--ash); margin-right: auto; }
.mk--link { width: 36px; height: 8px; }
.mk--pill { width: 64px; height: 20px; border-radius: var(--pill); background: var(--cyan); }
.mk--h1 { width: 86%; height: 26px; background: #e9e9e9; border-radius: 8px; }
.mk--p { width: 78%; height: 9px; margin-top: 4px; }
.mk--cta { width: 132px; height: 34px; margin-top: 10px; border-radius: var(--pill); background: var(--cyan); }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.mk--card { height: 96px; border-radius: 12px; }
.mk-cards .mk--card:nth-child(1) { background: var(--amber); }
.mk-cards .mk--card:nth-child(2) { background: var(--lavender); }
.mk-cards .mk--card:nth-child(3) { background: var(--graphite); }

.note { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--snow); color: var(--void); border-radius: var(--r-sm); font-size: 14px; line-height: 1.3; white-space: nowrap; }
.note strong { display: block; font-weight: 600; }
.note__meta { display: block; font-size: 12px; color: #5a5a5a; }
.note__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--void); color: var(--snow); }
.note__icon--dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lavender); }
.note--dark { background: var(--graphite); color: var(--snow); border: 1px solid var(--smoke); }
.note--dark .note__meta { color: var(--mist); }
.pulse { position: relative; width: 10px; height: 10px; margin: 0 6px; border-radius: 50%; background: var(--snow); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--snow); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.fw--note { left: -3%; bottom: 10%; }

.fw--phone { left: 22%; top: 8%; width: min(240px, 46%); }
.fw--phone-back { left: 50%; top: 18%; width: min(220px, 42%); }
.mock--phone { position: relative; aspect-ratio: 9 / 17.5; border-radius: 30px; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 9px; border: 6px solid #111; }
.mock--dim { background: #bcb6ea; border-color: #b0aae0; transform: rotate(8deg); }
.mock__notch { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 64px; height: 16px; border-radius: var(--pill); background: #111; }
.mock--phone .mk--eyebrow { width: 40%; height: 8px; background: var(--smoke); }
.mock--phone .mk--h1 { height: 20px; width: 92%; }
.mock--phone .mk--p { width: 88%; height: 8px; }
.mk--block { width: 100% !important; height: 38px; margin-top: 8px; }
.mock--phone .mk--img { flex: 1; min-height: 40px; margin-top: 8px; border-radius: 14px; background: var(--sunset); }
.fw--goal { right: 2%; bottom: 14%; }

.fw--panel { left: 4%; right: -10%; top: 10%; }
.mock--panel { padding: 18px; display: grid; gap: 14px; }
.mp-head { display: flex; justify-content: space-between; align-items: center; }
.mp-head .mk--link { width: 110px; height: 12px; background: var(--ash); }
.mp-tag { padding: 3px 10px; border-radius: var(--pill); border: 1px solid var(--smoke); font-family: var(--mono); font-size: 11px; color: var(--mist); }
.mp-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-kpi { height: 74px; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.mp-kpi span { width: 40%; height: 7px; border-radius: 4px; background: rgba(14, 14, 14, .35); }
.mp-kpi b { width: 60%; height: 18px; border-radius: 5px; background: var(--void); }
.mp-kpi--amber { background: var(--amber); }
.mp-kpi--lavender { background: var(--lavender); }
.mp-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding: 14px; border-radius: 12px; background: var(--void); }
.mp-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--graphite); transform-origin: 50% 100%; }
.mp-bars i.is-hi { background: var(--cyan); }
.fw--donut { right: 6%; bottom: 6%; }
.donut-mini { width: 128px; height: 128px; padding: 14px; border-radius: 24px; background: var(--snow); }
.donut-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dm { fill: none; stroke-width: 6; }
.dm--track { stroke: #ececec; }
.dm--a { stroke: var(--void); } .dm--b { stroke: #7c7c85; } .dm--c { stroke: var(--cyan); }

.fw--code { left: 0; right: -12%; top: 12%; }
.code { margin: 0; padding: 24px; border-radius: var(--r-sm); background: var(--void); border: 1px solid var(--edge); font-family: var(--mono); font-size: clamp(13px, 1.1vw, 15px); line-height: 1.75; color: #d4d4d4; overflow: hidden; white-space: pre; }
.code-line { display: inline-block; }
.fw--status { right: 6%; bottom: 12%; }

/* ---------- Dashboards ---------- */
.dashboards { overflow-x: clip; }
.dash-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.dash-copy .display { margin-top: 20px; }
.dash-copy .lead { margin-top: 24px; }
.checks { margin-top: 36px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--edge); font-size: 15px; line-height: 1.5; color: var(--mist); }
.checks li:last-child { border-bottom: 1px solid var(--edge); }
.checks .ico { margin-top: 3px; color: var(--snow); }
.checks strong { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 500; color: var(--snow); }
.dash-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.dash-scene { perspective: 1600px; min-width: 0; }
.dash { position: relative; display: grid; gap: 12px; padding: clamp(14px, 1.6vw, 20px); background: var(--carbon); border: 1px solid var(--edge); border-radius: var(--r-card); transform-style: preserve-3d; transform-origin: 50% 60%; }
.dash > * { transform-style: preserve-3d; }
.dash-scene figcaption { margin-top: 16px; text-align: right; }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 2px 6px; }
.dash__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dash__title strong { display: block; font-size: 15px; font-weight: 500; }
.dash__title .mono { font-size: 11px; }
.dash__logo { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--void); border: 1px solid var(--edge); }
.dash__logo svg { width: 20px; height: 20px; }
.seg { display: flex; padding: 3px; border-radius: var(--pill); background: var(--void); border: 1px solid var(--edge); font-size: 12px; color: var(--mist); }
.seg span { padding: 5px 11px; border-radius: var(--pill); }
.seg .is-on { background: var(--graphite); color: var(--snow); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: clamp(12px, 1.3vw, 16px); border-radius: 14px; color: var(--void); min-width: 0; }
.kpi--amber { background: var(--amber); } .kpi--lavender { background: var(--lavender); } .kpi--cyan { background: var(--cyan); }
.kpi__label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.kpi__value { display: flex; align-items: baseline; gap: 4px; font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.kpi__value small { font-size: .5em; font-weight: 500; letter-spacing: 0; }
.kpi__value b { font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi__delta { font-size: 12px; font-weight: 500; opacity: .75; }
.dash__charts { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; }
.chart { padding: 14px; border-radius: 14px; background: var(--void); border: 1px solid var(--edge); min-width: 0; }
.chart__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.chart__head strong { font-size: 13px; font-weight: 500; }
.chart__head .mono { font-size: 10px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 132px; }
.bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: #3a3d44; transform-origin: 50% 100%; }
.bars i.is-hi { background: var(--lavender); }
.bars__axis { display: flex; gap: 5px; margin-top: 8px; font-size: 9px; }
.bars__axis span { flex: 1; text-align: center; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.donut { width: min(112px, 100%); height: auto; transform: rotate(-90deg); }
.donut__track { fill: none; stroke: var(--graphite); stroke-width: 14; }
.donut__seg { fill: none; stroke-width: 14; }
.donut__seg--a { stroke: var(--amber); } .donut__seg--b { stroke: var(--lavender); } .donut__seg--c { stroke: var(--cyan); }
.legend { width: 100%; display: grid; gap: 4px; font-size: 12px; color: var(--ash); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend b { margin-left: auto; font-weight: 500; color: var(--snow); font-variant-numeric: tabular-nums; }
.lg-a { background: var(--amber); } .lg-b { background: var(--lavender); } .lg-c { background: var(--cyan); }
.chart--line { grid-column: 1 / -1; }
.legend-inline { display: inline-flex; align-items: center; gap: 6px; }
.li-line { width: 14px; height: 2px; background: var(--amber); margin-left: 6px; }
.li-dash { width: 14px; height: 0; border-top: 2px dashed var(--mist); margin-left: 6px; }
.linechart { width: 100%; height: 96px; overflow: visible; }
.lc-grid { stroke: var(--edge); stroke-width: 1; fill: none; }
.lc-area { fill: rgba(255, 186, 106, .12); }
.lc-goal { stroke: var(--mist); stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
.lc-line { stroke: var(--amber); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------- New services: tiles ---------- */
.tile--sunset .tile__card { background: var(--sunset); }
.tile--snow .tile__card { background: var(--snow); }
.chip__swatch--sunset, .plan__swatch--sunset { background: var(--sunset); }

.fw--flow { left: 4%; right: -8%; top: 10%; }
.mock--flow { display: grid; padding: 18px; }
.mf-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--graphite); }
.mf-row--ai { background: #302e3a; box-shadow: inset 0 0 0 1px rgba(216, 211, 255, .35); }
.mf-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; color: var(--void); }
.mf-ico .ico { width: 18px; height: 18px; }
.mf-ico--cyan { background: var(--cyan); } .mf-ico--lavender { background: var(--lavender); } .mf-ico--amber { background: var(--amber); }
.mf-txt { flex: 1; display: grid; gap: 7px; min-width: 0; }
.mf-txt .mk--link { width: 58%; height: 9px; background: var(--ash); }
.mf-txt .mk--p { width: 86%; height: 7px; margin: 0; background: var(--smoke); }
.mf-pill { padding: 3px 10px; border-radius: var(--pill); border: 1px solid var(--smoke); font-family: var(--mono); font-size: 11px; color: var(--mist); white-space: nowrap; }
.mf-link { position: relative; display: block; width: 2px; height: 26px; margin-left: 29px; background: var(--smoke); overflow: hidden; }
.mf-link b { position: absolute; inset: 0; }
.mf-link b::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 10px; border-radius: 2px; background: var(--cyan); }
.motion .mf-link b { animation: packet-y 1.8s var(--ease) infinite; }
.mock--flow .mf-link:nth-of-type(2) b { animation-delay: .9s; }
@keyframes packet-y { from { transform: translateY(-10px); } to { transform: translateY(100%); } }
.fw--done { right: 2%; bottom: 8%; }

.fw--app { left: 2%; right: -16%; top: 8%; bottom: -10%; }
.mock--app { display: grid; grid-template-columns: 26% minmax(0, 1fr); height: 100%; }
.ma-side { display: grid; align-content: start; gap: 12px; padding: 20px 14px; border-right: 1px solid var(--edge); }
.ma-side .mk--logo { width: 70%; margin: 0 0 12px; }
.ma-nav { height: 10px; width: 78%; }
.ma-nav.is-on { width: 92%; background: var(--lavender); }
.ma-main { display: grid; align-content: start; gap: 12px; padding: 20px; min-width: 0; }
.ma-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ma-head .mk--link { width: 96px; height: 12px; background: var(--ash); }
.ma-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ma-card { height: 64px; border-radius: 10px; }
.ma-cards .ma-card:nth-child(1) { background: var(--amber); }
.ma-cards .ma-card:nth-child(2) { background: var(--lavender); }
.ma-cards .ma-card:nth-child(3) { background: var(--cyan); }
.ma-li { height: 30px; border-radius: 8px; }
.fw--app-phone { right: 5%; bottom: 5%; width: min(150px, 30%); }
.mock--mini { aspect-ratio: 9 / 17; padding: 34px 12px 12px; gap: 8px; border-width: 5px; border-radius: 24px; }
.mock--mini .mock__notch { top: 8px; width: 44px; height: 12px; }
.mock--mini .ma-card { flex: none; height: 46px; background: var(--sunset); }
.mock--mini .ma-li { flex: none; height: 20px; }
.mock--mini .mk--block { height: 26px; margin-top: auto; }

/* ---------- Automação com IA ---------- */
.automation { position: relative; overflow-x: clip; }
.automation__glow { position: absolute; left: 50%; top: 46%; width: min(1100px, 130vw); aspect-ratio: 2 / 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(216, 211, 255, .08), transparent); pointer-events: none; }
.automation .container { position: relative; }
.flow-scene { perspective: 1400px; min-width: 0; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); transform-style: preserve-3d; }
.flow__node { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; background: var(--carbon); border: 1px solid var(--edge); border-radius: var(--r-card); transform-origin: 50% 100%; }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flow__head .mono { text-align: right; }
.flow__ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; color: var(--void); }
.flow__ico .ico { width: 19px; height: 19px; }
.flow__ico--cyan { background: var(--cyan); } .flow__ico--lavender { background: var(--lavender); } .flow__ico--amber { background: var(--amber); } .flow__ico--snow { background: var(--snow); }
.flow__node h3 { margin-top: 8px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.flow__node p { font-size: 14px; line-height: 1.5; color: var(--mist); }
.flow__mock { margin-top: auto; padding-top: 8px; display: grid; gap: 6px; justify-items: start; }
.flow__mock--tags { display: flex; flex-wrap: wrap; }
.fm-bubble { padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--graphite); font-size: 13px; line-height: 1.35; color: var(--snow); }
.fm-tag { padding: 5px 10px; border-radius: var(--pill); background: var(--lavender); color: var(--void); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.fm-tag--soft { background: transparent; color: var(--lavender); box-shadow: inset 0 0 0 1px rgba(216, 211, 255, .4); }
.fm-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border-radius: 10px; background: var(--void); border: 1px solid var(--edge); font-size: 13px; color: var(--ash); }
.fm-row .ico { width: 14px; height: 14px; color: var(--amber); }
.fm-note { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--snow); color: var(--void); font-size: 13px; line-height: 1.3; }
.fm-note strong { display: block; font-weight: 600; }
.fm-note small { display: block; font-size: 12px; color: #5a5a5a; }
.fm-note .pulse { flex: none; margin: 0 4px; background: var(--void); }
.fm-note .pulse::after { border-color: var(--void); }
.flow__glow { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 0 0 4px rgba(111, 226, 255, .07), 0 28px 60px -30px rgba(111, 226, 255, .5); opacity: 0; pointer-events: none; }
.flow__node.is-live .flow__glow { opacity: 1; }
.flow__link { position: relative; align-self: center; width: clamp(20px, 2.6vw, 40px); height: 2px; background: var(--edge); overflow: hidden; }
.flow__link i { position: absolute; inset: 0; background: var(--sunset); transform-origin: 0 50%; }
.flow__link b { position: absolute; inset: 0; }
.flow__link b::after { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 100%; border-radius: 2px; background: var(--snow); }
.motion .flow__link b { animation: packet-x 2.2s var(--ease) infinite; }
@keyframes packet-x { from { transform: translateX(-10px); } to { transform: translateX(100%); } }
.flow-scene figcaption { margin-top: 16px; text-align: right; }
.uses { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.use { padding-top: 20px; border-top: 1px solid var(--edge); }
.use__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--smoke); color: var(--snow); }
.use h3 { margin-top: 16px; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; font-weight: 500; }
.use p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--mist); }
.automation__actions { margin-top: clamp(40px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

@media (max-width: 959px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__link { justify-self: center; width: 2px; height: 36px; }
  .flow__link i { transform-origin: 50% 0; }
  .flow__link b::after { width: 100%; height: 10px; }
  .motion .flow__link b { animation-name: packet-y; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 959px) {
  .flow__node { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); grid-auto-rows: min-content; column-gap: 28px; align-items: start; }
  .flow__node > :not(.flow__mock):not(.flow__glow):not(.flow__head) { grid-column: 1; }
  .flow__node > .flow__head { grid-column: 1 / -1; }
  .flow__node h3 { margin-top: 12px; }
  .flow__node p { margin-top: 6px; }
  .flow__mock { grid-column: 2; grid-row: 2 / span 2; align-self: center; margin-top: 0; padding-top: 0; }
}
@media (max-width: 640px) {
  .uses { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fw--flow { left: 0; right: -6%; top: 6%; }
  .fw--done { right: 0; bottom: 4%; }
  .fw--app { left: 0; right: -30%; }
  .fw--app-phone { right: 4%; width: 36%; }
}

/* ---------- Aplicativos sob medida ---------- */
.apps { overflow-x: clip; }
.apps-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.app-scene { order: -1; min-width: 0; container-type: inline-size; }
.apps-copy .display { margin-top: 20px; }
.apps-copy .lead { margin-top: 24px; }
.apps-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.app-3d { perspective: 1600px; padding-bottom: 8%; }
.app { position: relative; transform-style: preserve-3d; transform-origin: 50% 60%; }
.app__win, .app__body, .app__main, .app__stats { transform-style: preserve-3d; }
.app__win { position: relative; margin-right: 22%; background: var(--carbon); border: 1px solid var(--edge); border-radius: var(--r-card); }
.app__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--edge); }
.app__bar i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--smoke); }
.app__bar span { min-width: 0; margin-left: 12px; padding: 3px 12px; border-radius: var(--pill); background: var(--graphite); font-family: var(--mono); font-size: 11px; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__body { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.app__side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--edge); }
.app__brand { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 10px 4px; border-radius: 10px; background: var(--void); border: 1px solid var(--edge); }
.app__brand svg { width: 18px; height: 18px; }
.app__nav { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; border-radius: 10px; font-size: 13px; color: var(--mist); white-space: nowrap; }
.app__nav.is-on { background: var(--graphite); color: var(--snow); }
.app__nav .ico { width: 15px; height: 15px; }
.app__main { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 14px; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app__head strong { display: block; font-size: 15px; font-weight: 500; }
.app__head .mono { display: block; font-size: 10px; }
.app__btn { padding: 6px 12px; border-radius: var(--pill); background: var(--cyan); color: var(--void); font-size: 12px; font-weight: 500; white-space: nowrap; }
.app__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app__stat { display: grid; gap: 6px; min-width: 0; padding: 12px; border-radius: 12px; color: var(--void); }
.app__stat span { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__stat b { font-size: clamp(22px, 5.4cqi, 32px); line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.app__stat--amber { background: var(--amber); } .app__stat--lavender { background: var(--lavender); } .app__stat--cyan { background: var(--cyan); }
.app__list { display: grid; gap: 8px; }
.app__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--void); border: 1px solid var(--edge); }
.app__time { font-family: var(--mono); font-size: 12px; color: var(--mist); }
.app__who { min-width: 0; }
.app__who strong { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__who small { display: block; font-size: 12px; color: var(--mist); }
.app__st { padding: 3px 9px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--smoke); font-size: 11px; color: var(--ash); white-space: nowrap; }
.app__st--ok { box-shadow: none; background: rgba(111, 226, 255, .14); color: var(--cyan); }
.app__st--wait { box-shadow: none; background: rgba(255, 186, 106, .14); color: var(--amber); }
.app__phone { position: absolute; right: 0; bottom: -7%; width: 24%; min-width: 96px; max-width: 168px; aspect-ratio: 9 / 18; display: flex; flex-direction: column; gap: 8px; padding: 12px 9px 10px; background: var(--carbon); border: 5px solid #050505; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; }
.app__notch { flex: none; align-self: center; width: 38%; height: 10px; margin-bottom: 6px; border-radius: var(--pill); background: #050505; }
.app__push { display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 10px; background: var(--snow); color: var(--void); font-size: 10px; line-height: 1.2; }
.app__push-ico { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--void); color: var(--snow); }
.app__push-ico .ico { width: 11px; height: 11px; }
.app__push-txt { min-width: 0; }
.app__push strong, .app__push small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__push strong { font-weight: 600; }
.app__push small { font-size: 9px; color: #5a5a5a; }
.app__pl { display: block; flex: none; height: 16px; border-radius: 6px; background: var(--graphite); }
.app__pl--h { height: 38px; background: var(--sunset); }
.app__pl--cta { margin-top: auto; height: 22px; border-radius: var(--pill); background: var(--cyan); }
.app-scene figcaption { margin-top: 16px; text-align: right; }
@container (max-width: 520px) {
  .app__nav span { display: none; }
  .app__nav { padding: 9px; }
  .app__brand { margin-left: 0; }
  .app__head .mono { display: none; }
}
@container (max-width: 400px) {
  .app__bar span, .app__st, .app__push-txt { display: none; }
  .app__win { margin-right: 12%; }
  .app__main { padding: 10px; gap: 10px; }
  .app__stats { gap: 6px; }
  .app__stat { padding: 8px; }
  .app__stat span { font-size: 9px; letter-spacing: 0; text-overflow: clip; }
  .app__list li { grid-template-columns: auto minmax(0, 1fr); gap: 8px; padding: 8px 10px; }
  .app__push { justify-content: center; }
}
@container (max-width: 300px) {
  .app__stat span { display: none; }
  .app__phone { width: 32%; min-width: 76px; border-width: 4px; border-radius: 20px; }
}
@media (max-width: 959px) {
  .apps-grid { grid-template-columns: minmax(0, 1fr); }
  .app-scene { order: 0; }
}

/* ---------- Pillars ---------- */
.pillars { position: relative; overflow: clip; padding-block: var(--section); }
.pillars__viewport { overflow-x: auto; scrollbar-width: thin; }
.pillars__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.pillars__head .display { margin-top: 20px; }
.pillars__head .lead { justify-self: end; }
.pillars__track { display: flex; gap: 20px; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: var(--gutter); }
.pillar { flex: none; width: clamp(290px, 27vw, 360px); height: clamp(320px, 44svh, 400px); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 24px; background: var(--carbon); border: 1px solid var(--edge); border-radius: var(--r-card); overflow: hidden; }
.pillar h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.pillar p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--mist); }
.pillar__art { position: relative; flex: 1; min-height: 120px; border-radius: 14px; background: var(--void); border: 1px solid var(--edge); overflow: hidden; display: grid; place-items: center; }
.art { position: relative; }
.art--type span { font-size: 96px; line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.art--type i { position: absolute; left: -40px; right: -40px; height: 1px; background: var(--smoke); }
.art--type i:nth-of-type(1) { top: 12%; } .art--type i:nth-of-type(2) { top: 36%; } .art--type i:nth-of-type(3) { top: 84%; background: var(--mist); }
.art--speed { width: 70%; display: grid; gap: 12px; }
.art--speed i { display: block; height: 8px; border-radius: var(--pill); background: var(--snow); transform-origin: 0 50%; animation: race 2.6s var(--ease) infinite; }
.art--speed i:nth-child(2) { width: 82%; animation-delay: .12s; background: var(--ash); }
.art--speed i:nth-child(3) { width: 64%; animation-delay: .24s; background: var(--mist); }
.art--speed i:nth-child(4) { width: 44%; animation-delay: .36s; background: var(--smoke); }
@keyframes race { 0% { transform: scaleX(0); } 45%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.art--code { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(var(--edge) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--edge) 1px, transparent 1px) 0 0 / 24px 24px; }
.pillar__art:has(.art--code) { place-items: stretch; }
.art--code span { padding: 10px 18px; border-radius: 12px; background: var(--carbon); border: 1px solid var(--smoke); font-family: var(--mono); font-size: 28px; }
.art--ux { width: 100%; height: 100%; display: grid; place-items: center; }
.pillar__art:has(.art--ux) { place-items: stretch; }
.ux-btn { padding: 12px 22px; border-radius: var(--pill); background: var(--snow); color: var(--void); font-size: 14px; font-weight: 500; animation: press 3s var(--ease) infinite; }
.ux-cursor { position: absolute; width: 24px; height: 24px; left: 58%; top: 56%; fill: var(--snow); stroke: var(--void); stroke-width: 1.2; animation: cursor 3s var(--ease) infinite; }
@keyframes cursor { 0% { transform: translate(60px, 50px); } 40%, 60% { transform: translate(0, 0); } 100% { transform: translate(60px, 50px); } }
@keyframes press { 0%, 42% { transform: scale(1); } 48% { transform: scale(.94); } 56%, 100% { transform: scale(1); } }
.art--chat { width: 100%; display: grid; gap: 8px; padding: 16px; }
.bub { justify-self: start; max-width: 85%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--graphite); font-size: 13px; line-height: 1.35; }
.bub--me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--snow); color: var(--void); }
.pillar--link { background: transparent; border-style: dashed; border-color: var(--smoke); padding: 0; }
.pillar--link a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 24px; transition: background-color .3s; }
.pillar--link a:hover { background: rgba(255, 255, 255, .03); }
.pillar__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.pillar__cta .ico { width: 28px; height: 28px; transition: transform .45s var(--ease); }
.pillar--link a:hover .ico { transform: translateX(6px); }

@media (min-width: 960px) and (min-height: 620px) {
  .pillars { min-height: 100svh; padding-block: 40px; display: flex; flex-direction: column; justify-content: center; }
  .pillars__head { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin-bottom: 44px; }
  .pillars .display { font-size: clamp(36px, 4.1vw, 56px); }
  .pillar { height: clamp(290px, 40svh, 380px); }
  .motion .pillars__viewport { overflow: visible; }
}

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 112px); }
.process__aside { position: sticky; top: 128px; align-self: start; }
.process__aside .display { margin-top: 20px; }
.process__aside .lead { margin-top: 24px; }
.steps-wrap { position: relative; padding-left: 76px; }
.steps__rail { position: absolute; left: 23px; top: 24px; bottom: 60px; width: 2px; background: var(--edge); border-radius: 2px; overflow: hidden; }
.steps__fill { position: absolute; inset: 0; background: var(--sunset-v); transform-origin: 50% 0; }
.step { position: relative; padding: 8px 0 clamp(64px, 9vw, 128px); }
.step:last-child { padding-bottom: 8px; }
.step__dot { position: absolute; left: -76px; top: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--void); border: 1px solid var(--smoke); font-family: var(--mono); font-size: 13px; color: var(--mist); transition: background-color .5s, color .5s, border-color .5s; }
.step h3 { margin-top: 8px; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; transition: color .6s; }
.step__text { margin-top: 14px; max-width: 40ch; font-size: 17px; line-height: 1.55; color: var(--ash); transition: color .6s; }
.motion .step:not(.is-active) h3, .motion .step:not(.is-active) .step__text { color: #5b5b60; }
.step.is-active .step__dot { background: var(--snow); border-color: var(--snow); color: var(--void); }

/* ---------- Statement ---------- */
.statement { padding: clamp(24px, 4vw, 56px) var(--gutter); }
.statement__frame { max-width: 1440px; margin: 0 auto; border-radius: var(--r-card); background: var(--sunset); color: var(--void); overflow: hidden; clip-path: inset(0 round 20px); }
.statement__inner { min-height: min(92svh, 800px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 5.5vw, 88px); transform-origin: 50% 50%; }
.statement__logo { height: clamp(26px, 2.6vw, 36px); width: auto; }
.statement__title { display: flex; flex-wrap: wrap; column-gap: .22em; font-size: clamp(54px, 11.5vw, 184px); line-height: .9; letter-spacing: -.06em; font-weight: 600; }
.statement__title span { display: inline-block; }
.statement__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.statement__row p { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -.01em; max-width: 36ch; color: rgba(14, 14, 14, .82); }
.statement__list { display: grid; gap: 8px; justify-items: end; }
.statement__list li { padding: 9px 16px; border-radius: var(--pill); border: 1px solid rgba(14, 14, 14, .28); font-size: 14px; font-weight: 500; white-space: nowrap; }

/* ---------- Plans ---------- */
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--carbon); border: 1px solid var(--edge); border-radius: var(--r-card); container-type: inline-size; }
/* When cards are narrow enough for some CTAs to wrap, give every CTA the two-line height so the row stays even */
@container (max-width: 370px) { .plan .btn { min-height: 60px; } }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__name { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.plan__swatch { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; color: var(--void); }
.plan__swatch .ico { width: 20px; height: 20px; }
.plan__swatch--amber { background: var(--amber); } .plan__swatch--lavender { background: var(--lavender); } .plan__swatch--cyan { background: var(--cyan); }
.plan__price { font-size: clamp(38px, 3.8vw, 52px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.plan__price small { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.plan__summary { font-size: 15px; line-height: 1.5; color: var(--ash); }
.plan ul { border-bottom: 1px solid var(--edge); }
.plan li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--edge); font-size: 14px; line-height: 1.45; color: var(--ash); }
.plan li .ico { margin-top: 2px; color: var(--snow); }
.plan .btn { margin-top: auto; white-space: normal; text-align: center; }
.plans__note { margin-top: 28px; max-width: 70ch; font-size: 14px; color: var(--mist); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 112px); }
.faq__aside { position: sticky; top: 128px; align-self: start; }
.faq__aside .display { margin-top: 20px; }
.faq__aside .lead { margin-top: 24px; }
.qa { border-top: 1px solid var(--edge); }
.qa:last-child { border-bottom: 1px solid var(--edge); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ash); }
.qa__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--smoke); transition: background-color .4s, border-color .4s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--snow); border-color: var(--snow); color: var(--void); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a p { padding: 0 60px 26px 0; max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--ash); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- CTA ---------- */
.cta { position: relative; overflow: clip; padding: clamp(112px, 14vw, 200px) 0 clamp(96px, 11vw, 160px); }
.cta__art { position: absolute; top: 50%; right: -7vw; width: min(40vw, 580px); aspect-ratio: 320 / 312; translate: 0 -50%; pointer-events: none; }
.cr { position: absolute; inset: 0; }
.cr svg { width: 100%; height: 100%; overflow: visible; }
.cr--left { transform-origin: 39% 51%; } .cr--top { transform-origin: 56% 36%; } .cr--swirl { transform-origin: 70% 69%; }
.cta__inner { position: relative; z-index: 1; }
.cta__title { margin-top: 24px; max-width: 12.5ch; font-size: clamp(44px, 6.8vw, 104px); line-height: .98; letter-spacing: -.05em; font-weight: 500; text-wrap: balance; }
.cta__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--edge); padding-top: clamp(56px, 7vw, 88px); overflow: clip; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.footer__col .social__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--smoke); color: var(--ash); transition: color .25s, background-color .25s, border-color .25s; }
.footer__col .social__btn:hover { color: var(--void); background: var(--snow); border-color: var(--snow); }
.social__ico { width: 20px; height: 20px; }
.footer__brand p:not(.mono) { margin: 20px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer__col .mono { margin-bottom: 8px; }
.footer__col a { padding: 8px 0; font-size: 15px; color: var(--ash); transition: color .25s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--snow); }
.footer__word { margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 0; overflow: clip; text-align: center; white-space: nowrap; font-size: min(13.2vw, 206px); line-height: 1; font-weight: 600; letter-spacing: -.065em; }
.footer__word span { display: inline-block; padding: 0 .04em .2em 0; margin-bottom: -.08em; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--edge); font-size: 13px; color: var(--mist); }
.footer__legal p { align-self: center; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; transition: color .25s; }
.footer__legal a:hover { color: var(--snow); }

/* ---------- Hero intro: pure CSS, starts at first paint (no JS wait, keeps LCP fast) ---------- */
@keyframes in-rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes in-down { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes in-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes in-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes in-ink { from { color: #ffffff; } to { color: #0e0e0e; } }
@keyframes in-pop { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes in-scale { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes in-rib-left { from { opacity: 0; transform: translate(-140px, 70px) rotate(-48deg); } to { opacity: 1; transform: none; } }
@keyframes in-rib-top { from { opacity: 0; transform: translate(90px, -130px) rotate(40deg); } to { opacity: 1; transform: none; } }
@keyframes in-rib-swirl { from { opacity: 0; transform: translate(140px, 120px) rotate(56deg); } to { opacity: 1; transform: none; } }
@keyframes in-chip { from { opacity: 0; transform: translateY(36px) scale(.9); } to { opacity: 1; transform: none; } }
.motion .nav__bar { animation: in-down 1.2s var(--ease-out) .1s both; }
.motion .announce { animation: in-up 1.2s var(--ease-out) .05s both; }
.motion .line__in { animation: in-rise 1s var(--ease-out) .05s both; }
.motion .line:nth-child(2) .line__in { animation-delay: .12s; }
.motion .line:nth-child(3) .line__in { animation-delay: .19s; }
.motion .hl__bg { animation: in-sweep 1.1s cubic-bezier(.87, 0, .13, 1) .45s both; }
.motion .hl__txt { animation: in-ink .5s ease-out .95s both; }
.motion .hl__dash { animation: in-pop 1s var(--ease-out) 1.1s both; }
.motion .hero__sub { animation: in-up 1.1s var(--ease-out) .25s both; }
.motion .hero__actions { animation: in-up 1.1s var(--ease-out) .38s both; }
.motion .hero__foot { animation: in-fade 1.2s ease .6s both; }
.motion .dotgrid { animation: in-scale 1.8s var(--ease-out) .2s both; }
.motion .ring--a { animation: in-scale 2s var(--ease-out) .3s both; }
.motion .ring--b { animation: in-scale 2s var(--ease-out) .42s both, spin 60s linear 2.4s infinite; }
.motion .ribbon--left { animation: in-rib-left 2s var(--ease-out) .4s both; }
.motion .ribbon--top { animation: in-rib-top 2s var(--ease-out) .52s both; }
.motion .ribbon--swirl { animation: in-rib-swirl 2s var(--ease-out) .64s both; }
.motion .chip { animation: in-chip 1.3s var(--ease-out) 1s both; }
.motion .pl--chip-b .chip { animation-delay: 1.12s; }
.motion .pl--chip-c .chip { animation-delay: 1.24s; }
.motion .pl--chip-d .chip { animation-delay: 1.36s; }
/* Terminada a entrada (main.js põe .is-in), ela sai de cena. O pin do GSAP move a capa no DOM ao cruzar 620px de
   altura, e o navegador reinicia toda animação de um elemento movido: a entrada se repetia no meio da visita. */
.motion .hero.is-in :is(.announce, .line__in, .hl__bg, .hl__txt, .hl__dash, .hero__sub, .hero__actions, .hero__foot, .dotgrid, .ring--a, .ribbon--left, .ribbon--top, .ribbon--swirl, .chip) { animation: none; }
.motion .hero.is-in .ring--b { animation: spin 60s linear infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pl--chip-b, .pl--chip-d { right: 0; }
}

@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 112px; gap: 40px; }
  .hero__sub { font-size: 17px; }
  .hero__stage { justify-self: center; max-width: min(460px, 88vw); }
  .pl--chip-a { left: 0; } .pl--chip-b, .pl--chip-d { right: 0; }
  .sechead, .pillars__head { grid-template-columns: minmax(0, 1fr); }
  .sechead .lead, .pillars__head .lead { justify-self: start; }
  .tile { position: relative; top: auto; }
  .tile__card { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .tile__visual { height: clamp(300px, 70vw, 420px); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars__viewport { overflow: visible; }
  .pillars__track { width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: var(--gutter); gap: 16px; }
  .pillar { width: auto; height: auto; min-height: 320px; }
  .pillar__art { flex: none; height: 150px; }
  .process__grid, .faq__grid { grid-template-columns: 1fr; }
  .process__aside, .faq__aside { position: static; }
  .statement__row { grid-template-columns: 1fr; }
  .statement__list { justify-items: start; }
  .plans__grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta__art { position: relative; top: auto; right: auto; translate: none; width: min(62vw, 360px); margin: -40px 0 24px auto; margin-right: var(--gutter); }
  .cta { padding-top: 96px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(46px, 13.6vw, 72px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__foot .scrollcue { display: none; }
  .chip { font-size: 12px; padding: 8px 12px 8px 8px; gap: 8px; }
  .chip__swatch, .chip__bars { width: 28px; height: 28px; }
  .chip__swatch .ico { width: 15px; height: 15px; }
  .chip--code { font-size: 11px; padding: 9px 12px; }
  .facts { grid-template-columns: 1fr; gap: 20px; }
  .pillars__track { grid-template-columns: 1fr; }
  .fw--browser { right: -30%; }
  .fw--note { left: 0; bottom: 6%; }
  .fw--phone { left: 8%; width: 52%; }
  .fw--phone-back { left: 46%; width: 46%; }
  .fw--goal { right: 0; bottom: 8%; }
  .fw--panel { right: -24%; left: 0; }
  .mp-bars { height: 110px; }
  .fw--donut { right: 0; bottom: 4%; }
  .donut-mini { width: 104px; height: 104px; }
  .fw--code { right: -8%; }
  .note { padding: 10px 14px 10px 10px; font-size: 13px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi--cyan { grid-column: 1 / -1; }
  .dash__charts { grid-template-columns: 1fr; }
  .donut-wrap { flex-direction: row; }
  .donut { width: 96px; flex: none; }
  .dash__top .seg { display: none; }
  .steps-wrap { padding-left: 60px; }
  .step__dot { left: -60px; width: 40px; height: 40px; font-size: 12px; }
  .steps__rail { left: 19px; top: 20px; }
  .statement__list li { white-space: normal; }
  .qa__a p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__actions .btn { flex: 1 1 100%; }
  .cta__mail { font-size: 14px; }
}

/* Phones and tablets upright: stacked tiles and the horizontal pillars track come back */
@media (max-width: 959px) and (min-height: 560px) {
  .motion .tile { position: sticky; top: var(--stick, 84px); }
  .pillars { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 32px; }
  .pillars__head { margin-bottom: 28px; gap: 12px; }
  .pillars__head .display { margin-top: 12px; }
  .pillars__head .lead { font-size: 15px; }
  .pillars__viewport { overflow-x: auto; }
  .motion .pillars__viewport { overflow: visible; }
  .pillars__track { display: flex; width: max-content; gap: 14px; padding-inline: var(--gutter); }
  .pillar { width: min(78vw, 340px); height: clamp(270px, 42svh, 340px); min-height: 0; }
  .pillar__art { flex: 1; height: auto; min-height: 96px; }
}
@media (max-width: 959px) and (min-height: 560px) and (max-height: 600px) {
  .pillars__head .lead { display: none; }
}

/* Upright tablets: the stacked hero must fit the screen so its pin starts with the top visible */
@media (min-width: 600px) and (max-width: 959px) and (min-height: 560px) {
  .hero__grid { padding-top: clamp(88px, 10svh, 112px); gap: clamp(20px, 3svh, 40px); }
  .hero__stage { max-width: min(460px, 88vw, 42svh); }
}

/* Short desktop windows (< 620px tall): tiles taller than the space under the nav scroll normally,
   and the pillars become a grid instead of a horizontal row a mouse cannot reach */
@media (min-width: 960px) and (max-height: 619px) {
  .tile { position: relative; top: auto; }
  .tile__card { height: auto; min-height: 0; }
  .tile__visual { min-height: 320px; }
}
@media (min-width: 960px) and (max-height: 619px), (min-width: 960px) and (prefers-reduced-motion: reduce) {
  .pillars__viewport { overflow: visible; }
  .pillars__track { width: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
  .pillar { width: auto; height: auto; min-height: 300px; }
  .pillar__art { flex: none; height: 150px; }
}

/* Short menus scroll inside the overlay */
@media (max-height: 640px) {
  .menu { padding-top: 88px; gap: 20px; }
  .menu__links a { font-size: clamp(24px, 6.4svh, 52px); padding: 6px 0; }
}

@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
  .display { font-size: clamp(28px, 9vw, 36px); }
  .cta__mail { white-space: normal; overflow-wrap: anywhere; font-size: 13px; padding-inline: 16px; }
}
@media (max-width: 300px) {
  .display { font-size: 24px; } /* keeps "extraordinariamente" whole on 280px screens (Galaxy Fold) */
  .menu__foot .mono { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
