/* Base compartilhada das opções visuais (recomeço de 21/09/2026).
   Fonte Sora local, reset mínimo e os tokens das duas bases: cinza escuro e bordô.
   Cada opção pode sobrescrever o que quiser no próprio arquivo. */
@import url("../marca/cores.css");

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fontes/Sora-latin-ext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fontes/Sora-latin.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;
}

:root {
  --fonte: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Opção 1: base cinza escuro, neutra, nunca preto puro */
[data-base="cinza"] {
  --base: #202020;
  --base-rgb: 32 32 32;
  --base-2: #2A2A2A;
  --base-3: #343434;
  --texto: #F3EFEF;
  --texto-2: #B9B1B1;
  --texto-3: #8D8384;
  --linha: rgb(255 255 255 / 0.12);
  --acento: #BD6909;
  --acento-2: #D98943;
  --acento-texto: #F0AB74;
  --marca-tom: #3D1419;
  --gradiente-cores: #3D1419, #BD6909, #7E3F12, #25090C;
}

/* Opção 2: base bordô */
[data-base="bordo"] {
  --base: #3D1419;
  --base-rgb: 61 20 25;
  --base-2: #4A1B21;
  --base-3: #5D252C;
  --texto: #FFF4F4;
  --texto-2: #E9ABAE;
  --texto-3: #D38B8F;
  --linha: rgb(255 244 244 / 0.14);
  --acento: #BD6909;
  --acento-2: #D98943;
  --acento-texto: #F0AB74;
  --marca-tom: #25090C;
  --gradiente-cores: #BD6909, #D98943, #25090C, #7D3A41;
}

*, *::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;
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* canvas do hero: sempre ocupa a seção inteira, atrás do conteúdo */
.hero-gradiente {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* fundo de segurança quando o WebGL não existe (ou antes do primeiro quadro) */
.hero-fundo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 40%, rgb(189 105 9 / 0.35) 0%, rgb(189 105 9 / 0) 70%),
    radial-gradient(50% 60% at 20% 90%, rgb(61 20 25 / 0.55) 0%, rgb(61 20 25 / 0) 70%),
    var(--base);
}
[data-base="bordo"] .hero-fundo {
  background:
    radial-gradient(60% 55% at 78% 40%, rgb(217 137 67 / 0.4) 0%, rgb(217 137 67 / 0) 70%),
    radial-gradient(50% 60% at 20% 90%, rgb(37 9 12 / 0.7) 0%, rgb(37 9 12 / 0) 70%),
    var(--base);
}

/* acessibilidade */
.visualmente-oculto {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--acento-2); outline-offset: 3px; }
