/* ============================================================
   passaporto.css
   Foglio stile condiviso — Il Passaporto dei Gusti 2026
   Gelateria del Lago · gelateriadellago.it/passaporto/
   ============================================================ */

/* ── IMPORT FONT ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,500&family=IM+Fell+English:ital@0;1&family=Special+Elite&display=swap');

/* ── VARIABILI ── */
:root {
  --brown:    #38190a;
  --pink:     #a3195b;
  --cream:    #eee8e0;
  --sand:     #d9bc88;
  --sand-mid: #c8a460;
  --paper:    #f2ead8;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'IM Fell English', Georgia, serif;
  --font-label: 'Special Elite', 'Courier New', monospace;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── BODY ── */
body {
  background: var(--paper);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 19px; /* era 16px → +20% */
  line-height: 1.75;
  min-height: 100vh;
  position: relative;
}

/* Texture carta */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(ellipse at 10% 10%, #d4b48340 0%, transparent 45%),
    radial-gradient(ellipse at 90% 20%, #c8a87030 0%, transparent 40%),
    radial-gradient(ellipse at 5%  80%, #c4a26530 0%, transparent 38%),
    radial-gradient(ellipse at 95% 85%, #cfa97830 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER ── */
.site-header {
  position: relative; z-index: 10;
  border-bottom: 1px solid #38190a18;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(242,234,216,0.92);
  backdrop-filter: blur(4px);
}

.site-header a.back {
  font-family: var(--font-label);
  font-size: 13px; /* era 11px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.55;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.site-header a.back:hover { opacity: 0.85; }
.site-header a.back::before { content: '←'; font-size: 16px; }

.site-header .logo img {
  height: 50px; /* era 44px */
  width: auto;
  display: block;
}

.header-spacer { width: 120px; }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: 68px 28px 52px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 12px; /* era 10px */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  opacity: 0.85;
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(34px, 6vw, 52px); /* era clamp(28px,6vw,44px) */
  font-weight: 700;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 10px;
}

.hero h1 em {
  font-style: italic;
  color: var(--pink);
}

.hero-sub {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 22px); /* era clamp(14px,2.5vw,18px) */
  color: var(--brown);
  opacity: 0.60;
  margin-bottom: 28px;
}

.orn-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 36px;
  max-width: 320px;
}
.orn-divider::before,
.orn-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #38190a30, transparent);
}
.orn-divider svg { flex-shrink: 0; }

.hero-intro {
  font-size: 18px; /* era 15px */
  color: var(--brown);
  opacity: 0.82;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.80;
}

/* ── MAIN ── */
.main {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 88px;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-label);
  font-size: 13px; /* era 11px */
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--pink);
  opacity: 0.85;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #38190a18;
}

/* ── STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
  border: 1px solid #38190a14;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(238,232,224,0.50);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 28px;
  border-bottom: 1px solid #38190a10;
  transition: background 0.15s;
}
.step:last-child { border-bottom: none; }
.step:hover { background: rgba(238,232,224,0.80); }

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 16px; /* era 14px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content { flex: 1; }

.step-text {
  font-family: var(--font-body);
  font-size: 18px; /* era 15px */
  color: var(--brown);
  line-height: 1.65;
}

.tag {
  display: inline-block;
  background: rgba(163,25,91,0.10);
  color: var(--pink);
  font-family: var(--font-label);
  font-size: 14px; /* era 12px */
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(163,25,91,0.20);
}

/* ── PREMI CARDS ── */
.premi-section { margin-bottom: 56px; }

.premi-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .premi-cards { grid-template-columns: 1fr; }
}

.premio-card {
  border: 1px solid #38190a18;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(238,232,224,0.50);
}

.premio-card-header {
  padding: 16px 20px;
  background: var(--brown);
  color: var(--cream);
}

.premio-card-header .timbri {
  font-family: var(--font-label);
  font-size: 11px; /* era 9px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.75;
  margin-bottom: 5px;
  display: block;
}

.premio-card-header h3 {
  font-family: var(--font-title);
  font-size: 22px; /* era 18px */
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}

.premio-card-body { padding: 18px 20px; }

.premio-row {
  padding: 10px 0;
  border-bottom: 1px solid #38190a10;
  font-size: 15px;
}
.premio-row:last-child { border-bottom: none; }

.premio-row-label {
  font-family: var(--font-label);
  font-size: 10px; /* era 8.5px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.50;
  margin-bottom: 4px;
  display: block;
}

.premio-row-value {
  font-family: var(--font-body);
  font-size: 17px; /* era 14px */
  color: var(--brown);
  line-height: 1.5;
}

.premio-upgrade-value {
  font-family: var(--font-body);
  font-size: 17px; /* era 14px */
  color: var(--pink);
  line-height: 1.5;
}

/* ── NOTA ── */
.nota {
  background: rgba(163,25,91,0.05);
  border: 1px solid rgba(163,25,91,0.15);
  border-radius: 8px;
  padding: 22px 28px;
  margin-bottom: 56px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 17px; /* era 14px */
  color: var(--brown);
  opacity: 0.80;
  line-height: 1.75;
  text-align: center;
}

/* ── FOOTER ── */
.page-footer {
  position: relative; z-index: 1;
  border-top: 1px solid #38190a14;
  padding: 32px 28px;
  text-align: center;
}

.footer-logo img {
  height: 40px; /* era 36px */
  width: auto;
  opacity: 0.55;
  margin-bottom: 12px;
}

.footer-text {
  font-family: var(--font-label);
  font-size: 11px; /* era 9px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.40;
  line-height: 1.9;
}

.footer-text a {
  color: var(--brown);
  text-decoration: none;
  opacity: 0.70;
}
.footer-text a:hover { opacity: 1; text-decoration: underline; }

/* ── ORNAMENTI ANGOLI ── */
.corner-orn {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}
.corner-orn.tl { top: 12px; left: 12px; }
.corner-orn.tr { top: 12px; right: 12px; transform: scaleX(-1); }
.corner-orn.bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.corner-orn.br { bottom: 12px; right: 12px; transform: scale(-1,-1); }

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .hero { padding: 44px 18px 36px; }
  .main { padding: 0 18px 64px; }
  .step { padding: 18px; gap: 16px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero-intro { font-size: 17px; }
  .step-text { font-size: 17px; }
}
