/* Vetra — identidade: branco (base), prata (premium), céu (tecnologia), grafite (texto).
   Layout: canvas de Figma no topo; faixas claras e escuras alternadas numa coluna de 1200px. */
:root {
  --white: #FFFFFF;
  --paper: #F5F6F8;
  --silver: #C5CBD3;
  --silver-2: #E3E7EB;
  --silver-3: #EEF0F3;
  --ink: #14171C;
  --ink-2: #3A414C;
  --ink-3: #5B6370;
  --line: rgba(20, 23, 28, .09);
  --line-2: rgba(20, 23, 28, .16);
  --sky: #4DB5FF;
  --sky-2: #9BDAFF;
  --sky-deep: #0A74C4;
  --night: #0E1117;
  --night-2: #161A21;
  --night-line: rgba(255, 255, 255, .09);
  --metal: linear-gradient(150deg, #FBFCFD 0%, #DCE0E5 40%, #F4F5F7 58%, #C3C9D1 100%);

  --f-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  --t-h3: clamp(1.4rem, 1.15rem + 1vw, 1.875rem);
  --t-h2: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem);
  --t-h1: clamp(2.6rem, 1.5rem + 3.4vw, 4.5rem);

  --wrap: 1200px;
  --r: 22px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-sans); font-size: var(--t-md); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--sky); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.03em; }
h1 em, h2 em { font-style: normal; color: var(--sky-deep); }
p { margin: 0; }
.mono { font-family: var(--f-mono); }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.section { padding-block: clamp(84px, 11vw, 148px); position: relative; }

.eyebrow { display: inline-block; font-family: var(--f-mono); font-size: var(--t-sm); color: var(--ink-3); letter-spacing: .01em; }
.eyebrow--dark { color: #8E97A3; }
.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head__lede { color: var(--ink-3); font-size: var(--t-lg); max-width: 52ch; }

/* ---------------- Marca ---------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word { font-weight: 800; font-size: 1.3rem; letter-spacing: -.055em; line-height: 1; }
.brand__word i { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--sky); margin-left: .06em; }

/* ---------------- Botões ---------------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none; white-space: nowrap;
  font: 600 var(--t-sm)/1 var(--f-sans); letter-spacing: -.005em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform; isolation: isolate;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--dark:hover { box-shadow: 0 0 0 5px rgba(77, 181, 255, .22), 0 14px 34px -12px rgba(20, 23, 28, .55); }
.btn--sky { --bg: var(--sky); --fg: var(--ink); }
.btn--sky:hover { box-shadow: 0 0 0 5px rgba(77, 181, 255, .25), 0 14px 34px -10px rgba(77, 181, 255, .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--a, 0deg), transparent 0 72%, var(--sky) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 4.5s linear infinite;
}
.btn--ghost:hover { --bg: var(--white); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px -16px rgba(20, 23, 28, .35); }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; z-index: 50; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 14px);
  display: flex; justify-content: center; pointer-events: none;
  padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px));
}
.nav__bar {
  pointer-events: auto; width: 100%; max-width: 1040px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 30px -18px rgba(20, 23, 28, .25);
  transition: max-width .55s var(--ease), background .4s, box-shadow .4s;
}
.nav.is-scrolled .nav__bar { max-width: 940px; background: rgba(255, 255, 255, .86); box-shadow: 0 16px 40px -20px rgba(20, 23, 28, .35); }
.nav__links { position: relative; display: flex; gap: 2px; }
.nav__links a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; border-radius: 999px; background: var(--silver-3); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; padding: 0; }
.nav__toggle span { display: block; width: 16px; height: 1.6px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .35s var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(2.8px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-2.8px) rotate(-45deg); }
.sheet { display: none; }
@media (max-width: 880px) {
  .nav__links, .nav__end .btn { display: none; }
  .nav__toggle { display: block; }
  .sheet {
    display: grid; align-content: start; gap: 4px; position: fixed; inset: 0; z-index: 49;
    padding: calc(env(safe-area-inset-top, 0px) + 100px) max(24px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 32px) max(24px, env(safe-area-inset-left, 0px));
    background: rgba(245, 246, 248, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open + .sheet { opacity: 1; visibility: visible; }
  .sheet a { font-size: 2.4rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; padding: 4px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.is-open + .sheet a { opacity: 1; transform: none; }
  .nav.is-open + .sheet a:nth-child(2) { transition-delay: .04s; } .nav.is-open + .sheet a:nth-child(3) { transition-delay: .08s; }
  .nav.is-open + .sheet a:nth-child(4) { transition-delay: .12s; } .nav.is-open + .sheet a:nth-child(5) { transition-delay: .16s; }
  .sheet .btn { justify-self: start; margin-top: 22px; font-size: 1rem; letter-spacing: 0; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--paper); padding-top: calc(env(safe-area-inset-top, 0px) + 128px); padding-bottom: clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.hero__dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(20, 23, 28, .16) 1px, transparent 1.4px); background-size: 22px 22px; }
.hero__dots--lit {
  --mx: -500px; --my: -500px;
  background-image: radial-gradient(circle at 1px 1px, var(--sky) 1.4px, transparent 1.8px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000 0%, transparent 70%);
  mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--t-h1); letter-spacing: -.045em; line-height: .98; }
.lede { font-size: var(--t-lg); color: var(--ink-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--t-sm); color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: var(--sky-deep); }
.pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: .875rem; font-weight: 500;
  box-shadow: 0 6px 18px -12px rgba(20, 23, 28, .3);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(77, 181, 255, .6); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(77, 181, 255, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(77, 181, 255, 0); } }
.shiny {
  background: linear-gradient(105deg, var(--ink-2) 40%, var(--sky) 50%, var(--ink-2) 60%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite;
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.js .split .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.3em); animation: wIn .95s var(--ease) forwards; animation-delay: calc(var(--i) * 65ms + 120ms); }
@keyframes wIn { to { opacity: 1; filter: blur(0); transform: none; } }

@media (max-width: 1080px) { .hero__grid { grid-template-columns: 1fr; } .hero__copy { max-width: 720px; } }

/* ---------------- Canvas Figma ---------------- */
.fig {
  position: relative; border-radius: 20px; background: #EDEFF2; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgba(20, 23, 28, .35), 0 2px 0 rgba(255, 255, 255, .8) inset;
  overflow: hidden; min-width: 0; cursor: default;
}
.fig__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 46px; padding: 0 12px 0 14px; background: var(--white); border-bottom: 1px solid var(--line); font-size: .78rem; }
.fig__file { display: flex; align-items: center; gap: 7px; color: var(--ink-3); min-width: 0; white-space: nowrap; overflow: hidden; }
.fig__file b { font-weight: 400; color: var(--silver); }
.fig__name { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.fig__mk { width: 16px; height: 16px; flex: none; }
.fig__tools { display: flex; gap: 6px; }
.fig__tools i { width: 26px; height: 26px; border-radius: 7px; background: var(--silver-3); }
.fig__tools i.on { background: var(--sky); }
.fig__people { display: flex; align-items: center; gap: 6px; flex: none; }
.av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: #fff; flex: none; }
.av--a { background: var(--ink); }
.av--b { background: var(--sky-deep); }
.fig__share { margin-left: 4px; padding: 6px 10px; border-radius: 7px; background: var(--sky); color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .fig__tools, .fig__share { display: none; } }

.fig__board { position: relative; padding: 40px 6% 64px; background-image: radial-gradient(circle at 1px 1px, rgba(20, 23, 28, .12) 1px, transparent 1.3px); background-size: 16px 16px; }
.fig__frame-label { position: absolute; top: 16px; left: 6%; font-size: .72rem; color: var(--ink-3); font-weight: 500; }

/* mock do site do cliente */
.mock {
  --mk-pad: clamp(12px, 2.6vw, 22px);
  position: relative; background: var(--white); border-radius: 6px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(20, 23, 28, .45);
  padding: var(--mk-pad); display: grid; gap: clamp(10px, 2vw, 18px); font-size: clamp(.6rem, .45rem + .55vw, .82rem); line-height: 1.3; overflow: hidden;
}
.mock .t { transition: color .6s var(--ease), background-color .6s var(--ease), border-radius .6s; border-radius: 3px; }
.mock.s1 .t { color: transparent; background-color: var(--silver-2); }
.m-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.m-logo { font-weight: 800; letter-spacing: -.03em; font-size: 1.1em; }
.m-links { display: flex; gap: 1.1em; color: var(--ink-3); }
.m-links i { font-style: normal; }
.m-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(10px, 2vw, 18px); align-items: center; }
.m-copy { display: grid; gap: .65em; justify-items: start; }
.m-tag { font-size: .8em; color: var(--sky-deep); font-weight: 600; }
.m-h { font-size: 2em; line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.m-p { color: var(--ink-3); }
.m-btn {
  display: inline-block; margin-top: .3em; padding: .75em 1.2em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600;
  transition: transform .55s var(--spring), background .45s, box-shadow .45s, padding .45s var(--ease), color .45s;
}
.mock.s1 .m-btn { background: var(--silver-2); color: transparent; }
.mock.pop .m-btn { background: var(--sky); color: var(--ink); padding: .9em 1.6em; transform: scale(1.06); box-shadow: 0 0 0 .4em rgba(77, 181, 255, .22), 0 .8em 1.6em -.6em rgba(77, 181, 255, .9); }
.m-img { position: relative; aspect-ratio: 4 / 3.2; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #CFEAFF 0%, #EAF5FF 60%, #F6F8FA 100%); transition: filter .6s; }
.mock.s1 .m-img { filter: grayscale(1) contrast(.4) brightness(1.2); }
.m-sun { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; right: 16%; top: 16%; background: radial-gradient(circle at 35% 35%, #fff, #9BDAFF 70%); }
.m-hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; border-radius: 50% 50% 0 0; background: linear-gradient(180deg, #C5CBD3, #E3E7EB); }
.m-hill--b { left: 30%; right: -40%; bottom: -42%; height: 72%; background: linear-gradient(180deg, #4DB5FF, #0A74C4); opacity: .85; }
.m-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 12px); }
.m-card { border: 1px solid var(--line); border-radius: 6px; padding: .8em; display: flex; justify-content: space-between; gap: 6px; }
.m-card i { font-style: normal; font-weight: 600; }
.m-card em { font-style: normal; color: var(--sky-deep); font-weight: 700; }
.m-live {
  position: absolute; top: calc(var(--mk-pad) * .5); left: 50%; transform: translate(-50%, -160%); display: inline-flex; align-items: center; gap: 6px;
  padding: .4em .8em; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: .78em; white-space: nowrap;
  transition: transform .6s var(--spring);
}
.m-live__dot { width: .55em; height: .55em; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 .25em rgba(61, 220, 132, .25); }
.mock.live .m-live { transform: translate(-50%, 0); }
.m-toast {
  position: absolute; right: var(--mk-pad); bottom: var(--mk-pad); display: grid; gap: 1px; padding: .7em .95em; border-radius: 8px;
  background: var(--white); box-shadow: 0 10px 28px -10px rgba(20, 23, 28, .4), 0 0 0 1px var(--line); border-left: 3px solid var(--sky);
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--spring), opacity .4s;
}
.m-toast b { font-size: .95em; } .m-toast span { color: var(--ink-3); font-size: .85em; }
.mock.live .m-toast { transform: none; opacity: 1; transition-delay: .7s; }

/* seleção, nota e cursores */
.sel {
  position: absolute; left: 0; top: 0; width: 0; height: 0; border: 1.5px solid var(--sky); pointer-events: none; opacity: 0;
  transition: transform .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .35s;
}
.sel.on { opacity: 1; }
.sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--sky); }
.sel i:nth-of-type(1) { left: -5px; top: -5px; } .sel i:nth-of-type(2) { right: -5px; top: -5px; }
.sel i:nth-of-type(3) { left: -5px; bottom: -5px; } .sel i:nth-of-type(4) { right: -5px; bottom: -5px; }
.sel__tag { position: absolute; left: -1.5px; top: -22px; padding: 2px 6px; background: var(--sky); color: var(--ink); font-size: .66rem; font-weight: 600; border-radius: 3px 3px 0 0; white-space: nowrap; }
.sel__size { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); padding: 2px 6px; background: var(--sky); color: var(--ink); font-family: var(--f-mono); font-size: .62rem; border-radius: 3px; white-space: nowrap; }
.note {
  position: absolute; left: 0; top: 0; display: flex; gap: 8px; align-items: flex-start; max-width: 220px; padding: 10px 12px; border-radius: 4px 14px 14px 14px;
  background: var(--white); box-shadow: 0 14px 34px -14px rgba(20, 23, 28, .45), 0 0 0 1px var(--line); font-size: .78rem; line-height: 1.35;
  opacity: 0; transform: scale(.85); transform-origin: 0 0; transition: opacity .35s, transform .5s var(--spring);
  pointer-events: none;
}
.note.on { opacity: 1; transform: scale(1); }
.note .av { width: 20px; height: 20px; font-size: .6rem; }
.cur { position: absolute; left: 0; top: 0; pointer-events: none; transition: transform 1.05s var(--ease); z-index: 3; }
.cur svg { width: 20px; height: 20px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.cur span { position: absolute; left: 15px; top: 17px; padding: 3px 8px; border-radius: 4px 999px 999px 999px; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.cur--a svg { fill: var(--ink); stroke: #fff; stroke-width: 1.4; } .cur--a span { background: var(--ink); color: #fff; }
.cur--b svg { fill: var(--sky-deep); stroke: #fff; stroke-width: 1.4; } .cur--b span { background: var(--sky-deep); color: #fff; }
.fig__term {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 28px);
  padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #E3E7EB; font-family: var(--f-mono); font-size: .74rem; white-space: nowrap; overflow: hidden;
  box-shadow: 0 12px 30px -14px rgba(20, 23, 28, .6);
}
.fig__prompt { color: var(--sky); }
.caret { width: 7px; height: 1.05em; background: var(--sky); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.me { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .25s; }
.me.on { opacity: 1; }
.me svg { width: 20px; height: 20px; fill: #3DDC84; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.me span { position: absolute; left: 15px; top: 17px; padding: 3px 8px; border-radius: 4px 999px 999px 999px; font-size: .7rem; font-weight: 600; background: #3DDC84; color: var(--ink); white-space: nowrap; }
@media (pointer: fine) { .fig.hovering { cursor: none; } }

/* ---------------- Marquee ---------------- */
.marquee { overflow: hidden; padding-block: 22px; border-bottom: 1px solid var(--line); background: var(--white); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 30px; padding-right: 30px; flex: none; }
.marquee__group span { font-family: var(--f-mono); font-size: .95rem; color: var(--ink-3); white-space: nowrap; }
.marquee__group i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--silver); flex: none; }

/* ---------------- Bento ---------------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(77, 181, 255, .12), transparent 65%); }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(77, 181, 255, .9), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { box-shadow: 0 30px 60px -36px rgba(20, 23, 28, .35); }
.card > * { position: relative; }
.card__kicker { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--sky-deep); }
.card p { color: var(--ink-3); max-width: 46ch; }
.card__note, .feed__label { font-family: var(--f-mono); font-size: .7rem; color: #8E97A3; }
.tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 11px; border-radius: 999px; background: var(--silver-3); font-size: .8rem; color: var(--ink-2); }

.card--sites { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--metal); }
.card__text { display: grid; gap: 14px; align-content: start; }
.feed { display: grid; gap: 10px; }
.feed__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed__list li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; background: var(--white);
  box-shadow: 0 10px 24px -16px rgba(20, 23, 28, .35), 0 0 0 1px var(--line); border-left: 3px solid var(--sky);
  transition: transform .6s var(--spring), opacity .5s;
}
.feed__list li b { font-size: .9rem; } .feed__list li span { grid-column: 1; font-size: .78rem; color: var(--ink-3); }
.feed__list li em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.feed__list li.in { animation: feedIn .7s var(--spring); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } }

.card--dash { grid-column: span 2; background: var(--ink); color: #fff; border-color: transparent; }
.card--dash .card__kicker { color: var(--sky); }
.kpi { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 10px; margin-top: 6px; }
.kpi__label { grid-column: 1 / -1; font-size: .8rem; color: #8E97A3; }
.kpi__value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.kpi__delta { font-family: var(--f-mono); font-size: .78rem; color: #3DDC84; padding-bottom: 6px; }
.chart { width: 100%; height: 120px; margin-top: auto; overflow: visible; }
.chart__grid line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { stroke-dasharray: 420; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.js .chart.pre .chart__line { stroke-dashoffset: 420; }
.js .chart.pre .chart__area, .js .chart.pre .chart__dot { opacity: 0; }
.chart__line { transition: stroke-dashoffset 2s var(--ease); }
.chart__area, .chart__dot { transition: opacity 1s var(--ease) .9s; }

.card--sys, .card--figma, .card--measure { grid-column: span 2; }
.table { margin-top: auto; display: grid; gap: 6px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--silver-3); font-size: .84rem; }
.st { font-style: normal; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; transition: background .4s, color .4s; white-space: nowrap; }
.st[data-s="0"] { background: #FFF1D6; color: #8A5A00; }
.st[data-s="1"] { background: #DCEFFF; color: #0A5A99; }
.st[data-s="2"] { background: #DDF6E8; color: #17663D; }

.layers { position: relative; margin-top: auto; border-radius: 14px; border: 1px solid var(--line); padding: 8px; display: grid; gap: 2px; font-size: .8rem; background: var(--white); }
.layer { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 7px; color: var(--ink-2); }
.layer--in { padding-left: 26px; }
.layer--sel { background: #E2F2FF; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(77, 181, 255, .6); }
.ly { width: 12px; height: 12px; flex: none; border: 1.5px solid var(--ink-3); border-radius: 2px; }
.ly--frame { border-style: dashed; } .ly--text { border: 0; background: linear-gradient(var(--ink-3), var(--ink-3)) center / 100% 2px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) center top / 2px 100% no-repeat; }
.ly--comp { transform: rotate(45deg) scale(.8); border-color: #9747FF; } .ly--img { border-radius: 3px; background: linear-gradient(135deg, transparent 50%, var(--ink-3) 50%); }
.stamp {
  position: absolute; right: 12px; top: -14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .74rem; font-weight: 600; transform: rotate(4deg);
}
.stamp svg { width: 14px; height: 14px; color: #3DDC84; }

.log { margin-top: auto; border-radius: 14px; background: var(--ink); padding: 12px 14px; font-family: var(--f-mono); font-size: .76rem; display: grid; gap: 6px; color: #C9CFD9; }
.log div { display: flex; justify-content: space-between; gap: 10px; }
.log em { font-style: normal; color: #8E97A3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log span::before { content: "● "; color: #5B6370; }
.log__hit span { color: var(--sky); } .log__hit span::before { color: var(--sky); }
.log div.in { animation: feedIn .6s var(--spring); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--sites { grid-column: 1 / -1; }
  .card--dash, .card--sys, .card--figma, .card--measure { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card--sites { grid-template-columns: 1fr; }
  .card--dash, .card--sys, .card--figma, .card--measure { grid-column: 1 / -1; }
}

/* ---------------- Prova ---------------- */
.proof { background: var(--metal); border-block: 1px solid var(--line); padding-block: clamp(72px, 9vw, 120px); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.proof__copy { display: grid; gap: 18px; }
.proof__copy p { color: var(--ink-2); font-size: var(--t-lg); max-width: 48ch; }
.proof__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 30px -22px rgba(20, 23, 28, .45); border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: space-between; min-height: 132px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stat__k { font-size: .84rem; color: var(--ink-3); line-height: 1.35; }
.stat__v { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
@media (max-width: 900px) { .proof__grid { grid-template-columns: 1fr; } }

/* ---------------- Processo ---------------- */
.process { background: var(--night); color: #fff; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(77, 181, 255, .14), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(197, 203, 211, .08), transparent 70%); }
.process__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.process__head { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.process__head h2 em { color: var(--sky); }
.process__head p { color: #A9B1BC; font-size: var(--t-lg); max-width: 42ch; }
.steps { position: relative; }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps__line { position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: var(--night-line); border-radius: 2px; }
.steps__line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--sky-2), var(--sky)); border-radius: 2px; box-shadow: 0 0 14px rgba(77, 181, 255, .7); }
.step { position: relative; padding: 0 0 56px 48px; display: grid; gap: 10px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--night); border: 2px solid #3A414C; transition: border-color .4s, background .4s, box-shadow .4s; }
.step.on::before { border-color: var(--sky); background: var(--sky); box-shadow: 0 0 0 6px rgba(77, 181, 255, .18); }
.step code { justify-self: start; font-family: var(--f-mono); font-size: .82rem; color: var(--sky); background: rgba(77, 181, 255, .1); padding: 4px 10px; border-radius: 8px; }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #6B7480; transition: color .5s; }
.step.on h3 { color: #fff; }
.step p { color: #A9B1BC; max-width: 46ch; }
.step__out { justify-self: start; font-size: .82rem; color: #C9CFD9; border: 1px solid var(--night-line); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 900px) { .process__grid { grid-template-columns: 1fr; } .process__head { position: static; } }

/* ---------------- Planos ---------------- */
.plans { background: var(--paper); }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; perspective: 1200px; }
.plan {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { box-shadow: 0 34px 60px -38px rgba(20, 23, 28, .4); transition: transform .15s linear, box-shadow .5s var(--ease); }
.plan__top { display: grid; gap: 4px; }
.plan h3 { font-size: 1.5rem; }
.plan__for { color: var(--ink-3); font-size: .92rem; }
.plan__price { display: flex; align-items: flex-start; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan__price span { font-weight: 600; margin-top: .55em; color: var(--ink-3); }
.plan__price b { font-size: 3.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__inherit { font-family: var(--f-mono); font-size: .78rem; color: var(--sky-deep); }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--sky-deep); }
.plan__cta { margin-top: auto; width: 100%; }
.plan--top { background: var(--night); color: #fff; border-color: transparent; box-shadow: 0 40px 70px -40px rgba(14, 17, 23, .7); }
.plan--top::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(160deg, rgba(155, 218, 255, .9), rgba(255, 255, 255, .06) 40%, rgba(197, 203, 211, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.plan--top .plan__for, .plan--top .plan__price span { color: #A9B1BC; }
.plan--top .plan__price { border-color: var(--night-line); }
.plan--top .plan__inherit, .plan--top .plan__list svg { color: var(--sky); }
.plan__badge { position: absolute; top: 26px; right: 26px; padding: 5px 11px; border-radius: 999px; background: var(--sky); color: var(--ink); font-size: .74rem; font-weight: 700; }
.plan__save { font-size: .82rem; color: #A9B1BC; text-align: center; }
.care { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 48px; align-items: center; padding: 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.care__main { display: grid; gap: 8px; }
.care__price { display: flex; align-items: baseline; gap: 4px; }
.care__price b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.045em; }
.care__price span { color: var(--ink-3); }
.care__main p { color: var(--ink-3); font-size: .95rem; }
.care__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.care__list li { display: flex; gap: 10px; font-size: .92rem; line-height: 1.4; }
.care__list svg { width: 18px; height: 18px; flex: none; color: var(--sky-deep); margin-top: 1px; }
@media (max-width: 980px) { .plans__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .care { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .care__list { grid-template-columns: 1fr; } .plan { padding: 24px; } }

/* ---------------- FAQ ---------------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); }
.faq__head { display: grid; gap: 18px; align-content: start; }
.faq__head p { color: var(--ink-3); }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: 600 var(--t-lg)/1.35 var(--f-sans); letter-spacing: -.01em; }
.qa__ic { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.qa__ic::before, .qa__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.qa__ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__ic { background: var(--sky); border-color: var(--sky); }
.qa.is-open .qa__ic::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 56px 26px 0; color: var(--ink-3); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .qa__a p { padding-right: 0; } }

/* ---------------- Contato ---------------- */
.contact { padding-top: 0; }
.contact__box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: 30px; overflow: hidden; background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 50px 90px -60px rgba(20, 23, 28, .5); }
.contact__side { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; padding: clamp(28px, 4vw, 52px); display: grid; gap: 30px; align-content: space-between; }
.contact__side canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.contact__copy { display: grid; gap: 18px; }
.contact__copy h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.contact__copy h2 em { color: var(--sky); }
.contact__copy p { color: #A9B1BC; max-width: 40ch; }
.contact__ways { display: grid; gap: 10px; }
.way { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line); text-decoration: none; transition: background .3s, border-color .3s; }
.way:hover { background: rgba(77, 181, 255, .12); border-color: rgba(77, 181, 255, .4); }
.way__k { font-family: var(--f-mono); font-size: .74rem; color: #8E97A3; }
.way b { font-weight: 600; overflow-wrap: anywhere; }
.form { padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: start; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 8px; min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  font: 400 1rem/1.4 var(--f-sans); transition: border-color .25s, box-shadow .25s, background .25s; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: #8E97A3; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sky); background: var(--white); box-shadow: 0 0 0 4px rgba(77, 181, 255, .2); }
.field.is-err input { border-color: #D93B3B; }
.field__err { font-size: .8rem; color: #C42F2F; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: .92rem; cursor: pointer; user-select: none; transition: background .25s, color .25s, border-color .25s, transform .3s var(--spring); }
.chip span:hover { border-color: var(--sky); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); }
.chip input:focus-visible + span { outline: 2px solid var(--sky-deep); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.form__foot p { font-size: .84rem; color: var(--ink-3); max-width: 30ch; }
@media (max-width: 920px) { .contact__box { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------------- Rodapé ---------------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding-top: 72px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer__brand { display: grid; gap: 12px; }
.footer__brand p { color: var(--ink-3); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.footer__nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer__nav a:hover { color: var(--sky-deep); }
.footer__word {
  --fx: -400px; --fy: 50%;
  margin: 48px 0 18px; text-align: center; white-space: nowrap; user-select: none;
  font-weight: 800; font-size: clamp(3.6rem, 18.5vw, 15rem); letter-spacing: -.07em; line-height: .82;
  color: transparent; -webkit-text-stroke: 1.2px var(--silver);
  background: radial-gradient(320px circle at var(--fx) var(--fy), var(--sky), transparent 70%) no-repeat, var(--silver-3);
  background-size: 100% 100%, 0 0;
  -webkit-background-clip: text; background-clip: text;
}
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); }

/* ---------------- Utilidades ---------------- */
.js .reveal.pre { opacity: .001; transform: translateY(28px); filter: blur(6px); }
.js .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); max-width: calc(100% - 32px); transform: translate(-50%, 24px); opacity: 0; padding: 13px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: .92rem; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); transition: opacity .3s, transform .45s var(--spring); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .split .w { opacity: 1; filter: none; transform: none; }
}

/* canvas mais limpo em telas pequenas */
@media (max-width: 560px) {
  .sel__size, .note { display: none; }
  .fig__board { padding: 34px 4% 58px; }
  .fig__frame-label { left: 4%; top: 12px; }
}
