/* Temple Vidre — tokens. Generat a partir de tokens.json (versió 1). No s'edita a mà: es regenera amb scripts/generar_tokens_css.py. */

@font-face { font-family: "Quicksand"; src: url("fonts/Quicksand-300-700.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("fonts/FiraSansExtraCondensed-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("fonts/FiraSansExtraCondensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("fonts/FiraSansExtraCondensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("fonts/FiraSansExtraCondensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Tipografia */
  --font-display: Quicksand, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-text: "Fira Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  /* Color */
  --fons-base: #F5F1F7;
  --malla-rosa: #FFC6DC;
  --malla-pressec: #FFD6B0;
  --malla-lila: #D8CBFF;
  --malla-cel: #BEE0FF;
  --malla-menta: #C4EFD9;
  --tinta: #2A2433;
  --tinta-suau: #564D62;
  --tinta-tenue: #756C82;
  --sobre-fosc: #FFFFFF;
  --vidre-1: rgba(255, 255, 255, 0.50);
  --vidre-2: rgba(255, 255, 255, 0.68);
  --vidre-3: rgba(255, 255, 255, 0.88);
  --vidre-vora: rgba(255, 255, 255, 0.92);
  --vidre-trac: rgba(64, 44, 96, 0.12);
  --vidre-fosc: rgba(42, 36, 51, 0.90);
  --linia-buida: rgba(86, 77, 98, 0.30);
  --albercoc: #F6B66A;
  --focus: var(--tinta);
  --focus-halo: #FFFFFF;
  --petits: #9A6500;
  --petits-tint: #FFEFC2;
  --mitjans: #126C73;
  --mitjans-tint: #CBEEEF;
  --grans: #4F48BE;
  --grans-tint: #E2DFFF;
  --joves: #28703F;
  --joves-tint: #D2F1DC;
  --mat: #3466CC;
  --mat-pastel: #CFE0FF;
  --llen: #BF355E;
  --llen-pastel: #FFD2E1;
  --ang: #7046CC;
  --ang-pastel: #E5D8FF;
  --lec: #9E6400;
  --lec-pastel: #FFE4B8;
  --cie: #23804F;
  --cie-pastel: #CBEFD8;
  --faig: #0E7782;
  --faig-pastel: #C4ECF1;
  --amb: #BC5029;
  --amb-pastel: #FFDACA;
  --ass: #5A8410;
  --ass-pastel: #E1F1C0;
  --estat-pendent: #C04E28;
  --estat-previ: #2E59C4;
  --estat-aplicat: #28703F;
  --avis-fons: rgba(255, 228, 218, 0.88);
  --fet-fons: rgba(222, 232, 252, 0.85);
  /* Espai */
  --espai-1: 4px;
  --espai-2: 8px;
  --espai-3: 12px;
  --espai-4: 16px;
  --espai-5: 24px;
  --espai-6: 32px;
  --espai-7: 48px;
  /* Radis */
  --radi-xs: 6px;
  --radi-sm: 10px;
  --radi-md: 16px;
  --radi-lg: 20px;
  --radi-xl: 30px;
  --radi-pill: 999px;
  /* Ombres */
  --ombra-2: 0 0 1px rgba(42, 36, 51, 0.10), 0 1px 2px rgba(42, 36, 51, 0.08);
  --ombra-8: 0 0 2px rgba(42, 36, 51, 0.08), 0 4px 10px rgba(42, 36, 51, 0.08);
  --ombra-16: 0 0 2px rgba(42, 36, 51, 0.08), 0 8px 22px rgba(42, 36, 51, 0.11);
  --ombra-28: 0 0 4px rgba(42, 36, 51, 0.08), 0 16px 36px rgba(42, 36, 51, 0.15);
  --ombra-64: 0 0 8px rgba(42, 36, 51, 0.10), 0 32px 64px rgba(42, 36, 51, 0.18);
  --brill-vora: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  /* Vidre */
  --desenfoc-acrilic: 30px;
  --desenfoc-suau: 14px;
  --saturacio-vidre: 180%;
  --gra-vidre: 0.035;
}

/* Estils de text (secció type.groups) */
.tv-display { font-family: var(--font-display); font-size: 72px; line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; }
.tv-titol-1 { font-family: var(--font-display); font-size: 30px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.tv-titol-2 { font-family: var(--font-display); font-size: 19px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.tv-dia { font-family: var(--font-display); font-size: 17px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.tv-text { font-family: var(--font-text); font-size: 18px; line-height: 1.4; font-weight: 500; }
.tv-text-gran { font-family: var(--font-text); font-size: 21px; line-height: 1.3; font-weight: 500; }
.tv-text-fort { font-family: var(--font-text); font-size: 18px; line-height: 1.3; font-weight: 600; }
.tv-franja { font-family: var(--font-text); font-size: 17px; line-height: 1.15; font-weight: 600; }
.tv-petit { font-family: var(--font-text); font-size: 14.5px; line-height: 1.15; font-weight: 600; }
.tv-etiqueta { font-family: var(--font-text); font-size: 14px; line-height: 1.2; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-suau); }

@media (prefers-reduced-motion: reduce) { .tv, .tv * { transition: none !important; animation: none !important; } }
@media (prefers-reduced-transparency: reduce) { :root { --vidre-1: rgba(255,255,255,0.96); --vidre-2: rgba(255,255,255,0.98); --vidre-3: #ffffff; --gra-vidre: 0; } }
