/* Maquete: a landing da Senfio como a maquete branca de um andar de hospital.
   Cores, espaços e cantos vêm de tokens.css, gerado do DESIGN.md. */

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/red-hat-display-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Red Hat Text";
  src: url("fonts/red-hat-text-latin-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Unidade da maquete (px por unidade do tabuleiro de 1200 × 860), calculada uma
   vez no .world e herdada como comprimento pronto. */
@property --u {
  syntax: "<length>";
  inherits: true;
  initial-value: 0.3px;
}

/* Abertura: a planta baixa vira maquete (paredes sobem e a câmera inclina). */
@property --k {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

@property --it {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --is {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@supports (height: 1svh) {
  :root {
    --stage-h: clamp(250px, 42svh, 460px);
  }
}

:root {
  --font-display: "Red Hat Display", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-text: "Red Hat Text", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --header-h: 60px;
  --stage-h: clamp(250px, 42vh, 460px);
  --col: min(34rem, 100%);
  --gutter: var(--spacing-gutter);
  --edge: var(--spacing-edge);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-piece: 0 var(--edge) 0 var(--color-surface-side), 0 22px 40px -22px rgb(27 43 58 / 0.32);
  --shadow-soft: 0 18px 36px -20px rgb(27 43 58 / 0.4);
  --focus: 3px solid var(--color-secondary);

  /* volumes da maquete */
  --model-top: var(--color-surface);
  --model-l: #d9e0e6;
  --model-r: var(--color-surface-shade);
  --floor: #f5f7f9;
  --floor-hall: #ecf0f3;
  --board: #e6ebef;

  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-neutral);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--color-neutral);
  color: var(--color-on-surface);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus {
  outline: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- pular para o conteúdo ---------- */

.skip {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--rounded-md);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font: 700 1rem/1.2 var(--font-display);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip:focus-visible {
  transform: none;
  outline-offset: 2px;
}

/* ---------- cabeçalho ---------- */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  background: rgb(233 238 242 / 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgb(174 187 198 / 0.45);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  border-radius: 8px;
}

.brand img {
  width: auto;
  height: 30px;
}

.nav {
  order: 3;
  display: flex;
  align-items: center;
}

.nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--rounded-sm);
  background: var(--color-surface);
  color: var(--color-on-surface);
  box-shadow: 0 3px 0 var(--color-surface-side);
  cursor: pointer;
}

.nav__toggle .i {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
}

.nav__toggle .i--close,
.nav--open .nav__toggle .i--open {
  display: none;
}

.nav--open .nav__toggle .i--close {
  display: block;
}

.nav__list {
  display: none;
}

.nav--open .nav__list {
  position: absolute;
  inset: calc(var(--header-h) - 1px) 0 auto;
  display: grid;
  gap: 4px;
  padding: 12px var(--gutter) 20px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-outline);
  box-shadow: 0 24px 40px -24px rgb(27 43 58 / 0.45);
}

.nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-radius: var(--rounded-sm);
  font: 700 1.125rem/1.2 var(--font-display);
  text-decoration: none;
}

.nav__link:hover {
  background: var(--color-neutral);
}

.nav__link[aria-current="true"] {
  background: var(--color-neutral);
  box-shadow: inset 3px 0 0 var(--color-primary);
}

html:not(.js) .nav__toggle {
  display: none;
}

html:not(.js) .nav__list {
  display: flex;
  flex-wrap: wrap;
}

html:not(.js) .nav__link {
  min-height: 44px;
  padding: 0 8px;
  font-size: 1rem;
}

.top__wa {
  order: 2;
}

.top__wa-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .top {
    gap: 20px;
    padding-inline: clamp(24px, 4vw, 56px);
  }

  .brand img {
    height: 34px;
  }

  .nav {
    order: 2;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list,
  html:not(.js) .nav__list {
    position: static;
    display: flex;
    gap: 4px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav__link,
  html:not(.js) .nav__link {
    min-height: 44px;
    padding: 0 14px;
    font-size: 1rem;
  }

  .nav__link[aria-current="true"] {
    background: var(--color-surface);
    box-shadow: 0 3px 0 var(--color-surface-side);
  }

  .top__wa {
    order: 3;
  }

  .top__wa-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

/* ---------- botões: peças da maquete, com quina ---------- */

.btn {
  --btn-edge: var(--color-surface-side);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--rounded-md);
  font: 700 1.0625rem/1.2 var(--font-display);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 var(--edge) 0 var(--btn-edge),
    0 18px 30px -18px rgb(27 43 58 / 0.55);
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 calc(var(--edge) + 2px) 0 var(--btn-edge),
    0 22px 34px -18px rgb(27 43 58 / 0.55);
}

.btn:active {
  transform: translateY(calc(var(--edge) - 2px));
  box-shadow:
    0 2px 0 var(--btn-edge),
    0 8px 16px -12px rgb(27 43 58 / 0.5);
}

.btn--dark {
  --btn-edge: var(--color-primary-edge);
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn--light {
  background: var(--color-surface);
  color: var(--color-on-surface);
}

.btn--sm {
  min-width: 44px;
  min-height: 44px;
  padding: 0 11px;
  gap: 8px;
  border-radius: var(--rounded-sm);
  font-size: 1rem;
  box-shadow: 0 3px 0 var(--btn-edge);
}

.btn--sm:hover {
  box-shadow: 0 4px 0 var(--btn-edge);
  transform: translateY(-1px);
}

.btn--sm:active {
  box-shadow: 0 1px 0 var(--btn-edge);
  transform: translateY(2px);
}

.btn--xl {
  min-height: 72px;
  padding: 0 26px;
  border-radius: 18px;
}

.btn--xl .i {
  width: 28px;
  height: 28px;
}

.btn__stack {
  display: grid;
  gap: 2px;
}

.btn__sub {
  font: 500 0.875rem/1.2 var(--font-text);
  opacity: 0.82;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 12px;
}

/* ---------- palco da maquete ---------- */

.tour {
  position: relative;
}

.stage {
  position: relative;
  z-index: 2;
  height: var(--stage-h);
  overflow: hidden;
  overflow: clip;
  container-type: size;
  background: var(--color-neutral);
}

.world {
  --aw: 100cqw;
  --ah: calc(100cqh - var(--header-h) - 16px);
  --cam-x: 50%;
  --cam-y: calc(var(--header-h) + (100% - var(--header-h)) * 0.53);
  --u: min(calc(var(--aw) * 0.94 / 1460), calc(var(--ah) * 0.86 / 905));
  --k: 1;
  --it: 0deg;
  --is: 0deg;
  position: absolute;
  left: var(--cam-x);
  top: var(--cam-y);
  width: calc(1200 * var(--u));
  height: calc(860 * var(--u));
  background: var(--board);
  transform-origin: 0 0;
  transform-style: preserve-3d;
  transform: rotateX(calc(55deg + var(--it))) rotateZ(calc(-45deg + var(--is))) scale3d(1, 1, var(--k))
    translate3d(calc(-600 * var(--u)), calc(-430 * var(--u)), 0);
}

.world > * {
  position: absolute;
  display: block;
}

/* sombra de contato do tabuleiro na mesa: gradiente, sem filtro, barato de rasterizar */
.ground {
  left: calc(-160 * var(--u));
  top: calc(-110 * var(--u));
  width: calc(1520 * var(--u));
  height: calc(1180 * var(--u));
  transform: translateZ(calc(-23 * var(--u)));
  background: radial-gradient(closest-side at 52% 56%, rgb(38 62 88 / 0.3), rgb(38 62 88 / 0.12) 70%, transparent);
}

/* mesa de corte com grade, só no desktop: no celular o plano grande pesa na rolagem */
.mat {
  display: none !important;
  left: calc(-500 * var(--u));
  top: calc(-470 * var(--u));
  width: calc(2200 * var(--u));
  height: calc(1800 * var(--u));
  transform: translateZ(calc(-23.5 * var(--u)));
  background-image:
    linear-gradient(rgb(27 43 58 / 0.08) max(1px, calc(1.6 * var(--u))), transparent 0),
    linear-gradient(90deg, rgb(27 43 58 / 0.08) max(1px, calc(1.6 * var(--u))), transparent 0);
  background-size: calc(100 * var(--u)) calc(100 * var(--u));
  background-position: calc(500 * var(--u)) calc(470 * var(--u));
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}

@media (min-width: 960px) {
  .mat {
    display: block !important;
  }
}

.slab--l {
  left: 0;
  top: 0;
  width: calc(22 * var(--u));
  height: 100%;
  transform-origin: 0 50%;
  transform: rotateY(90deg);
  background: #cfd8df;
}

.slab--r {
  left: 0;
  top: 100%;
  width: 100%;
  height: calc(22 * var(--u));
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  background: #b9c5ce;
}

.perimeter {
  left: calc(-46 * var(--u));
  top: calc(-46 * var(--u));
  width: calc(1292 * var(--u));
  height: calc(952 * var(--u));
  border: max(2px, calc(5 * var(--u))) dashed var(--color-tertiary);
  border-radius: calc(34 * var(--u));
  background: rgb(31 143 120 / 0.1);
  box-shadow: 0 0 calc(40 * var(--u)) rgb(31 143 120 / 0.25);
  transform: translateZ(calc(-22 * var(--u)));
  opacity: 0;
}

.room,
.tint {
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--d) * var(--u));
}

.room {
  background: var(--floor);
  box-shadow: inset 0 0 calc(26 * var(--u)) rgb(27 43 58 / 0.13);
}

.room--corredor {
  background: var(--floor-hall);
  box-shadow:
    inset 0 calc(18 * var(--u)) calc(22 * var(--u)) calc(-10 * var(--u)) rgb(27 43 58 / 0.14),
    inset 0 calc(-18 * var(--u)) calc(22 * var(--u)) calc(-10 * var(--u)) rgb(27 43 58 / 0.1);
}

.tint {
  opacity: 0;
  transform: translateZ(calc(0.6 * var(--u)));
}

.tint--m {
  background: var(--color-secondary-wash);
  box-shadow: inset 0 0 0 calc(3 * var(--u)) rgb(47 111 222 / 0.45);
}

.tint--a {
  background: var(--color-tertiary-wash);
  box-shadow: inset 0 0 0 calc(3 * var(--u)) rgb(31 143 120 / 0.5);
}

/* rota do alerta, da geladeira ao posto */
.route {
  left: calc(100 * var(--u));
  top: calc(60 * var(--u));
  width: calc(540 * var(--u));
  height: calc(510 * var(--u));
  overflow: visible;
  transform: translateZ(calc(1 * var(--u)));
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}

.route__base {
  stroke: rgb(229 83 61 / 0.18);
  stroke-width: 10;
  stroke-dasharray: none;
  opacity: 0;
}

.route__trail {
  stroke: var(--color-error);
  stroke-width: 5;
  opacity: 0;
}

.route__head {
  stroke: #ff8a73;
  stroke-width: 12;
  stroke-dasharray: 0.04 1.2;
  opacity: 0;
}

/* volumes: tampo (t), face esquerda (l, -x) e face direita (r, +y) */
.b {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--d) * var(--u));
  transform-style: preserve-3d;
}

.b.z {
  transform: translateZ(calc(var(--z) * var(--u)));
}

/* sombra de luz de estúdio: a janela fica à esquerda, a sombra cai à direita */
.b::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: calc(4 * var(--u)) calc(min(var(--h), 60) * 0.32 * var(--u)) calc(16 * var(--u)) rgb(36 58 82 / 0.2);
}

.b.z::before {
  content: none;
}

.b > i {
  position: absolute;
  display: block;
}

.b > .t {
  inset: 0;
  transform: translateZ(calc(var(--h) * var(--u)));
  background: var(--model-top);
}

.b > .l {
  left: 0;
  top: 0;
  width: calc(var(--h) * var(--u));
  height: 100%;
  transform-origin: 0 50%;
  transform: rotateY(-90deg);
  background: var(--model-l);
}

.b > .r {
  left: 0;
  top: 100%;
  width: 100%;
  height: calc(var(--h) * var(--u));
  transform-origin: 50% 0;
  transform: rotateX(90deg);
  background: var(--model-r);
}

.t > b {
  position: absolute;
  display: block;
}

.bed .pillow {
  left: 14%;
  right: 14%;
  top: calc(7 * var(--u));
  height: calc(17 * var(--u));
  border-radius: calc(5 * var(--u));
  background: #eef2f5;
  box-shadow: 0 calc(1.5 * var(--u)) calc(2 * var(--u)) rgb(27 43 58 / 0.18);
}

.bed .sheet {
  left: 0;
  right: 0;
  top: 42%;
  bottom: 0;
  background: #e7ecf0;
  box-shadow: inset 0 calc(3 * var(--u)) 0 #dbe2e8;
}

.sink .basin {
  left: 22%;
  right: 22%;
  top: 20%;
  bottom: 16%;
  border-radius: calc(9 * var(--u));
  background: #dfe6ec;
  box-shadow: inset calc(2 * var(--u)) calc(3 * var(--u)) calc(5 * var(--u)) rgb(27 43 58 / 0.28);
}

.counter .phone {
  left: calc(150 * var(--u));
  top: calc(12 * var(--u));
  width: calc(10 * var(--u));
  height: calc(17 * var(--u));
  border-radius: calc(2.5 * var(--u));
  background: var(--color-primary);
  box-shadow: 0 0 0 calc(1 * var(--u)) #fff;
}

.is-notify .counter .phone {
  background: var(--color-error);
  box-shadow: 0 0 calc(10 * var(--u)) calc(3 * var(--u)) rgb(229 83 61 / 0.55);
}

.counter .papers {
  left: calc(46 * var(--u));
  top: calc(10 * var(--u));
  width: calc(26 * var(--u));
  height: calc(19 * var(--u));
  background: #f1f4f7;
  box-shadow: calc(2 * var(--u)) calc(2 * var(--u)) 0 #dfe5ea;
}

.counter .tray {
  left: 10%;
  right: 55%;
  top: 25%;
  bottom: 25%;
  border-radius: calc(3 * var(--u));
  background: #eef2f5;
}

.shelf > .l {
  background: repeating-linear-gradient(90deg, var(--model-l) 0 calc(15 * var(--u)), #c3cdd5 0 calc(17 * var(--u)));
}

.shelf > .r {
  background: repeating-linear-gradient(180deg, var(--model-r) 0 calc(15 * var(--u)), #aab6c0 0 calc(17 * var(--u)));
}

.faucet > .t,
.faucet > .l,
.faucet > .r {
  background: #b8c3cc;
}

.screen > .r {
  background: var(--color-primary);
}

.fridge2 > .r {
  background: linear-gradient(90deg, #dfe5ea 0 49%, #b2bec8 0 51%, #dfe5ea 0);
}

.fridge2 > .l {
  background: #e3e9ee;
}

/* geladeira de vacinas, com porta e interior */
.fridge {
  --fx: 5;
}

.fridge > .t {
  inset: 0 0 calc(3 * var(--u)) 0;
}

.fridge > .l {
  height: calc((var(--d) - 3) * var(--u));
  background: #dfe6ec;
}

.fridge > .t {
  background: #f7f9fb;
  box-shadow: inset 0 0 0 calc(1.2 * var(--u)) #d3dce4;
}

.fridge > .fridge__back {
  left: calc(5 * var(--u));
  top: calc(5 * var(--u));
  width: calc((var(--w) - 10) * var(--u));
  height: calc((var(--h) - 8) * var(--u));
  transform-origin: 50% 0;
  transform: rotateX(90deg);
  background: linear-gradient(180deg, #a7c6f4, #d9e7fc);
}

.fridge > .fridge__floor {
  left: calc(5 * var(--u));
  top: calc(5 * var(--u));
  width: calc((var(--w) - 10) * var(--u));
  height: calc((var(--d) - 9) * var(--u));
  transform: translateZ(calc(2 * var(--u)));
  background: #bcd3f6;
}

.fridge > .fridge__chill {
  left: calc(-24 * var(--u));
  top: calc(var(--d) * var(--u));
  width: calc((var(--w) + 48) * var(--u));
  height: calc(110 * var(--u));
  transform: translateZ(calc(0.8 * var(--u)));
  background: radial-gradient(60% 75% at 50% 0%, rgb(47 111 222 / 0.42), rgb(47 111 222 / 0) 100%);
  opacity: 0;
}

.fridge > .fridge__shelf {
  left: calc(5 * var(--u));
  top: calc(20 * var(--u));
  width: calc((var(--w) - 10) * var(--u));
  height: calc((var(--d) - 28) * var(--u));
  transform: translateZ(calc(var(--s) * var(--u)));
  background: #f3f8ff;
  box-shadow: inset 0 calc(-1.6 * var(--u)) 0 #7ea5e0;
}

.vials {
  position: absolute;
  inset: 18% 10%;
  display: block;
  background: radial-gradient(circle, var(--color-secondary) 34%, transparent 38%) 0 0 / calc(11 * var(--u))
    calc(11 * var(--u));
}

.explorer {
  position: absolute;
  left: calc(48 * var(--u));
  top: calc(16 * var(--u));
  display: block;
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  background: var(--color-secondary);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

.explorer::before {
  content: "";
  position: absolute;
  inset: calc(2.6 * var(--u));
  background: #fff;
  clip-path: inherit;
}

.explorer__screen {
  position: absolute;
  left: calc(11 * var(--u));
  top: calc(6 * var(--u));
  display: block;
  width: calc(5 * var(--u));
  height: calc(10 * var(--u));
  background: var(--color-primary);
}

.is-alarm .explorer {
  background: var(--color-error);
}

.is-alarm .explorer__screen {
  background: var(--color-error);
}

.door {
  position: absolute;
  left: 0;
  top: calc((var(--d) - 3) * var(--u));
  display: block;
  width: 100%;
  height: calc(3 * var(--u));
  transform-style: preserve-3d;
  transform-origin: 100% 100%;
}

.door > i {
  position: absolute;
  display: block;
}

.door__out {
  left: 0;
  top: 100%;
  width: 100%;
  height: calc(var(--h) * var(--u));
  transform-origin: 50% 0;
  transform: rotateX(90deg);
  background: #f2f5f8;
}

.door__in {
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--h) * var(--u));
  transform-origin: 50% 0;
  transform: rotateX(90deg);
  background: repeating-linear-gradient(180deg, #c9d6e6 0 calc(22 * var(--u)), #93a9c6 0 calc(24 * var(--u)));
}

.door__edge {
  left: 0;
  top: 0;
  width: calc(var(--h) * var(--u));
  height: 100%;
  transform-origin: 0 50%;
  transform: rotateY(-90deg);
  background: #c9d3db;
}

.door__top {
  inset: 0;
  transform: translateZ(calc(var(--h) * var(--u)));
  background: #fff;
}

.door__handle {
  position: absolute;
  left: calc(6 * var(--u));
  top: calc(30 * var(--u));
  display: block;
  width: calc(3 * var(--u));
  height: calc(34 * var(--u));
  border-radius: calc(2 * var(--u));
  background: #a9b6c1;
}

/* camada 2D: rótulos, pinos e áreas da pia, sempre de frente para o leitor */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-display);
}

html:not(.js) .overlay {
  display: none;
}

.links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cone {
  fill: rgb(31 143 120 / 0.07);
  stroke: rgb(31 143 120 / 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  opacity: 0;
}

.uplink {
  stroke: var(--color-secondary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 2 9;
  opacity: 0;
}

.tag,
.pin,
.roi {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
}

.tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface);
  color: var(--color-on-surface);
  font: 700 0.8125rem/1 var(--font-display);
  white-space: nowrap;
  box-shadow:
    0 2px 0 var(--color-surface-side),
    0 8px 18px -10px rgb(27 43 58 / 0.4);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-outline);
}

.dot--m {
  background: var(--color-secondary);
}

.dot--a {
  background: var(--color-tertiary);
}

.pin {
  --tone: var(--color-secondary);
  --tone-ink: var(--color-secondary-ink);
  --stem: 30px;
  width: 0;
  height: 0;
}

.pin--a {
  --tone: var(--color-tertiary-ink);
  --tone-ink: var(--color-tertiary-ink);
}

.pin--x {
  --tone: var(--color-error-ink);
  --tone-ink: var(--color-error-ink);
}

.pin__stem {
  position: absolute;
  left: -1px;
  bottom: 0;
  width: 2px;
  height: var(--stem);
  border-radius: 2px;
  background: linear-gradient(to top, var(--tone), rgb(27 43 58 / 0.2));
}

.pin__stem::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.85);
}

.pin__body {
  position: absolute;
  left: 0;
  bottom: var(--stem);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface);
  color: var(--color-on-surface);
  white-space: nowrap;
  transform: translateX(-20px);
  box-shadow:
    0 3px 0 var(--color-surface-side),
    0 12px 22px -12px rgb(27 43 58 / 0.5);
  transition:
    background-color 0.3s,
    color 0.3s;
}

.pin__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tone);
  color: #fff;
  transition: background-color 0.3s;
}

.pin__icon .i {
  grid-area: 1 / 1;
  width: 17px;
  height: 17px;
}

.pin__icon--pair {
  display: flex;
  gap: 1px;
  width: auto;
  padding: 0 7px;
  border-radius: var(--rounded-pill);
}

.pin__icon--pair .i {
  width: 15px;
  height: 15px;
}

.pin__text {
  display: grid;
  padding-right: 9px;
  line-height: 1.05;
}

.pin__value {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.pin__note {
  color: var(--color-on-surface-variant);
  font: 600 0.8125rem/1.15 var(--font-text);
}

.pin__label {
  font-size: 0.8125rem;
  font-weight: 700;
}

.pin .i--alert,
.pin .i--lock {
  opacity: 0;
}

.pin .i {
  transition: opacity 0.25s;
}

.pin.is-alert .pin__body {
  background: var(--color-error-ink);
  color: #fff;
}

.pin.is-alert .pin__icon {
  background: rgb(255 255 255 / 0.18);
}

.pin.is-alert .pin__note {
  color: rgb(255 255 255 / 0.85);
}

.pin.is-alert .i--ok {
  opacity: 0;
}

.pin.is-alert .i--alert {
  opacity: 1;
}

.pin.is-alert .pin__stem {
  background: linear-gradient(to top, var(--color-error), rgb(229 83 61 / 0.25));
}

.pin.is-alert .pin__stem::after {
  background: var(--color-error);
}

.pin--x .pin__body {
  background: var(--color-error-ink);
  color: #fff;
}

.pin--x .pin__icon {
  background: rgb(255 255 255 / 0.18);
}

.pin--icon .pin__body {
  transform: translateX(-20px);
}

.pin__text--swap,
.pin__text--swap .pin__label {
  display: none;
}

.pin[data-mode="ok"] .pin__text--swap,
.pin[data-mode="audit"] .pin__text--swap,
.pin[data-mode="lan"] .pin__text--swap,
.pin[data-mode="ok"] [data-cctv-label="ok"],
.pin[data-mode="audit"] [data-cctv-label="audit"],
.pin[data-mode="lan"] [data-cctv-label="lan"] {
  display: block;
}

.pin .i--done {
  opacity: 0;
}

.pin[data-mode="ok"] .i--cam,
.pin[data-mode="lan"] .i--cam {
  opacity: 0;
}

.pin[data-mode="ok"] .i--done,
.pin[data-mode="lan"] .i--lock {
  opacity: 1;
}

.pin[data-mode="ok"] .pin__body {
  background: var(--color-tertiary-ink);
  color: #fff;
}

.pin[data-mode="ok"] .pin__icon {
  background: rgb(255 255 255 / 0.18);
}

/* anéis do alarme */
.pin__rings {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  opacity: 0;
}

.pin__rings::before,
.pin__rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-error);
  border-radius: 50%;
  transform: scale(0.3);
  opacity: 0;
}

.pin.is-alert .pin__rings,
.pin--x .pin__rings {
  opacity: 1;
}

.pin.is-alert .pin__rings::before,
.pin.is-alert .pin__rings::after,
.pin--x .pin__rings::before,
.pin--x .pin__rings::after {
  animation: ring 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}

.pin.is-alert .pin__rings::after,
.pin--x .pin__rings::after {
  animation-delay: 0.8s;
}

@keyframes ring {
  0% {
    transform: scale(0.3);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* balão de notificação no celular do posto */
.notify {
  position: absolute;
  left: 0;
  bottom: calc(var(--stem) + 48px);
  display: grid;
  gap: 2px;
  width: 228px;
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-on-surface);
  white-space: normal;
  transform: translateX(-50%);
  box-shadow:
    inset 4px 0 0 var(--color-error),
    0 3px 0 var(--color-surface-side),
    0 18px 30px -14px rgb(27 43 58 / 0.55);
  opacity: 0;
}

.notify__head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-error-ink);
  font: 800 0.875rem/1.2 var(--font-display);
}

.notify__head .i {
  width: 15px;
  height: 15px;
}

.notify__body {
  font: 600 0.875rem/1.3 var(--font-text);
  font-variant-numeric: tabular-nums;
}

.notify__note {
  color: var(--color-on-surface-variant);
  font: 500 0.8125rem/1.3 var(--font-text);
}

.pin--phone .pin__body {
  transform: translateX(-20px);
}

.pin--phone.is-alert .pin__body {
  background: var(--color-error-ink);
}

/* áreas da pia, no estilo de caixa de detecção */
.roi {
  --roi: rgb(31 143 120 / 0.65);
  width: 10px;
  height: 10px;
  border: 1.5px dashed var(--roi);
  border-radius: 4px;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}

.roi__label {
  position: absolute;
  left: -2px;
  bottom: calc(100% + 6px);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 3px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface);
  color: var(--color-on-surface);
  font: 700 0.8125rem/1 var(--font-display);
  white-space: nowrap;
  box-shadow:
    0 2px 0 var(--color-surface-side),
    0 8px 16px -10px rgb(27 43 58 / 0.4);
  transition:
    background-color 0.25s,
    color 0.25s;
}

.roi--left .roi__label {
  left: auto;
  right: calc(100% + 6px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.roi--below .roi__label {
  bottom: auto;
  top: calc(100% + 6px);
}

.roi--right .roi__label {
  left: calc(100% + 6px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.roi__n {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: var(--color-neutral);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.roi.is-active {
  --roi: var(--color-tertiary);
  border-style: solid;
  border-width: 2.5px;
  background: rgb(31 143 120 / 0.16);
}

.roi.is-active .roi__label {
  background: var(--color-tertiary-ink);
  color: #fff;
}

.roi.is-active .roi--left .roi__label {
  left: auto;
  right: calc(100% + 6px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.roi--below .roi__label {
  bottom: auto;
  top: calc(100% + 6px);
}

.roi--right .roi__label {
  left: calc(100% + 6px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.roi__n {
  background: rgb(255 255 255 / 0.2);
}

.roi.is-done {
  --roi: var(--color-tertiary);
  border-style: solid;
}

.roi.is-done .roi--left .roi__label {
  left: auto;
  right: calc(100% + 6px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.roi--below .roi__label {
  bottom: auto;
  top: calc(100% + 6px);
}

.roi--right .roi__label {
  left: calc(100% + 6px);
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
}

.roi__n {
  background: var(--color-tertiary-wash);
  color: var(--color-tertiary-ink);
}

/* véu do palco */
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, var(--color-neutral), transparent 28px);
}

/* ---------- seções e coluna de texto ---------- */

.sec {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 28px) var(--gutter) 72px;
}

.sec--hero {
  padding-top: 30px;
}

.col {
  width: var(--col);
}

.hero {
  display: grid;
  gap: 20px;
}

.hero__title {
  font-size: clamp(2.125rem, 1.15rem + 3.9vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);
  line-height: 1.55;
}

.hero__lead {
  max-width: 33rem;
}

.hero__actions {
  margin-top: 4px;
}

.event {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 32rem;
  padding: 12px 16px 12px 12px;
  border-radius: var(--rounded-md);
  background: var(--color-surface);
  color: var(--color-on-surface);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: 0 3px 0 var(--color-surface-side);
}

.event__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--rounded-sm);
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.event__icon .i {
  width: 18px;
  height: 18px;
}

.sec__head {
  display: grid;
  gap: 16px;
}

.sec__title {
  font-size: clamp(1.875rem, 1.3rem + 2.3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.sec__title--m {
  color: var(--color-secondary-ink);
}

.sec__title--a {
  color: var(--color-tertiary-ink);
}

.where {
  color: var(--color-on-surface-variant);
}

.where strong {
  color: var(--color-on-surface);
  font-family: var(--font-display);
}

.kicker {
  margin: 44px 0 16px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* cartões: peças brancas com espessura */
.card {
  position: relative;
  padding: 22px;
  border-radius: var(--rounded-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-piece);
}

.card p {
  color: var(--color-on-surface-variant);
}

.card__title {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.steps {
  display: grid;
  gap: 22px;
}

.step {
  display: grid;
  gap: 12px;
}

.step__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step__n,
.hyg__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--rounded-sm);
  font: 900 1.375rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.step__n {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
  box-shadow: 0 3px 0 var(--color-secondary-ink);
}

.step.is-current .step__n {
  background: var(--color-primary);
  box-shadow: 0 3px 0 var(--color-primary-edge);
}

.step--alert.is-current .step__n {
  background: var(--color-error-ink);
  box-shadow: 0 3px 0 #8e2a1a;
}

.photo {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.photo img {
  border-radius: var(--rounded-md);
  background: #f2f5f8;
}

.photo figcaption {
  color: var(--color-on-surface-variant);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.photo--explorer img {
  width: min(190px, 60%);
  padding: 12px;
  margin-inline: auto;
  border-radius: var(--rounded-md);
}

.photo--explorer {
  justify-items: center;
  padding: 14px 12px 12px;
  border-radius: var(--rounded-md);
  background: #f2f5f8;
}

.photo--alert img,
.photo--family img {
  background: #fff;
}

.perks {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.perks__list {
  display: grid;
}

.perks__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e3e8ed;
  font-weight: 500;
  line-height: 1.4;
}

.perks__list li:first-child {
  border-top: 0;
}

.perks__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--color-secondary-wash);
  color: var(--color-secondary-ink);
}

.perks__icon .i {
  width: 18px;
  height: 18px;
}

/* higienização */
.hyg {
  display: grid;
  gap: 10px;
  counter-reset: none;
}

.hyg__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--rounded-md);
  background: var(--color-surface);
  font: 700 1.0625rem/1.25 var(--font-display);
  box-shadow: 0 4px 0 var(--color-surface-side);
  transition: box-shadow 0.3s;
}

.hyg__n {
  background: var(--color-neutral);
  color: var(--color-on-surface);
  box-shadow: inset 0 0 0 2px #d3dbe2;
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}

.hyg__icon {
  display: grid;
  place-items: center;
  color: var(--color-tertiary-ink);
}

.hyg__step.is-on .hyg__n {
  background: var(--color-success);
  color: #fff;
  box-shadow: 0 3px 0 #0d4a3e;
}

.hyg__step.is-on {
  box-shadow:
    0 4px 0 var(--color-surface-side),
    inset 0 0 0 2px rgb(31 143 120 / 0.35);
}

.hyg__note {
  margin-top: 18px;
  color: var(--color-on-surface-variant);
}

.note {
  display: grid;
  align-content: start;
  gap: 10px;
  margin-top: 22px;
}

.note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  justify-self: start;
  min-width: 40px;
  height: 40px;
  padding: 0 9px;
  border-radius: var(--rounded-sm);
  background: var(--color-tertiary-wash);
  color: var(--color-tertiary-ink);
}

.note__icon .i {
  width: 20px;
  height: 20px;
}

.note--alert .note__icon {
  background: #fbe3de;
  color: var(--color-error-ink);
}

.note--alert {
  box-shadow:
    0 var(--edge) 0 #efc7bf,
    0 22px 40px -22px rgb(184 58 38 / 0.35);
}

.caveat {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: var(--rounded-sm);
  background: #fbede9;
  box-shadow: inset 3px 0 0 var(--color-error);
}

.card .caveat {
  color: var(--color-on-surface);
}

.caveat strong {
  font-weight: 700;
}

.finale {
  display: grid;
  align-content: start;
  gap: 22px;
  margin-top: 22px;
}

.finale__part {
  display: grid;
  gap: 10px;
}

.finale__part + .finale__part {
  padding-top: 20px;
  border-top: 1px solid #e3e8ed;
}

/* ---------- contato ---------- */

.contact {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 36px) var(--gutter) 56px;
  background: var(--color-neutral);
}

.contact__inner {
  display: grid;
  gap: 40px;
  max-width: 1160px;
  margin-inline: auto;
}

.board {
  display: grid;
  gap: 32px;
  padding: 26px 20px 28px;
  border-radius: 28px;
  background: var(--color-surface);
  box-shadow:
    0 8px 0 var(--color-surface-side),
    0 16px 0 -4px #c9d3db,
    0 40px 60px -30px rgb(27 43 58 / 0.4);
}

.board__main {
  display: grid;
  align-content: start;
  gap: 20px;
}

.contact__title {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.board .btn--xl {
  justify-self: start;
}

.board .event {
  background: var(--color-neutral);
  box-shadow: none;
}

.board__side {
  display: grid;
  align-content: start;
  gap: 12px;
}

.board__label {
  font-size: 1rem;
  color: var(--color-on-surface-variant);
}

.channels {
  display: grid;
  gap: 2px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 8px 10px;
  border-radius: var(--rounded-md);
  text-decoration: none;
  transition: background-color 0.2s;
}

.channel:hover {
  background: var(--color-neutral);
}

.channel__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--color-neutral);
  color: var(--color-on-surface);
  box-shadow: 0 3px 0 var(--color-surface-side);
}

.channel__icon .i {
  width: 20px;
  height: 20px;
}

.channels li:first-child .channel__icon {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 3px 0 var(--color-primary-edge);
}

.channel__text {
  display: grid;
  min-width: 0;
}

.channel__name {
  color: var(--color-on-surface-variant);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}

.channel__value {
  overflow-wrap: anywhere;
  font: 700 1.0625rem/1.3 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
  padding: 12px 10px 0;
  border-top: 1px solid #e3e8ed;
  color: var(--color-on-surface-variant);
  font-size: 1rem;
}

.address .i {
  margin-top: 1px;
  color: var(--color-on-surface);
}

.about {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  max-width: 46rem;
}

.about__logo {
  width: 64px;
}

.about__text {
  display: grid;
  gap: 10px;
  color: var(--color-on-surface-variant);
}

.about__award {
  color: var(--color-on-surface);
  font-weight: 600;
}

.foot {
  padding: 22px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid rgb(174 187 198 / 0.55);
  color: var(--color-on-surface-variant);
  font-size: 0.8125rem;
  text-align: center;
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }

  .board {
    padding: 40px;
  }

  .about {
    grid-template-columns: 80px 1fr;
    gap: 24px;
  }

  .about__logo {
    width: 80px;
  }
}

@media (min-width: 960px) {
  .board {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 56px;
  }

  .contact {
    display: grid;
    align-content: center;
  }

  .about {
    margin-inline: auto;
  }
}

/* ---------- desktop: o palco do início fica à direita ---------- */

@media (min-width: 960px) {
  :root {
    --col: min(34rem, 42vw);
  }

  .stage {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - var(--col) - clamp(28px, 6vw, 96px));
    height: 100vh;
    height: 100svh;
    min-height: 600px;
  }

  .stage::after {
    background: none;
  }

  .world {
    --aw: calc(100cqw - 80px);
    --ah: calc(100cqh - var(--header-h) - 40px);
    --u: min(calc(var(--aw) * 1.08 / 1460), calc(var(--ah) * 0.98 / 905));
    --cam-x: calc(40px + var(--aw) / 2);
    --cam-y: calc(var(--header-h) + (100% - var(--header-h)) * 0.5);
  }

  .sec {
    padding: 120px 0 96px clamp(28px, 6vw, 96px);
  }

  .sec--hero {
    display: flex;
    align-items: center;
    min-height: max(100vh, 600px);
    min-height: max(100svh, 600px);
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 48px;
  }

  .steps {
    gap: 24px;
  }
}

/* desktop sem movimento (ou sem JavaScript): o palco fica só na abertura e as
   seções ocupam a largura em duas colunas */
@media (min-width: 960px) {
  html:not(.motion) .sec--product .col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
    width: min(72rem, calc(100% - clamp(28px, 6vw, 96px)));
  }

  html:not(.motion) .sec--product .col > * {
    grid-column: 1 / -1;
  }

  html:not(.motion) .sec--product .col > .note,
  html:not(.motion) .sec--product .col > .finale {
    grid-column: auto;
    align-self: stretch;
  }

  html:not(.motion) .sec__head {
    max-width: 46rem;
  }

  html:not(.motion) .steps,
  html:not(.motion) .hyg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  html:not(.motion) .perks {
    grid-template-columns: 1.15fr 1fr;
    column-gap: 32px;
    align-items: center;
  }

  html:not(.motion) .perks .card__title {
    grid-column: 1 / -1;
  }
}

/* ---------- com movimento: o palco fica preso e a câmera passeia ---------- */

.motion .stage {
  position: sticky;
  top: 0;
  margin-bottom: calc(-1 * var(--stage-h));
  border-radius: 0 0 26px 26px;
  box-shadow: 0 16px 30px -22px rgb(27 43 58 / 0.55);
}

.motion .stage::after {
  background: none;
}

.motion .sec {
  padding-top: calc(var(--stage-h) + 30px);
}

.motion .sec--product {
  padding-bottom: 18vh;
  padding-bottom: 18svh;
}

.motion .sec--product .sec__head {
  min-height: 34vh;
  min-height: 34svh;
  align-content: start;
}

.motion .steps {
  gap: 30vh;
  gap: 30svh;
}

.motion .step[data-shot="mede"] {
  margin-top: 8vh;
  margin-top: 8svh;
}

.motion .step--alert {
  margin-top: 10vh;
  margin-top: 10svh;
}

.motion .perks {
  margin-top: 30vh;
  margin-top: 30svh;
}

.motion .hyg {
  gap: 16vh;
  gap: 16svh;
  margin-top: 6vh;
  margin-top: 6svh;
}

.motion .hyg__note,
.motion .note,
.motion .finale {
  margin-top: 26vh;
  margin-top: 26svh;
}

.motion .finale {
  margin-bottom: 30vh;
  margin-bottom: 30svh;
}

.motion .sec--hero {
  padding-bottom: 22vh;
  padding-bottom: 22svh;
}

@media (min-width: 960px) {
  .motion .stage {
    right: auto;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    margin-bottom: calc(-1 * max(100vh, 600px));
    margin-bottom: calc(-1 * max(100svh, 600px));
    z-index: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .motion .stage::after {
    background: linear-gradient(
      90deg,
      var(--color-neutral) 0,
      var(--color-neutral) calc(var(--col) + clamp(28px, 6vw, 96px) - 30px),
      rgb(233 238 242 / 0.75) calc(var(--col) + clamp(28px, 6vw, 96px) + 10px),
      rgb(233 238 242 / 0) calc(var(--col) + clamp(28px, 6vw, 96px) + 70px)
    );
  }

  .motion .world {
    --aw: calc(100cqw - var(--col) - clamp(28px, 6vw, 96px) - 80px);
    --cam-x: calc(var(--col) + clamp(28px, 6vw, 96px) + 40px + var(--aw) / 2);
  }

  .motion .sec {
    z-index: 3;
    padding-top: 120px;
  }

  .motion .sec--hero {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 48px;
  }

  .motion .sec--product {
    padding-top: 26vh;
    padding-top: 26svh;
  }

  .motion .sec--product .sec__head {
    min-height: 0;
  }

  .motion .steps {
    gap: 42vh;
    gap: 42svh;
  }

  .motion .perks,
  .motion .hyg__note,
  .motion .note,
  .motion .finale {
    margin-top: 40vh;
    margin-top: 40svh;
  }

  .motion .hyg {
    gap: 22vh;
    gap: 22svh;
  }

  .motion .finale {
    margin-bottom: 46vh;
    margin-bottom: 46svh;
  }
}

/* abertura feita em CSS: roda também sem JavaScript */
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) {
    scroll-behavior: smooth;
  }

  .world {
    animation: assemble 2.6s cubic-bezier(0.65, 0, 0.3, 1) 0.1s both;
  }

  .overlay {
    animation: rise 0.8s var(--ease-out) 2.1s both;
  }

  .hero > * {
    animation: rise 0.8s var(--ease-out) both;
  }

  .hero > :nth-child(1) {
    animation-delay: 0.1s;
  }

  .hero > :nth-child(2) {
    animation-delay: 0.2s;
  }

  .hero > :nth-child(3) {
    animation-delay: 0.3s;
  }

  .hero > :nth-child(4) {
    animation-delay: 0.4s;
  }
}

@keyframes assemble {
  from {
    --k: 0.02;
    --it: -44deg;
    --is: 38deg;
  }

  to {
    --k: 1;
    --it: 0deg;
    --is: 0deg;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* celular: menos detalhe na maquete */
@media (max-width: 599px) {
  .lod {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
