/*
 * Mantic — design tokens. Kept apart from base.css on purpose: the Ristoapp v2 site (ITER-08) imports this file as it is.
 * Values measured on the YOOtheme site of 2026-10-13 (prove/nostro/originale/SEZIONI.md); brand guide in
 * cd-lab clients/mantic/contesto/brand.md (the site uses Barlow + Libre Bodoni, not the guide's fonts: a review topic).
 */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/barlow-400-latin.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: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/barlow-400-latin-ext.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; }
@font-face { font-family: 'Libre Bodoni'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/libre-bodoni-400-latin.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: 'Libre Bodoni'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/libre-bodoni-400-latin-ext.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 {
  /* Colours */
  --bordeaux: #864549;          /* primary: buttons, «Menu» titles, title bands */
  --bordeaux-scuro: #6e383b;    /* hover */
  --verde: #297f67;             /* footer, phone bar, review cards */
  --grigio-caldo: #dcd3cc;      /* alternate sections, icon buttons */
  --terra: #987261;             /* soft text on white (large text only: 4.3:1) */
  --terra-testo: #6e5244;       /* soft small text, AA on white and on the warm grey */
  --testo-forte: #3c3736;       /* headings, item names */
  --testo: #5a5150;             /* body text */
  --bianco: #fff;

  /* Fonts */
  --font-testo: 'Barlow', system-ui, sans-serif;
  --font-titoli: 'Libre Bodoni', Georgia, serif;
  --spaziatura-titoli: -0.03em;

  /* Type scale (px values of today's site) */
  --t-base: 16px;
  --t-piccolo: 14px;
  --t-grande: 18px;             /* item names, prices, lead */
  --t-piede: 20px;
  --t-titolo-scheda: 24px;      /* review names */
  --t-titolo-sezione: clamp(2.6rem, 2rem + 1.4vw, 3.25rem);    /* «Menu»: 41.6 px phone, 52 px computer */
  --t-titolo-pagina: clamp(2.8875rem, 1.5rem + 3vw, 4rem);     /* «Info Utili», 404: 64 px computer */
  --t-titolo-riquadro: clamp(2.8875rem, 2rem + 1.6vw, 3.5rem);  /* «Ristorante», «Pizze», … on the home tiles */

  /* Space */
  --margine-pagina: 15px;       /* 40 px from 960 px */
  --larghezza: 1200px;
  --larghezza-larga: 1600px;    /* footer (YOOtheme «xlarge» container) */
  --larghezza-stretta: 750px;
  --sezione: 40px;              /* 70 px from 960 px */
  --sezione-grande: 70px;       /* 140 px from 960 px */
  --raggio-pulsante: 25px;
  --altezza-pulsante: 42px;
  --barra-telefono: 58px;
}

@media (min-width: 960px) {
  :root {
    --margine-pagina: 40px;
    --sezione: 70px;
    --sezione-grande: 140px;
  }
}
