/* =====================================================================
   Temas por evento. O tema "mesa" (mesa de luz) é o predefinido e está
   em style.css; aqui só se redefinem as variáveis para os outros temas.
   Cada fonte só é descarregada pelo browser quando o tema a usa.
   ===================================================================== */
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("/static/fonts/BigShoulders-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/static/fonts/InstrumentSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/static/fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* Casamento: papel de convite, rosa-velho e dourado, serifa itálica */
[data-theme="casamento"] {
  --light: #eee8e6; --glow: #faf7f6; --paper: #ffffff; --ink: #2e2626; --graphite: #7a6e6c; --rule: #ddd3d0;
  --grease: #9e2f4b; --edge: #d9b77e; --film: #2a2020; --primary: #2a2020; --on-primary: #ffffff;
  --display: "Instrument Serif", Georgia, serif; --dstyle: italic; --dweight: 400; --dtrack: 0;
}
/* Noite / festa: fundo escuro, cor-de-rosa e amarelo, letra condensada de cartaz */
[data-theme="noite"] {
  --light: #14121a; --glow: #241f2e; --paper: #1f1c27; --ink: #f2eff7; --graphite: #a79fb5; --rule: #3a3446;
  --grease: #ff4f8b; --edge: #ffc94a; --film: #000000; --primary: #ffc94a; --on-primary: #14121a;
  --display: "Big Shoulders", "Arial Narrow", sans-serif; --dstyle: normal; --dweight: 700; --dtrack: .01em;
  color-scheme: dark;
}
/* Empresa: azul-marinho, limpo */
[data-theme="empresa"] {
  --light: #e6ebf1; --glow: #f5f8fb; --paper: #ffffff; --ink: #13233a; --graphite: #5e6b7d; --rule: #cbd4df;
  --grease: #1d5bd8; --edge: #7fb2ff; --film: #0e1b2e; --primary: #13233a; --on-primary: #ffffff;
  --display: "Instrument Sans", "Helvetica Neue", sans-serif; --dstyle: normal; --dweight: 700; --dtrack: -.02em;
}
/* Batizado / infantil: lilás suave, letra redonda */
[data-theme="batizado"] {
  --light: #eef0f8; --glow: #fbfbff; --paper: #ffffff; --ink: #2d3150; --graphite: #6e7391; --rule: #d7daea;
  --grease: #e46b8e; --edge: #ffd27a; --film: #3b3f63; --primary: #3b3f63; --on-primary: #ffffff;
  --display: "Outfit", "Helvetica Neue", sans-serif; --dstyle: normal; --dweight: 700; --dtrack: -.01em;
}
[data-theme="noite"] .fab { background: #2c2738 !important; border-color: #4a4358 !important; }
[data-theme="noite"] .tile img, [data-theme="noite"] .evcover { background: #2a2633; }
/* "mesa" explícito, para as amostras de tema poderem mostrá-lo dentro de outro tema */
[data-theme="mesa"] {
  --light: #e9ecef; --glow: #f7f8f9; --paper: #ffffff; --ink: #23262b; --graphite: #686e77; --rule: #cfd4da;
  --grease: #d4231b; --edge: #f0a530; --film: #000000; --primary: #000000; --on-primary: #ffffff;
  --display: "Heros Cn", "Arial Narrow", sans-serif; --dstyle: normal; --dweight: 700;
}
