/* ═══════════════════════════════════════════
   SPRITZ & MONEY — shared.css
   Brand stylesheet per tutte le pagine
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --orange:       #F4722B;
  --orange-lt:    #FFA559;
  --orange-pale:  #FFF3EB;
  --teal:         #2A9D8F;
  --teal-lt:      #52C5B8;
  --teal-pale:    #E8F8F6;
  --lemon:        #F5C842;
  --lemon-pale:   #FFFBE8;
  --lemon-dark:   #8B6914;
  --sand:         #FAF3E4;
  --cream:        #FFFDF7;
  --ink:          #1C1A14;
  --ink-mid:      #5C5649;
  --ink-soft:     #9C9488;
  --white:        #FFFFFF;
  --grid:         #E0D8CC;
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── UTILITIES ── */
.container      { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.container-sm   { max-width: 760px;  margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.serif { font-family: var(--serif); }
.text-orange { color: var(--orange); }
.text-teal   { color: var(--teal);   }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,253,247,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--grid);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 21px; font-style: italic;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 4px;
}
.nav-logo .s { color: var(--orange); }
.nav-logo .amp { color: var(--ink-soft); font-style: normal; margin: 0 2px; }
.nav-logo .m { color: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 24px;
}
.nav-links a {
  font-size: 13.5px; font-weight: 400;
  color: var(--ink-mid); text-decoration: none;
  transition: color .15s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--orange); font-weight: 500; }
.nav-links a.frontalieri { color: var(--teal); }
.nav-links a.frontalieri::after { background: var(--teal); }
.nav-links a.frontalieri:hover { color: var(--teal); }

.nav-lang {
  display: flex; gap: 4px; margin: 0 8px;
}
.lang-btn {
  font-size: 11px; font-weight: 500; letter-spacing: .4px;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid var(--grid);
  background: none; cursor: pointer;
  color: var(--ink-soft);
  transition: all .15s;
}
.lang-btn.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-pale);
}
.nav-cta {
  font-size: 13px; font-weight: 500;
  background: var(--orange); color: var(--white);
  padding: 9px 22px; border-radius: 30px;
  text-decoration: none;
  transition: all .2s;
}
.nav-cta:hover {
  background: #c9571e;
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 1px;
  transition: all .2s;
}
.nav-mobile {
  display: none;
  position: fixed; inset: 64px 0 0 0;
  background: var(--cream); z-index: 199;
  padding: 28px; flex-direction: column; gap: 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 20px; font-weight: 400;
  color: var(--ink); text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--grid);
}

/* ── SECTIONS ── */
.section        { padding: 76px 0; }
.section.alt    { background: var(--sand); }
.section.dark   { background: var(--ink); }
.section.tight  { padding: 48px 0; }

/* ── HEADINGS ── */
.kicker {
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.kicker::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--orange); border-radius: 1px;
}
.kicker.teal { color: var(--teal); }
.kicker.teal::before { background: var(--teal); }

h1, .h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.1; letter-spacing: -1.2px;
}
h2, .h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2; letter-spacing: -.5px;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.3; letter-spacing: -.3px;
  margin-bottom: 10px;
}
h2 em, h1 em { color: var(--orange); font-style: italic; }

.lead {
  font-size: 17px; font-weight: 300;
  color: var(--ink-mid); line-height: 1.75;
  max-width: 580px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--orange); color: var(--white);
  padding: 13px 28px; border-radius: 30px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .2s; letter-spacing: .2px;
  font-family: var(--sans);
}
.btn-primary:hover {
  background: #c9571e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,114,43,.3);
}
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--orange); color: var(--orange);
  padding: 12px 26px; border-radius: 30px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: all .2s; background: none;
  font-family: var(--sans);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-teal {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 13px 28px; border-radius: 30px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all .2s;
}
.btn-teal:hover { background: #207d72; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-mid);
  text-decoration: none; transition: color .2s;
}
.btn-ghost:hover { color: var(--orange); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--grid);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
}
.card:hover {
  border-color: rgba(244,114,43,.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
}

/* ── CALLOUT BOXES ── */
.callout {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px; color: var(--ink-mid); line-height: 1.65;
}
.callout-orange { background: var(--orange-pale); border-left: 4px solid var(--orange); }
.callout-teal   { background: var(--teal-pale);   border-left: 4px solid var(--teal);   }
.callout-lemon  { background: var(--lemon-pale);  border-left: 4px solid var(--lemon);  }
.callout strong { color: var(--ink); }

/* ── TAGS / BADGES ── */
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.tag-orange { background: var(--orange-pale); color: #993C1D; }
.tag-teal   { background: var(--teal-pale);   color: #0F6E56; }
.tag-lemon  { background: var(--lemon-pale);  color: var(--lemon-dark); }
.tag-sand   { background: var(--sand);        color: var(--ink-soft); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--grid); margin: 40px 0; }

/* ── FOOTER ── */
footer {
  background: var(--sand);
  border-top: 1px solid var(--grid);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 20px; font-style: italic;
  margin-bottom: 10px;
}
.footer-brand .s { color: var(--orange); }
.footer-brand .m { color: var(--teal); }
.footer-desc {
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.65; max-width: 260px;
  font-weight: 300;
}
.footer-col h4 {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .7px;
  color: var(--ink-soft); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 13.5px; color: var(--ink-mid);
  text-decoration: none; font-weight: 300;
  transition: color .15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--grid);
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px;
}
.footer-copy { font-size: 12px; color: var(--ink-soft); }
.footer-disc {
  font-size: 11px; color: var(--ink-soft);
  max-width: 500px; text-align: right; line-height: 1.55;
}

/* ── SOCIAL STRIP ── */
.social-strip {
  padding: 20px 0;
  border-top: 1px solid var(--grid);
}
.social-inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.social-label { font-size: 12px; color: var(--ink-soft); margin-right: 4px; }
.social-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px; border: 1px solid var(--grid);
  border-radius: 20px; font-size: 12.5px; color: var(--ink-mid);
  text-decoration: none; transition: all .15s;
}
.social-chip:hover { border-color: var(--orange); color: var(--orange); }
.s-dot { width: 7px; height: 7px; border-radius: 50%; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s ease .1s both; }
.fade-up-3 { animation: fadeUp .6s ease .2s both; }
.fade-up-4 { animation: fadeUp .6s ease .3s both; }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-lang, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disc { text-align: center; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .container, .container-sm { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
