/* ===== Open Cod — tokens ===== */
:root {
  /* Marca: azul-marinho #0F172A + azul #2F6BFF, Space Grotesk */
  --paper: #f5f7fb;
  --paper-2: #e9edf5;
  --ink: #0f172a;
  --ink-2: #2b3448;
  --muted: #5d6679;
  --line: rgba(15, 23, 42, 0.13);
  --accent: #2f6bff;
  --accent-deep: #1d55e6;
  --accent-soft: #7aa2ff;
  --night: #0f172a;
  --night-2: #16203a;
  --night-text: #e8edf7;
  --night-muted: #94a0b8;
  --night-line: rgba(232, 237, 247, 0.12);
  --code-green: #86e0a0;
  --code-blue: #7dd3fc;
  --code-amber: #fcd38d;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--f-body);
  padding: 16px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link { font: 500 15px var(--f-mono); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.link:hover { color: var(--accent); }

/* ===== Logo ===== */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.footer .logo img { height: 36px; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ===== Hero ===== */
.hero { padding-top: clamp(40px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 0 rgba(47,179,109,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,179,109,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,109,0); } }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: .96; text-wrap: balance; max-width: 11.5em; }
.h2 { text-wrap: balance; }
.hero__title em, .h2 em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Editor */
.editor {
  background: var(--night); color: var(--night-text);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(15,23,42,.5), 0 0 0 1px rgba(15,23,42,.9);
  transform: rotate(1.2deg);
  transition: transform .6s var(--ease);
}
.editor:hover { transform: rotate(0deg) translateY(-4px); }
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--night-line); }
.editor__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.editor__bar i:first-child { background: var(--accent); }
.editor__bar span { margin-left: 10px; font: 400 12px var(--f-mono); color: var(--night-muted); }
.editor__code { margin: 0; padding: 22px 22px 26px; min-height: 330px; font: 400 14px/1.75 var(--f-mono); white-space: pre-wrap; word-break: break-word; }
.editor__code .k { color: var(--accent-soft); }
.editor__code .s { color: var(--code-green); }
.editor__code .f { color: var(--code-blue); }
.editor__code .n { color: var(--code-amber); }
.editor__code .c { color: var(--night-muted); }
.caret { display: inline-block; width: 8px; height: 17px; background: var(--accent); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.editor__status { display: flex; gap: 18px; padding: 9px 16px; border-top: 1px solid var(--night-line); font: 400 11.5px var(--f-mono); color: var(--night-muted); }
.editor__status .ok { color: var(--code-green); font-weight: 400; }

/* Ticker */
.ticker { margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker__track span { font: 500 15px var(--f-mono); color: var(--ink-2); padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker__track span::after { content: "/"; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--night { background: var(--night); color: var(--night-text); }
.section--night .label, .section--night .step__n { color: var(--accent-soft); }
.section--night .h2 em { color: var(--accent-soft); }
.section--paper2 { background: var(--paper-2); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.label { font: 500 13px var(--f-mono); color: var(--accent); letter-spacing: .02em; margin-bottom: 20px; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.035em; }
.h2--xl { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 700; }

/* Services: editorial rows */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr) 230px; gap: 24px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  position: relative; transition: padding .35s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.services { position: relative; z-index: 0; }
.service:hover::before { transform: scaleY(1); }
.service:hover { color: var(--paper); }
.service:hover p { color: #c3cbdb; }
.service:hover .tags li { border-color: rgba(232,237,247,.3); color: var(--paper); }
.service:hover .service__n { color: var(--accent-soft); }
.service__n { font: 500 14px var(--f-mono); color: var(--muted); transition: color .3s; }
.service h3 { font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; }
.service p { color: var(--ink-2); max-width: 36em; transition: color .3s; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tags li { font: 400 12px var(--f-mono); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: color .3s, border-color .3s; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 32px 28px 8px 0; border-top: 1px solid var(--night-line); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 1s var(--ease); }
.step.is-in::before { width: 100%; }
.step:nth-child(2)::before { transition-delay: .25s; }
.step:nth-child(3)::before { transition-delay: .5s; }
.step:nth-child(4)::before { transition-delay: .75s; }
.step__n { display: block; font: 500 13px var(--f-mono); color: var(--accent); margin-bottom: 44px; }
.step h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.step p { color: var(--night-muted); max-width: 22em; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.case h3 { font-size: 1.55rem; margin: 6px 0 10px; letter-spacing: -0.025em; }
.case > p:last-child { color: var(--ink-2); font-size: 16px; }
.case__tag { font: 500 12.5px var(--f-mono); color: var(--muted); margin-top: 22px; }
.case__screen {
  aspect-ratio: 4 / 3; border-radius: var(--radius); padding: 16px;
  display: flex; gap: 12px; overflow: hidden; position: relative;
  transition: transform .5s var(--ease);
}
.case:hover .case__screen { transform: translateY(-6px); }
.case__screen--a { background: var(--ink); }
.case__screen--b { background: var(--accent); }
.case__screen--c { background: #d3dbea; }
.case__screen i, .case__screen b, .case__screen span { display: block; }
/* A: dashboard */
.ui-side { width: 22%; border-radius: 8px; background: #1e2a47; }
.ui-main { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-kpis i { height: 42px; border-radius: 8px; background: #1e2a47; position: relative; }
.ui-kpis i::after { content: ""; position: absolute; left: 10px; top: 12px; width: 40%; height: 7px; border-radius: 4px; background: var(--accent); }
.ui-chart { flex: 1; border-radius: 8px; background: #172139; display: flex; align-items: flex-end; gap: 8%; padding: 14px 14px 0; }
.ui-chart b { flex: 1; height: var(--h); background: linear-gradient(var(--accent-soft), var(--accent)); border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(.2); transition: transform 1s var(--ease); }
.case.is-in .ui-chart b { transform: scaleY(1); }
.ui-chart b:nth-child(2) { transition-delay: .08s } .ui-chart b:nth-child(3) { transition-delay: .16s } .ui-chart b:nth-child(4) { transition-delay: .24s } .ui-chart b:nth-child(5) { transition-delay: .32s } .ui-chart b:nth-child(6) { transition-delay: .4s }
/* B: map */
.case__screen--b { flex-direction: column; }
.ui-map { flex: 1; border-radius: 8px; background:
  repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.14) 22px 23px),
  repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.14) 22px 23px), #2560f0; position: relative; }
.ui-map span { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; }
.ui-map span:nth-child(1) { left: 22%; top: 30%; animation: drive 6s var(--ease) infinite alternate; }
.ui-map span:nth-child(2) { left: 60%; top: 55%; animation: drive 7s var(--ease) infinite alternate-reverse; }
.ui-map span:nth-child(3) { left: 40%; top: 72%; }
@keyframes drive { to { transform: translate(40px, -18px); } }
.ui-list { display: grid; gap: 6px; }
.ui-list i { height: 14px; border-radius: 5px; background: rgba(255,255,255,.35); }
.ui-list i:nth-child(2) { width: 75%; } .ui-list i:nth-child(3) { width: 55%; }
/* C: pdv */
.ui-grid { flex: 1.4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-grid i { border-radius: 8px; background: #f5f7fb; }
.ui-grid i:nth-child(2), .ui-grid i:nth-child(6) { background: var(--ink); }
.ui-receipt { flex: 1; border-radius: 8px; background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ui-receipt i { height: 8px; border-radius: 4px; background: #dfe5f0; }
.ui-receipt b { margin-top: auto; height: 30px; border-radius: 6px; background: var(--accent); }

.cases { grid-template-columns: repeat(2, 1fr); row-gap: clamp(40px, 5vw, 64px); }
.cases .case__screen { aspect-ratio: 16 / 9; }
/* D: agenda */
.case__screen--d { background: #dfe6f3; }
.ui-agenda { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; }
.ui-agenda i { border-radius: 8px; background: #fff; }
.ui-agenda i:nth-child(2), .ui-agenda i:nth-child(7), .ui-agenda i:nth-child(12) { background: var(--accent); }
.ui-agenda i:nth-child(4), .ui-agenda i:nth-child(9) { background: var(--ink); }
.ui-agenda i:nth-child(5) { background: var(--accent-soft); }
/* F: multi-segmento */
.case__screen--f { background: var(--ink); flex-direction: column; }
.ui-segs { display: flex; gap: 8px; }
.ui-segs i { height: 26px; flex: 1; border-radius: 999px; background: #1e2a47; }
.ui-segs i:first-child { background: var(--accent); }
.ui-rows { flex: 1; display: grid; gap: 8px; }
.ui-rows i { border-radius: 8px; background: #1e2a47; position: relative; }
.ui-rows i::after { content: ""; position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 22%; height: 8px; border-radius: 4px; background: var(--code-green); opacity: .8; }

/* Card de projeto como link */
.case { position: relative; }
.case__link { text-decoration: none; }
.case__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.case__link:focus-visible { outline: none; }
.case:has(.case__link:focus-visible) .case__screen { outline: 2px solid var(--accent); outline-offset: 4px; }
.case__more { display: inline-block; margin-top: 14px; font: 500 14px var(--f-mono); color: var(--accent); }
.case__more span { display: inline-block; transition: transform .3s var(--ease); }
.case:hover .case__more span { transform: translateX(5px); }
.case:hover h3 { color: var(--accent); }
.case h3 { transition: color .25s; }

/* ===== Página de produto ===== */
.ph { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 9vw, 120px); }
.ph__back { display: inline-block; font: 500 14px var(--f-mono); color: var(--muted); text-decoration: none; margin-bottom: clamp(32px, 5vw, 56px); }
.ph__back:hover { color: var(--accent); }
.ph__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ph__title { font-size: clamp(3rem, 7.5vw, 6.5rem); letter-spacing: -0.045em; line-height: .95; }
.ph__lead { margin-top: 24px; max-width: 32em; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.ph__screen { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -24px rgba(15,23,42,.45); }

/* Prints reais (topo da página e card) */
.ph__shots { position: relative; padding-bottom: 8%; }
.ph__desk { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(15,23,42,.9); box-shadow: 0 40px 70px -30px rgba(15,23,42,.55); }
.ph__phone { position: absolute; right: -2%; bottom: 0; width: 27%; height: auto; border-radius: 22px; border: 4px solid #1b2540; box-shadow: 0 28px 50px -16px rgba(15,23,42,.7); }
.case__screen--shot { padding: 0; background: var(--night); }
.case__screen--shot .shot-desk { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.case__screen--shot .shot-phone { position: absolute; right: 5%; bottom: -16%; width: 24%; height: auto; border-radius: 14px; border: 3px solid #1b2540; box-shadow: 0 18px 36px -10px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.case:hover .case__screen--shot .shot-phone { transform: translateY(-8px); }
.case__screen--shot .shot-phone--app { right: 6%; bottom: -22%; width: 21%; }

/* Escolha da versão (Web / App) */
.ph__grid--solo { grid-template-columns: 1fr; }
.ph__grid--solo .ph__lead { max-width: 40em; }
.vsel { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.vtab { position: relative; display: grid; gap: 10px; align-content: start; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  padding: clamp(22px, 2.6vw, 34px); border: 1.5px solid var(--line); border-radius: 20px; background: #fff;
  transition: transform .3s var(--ease), border-color .25s, background .25s, color .25s, box-shadow .3s; }
.vtab:hover { transform: translateY(-3px); border-color: var(--accent); }
.vtab b { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.05 var(--f-display); letter-spacing: -0.03em; }
.vtab__badge { justify-self: start; font: 600 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.vtab__desc { color: var(--ink-2); max-width: 30em; font-size: 16px; }
.vtab__go { margin-top: 6px; font: 500 14px var(--f-mono); color: var(--accent); }
.vtab__go span { display: inline-block; transition: transform .3s var(--ease); }
.vtab:hover .vtab__go span { transform: translateY(3px); }
.vtab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 26px 50px -26px rgba(15,23,42,.6); }
.vtab[aria-selected="true"] .vtab__badge { background: var(--accent); }
.vtab[aria-selected="true"] .vtab__desc { color: #c3cbdb; }
.vtab[aria-selected="true"] .vtab__go { color: var(--accent-soft); }
.vtab:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.pv .label { margin-bottom: 8px; }
.vpanel[hidden] { display: none; }
.vpanel__head { display: grid; gap: 14px; justify-items: start; margin: 16px 0 clamp(28px, 4vw, 44px); }
.vpanel__head .vtab__badge { background: var(--accent); }
.vfotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.vfoto { margin: 0; display: grid; gap: 14px; align-content: start; }
.vfoto img { display: block; width: 100%; height: auto; }
.vfotos--wide .vfoto img { border-radius: 14px; border: 1px solid var(--night-line); box-shadow: 0 24px 46px -24px rgba(0,0,0,.7); }
.vfotos--phone .vfoto img { max-width: 260px; margin: 0 auto; border-radius: 26px; border: 5px solid #2a3550; box-shadow: 0 24px 46px -20px rgba(0,0,0,.7); }
.vfoto figcaption { display: grid; gap: 4px; }
.vfotos--phone .vfoto figcaption { max-width: 260px; margin: 0 auto; }
.vfoto figcaption b { font: 700 1.1rem var(--f-display); letter-spacing: -0.02em; }
.vfoto figcaption span { color: var(--night-muted); font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; border-radius: 30px; border: 6px solid #1b2540; box-shadow: 0 34px 60px -28px rgba(15,23,42,.6); }
.shot figcaption { max-width: 320px; margin: 20px auto 0; display: grid; gap: 6px; }
.shot figcaption b { font: 700 1.2rem var(--f-display); letter-spacing: -0.02em; }
.shot figcaption span { color: var(--ink-2); font-size: 15px; }

.pv__stage { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--night-line); }
.pv__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pv__stage--empty { background: var(--night-2); display: grid; place-items: center; }
.pv__stage--vertical { aspect-ratio: 9 / 16; height: min(78vh, 760px); max-width: 100%; margin: 0 auto; }
@media (max-width: 640px) { .pv__stage--vertical { height: auto; width: 100%; } }
.pv__mock { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; opacity: .22; filter: blur(1px); }
.pv__soon { position: relative; text-align: center; display: grid; justify-items: center; gap: 18px; padding: 24px; }
.pv__soon p { color: var(--night-muted); font-size: 17px; }
.pv__soon b { color: var(--night-text); font: 600 clamp(20px, 2.2vw, 26px) var(--f-display); letter-spacing: -0.02em; }
.pv__soon-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center/34px no-repeat; box-shadow: 0 0 0 10px rgba(47,107,255,.18); }
.pv__list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pv__item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--night-text); font: 500 15px var(--f-body); cursor: pointer; transition: background .2s, border-color .2s; }
.pv__item span { font: 500 12px var(--f-mono); color: var(--night-muted); }
.pv__item:hover { border-color: var(--accent-soft); }
.pv__item.is-active { background: var(--accent); border-color: var(--accent); }
.pv__item.is-active span { color: #dbe5ff; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feat { padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.feat:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.feat:not(:nth-child(3n+1)) { padding-left: 32px; }
.feat__n { display: block; font: 500 13px var(--f-mono); color: var(--accent); margin-bottom: 28px; }
.feat h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); margin-bottom: 10px; letter-spacing: -0.025em; }
.feat p { color: var(--ink-2); }

.pf { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); }
.pf__text { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.3 var(--f-display); letter-spacing: -0.02em; text-wrap: pretty; }
.tags--lg { justify-content: flex-start; gap: 8px; }
.tags--lg li { font-size: 14px; padding: 8px 14px; background: var(--paper); }

.pc { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.others { display: grid; gap: 10px; }
.other { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 18px 22px; border: 1px solid var(--night-line); border-radius: 14px; text-decoration: none; transition: border-color .2s, background .2s; }
.other .case__tag { margin: 0; grid-column: 1; color: var(--night-muted); font-size: 12px; }
.other b { grid-column: 1; font: 600 22px var(--f-display); letter-spacing: -0.02em; }
.other__arrow { grid-column: 2; grid-row: 1 / 3; font-size: 22px; color: var(--accent-soft); transition: transform .3s var(--ease); }
.other:hover { border-color: var(--accent-soft); background: var(--night-2); }
.other:hover .other__arrow { transform: translateX(4px); }

/* Página 404 */
.nf { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 22px; padding: 40px var(--gutter); max-width: 760px; margin: 0 auto; }
.nf__title { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -0.04em; line-height: .98; }
.nf__text { color: var(--ink-2); font-size: 18px; margin-top: -6px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why__item { padding: 40px 40px 44px 0; border-bottom: 1px solid var(--line); }
.why__item:nth-child(odd) { border-right: 1px solid var(--line); }
.why__item:nth-child(even) { padding-left: 40px; }
.why__item h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.why__item p { color: var(--ink-2); max-width: 30em; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .section__head { position: sticky; top: 110px; margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font: 600 clamp(17px, 1.5vw, 20px)/1.35 var(--f-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px var(--f-mono); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent-deep); }
.faq details p { padding: 0 48px 28px 0; color: var(--ink-2); max-width: 42em; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__grid--solo { grid-template-columns: 1fr; }
.contact__grid--solo .contact__lead { max-width: 34em; }
.contact__lead { margin-top: 26px; color: var(--night-muted); font-size: 18px; max-width: 28em; }
.contact__info { margin-top: 44px; display: grid; gap: 18px; }
.contact__info li { display: grid; gap: 4px; }
.contact__info span { font: 500 12px var(--f-mono); color: var(--night-muted); text-transform: uppercase; letter-spacing: .08em; }
.contact__info a { font: 600 clamp(20px, 2vw, 26px) var(--f-display); text-decoration: none; letter-spacing: -0.02em; }
.contact__info a:hover { color: var(--accent-soft); }
.contact__place { font: 600 clamp(20px, 2vw, 26px)/1.3 var(--f-display); letter-spacing: -0.02em; }
.contact__place small { display: block; margin-top: 4px; font: 400 15px var(--f-body); color: var(--night-muted); letter-spacing: 0; }

.form { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 13px var(--f-mono); color: var(--night-muted); }
.field small { opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--f-body); color: var(--night-text);
  background: var(--night); border: 1px solid var(--night-line); border-radius: 10px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--night-muted) 50%), linear-gradient(-45deg, transparent 50%, var(--night-muted) 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,.25); }
.field .is-invalid { border-color: #ff6b6b; }
.form__error { color: #ff8f8f; font-size: 14px; }
.form__hint { font-size: 13.5px; color: var(--night-muted); text-align: center; }
.form__hint a { color: var(--night-text); }

/* Footer */
.footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); padding: 36px 0; font-size: 14px; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__copy { margin-left: auto; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .editor { transform: none; max-width: 620px; }
  .service { grid-template-columns: 56px 1fr; gap: 10px 16px; }
  .service p, .service .tags { grid-column: 2; }
  .tags { justify-content: flex-start; margin-top: 6px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .faq, .contact__grid { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .ph__grid, .pf, .pc { grid-template-columns: 1fr; }
  .ph__screen { max-width: 560px; }
  .ph__shots { max-width: 640px; }
  .vsel { grid-template-columns: 1fr; }
  .vfotos { grid-auto-flow: column; grid-auto-columns: min(80%, 320px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .vfotos::-webkit-scrollbar { display: none; }
  .vfoto { scroll-snap-align: center; }
  .shots { grid-auto-flow: column; grid-auto-columns: min(78%, 300px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat, .feat:not(:nth-child(3n+1)) { padding: 28px 28px 32px 0; border-right: 0; }
  .feat:nth-child(odd) { border-right: 1px solid var(--line); }
  .feat:nth-child(even) { padding-left: 28px; }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: grid; gap: 6px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 20px; padding: 16px; font-size: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .editor__code { font-size: 12.5px; min-height: 290px; padding: 18px; }
  .logo img { height: 34px; }
  .steps, .cases, .why { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding: 32px 0; border-right: 0; }
  .why__item:nth-child(odd) { border-right: 0; }
  .service { grid-template-columns: 1fr; padding: 28px 0; }
  .service p, .service .tags { grid-column: 1; }
  .footer__copy { margin-left: 0; }
  .feats { grid-template-columns: 1fr; }
  .feat, .feat:nth-child(even), .feat:not(:nth-child(3n+1)) { padding: 26px 0 30px; border-right: 0; }
  .feat:nth-child(odd) { border-right: 0; }
  .feat__n { margin-bottom: 14px; }
  .pv__stage--empty { aspect-ratio: 4 / 5; }
  .ph__screen { aspect-ratio: 16 / 11; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
