/* =========================================================
   Circle Claims — styles.css
   Tema basato sui colori del logo: #406ae0 → #40bce5
   ========================================================= */
:root {
  --blu: #406ae0;
  --ciano: #40bce5;
  --grad: linear-gradient(120deg, var(--blu), var(--ciano));
  /* Variante a contrasto sicuro (WCAG AA) per testo e icone bianche */
  --grad-sicuro: linear-gradient(120deg, #2f56c5, #16719c);
  --scuro: #16181d;
  --testo: #2b2f36;
  --testo-muto: #555b64;
  --testo-grigio: #636b79;
  --chiaro: #f6f7f9;
  --bordo: #e8eaee;
  --superficie: #ffffff;
  --notte: #0d1230;
  --notte-2: #131a3f;
  --raggio: 14px;
  --ombra: var(--elev-2);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rosso: #d64545;

  /* --- Design system --- */
  /* Spaziature: scala base 4/8px */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  /* Elevazioni: ombra crescente (riposo / sollevato / in evidenza) */
  --elev-1: 0 4px 14px rgba(22, 24, 29, .06);
  --elev-2: 0 10px 30px rgba(22, 24, 29, .08);
  --elev-3: 0 20px 50px rgba(22, 24, 29, .16);
  /* Movimento */
  --dur-fast: 150ms; --dur-base: 250ms; --dur-slow: 600ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--testo);
  background: var(--superficie);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.015em; }

::selection { background: rgba(64, 188, 229, .30); }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1120px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blu); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Testo con gradiente (come il logo) ---------- */
.grad-text {
  background: var(--grad-sicuro);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad-sicuro);
  color: #fff;
  box-shadow: 0 8px 22px rgba(64, 106, 224, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(64, 106, 224, .42); }
.btn-ghost {
  color: var(--blu);
  border: 1.5px solid rgba(64, 106, 224, .35);
  background: rgba(64, 106, 224, .05);
}
.btn-ghost:hover { background: rgba(64, 106, 224, .10); border-color: rgba(64, 106, 224, .55); }
.btn-light { background: #fff; color: var(--blu); box-shadow: 0 8px 22px rgba(9, 15, 35, .25); }
.btn-light:hover { transform: translateY(-2px); }
.btn-small { padding: 9px 20px; font-size: .92rem; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordo);
}
.site-header.evidenziato { box-shadow: 0 8px 24px rgba(22, 24, 29, .08); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.brand img { width: 120px; height: auto; }

.menu { display: flex; align-items: center; gap: 22px; list-style: none; }
.menu a:not(.btn) {
  color: var(--testo);
  text-decoration: none;
  font-weight: 500;
  font-size: .97rem;
  opacity: .8;
  transition: opacity .15s ease, color .15s ease;
}
.menu a:not(.btn):hover { opacity: 1; color: var(--blu); }
.menu a[aria-current="page"] { opacity: 1; color: var(--blu); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 2px;
  background: var(--scuro); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 8% -12%, rgba(64, 106, 224, .14), transparent 60%),
    radial-gradient(700px 400px at 95% 115%, rgba(64, 188, 229, .16), transparent 60%),
    var(--chiaro);
  padding: 96px 0 104px;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .35; pointer-events: none;
}
.hero-glow-1 {
  width: 380px; height: 380px;
  background: rgba(64, 106, 224, .5);
  top: -140px; right: -110px;
  animation: fluttua 10s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 320px; height: 320px;
  background: rgba(64, 188, 229, .45);
  bottom: -150px; left: -90px;
  animation: fluttua 12s ease-in-out infinite alternate-reverse;
}
@keyframes fluttua { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-26px,20px,0) scale(1.07); } }

.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: min(320px, 62vw); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--scuro);
  max-width: 820px;
  margin-bottom: 20px;
}
.hero-sub {
  max-width: 660px;
  color: var(--testo-muto);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  margin-bottom: var(--sp-6);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { margin: var(--sp-7) auto 0; max-width: 800px; }
.hero-figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--raggio);
  box-shadow: var(--elev-1);
}

/* ---------- Hero delle pagine interne ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(680px 380px at 10% -20%, rgba(64, 106, 224, .13), transparent 60%),
    radial-gradient(620px 360px at 96% 120%, rgba(64, 188, 229, .15), transparent 60%),
    var(--chiaro);
  padding: 72px 0 76px;
}
.breadcrumb {
  font-size: .9rem;
  color: var(--testo-grigio);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--blu); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--scuro);
  max-width: 820px;
  margin-bottom: 16px;
}
.page-hero .hero-sub { margin-bottom: 28px; }

/* ---------- Sezioni ---------- */
.section { padding: 96px 0; }
.section-muted { background: var(--chiaro); }
.section-kicker {
  font-size: .84rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 10px;
}
.section-muted .section-kicker { color: #3457b8; }
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  font-weight: 800; letter-spacing: -.01em;
  color: var(--scuro);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-sub { color: var(--testo-muto); font-size: 1.05rem; margin-bottom: var(--sp-7); max-width: 640px; }

/* ---------- Card ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  padding: 30px 26px;
  box-shadow: var(--ombra);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 24, 29, .12);
  border-color: rgba(64, 106, 224, .35);
}
.card h3 { color: var(--scuro); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: .97rem; color: var(--testo-muto); }
.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--blu);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.card a.card-link::after { content: "→"; margin-left: 6px; transition: transform .18s ease; display: inline-block; }
.card a.card-link:hover::after { transform: translateX(4px); }

.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad-sicuro);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(64, 106, 224, .28);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Badge di stato ---------- */
.badge {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(64, 106, 224, .14), rgba(64, 188, 229, .18));
  color: var(--blu);
  border: 1px solid rgba(64, 106, 224, .25);
  margin-bottom: 16px;
}
.badge-roadmap {
  background: #eef0f3;
  color: var(--testo-grigio);
  border-color: var(--bordo);
}

/* ---------- Principi ---------- */
.principles {
  list-style: none;
  display: grid;
  gap: 18px;
  max-width: 780px;
}
.principles li {
  position: relative;
  padding: 20px 22px 20px 58px;
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  font-size: 1rem;
  color: var(--testo-muto);
  transition: transform .2s ease, border-color .2s ease;
}
.principles li:hover { transform: translateX(4px); border-color: rgba(64, 106, 224, .35); }
.principles li::before {
  content: "";
  position: absolute; left: 20px; top: 22px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z"/></svg>') center/72% no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z"/></svg>') center/72% no-repeat;
}
.principles strong { color: var(--scuro); font-weight: 700; }

/* ---------- Diagrammi e figure ---------- */
.figure {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: 18px;
  box-shadow: var(--ombra);
  padding: clamp(14px, 3vw, 30px);
  margin-bottom: var(--sp-5);
}
.figure svg { width: 100%; height: auto; }
.figure-caption {
  text-align: center;
  font-size: .92rem;
  color: var(--testo-grigio);
  margin-top: 14px;
}

/* ---------- Split (testo + immagine) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split-reverse { grid-template-columns: 1.05fr 1fr; }
.split-media .figure { margin-bottom: 0; }
.split-body h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--scuro);
  font-weight: 800;
  margin-bottom: 14px;
}
.split-body p { color: var(--testo-muto); margin-bottom: 16px; }

/* ---------- Elenco funzioni con spunta ---------- */
.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.feature-list li {
  position: relative;
  padding-left: 40px;
  color: var(--testo);
  font-size: 1rem;
}
.feature-list li strong { color: var(--scuro); }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z"/></svg>') center/72% no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z"/></svg>') center/72% no-repeat;
}

/* ---------- Passi numerati ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.step {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  padding: var(--sp-5);
  box-shadow: var(--ombra);
}
.step-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-sicuro);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: var(--sp-2);
}
.step h3 { font-size: 1.05rem; color: var(--scuro); margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--testo-muto); }

/* ---------- Mini-flusso verticale ---------- */
.mini-flow { list-style: none; display: grid; gap: 16px; margin-top: 22px; position: relative; }
.mini-flow li {
  position: relative;
  padding: 16px 18px 16px 56px;
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  font-size: .97rem;
  color: var(--testo-muto);
}
.mini-flow li strong { color: var(--scuro); display: block; margin-bottom: 2px; }
.mini-flow .mini-num {
  position: absolute; left: 16px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-sicuro);
  color: #fff;
  font-size: .85rem; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- Banner fase di sviluppo ---------- */
.note-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(120deg, rgba(64, 106, 224, .08), rgba(64, 188, 229, .10));
  border: 1px solid rgba(64, 106, 224, .25);
  border-radius: var(--raggio);
  padding: 20px 22px;
  margin-top: 34px;
}
.note-banner .note-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-sicuro);
  display: grid; place-items: center;
  color: #fff;
}
.note-banner p { font-size: .97rem; color: var(--testo); }
.note-banner a { color: var(--blu); font-weight: 600; text-decoration: none; }
.note-banner a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { background: var(--chiaro); }
.cta-panel {
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(255, 255, 255, .22), transparent 60%),
    var(--grad-sicuro);
  color: #fff;
  border-radius: 22px;
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(64, 106, 224, .32);
}
.cta-panel h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cta-panel p { opacity: .92; margin-bottom: 28px; font-size: 1.05rem; }

/* ---------- Contatti ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact-card {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  padding: 28px;
}
.contact-card h3 { color: var(--scuro); font-size: 1.1rem; margin-bottom: 12px; }
.contact-card a.mail {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blu);
  text-decoration: none;
}
.contact-card a.mail:hover { text-decoration: underline; }
.contact-card p { font-size: .95rem; color: var(--testo-muto); margin-top: 8px; }
.contact-meta { margin-top: 18px; font-size: .92rem; color: var(--testo-grigio); }
.contact-photo { padding: 10px; }
.contact-photo img { border-radius: 12px; }

.form-grid { display: grid; gap: 16px; }
.field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--scuro);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--bordo);
  border-radius: 10px;
  font: inherit;
  color: var(--testo);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blu);
  box-shadow: 0 0 0 4px rgba(64, 106, 224, .12);
}
.form-note { font-size: .85rem; color: var(--testo-grigio); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--notte);
  color: #aeb6d4;
  padding: 56px 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand img { width: 104px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 260px; }
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: #aeb6d4; text-decoration: none; }
.footer-col a:hover { color: var(--ciano); }
.footer-col .footer-fisso { color: #aeb6d4; }
.footer-col a.mail { color: var(--ciano); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 22px 0;
  font-size: .88rem;
}

/* ---------- Animazioni di ingresso (attive solo con JavaScript) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .reveal.visibile { opacity: 1; transform: none; }

/* ---------- Accessibilità ---------- */
:focus-visible {
  outline: 3px solid var(--blu);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Il focus del salto al contenuto non mostra il contorno */
main:focus { outline: none; }
/* Le ancore non finiscono sotto l'header sticky */
section[id], main[id] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
    padding: 16px 4%;
    gap: 4px;
    display: none;
    border-bottom: 1px solid var(--bordo);
    box-shadow: 0 16px 30px rgba(22, 24, 29, .10);
  }
  .menu.aperto { display: flex; }
  .menu li { padding: 10px 0; }
  .menu a:not(.btn) { display: block; font-size: 1.05rem; }
  .menu .btn { text-align: center; margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 64px 0 76px; }
  .page-hero { padding: 56px 0 60px; }
  .hero-actions .btn { width: 100%; max-width: 340px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Componenti aggiuntivi: chips, numeri, timeline,
   pannello investitori, form contatti, convivenza
   ========================================================= */

/* ---------- Chips ---------- */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--testo-muto);
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--bordo);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(22, 24, 29, .05);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: 0 0 auto; }

/* ---------- Banda di numeri ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.number {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  padding: 24px 16px;
  text-align: center;
}
.number b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-sicuro);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.number span { font-size: .88rem; color: var(--testo-muto); }

/* ---------- Griglia a due colonne ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Timeline (roadmap) ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 52px; }
.timeline li {
  position: relative;
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  padding: 28px 26px;
}
.t-fase {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(64, 106, 224, .14), rgba(64, 188, 229, .18));
  color: var(--blu);
  border: 1px solid rgba(64, 106, 224, .25);
  margin-bottom: 14px;
}
.timeline h3 { font-size: 1.15rem; color: var(--scuro); margin-bottom: 8px; }
.timeline p { font-size: .95rem; color: var(--testo-muto); }

/* ---------- Pannello investitori ---------- */
.investor-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 300px at 10% -12%, rgba(64, 106, 224, .38), transparent 65%),
    radial-gradient(560px 300px at 92% 112%, rgba(64, 188, 229, .30), transparent 65%),
    var(--notte);
  color: #e9edff;
  border-radius: 22px;
  padding: clamp(30px, 5vw, 56px);
}
.investor-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: start; position: relative; z-index: 1; }
.investor-panel h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.investor-panel .inv-sub { color: #c3cdf5; margin-bottom: 24px; font-size: 1rem; }
.investor-panel h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.inv-list { list-style: none; display: grid; gap: 12px; }
.inv-list li { position: relative; padding-left: 32px; font-size: .95rem; color: #c9d3f7; }
.inv-list li strong { color: #fff; }
.inv-list li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z"/></svg>') center/72% no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12L20.1 5.6z"/></svg>') center/72% no-repeat;
}
.inv-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 26px 24px;
}
.inv-box p { font-size: .95rem; color: #c9d3f7; margin-bottom: 20px; }
.inv-box .btn { width: 100%; text-align: center; }
.inv-box .inv-note { margin-top: 14px; margin-bottom: 0; font-size: .82rem; color: #9aa6d4; text-align: center; }

/* ---------- Form contatti ---------- */
.contact-col { min-width: 0; }
.contact-col h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  color: var(--scuro);
  font-weight: 800;
  margin-bottom: 14px;
}
.form-card {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: var(--raggio);
  box-shadow: var(--ombra);
  padding: clamp(24px, 4vw, 36px);
}
.form-card h2 { color: var(--scuro); font-size: 1.3rem; margin-bottom: 6px; }
.form-card .form-note { margin-bottom: 22px; }
.contact-label {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 8px;
}
.contact-note { margin-top: 10px; font-size: .88rem; color: var(--testo-grigio); }
.field-full { grid-column: 1 / -1; }
.btn-block { width: 100%; }
.form-privacy { margin-top: 12px; font-size: .82rem; color: var(--testo-grigio); text-align: center; }
.form-msg-error {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fdecec;
  border: 1px solid #f2b8b8;
  color: #b3261e;
  font-size: .88rem;
}
.form-error .form-msg-error { display: block; }
.form-error input:invalid,
.form-error select:invalid,
.form-error textarea:invalid { border-color: var(--rosso); }

/* ---------- Convivenza con i gestionali ---------- */
.figure-plain { background: transparent; border: 0; box-shadow: none; padding: 0; }
.convivenza-box {
  background: var(--superficie);
  border: 1px solid var(--bordo);
  border-radius: 18px;
  box-shadow: var(--ombra);
  padding: clamp(22px, 4vw, 40px);
  text-align: center;
}
.convivenza-label {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--testo-grigio);
  margin-bottom: 20px;
}
.convivenza-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.convivenza-chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--bordo);
  background: var(--chiaro);
  color: var(--testo);
  font-size: .9rem;
  font-weight: 600;
}
.convivenza-chip.convivenza-circle {
  background: var(--grad-sicuro);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(64, 106, 224, .30);
}
.convivenza-link { color: var(--blu); font-size: 1.25rem; font-weight: 800; }
.convivenza-note { margin-top: 20px; font-size: .9rem; color: var(--testo-muto); }

/* ---------- Pulsante outline chiaro (su fondi scuri) ---------- */
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-2px); }

/* ---------- Cerchi decorativi nell'hero ---------- */
.hero-cerchi { position: absolute; inset: 0; pointer-events: none; }
.hero-cerchi::before,
.hero-cerchi::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(64, 106, 224, .13);
}
.hero-cerchi::before { width: 560px; height: 560px; right: -170px; top: -190px; }
.hero-cerchi::after { width: 840px; height: 840px; right: -310px; top: -330px; border-color: rgba(64, 188, 229, .11); }

/* ---------- Responsive dei nuovi componenti ---------- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: 1fr; }
}
