/* CriaFix Lab - site
   Layout: the workbench - a black header and hero on a cutting-mat grid with a 2x3 index of service tiles,
   then one band per service alternating white and light grey, the quote form beside a black contact card,
   and a black footer. Cut corners on buttons, cards and fields come from the chamfered C and F of the logo.
   Single brand look (black, red, white). */

@font-face {
  font-family: "Saira";
  src: url("fonts/saira.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --ink-2: #1b1818;
  --ink-3: #2a2525;
  --ink-line: #262222;
  --paper: #ffffff;
  --mist: #f3f2f1;
  --line: #dedad8;
  --fg: #141111;
  --fg-2: #4f4a49;
  --muted: #6e6866;
  --on-ink: #ffffff;
  --on-ink-2: #bdb7b5;
  --red: #e3000b;
  --red-hover: #c5000a;
  --red-ink: #c00009;
  --red-on-ink: #ff4d52;
  --ok-bg: #e6f3ea;
  --ok-fg: #0b6b33;
  --tbd-bg: #fff1a8;
  --tbd-fg: #4d3f00;
  --font-display: "Saira", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --cut: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--ink); z-index: 30; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
section[id], aside[id] { scroll-margin-top: 84px; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 30px; height: 30px; }

/* the cut corner, taken from the logo */
.btn, .tile, .device, .print, .callout, .contact, .chips li, .lre, .menu summary,
.field input, .field select, .field textarea, .form-ok,
.track-panel, .work img, .ticket, .ticket-state, .track-card, .help-card, .faq details {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: var(--paper); color: var(--fg); padding: 8px 12px; font-weight: 600; }
.skip:focus { top: 8px; }

.tbd { background: var(--tbd-bg); color: var(--tbd-fg); padding: 1px 7px; font-weight: 600; font-size: 0.92em; border-radius: 3px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.topbar-in { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; display: block; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; }
.brand-word b { color: var(--red-on-ink); font-weight: 700; }
.brand-word span { margin-left: 0.45em; font-weight: 600; font-size: 0.72em; letter-spacing: 0.3em; color: var(--on-ink-2); }
.nav { display: none; margin-left: auto; gap: 2px; }
.nav a { color: var(--on-ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 10px; }
.nav a:hover { color: var(--on-ink); }
.topbar .topbar-cta { display: none; }
.menu { margin-left: auto; }
.menu summary {
  --cut: 8px;
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-ink); font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline-offset: -5px; outline-color: var(--on-ink); }
.menu[open] summary { background: var(--ink-3); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); border-top: 1px solid var(--ink-line); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  display: grid; padding-top: 6px; padding-bottom: 18px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.menu-panel a { color: var(--on-ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding: 12px 0; border-bottom: 1px solid var(--ink-2); }
@media (min-width: 560px) {
  .topbar .topbar-cta { display: inline-flex; margin-left: auto; }
  .menu { margin-left: 0; }
}
@media (min-width: 1140px) {
  .nav { display: flex; }
  .topbar .topbar-cta { margin-left: 0; }
  .menu { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  --cut: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1;
  text-decoration: none; padding: 15px 22px; border: 0; cursor: pointer;
}
.btn .ic { width: 18px; height: 18px; }
.btn:focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
.btn-small { padding: 11px 16px; font-size: 0.875rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-line-ink { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.btn-line-ink:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-line { background: var(--paper); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn-line:hover { background: var(--mist); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-ink);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.kicker-on-ink { color: var(--red-on-ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--ink); color: var(--on-ink);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  padding-block: clamp(40px, 7vw, 92px) clamp(48px, 8vw, 100px);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 25%, rgba(11, 11, 11, 0.55) 62%, rgba(11, 11, 11, 0.15)); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.7rem, 8.4vw, 5.1rem); line-height: 0.98; letter-spacing: -0.012em; margin-top: 16px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--red-on-ink); }
.hero-copy > h1:first-child { margin-top: 0; }
/* o slogan em três linhas; o tamanho acompanha a largura para «Traga o problema.» nunca partir */
.hero h1 { font-size: clamp(2rem, calc((100vw - 32px) / 8.9), 4rem); }
.hero h1 .h1-l { display: block; white-space: nowrap; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--on-ink-2); margin-top: 20px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-track { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 22px; color: var(--on-ink-2); font-size: 0.98rem; }
.hero-track .ic { color: var(--red-on-ink); }
.hero-track a { color: var(--on-ink); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--red-on-ink); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile {
  --cut: 16px;
  display: grid; gap: 4px; align-content: start; min-height: 132px; padding: 16px 16px 18px;
  background: var(--ink-2); color: var(--on-ink); text-decoration: none; transition: background 0.2s ease;
}
.tile .ic { width: 26px; height: 26px; color: var(--red-on-ink); margin-bottom: 8px; }
.tile strong { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: 0.01em; }
.tile span { font-size: 0.875rem; line-height: 1.4; color: var(--on-ink-2); }
.tile:hover { background: var(--ink-3); }
.tile:focus-visible { outline: 2px solid var(--on-ink); outline-offset: -6px; }
.tile-soon { background: repeating-linear-gradient(135deg, var(--ink-2) 0 12px, #141111 12px 24px); }
@media (min-width: 640px) and (max-width: 979px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
  .hero h1 { font-size: clamp(2rem, calc((100vw - 88px) * 0.057), 4rem); }
}

/* ---------- bands ---------- */
.band { background: var(--paper); padding-block: clamp(56px, 9vw, 108px); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.sec-head { display: grid; gap: 14px; justify-items: start; max-width: 46rem; min-width: 0; }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5.2vw, 3.15rem); line-height: 1.02; letter-spacing: -0.006em; text-wrap: balance; }
.sec-lead { font-size: 1.1rem; color: var(--fg-2); max-width: 38em; }
.band-ink .sec-lead { color: var(--on-ink-2); }
.sec-head .btn { margin-top: 8px; }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; } }

/* repairs */
.devices { display: grid; gap: 12px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .devices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.device { --cut: 16px; display: grid; gap: 8px; align-content: start; background: var(--mist); padding: 22px 20px 24px; }
.device .ic-lg { color: var(--red-ink); margin-bottom: 6px; }
.device h3, .print h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; line-height: 1.15; }
.device p { color: var(--fg-2); font-size: 0.98rem; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--fg); }
.steps li { display: flex; gap: 16px; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--red-ink); min-width: 1.1em; }
.steps h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; }
.steps p { color: var(--fg-2); font-size: 0.97rem; margin-top: 4px; }
@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { flex-direction: column; gap: 10px; border-bottom: 0; padding: 22px 22px 6px 0; }
  .steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
}

/* follow a repair: panel on the home page */
.track-panel {
  --cut: 22px;
  display: grid; gap: 24px; margin-top: 44px; padding: 28px 24px 30px;
  background-color: var(--ink); color: var(--on-ink);
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  scroll-margin-top: 84px;
}
.track-copy { display: grid; gap: 10px; align-content: start; max-width: 30rem; }
.track-copy h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.1rem); line-height: 1.08; }
.track-copy p:last-child { color: var(--on-ink-2); }
.track-form { display: grid; gap: 14px; align-items: end; }
.track-panel .field > span:first-child { color: var(--on-ink-2); }
.track-form .field input { font-size: 1.05rem; }
#a-codigo { text-transform: uppercase; letter-spacing: 0.04em; }
#a-codigo::placeholder { text-transform: none; letter-spacing: 0; }
.track-form .btn { justify-self: start; }
@media (min-width: 640px) {
  .track-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .track-form .btn, .track-form .form-note { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .track-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: center; gap: 40px; padding: 34px 34px 36px; }
}

/* shop */
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { --cut: 8px; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); padding: 9px 14px; font-weight: 600; font-size: 0.95rem; }
.chips .ic { color: var(--red-ink); }
.band-ink .chips li { background: var(--ink-2); color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--ink-line); }
.band-ink .chips .ic { color: var(--red-on-ink); }
.film-note { color: var(--on-ink-2); max-width: 34em; }
.film-note strong { color: var(--on-ink); }

.callout { --cut: 20px; display: grid; gap: 14px; justify-items: start; background: var(--paper); padding: 30px 26px; min-width: 0; }
.callout-ink { background: var(--ink); color: var(--on-ink); }
.callout-kicker { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-ink); }
.callout-ink .callout-kicker { color: var(--red-on-ink); }
.callout-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.22; text-wrap: pretty; }
.callout .btn { margin-top: 6px; }

/* help */
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.06rem; }
.ticks .ic { color: var(--red-ink); margin-top: 5px; }

/* hydrogel films */
.film { display: flex; justify-content: center; align-items: flex-end; gap: 30px; padding-block: 10px 6px; }
.film-device { position: relative; border: 2px solid rgba(255, 255, 255, 0.78); }
.film-phone { width: 150px; height: 300px; border-radius: 28px; }
.film-phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 6px; background: rgba(255, 255, 255, 0.78); }
.film-watch { width: 108px; height: 128px; border-radius: 30px; margin-bottom: 86px; }
.film-watch::before, .film-watch::after { content: ""; position: absolute; left: 22px; right: 22px; height: 58px; border: 2px solid rgba(255, 255, 255, 0.4); }
.film-watch::before { bottom: 100%; border-bottom: 0; border-radius: 10px 10px 0 0; }
.film-watch::after { top: 100%; border-top: 0; border-radius: 0 0 10px 10px; }
.film-layer {
  position: absolute; inset: 7px; border-radius: 21px;
  background: linear-gradient(140deg, rgba(255, 77, 82, 0.34), rgba(255, 255, 255, 0.05) 58%);
  border: 1px solid rgba(255, 77, 82, 0.75);
  transform: translate(12px, -12px);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.film-watch .film-layer { border-radius: 24px; }
.film:hover .film-layer { transform: translate(0, 0); }

/* 3D printing */
.prints { display: grid; gap: 12px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .prints { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.print {
  --cut: 16px;
  display: grid; gap: 8px; align-content: start; padding: 24px 22px 26px;
  background-color: var(--mist);
  background-image: repeating-linear-gradient(0deg, rgba(20, 17, 17, 0.045) 0 1px, transparent 1px 7px);
}
.print .ic-lg { color: var(--red-ink); margin-bottom: 6px; }
.print p { color: var(--fg-2); font-size: 0.98rem; }
.print-feature { background-color: var(--ink); color: var(--on-ink); background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 7px); }
.print-feature .ic-lg { color: var(--red-on-ink); }
.print-feature p { color: var(--on-ink-2); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--red-on-ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.print:not(.print-feature) .link { color: var(--red-ink); }

/* a real job, with its photo */
.work { margin: 40px 0 0; display: grid; gap: 22px; align-items: center; }
.work-img { position: relative; min-width: 0; }
.work img { --cut: 22px; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.work-tag {
  position: absolute; left: 0; bottom: 0; padding: 7px 12px;
  background: rgba(11, 11, 11, 0.82); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.work-note { font-size: 0.86rem; color: var(--muted) !important; border-left: 3px solid var(--line); padding-left: 10px; margin-top: 4px; }
.work figcaption { display: grid; gap: 12px; justify-items: start; max-width: 30rem; }
.work h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 1.9rem); line-height: 1.1; }
.work figcaption p:not(.kicker) { color: var(--fg-2); }
.work .btn { margin-top: 4px; }
@media (min-width: 780px) { .work { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; } }

/* frequent questions */
.faq-in { display: grid; gap: 34px; }
@media (min-width: 980px) { .faq-in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: start; gap: 56px; } }
.faq { display: grid; gap: 10px; }
.faq details { --cut: 12px; background: var(--mist); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 1.2rem; line-height: 1; }
.faq summary::after { transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); }
.nw { white-space: nowrap; }
.faq summary:focus-visible { outline-offset: -4px; }
.faq details p { padding: 0 20px 20px; color: var(--fg-2); max-width: 40em; }
.faq details a { color: var(--red-ink); }

/* coming soon */
.soon { background: var(--ink); color: var(--on-ink); padding-block: 26px; border-top: 1px solid var(--ink-line); }
.soon-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.soon h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.soon p { color: var(--on-ink-2); }
.soon-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red-on-ink); box-shadow: 0 0 0 0 rgba(255, 77, 82, 0.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 82, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(255, 77, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 82, 0); } }

/* quote and contacts */
.quote { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .quote { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; } }
.quote-form { min-width: 0; }
.form { display: grid; gap: 16px; margin-top: 30px; position: relative; }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span:first-child { font-weight: 600; font-size: 0.92rem; color: var(--fg-2); }
.field input, .field select, .field textarea {
  --cut: 8px;
  width: 100%; min-height: 52px; padding: 13px 14px;
  font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--paper); border: 0; box-shadow: inset 0 0 0 1px var(--line);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8481; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--fg); }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 42px; }
.select::after { content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--fg-2); border-bottom: 2px solid var(--fg-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--fg-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.check a { color: var(--red-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { color: var(--red-ink); font-weight: 600; }
.form-ok { --cut: 8px; background: var(--ok-bg); color: var(--ok-fg); font-weight: 600; padding: 12px 16px; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form .btn { justify-self: start; }

.contact { --cut: 22px; display: grid; gap: 20px; background: var(--ink); color: var(--on-ink); padding: 30px 26px 32px; min-width: 0; }
.contact h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; overflow-wrap: anywhere; }
.contact-list .ic { color: var(--red-on-ink); margin-top: 3px; }
.ct-label { display: block; margin-bottom: 2px; font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-2); }
.contact a { color: var(--on-ink); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.45); }
.ct-map { display: block; width: fit-content; margin-top: 6px; font-size: 0.92rem; }
.ct-line { display: block; }

/* footer */
.foot { background: var(--ink); color: var(--on-ink-2); padding-block: 56px 26px; }
.foot-in { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 26rem; }
.foot-nav, .foot-legal { display: grid; gap: 10px; align-content: start; justify-items: start; }
.foot a { color: var(--on-ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a { display: inline-flex; align-items: center; gap: 8px; }
.lre { --cut: 8px; background: var(--paper); color: var(--ink) !important; padding: 10px 16px 10px 12px; font-weight: 700; }
.lre .ic { color: var(--red-ink); }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ink-line); font-size: 0.875rem; }

/* follow a repair: the page */
.acomp-head {
  background-color: var(--ink); color: var(--on-ink);
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  padding-block: clamp(34px, 6vw, 64px) clamp(30px, 5vw, 54px);
}
.acomp-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 6.6vw, 3.9rem); line-height: 1; margin-top: 14px; text-wrap: balance; }
.acomp-head .lead { margin-top: 14px; }
.acomp-body { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 8vw, 96px); }
.acomp-in { display: grid; gap: 22px; align-items: start; }
@media (min-width: 980px) {
  .acomp-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); gap: 32px; }
  .acomp-in.has-ticket { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); }
}
.acomp-side { display: grid; gap: 16px; min-width: 0; }
.acomp-err { background: #fdecec; padding: 12px 16px; }

.ticket { --cut: 24px; background: var(--paper); padding: 24px 20px 26px; display: grid; gap: 22px; min-width: 0; scroll-margin-top: 84px; }
@media (min-width: 600px) { .ticket { padding: 30px 30px 32px; } }
.ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--fg); }
.ticket-id { display: grid; gap: 2px; min-width: 0; }
.ticket-kicker { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-ink); }
.ticket-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; letter-spacing: 0.02em; }
.ticket-item { font-size: 1.1rem; color: var(--fg-2); overflow-wrap: anywhere; }
.ticket-state { --cut: 10px; display: grid; gap: 2px; padding: 10px 16px 12px; min-width: 11rem; }
.ticket-state span { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.ticket-state strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.tom-neutro { background: var(--mist); color: var(--fg); }
.tom-ativo { background: var(--ink); color: #fff; }
.tom-aviso { background: #fff0c2; color: #5c4100; }
.tom-bom { background: var(--ok-bg); color: var(--ok-fg); }
.tom-mau { background: #fdecec; color: var(--red-ink); }

.progress { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.progress li { position: relative; display: flex; align-items: center; gap: 14px; padding: 7px 0; color: var(--muted); font-weight: 600; }
.progress .dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); flex: none; }
.progress li::before { content: ""; position: absolute; left: 8px; top: -50%; height: 100%; width: 2px; background: var(--line); }
.progress li:first-child::before { display: none; }
.progress .is-feito { color: var(--fg); }
.progress .is-feito .dot { background: var(--fg); box-shadow: none; }
.progress .is-feito::before, .progress .is-atual::before { background: var(--fg); }
.progress .is-atual { color: var(--fg); font-weight: 700; }
.progress .is-atual .dot { background: var(--red); box-shadow: 0 0 0 5px rgba(227, 0, 11, 0.16); }
.progress .is-saltado { text-decoration: line-through; text-decoration-thickness: 1px; }
.progress .is-saltado .dot { box-shadow: inset 0 0 0 2px var(--muted); background: repeating-linear-gradient(135deg, var(--paper) 0 3px, var(--line) 3px 5px); }
.progress .is-saltado::before { background: var(--fg); }
@media (min-width: 640px) {
  .progress { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .progress li { flex-direction: column; gap: 10px; padding: 0; text-align: center; font-size: 0.95rem; }
  .progress li::before { left: -50%; top: 8px; width: 100%; height: 2px; }
}

.ticket-msg { background: var(--mist); padding: 16px 18px; border-left: 4px solid var(--red); display: grid; gap: 8px; }
.ticket-msg p:first-child { font-size: 1.12rem; line-height: 1.45; }
.ticket-when { font-size: 0.9rem; color: var(--muted); }
.ticket-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.ticket-facts div { display: grid; gap: 2px; }
.ticket-facts dt { font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ticket-facts dd { margin: 0; font-weight: 600; font-size: 1.05rem; }
.ticket-sub { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-top: 4px; }
.ticket-log { list-style: none; margin: -8px 0 0; padding: 0; display: grid; }
.ticket-log li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.ticket-log li:first-child { border-top: 0; }
.log-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; }
.log-top time { font-size: 0.9rem; color: var(--muted); }
.ticket-log p { color: var(--fg-2); font-size: 0.98rem; }
.ticket-demo { background: var(--tbd-bg); color: var(--tbd-fg); font-weight: 600; font-size: 0.92rem; padding: 8px 12px; }

.track-card { --cut: 18px; background: var(--paper); padding: 22px 20px 24px; grid-template-columns: 1fr !important; }
.track-card .btn { justify-self: start; }
.other summary { cursor: pointer; font-weight: 700; padding: 6px 0 12px; color: var(--fg); }
.other[open] summary { padding-bottom: 14px; }
.help-card { --cut: 18px; background: var(--ink); color: var(--on-ink); padding: 22px 20px 24px; display: grid; gap: 10px; justify-items: start; }
.help-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.help-card p { color: var(--on-ink-2); }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.help-card .btn-ink { background: var(--red); }
.help-card .btn-ink:hover { background: var(--red-hover); }
.help-card .btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }

/* legal pages */
.legal { padding-block: clamp(40px, 7vw, 80px); }
.legal-in { max-width: 46rem; display: grid; gap: 18px; }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-top: 14px; }
.legal p, .legal li { color: var(--fg-2); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--red-ink); }
.legal-date { color: var(--muted); font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .soon-dot { animation: none; }
  .film-layer, .tile { transition: none; }
}
