@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #f3f1ed;
  --muted: #b8b8c3;
  --night: #101114;
  --paper: #16171c;
  --light: #202127;
  --line: #373741;
  --accent: #b1aaff;
  --accent-hover: #cbc6ff;
  --green: #a5e4bf;
  font-family: Inter, "Segoe UI", sans-serif;
}

.site-header, .site-footer {
  color-scheme: dark;
  --ink: #f3f1ed;
  --muted: #b8b8c3;
  --accent: #b1aaff;
  --line: #373741;
  --light: #202127;
  background: var(--night);
}
.site-header { view-transition-name: studio-header; }
.header-inner { min-height: 75px; }
.header-inner nav { gap: clamp(13px, 2.6vw, 32px); }
.header-inner nav a[aria-current="page"] { color: var(--accent); }
.mobile-label { display: none; }
.header-whatsapp, .whatsapp-button { color: var(--green); border-color: #456753; background: #192a22; }
.header-whatsapp:hover, .whatsapp-button:hover { color: var(--green); border-color: var(--green); background: #23382a; }
.site-footer { border-top: 1px solid var(--line); }
.brand.header-brand, .brand.footer-brand { display: inline-flex; align-items: center; gap: 10px; width: auto; mix-blend-mode: normal; }
.brand-mark { display: block; position: relative; flex: none; width: 37px; height: 37px; border-radius: 11px; background: #a6a0ff; }
.brand-mark::before { position: absolute; content: ""; inset: 8px; border: 3px solid #161425; border-right-color: transparent; border-radius: 50%; transform: rotate(-12deg); }
.brand-mark::after { position: absolute; content: ""; top: 17px; right: 8px; width: 11px; height: 9px; border-top: 3px solid #161425; border-right: 3px solid #161425; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.brand-name small { display: block; margin-top: 3px; font-size: 7px; font-weight: 600; letter-spacing: .16em; }
.studio-hero { background: radial-gradient(ellipse at 82% 40%, #232135 0, transparent 55%), var(--night); }
.studio-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 86px); padding-block: clamp(46px, 6vw, 92px); }
.studio-intro h1, .solution-intro h1 { margin: 18px 0; font-size: clamp(46px, 6.3vw, 91px); font-weight: 750; line-height: .99; letter-spacing: -.065em; }
.studio-intro h1 em { color: var(--accent); font-style: normal; }
.studio-lead { max-width: 510px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.57; }
.studio-actions, .demo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.studio-actions .outline { color: var(--ink); }
.studio-actions .outline:hover { border-color: var(--accent); }
.studio-visual { margin: 0; border: 1px solid #4b465e; border-radius: 22px; overflow: hidden; background: #23232b; }
.studio-visual img { display: block; width: 100%; height: auto; }
.studio-work { background: var(--paper); border-block: 1px solid var(--line); }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.sample-card { min-width: 0; overflow: hidden; display: block; border: 1px solid var(--line); border-radius: 14px; background: var(--night); transition: border-color 180ms ease, translate 180ms ease; }
.sample-card:hover { border-color: var(--accent); translate: 0 -3px; }
.sample-preview { display: grid; align-items: center; justify-items: center; min-height: 168px; overflow: hidden; }
.preview-shop { grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; background: #eae2d3; color: #27241f; }
.preview-shop img { width: 100%; max-height: 150px; object-fit: cover; border-radius: 7px; }
.preview-shop div, .mini-phone, .mini-ledger { display: grid; gap: 8px; }
.preview-shop span, .mini-phone span, .mini-ledger span { font-size: 11px; }
.preview-app { background: #c2bbf3; color: #29233d; }
.mini-phone { width: min(160px, 76%); padding: 14px 11px; border: 3px solid #29233d; border-radius: 16px; background: #f7f3ff; }
.mini-phone b { background: #453971; color: #fff; padding: 6px; border-radius: 4px; font-size: 9px; text-align: center; }
.mini-slots { display: flex; gap: 4px; }
.mini-slots span { padding: 3px; border-radius: 3px; background: #e5ddfc; font-size: 9px; }
.preview-billing { background: #a7c9bc; color: #142c23; }
.mini-ledger { width: min(210px, 82%); padding: 14px; border-radius: 8px; background: #eff6f2; }
.mini-ledger > div { display: flex; justify-content: space-between; gap: 5px; border-top: 1px solid #d0e2d8; padding-top: 4px; }
.mini-ledger b { font-size: 10px; color: #276044; }
.sample-copy { display: flex; justify-content: space-between; align-items: center; padding: 17px 18px 20px; gap: 14px; }
.sample-type { color: var(--muted); font-size: 12px; line-height: 1.4; }
.sample-copy h3 { margin-top: 4px; font-size: 22px; letter-spacing: -.035em; }
.sample-arrow { color: var(--accent); font-size: 24px; }
.studio-process .steps h3 { margin-bottom: 9px; }
.studio-closing { background: linear-gradient(115deg, #25223d, #17171f); }
.studio-closing .closing-inner > div:last-child { display: flex; flex-wrap: wrap; }
.studio-closing .closing-inner h2 { margin-top: 0; }
.solution-page { padding-block: clamp(42px, 6vw, 80px); }
.solution-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 6vw, 70px); align-items: start; }
.solution-intro h1 { font-size: clamp(40px, 5.5vw, 77px); }
.solution-intro ul { display: grid; gap: 9px; margin: 22px 0; padding-left: 20px; color: var(--muted); }
.solution-intro li::marker { color: var(--accent); }
.demo-shell { min-width: 0; border: 1px solid var(--line); border-radius: 17px; padding: clamp(17px, 3vw, 29px); background: var(--paper); }
.demo-shell h2 { margin: 4px 0 8px; font-size: 32px; letter-spacing: -.05em; }
.demo-description, .demo-note, .demo-product p { color: var(--muted); font-size: 14px; }
.demo-note { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.demo-product { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; margin-top: 18px; }
.demo-product img { display: block; width: 100%; height: auto; border-radius: 8px; }
.demo-price { display: block; margin: 10px 0; color: var(--accent); }
.demo-product select { display: block; width: 100%; margin-top: 5px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; }
.demo-actions { margin-top: 12px; }
.demo-actions .button, .demo-form .button { min-height: 43px; padding: 8px 11px; }
.demo-actions .button:disabled { cursor: default; opacity: .55; }
.demo-status { min-height: 24px; color: var(--green); margin-top: 9px; font-size: 14px; }
.invoice-total { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.invoice-total output { color: var(--accent); }
.detail-hero { background: linear-gradient(120deg, var(--night), #211f33); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: studio-exit 260ms ease both; }
  ::view-transition-new(root) { animation: studio-enter 300ms cubic-bezier(.22, .75, .3, 1) both; }
  ::view-transition-old(studio-header) { display: none; }
  ::view-transition-new(studio-header) { animation: none; }
  .studio-intro { animation: arrive 550ms ease-out backwards; }
  .studio-visual { animation: arrive 700ms cubic-bezier(.22, .75, .3, 1) 90ms backwards; }
}

@keyframes studio-exit {
  to { transform: translateX(-18px); opacity: 0; }
}
@keyframes studio-enter {
  from { transform: translateX(24px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sample-card { transition: none; }
  .sample-card:hover { translate: none; }
}

@media (max-width: 880px) {
  .studio-hero-inner { gap: 24px; }
}
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 108px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; min-height: 61px; padding-top: 7px; }
  .header-actions { grid-area: 1 / 2; }
  .header-inner nav {
    position: static;
    background: var(--night);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 3px 0 0;
    border: 0;
    overflow: visible;
    text-align: center;
    font-size: 13px;
  }
  .header-inner nav a { display: grid; align-items: center; min-height: 43px; padding: 5px; border-bottom: 2px solid transparent; }
  .header-inner nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .desktop-label, .header-inner nav .work-nav { display: none; }
  .mobile-label { display: inline; }
  .studio-hero-inner, .solution-grid { grid-template-columns: 1fr; }
  .studio-hero-inner { padding-block: 31px; }
  .studio-intro h1, .solution-intro h1 { font-size: clamp(38px, 9vw, 68px); letter-spacing: -.05em; }
  .studio-visual { width: 100%; max-height: 360px; border-radius: 13px; }
  .studio-visual img { max-height: 360px; object-fit: cover; object-position: center 62%; }
  .studio-actions { margin-top: 17px; gap: 8px; }
  .studio-actions .button { min-height: 44px; padding: 9px 11px; font-size: 13px; }
  .studio-actions .outline svg { display: none; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .studio-visual img { max-height: 245px; }
  .sample-grid { grid-template-columns: 1fr; }
  .demo-product { grid-template-columns: 1fr; }
  .demo-product img { max-height: 250px; object-fit: cover; }
}
