/* =============================================================
   LM Servizi & Consulenze IT — Brand Bundle
   CDN: cdn.lorenzomalferrari.com
   Include: Font-face declarations + Brand Palette (dark + light)
   ============================================================= */

/* ── FONTS ──────────────────────────────────────────────────── */

/* Cormorant Garamond — Display / Hero / Slogan */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-700-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-700-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-700i-latin.woff") format('woff');
  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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-700i-latin-ext.woff") format('woff');
  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;
}

/* Outfit — UI / Heading / Navigazione (variable font, 400-800) */
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin.woff2") format('woff2');
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin.woff2") format('woff2');
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin.woff2") format('woff2');
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/outfit/outfit-latin.woff2") format('woff2');
}

/* DM Sans — Body / Paragrafi */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans/dm-sans-latin.woff2") format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans/dm-sans-latin.woff2") format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans/dm-sans-700-latin.woff2") format('woff2');
}

/* JetBrains Mono — Codice / Dati tecnici */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-400-latin.woff2") format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-700-latin.woff2") format('woff2');
}

/* ── PALETTE ────────────────────────────────────────────────── */

/* Dark Mode (default) */
:root {
  --lm-bg:          #0C0A08;
  --lm-surface:     #1A1512;
  --lm-border:      #2E2318;
  --lm-gold:        #C8902A;
  --lm-gold-hover:  #E8A820;
  --lm-gold-deep:   #8B5A10;
  --lm-gold-shadow: #6B3F0A;
  --lm-text:        #F5EFE0;
  --lm-text-muted:  #A8906A;
  --lm-text-faint:  #5A4A38;

  /* Semantici (standard su tutti i progetti) */
  --lm-success:     #28a745;
  --lm-error:       #dc3545;
  --lm-warning:     #E8A820;
  --lm-info:        #A8906A;

  /* Tipografia */
  --lm-font-display: 'Cormorant Garamond', georgia, serif;
  --lm-font-ui:      'Outfit', system-ui, sans-serif;
  --lm-font-body:    'DM Sans', system-ui, sans-serif;
  --lm-font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ── Prodotti — colori primari ── */
  --lm-servizi-primary:   #C8902A;
  --lm-servizi-secondary: #8B5A10;
  --lm-website-primary:   #E8A820;
  --lm-website-secondary: #A87018;
  --lm-academy-primary:   #C8962A;
  --lm-academy-secondary: #7A5810;
  --lm-tickethub-primary:   #D4A017;
  --lm-tickethub-secondary: #96700A;
  --lm-gp-primary:   #B87333;
  --lm-gp-secondary: #7A4820;
}

/* Light Mode */
[data-theme="light"],
.lm-light,
body.light {
  --lm-bg:          #FAF7F2;
  --lm-surface:     #FFF;
  --lm-border:      #E8DDD0;
  --lm-gold:        #C8902A;
  --lm-gold-hover:  #8B5A10;
  --lm-gold-deep:   #8B5A10;
  --lm-gold-shadow: #6B3F0A;
  --lm-text:        #1A1512;
  --lm-text-muted:  #5A4A38;
  --lm-text-faint:  #A8906A;
}

