/*
 * Listone Giordano — design tokens per il wizard preventivo.
 *
 * Fonte aggiornata il 05/10/2026: CSS scaricato direttamente dal sito
 * ufficiale, /wp-content/themes/qzr-theme/style.css (HTTP 200).
 * Copia originale e provenienza in sources/; font ufficiale in assets/fonts/.
 * Questi token sono un adattamento per il widget, non un brand manual.
 *
 * Da ricevere dal cliente: logo SVG istituzionale,
 * codice colore esatto del verde del marchio (visibile nel PDF sell-out).
 */

/* Wordmark e titoli: font proprietario, sul sito servito da
   /wp-content/themes/qzr-theme/fonts/lg-corporate/listonegiordanocorporate-normal.ttf */
@font-face {
    font-family: "LG Corporate";
    src: url("./assets/fonts/listonegiordanocorporate-normal.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("./assets/fonts/source-sans-pro-300.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("./assets/fonts/source-sans-pro-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("./assets/fonts/source-sans-pro-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Tipografia */
    --lg-font-display: "LG Corporate", "Lusitana", Georgia, serif;   /* titoli, wordmark */
    --lg-font-body: "Source Sans Pro", "Source Sans 3", Arial, sans-serif; /* testo, form */
    --lg-weight-body: 300;      /* il sito usa Source Sans Pro Light come peso base */
    --lg-weight-heading: 400;   /* h1-h6 mai in bold */
    --lg-weight-strong: 700;
    --lg-line-height: 1.42;

    /* Colori base: il sito è essenzialmente bianco/nero */
    --lg-black: #000000;
    --lg-white: #ffffff;
    --lg-ink: #212121;          /* testo e superfici scure */
    --lg-charcoal: #2e2e2e;     /* overlay, modali scure */
    --lg-graphite: #4c4c4c;

    /* Ardesia (gradiente scuro "gradient-3" del sito) */
    --lg-slate-900: #293a3e;
    --lg-slate-700: #3f484b;
    --lg-slate-600: #495155;

    /* Grigi chiari (gradiente "gradient-1") */
    --lg-grey-500: #9f9c9c;
    --lg-grey-300: #d0cfcf;
    --lg-grey-200: #e6e4e4;
    --lg-grey-100: #f0f0f0;

    /* Stati */
    --lg-error: #db4c4c;     /* scelta funzionale del widget, non colore brand verificato */
    --lg-brand-green: #00954a;  /* PROVVISORIO: stimato dal logo nel PDF, da confermare */

    /* Forme: angoli vivi, bordi sottili neri, campi con sola linea inferiore */
    --lg-radius: 0;
    --lg-border: 1px solid var(--lg-black);
    --lg-border-soft: 1px solid var(--lg-grey-200);
    --lg-input-height: 2rem;
    --lg-input-padding: 0 10px;
}

/* Campo tipo del sito: trasparente, senza bordo, solo linea inferiore nera */
.lg-input {
    font-family: var(--lg-font-body);
    font-size: 1rem;
    height: var(--lg-input-height);
    padding: var(--lg-input-padding);
    background: transparent;
    border: none;
    border-bottom: var(--lg-border);
    border-radius: var(--lg-radius);
}
