/* Academia da Coluna — shared tokens, fonts and primitives (site, área do aluno, painel) */
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost-normal.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/fonts/jost-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* palette — taken from the studio itself: wood equipment, bone, brass logo spine, blue-grey facade */
  --espresso: #2a1d16;
  --nogueira: #47332a;
  --osso: #f2ece1;
  --linho: #e6dccb;
  --branco: #fbf8f2;
  --latao: #b08a52;
  --latao-claro: #d9bc8e;
  --latao-escuro: #7a5c2e;
  --fachada: #5f7f9f;
  --fachada-claro: #d3dee9;
  --fachada-escuro: #3a5878;
  --tinta: #221a15;
  --tinta-suave: #675a50;
  --linha: rgba(42, 29, 22, .14);
  --erro: #a23b2a;
  --ok: #3c7558;

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--tinta); background: var(--osso); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--fachada); outline-offset: 3px; border-radius: 4px; }

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

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .7em 1.5em; border-radius: 999px; font-weight: 500; font-size: 1.05rem; line-height: 1.15; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.975); }
.btn-primary { background: var(--latao-claro); color: var(--espresso); }
.btn-primary:hover { background: #e6cba0; }
.btn-dark { background: var(--espresso); color: var(--branco); }
.btn-dark:hover { background: var(--nogueira); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .12); }
.btn-small { min-height: 42px; padding: .45em 1.1em; font-size: .98rem; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }

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