/* Licensed under Spatial Sites key SS-123-9GQG6N. Redistribution prohibited. https://spatialsites.co/licence */
/* Vizinho Digital. Archivo nos títulos, Instrument Sans no texto, IBM Plex Mono nos rótulos. A órbita ganha a cor do
   telefone que está à frente (--g0 a borda, --g1 a luz do meio, --ink as palavras), escritas por assets/app.js;
   tudo o que vem depois é papel quente e tinta azul-noite, com o terracota do logo para o que se carrega. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #182b38;
  --night-2: #223b49;
  --paper: #f7f6f2;
  --stone: #efe9e1;
  --accent: #b75a3f;
  --accent-hover: #984831;
  --accent-muted: #f3e6df;
  /* As cores das secções saem dos próprios sites: a página não perde cor ao descer. */
  --terra: #a94f35;
  --vinho: #5f3b3f;
  --areia: #f0d9b8;
  --sol: #ffcf3a;
  --pessego: #f3e6df;
  --ink-text: #202a30;
  --muted: #59646b;
  --line: rgba(32, 42, 48, 0.14);
  --metal: linear-gradient(90deg, #6f7376, #3a3d40 18%, #2b2d30 50%, #3a3d40 82%, #6f7376);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --bar: 64px;
  --stage-h: 100vh;
  --toolbar: 0px;
  --sai: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}
/* O palco tem a altura maior do ecrã, para a barra do navegador não abrir uma tira ao rolar; o que se carrega fica acima dela. */
@supports (height: 1lvh) { :root { --stage-h: 100lvh; --toolbar: calc(100lvh - 100svh); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.em-intro { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink-text); font: 400 16px/1.5 var(--body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #111; color: #fff; padding: 10px 14px; border-radius: 2px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.kicker { margin: 0 0 16px; font: 400 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.82; }
.sec-title { margin: 0; font: 800 clamp(40px, 5.2vw, 84px)/0.98 var(--display); letter-spacing: -0.025em; }

/* Os botões mantêm 2 px de raio, como tudo o que se carrega aqui. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 1px solid currentColor; border-radius: 2px; background: transparent; color: inherit; font: 600 14px/1 var(--body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, transform 0.15s var(--sai); white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ink { background: var(--ink-text); border-color: var(--ink-text); color: #fff; }
.btn-wide { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .nav a:hover { opacity: 1; }
  .orbit-turn:hover { opacity: 1; }
  .foot-nav a:hover { opacity: 1; }
}

/* ---------- A abertura ---------- */
.intro { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 46%, #2a4556 0%, #101d26 72%); color: #fff; will-change: transform; }
html:not(.js) .intro, .intro[hidden] { display: none; }
.intro-lockup { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.4vh, 28px); will-change: transform; }
.intro-clip { overflow: hidden; padding: 6px; }
.intro-mark { width: clamp(96px, 11vw, 148px); height: auto; will-change: transform; transform: translateY(112%); }
[data-intro-porta] { opacity: 0; }
.intro-word { display: block; overflow: hidden; font: 800 clamp(30px, 4.6vw, 68px)/1.08 var(--display); letter-spacing: -0.015em; padding-bottom: 0.06em; white-space: nowrap; }
.intro-word span { display: block; will-change: transform; transform: translateY(112%); }

/* ---------- A barra ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--bar); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); color: var(--bar-ink, #fff); transition: background-color 0.35s, color 0.35s; }
.bar.is-paper { background: var(--bar-bg, var(--paper)); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font: 800 18px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font: 500 14px/1 var(--body); text-decoration: none; opacity: 0.82; transition: opacity 0.2s; }
.bar-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 2px; font: 600 14px/1 var(--body); text-decoration: none; white-space: nowrap; transition: transform 0.15s var(--sai); }
.bar-cta:active { transform: scale(0.97); }
.bar.is-paper .bar-cta { background: var(--bar-ink); border-color: var(--bar-ink); color: var(--bar-bg, #fff); }

.bar-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; opacity: 0.65; transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ---------- A órbita ---------- */
.orbit { position: relative; height: 520svh; }
.orbit-stage { position: sticky; top: 0; height: var(--stage-h); overflow: hidden; color: var(--ink, #fff); --g0: #5f3b3f; --g1: #ac7f82; --ink: #ffffff; outline: none; }
.orbit-ground { position: absolute; inset: 0; background: radial-gradient(90% 85% at 66% 62%, var(--g1) 0%, var(--g0) 66%); }
.orbit-watermark { position: absolute; width: min(70vw, 980px); height: min(70vw, 980px); left: -14vw; top: 58%; transform: translateY(-50%); color: var(--ink); opacity: 0.05; pointer-events: none; }
.orbit-copy { position: absolute; left: var(--gutter); top: calc(var(--bar) + clamp(20px, 6vh, 64px)); z-index: 5; max-width: 48vw; }
.orbit-title { margin: 0; font: 800 clamp(44px, 5vw, 82px)/0.98 var(--display); letter-spacing: -0.025em; }
.orbit-line { margin: 20px 0 0; max-width: 34ch; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.5; opacity: 0.88; }
.orbit-pick { position: absolute; right: var(--gutter); top: calc(var(--bar) + clamp(20px, 6vh, 64px)); z-index: 6; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.swatches { display: flex; gap: 2px; }
.swatch { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.swatch::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.15); }
.swatch::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.25s var(--sai); }
.swatch[aria-checked="true"]::after { opacity: 1; transform: none; }
.orbit-count { margin: 0; opacity: 0.8; white-space: nowrap; }
.orbit-ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.orbit-ring ellipse { stroke: var(--ink); stroke-width: 1; }
.orbit-ring [data-ring-back] { opacity: 0.2; }
.orbit-ring [data-ring-front] { opacity: 0.42; }
.orbit-shoes { position: absolute; inset: 0; z-index: 3; touch-action: pan-y; cursor: grab; }
.orbit-shoes.is-dragging { cursor: grabbing; }
/* O telefone: cada um com a sua perspetiva, frente e costas reais, e a grossura em fatias de metal. */
.shoe { position: absolute; left: 0; top: 0; transform-origin: 50% 97%; perspective: 1500px; will-change: transform, opacity; pointer-events: none; }
.corpo { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.corpo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; -webkit-user-drag: none; user-select: none; }
.fatia { position: absolute; inset: 0 0.9%; border-radius: 14.2% / 6.8%; background: var(--metal); }
.corpo.fino .fatia { display: none; }
.vidro { position: absolute; inset: 2.74% 4.8%; border-radius: 11% / 5.3%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
.vidro i { position: absolute; inset: 0 -60%; background: linear-gradient(112deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.13) 47%, rgba(255, 255, 255, 0.03) 53%, rgba(255, 255, 255, 0) 60%); will-change: transform; }
.shoe-still { width: min(46vw, 320px); margin: 24vh auto 0; }
.shoe-shadow { position: absolute; left: 0; top: 0; z-index: 2; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); pointer-events: none; will-change: transform, opacity; }
.orbit-handle { position: absolute; left: 0; top: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 2px; width: 46px; height: 46px; padding: 0; transform: translate(-50%, -50%); border: 1px solid color-mix(in srgb, var(--ink) 55%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--g0) 82%, transparent); color: var(--ink); font: 500 18px/1 var(--body); cursor: grab; touch-action: none; }
.orbit-handle i { display: none; }
.orbit-turn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: 500 13px/1 var(--body); cursor: pointer; opacity: 0.86; }
.orbit-turn svg { width: 18px; height: 18px; }
.orbit-buy { position: absolute; left: var(--gutter); bottom: calc(clamp(18px, 4vh, 40px) + var(--toolbar)); z-index: 6; display: grid; gap: 16px; width: min(40vw, 520px); }
.buy-tipo { margin: 0 0 8px; opacity: 0.8; }
.buy-title { margin: 0; font: 800 clamp(26px, 2.6vw, 38px)/1.02 var(--display); letter-spacing: -0.015em; }
.buy-line { margin: 8px 0 0; max-width: 40ch; font-size: 15px; line-height: 1.45; opacity: 0.86; }
.buy-act { display: flex; flex-wrap: wrap; gap: 10px; }
.orbit-buy .btn-solid { background: var(--ink); border-color: var(--ink); color: var(--g0); }
.btn[hidden] { display: none; }

/* ---------- O nome ---------- */
.name .kicker { opacity: 1; }
.name .btn-ink { background: #fff; border-color: #fff; color: #7a3623; }
.name { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(340px, 46%) 1fr; align-items: center; overflow: hidden; padding: calc(var(--bar) + 40px) 0 72px var(--gutter); background: var(--terra); color: #fff; }
.name-copy { position: relative; z-index: 2; }
.name-title { display: flex; flex-direction: column; margin: 0 0 28px; font: 900 clamp(72px, 8.6vw, 170px)/0.86 var(--display); letter-spacing: -0.045em; will-change: transform; }
.name-title span + span { color: transparent; -webkit-text-stroke: clamp(1.5px, 0.18vw, 3px) #fff; }
.name-text { margin: 0 0 28px; max-width: 40ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: #fff; }
.name-rule { display: grid; gap: 10px; margin-top: 40px; width: 120px; }
.name-rule i { display: block; height: 2px; background: #fff; transform-origin: left; transform: scaleX(0.3); }
.name-rule i + i { opacity: 0.3; transform: none; }
/* A foto do telefone na mesa enche o lado direito; o scroll aproxima a foto, não o painel. */
.name-macro { position: absolute; right: 0; top: 0; bottom: 0; width: 48vw; margin: 0; overflow: hidden; background: #e8dfd5; }
.name-macro img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 62% 26%; will-change: transform; transition: opacity 0.4s; }

/* ---------- Por dentro ---------- */
.inside { position: relative; height: 340svh; background: var(--vinho); color: #fff; }
.inside-stage { position: sticky; top: 0; height: var(--stage-h); overflow: hidden; }
.inside-watermark { position: absolute; width: min(90vw, 1000px); height: min(90vw, 1000px); left: 50%; top: 54%; transform: translate(-42%, -50%); color: #fff; opacity: 0.05; pointer-events: none; }
.inside-copy { position: absolute; left: var(--gutter); top: calc(var(--bar) + clamp(20px, 6vh, 60px)); z-index: 3; }
.inside-title { margin: 0; font: 800 clamp(40px, 5.2vw, 84px)/0.98 var(--display); letter-spacing: -0.025em; }
.inside-shoe { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.inside-side, .layer { position: absolute; left: 0; top: 0; max-width: none; will-change: transform, opacity; transform-origin: 50% 50%; }
.inside-side { z-index: 20; }
.inside-base { z-index: 0; }
.layer { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 5px 0 -1px rgba(255, 255, 255, 0.34), -14px 26px 38px rgba(20, 8, 10, 0.5); visibility: hidden; }
.layer > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.layer-sombra { position: absolute; inset: 0; z-index: 3; background: #1d0f12; opacity: 0; pointer-events: none; }
/* O que acontece em cada peça quando ela vem à frente. O tamanho vem de --u (em assets/app.js), para acompanhar a peça. */
.vida { position: absolute; inset: 0; z-index: 2; font-size: var(--u, 12px); pointer-events: none; }
.chip { position: absolute; left: 50%; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.7em 1em; border-radius: 99em; background: #fff; color: var(--ink-text); font: 600 1em/1 var(--body); white-space: nowrap; box-shadow: 0 0.6em 1.6em rgba(20, 8, 10, 0.32); opacity: 0; transform: translate(-50%, 1em) scale(0.92); transition: opacity 0.3s, transform 0.5s var(--sai); }
.is-vivo .chip { opacity: 1; transform: translate(-50%, 0); }
.brilho { position: absolute; inset: 0 -40%; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 60%); transform: translateX(-70%); }
.is-vivo .brilho { transform: translateX(70%); transition: transform 1.1s 0.15s cubic-bezier(0.4, 0, 0.3, 1); }
.wa { bottom: 8%; padding: 0.9em 1.3em; background: #128246; color: #fff; }
.wa svg { width: 1.3em; height: 1.3em; }
.wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #25d366; opacity: 0; }
.is-vivo .wa::before { animation: onda-wa 1.7s 0.5s ease-out infinite; }
@keyframes onda-wa { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.8); } }
.balao { bottom: 21%; font-weight: 500; border-radius: 1.2em 1.2em 1.2em 0.2em; transition-delay: 0.45s; }
.estrelas { top: 58%; flex-direction: column; gap: 0.5em; padding: 1em 1.3em; border-radius: 1em; }
.estrelas span { display: flex; gap: 0.15em; font-size: 1.6em; line-height: 1; }
.estrelas b { color: #d8d2c8; font-weight: 400; transition: color 0.25s, transform 0.4s var(--sai); }
.is-vivo .estrelas b { color: #e49b00; transform: scale(1.14); }
.estrelas b:nth-child(1) { transition-delay: 0.25s; } .estrelas b:nth-child(2) { transition-delay: 0.38s; } .estrelas b:nth-child(3) { transition-delay: 0.51s; } .estrelas b:nth-child(4) { transition-delay: 0.64s; } .estrelas b:nth-child(5) { transition-delay: 0.77s; }
.pino { position: absolute; left: 50%; top: 58%; width: 3.6em; height: 4.6em; margin: -4.6em 0 0 -1.8em; color: var(--accent); opacity: 0; transform: translateY(-5em); filter: drop-shadow(0 0.4em 0.4em rgba(20, 8, 10, 0.4)); }
.is-vivo .pino { opacity: 1; transform: none; transition: opacity 0.15s 0.1s, transform 0.65s 0.1s cubic-bezier(0.3, 1.5, 0.5, 1); }
.pino-onda { position: absolute; left: 50%; top: 58%; width: 4em; height: 1.6em; margin: -0.8em 0 0 -2em; border: 0.14em solid var(--accent); border-radius: 50%; opacity: 0; }
.is-vivo .pino-onda { animation: onda-pino 1.8s 0.65s ease-out infinite; }
@keyframes onda-pino { 0% { opacity: 0.8; transform: scale(0.3); } 100% { opacity: 0; transform: scale(2); } }
.mapa-chip { top: 66%; transition-delay: 0.6s; }
.selo { top: 30%; background: #182b38; color: #fff; }
.selo svg { width: 1.2em; height: 1.2em; color: #5fd08f; }
.inside-pills { list-style: none; margin: 0; padding: 0; }
/* Uma peça explicada de cada vez, a que está à frente. */
.pill { position: absolute; left: var(--gutter); top: var(--pill-top, 40%); z-index: 4; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; width: min(25vw, 330px); padding: 16px 18px 18px 14px; border-radius: 10px; background: #fff; color: var(--ink-text); box-shadow: 0 10px 30px rgba(20, 8, 10, 0.28); opacity: 0; transform: translateY(12px); transition: opacity 0.3s, transform 0.45s var(--sai); }
.pill.is-current { opacity: 1; transform: none; }
.pill b { font: 700 clamp(16px, 1.4vw, 20px)/1.2 var(--body); }
.pill > span:last-child { grid-column: 2; font-size: clamp(14px, 1.05vw, 15px); line-height: 1.4; color: var(--muted); }
.pill-n { grid-column: 1; grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 12px/1 var(--body); }
.inside-link { position: absolute; left: var(--gutter); top: var(--pill-top, 40%); z-index: 4; opacity: 0; transform: translateY(14px); transition: opacity 0.35s, transform 0.5s var(--sai); pointer-events: none; }
.inside-link.is-on { opacity: 1; transform: none; }
.inside-link .mono { margin: 0 0 10px; opacity: 0.84; }
.inside-url { margin: 0; padding: 14px 18px; border-radius: 8px; background: #fff; color: var(--night); font: 700 clamp(18px, 1.9vw, 28px)/1.1 var(--body); white-space: nowrap; }
.inside-url i { font-style: normal; color: #984831; }

/* ---------- O trabalho ---------- */
.range { padding: clamp(80px, 12vh, 140px) var(--gutter); background: var(--night); color: #fff; }
.range-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 40px; margin-bottom: 36px; }
.range-head .kicker { grid-column: 1 / -1; margin-bottom: 4px; }
.range-title { margin: 0; font: 800 clamp(40px, 5.2vw, 84px)/0.98 var(--display); letter-spacing: -0.025em; }
.range-line { margin: 0; max-width: 36ch; color: rgba(255, 255, 255, 0.82); }
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 20px 20px 18px; border-radius: 6px; overflow: hidden; background: radial-gradient(100% 70% at 50% 34%, var(--g1), var(--g0) 72%); color: var(--ink); }
.card-shoe { position: relative; display: block; width: 62%; aspect-ratio: 444 / 911; margin: 14px auto 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.card-shoe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.35s, transform 0.5s var(--sai); }
.card-shoe .card-back { opacity: 0; transform: scaleX(0.55); }
.card.is-turned .card-shoe .card-hero { opacity: 0; transform: scaleX(0.55); }
.card.is-turned .card-shoe .card-back { opacity: 1; transform: none; }
.card-texto { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-tipo { margin: 0 0 6px; opacity: 0.82; }
.card-name { margin: 0; font: 800 26px/1 var(--display); letter-spacing: -0.01em; }
.card-line { margin: 8px 0 8px; font-size: 14px; line-height: 1.45; opacity: 0.88; }
.card-prova { margin: 0 0 16px; font-size: 13px; font-weight: 600; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; }
.card .btn { height: 44px; padding: 0 16px; border-color: color-mix(in srgb, currentColor 55%, transparent); }

/* ---------- Como funciona, preço e perguntas ---------- */
.como, .preco, .perguntas { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.como { background: var(--areia); }
.como { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.como-head { position: sticky; top: calc(var(--bar) + 36px); }
.como .sec-title { font-size: clamp(34px, 3.4vw, 60px); }
.como-fotos { position: relative; aspect-ratio: 16 / 10; max-height: calc(100svh - var(--bar) - 300px); margin: 28px 0 0; border-radius: 6px; overflow: hidden; background: var(--night); }
.como-fotos > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.6s, transform 1.3s var(--sai); }
.como-fotos > .is-on { opacity: 1; transform: none; }
.como-lista { position: relative; padding-left: 30px; }
.rail { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: rgba(32, 42, 48, 0.18); }
.rail b { display: block; height: 100%; background: var(--ink-text); transform-origin: top; }
html.mov .rail b { transform: scaleY(0); }
.passos { list-style: none; margin: 0; padding: 0; }
.passo { min-height: 40vh; }
.passo:last-child { min-height: 0; }
/* O último passo tem o comprimento do vídeo: enquanto o scroll o percorre, o texto fica parado e a câmara aproxima-se. */
html.mov .passo:last-child { min-height: 125vh; }
html.mov .passo-fixo { position: sticky; top: 30vh; }
html.mov .passo { opacity: 0.28; transition: opacity 0.4s; }
html.mov .passo.is-on { opacity: 1; }
.passo .mono { color: #7a3623; }
.passo h3 { margin: 12px 0 10px; font: 800 clamp(28px, 3.3vw, 50px)/1.02 var(--display); letter-spacing: -0.02em; }
.passo p { margin: 0; max-width: 44ch; font-size: clamp(15px, 1.2vw, 18px); color: #3f4a50; }
.preco { background: var(--sol); }
.preco .kicker { opacity: 1; }
.planos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.plano { display: flex; flex-direction: column; padding: 24px; border: 0; border-radius: 6px; background: #fff; }
.plano h3, .plano h4 { margin: 0; font-weight: 400; }
.plano ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.plano li { padding-left: 16px; position: relative; }
.plano li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 2px; background: var(--accent); }
.plano .btn { margin-top: auto; }
.plano-dest { background: var(--night); border-color: var(--night); color: #fff; }
.plano-dest ul { color: rgba(255, 255, 255, 0.78); }
.plano-dest { z-index: 2; position: relative; }
.valor { font-variant-numeric: tabular-nums; margin: 12px 0 20px; font: 800 clamp(44px, 4.6vw, 68px)/1 var(--display); letter-spacing: -0.03em; }
.valor small { font: 500 15px/1 var(--body); letter-spacing: 0; margin-left: 2px; }
.mensal { margin-top: clamp(72px, 11vh, 130px); }
.mensal-line { margin: 18px 0 0; max-width: 44ch; font-size: clamp(15px, 1.2vw, 18px); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font: 400 22px/1 var(--mono); color: #8f402c; }
details[open] > summary::after { content: "\2212"; }
.perguntas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; background: var(--pessego); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq p { margin: 0 0 18px; max-width: 56ch; color: #4a5359; }

/* ---------- O formulário e o rodapé ---------- */
.list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: 40px 64px; align-items: center; padding: clamp(80px, 13vh, 150px) var(--gutter); position: relative; overflow: hidden; background: var(--night); color: #fff; scroll-margin-top: var(--bar); }
/* A rua ao fundo; o véu garante a leitura mesmo por cima de um candeeiro aceso. */
.list-fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.list::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(16, 29, 38, 0.92) 0%, rgba(16, 29, 38, 0.74) 52%, rgba(16, 29, 38, 0.42) 100%); }
.list-copy, .list-form { position: relative; z-index: 2; }
.list-title { margin: 0; font: 800 clamp(44px, 6vw, 96px)/0.98 var(--display); letter-spacing: -0.025em; }
.list-line { margin: 18px 0 0; max-width: 44ch; font-size: 17px; opacity: 0.88; }
.list-form { display: grid; gap: 14px; padding: 24px; border-radius: 6px; background: var(--paper); color: var(--ink-text); }
.list-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.list-form input:not([type="hidden"]) { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid rgba(32, 42, 48, 0.3); border-radius: 2px; background: #fff; font-size: 16px; font-weight: 400; }
.list-note { min-height: 1em; margin: 0; font-size: 14px; color: var(--muted); }
.foot { padding: clamp(60px, 10vh, 110px) var(--gutter) 40px; background: #101d26; color: #fff; }
.foot-lockup { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); text-decoration: none; }
.foot-lockup svg { flex: none; width: clamp(48px, 8vw, 128px); height: clamp(48px, 8vw, 128px); }
.foot-lockup span { font: 800 clamp(36px, 8.6vw, 150px)/0.95 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 36px 0 12px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.foot-small { margin: 0; max-width: 70ch; font-size: 13px; line-height: 1.55; opacity: 0.66; }

/* ---------- O scroll com mais interação: só para quem não pediu menos movimento ---------- */
/* A secção seguinte sobe como uma cortina por cima da anterior, que fica presa, encolhe e escurece. */
.veu { position: absolute; inset: 0; z-index: 30; background: #0a1218; opacity: 0; pointer-events: none; }
html.mov .orbit { height: 620svh; background: #101d26; z-index: 1; }
html.mov .name { margin-top: calc(var(--stage-h) * -1); z-index: 2; }
html.mov .inside { height: 680svh; z-index: 3; margin-top: -28px; }
html.mov .range { position: relative; margin-top: calc(var(--stage-h) * -1); z-index: 4; padding: 0; }
html.mov .como { margin-top: -28px; z-index: 5; position: relative; }
html.mov .preco { margin-top: -28px; z-index: 6; position: relative; }
html.mov .perguntas { margin-top: -28px; z-index: 7; position: relative; }
html.mov .list { margin-top: -28px; z-index: 8; position: relative; }
html.mov .foot { margin-top: -28px; z-index: 9; position: relative; }
html.mov [data-faixa] { border-radius: 28px 28px 0 0; }
html.mov .como, html.mov .preco, html.mov .perguntas, html.mov .list, html.mov .foot { padding-top: calc(clamp(80px, 12vh, 140px) + 28px); }
/* O trabalho: palco preso, cartões em fila, a altura da secção vem do comprimento da fila (assets/app.js). */
html.mov .range-pin { position: sticky; top: 0; height: var(--stage-h); overflow: clip; display: flex; flex-direction: column; padding: calc(var(--bar) + 18px) 0 calc(20px + var(--toolbar)); }
html.mov .range-head { flex: none; margin-bottom: 20px; padding: 0 var(--gutter); }
html.mov .range-grid { flex: 1; min-height: 0; display: flex; gap: 16px; width: max-content; padding: 0 var(--gutter); will-change: transform; }
html.mov .card { flex: none; width: clamp(460px, 46vw, 760px); height: 100%; min-height: 0; flex-direction: row; gap: 24px; align-items: stretch; }
html.mov .card-shoe { flex: none; width: auto; height: 100%; margin: 0; aspect-ratio: 444 / 911; will-change: transform; }
html.mov .card-texto { justify-content: flex-end; }

/* ---------- Ecrãs menores ---------- */
@media (max-width: 1080px) {
  .name { grid-template-columns: 1fr; padding: calc(var(--bar) + 30px) var(--gutter) 0; align-content: start; }
  .name-macro { position: relative; right: auto; top: auto; bottom: auto; width: auto; aspect-ratio: 1 / 1; max-height: 72svh; margin: 28px calc(var(--gutter) * -1) 0; }
  .list { grid-template-columns: 1fr; }
  /* Sem espaço ao lado: a explicação da peça vai para baixo dela. */
  .inside-pills { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--toolbar)); display: grid; }
  .pill { position: static; display: none; width: auto; padding: 10px 14px 11px 12px; border-radius: 8px; opacity: 1; transform: none; }
  .pill.is-current { display: grid; }
  .pill > span:last-child { font-size: 13px; }
  .inside-link { top: auto; bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--toolbar)); }
}
/* No tablet a coluna é estreita: o bloco do site fica por cima do telefone vizinho, em fundo próprio. */
@media (min-width: 761px) and (max-width: 1080px) {
  .orbit-buy { width: min(44vw, 400px); padding: 14px; border-radius: 6px; background: color-mix(in srgb, var(--g0) 90%, transparent); }
}
@media (max-width: 419.98px) {
  .orbit-count { display: none; }
}
@media (max-width: 760px) {
  :root { --bar: 56px; }
  .nav { display: none; }
  .bar-cta { margin-left: auto; height: 40px; padding: 0 12px; font-size: 13px; }
  .brand-name { font-size: 16px; }
  .orbit { height: 470svh; }
  .orbit-copy { top: calc(var(--bar) + 10px); max-width: none; right: var(--gutter); }
  .kicker { margin-bottom: 10px; }
  .orbit-title { font-size: clamp(32px, 9.6vw, 48px); }
  .orbit-line { margin-top: 8px; font-size: 14px; max-width: 34ch; }
  .orbit-pick { top: auto; right: auto; left: var(--gutter); bottom: calc(var(--pick-bottom, 186px) + var(--toolbar)); flex-direction: row; align-items: center; justify-content: space-between; width: calc(100% - var(--gutter) * 2); }
  .swatches { gap: 0; }
  .orbit-watermark { width: 120vw; height: 120vw; left: -30vw; top: 46%; }
  .orbit-buy { right: var(--gutter); width: auto; gap: 10px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--toolbar)); }
  .buy-tipo { display: none; }
  .buy-title { font-size: 22px; }
  .buy-line { margin-top: 4px; font-size: 13px; }
  .buy-act .btn { flex: 1; height: 44px; padding: 0 12px; }
  .orbit-handle { width: 40px; height: 40px; }
  .orbit-turn { padding: 0 11px; }
  .turn-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .orbit-turn svg { width: 22px; height: 22px; }
  .name-title { font-size: clamp(60px, 18vw, 110px); margin-bottom: 18px; }
  .inside { height: 300svh; }
  .range-head { grid-template-columns: 1fr; }
  .range-grid { grid-template-columns: 1fr; gap: 12px; }
  .card-shoe { width: 56%; }
  /* No telemóvel a imagem fica presa em cima enquanto os passos passam por baixo dela. */
  .como { display: block; }
  .como-head { display: contents; }
  .como-fotos { position: sticky; top: calc(var(--bar) + 8px); z-index: 2; aspect-ratio: 16 / 9; max-height: none; margin: 20px 0 28px; box-shadow: 0 10px 0 -2px var(--areia); }
  .passo { min-height: 34vh; }
  .planos { grid-template-columns: 1fr; margin-top: 32px; }
  .list::before { background: rgba(16, 29, 38, 0.8); }
  .perguntas { grid-template-columns: 1fr; gap: 24px; }
  .list-form { padding: 18px; }
}
@media (max-width: 760px) {
  html.mov .orbit { height: 570svh; }
  html.mov .inside { height: 620svh; }
  html.mov .passo:last-child { min-height: 105vh; }
  html.mov .passo-fixo { top: calc(var(--bar) + 56vw + 36px); }
  html.mov [data-faixa] { border-radius: 20px 20px 0 0; }
  html.mov .range-head { margin-bottom: 14px; }
  html.mov .range-grid { gap: 10px; }
  html.mov .card { width: 80vw; flex-direction: column; gap: 10px; padding: 14px; }
  html.mov .card-shoe { flex: 1; min-height: 0; width: 100%; height: auto; aspect-ratio: auto; }
  html.mov .card-texto { flex: none; }
  html.mov .card-line { margin: 4px 0; font-size: 13px; }
  html.mov .card-prova { margin-bottom: 10px; }
}
@media (max-height: 700px) and (max-width: 760px) {
  html.mov .card-line, html.mov .range-line { display: none; }
  .orbit-line { display: none; }
  .buy-line { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card-shoe img, .pill, .inside-link, .chip, .brilho, .estrelas b, .pino, .swatch::after, .bar, .btn, .como-fotos > * { transition: none; }
  .wa::before, .pino-onda { animation: none !important; }
  .veu, .bar-prog { display: none; }
}
