/* ScattoViaggiando — design tokens condivisi (sito, mappa, admin) */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-italic.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* colori dal logo: rosso obiettivo, nero, arancio becco, carta calda */
  --c-red: #e3171e;
  --c-red-dark: #b5121a;
  --c-orange: #ff8a3d;
  --c-ink: #161412;
  --c-ink-2: #3b3733;
  --c-muted: #6f6861;
  --c-line: #e6dfd5;
  --c-paper: #fffbf5;
  --c-paper-2: #f6eee2;
  --c-white: #ffffff;
  --c-sea: #155e75;     /* accento freddo per mappa/link secondari (= ocean) */

  /* palette "da viaggio": colori pieni */
  --c-turquoise: #0fa3b1;
  --c-ocean: #155e75;
  --c-sunset: #ff8a3d;
  --c-sun: #ffc53d;
  --c-coral: #ff5a5f;
  --c-green: #2e9e6b;
  --c-sky: #5bc0eb;
  /* stessi colori in versione "testo su chiaro" (contrasto AA su bianco/carta) */
  --c-turquoise-ink: #0b7883;
  --c-sunset-ink: #c2410c;
  --c-sun-ink: #8a5d00;
  --c-coral-ink: #d1323a;
  --c-green-ink: #1f7a50;
  --c-sky-ink: #1a6f99;
  --c-ocean-dark: #0c3e4f;
  /* tinte chiare per le fasce di sezione */
  --t-turquoise: #e3f6f7;
  --t-sun: #fff3d6;
  --t-coral: #ffe8e6;
  --t-green: #e4f4ec;
  --t-sky: #e5f4fb;
  --g-sunset: linear-gradient(90deg, var(--c-sun), var(--c-sunset) 35%, var(--c-coral) 70%, var(--c-red));

  /* titoli: Nunito (arrotondato), scelto dal proprietario. Il nome --f-serif resta per compatibilita */
  --f-display: "Nunito", "Segoe UI Rounded", system-ui, sans-serif;
  --f-serif: var(--f-display);
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --radius-s: 6px;
  --radius: 14px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgb(22 20 18 / .06), 0 2px 8px rgb(22 20 18 / .06);
  --shadow: 0 10px 30px -10px rgb(22 20 18 / .25);
  --shadow-l: 0 30px 60px -20px rgb(22 20 18 / .35);

  --w-text: 42rem;   /* colonna di lettura */
  --w-wide: 72rem;
  --w-max: 90rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.5rem;

  --ease: cubic-bezier(.2, .7, .2, 1);
}
