/* DSRamos — versão Claude
   Direção "Ateliê e livro-razão": casca grafite quente com o latão da logo;
   o DSR Docs vive no azul claro (folha branca, tinta azul-marinho) e o DSR Capital no livro-razão
   (verde-tinta, verdete e números tabulares). */

/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-ext-italic.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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-italic.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;
}
/* latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-ext-normal.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;
}
/* latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/schibsted-grotesk-latin-normal.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: "Schibsted Grotesk Fallback"; src: local("Arial"); ascent-override: 93.46%; descent-override: 24.67%; line-gap-override: 0%; size-adjust: 104.49%; }

:root {
  /* Casca da marca */
  --shell: #12100d;
  --shell-2: #1a1712;
  --shell-3: #231f18;
  --shell-line: rgba(237, 224, 200, 0.11);
  --shell-line-2: rgba(237, 224, 200, 0.2);
  --shell-text: #f2ead9;
  --shell-muted: #b9ad96;
  --brass: #d4ad6a;
  --brass-2: #e9cb92;
  --on-brass: #1b150a;

  /* DSR Docs — azul claro (pedido do Diego: substitui o marfim) */
  --paper: #eef4fb;
  --paper-2: #e1ebf6;
  --paper-3: #c9d9ee;
  --ink: #13233b;
  --ink-2: #3b4d68;
  --ink-3: #4c5d7b;
  --seal: #2758b8;
  --rule: rgba(19, 35, 59, 0.14);

  /* DSR Capital — livro-razão */
  --ledger: #0d1714;
  --ledger-2: #13221d;
  --ledger-3: #1a2e27;
  --ledger-line: rgba(180, 230, 210, 0.11);
  --ledger-text: #e6f1ec;
  --ledger-muted: #9fb7ad;
  --verdigris: #4fbf98;
  --st-ok: #4fbf98;
  --st-warn: #e0b25a;
  --st-late: #e2735f;

  --font-display: "Schibsted Grotesk", "Schibsted Grotesk Fallback", system-ui, sans-serif;
  --font-ui: "Schibsted Grotesk", "Schibsted Grotesk Fallback", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  overflow-wrap: anywhere;
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--shell);
  color: var(--shell-text);
  font: 400 16px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #4a4235 var(--shell);
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
/* Permitir quebra e encolhimento ao ampliar a interface, sem ocultar conteúdo. */
h1, h2, h3, p, a, button { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(212, 173, 106, 0.32); color: #fff; }
/* Superfícies do navegador também seguem a marca: cursor de texto e controles nativos em latão. */
input, textarea { caret-color: var(--brass); }
:root { accent-color: var(--brass); }
p, li, dd { text-wrap: pretty; }
/* Toque: sem o flash cinza nativo nem atraso de duplo toque; o retorno vem do :active. */
a, button, select, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--brass); color: var(--on-brass); font-weight: 600; text-decoration: none;
}
.skip:focus-visible { top: 16px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font: 600 15px var(--font-ui); text-decoration: none; white-space: normal; text-align: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), scale .15s ease-out, color .25s var(--ease);
}
.btn:active:not(:disabled) { scale: .96; }
.btn--brass { background: var(--brass); color: var(--on-brass); }
.btn--brass:hover { background: var(--brass-2); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #ffffff; }
.btn--ledger { background: var(--ledger-3); color: var(--ledger-text); border-color: rgba(79, 191, 152, 0.45); }
.btn--ledger:hover { border-color: var(--verdigris); background: #1f3a31; }
.btn--ghost { border-color: var(--shell-line-2); color: var(--shell-text); background: transparent; }
.btn--ghost:hover { border-color: var(--brass); }

/* Aviso flutuante */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: max-content; max-width: min(560px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px;
  background: #252018; color: var(--shell-text); border: 1px solid var(--shell-line-2);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.75);
  font-size: 13.5px; line-height: 1.45;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast[data-open] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast__text { flex: 1 1 auto; }
.toast__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--brass); color: var(--on-brass);
  font: 600 13px var(--font-ui); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
  flex-shrink: 0;
}
.toast__cta:hover { background: var(--brass-2); transform: translateY(-1px); }
.toast__cta:active { transform: translateY(0); }
.toast__cta:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.toast__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 520px) {
  .toast { flex-direction: column; align-items: stretch; text-align: left; padding: 14px 16px; gap: 10px; }
  .toast__cta { width: 100%; justify-content: center; min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Telas de toque: o deslocamento de hover não fica "grudado" depois do toque. */
@media (hover: none) {
  .pick:hover, .toast__cta:hover, .benefit__cta:hover, .live__win:hover, .live__open:hover svg { transform: none; }
}

/* Impressão: papel claro, sem navegação, formulário ou animação; links externos mostram o endereço. */
@media print {
  :root { --shell: #fff; --shell-2: #fff; --shell-3: #f4f4f4; --shell-text: #111; --shell-muted: #444; --shell-line: #ccc; --shell-line-2: #999; }
  html { color-scheme: light; }
  body { background: #fff; color: #111; }
  .site-header, .skip, .contact__panel, .contact__form, [data-contact-loading], [data-tour-panel], .showroom__status { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; }
  .contact, .contact::before, .footer { background: #fff !important; }
  section, .app, figure { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; overflow-wrap: anywhere; }
}
