/* =====================================================================
   Giardina Tour — Design tokens
   Tutte le custom properties del sistema. In Laravel/Blade questo file
   resta invariato: è la sola fonte di verità per colori, tipografia,
   spaziature e raggi. Vedi README.md → "Design tokens".
   ===================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ---- Colori di brand ------------------------------------------- */
  --gt-navy: #0B2E59;
  --gt-navy-700: #163D72;
  --gt-navy-900: #071F3D;
  --gt-blue: #1769E0;
  --gt-blue-600: #1257BF;
  --gt-blue-100: #EAF3FF;
  --gt-blue-200: #CFE2FF;
  --gt-teal: #159A9C;
  --gt-teal-600: #107C7E;
  --gt-teal-100: #E3F5F5;
  --gt-amber: #F5A524;
  --gt-amber-100: #FFF4DE;
  --gt-amber-800: #7A4E05;
  --gt-green: #1F9D62;
  --gt-green-100: #E4F6EC;
  --gt-green-800: #0F5A37;
  --gt-red: #D64545;
  --gt-red-100: #FDECEC;
  --gt-red-800: #8A2323;

  /* ---- Neutri ----------------------------------------------------- */
  --gt-text: #172033;
  --gt-text-2: #4B5566;
  --gt-text-3: #6E7787;
  --gt-line: #DEE3EB;
  --gt-line-2: #EDF0F5;
  --gt-bg: #F6F8FB;
  --gt-surface: #FFFFFF;
  --gt-surface-2: #F1F4F9;

  /* ---- Semantica: direzione (andata = blu, ritorno = turchese) ---- */
  --dir-out: var(--gt-blue);
  --dir-out-bg: var(--gt-blue-100);
  --dir-ret: var(--gt-teal);
  --dir-ret-bg: var(--gt-teal-100);

  /* ---- Tipografia ------------------------------------------------- */
  --font-sans: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.75rem;   /* 12 */
  --fs-sm: 0.875rem;  /* 14 */
  --fs-md: 1rem;      /* 16 */
  --fs-lg: 1.125rem;  /* 18 */
  --fs-xl: 1.375rem;  /* 22 */
  --fs-2xl: 1.75rem;  /* 28 */
  --fs-3xl: 2.25rem;  /* 36 */
  --fs-4xl: 2.75rem;  /* 44 */
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.55;

  /* ---- Spaziature (scala 4px) ------------------------------------- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  /* ---- Raggi ------------------------------------------------------ */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* ---- Ombre ------------------------------------------------------ */
  --sh-1: 0 1px 2px rgba(11, 46, 89, 0.06), 0 1px 3px rgba(11, 46, 89, 0.04);
  --sh-2: 0 4px 12px rgba(11, 46, 89, 0.08), 0 1px 3px rgba(11, 46, 89, 0.05);
  --sh-3: 0 12px 32px rgba(11, 46, 89, 0.14);
  --sh-focus: 0 0 0 3px rgba(23, 105, 224, 0.35);

  /* ---- Layout ----------------------------------------------------- */
  --container: 1120px;
  --container-wide: 1440px;
  --header-h: 64px;
  --touch: 44px;
  --sidebar-w: 248px;

  /* ---- Motion ----------------------------------------------------- */
  --t-fast: 120ms;
  --t-base: 180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; }
}
