/* Design tokens — paleta extraída das ilustrações da Anaise (scripts/extract_palette.py).
   Regra de contraste: texto --tinta sobre cores claras/vibrantes; texto branco só sobre
   --vermelho e --roxo. Para texto colorido sobre --creme, use as versões "-texto". */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/nunito-italic-latin.woff2") format("woff2");
}

:root {
  /* Vibrantes */
  --vermelho: #e0202b;   /* vermelho do logo da margarida */
  --laranja: #f7901e;
  --amarelo: #fdd835;    /* amarelo-sol do rosto da margarida */
  --verde: #6cc04a;
  --azul: #2fb0e6;       /* azul-céu dos fundos */
  --roxo: #6a4fc4;
  --rosa: #ee5a9f;
  --lilas: #a99ae0;

  /* Versões para texto sobre --creme (contraste AA ≥ 4,5) */
  --vermelho-texto: #c81822;
  --laranja-texto: #ae5e06;
  --verde-texto: #437d2c;
  --azul-texto: #147aa5;
  --roxo-texto: #6a4fc4;
  --rosa-texto: #db1772;

  /* Neutros quentes */
  --creme: #fff8ec;
  --creme-2: #fdeed3;
  --branco: #ffffff;
  --tinta: #1f1633;      /* contraste 16,3 sobre o creme */
  --tinta-suave: #4a4060;

  /* Tipografia */
  --fonte-titulo: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --fonte-texto: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --t-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --t-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --t-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --t-2xl: clamp(2.2rem, 1.6rem + 3vw, 4rem);

  /* Forma */
  --raio-sm: 0.75rem;
  --raio: 1.25rem;
  --raio-lg: 2rem;
  --raio-pilula: 999px;
  --contorno: 3px solid var(--tinta);
  --sombra-adesivo: 5px 5px 0 var(--tinta);
  --sombra-adesivo-sm: 3px 3px 0 var(--tinta);
  --sombra-suave: 0 10px 30px rgb(31 22 51 / 0.12);

  /* Espaço */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --secao: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --largura: 72rem;

  --foco: 3px solid var(--azul-texto);
  --transicao: 220ms cubic-bezier(0.2, 0.8, 0.2, 1.2);
}
