:root {
  color-scheme: light;
  --paper: #f9f6f0;
  --sand: #ede4d6;
  --ink: #302820;
  --body: #544b42;
  --wood: #60402e;
  --night: #352c25;
  --rule: #c9bdac;
  --serif: Georgia, "Times New Roman", serif;
  --mast-height: 80px;
  --gutter: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --slow: 500ms;
  --view: calc(100vh - var(--mast-height));
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
body { font-size: 1rem; line-height: 1.58; }
img, video, iframe { display: block; width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #006775; outline-offset: 4px; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1344px); margin-inline: auto; }
.band { padding-block: clamp(64px, 7.8vw, 120px); }
.pair, .hero { display: grid; }
.pair {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.6rem, 5.28vw, 4.875rem); line-height: 1.015; letter-spacing: -.06em; }
h2 { font-size: clamp(2.4rem, 4.1vw, 4rem); line-height: 1.06; letter-spacing: -.05em; max-width: 21ch; }
h1, h2 { text-wrap: balance; }
h1 span { display: block; }
h3, dt { font-size: clamp(1.32rem, 2vw, 1.8rem); line-height: 1.22; letter-spacing: -.03em; }
p { color: var(--body); max-width: 62ch; line-height: 1.65; }
h2 + p { margin-top: 24px; }
.mast {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--mast-height); width: calc(100% - 2 * var(--gutter));
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax);
}
.mast-title, nav, .actions { display: flex; align-items: center; }
.mast-title { gap: 14px; font-size: .9375rem; font-weight: 550; }
.plan { width: 38px; height: 38px; flex: none; stroke: var(--wood); stroke-width: 2.4; }
.plan .door { stroke-width: 1; }
nav { gap: 30px; font-size: .875rem; }
nav a, .text-link { text-decoration-thickness: 1px; text-underline-offset: 5px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero {
  position: relative; isolation: isolate; background: var(--night); color: var(--paper);
}
.hero figure, .hero-copy { grid-area: 1 / 1; }
.hero figure { position: relative; min-height: calc(100vh - var(--mast-height)); min-height: calc(100svh - var(--mast-height)); }
.hero-copy {
  z-index: 1; align-self: end; width: min(42%, 660px); margin: 74px var(--gutter) clamp(48px, 7vh, 80px);
  pointer-events: none;
}
.hero-copy p { margin-top: 22px; max-width: 52ch; color: #fff9f0; font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.55; }
.actions { margin-top: 26px; gap: 24px; flex-wrap: wrap; }
.hero .actions a { pointer-events: auto; }
.hero .cta { background: var(--paper); color: var(--ink); }
.hero .cta:hover { background: #e9dac6; }
.hero a:focus-visible { outline-color: white; }
.hero figcaption {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 24px; margin: 0; max-width: 43%;
  padding: 6px 11px; color: white; background: rgb(39 31 24 / .85); pointer-events: none;
}
.cta, .tour-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 13px 22px; border: 0; border-radius: 3px;
  background: var(--wood); color: white; font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.cta:hover { background: #493021; }
.text-link { font-size: .9375rem; }
figcaption, small { color: var(--body); font-size: .8125rem; line-height: 1.45; }
figcaption { margin-top: 11px; }
.compare {
  position: absolute; inset: 0; --split: 50%; overflow: hidden;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.compare img, .views img, .tour-frame img { height: 100%; object-fit: cover; }
.compare img { object-position: 50% 57%; pointer-events: none; }
.compare-original, .compare-result { position: absolute; inset: 0; }
.compare-original { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(26 20 16 / .8), rgb(26 20 16 / .72) 38%, transparent 58%);
  mask-image: linear-gradient(180deg, transparent, #000 44%);
}
.photo-label {
  position: absolute; bottom: 14px; left: 14px; background: #342b24; color: white;
  padding: 5px 10px; border-radius: 2px; font-size: .8125rem; font-weight: 500;
}
.compare .photo-label { z-index: 1; inset: 24px auto auto var(--gutter); background: rgb(39 31 24 / .86); }
.compare .virtual-label { left: auto; right: var(--gutter); }
.divider {
  position: absolute; z-index: 1; inset-block: 0; left: var(--split); width: 2px;
  transform: translateX(-50%); background: white; box-shadow: 0 0 3px #30282080;
}
.grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px #30282040;
}
.grip svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.compare input {
  position: absolute; width: 1px; height: 1px; margin: 0;
  opacity: 0; pointer-events: none;
}
.compare:has(input:focus-visible) .grip { outline: 3px solid #006775; outline-offset: 2px; }
.account, .uses { background: var(--sand); }
.calc { border-top: 2px solid var(--wood); padding-top: 20px; }
.fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.fields label { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; font-size: .875rem; line-height: 1.4; }
.fields input {
  width: 100%; padding: 8px 10px; font-size: 1.1875rem; font-variant-numeric: tabular-nums;
  background: var(--paper); color: var(--ink); border: 1px solid #8b7967; border-radius: 2px;
}
output { display: block; border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 18px; }
output strong { font-family: var(--serif); font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 400; color: var(--wood); overflow-wrap: anywhere; }
.calc small { display: block; margin-top: 18px; }
/* As colunas seguem as bordas da janela. A margem pertence apenas ao texto. */
.spread {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
  grid-template-areas: "media copy";
}
.media-right { grid-template-areas: "copy media"; }
.spread-copy {
  grid-area: copy; width: 100%; max-width: 780px; justify-self: center;
  padding: clamp(36px, 5svh, 72px) clamp(28px, 4.8vw, 84px);
}
.media-pane { grid-area: media; position: relative; width: 100%; height: var(--view); }
.phone-stage, .monitor-stage { display: grid; place-items: center; isolation: isolate; }
.phone-stage {
  background: linear-gradient(128deg, #e4d9c9, #d5c5af 52%, #bda98d);
  padding-bottom: 2.25rem;
}
.phone {
  position: relative; width: min(58%, 37svh, 414px); aspect-ratio: 9 / 18;
  padding: 6px; border: 2px solid #4f4c46; border-radius: 13% / 6.5%;
  background: #242420; box-shadow: inset 1px 1px 0 #b9b5ac, inset -1px -1px 0 #66615a,
    8px 12px 20px -12px #36291d99, 22px 44px 48px -22px #53432f80;
}
.phone::before {
  content: ""; position: absolute; top: 21%; left: -4px; width: 3px; height: 8%;
  border-radius: 2px; background: #514c44;
}
.phone-screen {
  container-type: inline-size; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  height: 100%; overflow: hidden; border-radius: 11.5% / 5.75%; isolation: isolate;
  background: #0c1013; color: white; line-height: 1.2;
}
.reel-viewport { position: relative; min-height: 0; }
.phone-screen video, .reform video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.phone-screen video { position: absolute; inset: 0; }
.reel-overlay, .reel-comment { pointer-events: none; white-space: nowrap; }
.reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #0008, transparent 23%, transparent 58%, #0009);
  text-shadow: 0 .25cqw .8cqw #000a;
}
.reel-status, .reel-header {
  position: absolute; display: flex; justify-content: space-between; align-items: center;
}
.reel-status { inset: 4.5cqw 9.5cqw auto; font-size: 4.5cqw; }
.reel-status svg { width: 21cqw; }
.reel-header { inset: 17cqw 5cqw auto; font-size: 5.9cqw; }
.reel-header div { display: flex; gap: 3.8cqw; align-items: center; }
.reel-header span { color: rgb(255 255 255 / .73); font-weight: 600; }
.reel-header svg, .reel-icons svg {
  width: 6.4cqw; height: 6.4cqw; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 .25cqw .55cqw #0009);
}
.reel-icons { position: absolute; right: 4.5cqw; bottom: 5cqw; display: grid; gap: 4.8cqw; }
.reel-byline {
  position: absolute; left: 4cqw; right: 14cqw; bottom: 5cqw;
  display: grid; gap: 2.6cqw; font-size: 3.8cqw;
}
.reel-profile { display: flex; align-items: center; gap: 2.2cqw; }
.reel-profile svg { width: 9cqw; height: 9cqw; }
.reel-byline span { overflow: hidden; text-overflow: ellipsis; }
.reel-progress {
  position: absolute; inset: auto 0 0; height: .55cqw;
  background: linear-gradient(to right, #c4c8cd 49%, #ffffff38 49%);
}
.reel-comment { padding: 2.3cqw 4cqw 5.2cqw; }
.reel-comment span {
  display: block; padding: 3.5cqw 5cqw; border-radius: 8cqw; background: #1b2024; font-size: 4cqw;
}
.phone-screen .play-toggle {
  inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 13cqw; height: 13cqw;
  background: rgb(16 18 19 / .55);
}
.phone-screen .play-toggle:is(:hover, :focus-visible) { background: rgb(16 18 19 / .85); }
.phone-screen .play-toggle::before { margin-left: .8cqw; border-block-width: 2cqw; border-left-width: 3cqw; }
.phone-screen .play-toggle.is-playing::before {
  width: 3.5cqw; height: 4cqw; margin: 0; border: 0; border-inline: 1.1cqw solid currentColor;
}
.phone-stage figcaption { position: absolute; inset: auto 16px 20px; text-align: center; color: #392f25; }
.player { position: relative; }
.play-toggle {
  position: absolute; bottom: 16px; right: 16px; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid #fff8; border-radius: 50%;
  background: rgb(39 31 24 / .88); color: white;
}
.play-toggle:hover { background: var(--night); }
.play-toggle:focus-visible { outline-color: white; box-shadow: 0 0 0 7px var(--night); }
.play-toggle::before {
  content: ""; width: 0; height: 0; margin-left: 3px;
  border-block: 7px solid transparent; border-left: 11px solid currentColor;
}
.play-toggle.is-playing::before {
  width: 12px; height: 14px; margin: 0; border: 0; border-inline: 4px solid currentColor;
}
video { aspect-ratio: 10 / 9; object-fit: cover; background: var(--night); }
.reform, .close, footer { background: var(--night); color: var(--paper); }
.reform :focus-visible, .close :focus-visible { outline-color: var(--paper); }
.reform p, .close p, footer { color: #e6dacb; }
.short-list, .entries { padding: 0; list-style: none; }
.short-list { margin-top: 32px; }
.short-list li { border-top: 1px solid #796a5b; padding: 12px 0; }
.tour-frame { background: var(--sand); }
.tour-frame img { position: absolute; inset: 0; object-position: center 56%; }
.tour-frame .photo-label { top: 18px; bottom: auto; }
.tour-frame figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 18px; color: white;
  background: linear-gradient(transparent, rgb(32 27 22 / .78));
}
.tour-trigger { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); white-space: nowrap; background: var(--paper); color: var(--ink); }
.tour-trigger:hover { background: white; }
.tour-trigger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
html:has(#tour-dialog[open]) { overflow: hidden; }
#tour-dialog {
  width: 92vw; height: 88svh; max-width: 100%; max-height: 100svh; padding: 0;
  border: 1px solid #85796a; border-radius: 6px; background: var(--night); color: var(--paper);
}
#tour-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#tour-dialog::backdrop { background: rgb(22 19 16 / .83); }
.tour-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; }
.tour-toolbar strong { font: 1.25rem var(--serif); }
.tour-close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 15px;
  border: 0; border-radius: 3px; background: var(--paper); color: var(--ink); font-weight: 600;
}
.tour-close span { font-size: 1.5em; line-height: 1; }
#tour-dialog iframe { height: 100%; border: 0; }
.views { overflow: hidden; background: var(--paper); }
.views [role="tabpanel"] { position: absolute; inset: 0; opacity: 1; transition: opacity 180ms ease; }
.views [aria-hidden="true"] { opacity: 0; pointer-events: none; }
.views img[data-src]:not(.loaded), .views img[hidden] { visibility: hidden; }
.view-error {
  position: absolute; inset: 0; display: grid; place-content: center; max-width: none;
  padding: 24px; text-align: center; font: 1.4rem/1.3 var(--serif); color: var(--body);
}
.views [role="tabpanel"]:focus-visible { outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) {
  .views [role="tabpanel"] { transition: none; }
}
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 30px; }
.tabs button {
  min-height: 46px; border: 1px solid #8b7967; color: var(--ink); border-radius: 3px;
  background: transparent; padding: 9px 14px; font-size: .9375rem; line-height: 1.3; text-align: left;
}
.tabs button:first-child { grid-column: 1 / -1; }
.tabs [aria-selected="false"]:hover { background: var(--paper); }
.tabs [aria-selected="true"] { color: white; background: var(--wood); border-color: var(--wood); }
.entries li, dl > div { padding: 19px 0 22px; border-top: 1px solid var(--rule); }
.entries li:last-child, dl > div:last-child { padding-bottom: 0; }
.entries p, dd { margin-top: 8px; }
.process { position: relative; height: calc(3 * var(--view)); background: #e2d5c1; }
.process-pin {
  position: sticky; top: var(--mast-height); height: var(--view); overflow: hidden;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
}
.process-copy { width: 100%; max-width: 780px; justify-self: center; padding: clamp(36px, 5svh, 72px) clamp(28px, 4.8vw, 84px); }
.process-snap { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.process-snap:nth-of-type(1) { top: 0; }
.process-snap:nth-of-type(2) { top: var(--view); }
.process-snap:nth-of-type(3) { top: calc(2 * var(--view)); }
.process-media { position: relative; height: 100%; background: var(--night); overflow: hidden; }
.process-media img {
  position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.045);
  transition: opacity var(--slow) var(--ease), transform 900ms var(--ease);
}
.process-media img.is-on { opacity: 1; transform: none; }
.process:not(.is-live) .process-media img:first-child { opacity: 1; transform: none; }
.process h2 { max-width: 16ch; }
.process ol { --marker: clamp(44px, 4.3vw, 64px); counter-reset: step; margin-top: clamp(32px, 6svh, 64px); }
.process li {
  position: relative; display: grid; grid-template-columns: var(--marker) minmax(0, 1fr);
  column-gap: clamp(16px, 2vw, 32px); padding: 0 0 clamp(24px, 4svh, 48px);
  border: 0; counter-increment: step;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.process li:last-child { padding-bottom: 0; }
.process li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2; text-align: center;
  font: clamp(1.9rem, 2.8vw, 2.6rem)/1 var(--serif); color: var(--wood);
}
.process li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(var(--marker) / 2); top: clamp(36px, 3.5vw, 50px);
  bottom: 6px; border-left: 1px solid #9f8c75;
}
.process li p { max-width: 51ch; }
.process.is-live li { opacity: 0; transform: translateY(18px); }
.process.is-live li.is-done { opacity: .45; transform: none; }
.process.is-live li.is-active { opacity: 1; transform: none; }
.note { border-left: 2px solid var(--wood); padding-left: 18px; margin-top: 22px; }
.start { background: var(--sand); }
.start .cta, .close .cta { margin-top: 24px; }
dt { font-family: var(--serif); }
dd { color: var(--body); }
.close h2 { max-width: 16ch; }
.close .cta { color: var(--ink); background: var(--paper); }
.close .cta:hover { background: white; }
footer .wrap { border-top: 1px solid #796a5b; padding-block: 24px; font-size: .8125rem; }
@media (max-width: 840px) {
  .pair { grid-template-columns: minmax(0,1fr); gap: 28px; }
  h2 { max-width: 24ch; }
  .hero { display: block; }
  .hero-copy {
    width: auto; margin: 0; padding: 40px var(--gutter) 48px;
    background: var(--night);
  }
  .hero h1 { font-size: clamp(2.75rem, 7vw, 3.75rem); }
  .compare::after { display: none; }
  .hero figcaption { max-width: calc(100% - 2 * var(--gutter)); }
}
@media (max-width: 680px) {
  :root { --mast-height: 68px; }
  .mast-title { gap: 10px; }
  .plan { width: 31px; height: 31px; }
  nav { display: none; }
  .actions { gap: 12px 18px; }
  .compare .photo-label { top: 16px; }
  .hero figcaption {
    inset: auto 0 0; max-width: none; padding: 34px var(--gutter) 16px;
    background: linear-gradient(transparent, rgb(27 22 17 / .86) 65%);
    text-align: center; text-wrap: balance;
  }
  .fields { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .fields label { display: grid; grid-template-columns: minmax(0,1fr) minmax(72px,.55fr); align-items: center; }
}
/* O portal é uma miniatura editorial. As unidades cqi acompanham a largura do monitor. */
.deliverables { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
.deliverables h2 { font-size: clamp(2.4rem, 3.45vw, 3.75rem); }
.deliverables .entries { margin-top: clamp(24px, 4svh, 44px); }
.deliverables .entries li { padding: 12px 0; }
.deliverables .entries h3 { font-size: clamp(1.22rem, 1.6vw, 1.55rem); }
.deliverables .entries p { margin-top: 4px; line-height: 1.42; }
.monitor-stage { background: linear-gradient(145deg, #dadcd1, #c0c5b7 70%, #acb2a4); }
.monitor { width: min(92%, 104svh, 1120px); container-type: inline-size; }
.monitor-frame {
  position: relative; padding: max(5px, 1cqi) max(5px, 1cqi) 2.6cqi;
  border-radius: 2cqi; border: 1px solid #696962; background: #292a26;
  box-shadow: inset 0 1px 0 #999a8f, 0 1.7cqi 3.1cqi -1.6cqi #343a3270;
}
.monitor::before, .monitor::after { content: ""; display: block; margin-inline: auto; }
.monitor { display: flex; flex-direction: column; }
.monitor::before {
  order: 1; width: 15%; height: 6cqi; background: linear-gradient(#74756c, #b2b3a9 45%, #979a8f);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}
.monitor::after {
  order: 2; width: 32%; height: 1.25cqi; border-radius: 50% 50% 3px 3px;
  background: #787c72; box-shadow: 0 .65cqi 1cqi #4c534d80;
}
.portal { padding: 0 2.3cqi 2.5cqi; border-radius: 1cqi 1cqi 0 0; background: #fafaf6; color: #2d322f; line-height: 1.2; }
.portal-bar, .portal-tools { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.portal-bar { min-height: 8cqi; font-size: max(9px, 1.6cqi); }
.portal-bar b { display: inline-flex; align-items: center; gap: .65cqi; font-size: max(16px, 3.7cqi); letter-spacing: -.06em; }
.portal-bar svg { width: 1em; }
.portal-gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: max(2px, .45cqi); height: 31cqi;
}
.portal-photo { position: relative; min-width: 0; }
.portal-photo:first-child { grid-row: span 2; }
.portal-photo img { height: 100%; object-fit: cover; }
.portal-photo span {
  position: absolute; left: 3px; bottom: 3px; padding: 2px 3px; border-radius: 1px;
  background: rgb(30 30 25 / .85); color: white; font-size: clamp(7px, 1.35cqi, 12px);
}
.portal-tools { padding-block: 1cqi; border-bottom: 1px solid #d8dbd3; font-size: max(8px, 1.5cqi); font-weight: 600; }
.portal-tools span { padding: .45cqi 1cqi; border-radius: 3px; background: #e6e9e1; }
.portal-tools button { padding: .55cqi 1cqi; border: 1px solid #aab0a4; border-radius: 3px; color: inherit; background: transparent; }
.portal-details { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3cqi; padding-top: 2cqi; }
.portal-title small { color: #545d52; font-size: max(9px, 1.65cqi); }
.portal-title b { display: block; margin-top: .8cqi; max-width: 18ch; font: 600 max(14px, 3.1cqi)/1.12 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.035em; }
.portal-contact { display: grid; gap: .65cqi; padding: 1.35cqi; border: 1px solid #d8dbd3; border-radius: 4px; background: white; font-size: max(8px, 1.5cqi); }
.portal-contact strong { font-size: max(9px, 1.65cqi); margin-bottom: .35cqi; }
.portal-contact input, .portal-contact button { min-width: 0; padding: .55cqi .85cqi; border: 1px solid #cbd0c5; border-radius: 2px; background: #fafaf6; }
.portal-contact input::placeholder { color: #555c52; opacity: 1; }
.portal-contact button { background: #465042; color: white; border-color: transparent; }
.portal button { cursor: default; opacity: 1; }
@media (max-width: 820px) {
  .spread { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "copy"; }
  .spread-copy { max-width: 680px; padding: 44px var(--gutter) 56px; }
  .uses { grid-template-areas: "copy" "media"; }
  .uses .spread-copy { min-width: 0; padding-bottom: 16px; }
  .tabs {
    display: flex; overflow-x: auto; margin: 20px calc(-1 * var(--gutter)) 0;
    padding: 6px var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .tabs button { flex: none; }
  .media-pane { height: clamp(300px, 94vw, 65svh); }
  .phone-stage { height: clamp(450px, 105vw, 640px); padding-bottom: 22px; }
  .phone { width: min(57%, 240px); max-height: calc(100% - 60px); height: auto; aspect-ratio: 9 / 18; justify-self: center; }
  .phone-stage figcaption { bottom: 12px; font-size: .75rem; }
  .monitor-stage { height: auto; min-height: 300px; padding-block: clamp(32px, 8vw, 60px); }
  .monitor { width: 95%; }
}
/* Cada seção ocupa pelo menos uma tela e a rolagem encaixa no topo da seguinte. */
main > section:not(.hero):not(.process) { min-height: var(--view); }
main > section.band { display: grid; align-content: center; }
main > section.wrap.pair { align-content: center; }
main > section:not(.process), .process-snap { scroll-snap-align: start; }
footer { scroll-snap-align: end; }
html { scroll-snap-type: y proximity; scroll-padding-top: var(--mast-height); }
@supports (height: 100svh) { :root { --view: calc(100svh - var(--mast-height)); } }
html.paged { scroll-snap-type: none; scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .process li, .process-media img { transition: none; transform: none; }
}
@media (max-width: 820px) {
  .process-pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: 40svh minmax(0, 1fr); align-items: start; }
  .process-media { grid-row: 1; }
  .process-copy { grid-row: 2; max-width: 680px; padding: 28px var(--gutter) 24px; }
  .process ol { display: grid; margin-top: 22px; }
  .process.is-live li { grid-area: 1 / 1; padding-bottom: 0; }
  .process.is-live li.is-done { opacity: 0; }
  .process.is-live li::after { display: none; }
}
.process.is-live li.is-active::after { opacity: 0; }
/* Movimento: curvas e tempos no padrão da Apple (HIG), sempre a serviço do conteúdo. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --fast: 200ms; --instant: 100ms; }
.spread { overflow: clip; }
.rv { opacity: 0; transform: translateY(22px); }
.rv-media { opacity: 0; transform: scale(1.035); }
.rv.in, .rv-media.in { opacity: 1; transform: none; }
.rv.in { transition: opacity 600ms var(--ease) var(--d, 0ms), transform 800ms var(--ease-out) var(--d, 0ms); }
.rv-media.in { transition: opacity 700ms var(--ease), transform 1200ms var(--ease-out); }
.hero-copy h1 span, .hero-copy > p, .hero-copy .actions { animation: rise 900ms var(--ease-out) both; }
.hero-copy h1 span:nth-child(2) { animation-delay: 90ms; }
.hero-copy > p { animation-delay: 220ms; }
.hero-copy .actions { animation-delay: 340ms; }
.compare img { animation: settle 1600ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes settle { from { transform: scale(1.05); } }
.cta, .tour-trigger, .tabs button, .tour-close, .play-toggle {
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease),
    border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), transform var(--instant) ease-out;
}
.cta:hover { box-shadow: 0 6px 18px -8px rgb(48 40 32 / .55); }
.cta:active, .tabs button:active, .tour-close:active { transform: scale(.97); }
.tour-trigger:hover { box-shadow: 0 10px 28px -10px rgb(20 16 12 / .7); }
.tour-trigger:active { transform: translate(-50%, -50%) scale(.97); }
.text-link { transition: text-underline-offset var(--fast) var(--ease); }
.text-link:hover { text-underline-offset: 8px; }
nav a, nav a:hover {
  text-decoration: none; padding-block: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 300ms var(--ease);
}
nav a:hover, nav a:focus-visible { background-size: 100% 1px; }
.mast::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--rule);
  box-shadow: 0 0 0 100vmax var(--rule); clip-path: inset(0 -100vmax);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.mast.is-scrolled::after { opacity: 1; }
.views [role="tabpanel"] { transition: opacity 450ms var(--ease); }
.views [role="tabpanel"] img { transition: transform 900ms var(--ease-out); }
.views [aria-hidden="true"] img { transform: scale(1.03); }
.tabs button { transition-duration: 300ms, 300ms, 300ms, 300ms, var(--instant); }
.fields input { transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.fields input:focus { border-color: var(--wood); box-shadow: 0 0 0 4px rgb(96 64 46 / .18); }
output strong { display: inline-block; }
output strong.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { from { opacity: .35; transform: translateY(6px); } }
#tour-dialog[open] { animation: sheet 420ms var(--ease-out); }
#tour-dialog[open]::backdrop { animation: fade 300ms var(--ease); }
@keyframes sheet { from { opacity: 0; transform: translateY(24px) scale(.985); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv-media { opacity: 1; transform: none; }
}
/* Benefícios: os três itens se revezam e a imagem acompanha. */
.cycle-views, .proof { overflow: hidden; background: var(--night); }
.cycle-views img, .proof img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.cycle-views img { opacity: 0; transform: scale(1.06); transition: opacity 900ms var(--ease), transform 6s linear; }
.cycle-views img.is-on { opacity: 1; transform: none; }
.benefits .cycle { margin-top: clamp(24px, 4svh, 44px); }
.cycle li { position: relative; cursor: pointer; border-top-color: var(--rule); transition: opacity 400ms var(--ease); }
.cycle.is-live li { opacity: .42; }
.cycle.is-live li.is-active { opacity: 1; }
.cycle li::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--wood);
  transform: scaleX(0); transform-origin: left;
}
.cycle.is-live li.is-active::before { transform: scaleX(1); transition: transform var(--cycle, 4500ms) linear; }
.cycle.is-paused li.is-active::before { transition: none; }
/* Transparência: a foto real e a ambientada se alternam sozinhas, cada uma com a sua etiqueta. */
.transparency { background: var(--sand); }
.proof { --cut: 50%; }
.proof-real { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.proof-line { position: absolute; inset-block: 0; left: var(--cut); width: 2px; margin-left: -1px; background: white; box-shadow: 0 0 3px #30282080; }
.proof .photo-label { z-index: 1; inset: 20px auto auto 20px; background: rgb(39 31 24 / .86); }
.proof .virtual-label { left: auto; right: 20px; }
@media (max-width: 820px) {
  .transparency { grid-template-areas: "media" "copy"; }
}
/* Menu e rodapé: contato sempre à mão. */
nav a.nav-cta, nav a.nav-cta:hover { min-height: 40px; padding: 9px 18px; background: var(--wood); font-size: .875rem; }
nav a.nav-cta:hover { background: #493021; }
.foot { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; }
.foot img { width: auto; height: 44px; flex: none; }
.foot p { flex: 1 1 320px; margin: 0; max-width: none; font-size: inherit; color: inherit; }
.foot-contact {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--paper);
  font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.foot-contact svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
