/* GG Code: o site se constrói, versão código */
:root {
  --black: #000;
  --panel: #0E1116;
  --panel-2: #161A21;
  --line: #262B34;
  --white: #fff;
  --fg-2: #B4BAC5;
  --fg-3: #8A919D;
  --paper: #F3F4F6;
  --paper-2: #E6E8EC;
  --ink: #000;
  --ink-2: #3D424B;
  --ink-3: #575D68;
  --blue: #005AFD;
  --blue-hi: #4D8DFF;
  --blue-deep: #0046C8;
  --syn-tag: #6DA3FF;
  --syn-attr: #A5ADBB;
  --syn-str: #FFD479;
  --syn-com: #6A707B;
  --syn-prop: #7EE0B5;
  --grid: rgba(0, 90, 253, .055);
  --grid-major: rgba(0, 90, 253, .1);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 3.4vw, 48px);
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #3a404a var(--black); scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--display); font-variation-settings: "wdth" 100;
  font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #3a404a; border: 2px solid var(--black); border-radius: 10px; }
input { caret-color: var(--blue-hi); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* light workbench sections */
.build, .social {
  background-color: var(--paper); color: var(--ink);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color-scheme: light;
}
.build :focus-visible, .social :focus-visible { outline-color: var(--blue); }

.h2 {
  font-variation-settings: "wdth" 118; font-weight: 820;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: .98; letter-spacing: -.035em;
  margin: 0; text-wrap: balance;
}

/* buttons */
.btn {
  --bg: var(--white); --fg: var(--black); --fill: var(--blue); --fill-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 28px; background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 17px; font-variation-settings: "wdth" 108;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); border-radius: inherit;
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .6s var(--ease-out);
}
.btn:hover::before { clip-path: circle(140% at var(--mx, 50%) var(--my, 50%)); }
.btn:hover { color: var(--fill-fg); box-shadow: 0 14px 30px -12px rgba(0, 90, 253, .6); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.btn:disabled::before { display: none; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--light { --fill: var(--black); }
.btn--ink { --bg: var(--black); --fg: var(--white); }

.link {
  background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; font-size: 17px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--blue);
  transition: text-underline-offset .3s var(--ease-out), color .3s;
}
.link:hover { text-underline-offset: 9px; color: var(--blue-hi); }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
@media (pointer: fine) { .cursor { display: block; } }
.cursor__dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--blue); border-radius: 50%; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s; }
.cursor.is-link .cursor__dot { width: 0; height: 0; margin: 0; }
.cursor__label { position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 650; padding: 10px 16px; border-radius: 999px; white-space: nowrap; transition: transform .4s var(--ease-out), opacity .25s; }
.cursor.is-label .cursor__label { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.cursor.on-blue .cursor__dot { background: var(--white); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gutter);
  transition: transform .5s var(--ease-out), background .3s, box-shadow .3s;
}
.nav.is-solid { background: var(--black); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 550; position: relative; padding: 6px 0; color: var(--fg-2); transition: color .3s; }
.nav__links a:hover { color: var(--white); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 14px; }

.bp-switch { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 6px 0; font-size: 15px; font-weight: 550; color: var(--fg-2); }
.bp-switch:hover { color: var(--white); }
.bp-switch__track { width: 38px; height: 22px; border-radius: 22px; background: var(--panel-2); box-shadow: inset 0 0 0 1.5px #4a515c; position: relative; transition: background .3s; }
.bp-switch__knob { position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--fg-2); transition: transform .45s var(--ease-out), background .3s; }
.bp-switch[aria-pressed="true"] .bp-switch__track { background: var(--blue); box-shadow: none; }
.bp-switch[aria-pressed="true"] .bp-switch__knob { transform: translateX(16px); background: var(--white); }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--black); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--black)); pointer-events: none; z-index: 1; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero__fallback { display: none; position: absolute; z-index: 0; right: 6vw; top: 50%; width: 38vw; transform: translateY(-50%); opacity: .9; }
.hero.no-gl .hero__fallback { display: block; }
.hero__inner {
  position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1600px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(28px, 6vh, 80px)) var(--gutter) 24px;
  display: flex; align-items: center; pointer-events: none;
}
.hero__copy { max-width: min(56%, 820px); pointer-events: auto; }
.hero__title { margin: 0; font-weight: 880; font-size: clamp(2.8rem, min(5vw, 11.5vh), 6.6rem); line-height: .92; letter-spacing: -.035em; }
.line { display: block; overflow: hidden; padding-bottom: .05em; margin-bottom: -.05em; }
.line__in { --w: 100; display: inline-block; font-variation-settings: "wdth" var(--w); will-change: transform; }
.dot { display: inline-block; width: .19em; height: .19em; margin-left: .05em; background: var(--blue); border-radius: 50%; vertical-align: baseline; box-shadow: 0 0 0 0 rgba(0, 90, 253, .6); animation: ping 2.4s var(--ease-out) 3s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 90, 253, .55); } 70%, 100% { box-shadow: 0 0 0 .25em rgba(0, 90, 253, 0); } }
.hero__lede { max-width: 44ch; margin: clamp(22px, 3.5vh, 36px) 0 clamp(24px, 4vh, 40px); font-size: clamp(17px, 1.3vw, 20px); color: var(--fg-2); }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero__count { position: absolute; z-index: 2; right: var(--gutter); bottom: 28px; margin: 0; max-width: 260px; text-align: right; font: 400 12px/1.5 var(--mono); color: var(--fg-3); opacity: 0; transition: opacity 1s; }
.hero__count b { color: var(--blue-hi); font-weight: 500; }
.hero__count.is-on { opacity: 1; }

/* ================= REEL (presentation video) ================= */
.reel { background: var(--black); padding: clamp(40px, 8vh, 90px) 0 clamp(80px, 12vh, 140px); position: relative; }
.reel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(28px, 5vh, 48px); }
.reel__head p { margin: 0; max-width: 44ch; color: var(--fg-2); }
.reel__frame { position: relative; width: min(100% - 2 * var(--gutter), 1360px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: clamp(14px, 1.6vw, 24px); overflow: hidden; background: #05070b; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0, 90, 253, .45); transform-origin: 50% 0; }
.reel__video { width: 100%; height: 100%; display: block; object-fit: cover; }
.reel__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px;
  padding: 10px 22px 10px 10px; border: 0; border-radius: 99px; cursor: pointer; background: var(--white); color: var(--black);
  font: 650 16px var(--display); font-variation-settings: "wdth" 108; white-space: nowrap; box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease-out), opacity .4s;
}
.reel__play:hover { transform: translate(-50%, -50%) scale(1.05); }
.reel__play small { font: 500 12px var(--mono); color: var(--ink-3); }
.reel__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); }
.reel__icon svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.9); }

/* ================= BUILD ================= */
.build { position: relative; height: 260vh; }
.build__pin {
  position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, 5fr) 8fr; gap: clamp(24px, 4vw, 72px);
  align-items: center; padding: calc(var(--nav-h) + 12px) var(--gutter) 20px; max-width: 1600px; margin: 0 auto;
}
.build__intro { color: var(--ink-2); margin: 20px 0 28px; max-width: 42ch; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .1); color: var(--ink-3); transition: color .4s; }
.step b { font-weight: 700; font-size: 18px; font-variation-settings: "wdth" 112; }
.step p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.45; transition: max-height .6s var(--ease-out), opacity .4s, margin .4s; }
.step__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); box-shadow: inset 0 0 0 1.5px currentColor; transition: background .4s, color .4s, box-shadow .4s; }
.step.is-on { color: var(--ink); }
.step.is-on p { max-height: 80px; opacity: 1; margin-top: 4px; color: var(--ink-2); }
.step.is-on .step__n { background: var(--blue); color: var(--white); box-shadow: none; }
.step.is-done .step__n { background: var(--ink); color: var(--white); box-shadow: none; }
.build__bar { height: 3px; background: var(--paper-2); margin-top: 18px; border-radius: 3px; overflow: hidden; }
.build__bar span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.build__stage, .build__side { min-width: 0; }
.build__note { margin: 10px 0 0; font: 400 12px var(--mono); color: var(--ink-3); }

.browser { position: relative; border-radius: 14px; background: var(--white); box-shadow: 0 30px 80px -30px rgba(0, 20, 80, .35), 0 0 0 1px rgba(0, 0, 0, .08); overflow: hidden; }
.browser__bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--paper-2); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9cdd4; }
.browser__url { margin-left: 14px; flex: 1; max-width: 360px; height: 24px; border-radius: 6px; background: var(--white); font: 400 11px/24px var(--mono); color: var(--ink-3); padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.browser[data-stage="5"] .browser__url { color: #137a3a; }
.browser__view { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; background: #fff; }

/* ---- the fictional client: Navalha ---- */
.mock {
  --cu: #c8743a; --cu-hi: #dd9a62; --bg: #0c0a09; --bg-2: #15110e; --line: #2a231e; --cream: #efe6da; --muted: #a99c8c;
  position: absolute; inset: 0; background: var(--bg); color: var(--cream); font-family: var(--display); overflow: hidden;
  transition: opacity .6s, background .6s;
}
.mock :is(.mk-logo, .mk-links, .mk-btn, .mk-open, .mk-h, .mk-p, .mk-cta) { position: relative; }
.mock [data-k] { transition: color .5s, background-color .5s, border-color .5s, box-shadow .5s, outline-color .3s; }
.mk-photo { position: absolute; left: 34%; top: 0; right: 0; bottom: 3.8cqw; overflow: hidden; }
.mk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; filter: saturate(.8) contrast(1.06); animation: mkKen 18s ease-in-out infinite alternate; }
.mk-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(12, 10, 9, .55) 26%, rgba(12, 10, 9, 0) 55%), linear-gradient(0deg, rgba(12, 10, 9, .85), transparent 40%); }
@keyframes mkKen { to { transform: scale(1.09) translate(-1.5%, 1%); } }
.mk-nav { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 2cqw 3.6cqw; font-size: 1.05cqw; }
.mk-logo { display: grid; line-height: 1; }
.mk-logo b { font: 500 2cqw "Bodoni Moda", serif; letter-spacing: .02em; }
.mk-logo small { font-size: .78cqw; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: .35cqw; }
.mk-links { display: flex; gap: 2.4cqw; color: var(--cream); } .mk-links i { font-style: normal; opacity: .85; }
.mk-btn { background: var(--cream); color: var(--bg); border-radius: 99px; padding: .7cqw 1.7cqw; font-weight: 700; }
.mk-copy { position: absolute; z-index: 2; left: 3.6cqw; top: 10.5cqw; width: 46cqw; }
.mk-open { display: inline-flex; align-items: center; gap: .6cqw; margin: 0 0 1.4cqw; font: 500 .95cqw var(--mono); color: #b9e3c4; }
.mk-open i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: mkLive 2s infinite; }
@keyframes mkLive { 70%, 100% { box-shadow: 0 0 0 .7cqw rgba(61, 220, 132, 0); } }
.mk-h { margin: 0; font: 400 6.1cqw/0.98 "Bodoni Moda", serif; letter-spacing: -.015em; }
.mk-h em { font-style: italic; color: var(--cu-hi); }
.mk-p { margin: 1.6cqw 0 0; font-size: 1.2cqw; line-height: 1.55; max-width: 30cqw; color: var(--muted); }
.mk-book { position: absolute; z-index: 2; left: 3.6cqw; bottom: 6cqw; width: 37cqw; display: grid; gap: 1cqw; padding: 1.5cqw; background: var(--bg-2); border-radius: 1.3cqw; box-shadow: inset 0 0 0 .1cqw var(--line), 0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, .7); }
.mk-book__head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.1cqw; }
.mk-barbers { display: flex; }
.mk-barbers i { width: 2.3cqw; height: 2.3cqw; border-radius: 50%; display: grid; place-items: center; margin-left: -.6cqw; font: 500 1cqw "Bodoni Moda", serif; font-style: normal; background: #2a211b; color: var(--cu-hi); box-shadow: 0 0 0 .2cqw var(--bg-2); }
.mk-barbers i:nth-child(2) { background: var(--cu); color: var(--bg); }
.mk-barbers i:nth-child(3) { background: var(--cream); color: var(--bg); }
.mk-days { display: flex; gap: .4cqw; }
.mk-day { flex: 1; border: 0; padding: .6cqw 0; border-radius: .6cqw; background: transparent; color: var(--muted); font: 600 1cqw var(--display); cursor: pointer; box-shadow: inset 0 0 0 .1cqw var(--line); transition: background .3s, color .3s; }
.mk-day.is-on { background: var(--cream); color: var(--bg); box-shadow: none; }
.mk-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5cqw; }
.mk-slot { border: 0; height: 2.9cqw; border-radius: .6cqw; background: #1f1915; color: var(--cream); font: 700 1.1cqw var(--display); font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: inset 0 0 0 .1cqw var(--line); transition: background .25s, color .25s, transform .3s var(--ease-out); }
.mk-slot:hover { transform: translateY(-.2cqw); background: #2a221c; }
.mk-slot.is-taken { background: transparent; color: #57493f; text-decoration: line-through; cursor: default; transform: none; }
.mk-slot.is-mine { background: var(--cu); color: var(--bg); box-shadow: none; }
.mk-slot.is-new { animation: mkPop .5s var(--ease-out) both; }
@keyframes mkPop { from { opacity: 0; transform: translateY(.8cqw) scale(.9); } }
.mk-cta { display: flex; justify-content: center; gap: .4cqw; background: var(--cu); color: var(--bg); border-radius: .8cqw; padding: 1cqw; font-weight: 700; font-size: 1.1cqw; }
.mk-pick { font-weight: 900; }
.mk-gallery { position: absolute; z-index: 2; right: 3.6cqw; bottom: 6cqw; display: flex; gap: .9cqw; margin: 0; }
.mk-gallery figure { position: relative; margin: 0; width: 9.6cqw; aspect-ratio: 3 / 4; border-radius: .9cqw; overflow: hidden; box-shadow: 0 0 0 .1cqw rgba(239, 230, 218, .18), 0 1.6cqw 3cqw -1cqw rgba(0, 0, 0, .8); transition: transform .5s var(--ease-out); }
.mk-gallery figure:nth-child(2) { transform: translateY(-1.6cqw); }
.mk-gallery figure:hover { transform: translateY(-2.4cqw); }
.mk-gallery img { width: 100%; height: 100%; object-fit: cover; }
.mk-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4cqw .8cqw .7cqw; font-size: .82cqw; font-weight: 600; line-height: 1.25; display: grid; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.mk-gallery figcaption b { font: 500 1.15cqw "Bodoni Moda", serif; color: var(--cu-hi); }
.mk-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 3.8cqw; display: flex; align-items: center; overflow: hidden; background: var(--bg); border-top: .1cqw solid var(--line); }
.mk-ticker__t { display: flex; white-space: nowrap; animation: mkTick 30s linear infinite; font: 400 1.25cqw "Bodoni Moda", serif; }
.mk-ticker__t span { padding: 0 1.6cqw; }
.mk-ticker__t em { font-style: italic; color: var(--cu-hi); }
@keyframes mkTick { to { transform: translateX(-50%); } }

/* stages 0-1: nothing built yet */
.browser[data-stage="0"] .browser__view > .mock, .browser[data-stage="1"] .browser__view > .mock { opacity: 0; }
/* stage 2 (and 3 until the CSS lands): every block is a bare tag */
.browser:is([data-stage="2"], [data-stage="3"]) .browser__view > .mock:not(.bg-on) { background: #fff; }
.browser:is([data-stage="2"], [data-stage="3"]) .browser__view > .mock [data-k]:not(.is-styled) {
  color: transparent !important; background: #e6e9ef !important; box-shadow: none !important; -webkit-text-stroke: 0 !important; border-radius: .5cqw !important; animation-play-state: paused;
}
.browser:is([data-stage="2"], [data-stage="3"]) .browser__view > .mock :is([data-k="header"], [data-k="section.agenda"], [data-k="ul.galeria"]):not(.is-styled) { background: transparent !important; outline: .1cqw dashed #b7bfcc; outline-offset: -.1cqw; }
.browser:is([data-stage="2"], [data-stage="3"]) .browser__view > .mock [data-k]:not(.is-styled) > *:not([data-k]) { visibility: hidden; }
.browser:is([data-stage="2"], [data-stage="3"]) .browser__view > .mock [data-k]:not(.is-styled)::after {
  content: "<" attr(data-k) ">"; visibility: visible; position: absolute; inset: auto; left: .7cqw; top: .5cqw; z-index: 1; background: none !important;
  font: 500 max(8px, .95cqw) var(--mono); color: var(--blue-deep); -webkit-text-stroke: 0; text-transform: none; letter-spacing: 0;
}
.browser[data-stage="2"] .browser__view > .mock [data-k]::after { animation: tagIn .5s var(--ease-out) both; }
@keyframes tagIn { from { opacity: 0; transform: translateY(4px); } }
.mock [data-k].is-styled { animation: styledIn .7s var(--ease-out); }
@keyframes styledIn { 0% { filter: brightness(2.2) saturate(0); } 100% { filter: none; } }
.mock [data-k].is-focus { outline: .22cqw solid var(--blue-hi); outline-offset: .4cqw; border-radius: .4cqw; }

/* sketch */
.sketch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .5s; }
.sketch path { fill: none; stroke: #2b2f36; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.6s var(--ease-out); }
.sketch path.blue { stroke: var(--blue); }
.sketch text { font: 500 13px var(--mono); fill: var(--blue); }
.browser[data-stage="1"] .sketch { opacity: 1; }
.browser[data-stage="2"] .sketch { opacity: .22; }
.browser[data-stage="1"] .sketch path, .browser[data-stage="2"] .sketch path { stroke-dashoffset: 0 !important; }

/* notes */
.notes { position: absolute; inset: 0; pointer-events: none; }
.note { position: absolute; left: var(--x); top: var(--y); max-width: 40%; background: #fff7b8; color: #1d1b10; padding: 1.4cqw 1.6cqw; font-size: max(11px, 1.5cqw); font-weight: 600; line-height: 1.3; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .35); transform: rotate(var(--r)) translateY(20px) scale(.9); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s; }
.note--idea { background: var(--blue); color: #fff; }
.browser[data-stage="0"] .note { opacity: 1; transform: rotate(var(--r)); }
.browser[data-stage="0"] .note:nth-child(2) { transition-delay: .08s; }
.browser[data-stage="0"] .note:nth-child(3) { transition-delay: .16s; }
.browser[data-stage="0"] .note:nth-child(4) { transition-delay: .24s; }
.browser[data-stage="0"] .note:nth-child(5) { transition-delay: .32s; }

/* css chips that fly onto elements in the design stage */
.chips { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.chip { position: absolute; max-width: 46%; background: #0b0d11; color: #e9ecf2; font: 500 max(9px, .95cqw)/1.5 var(--mono); padding: .6cqw .9cqw; border-radius: .6cqw; white-space: pre; box-shadow: 0 0 0 1px rgba(77, 141, 255, .5), 0 12px 24px -10px rgba(0, 0, 0, .6); animation: chip 1.9s var(--ease-out) forwards; }
.chip .p { color: var(--syn-prop); } .chip .v { color: var(--syn-str); }
@keyframes chip { 0% { opacity: 0; transform: translateY(8px) scale(.94); } 12% { opacity: 1; transform: none; } 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* code panel */
.code { position: absolute; z-index: 5; top: 0; right: 0; bottom: 0; width: 56%; background: #0b0d11; color: #e9ecf2; transform: translateX(102%); transition: transform .8s var(--ease-out); overflow: hidden; box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .5); display: flex; flex-direction: column; }
.code__tabs { flex: none; height: 2.8cqw; min-height: 22px; display: flex; align-items: flex-end; padding: 0 1.4cqw; background: #07090c; border-bottom: 1px solid #1d222a; }
.code__tabs span { font: 500 max(9px, .9cqw) var(--mono); color: #fff; padding: .5cqw 1cqw; box-shadow: inset 0 -2px 0 var(--blue); }
.code pre { margin: 0; padding: 1.8cqw 2cqw; font: 400 max(8.5px, 1.02cqw)/1.7 var(--mono); white-space: pre-wrap; flex: 1; overflow: hidden; }
.code code { font: inherit; }
.caret { display: inline-block; width: .55em; height: 1.1em; background: var(--blue-hi); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.k-kw { color: #6da3ff; } .k-str { color: var(--syn-str); } .k-com { color: var(--syn-com); } .k-fn { color: var(--syn-prop); } .k-num { color: #ff9fd0; }
.browser[data-stage="4"] .code { transform: none; }

/* render scan between stages */
.scan { position: absolute; z-index: 8; top: 0; bottom: 0; left: 0; width: 22%; pointer-events: none; transform: translateX(-110%); background: linear-gradient(90deg, transparent, rgba(0, 90, 253, .08) 60%, rgba(0, 90, 253, .22) 92%, #4d8dff 99%, transparent); }

/* delivery */
.live { position: absolute; z-index: 6; inset: 0; pointer-events: none; }
.live__phone { position: absolute; right: 4%; bottom: -8%; width: 21%; aspect-ratio: 9 / 19; border-radius: 2.8cqw; padding: .7cqw; background: #000; box-shadow: 0 0 0 1px #333, 0 30px 50px -20px rgba(0, 0, 0, .7); transform: translateY(115%); transition: transform 1s var(--ease-out) .1s; }
.live__screen { width: 100%; height: 100%; border-radius: 2.1cqw; overflow: hidden; position: relative; container-type: inline-size; }
.live__screen .mock { opacity: 1 !important; }
.live__stats { position: absolute; left: 3.4cqw; top: 26%; display: grid; gap: .8cqw; opacity: 0; transform: translateY(10px); transition: opacity .6s .3s, transform .8s var(--ease-out) .3s; }
.live__stats p { margin: 0; background: #fff; color: #000; padding: .8cqw 1.4cqw; border-radius: 99px; font: 500 max(10px, 1.1cqw) var(--mono); width: max-content; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.live__stats b { color: var(--blue-deep); font-weight: 700; }
.browser[data-stage="5"] .live__phone { transform: none; }
.browser[data-stage="5"] .live__stats { opacity: 1; transform: none; }
.browser[data-stage="5"] .browser__view > .mock .mk-copy { opacity: .2; transition: opacity .6s; }

/* terminal under the browser */
.term { margin-top: 12px; background: #0b0d11; border-radius: 10px; height: 88px; padding: 10px 14px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(0, 20, 80, .5); }
.term__lines { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; font: 400 12px/1.65 var(--mono); color: #b4bac5; }
.term__lines p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term__lines .c::before { content: "$ "; color: var(--blue-hi); }
.term__lines .c { color: #fff; }
.term__lines .ok { color: var(--syn-prop); }

/* compact layout of the client site: phone screen and small browser views */
@container (max-width: 640px) {
  .mk-photo { left: 0; bottom: auto; height: 56cqw; }
  .mk-photo::after { background: linear-gradient(0deg, var(--bg) 2%, rgba(12, 10, 9, .4) 45%, rgba(12, 10, 9, .25)); }
  .mk-nav { padding: 4cqw 5cqw; font-size: 3.2cqw; }
  .mk-logo b { font-size: 5.4cqw; } .mk-logo small { font-size: 2cqw; margin-top: 1cqw; }
  .mk-links, .mk-gallery, .mk-p, .mk-open { display: none; }
  .mk-btn { padding: 1.6cqw 3.4cqw; font-size: 3cqw; }
  .mk-copy { left: 5cqw; right: 5cqw; top: 27cqw; width: auto; }
  .mk-h { font-size: 10.5cqw; }
  .mk-book { left: 5cqw; right: 5cqw; width: auto; bottom: 9cqw; gap: 2cqw; padding: 3cqw; border-radius: 3cqw; }
  .mk-book__head { font-size: 3.4cqw; }
  .mk-barbers i { width: 6cqw; height: 6cqw; font-size: 2.6cqw; margin-left: -1.4cqw; }
  .mk-days { display: none; }
  .mk-slots { grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
  .mk-slot { height: 8cqw; font-size: 3.3cqw; border-radius: 2cqw; }
  .mk-slot:nth-child(n+4) { display: none; }
  .mk-cta { font-size: 3.2cqw; padding: 2.6cqw; border-radius: 2cqw; }
  .mk-ticker { height: 7cqw; }
  .mk-ticker__t { font-size: 3.2cqw; }
  .chip { font-size: 9px; max-width: 70%; }
}


/* ================= SYSTEM ================= */
.system { background: var(--black); color: var(--white); padding: clamp(90px, 14vh, 160px) 0 clamp(70px, 10vh, 120px); position: relative; overflow: hidden; }
.system__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 8vh, 90px); }
.system__head p { margin: 0; color: var(--fg-2); max-width: 52ch; }
.namefield { grid-column: 2; display: grid; gap: 8px; font-size: 14px; color: var(--fg-2); }
.namefield input { height: 58px; padding: 0 20px; border-radius: 12px; border: 1.5px solid #3a3f48; background: var(--panel); color: var(--white); font: 600 20px var(--display); font-variation-settings: "wdth" 110; transition: border-color .3s, box-shadow .3s; }
.namefield input::placeholder { color: var(--fg-3); }
.namefield input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 90, 253, .3); }
.flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(28px, 4vw, 52px) clamp(16px, 2vw, 32px); }
.flow__step { grid-column: span 2; }
.flow__step--wide { grid-column: span 3; }
.flow__wire { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.flow__wire path { fill: none; stroke: #2c313a; stroke-width: 1.5; stroke-dasharray: 4 6; }
.flow__wire circle { fill: var(--blue); filter: drop-shadow(0 0 10px rgba(0, 90, 253, .9)); }
.flow__step { position: relative; z-index: 1; opacity: .6; transition: opacity .5s, transform .6s var(--ease-out); }
.flow__step.is-live { opacity: 1; transform: translateY(-6px); }
.flow__cap { margin: 0 0 14px; font-weight: 650; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.flow__cap b { width: 26px; height: 26px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 1.5px #5b616c; display: grid; place-items: center; font: 600 12px var(--mono); transition: background .4s, box-shadow .4s; }
.flow__step.is-live .flow__cap b { background: var(--blue); box-shadow: none; }
.panel { background: var(--white); color: var(--ink); border-radius: 16px; padding: 16px; min-height: 290px; height: calc(100% - 40px); position: relative; overflow: hidden; }
.search { height: 40px; border-radius: 40px; box-shadow: 0 0 0 1px #dfe2e7, 0 3px 10px -4px rgba(0, 0, 0, .15); display: flex; align-items: center; padding: 0 16px; font-size: 14px; color: var(--ink-2); }
.search__q::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--blue); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.place { margin-top: 16px; border-radius: 12px; box-shadow: 0 0 0 1px #e5e7eb; padding: 14px; }
.place::before { content: ""; display: block; height: 52px; margin: -2px 0 12px; background: radial-gradient(circle at 70% 55%, var(--blue) 0 6px, transparent 7px), repeating-linear-gradient(35deg, transparent 0 16px, rgba(0, 0, 0, .06) 16px 18px), #eef2f8; border-radius: 6px; }
.place__name { margin: 0; font-weight: 750; font-size: 18px; font-variation-settings: "wdth" 108; line-height: 1.15; word-break: break-word; }
.place__meta { margin: 4px 0 12px; font-size: 13px; color: #1a7f3c; }
.place__acts { display: flex; gap: 6px; }
.place__acts span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 7px 0; border-radius: 20px; box-shadow: inset 0 0 0 1px #d5d9e0; color: var(--blue-deep); }
.flow__step.is-live .place__acts .is-hot { background: var(--blue); color: #fff; box-shadow: none; }
.panel--phone { display: grid; place-items: center; background: #15181e; }
.phone { width: 150px; height: 262px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 6px #000, 0 0 0 7px #3a3f48; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone__nav { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.phone__nav i { width: 14px; height: 14px; border-radius: 4px; background: var(--ink); flex: none; }
.phone__nav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone__h { margin: 6px 0 0; font-weight: 850; font-variation-settings: "wdth" 118; font-size: 21px; line-height: .95; letter-spacing: -.03em; }
.phone__btn { background: var(--blue); color: #fff; font-size: 11px; font-weight: 650; text-align: center; padding: 8px 0; border-radius: 20px; }
.flow__step.is-live .phone__btn { animation: tap 1.6s var(--ease-out) .5s; }
@keyframes tap { 40% { transform: scale(.9); box-shadow: 0 0 0 10px rgba(0, 90, 253, .2); } }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.phone__grid i { background: var(--paper-2); border-radius: 6px; }
.panel--chat { background: #ece5dd; display: flex; flex-direction: column; gap: 10px; }
.chat__who { margin: -16px -16px 4px; padding: 12px 16px; background: #1f2c33; color: #fff; font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); }
.bubble--in { background: #fff; border-top-left-radius: 2px; opacity: 1; transform: none; }
.bubble--out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.flow__step.is-live .bubble, .flow.is-static .bubble { opacity: 1; transform: none; }
.flow__step.is-live .bubble--out { transition-delay: .9s; }
[data-src="google"] { --c: #2f6bff; } [data-src="instagram"] { --c: #e4407a; } [data-src="indicacao"] { --c: #1f9d57; }
.panel--crm { background: #f6f7f9; display: flex; flex-direction: column; gap: 10px; }
.crm__top { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.crm__top b { font: 700 12px var(--mono); background: var(--ink); color: #fff; padding: 2px 7px; border-radius: 5px; }
.crm__top span { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm__top small { margin-left: auto; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.crm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; flex: 1; }
.crm__col { background: #eceef2; border-radius: 10px; padding: 8px; min-height: 150px; }
.crm__col p { margin: 0 0 8px; font-size: 11px; font-weight: 700; color: var(--ink-3); }
.crm__col--lost { background: #fdecef; }
.crm__col--lost p { color: #b4233f; }
.lead { position: relative; width: 100%; text-align: left; border: 0; font: inherit; color: inherit; background: #fff; border-radius: 8px; padding: 8px 8px 8px 12px; font-size: 11px; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .15); display: grid; gap: 2px; margin-bottom: 6px; transition: transform .4s var(--ease-out), box-shadow .3s; }
@keyframes leadIn { from { opacity: 0; transform: translateY(10px); } }
.lead::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.lead b { font-size: 12.5px; } .lead span { color: var(--ink-3); }
.flow__step.is-live .lead { animation: leadIn .6s var(--ease-out) both; }
.flow__step.is-live .crm__col:nth-child(2) .lead { animation-delay: .25s; }
.flow__step.is-live .crm__col:nth-child(3) .lead { animation-delay: .5s; }
.flow__step.is-live .crm__col:nth-child(4) .lead { animation-delay: .75s; }
.lead--open { cursor: pointer; box-shadow: 0 0 0 1.5px var(--blue), 0 8px 18px -8px rgba(0, 90, 253, .6); }
.lead--open i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--blue-deep); margin-top: 2px; }
.lead--open:hover { transform: translateY(-2px); }
.lead__act { font-style: normal; margin-top: 6px; text-align: center; font-size: 10.5px; font-weight: 700; color: #fff; background: #1f9d57; border-radius: 99px; padding: 5px 4px; }
.flow__step.is-live .lead__act { animation: tap 1.8s var(--ease-out) 1.4s; }
.crm__legend { display: flex; gap: 14px; font-size: 11px; color: var(--ink-3); }
.crm__legend span { display: flex; align-items: center; gap: 5px; }
.crm__legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ficha { position: absolute; inset: 44px 12px 12px; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 0 0 1px #e1e4ea, 0 24px 50px -20px rgba(0, 20, 80, .45); display: grid; align-content: start; gap: 12px; }
.ficha:not([hidden]) { animation: fichaIn .5s var(--ease-out); }
.ficha[hidden] { display: none; }
@keyframes fichaIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.ficha__head { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.ficha__head b { font-size: 16px; }
.ficha__head span { grid-column: 1; font-size: 12.5px; color: var(--ink-2); }
.ficha__x { grid-row: 1 / span 2; grid-column: 2; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--paper-2); cursor: pointer; font-size: 16px; line-height: 1; }
.ficha__line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; position: relative; }
.ficha__line::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: #dfe3ea; }
.ficha__line li { position: relative; padding-top: 20px; font-size: 11.5px; line-height: 1.3; font-weight: 600; }
.ficha__line li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--blue); }
.ficha__line li:last-child::before { background: var(--blue); }
.ficha__line time { display: block; font: 500 10.5px var(--mono); color: var(--ink-3); margin-bottom: 2px; }

.panel--dash { background: #fff; display: grid; align-content: start; gap: 14px; }
.dash__hl { margin: 0; font-weight: 820; font-variation-settings: "wdth" 112; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.05; letter-spacing: -.02em; }
.dash__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.dash__lbl { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-bottom: 10px; font-size: 12.5px; }
.bar b { font-variant-numeric: tabular-nums; }
.bar i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: #eef0f4; position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--c); border-radius: inherit; transform-origin: left; }
@keyframes barIn { from { transform: scaleX(0); } }
.flow__step.is-live .bar i::after { animation: barIn 1.1s var(--ease-out) both; }
.flow__step.is-live .bar:nth-of-type(2) i::after { animation-delay: .15s; }
.flow__step.is-live .bar:nth-of-type(3) i::after { animation-delay: .3s; }
.dash__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dash__stats li { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); padding: 8px 10px; border-radius: 10px; background: #f4f6f9; }
.dash__stats li:first-child { background: #fdecef; color: #7a1a2c; }
.dash__stats b { color: var(--ink); }
.system__note { margin: 36px 0 0; font-size: 13px; color: var(--fg-3); }

/* ================= SOCIAL ================= */
.social { padding: clamp(90px, 14vh, 160px) 0; overflow: hidden; }
.social__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.social__copy > p { color: var(--ink-2); max-width: 50ch; margin: 24px 0 32px; }
.social__list { list-style: none; padding: 0; margin: 0; }
.social__list li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, .14); }
.social__list b { font-weight: 760; font-variation-settings: "wdth" 112; font-size: 19px; }
.social__list span { color: var(--ink-2); }
.social__note { margin: 20px 0 0; font: 400 12px var(--mono); color: var(--ink-3); }
.social__stage { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.feed { background: #000; color: #fff; border-radius: 34px; padding: 10px; box-shadow: 0 0 0 1px #2a2f37, 0 40px 80px -30px rgba(0, 20, 80, .5); }
.feed__head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; font: 600 13px var(--display); }
.feed__head img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; background: #111; padding: 5px; }
.feed__scroll { aspect-ratio: 9 / 15; overflow: hidden; border-radius: 24px; }
.feed__track { display: grid; gap: 8px; animation: feed 16s cubic-bezier(.7, 0, .3, 1) infinite; }
.feed__track img { width: 100%; }
@keyframes feed { 0%, 22% { transform: translateY(0); } 33%, 55% { transform: translateY(-33.4%); } 66%, 100% { transform: translateY(-66.8%); } }
.editor { background: var(--panel); color: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0, 20, 80, .55); }
.editor__top { display: grid; grid-template-columns: 128px 1fr; gap: 14px; margin-bottom: 14px; }
.editor__view { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; }
.editor__video { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes kb { to { transform: scale(1.18) translateY(-4%); } }
.editor__meta { font: 400 12px var(--mono); color: var(--fg-2); display: grid; align-content: start; gap: 6px; }
.editor__meta p { margin: 0; }
.editor__tc { font-size: 26px !important; color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tl { position: relative; display: grid; gap: 6px; }
.tl__ruler { height: 14px; margin-left: 56px; background: repeating-linear-gradient(90deg, #3a404a 0 1px, transparent 1px 10%) 0 100% / 100% 8px no-repeat, repeating-linear-gradient(90deg, #2a2f37 0 1px, transparent 1px 2.5%) 0 100% / 100% 4px no-repeat; }
.tl__track { display: grid; grid-template-columns: 50px 1fr; gap: 6px; align-items: center; }
.tl__lbl { font: 500 10px var(--mono); color: var(--fg-3); }
.tl__lane { position: relative; height: 34px; background: #0a0c10; border-radius: 6px; }
.clip { position: absolute; top: 3px; bottom: 3px; left: calc(var(--s) * 1%); width: calc((var(--e) - var(--s)) * 1%); border-radius: 4px; font: 500 10px/28px var(--mono); font-style: normal; color: #fff; padding: 0 6px; overflow: hidden; white-space: nowrap; }
.clip--a { background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 40%), url(video/apresentacao-poster.jpg) center / cover; box-shadow: inset 0 0 0 1.5px var(--blue); }
.clip--b { background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 40%), url(video/motion-vertical.jpg) center / cover; box-shadow: inset 0 0 0 1.5px var(--blue); }
.clip--t { background: #2a2140; box-shadow: inset 0 0 0 1.5px #9b7bff; }
.clip--m { background: #10243f; box-shadow: inset 0 0 0 1.5px var(--blue-hi); }
.tl__wave { display: flex; align-items: center; gap: 2px; padding: 0 4px; overflow: hidden; }
.tl__wave i { flex: 1; background: var(--syn-prop); opacity: .75; border-radius: 1px; min-width: 1px; }
.tl__head { position: absolute; top: 0; bottom: 0; left: 56px; width: 2px; background: #ff3b5c; box-shadow: 0 0 10px rgba(255, 59, 92, .7); }
.tl__head::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top-color: #ff3b5c; }

/* ================= TICKETS ================= */
.tickets { padding: clamp(90px, 14vh, 160px) 0; background: var(--black); }
.tickets__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.tickets__copy p { color: var(--fg-2); max-width: 54ch; margin: 24px 0 36px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
.facts div { border-top: 2px solid var(--white); padding-top: 12px; }
.facts dt { font-weight: 850; font-variation-settings: "wdth" 120; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--fg-2); line-height: 1.4; }
.seatmap { position: relative; background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(18px, 2.4vw, 32px); box-shadow: 0 30px 70px -36px rgba(0, 90, 253, .4); color-scheme: light; }
.seatmap :focus-visible { outline-color: var(--blue); }
.seatmap__stage { margin: 0 auto 22px; width: 70%; text-align: center; font-size: 13px; font-weight: 650; color: var(--ink-3); padding: 8px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: var(--paper-2); }
.seatmap__seats { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 18px repeat(7, 1fr) 10px repeat(7, 1fr) 18px; gap: 4px; align-items: center; }
.row__l { font: 500 10px var(--mono); color: var(--ink-3); text-align: center; }
.seat { aspect-ratio: 1; border: 0; border-radius: 30% 30% 22% 22%; padding: 0; cursor: pointer; background: var(--sec); transition: transform .25s var(--ease-out), background .2s, box-shadow .2s; }
.seat:hover { transform: translateY(-2px) scale(1.12); }
.seat[aria-pressed="true"] { background: var(--blue); box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--blue); }
.seat:disabled { background: #2a2d33; opacity: .18; cursor: not-allowed; transform: none; }
.seatmap__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.seatmap__foot .btn { --bg: var(--black); --fg: var(--white); }
.seatmap__sum { margin: 0; font-size: 15px; font-weight: 550; }
.seatmap__note { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--sec); }
.ticket[hidden] { display: none; }
.ticket { position: absolute; inset: 0; border-radius: inherit; background: var(--white); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(20px, 3vw, 44px); animation: ticketIn .7s var(--ease-out); }
@keyframes ticketIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.ticket__qr { padding: 14px; border-radius: 12px; box-shadow: 0 0 0 1px #e1e4ea; }
.ticket__qr img, .ticket__qr canvas { width: clamp(140px, 16vw, 200px) !important; height: auto !important; }
.ticket__show { margin: 0; font-weight: 800; font-variation-settings: "wdth" 115; font-size: 24px; line-height: 1.1; }
.ticket__seats { margin: 8px 0; font: 600 14px var(--mono); color: var(--blue-deep); }
.ticket__hint { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.ticket .link:hover { color: var(--blue-deep); }

/* ================= SERVICES + FAQ ================= */
.services { padding: clamp(60px, 10vh, 120px) 0; background: var(--black); border-top: 1px solid var(--line); }
.svc { list-style: none; padding: 0; margin: clamp(36px, 6vh, 64px) 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 80px); }
.svc li { position: relative; display: grid; grid-template-columns: minmax(170px, .8fr) 1.2fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.svc li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.svc li:hover::before { transform: scaleX(1); }
.svc b { font-weight: 760; font-variation-settings: "wdth" 112; font-size: 19px; line-height: 1.25; }
.svc span { color: var(--fg-2); font-size: 16px; }
.faq { padding: clamp(60px, 10vh, 120px) 0 clamp(90px, 14vh, 160px); background: var(--black); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); font-variation-settings: "wdth" 108; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); color: var(--blue-hi); }
.faq summary:hover { color: var(--blue-hi); }
.faq details p { margin: 0 0 24px; max-width: 60ch; color: var(--fg-2); }

/* ================= CLOSE ================= */
.close { background: var(--blue); color: var(--white); padding: clamp(100px, 16vh, 180px) 0 0; position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 120px 120px; pointer-events: none; }
.close .wrap { position: relative; }
.close__pre { margin: 0 0 18px; font: 500 clamp(15px, 1.4vw, 19px) var(--mono); color: #fff; }
.close__prompt { background: #000; padding: 3px 8px; border-radius: 4px; }
.close__title { margin: 0; font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(3.2rem, 10vw, 9.4rem); line-height: .88; letter-spacing: -.045em; }
.close__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: clamp(36px, 6vh, 64px); }
.close__link { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, .5); transition: text-decoration-color .3s, text-underline-offset .3s; }
.close__link:hover { text-decoration-color: #fff; text-underline-offset: 9px; }
.close ::selection { background: var(--white); color: var(--blue); }
.close :focus-visible { outline-color: var(--white); }
.foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; margin-top: clamp(80px, 14vh, 160px); padding-top: 28px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14px; color: #fff; }
.foot img { height: 30px; width: auto; margin-right: auto; }
.foot p { margin: 0; }

/* ================= BLUEPRINT ================= */
.bp-grid { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity .4s; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bp-grid i { background: rgba(0, 90, 253, .07); border-left: 1px solid rgba(77, 141, 255, .3); border-right: 1px solid rgba(77, 141, 255, .3); }
.is-bp .bp-grid { opacity: 1; }
.bp-layer { position: fixed; inset: 0; z-index: 71; pointer-events: none; }
.bp-box { position: absolute; outline: 1px dashed var(--blue-hi); outline-offset: -1px; background: rgba(0, 90, 253, .04); }
.bp-box span { position: absolute; left: -1px; top: -18px; background: var(--blue); color: #fff; font: 500 10px/18px var(--mono); padding: 0 6px; white-space: nowrap; }
.bp-box.is-flip span { top: 0; }
.bp-box.on-blue { outline-color: #fff; }

/* intro states (JS + motion only) */
.js-motion .hero__title .line__in { transform: translateY(105%); }
.js-motion .hero__lede, .js-motion .hero__cta, .js-motion .js-motion .hero__title .dot { transform: scale(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .hero__copy { max-width: 58%; }
  .social__grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__inner { align-items: flex-end; }
  .hero__copy { max-width: 640px; }
  .build { height: 250vh; }
  .build__pin { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 16px; }
  .build__stage { order: -1; }
  .build__intro, .build__note { display: none; }
  .build__pin { gap: 12px; padding-top: calc(var(--nav-h) + 4px); }
  .build__side .h2 { font-size: clamp(1.3rem, 5.6vw, 1.9rem); }
  .steps { margin-top: 12px; }
  .step { display: none; border: 0; padding: 4px 0; }
  .step.is-on { display: grid; }
  .build__note { margin-top: 8px; }
  .browser__view { aspect-ratio: 4 / 3.8; }
  .code { width: 88%; }
  .code pre { font-size: 9px; }
  .live__phone { width: 30%; right: 5%; }
  .term { height: 62px; padding: 7px 12px; margin-top: 10px; }
  .term__lines { font-size: 10px; }
  .note { font-size: 12px; padding: 8px 10px; max-width: 44%; }
  .system__head { grid-template-columns: 1fr; }
  .namefield { grid-column: 1; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step, .flow__step--wide { grid-column: span 1; }
  .flow__step--wide { grid-column: 1 / -1; }
  .flow__wire { display: none; }
  .tickets__grid, .faq__grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .bp-switch__text { display: none; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero__inner { align-items: flex-end; padding-bottom: 8px; }
  .hero__copy { max-width: none; }
  .hero__count { display: none; }
  .hero.no-gl .hero__fallback { left: 10vw; right: auto; width: 80vw; top: 24vh; }
  .line__in { --w: 85; }
  .hero__cta { gap: 18px; }
  .btn { height: 54px; padding: 0 24px; }
    .flow { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
  .crm__col { min-height: 0; }
  .flow__step, .flow__step--wide { grid-column: 1 / -1; }
  .crm { grid-template-columns: 1fr 1fr; }
  .crm__top small { display: none; }
  .dash__grid { grid-template-columns: 1fr; }
  .ficha { inset: 40px 8px 8px; overflow: auto; }
  .ficha__line { grid-template-columns: 1fr; gap: 10px; }
  .ficha__line::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .ficha__line li { padding: 0 0 0 24px; }
  .reel__play { font-size: 14px; padding: 8px 16px 8px 8px; }
  .reel__icon { width: 38px; height: 38px; }
  .reel__play small { display: none; }
  .social__stage { grid-template-columns: 1fr; }
  .feed { max-width: 250px; margin: 0 auto; }
        .svc li { grid-template-columns: 1fr; gap: 4px; }
  .facts { gap: 12px; }
  .facts dd { font-size: 12px; }
  .row { gap: 3px; grid-template-columns: 14px repeat(7, 1fr) 6px repeat(7, 1fr) 14px; }
  .ticket { grid-template-columns: 1fr; justify-items: start; gap: 16px; overflow: auto; }
  .ticket__qr img, .ticket__qr canvas { width: 120px !important; }
  .close__title { font-size: clamp(2.8rem, 15vw, 4.6rem); }
}
@media (max-width: 960px) and (min-height: 780px) {
  .build__intro { display: block; margin: 6px 0 0; font-size: 15px; }
  .term { height: 76px; }
}
@media (max-width: 960px) and (max-height: 720px) {
  .browser__view { aspect-ratio: 4 / 3.3; }
  .term { display: none; }
  .steps { margin-top: 6px; }
  .step p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
