/* verniz.app's public face: the landing (/) and "Dá-nos a tua opinião"
   (/opiniao), served by layouts/site. Outside app/assets/stylesheets/areas
   on purpose: ApplicationHelper#area_stylesheets loads every file there into
   the app, and the app shouldn't carry the landing's CSS or its fonts. */

/* Caveat (variable, 400–700) for the handwriting and Libre Caslon Text 700
   for the "ARROIOS" stamp, self-hosted like the app's fonts. Both SIL OFL. */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/caveat-latin-0aa453d2.woff2") format("woff2");
  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: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/caveat-latin-ext-9326e1c8.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/libre-caslon-text-700-latin-27a89dd4.woff2") format("woff2");
  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: "Libre Caslon Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/libre-caslon-text-700-latin-ext-6c5849fc.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
textarea, input, button { font: inherit; color: inherit; }

.site-dot { color: var(--verniz); }

/* A field only bots fill (Public::FeedbacksController drops what they
   send). Off-screen rather than display: none, which some bots skip. */
.site-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

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

/* ── The feedback form's answer chips (both doors) ─────────────────────── */
/* A real checkbox or radio, visually hidden but focusable, with its face
   drawn by the span after it: works without JS and with the keyboard. */
.site-choice { position: relative; display: inline-flex; }
.site-choice__input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.site-choice__input:focus-visible + .site-choice__face { outline: 2px solid var(--verniz); outline-offset: 2px; }

/* What both doors say when a form needs another look. */
.fb__error { margin: 8px 0 0; font: 500 14px/1.4 var(--font-body); color: var(--attention-ink); }
.fb__alert {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--attention-wash);
  color: var(--attention-ink);
  font: 500 14px/1.4 var(--font-body);
}
.fb__note { margin: 6px 0 0; font: 400 13px/1.4 var(--font-body); color: var(--muted-strong); }
.fb__optional { font: 400 14px var(--font-body); color: var(--muted-strong); }
.fb fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fb legend { padding: 0; }
