/* =====================================================================
   LUXURY NUTRITION EXPERIENCE AUDIT — DESIGN SYSTEM
   theme.css · token unico condiviso da landing page e documenti PDF
   Identità: editorial luxury · sobrietà mediterranea · rigore scientifico
   ===================================================================== */

/* ---------- Font (Google Fonts caricati nell'HTML) ----------
   Display serif : Cormorant Garamond
   Testo / UI    : Manrope
------------------------------------------------------------------ */

:root {
  /* — Palette — neutri caldi di pietra + un accento bronzo + botanico sobrio */
  --ink:        #17150F;   /* near-black caldo — testo principale */
  --ink-soft:   #3A362C;   /* testo secondario */
  --muted:      #6E6857;   /* didascalie, label */
  --paper:      #F7F3EA;   /* fondo caldo "carta" */
  --paper-2:    #F1EADB;   /* fondo alternato */
  --cream:      #EBE2CF;   /* card / superfici */
  --stone:      #D8CDB6;   /* bordi, hairline */
  --line:       #E2D9C6;   /* linee sottili */

  --bronze:     #9A7B43;   /* ACCENTO primario — oro/bronzo del lusso */
  --bronze-dk:  #7E6435;
  --bronze-lt:  #C9B487;
  --olive:      #45452F;   /* botanico profondo, uso parsimonioso */
  --terra:      #A85C39;   /* terracotta mediterranea, uso raro (highlight) */
  --deep:       #201E17;   /* sezioni scure / hero notturno */
  --deep-2:     #2A2820;

  /* — Tipografia — */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-text:    "Manrope", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: 0.78rem;
  --lh-tight:  1.06;
  --lh-body:   1.62;
  --ls-eyebrow: 0.24em;   /* letter-spacing label maiuscole */
  --ls-wide:   0.06em;

  /* — Spaziatura (scala 8) — */
  --s-1: 0.5rem;  --s-2: 1rem;   --s-3: 1.5rem;  --s-4: 2.5rem;
  --s-5: 4rem;    --s-6: 6rem;    --s-7: 9rem;    --s-8: 12rem;

  /* — Layout — */
  --maxw: 1240px;
  --maxw-text: 760px;
  --radius: 3px;          /* angoli quasi netti = sobrietà */
  --radius-lg: 6px;

  --shadow: 0 24px 60px -30px rgba(28,24,15,0.35);
  --shadow-sm: 0 8px 24px -16px rgba(28,24,15,0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset essenziale ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-text);
  color: var(--ink);
  background: var(--paper);
  line-height: var(--lh-body);
  font-weight: 400;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografia ---------- */
.display, h1, h2, h3, .h-serif {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: 0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
p  { margin: 0 0 1.1em; max-width: var(--maxw-text); }
.lead { font-size: 1.25rem; color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
  font-family: var(--f-text);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--bronze-dk);
  display: inline-block;
}
.eyebrow--light { color: var(--bronze-lt); }
.serif-accent { font-family: var(--f-display); font-style: italic; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3.5rem); }
.section { padding-block: clamp(4.5rem, 10vw, var(--s-7)); }
.section--dark { background: var(--deep); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Bottoni ---------- */
.btn {
  font-family: var(--f-text); font-weight: 600; font-size: 0.95rem;
  letter-spacing: var(--ls-wide);
  padding: 1rem 2rem; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 0.6rem;
  cursor: pointer; transition: all .4s var(--ease);
  border: 1px solid transparent;
}
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: var(--bronze-dk); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--stone); }
.btn--ghost:hover { border-color: var(--bronze); color: var(--bronze-dk); }
.btn--onDark { background: transparent; color: var(--paper); border-color: rgba(247,243,234,0.35); }
.btn--onDark:hover { border-color: var(--bronze-lt); color: var(--bronze-lt); }

/* ---------- Card ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--bronze-lt); }
.card__num { font-family: var(--f-display); font-size: 2.4rem; color: var(--bronze); line-height: 1; }

/* ---------- Callout ---------- */
.callout {
  border-left: 2px solid var(--bronze); padding: 1.2rem 0 1.2rem 1.6rem;
  font-family: var(--f-display); font-size: 1.5rem; font-style: italic; color: var(--ink-soft);
}

/* ---------- Tabelle ---------- */
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th { text-align: left; font-weight: 600; letter-spacing: var(--ls-wide);
     text-transform: uppercase; font-size: 0.72rem; color: var(--muted);
     padding: 0.9rem 1rem; border-bottom: 1px solid var(--stone); }
td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }

/* ---------- Icone (linea sottile) ---------- */
.icon { width: 40px; height: 40px; stroke: var(--bronze); stroke-width: 1.25; fill: none; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.measure { max-width: var(--maxw-text); }
.mx-auto { margin-inline: auto; }
.accent { color: var(--bronze-dk); }
.tag { display:inline-block; font-size:0.72rem; letter-spacing:var(--ls-wide);
  text-transform:uppercase; color:var(--muted); border:1px solid var(--line);
  padding:0.35rem 0.7rem; border-radius:100px; }
