/* Studio 13: colour palettes to try (test only). Each one replaces the tokens in styles.css :root.
   Pick one with the switcher (open the page with ?paletas). Delete this file + palette.js when one is chosen. */

/* 2. Linho & Bronze: Renato Vitorino's base (cream, near-black ink, bronze accent) */
:root[data-palette="linho-bronze"] {
  --nude: #f6f2ea; --sand: #ede6d8; --paper: #fbf8f2;
  --choc: #141210; --choc-2: #2a2622; --ink-2: #4a443c;
  --rust: #7d6036; --gold: #c9a46c; --gold-lt: #c9a46c;
  --on-choc: #f6f2ea; --on-choc-2: #b9ae9c;
  --on-rust: #f3eadb; --on-rust-em: #f6e3bd; --footer: #0d0c0b; --hint: #8b8275; --hint-dark: #8f877b;
}
/* 3. Espresso & Mel: 2026 hair-colour trend (espresso brunette + honey beige) */
:root[data-palette="espresso-mel"] {
  --nude: #f3ebe0; --sand: #e9dccb; --paper: #fbf7f1;
  --choc: #2b1d16; --choc-2: #4a3428; --ink-2: #5f4a3c;
  --rust: #8a581c; --gold: #c79a4e; --gold-lt: #e2bd7a;
  --on-choc: #f5ede3; --on-choc-2: #cdbba8;
  --on-rust: #f8ead2; --on-rust-em: #ffe6b0; --footer: #1e140f; --hint: #8c7766; --hint-dark: #a8927f;
}
/* 1. Nude & Chocolate: the first Studio 13 palette (base until 18/11/2026) */
:root[data-palette="nude-chocolate"] {
  --nude: #f2e6db; --sand: #e8d6c6; --paper: #fbf6f1;
  --choc: #3a2118; --choc-2: #5b3526; --ink-2: #6a4b3e;
  --rust: #9a4528; --gold: #b48a58; --gold-lt: #d9b383;
  --on-choc: #f6ece3; --on-choc-2: #d4bfb0;
  --on-rust: #f3dccd; --on-rust-em: #f7dcc0; --footer: #2a1711; --hint: #8a6f62; --hint-dark: #b59c8d;
}
/* 5. Sálvia & Linho: calm spa green + warm white, brass accent */
:root[data-palette="salvia"] {
  --nude: #eeeee4; --sand: #dfe2d3; --paper: #f8f8f2;
  --choc: #23302a; --choc-2: #3a4a41; --ink-2: #4e5c53;
  --rust: #4f6b58; --gold: #a9925f; --gold-lt: #cdb98a;
  --on-choc: #f1f1e8; --on-choc-2: #bfc8bd;
  --on-rust: #edf2e8; --on-rust-em: #f3e9c9; --footer: #18211c; --hint: #7c867e; --hint-dark: #9aa59c;
}
/* 6. Rosé & Bordô: blush ground, bordeaux ink and panel, rose-gold accent */
:root[data-palette="rose-bordo"] {
  --nude: #f5e8e6; --sand: #ecd7d3; --paper: #fcf6f5;
  --choc: #3b1620; --choc-2: #5a2632; --ink-2: #6b4049;
  --rust: #7d2433; --gold: #b8866b; --gold-lt: #e0b4a0;
  --on-choc: #f8ecea; --on-choc-2: #d8bcbf;
  --on-rust: #f8e2e2; --on-rust-em: #ffd9cf; --footer: #2a0f16; --hint: #92727a; --hint-dark: #b5979c;
}

/* the switcher itself */
.pal { position: fixed; left: 16px; bottom: 16px; z-index: 99; font: 14px/1.3 var(--sans); color: #1b1b1b; }
.pal__toggle { border: 0; border-radius: 999px; padding: 10px 16px; background: #1b1b1b; color: #fff; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); font: inherit; }
.pal__list { display: none; margin: 0 0 8px; padding: 8px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.25); width: 260px; }
.pal.is-open .pal__list { display: block; }
.pal__opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.pal__opt:hover { background: #f1f1f1; }
.pal__opt[aria-pressed="true"] { background: #ececec; font-weight: 600; }
.pal__dots { display: flex; flex: none; }
.pal__dots i { width: 16px; height: 16px; border-radius: 50%; margin-right: -4px; border: 1px solid rgba(0,0,0,.15); }
@media (max-width: 860px) { .pal { bottom: 84px; } }
