/* Base: tokens de cor, reset e utilitários. Estilos da página ficam em lp.css. */

/* Fonte de títulos do site oficial (oficial.dermalink.com.br). */
@font-face {
  font-family: "Forma DJR Display";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/forma-djr-display-bold.woff") format("woff");
}

:root {
  --preto: #0B0B0A;
  --preto-2: #161514;
  --branco: #FBFAF9;
  --branco-70: rgba(251, 250, 249, 0.7);
  --branco-50: rgba(251, 250, 249, 0.5);
  --branco-25: rgba(251, 250, 249, 0.25);
  --branco-12: rgba(251, 250, 249, 0.12);
  --branco-06: rgba(251, 250, 249, 0.06);

  --verde: #2BE37A;
  --verde-claro: #8CF7B4;
  --verde-escuro: #0E7A3A;
  --verde-brilho: rgba(43, 227, 122, 0.55);

  --erro: #FF8A80;

  --fonte: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-titulo: "Forma DJR Display", "Space Grotesk", sans-serif;
  --fonte-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --suave: cubic-bezier(0.16, 1, 0.3, 1);
  --margem: clamp(16px, 3.2vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--preto); }

body {
  color: var(--branco);
  font-family: var(--fonte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--verde); color: var(--preto); }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

.oculto { display: none !important; }

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