/* Sua ótica, na palma da mão. */
.devices { background: #f1eddf; border-top: 1px solid var(--hairline); }
.devices-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "photo copy";
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.devices-photo { grid-area: photo; display: block; width: 100%; height: auto; border-radius: 14px; }
.devices-copy { grid-area: copy; }
.devices-copy h2 { max-width: 12ch; }
.devices-copy p { max-width: 42ch; margin: 21px 0 24px; color: var(--muted); }
.devices-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.devices-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--restinga);
  font-size: 15px;
  font-weight: 650;
  text-underline-offset: 4px;
}

/* Laboratório e conferência da retirada. */
.journey { background: var(--restinga); color: var(--marfim); }
.journey .kicker { color: var(--areia); }
.journey p { color: #dce6d9; }
.lab-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
}
.band .lab-story { max-width: 47ch; margin: 20px 0 25px; }
.lab-link, .lab-support a { color: var(--marfim); font-weight: 620; text-underline-offset: 4px; }
.band .lab-ticket {
  justify-self: end;
  width: min(100%, 490px);
  padding: clamp(20px, 3.4vw, 43px);
  border-radius: 12px;
  background: var(--marfim);
  color: var(--restinga);
}
.lab-ticket figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}
.band .lab-ticket h3 { margin: 20px 0 12px; }
.band .lab-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 620;
  background: var(--areia);
  color: var(--restinga);
  padding: 5px 12px;
  border-radius: 30px;
}
.lab-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lab-ticket dl { margin: 21px 0 0; }
.lab-ticket dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid var(--hairline);
  padding: 12px 0;
}
.lab-ticket dt { color: var(--muted); font-size: 15px; }
.lab-ticket dd { margin: 0; font-weight: 650; text-align: right; }
.lab-support {
  margin-top: 36px;
  border-top: 1px solid #719182;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
}
.lab-support a { font-size: 14px; }

/* Nota fiscal e envio ao cliente. */
.fiscal { background: var(--areia); }
.fiscal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(35px, 6vw, 92px);
}
.fiscal-layout > div > p:not(.kicker) { max-width: 49ch; }
.fiscal-shot img { display: block; width: 100%; height: auto; }
.band details > summary { cursor: pointer; color: var(--restinga); font-size: 16px; font-weight: 660; }
.band details[open] > p { margin-top: 12px; max-width: 56ch; }
.fiscal-shot {
  display: block;
  max-width: 396px;
  width: 100%;
  justify-self: center;
  text-decoration: none;
  border: 1px solid var(--hairline);
  color: var(--restinga);
  background: #fffcf5;
  border-radius: 12px;
  overflow: hidden;
}
.shot-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--hairline);
  background: var(--marfim);
  font-size: 14px;
  font-weight: 620;
}
.fiscal-shot:hover .shot-caption { background: var(--areia); }

/* Seletores de área e painéis do sistema. */
.system .section-lead { margin-bottom: 26px; }
.view-choices { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.view-choices button {
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--restinga);
  font: inherit;
  font-weight: 620;
  font-size: 15px;
}
.view-choices button[aria-pressed="true"] {
  color: var(--marfim);
  background: var(--restinga);
  border-color: var(--restinga);
}
.system-view {
  display: grid;
  grid-template-columns: .77fr 1.4fr;
  align-items: center;
  gap: clamp(28px, 4vw, 75px);
  padding: clamp(24px, 4vw, 58px);
  border-radius: 20px;
  border: 1px solid var(--hairline);
  background: #f6e9d0;
}
.system-view + .system-view { margin-top: 12px; }
.view-copy p, .fiscal-layout > div > p:not(.kicker), .demo-box > div > p:not(.kicker) {
  margin: 16px 0 22px;
  color: var(--muted);
}
.inline-link { color: var(--restinga); font-weight: 650; text-underline-offset: 4px; }
.view-img { min-width: 0; display: grid; justify-items: center; }
.view-img img { display: block; width: 100%; height: auto; border-radius: 7px; border: 1px solid var(--hairline); }
.view-img.phone img { width: min(100%, 210px); }

/* Ficha ilustrada com os valores do pedido de Marina. */
#cash { background: #f7ebd4; }
.band .order-slip {
  width: min(100%, 530px);
  min-width: 0;
  justify-self: center;
  padding: clamp(22px, 3vw, 40px);
  position: relative;
  background: #fffcf4;
  border: 1px solid #d9c8a5;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 12px 24px -18px #715c35;
}
.order-slip::after {
  content: "";
  position: absolute;
  inset: 100% -1px auto;
  height: 7px;
  background: linear-gradient(135deg, #fffcf4 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(225deg, #fffcf4 25%, transparent 25%) 0 0 / 14px 14px;
}
.order-slip figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  color: #506452;
  font-size: 12px;
}
.order-slip figcaption span:last-child { font-variant-numeric: tabular-nums; letter-spacing: .07em; }
.order-slip h4 {
  margin: 22px 0 18px;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -.04em;
}
.order-slip dl, .order-slip dd { margin: 0; }
.slip-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 15px 0 12px;
  border-top: 1px dashed #cbbb9c;
}
.order-slip dt { color: var(--muted); font-size: 15px; }
.order-slip dd { font-variant-numeric: tabular-nums; }
.slip-total dd { color: var(--restinga); font-weight: 680; font-size: clamp(22px, 2vw, 30px); }
.payment-bar {
  height: 14px;
  margin: 6px 0 19px;
  border-radius: 4px;
  overflow: hidden;
  background: repeating-linear-gradient(120deg, #e8bf70 0 3px, #f4d593 3px 7px);
}
.payment-bar::before {
  content: "";
  display: block;
  height: 100%;
  width: 39.526%;
  background: var(--restinga);
  border-right: 2px solid #fffcf4;
}
.slip-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.slip-parts dt { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.slip-parts i {
  display: inline-block;
  flex: 0 0 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--restinga);
}
.slip-parts div:last-child i { background: #e8bf70; }
.slip-parts dd { margin-top: 5px; font-size: clamp(17px, 1.75vw, 25px); font-weight: 650; }

/* Roteiro da demonstração. */
.demo { padding-block: clamp(62px, 6.7vw, 106px); border-top: 1px solid var(--hairline); }
.demo-box {
  display: grid;
  grid-template-columns: minmax(80px, 125px) minmax(0, 760px);
  gap: clamp(24px, 4.5vw, 70px);
  align-items: center;
  justify-content: center;
}
.little-owl { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.demo-box h2 { font-size: clamp(33px, 3.9vw, 58px); }
.demo-details summary {
  width: fit-content;
  padding: 12px 21px;
  border-radius: 28px;
  background: var(--restinga);
}
.band .demo-details > summary { color: var(--marfim); }
.demo-details ol { padding-left: 22px; line-height: 1.65; }

/* Rodapé. */
.closing { padding: 24px 0; background: var(--restinga); color: var(--marfim); }
.closing .inside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  flex-wrap: wrap;
}
.closing span, .closing a { font-size: 15px; font-weight: 650; }
.closing small { font-size: 13px; color: #e3e7d8; }
.closing a { color: inherit; text-underline-offset: 4px; }

/* Ampliação das capturas reais. */
#zoom {
  width: min(1200px, 94vw);
  max-height: 90vh;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--marfim);
  color: var(--restinga);
}
#zoom::backdrop { background: #0a2119cf; }
.zoom-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--marfim);
}
.zoom-bar button {
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
}
.zoom-image { overflow: auto; max-height: 76vh; text-align: center; }
.zoom-image img { display: block; max-width: 100%; height: auto; margin: auto; }

@media (max-width: 760px) {
  .inside { width: calc(100% - 40px); }
  .band p { font-size: 16px; }
  .section-lead, .fiscal-layout, .system-view, .lab-layout, .devices-layout, .demo-box {
    grid-template-columns: 1fr;
  }
  .section-lead, .fiscal-layout, .system-view { gap: 18px; }
  .section-lead { margin-bottom: 28px; }
  .section-lead > p { justify-self: start; }

  .devices-layout { grid-template-areas: "copy" "photo"; gap: 20px; }
  .devices-copy h2 { max-width: 14ch; }
  .devices-copy p { margin: 16px 0 10px; }

  .band .lab-ticket { justify-self: start; }
  .lab-support { gap: 18px; }

  .view-choices button { font-size: 14px; padding: 10px 13px; }
  .little-owl { width: 72px; }
  .closing .inside { align-items: start; flex-direction: column; }
  .zoom-image img { max-width: none; max-height: 70vh; }
}

@media (max-width: 450px) {
  #cash { padding: 22px 15px 30px; }
  .band .order-slip { padding: 20px 14px; }
  .slip-parts dt { font-size: 13px; gap: 5px; }
}
