/* Base comum da oferta e do cadastro. Mesma família visual da apresentação do Consultas. */
:root {
  --paper: #faf8f5;
  --panel: #f1ede6;
  --ink: #1a1815;
  --muted: #6b6560;
  --rule: #e0dbd4;
  --accent: #c1440e;
  --shot-bg: #ffffff;
  --erro: #a3271b;

  --f-ui: "Avenir Next", Avenir, Seravek, "Gill Sans Nova", "Trebuchet MS", Ubuntu, Cantarell, sans-serif;
  --f-doc: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, "DejaVu Sans Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14120f; --panel: #1c1915; --ink: #ece7e0; --muted: #9a938a;
    --rule: #2e2a25; --accent: #e8683a; --shot-bg: #1c1915; --erro: #ef7a6c; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.folha { max-width: 68rem; margin: 0 auto; padding-block: 4rem 5rem; display: grid; gap: 5rem; }

.rotulo { font: 600 0.72rem/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
h1, h2, h3 { font-family: var(--f-doc); font-weight: 700; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.marcar { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 0.85em; padding: 0.05em 0.55em; border-radius: 4px; }

figure { margin: 0; }
.shot {
  display: block; width: 100%; padding: 0; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--shot-bg); overflow: hidden; cursor: zoom-in;
}
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shot img { display: block; width: 100%; height: auto; }
figcaption { font: 0.78rem/1.4 var(--f-mono); color: var(--muted); margin-top: 0.5rem; }

.btn {
  display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font: inherit; font-weight: 600;
  padding: 0.8rem 1.3rem; border-radius: 6px; border: 0; cursor: pointer;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:disabled { opacity: 0.5; cursor: default; }

#zoom { border: 0; padding: 0; max-width: 96vw; max-height: 94vh; background: transparent; }
#zoom::backdrop { background: rgb(0 0 0 / 0.75); }
#zoom img { display: block; max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 6px; cursor: zoom-out; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .folha { padding-block: 2.5rem 3.5rem; gap: 3.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .shot { transition: border-color 0.15s; }
  .shot:hover { border-color: var(--muted); }
}
