/* ==========================================================
   Davide Calì · Finanza — foglio di stile
   Colori del brand: navy, oro, crema (dai loghi)
   ========================================================== */

:root {
  --navy: #0E2A56;
  --navy-deep: #0A1F40;
  --navy-soft: #1D3A6B;
  --gold: #B8965A;
  --gold-soft: #D9C29A;
  --gold-faint: #EFE6D4;
  --cream: #F9F6EF;
  --paper: #FFFFFF;
  --ink: #1B2638;
  --muted: #5A6678;
  --line: #E4DCCB;

  --serif: "Cormorant", "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 42, 86, .06), 0 8px 24px rgba(14, 42, 86, .07);
  --shadow-hover: 0 2px 4px rgba(14, 42, 86, .08), 0 14px 32px rgba(14, 42, 86, .12);
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* ---------- Navigazione ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 246, 239, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--gold-soft);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 720px) { .nav__inner { padding: 12px 32px; } }
.nav__brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy);
}
.nav__brand img { width: 40px; height: auto; }
.nav__links { display: none; gap: 28px; }
.nav__links a {
  text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (min-width: 720px) { .nav__links { display: flex; } }

/* ---------- Apertura ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 32px 0 56px;
  text-align: center;
}
.hero__candles {
  position: absolute; inset: auto 0 0 0; width: 100%; height: 70%;
  pointer-events: none; opacity: .9;
}
.hero__inner { position: relative; max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* Foto + logo affiancati */
.hero__id {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 8px auto 22px;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.portrait {
  position: relative; margin: 0; flex: 0 0 auto;
  width: 148px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-faint);
  box-shadow: 0 14px 34px rgba(14, 42, 86, .16);
}
.portrait::before {
  content: ""; position: absolute; inset: -7px;
  border: 1px solid var(--gold-soft); border-radius: 50%;
  pointer-events: none;
}
.portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  border-radius: inherit;
}
/* Finché la foto non c'è: sagoma neutra */
.portrait.is-empty {
  background:
    radial-gradient(circle at 50% 40%, #E3D5B8 0 17%, transparent 17.5%),
    radial-gradient(ellipse 52% 38% at 50% 100%, #E3D5B8 0 60%, transparent 61%),
    linear-gradient(180deg, #F3EBDC, #EADFC8);
}
.hero__divider { width: 1px; align-self: stretch; margin: 18px 0; background: linear-gradient(180deg, transparent, var(--gold-soft), transparent); }
.hero__logo { width: 104px; height: auto; flex: 0 0 auto; }
.hero__name {
  font-family: var(--serif); font-weight: 600; color: var(--navy);
  font-size: clamp(2.6rem, 9vw, 3.75rem); line-height: 1.05; letter-spacing: -.01em;
  animation: rise .9s .08s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__rule {
  width: 72px; height: 1.5px; background: var(--gold); margin: 14px auto 12px;
  animation: grow .8s .3s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__creds {
  font-size: .92rem; color: var(--muted);
  animation: fade .8s .42s both;
}
.hero__social-title {
  margin-top: 34px;
  font-family: "Pinyon Script", var(--serif); font-weight: 400;
  font-size: 2.5rem; line-height: 1.2; color: var(--navy);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  animation: fade .8s .5s both;
}
.hero__social-title::before, .hero__social-title::after {
  content: ""; width: 44px; height: 1px; background: var(--gold);
}

/* Link in bio */
.links { margin-top: 18px; display: grid; gap: 10px; text-align: left; }
.links li { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.links li:nth-child(1) { animation-delay: .55s; }
.links li:nth-child(2) { animation-delay: .62s; }
.links li:nth-child(3) { animation-delay: .69s; }
.links li:nth-child(4) { animation-delay: .76s; }
.links li:nth-child(5) { animation-delay: .83s; }

.link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; min-height: 64px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.link:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.link:active { transform: translateY(0); }
.link__icon {
  flex: 0 0 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gold-faint); color: var(--navy);
}
.link__icon svg { width: 20px; height: 20px; }
.link__text { flex: 1; min-width: 0; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.link__arrow { color: var(--gold); font-size: 1.1rem; transition: transform .2s; }
.link:hover .link__arrow { transform: translateX(3px); }

.link--primary { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.link--primary .link__icon { background: rgba(255, 255, 255, .1); color: var(--cream); }
.link--primary:hover { border-color: var(--gold); }

/* Canali non ancora attivi */
.link__badge {
  display: none; flex: 0 0 auto;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 999px; padding: 3px 9px;
}
.link.is-soon {
  background: #FDFBF7; border-style: dashed; box-shadow: none; cursor: default;
}
.link.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.link.is-soon .link__arrow { display: none; }
.link.is-soon .link__badge { display: inline-block; }
.link.is-soon .link__icon { background: var(--cream); color: var(--muted); }
.link.is-soon .link__text { color: var(--muted); }
.links__note { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.links__note[hidden] { display: none; }

.hero__more {
  display: inline-flex; gap: 8px; margin-top: 28px;
  font-size: .88rem; font-weight: 500; color: var(--muted); text-decoration: none;
}
.hero__more:hover { color: var(--navy); }

@media (min-width: 720px) {
  .hero { padding: 56px 0 80px; }
  .hero__id { gap: 30px; }
  .portrait { width: 196px; }
  .hero__logo { width: 140px; }
  .hero__social-title { font-size: 2.9rem; }
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Banner OCF ---------- */
.ribbon {
  position: relative; background: var(--navy); color: var(--cream);
  padding: 44px 0; overflow: hidden;
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: .7;
}
.ribbon::before { top: 8px; }
.ribbon::after { bottom: 8px; }
.ribbon__inner {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.ribbon__seal { width: 64px; height: 64px; color: var(--gold); flex: 0 0 auto; }
.ribbon__title {
  font-family: var(--serif); font-weight: 600; color: var(--paper);
  font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1.1; text-wrap: balance;
}
.ribbon__rule { width: 48px; height: 1px; background: var(--gold-soft); }
.ribbon__sub { display: flex; align-items: center; gap: 12px; text-align: left; }
.ribbon__sub strong {
  font-family: var(--serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--gold-soft);
}
.ribbon__sub span {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5;
  color: rgba(249, 246, 239, .8);
}
@media (min-width: 820px) {
  .ribbon { padding: 40px 0; }
  .ribbon__inner { flex-direction: row; justify-content: center; gap: 32px; text-align: left; }
  .ribbon__rule { width: 1px; height: 56px; background: rgba(217, 194, 154, .5); }
}

/* ---------- Sezioni ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .section { padding: 104px 0; } }

.section__head { max-width: 640px; margin-bottom: 40px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow span {
  font-family: var(--serif); font-size: 1rem; letter-spacing: 0; color: var(--gold);
  padding-right: 12px; border-right: 1px solid var(--gold-soft);
}
.section h2 {
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.1; color: var(--navy);
  text-wrap: balance;
}
.section__kicker {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.45rem; line-height: 1.2; color: var(--gold); margin-bottom: 6px;
}
.section__sub { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }

/* ---------- Chi sono ---------- */
.about { display: grid; gap: 48px; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: 72px; } }

.about__intro p + p { margin-top: 16px; }
.about__intro p { color: var(--muted); }
.lead {
  font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--navy) !important; font-weight: 500;
}

.cv__title {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.cv__title:not(:first-child) { margin-top: 40px; }

.timeline { position: relative; display: grid; gap: 22px; }
.timeline__item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: relative; }
.timeline__date { font-size: .82rem; font-weight: 600; color: var(--gold); padding-top: 2px; font-variant-numeric: tabular-nums; }
.timeline h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); line-height: 1.25; }
.timeline p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.timeline__item--key h4::after {
  content: "Traguardo"; display: inline-block; vertical-align: middle; margin-left: 10px;
  font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--gold-faint); border: 1px solid var(--gold-soft);
  padding: 2px 8px; border-radius: 999px;
}

.certs { display: grid; gap: 12px; }
@media (min-width: 600px) { .certs { grid-template-columns: 1fr 1fr; } }
.cert {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 20px; position: relative; overflow: hidden;
}
.cert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.cert__org { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cert h4 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; color: var(--navy); margin-top: 6px; }
.cert p { font-size: .86rem; color: var(--muted); margin-top: 6px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost { margin-top: 28px; border: 1px solid var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.btn--gold:hover { background: var(--gold-soft); }
.btn--outline-light { border: 1px solid rgba(249, 246, 239, .4); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn--soon { border-style: dashed; cursor: default; color: rgba(249, 246, 239, .75); }
.btn--soon:hover { transform: none; border-color: rgba(249, 246, 239, .4); color: rgba(249, 246, 239, .75); }
.btn--soon em {
  font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(217, 194, 154, .5); border-radius: 999px; padding: 2px 8px;
}

/* ---------- Temi ---------- */
.topics { display: grid; gap: 16px; }
@media (min-width: 640px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .topics { grid-template-columns: repeat(4, 1fr); } }
.topic {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.topic__num { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--gold); }
.topic h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: var(--navy); margin: 10px 0 10px; }
.topic p { font-size: .92rem; color: var(--muted); }

.never {
  margin-top: 32px; padding: 24px; border-radius: var(--radius);
  border: 1px dashed var(--gold-soft); background: var(--paper);
  display: grid; gap: 14px;
}
.never h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.never ul { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.never li {
  font-size: .86rem; color: var(--ink); padding: 6px 12px 6px 30px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); position: relative;
}
.never li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 1.5px; background: var(--gold);
  transform: translateY(-50%);
}
@media (min-width: 900px) { .never { grid-template-columns: 240px 1fr; align-items: center; } }

/* ---------- Canali ---------- */
.channels { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1000px) { .channels { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.channel__icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px;
  display: grid; place-items: center; background: var(--gold-faint); color: var(--navy);
}
.channel__icon svg { width: 22px; height: 22px; }
.channel--dark .channel__icon { background: rgba(255, 255, 255, .1); color: var(--cream); --icon-bg: var(--navy); }
.channel.is-soon .channel__icon { background: var(--cream); color: var(--muted); }
.channel {
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px 18px 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.channel::after {
  content: "→"; position: absolute; right: 20px; top: 22px; color: var(--gold); transition: transform .2s;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.channel:hover::after { transform: translateX(3px); }
.channel__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--navy); }
.channel__handle { font-size: .84rem; color: var(--gold); font-weight: 500; }
.channel p { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.channel.is-soon { background: #FDFBF7; border-style: dashed; box-shadow: none; cursor: default; }
.channel.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.channel.is-soon::after { content: none; }
.channel.is-soon .channel__name { color: var(--muted); }
.channel.is-soon .channel__handle { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.channel--dark { background: var(--navy); border-color: var(--navy); }
.channel--dark .channel__name { color: var(--paper); }
.channel--dark .channel__handle { color: var(--gold-soft); }
.channel--dark p { color: rgba(249, 246, 239, .75); }

.schedule {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
  display: grid; gap: 16px;
}
.schedule h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.schedule__list { display: grid; gap: 10px; }
.schedule__list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: .95rem; color: var(--muted); }
.schedule__day { font-weight: 600; color: var(--navy); }
@media (min-width: 900px) {
  .schedule { grid-template-columns: 240px 1fr; align-items: start; }
  .schedule__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .schedule__list li { grid-template-columns: 1fr; gap: 2px; align-content: start; }
}

/* ---------- App ---------- */
.app { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .app { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.app .section__head { margin-bottom: 32px; }

.features { display: grid; gap: 22px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-faint); color: var(--navy);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: var(--navy); }
.feature p { margin-top: 4px; font-size: .95rem; color: var(--muted); max-width: 46ch; }

.btn--navy { background: var(--navy); color: var(--cream); font-weight: 600; }
.btn--navy:hover { background: var(--navy-soft); }
.app__cta { margin-top: 32px; }
.app__cta.is-soon { background: transparent; color: var(--muted); border: 1px dashed var(--gold-soft); cursor: default; transform: none; }
.app__cta.is-soon > span { display: none; }
.app__cta.is-soon::after {
  content: "In arrivo"; margin-left: 4px; font-size: .66rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 999px; padding: 2px 8px;
}

/* Anteprima telefono (illustrativa) */
.app__visual { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.app__visual::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184, 150, 90, .22), transparent 68%);
}
.phone {
  position: relative; width: 248px; padding: 12px; border-radius: 40px;
  background: var(--navy-deep); box-shadow: 0 30px 60px rgba(14, 42, 86, .28), inset 0 0 0 1.5px rgba(217, 194, 154, .35);
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 18px; border-radius: 999px; background: var(--navy-deep); z-index: 1; }
.phone__screen { border-radius: 30px; background: var(--cream); padding: 46px 20px 22px; min-height: 440px; display: flex; flex-direction: column; }
.phone__eyebrow { font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.phone__title { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.phone__total {
  margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--navy); color: var(--cream);
  display: flex; flex-direction: column; gap: 2px;
}
.phone__total span { font-size: .7rem; color: var(--gold-soft); }
.phone__total strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.phone__bars { margin-top: 18px; display: grid; gap: 12px; }
.phone__bars li { display: grid; gap: 5px; font-size: .72rem; color: var(--ink); }
.phone__bars i {
  display: block; height: 7px; border-radius: 999px; background: var(--gold-faint); position: relative; overflow: hidden;
}
.phone__bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--gold); }
.phone__bars li:first-child i::after { background: var(--navy); }
.phone__lock {
  margin-top: auto; display: flex; align-items: center; gap: 6px; justify-content: center;
  font-size: .68rem; font-weight: 500; color: var(--muted); padding-top: 16px;
}
.phone__lock svg { width: 13px; height: 13px; }
.wrapped-card {
  position: absolute; right: calc(50% - 172px); top: 92px;
  padding: 14px 18px; border-radius: 16px; background: var(--gold); color: var(--navy-deep);
  box-shadow: 0 16px 32px rgba(14, 42, 86, .22); transform: rotate(4deg);
  display: flex; flex-direction: column; line-height: 1.15;
}
.wrapped-card span { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.wrapped-card strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
@media (max-width: 420px) { .wrapped-card { right: 4px; } }

/* ---------- Collaborazione Finanzatotale ---------- */
.partner {
  margin-bottom: 16px; padding: 22px 22px; border-radius: var(--radius);
  border: 1px solid var(--gold-soft); background: var(--cream);
  display: flex; flex-direction: column; gap: 16px;
}
.partner__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.partner__name { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--navy); margin-top: 4px; }
.partner__links { display: flex; flex-wrap: wrap; gap: 10px; }
.partner__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--navy); color: var(--navy);
  text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background .2s, color .2s;
}
.partner__link svg { width: 18px; height: 18px; }
.partner__link:hover { background: var(--navy); color: var(--cream); }
.partner__link.is-soon { border-style: dashed; color: var(--muted); border-color: var(--line); cursor: default; }
.partner__link.is-soon:hover { background: none; color: var(--muted); }
.partner__link.is-soon::after { content: "In arrivo"; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 720px) {
  .partner { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
}

/* ---------- Tools ---------- */
.tools { display: grid; gap: 12px; }
@media (min-width: 600px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tools { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.tool {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 20px 20px 22px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.tool__num { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tool__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.15; color: var(--navy); margin-top: 4px; padding-right: 20px; }
.tool__text { font-size: .88rem; color: var(--muted); }
.tool__cta { position: absolute; top: 18px; right: 18px; color: var(--gold); transition: transform .2s; }
.tool:hover .tool__cta { transform: translateX(3px); }
.tool--dark { background: var(--navy); border-color: var(--navy); }
.tool--dark .tool__num, .tool--dark .tool__cta { color: var(--gold-soft); }
.tool--dark .tool__name { color: var(--paper); }
.tool--dark .tool__text { color: rgba(249, 246, 239, .75); }
.tools__note { margin-top: 18px; font-size: .8rem; color: var(--muted); }

/* ---------- Contatti ---------- */
.contact { background: var(--navy); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(184, 150, 90, .18), transparent 70%);
  pointer-events: none;
}
.contact__inner { position: relative; max-width: 720px; }
.eyebrow--light { justify-content: center; color: var(--gold-soft); }
.eyebrow--light span { color: var(--gold-soft); border-right-color: rgba(217, 194, 154, .4); }
.contact h2 { color: var(--paper); }
.contact__text { margin-top: 14px; color: rgba(249, 246, 239, .78); font-size: 1.05rem; }
.contact__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact__actions .btn { width: 100%; }
@media (min-width: 520px) { .contact__actions .btn { width: auto; } }

/* ---------- Fondo pagina ---------- */
.footer { background: var(--navy-deep); color: rgba(249, 246, 239, .7); padding: 48px 0 32px; font-size: .88rem; }
.footer__top { display: flex; flex-direction: column; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(217, 194, 154, .18); }
.footer__brand { display: flex; flex-direction: column; }
.footer__brand strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--paper); }
.footer__brand span { font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-soft); }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__social a { text-decoration: none; padding: 4px 0; transition: color .2s; }
.footer__social a:hover { color: var(--gold-soft); }
.footer__social .is-soon { display: none; }
@media (min-width: 720px) { .footer__top { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__disclaimer { margin-top: 24px; font-size: .8rem; line-height: 1.65; max-width: 860px; color: rgba(249, 246, 239, .6); }
.footer__disclaimer strong { color: rgba(249, 246, 239, .85); }
.footer__bottom { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; }
.footer__bottom a { color: rgba(249, 246, 239, .7); }
.footer__bottom a:hover { color: var(--gold-soft); }

/* ---------- Cursore a candela giapponese (solo con mouse) ---------- */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("assets/img/cursor-candela.svg") 13 2, auto; }
  a[href], button, summary, label { cursor: url("assets/img/cursor-candela-oro.svg") 13 2, pointer; }
  .is-soon, .btn--soon, [aria-disabled="true"] { cursor: url("assets/img/cursor-candela.svg") 13 2, auto !important; }
}

/* ---------- Candela a ogni tocco (touch) ---------- */
.tap-candle {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 22px; height: 44px; margin: -22px 0 0 -11px;
  animation: tapCandle .95s cubic-bezier(.2, .7, .2, 1) forwards;
  filter: drop-shadow(0 4px 8px rgba(14, 42, 86, .18));
}
.tap-candle svg { width: 100%; height: 100%; }
@keyframes tapCandle {
  0%   { opacity: 0; transform: translateY(6px) scale(.6); }
  20%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-30px) scale(1); }
}

/* ---------- Comparsa allo scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Pagina privacy ---------- */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2.2rem, 7vw, 3rem); color: var(--navy); line-height: 1.1; }
.legal h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-top: 36px; }
.legal p, .legal li { color: var(--muted); margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal .updated { font-size: .85rem; color: var(--gold); margin-top: 8px; }
.legal a { color: var(--navy); }
.back { display: inline-flex; gap: 8px; margin-bottom: 32px; font-size: .9rem; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--navy); }
