/* Shell condiviso: nav, footer, sezioni base — stile landing KlipCard */
:root {
  --terra: #d97757;
  --terra-d: #c06642;
  --terra-l: #e89a7a;
  --terra-xl: #fdf0ea;
  --salvia: #3b7f5c;
  --salvia-l: #e3f5ec;
  --s50: #fafaf9;
  --s100: #f5f5f4;
  --s200: #e7e5e4;
  --s300: #d6d3d1;
  --s500: #78716c;
  --s700: #44403c;
  --ink: #111110;
  --white: #fff;
  --r: .28s cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--s50);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.nav-wrap { position: sticky; top: 0; z-index: 200; transition: background var(--r), box-shadow var(--r); }
.nav-wrap.solid { background: rgba(250, 250, 249, .97); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--s200); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .75rem 5vw; max-width: 1400px; margin: 0 auto; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .875rem; font-weight: 600; color: var(--s700); transition: color var(--r); }
.nav-links a:hover, .nav-links a.on { color: var(--terra); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.btn-ghost { font-size: .875rem; font-weight: 600; color: var(--s700); padding: .5rem 1rem; border-radius: 8px; border: 1.5px solid var(--s200); transition: all var(--r); display: inline-block; }
.btn-ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn-cta { font-size: .875rem; font-weight: 700; color: #fff; background: var(--terra); padding: .55rem 1.25rem; border-radius: 9px; border: none; cursor: pointer; box-shadow: 0 2px 12px rgba(217, 119, 87, .3); transition: all var(--r); display: inline-block; }
.btn-cta:hover { background: var(--terra-d); transform: translateY(-1px); }
.nav-link { font-size: .875rem; font-weight: 600; color: var(--s500); transition: color var(--r); }
.nav-link:hover { color: var(--terra); }
.nav-register, .nav-login { font-size: .875rem; font-weight: 600; color: var(--s700); padding: .5rem 1rem; border-radius: 8px; border: 1.5px solid var(--s200); transition: all var(--r); display: inline-block; }
.nav-register:hover, .nav-login:hover { border-color: var(--terra); color: var(--terra); }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 12px; background: none; border: none; cursor: pointer; border-radius: 8px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; }
.nav-mob { display: none; position: fixed; inset: 0; background: rgba(250, 250, 249, .98); backdrop-filter: blur(16px); z-index: 300; flex-direction: column; justify-content: center; align-items: center; gap: 1.75rem; transform: translateX(100%); transition: transform var(--r); }
.nav-mob.open { transform: translateX(0); }
.nav-mob a { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.nav-mob-close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--s500); }

.hero { padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--s50) 0%, #fff 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(217, 119, 87, .07), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-salvia { background: linear-gradient(180deg, var(--salvia-l) 0%, var(--s50) 100%); }
.hero-salvia::before { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(59, 127, 92, .12), transparent 70%); }
.htag { display: inline-flex; align-items: center; gap: .5rem; background: var(--salvia-l); border: 1px solid rgba(59, 127, 92, .22); color: var(--salvia); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: .38rem .85rem; border-radius: 50px; margin-bottom: 1.25rem; }
.htag-dot { width: 6px; height: 6px; background: var(--salvia); border-radius: 50%; animation: kc-blink 2.2s ease-in-out infinite; }
@keyframes kc-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.6); } }
h1.hh { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 1rem; }
h1.hh em { font-family: 'Lora', serif; font-style: italic; font-weight: 600; background: linear-gradient(135deg, var(--terra), var(--terra-d)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hsub { font-size: 1.05rem; color: var(--s500); max-width: 640px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.sec { padding: 5rem 0; }
.sec-alt { background: var(--s100); }
.lbl { display: block; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--terra); margin-bottom: .6rem; }
h2.ttl { text-align: center; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: .75rem; }
.sub { text-align: center; font-size: 1rem; color: var(--s500); max-width: 580px; margin: 0 auto 3rem; line-height: 1.7; }

.cta-final { background: var(--ink); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(217, 119, 87, .15), transparent 70%); pointer-events: none; }
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1rem; }
.cta-final p { font-size: 1rem; color: rgba(255, 255, 255, .65); max-width: 520px; margin: 0 auto 2rem; }
.btn-final { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--terra-d); font-weight: 800; font-size: 1rem; padding: .95rem 2.1rem; border-radius: 13px; box-shadow: 0 8px 28px rgba(0, 0, 0, .2); transition: all var(--r); }
.btn-final:hover { transform: translateY(-3px); }
.cta-note { font-size: .75rem; color: rgba(255, 255, 255, .4); margin-top: .85rem; }

.footer-top { background: #fff; border-top: 1px solid var(--s200); padding: 3rem 0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.fbrand img { height: 38px; margin-bottom: .75rem; }
.fbrand p { font-size: .85rem; color: var(--s500); line-height: 1.7; max-width: 240px; }
.fcol h4 { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--s700); margin-bottom: .75rem; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.fcol a { font-size: .85rem; color: var(--s500); transition: color var(--r); }
.fcol a:hover { color: var(--terra); }
.footer-bot { background: var(--s50); border-top: 1px solid var(--s200); padding: 1rem 0; }
.footer-bot .container { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: var(--s500); flex-wrap: wrap; gap: .5rem; }
.footer-bot a { color: var(--s500); }
.footer-bot a:hover { color: var(--terra); }

.sticky-mob { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: .8rem 1rem; background: rgba(250, 250, 249, .97); backdrop-filter: blur(12px); border-top: 1px solid var(--s200); z-index: 190; }
.sticky-mob a { display: block; text-align: center; background: var(--terra); color: #fff; font-weight: 800; font-size: 1rem; padding: .85rem; border-radius: 12px; }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav-mob { display: flex; }
  .sticky-mob { display: block; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bot .container { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}
