/* ============================================================
   CARBOMEL - estilos comuns (site e painel)
   Cores tiradas do Instagram: preto, amarelo-mel e laranja.
   ============================================================ */
:root {
  --preto: #0f0e0d;
  --carvao: #191714;
  --carvao-2: #221f1b;
  --linha: #36312a;
  --mel: #f6b90c;
  --mel-claro: #ffd45a;
  --mel-escuro: #d99a00;
  --laranja: #e8731a;
  --texto: #f4efe4;
  --texto-2: #b9b1a2;
  --ok: #5fcf80;
  --erro: #ff7a6e;
  --raio: 18px;
  --f-titulo: 'Anton', Impact, 'Arial Narrow Bold', 'Arial Narrow', sans-serif;
  --f-texto: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* a faixa laranja inclinada nao pode criar rolagem lateral */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--mel-claro); outline-offset: 3px; border-radius: 6px; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--f-titulo); font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-mel { background: var(--mel); color: #111; }
.btn-mel:hover { background: var(--mel-claro); }
.btn-ghost { background: transparent; color: var(--texto); border-color: #6b6459; }
.btn-ghost:hover { border-color: var(--mel); color: var(--mel); }
.btn-peq { min-height: 38px; padding: 6px 16px; font-size: .9rem; }

.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- aviso rapido (toast) ---------- */
#toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 460px); padding: 12px 20px;
  background: var(--mel); color: #111; font-weight: 700; text-align: center;
  border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: opacity .2s ease, transform .2s ease;
}
#toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
