﻿/* ============================================================
   Central de Acesso GM — estilos
   ============================================================ */

:root {
  --blue: #0094D9;
  --blue-deep: #0066B2;
  --blue-ink: #004A85;
  --navy: #082A42;
  --red: #EC1C24;
  --bg: #F2F7FB;
  --card: #FFFFFF;
  --ink: #0E2A43;
  --muted: #5A7285;
  --line: #DCE8F1;
  --line-strong: #C4D8E7;
  --ok: #0B8A5F;
  --ok-soft: #E3F7EE;
  --danger: #B3121F;
  --danger-soft: #FDECEE;
  --warn: #8A5A00;
  --warn-soft: #FFF7E6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -32px rgba(8, 42, 66, .55);
  --shadow-lg: 0 32px 70px -40px rgba(8, 42, 66, .6);
  --ring: 0 0 0 3px rgba(0, 148, 217, .28);
  /* marca do sistema (preenchida pelo app.js a partir do config.js) */
  --marca: #EC1C24;
  --marca-escura: #8E0D13;
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -12%, #DFF1FB 0%, rgba(223, 241, 251, 0) 62%),
    radial-gradient(760px 460px at 100% -4%, #E8F3FB 0%, rgba(232, 243, 251, 0) 58%),
    var(--bg);
  line-height: 1.5;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: .45em;
}

h2 {
  font-size: 1.14rem;
  letter-spacing: -.01em;
  margin-bottom: .35em;
}

a { color: var(--blue-deep); }

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: .86em;
  background: #EAF3FA;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Acessibilidade ---------- */

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---------- Topo ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-heart {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(150deg, #16171C, #08080A);
  box-shadow: 0 10px 22px -12px rgba(140, 13, 19, .9);
}

.brand-heart svg {
  width: 26px;
  height: 24px;
  transform: rotate(-16deg);
  overflow: visible;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

/* nome da marca em 3D (mesmo do descanso, em tamanho de cabeçalho) */
.brand-3d {
  font-family: "Segoe UI Black", "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.06rem;
  line-height: 1.2;
  letter-spacing: .005em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-3d .ss-ch {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .45),
    0 2px 0 rgba(62, 62, 72, .9),
    0 3px 0 rgba(46, 46, 54, .82),
    0 4px 0 rgba(34, 34, 41, .74),
    0 5px 4px rgba(0, 0, 0, .3);
  animation: ss-ch-in-mini .6s cubic-bezier(.16, .84, .28, 1) both;
  animation-delay: calc(var(--i, 0) * 40ms + .05s);
}

@keyframes ss-ch-in-mini {
  from {
    opacity: 0;
    transform: translate3d(0, .5em, -90px) rotateX(-65deg) scale(.86);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
  }
}

.brand-text strong:not(.brand-3d) { font-size: 1rem; letter-spacing: -.02em; }

.brand-text small {
  font-size: .74rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--warn);
  background: var(--warn-soft);
  border: 1px solid #F0D8A2;
}

.mode-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E0A02A;
}

.mode-chip[data-mode="real"] {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: #BFE9D8;
}

.mode-chip[data-mode="real"]::before { background: var(--ok); }

.count {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  background: var(--blue-deep);
  color: #fff;
}

/* ---------- Aviso de simulação ---------- */

.sim-banner {
  background: var(--warn-soft);
  border-bottom: 1px solid #F1DCAF;
  color: #6B4A0A;
  font-size: .84rem;
}

.sim-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-banner p { margin: 0; }

.sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E0A02A;
  flex: none;
  box-shadow: 0 0 0 4px rgba(224, 160, 42, .18);
}

.sim-banner details { margin-left: auto; }

.sim-banner summary {
  cursor: pointer;
  font-weight: 700;
  color: #8A5A00;
  list-style: none;
}

.sim-banner summary::-webkit-details-marker { display: none; }

.sim-banner summary::after {
  content: "+";
  display: inline-block;
  margin-left: 6px;
  font-weight: 800;
}

.sim-banner details[open] summary::after { content: "–"; }

.sim-details {
  flex-basis: 100%;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #E8D2A0;
  max-width: 860px;
}

.sim-details p { margin-bottom: 8px; }
.sim-details p:last-child { margin-bottom: 0; }

/* ---------- Estrutura ---------- */

main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 20px 64px;
  flex: 1;
}

.view { animation: fade-up .35s ease both; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: .8em;
}

.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 62ch;
}

.micro-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

.micro-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--blue-deep);
}

/* ---------- Início ---------- */

.home-head {
  max-width: 880px;
  margin: 0 0 38px;
}

.home-head .lead { max-width: 68ch; }

.home-flow {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-flow li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hf-num {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep));
}

.hf-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.hf-text strong { font-size: .92rem; }

.hf-text span {
  font-size: .83rem;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card-sub {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 18px;
}

/* ---------- Descanso de tela ----------
   Tema escuro com brilho vermelho no estilo "mateus / Suporte T.I".
   Everything is static or animates only transform/opacity, so the
   screensaver runs light on the counter PC (no repaint of large areas). */

body.is-resting { overflow: hidden; }

.screensaver {
  --ss-red: var(--marca, #EC1C24);
  --ss-red-dark: var(--marca-escura, #8E0D13);
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: #08080A;
  cursor: pointer;
  user-select: none;
  animation: ss-in .45s ease both;
}

@keyframes ss-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- fundo em camadas ------------------------------------------------- */

.ss-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ss-bg-base {
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 640px at 50% 38%, #1E1F25 0%, #131418 46%, #08080A 100%);
}

.ss-bg-panel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, .055) 0 15%, rgba(255, 255, 255, 0) 15.4% 100%),
    linear-gradient(298deg, rgba(255, 255, 255, .04) 0 22%, rgba(255, 255, 255, 0) 22.4% 100%);
}

.ss-bg-stripes {
  position: absolute;
  top: -14%;
  left: -8%;
  width: 48%;
  height: 78%;
  background: repeating-linear-gradient(114deg, var(--ss-red) 0 9px, rgba(236, 28, 36, 0) 9px 46px);
  opacity: .45;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, .4) 44%, rgba(0, 0, 0, 0) 78%);
  mask-image: linear-gradient(200deg, #000 0%, rgba(0, 0, 0, .4) 44%, rgba(0, 0, 0, 0) 78%);
  animation: ss-drift 30s ease-in-out infinite;
}

.ss-bg-dots {
  position: absolute;
  top: -6%;
  right: -5%;
  width: 46%;
  height: 58%;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, rgba(255, 255, 255, 0) 1.5px);
  background-size: 18px 18px;
  opacity: .4;
  -webkit-mask-image: radial-gradient(72% 72% at 68% 30%, #000 0%, rgba(0, 0, 0, 0) 74%);
  mask-image: radial-gradient(72% 72% at 68% 30%, #000 0%, rgba(0, 0, 0, 0) 74%);
  animation: ss-drift 46s ease-in-out infinite;
}

.ss-bg-floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 36%;
  background: radial-gradient(58% 100% at 50% 100%, rgba(236, 28, 36, .5), rgba(236, 28, 36, 0) 72%);
  animation: ss-breathe 8s ease-in-out infinite;
}

/* feixe de luz que atravessa a tela de leve em leve */
.ss-beam {
  position: absolute;
  top: -35%;
  left: 0;
  width: 32%;
  height: 170%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, .06) 42%,
    rgba(255, 255, 255, .12) 50%,
    rgba(255, 255, 255, .06) 58%,
    rgba(255, 255, 255, 0));
  animation: ss-sweep 13s cubic-bezier(.45, .05, .55, .95) infinite;
}

@keyframes ss-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2.5%, 1.5%, 0); }
}

@keyframes ss-breathe {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@keyframes ss-sweep {
  0% { transform: translate3d(-130%, 0, 0) skewX(-14deg); }
  55% { transform: translate3d(340%, 0, 0) skewX(-14deg); }
  100% { transform: translate3d(340%, 0, 0) skewX(-14deg); }
}

/* --- palco (marca) ----------------------------------------------------- */

.ss-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 96px;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ss-hit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .7);
  outline-offset: -8px;
}

.ss-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}

/* marca: coração vermelho com batida */
.ss-mark {
  position: relative;
  display: block;
  margin-bottom: 4px;
  animation: ss-rise .9s cubic-bezier(.2, .8, .25, 1) both .05s;
}

.ss-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 165%;
  height: 165%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 28, 36, .34), rgba(236, 28, 36, 0) 66%);
  pointer-events: none;
}

.ss-heart {
  position: relative;
  display: block;
  width: clamp(56px, 8.5vw, 100px);
  height: auto;
  overflow: visible;
  animation: ss-beat 2.8s ease-in-out infinite;
}

.ss-heart-path {
  fill: none;
  stroke: url(#ssHeartGrad);
  stroke-width: 13;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ss-stop-a { stop-color: #ff4b42; }
.ss-stop-b { stop-color: var(--ss-red); }
.ss-stop-c { stop-color: var(--ss-red-dark); }

/* palavra em 3D: cada letra entra uma a uma */
.ss-word {
  position: relative;
  display: block;
  max-width: 100%;
  font-family: "Segoe UI Black", "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 6vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: .005em;
  text-transform: uppercase;
  perspective: 900px;
  transform-style: preserve-3d;
}

.ss-ch {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg,
    #FFFFFF 0%, #F1F1F5 24%, #A8A8B3 47%,
    #FFFFFF 60%, #D8D8E0 74%, #8C8C97 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .30),
    0 2px 0 rgba(60, 60, 70, .95),
    0 3px 0 rgba(53, 53, 62, .95),
    0 4px 0 rgba(46, 46, 55, .95),
    0 5px 0 rgba(40, 40, 48, .93),
    0 6px 0 rgba(34, 34, 41, .90),
    0 7px 0 rgba(28, 28, 34, .88),
    0 8px 0 rgba(22, 22, 28, .85),
    0 9px 0 rgba(16, 16, 21, .80),
    0 10px 0 rgba(12, 12, 16, .75),
    0 12px 0 rgba(8, 8, 12, .70),
    0 14px 12px rgba(0, 0, 0, .55),
    0 20px 26px rgba(0, 0, 0, .45);
  animation: ss-ch-in .8s cubic-bezier(.16, .84, .28, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms + .3s);
}

@keyframes ss-ch-in {
  from {
    opacity: 0;
    transform: translate3d(0, .55em, -260px) rotateX(-72deg) scale(.72);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
  }
}

.ss-code {
  position: relative;
  display: block;
  margin-top: 12px;
  font-size: clamp(1.15rem, 3.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: .2em;
  color: #F2F2F5;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .6);
  animation: ss-rise .9s cubic-bezier(.2, .8, .25, 1) both .3s;
}

/* assinatura com risco vermelho que se desenha */
.ss-sig {
  position: relative;
  display: block;
  margin-top: 4px;
  padding-bottom: 10px;
  animation: ss-rise .9s cubic-bezier(.2, .8, .25, 1) both .42s;
}

.ss-sig-text {
  display: block;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", "URW Chancery L", cursive;
  font-size: clamp(1.5rem, 4.6vw, 3rem);
  font-style: italic;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 12px 24px rgba(0, 0, 0, .55);
}

.ss-swoosh {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 120%;
  height: 20px;
  transform: translateX(-50%);
  overflow: visible;
}

.ss-swoosh path {
  fill: none;
  stroke: var(--ss-red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  vector-effect: non-scaling-stroke;
  animation: ss-draw 1.5s cubic-bezier(.4, 0, .2, 1) .8s forwards;
}

@keyframes ss-draw {
  to { stroke-dashoffset: 0; }
}

/* chamada: toque para voltar ao atendimento */
.ss-cta {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-top: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(236, 28, 36, .16);
  border: 1.5px solid rgba(236, 28, 36, .6);
  animation: ss-rise .9s cubic-bezier(.2, .8, .25, 1) both .56s;
}

.ss-cta::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid rgba(236, 28, 36, .5);
  animation: ss-ping 2.6s ease-out infinite;
}

.ss-cta svg { width: 34px; height: 34px; stroke-width: 1.7; }

.ss-cta-text {
  position: relative;
  display: block;
  margin-top: 16px;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .65);
  animation: ss-rise .9s cubic-bezier(.2, .8, .25, 1) both .64s;
}

.ss-hint {
  position: relative;
  display: block;
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  animation: ss-rise .9s cubic-bezier(.2, .8, .25, 1) both .72s;
}

@keyframes ss-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes ss-beat {
  0%, 44%, 100% { transform: rotate(-16deg) scale(1); }
  9% { transform: rotate(-16deg) scale(1.1); }
  19% { transform: rotate(-16deg) scale(1); }
  29% { transform: rotate(-16deg) scale(1.05); }
}

@keyframes ss-ping {
  0% { transform: scale(1); opacity: .85; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.ss-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  border-top: 1px solid rgba(236, 28, 36, .3);
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .6));
  box-shadow: 0 -18px 44px rgba(236, 28, 36, .12);
}

.ss-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.ss-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 12px;
  flex: none;
}

.ss-item {
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ss-item.soft {
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .78);
}

.ss-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ss-red, var(--red));
  box-shadow: 0 0 0 3px rgba(236, 28, 36, .28);
}

.ss-marquee-brand {
  flex: none;
  display: block;
  font-family: "Segoe UI Black", "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -.01em;
  color: transparent;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9C9D2 45%, #FFFFFF 58%, #9A9AA4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Opções ---------- */

.options-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.options-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }

.options-head p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 214px;
  padding: 22px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.option:hover:not(:disabled) {
  transform: translateY(-4px);
  border-color: #AFD7EE;
  box-shadow: 0 28px 50px -30px rgba(8, 42, 66, .6);
}

.option:active:not(:disabled) { transform: translateY(-1px); }

.option:disabled {
  cursor: not-allowed;
  opacity: .55;
  background: #F8FBFD;
  box-shadow: none;
}

.option-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: #E8F4FC;
  margin-bottom: 4px;
}

.option-icon svg { width: 25px; height: 25px; }

.option-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.option-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

.option-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.option-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Formulários ---------- */

.id-block {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}

.id-block.is-locked {
  opacity: .7;
}

.question-block {
  margin-bottom: 22px;
  padding: 18px 16px 4px;
  border: 1.5px solid #CFE5F5;
  border-radius: var(--radius-sm);
  background: #F4FAFE;
}

.question-block .id-block-head {
  margin-bottom: 14px;
}

.question-block .field:last-of-type {
  margin-bottom: 14px;
}

.id-block-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.id-block-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue-deep);
  background: #E8F4FC;
}

.id-block-icon svg { width: 21px; height: 21px; }

.id-block-head h2 {
  margin: 0 0 2px;
  font-size: 1rem;
  letter-spacing: -.01em;
}

.id-block-head p {
  margin: 0;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.5;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .88rem;
  font-weight: 700;
}

.input,
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #FBFDFE;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.input:hover,
.field input:hover,
.field select:hover { border-color: #9FC8E1; }

.input:focus,
.field input:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: var(--ring);
}

.input.is-invalid,
.field input.is-invalid {
  border-color: #E38A94;
  background: #FFF7F8;
  box-shadow: 0 0 0 3px rgba(179, 18, 31, .1);
}

.field-hint {
  margin: 6px 0 0;
  font-size: .78rem;
  color: var(--muted);
}

.field-hint[hidden] { display: none; }

.input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.input-row input { flex: 1; min-width: 0; }

.btn-eye {
  min-height: 48px;
  padding: 0 14px;
  flex: none;
}

.form-error {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid #F3C3C9;
  background: var(--danger-soft);
  color: #8C1220;
  font-size: .87rem;
  font-weight: 600;
}

.rules {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: .8rem;
  color: var(--muted);
}

.rules li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid #C9DAE7;
  background: #fff;
}

.rules li.ok { color: var(--ok); }

.rules li.ok::before {
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--ok);
  border-color: var(--ok);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn svg { flex: none; }

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 12px 24px -14px rgba(0, 102, 178, .95);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -16px rgba(0, 102, 178, .95);
}

.btn-secondary {
  color: var(--blue-ink);
  background: #EAF4FC;
  border-color: #CBE5F6;
}

.btn-secondary:hover:not(:disabled) { background: #DEEFFA; }

.btn-ghost {
  color: var(--muted);
  background: #fff;
  border-color: var(--line-strong);
}

.btn-ghost:hover:not(:disabled) {
  color: var(--ink);
  border-color: #A9CADF;
}

.btn-print {
  color: #fff;
  background: linear-gradient(135deg, #0C3E63, var(--navy));
  box-shadow: 0 16px 28px -16px rgba(8, 42, 66, .95);
  letter-spacing: .06em;
}

.btn-print:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px -18px rgba(8, 42, 66, .95);
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 12px;
  font-size: .82rem;
  border-radius: 10px;
}

.btn-sm svg { width: 17px; height: 17px; }

.btn-block { width: 100%; }

.btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid #CBE0EE;
  background: #fff;
  color: var(--blue-deep);
  font: inherit;
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-mini:hover { background: #EFF8FE; }
.btn-mini svg { width: 14px; height: 14px; }

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.actions .btn-primary { margin-left: auto; }

/* ---------- Atendimento ---------- */

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--blue-deep);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
}

.link-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-back svg { width: 16px; height: 16px; }

.service-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.service-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .25em; }
.service-head .lead { margin-bottom: 0; font-size: .96rem; }

.service-icon {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep));
  box-shadow: 0 16px 26px -18px rgba(0, 102, 178, .95);
}

.service-icon svg { width: 28px; height: 28px; }

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .88fr);
  gap: 22px;
  align-items: start;
}

.service-card { padding: 26px; }

.steps-card {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.steps-card h2 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 18px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 27px;
  bottom: 0;
  width: 1.5px;
  background: var(--line);
}

.t-dot {
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid #D2E2EE;
  background: #F4F9FD;
  color: #7E96A8;
  font-size: .72rem;
  font-weight: 800;
  z-index: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.t-label {
  font-size: .87rem;
  font-weight: 600;
  color: var(--muted);
  padding-top: 4px;
  line-height: 1.4;
}

.timeline li[data-status="running"] .t-dot {
  color: var(--blue-deep);
  border-color: var(--blue);
  background: #E6F4FC;
  animation: dot-pulse 1.2s ease-in-out infinite;
}

.timeline li[data-status="running"] .t-label {
  color: var(--ink);
  font-weight: 700;
}

.timeline li[data-status="done"] .t-dot {
  color: #fff;
  background: var(--ok);
  border-color: var(--ok);
}

.timeline li[data-status="done"] .t-label { color: var(--muted); }

.timeline li[data-status="error"] .t-dot {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.timeline li[data-status="error"] .t-label {
  color: var(--danger);
  font-weight: 700;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 148, 217, .3); }
  50% { box-shadow: 0 0 0 6px rgba(0, 148, 217, 0); }
}

.callout {
  display: flex;
  gap: 9px;
  margin-top: 20px;
  padding: 13px;
  border-radius: 12px;
  background: #F3F9FD;
  border: 1px solid var(--line);
  font-size: .79rem;
  color: var(--muted);
  line-height: 1.5;
}

.callout svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  color: var(--blue-deep);
}

.callout p { margin: 0; }

.password-block { border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 4px; }

.progress-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 4px;
}

.spinner {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 3px solid #DCEBF6;
  border-top-color: var(--blue-deep);
  animation: spin .8s linear infinite;
  margin-top: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.progress-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.progress-label {
  font-size: .9rem;
  color: var(--blue-ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-sub {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Resultado ---------- */

.result-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.result-head h2 { margin: 0 0 2px; font-size: 1.25rem; }
.result-head p { margin: 0; color: var(--muted); font-size: .87rem; }

.result-check {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #12A773, var(--ok));
  box-shadow: 0 12px 22px -14px rgba(11, 138, 95, .9);
}

.result-check svg { width: 25px; height: 25px; stroke-width: 2.6; }

.result-rows {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.result-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  padding: 13px 15px;
  border-radius: 13px;
  background: #F6FAFD;
  border: 1px solid var(--line);
}

.result-row dt {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--muted);
}

.result-row dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: .01em;
  word-break: break-all;
}

.result-row dd .btn-mini { font-family: "Segoe UI", system-ui, sans-serif; }

#settings-paper-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#settings-paper-custom .field { margin-bottom: 0; }

.actions-print {
  position: sticky;
  bottom: -1px;
  z-index: 5;
  gap: 12px;
  margin: 14px -6px 0;
  padding: 12px 6px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 26px -22px rgba(8, 42, 66, .5);
}

.actions-print .btn-print { margin-left: auto; }

/* ---------- Rodapé ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  margin-top: auto;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted);
}

.footer-inner p { margin: 0; }

.footer-brand {
  font-family: "Segoe UI Black", "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--marca-escura, #8E0D13);
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Registros ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 42, 66, .45);
  backdrop-filter: blur(2px);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -26px 0 60px -30px rgba(8, 42, 66, .7);
  animation: drawer-in .22s ease both;
}

@keyframes drawer-in {
  from { transform: translateX(24px); opacity: .6; }
  to { transform: none; opacity: 1; }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 { margin: 0 0 2px; font-size: 1.05rem; }
.drawer-head p { margin: 0; font-size: .78rem; color: var(--muted); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.drawer-foot {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #FBFDFE;
}

.settings-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FBFDFE;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.45;
}

.settings-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #C9D6DF;
}

.settings-status[data-state="ok"] {
  border-color: #BFE5D6;
  background: var(--ok-soft);
  color: #0B6B4F;
}

.settings-status[data-state="ok"] .settings-dot { background: var(--ok); }

.settings-status[data-state="off"] {
  border-color: #F3C9CE;
  background: var(--danger-soft);
  color: var(--danger);
}

.settings-status[data-state="off"] .settings-dot { background: var(--danger); }

.settings-status[data-state="loading"] .settings-dot {
  animation: settings-pulse 1s ease-in-out infinite;
}

@keyframes settings-pulse {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.settings-note,
.settings-error {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.5;
}

.settings-note {
  border: 1px solid #BFE5D6;
  background: var(--ok-soft);
  color: #0B6B4F;
}

.settings-error {
  border: 1px solid #F3C9CE;
  background: var(--danger-soft);
  color: var(--danger);
}

.settings-note[hidden],
.settings-error[hidden] { display: none; }

.settings-foot { justify-content: space-between; }
.settings-foot .btn { flex: 1 1 auto; }

.drawer-foot .btn[disabled] { opacity: .5; cursor: not-allowed; }

.admin-actions,
.admin-security {
  display: grid;
  gap: 10px;
}

.admin-actions .btn,
.admin-security .btn {
  width: 100%;
  justify-content: flex-start;
}

.admin-security {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-security h3 {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-security p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
}

.log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.log-item {
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FBFDFE;
}

.log-item[data-status="falha"] { border-color: #F3C9CE; background: #FFF8F9; }

.log-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.log-status {
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ok);
}

.log-item[data-status="falha"] .log-status { color: var(--danger); }

.log-top time { font-size: .72rem; color: var(--muted); }

.log-op { margin: 0 0 2px; font-size: .87rem; font-weight: 700; }

.log-meta {
  margin: 0;
  font-size: .75rem;
  color: var(--muted);
  word-break: break-word;
}

.log-empty {
  margin: 22px 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .87rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 18px 40px -18px rgba(8, 42, 66, .8);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .25s ease, transform .25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Impressão ---------- */

#print-root { display: none; }

@page p58 { size: 58mm 80mm; margin: 3mm; }
@page p80 { size: 72mm 297mm; margin: 3mm; }
@page pa6 { size: 105mm 148mm; margin: 8mm; }

#print-root[data-paper="58mm"] { page: p58; }
#print-root[data-paper="80mm"] { page: p80; }
#print-root[data-paper="personalizado"] { page: p80; }
#print-root[data-paper="a6"] { page: pa6; }

@media print {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    min-height: 0 !important;
  }

  body > *:not(#print-root) { display: none !important; }

  #print-root {
    display: block !important;
    color: #000;
  }

  .print-sheet {
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
  }

  .p-line {
    display: flex;
    align-items: baseline;
    gap: 2mm;
    margin: 0 0 3.2mm;
    font-size: 10pt;
    line-height: 1.35;
  }

  .p-brand {
    margin: 0 0 2.4mm;
    padding-bottom: 1.4mm;
    border-bottom: .4mm solid #000;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: .04em;
  }

  .p-brand strong { font-weight: 900; letter-spacing: .02em; }

  .p-line:last-child { margin-bottom: 0; }

  .p-label {
    font-weight: 700;
    letter-spacing: .02em;
    flex: none;
  }

  .p-value {
    font-weight: 700;
    font-size: 12pt;
    word-break: break-all;
  }

  #print-root[data-paper="58mm"] .print-sheet { width: 52mm; }
  #print-root[data-paper="80mm"] .print-sheet { width: 72mm; }
  #print-root[data-paper="personalizado"] .print-sheet { width: 72mm; }
  #print-root[data-paper="a6"] .print-sheet { width: 89mm; padding-top: 4mm; }

  #print-root[data-paper="58mm"] .p-line { display: block; margin-bottom: 3mm; }
  #print-root[data-paper="58mm"] .p-label { display: block; font-size: 8.5pt; }
  #print-root[data-paper="58mm"] .p-value { font-size: 12.5pt; }
  #print-root[data-paper="58mm"] .p-brand { font-size: 7.5pt; margin-bottom: 2mm; }

  #print-root[data-paper="a6"] .p-line { font-size: 12pt; margin-bottom: 5mm; }
  #print-root[data-paper="a6"] .p-value { font-size: 16pt; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .home-flow { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps-card { position: static; order: 2; }
  .options { grid-template-columns: 1fr; }
  .option { min-height: 0; }
}

@media (max-width: 700px) {
  main { padding: 20px 16px 52px; }
  .topbar-inner { padding: 10px 16px; gap: 10px; }
  .brand-text small { display: none; }
  .brand-heart { width: 34px; height: 34px; border-radius: 11px; }
  .brand-heart svg { width: 22px; height: 20px; }
  .brand-3d { font-size: .92rem; }
  .brand-text strong { font-size: .94rem; }
  .hide-sm { display: none; }
  .mode-chip { padding: 0 8px; font-size: .66rem; }
  .btn-sm { padding: 0 10px; }

  .home-head { margin-bottom: 28px; }
  .home-flow { margin-top: 22px; gap: 10px; }
  .home-flow li { padding: 13px 14px; }

  .ss-hit { padding: 20px 16px 84px; }
  .ss-code { margin-top: 10px; }
  .ss-cta { width: 62px; height: 62px; margin-top: 28px; }
  .ss-cta svg { width: 30px; height: 30px; }
  .ss-group { gap: 18px; padding: 12px 10px; }
  .ss-item { font-size: .76rem; }
  .ss-marquee-brand { font-size: .92rem; }

  .card, .service-card { padding: 20px; border-radius: 16px; }
  .service-head { gap: 12px; }
  .service-icon { width: 48px; height: 48px; border-radius: 14px; }
  .service-icon svg { width: 24px; height: 24px; }

  .result-row { grid-template-columns: 1fr; gap: 4px; }
  .result-row dt { font-size: .68rem; }
  .actions .btn { flex: 1 1 auto; }
  .actions .btn-primary { margin-left: 0; }
  .actions-print .btn-print { flex: 1 1 100%; order: -1; }
  .actions-print .btn { margin-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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

  .ss-track { animation: none; width: 100%; justify-content: center; }
  .ss-group { justify-content: center; width: 100%; }
  .ss-group + .ss-group { display: none; }
}
