/* ====================================================================
   Nadalutti — Etichetta digitale vini
   CSS condiviso per tutte le landing
   ==================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F2EADB;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: #1F1715;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.serif {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
}

.serif-italic {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-optical-sizing: auto;
}

/* ====================================================================
   Layout
   ==================================================================== */

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider {
  background: linear-gradient(90deg, transparent, #C9B88E 20%, #C9B88E 80%, transparent);
  height: 1px;
  max-width: 480px;
  margin: 0 auto;
}

.paper-texture {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(154, 124, 61, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(92, 26, 27, 0.03) 0%, transparent 50%);
  min-height: 100vh;
}

/* ====================================================================
   Banner "Pagina in preparazione"
   ==================================================================== */

.banner-prep {
  background: #5C1A1B;
  color: #F2EADB;
  padding: 14px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  border-bottom: 3px solid #9A7C3D;
}

.banner-prep strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.banner-prep span {
  opacity: 0.92;
  font-size: 12px;
}

@media (min-width: 768px) {
  .banner-prep {
    flex-direction: row;
    gap: 12px;
    font-size: 13px;
  }
  .banner-prep strong {
    font-size: 13px;
  }
}

/* ====================================================================
   Header
   ==================================================================== */

header {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: 0.3em;
  font-size: 11px;
  font-weight: 500;
  color: #5C1A1B;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border: 1px solid #C9B88E;
  color: #5C4A42;
  background: transparent;
  cursor: default;
  /* Disabilitato in fase 1 — placeholder visivo */
  opacity: 0.6;
}

.lang-switch svg {
  width: 13px;
  height: 13px;
  stroke: #5C4A42;
  stroke-width: 1.5;
  fill: none;
}

/* ====================================================================
   Hero — Denominazione + Nome vino
   ==================================================================== */

.hero {
  text-align: center;
  padding: 48px 24px 56px;
}

.denom {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  color: #1F1715;
  margin-bottom: 8px;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  font-style: italic;
  color: #5C1A1B;
}

/* ====================================================================
   Sezioni
   ==================================================================== */

section.block {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: #1F1715;
}

.icon {
  width: 18px;
  height: 18px;
  stroke: #5C1A1B;
  stroke-width: 1.2;
  fill: none;
}

/* ====================================================================
   Valori nutrizionali
   ==================================================================== */

.nutri-label {
  display: inline-block;
  padding: 10px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #5C1A1B;
  color: #F2EADB;
  margin-bottom: 24px;
}

.nutri-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #E0D3B5;
}

.nutri-row.top {
  padding: 16px 0;
}

.nutri-row.sub {
  padding: 11px 0 11px 16px;
}

.nutri-row.sub .label,
.nutri-row.sub .val {
  color: #5C4A42;
  font-style: italic;
  font-size: 12px;
}

.nutri-row .label {
  font-size: 14px;
}

.nutri-row .val {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.nutri-row.top .val {
  font-size: 20px;
}

.nutri-row:last-child {
  border-bottom: none;
}

/* ====================================================================
   Ingredienti
   ==================================================================== */

.ingredient-item {
  margin-bottom: 20px;
}

.ing-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9A7C3D;
  margin-bottom: 4px;
}

.ing-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
}

.ing-value.big {
  font-size: 18px;
}

.protective {
  padding-top: 12px;
  font-size: 12px;
  font-style: italic;
  color: #5C4A42;
  margin-bottom: 16px;
}

.sulphites {
  display: inline-block;
  padding: 7px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: #5C1A1B;
  color: #F2EADB;
}

/* ====================================================================
   Smaltimento imballaggi
   ==================================================================== */

.disposal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #E0D3B5;
}

.disposal-row:last-of-type {
  border-bottom: none;
}

.disposal-code {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  padding: 8px 14px;
  border: 1px solid #9A7C3D;
  color: #5C1A1B;
  letter-spacing: 0.05em;
}

.disposal-note {
  margin-top: 24px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
  color: #5C4A42;
}

/* ====================================================================
   Footer
   ==================================================================== */

footer {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.product-of {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9A7C3D;
  margin-bottom: 24px;
}

.footer-inner-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9B88E 20%, #C9B88E 80%, transparent);
  margin-bottom: 24px;
}

.company {
  font-size: 12px;
  line-height: 1.7;
  color: #5C4A42;
}

.company a {
  color: #5C1A1B;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #C9B88E;
  display: inline-block;
  margin-top: 8px;
}

.company a:hover {
  text-decoration-color: #5C1A1B;
}

.disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9A7C3D;
  border-top: 1px solid #E0D3B5;
}

.disclaimer-small {
  margin-top: 8px;
  font-size: 10px;
  color: #9A7C3D;
}

/* ====================================================================
   Responsive — Tablet e desktop
   ==================================================================== */

@media (min-width: 768px) {
  .container,
  .divider,
  header,
  section.block,
  footer {
    max-width: 560px;
  }

  .hero {
    padding: 64px 24px 72px;
  }

  .denom,
  .hero h1 {
    font-size: 56px;
  }

  .section-head h2 {
    font-size: 28px;
  }
}

/* ====================================================================
   Print — utile se qualcuno stampa la pagina
   ==================================================================== */

@media print {
  body {
    background: white;
    color: black;
  }

  .lang-switch {
    display: none;
  }

  .paper-texture {
    background-image: none;
  }
}
