/* Metric — custom.css
 * CSS per blocchi custom / override sito specifico.
 * Suggerimenti:
 * - evita selettori troppo generici
 * - usa classi "namespace" tipo .metric-*
 */

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1280px;

}

.metric-header-cta {
    background: #8383f6;
	border-radius: 50px 0;
}

.metric-nav-desktop .nav-link {
    font-size: 22px;
}

.lb-preview-hero__button {
    color: #ffffff;
    background: #8e91ff!important;
}

@media (max-width: 782px) {
    .brand img {
    height: 25px;
}

.brand-logo {
    display: block;
    max-height: 25px;
    width: auto;
}

}


/* Inizio Hero section home */

.lb-preview-hero {
      position: relative;
      min-height: 92vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      isolation: isolate;
      background:
        radial-gradient(circle at 18% 12%, rgba(155, 158, 253, .16), transparent 34%),
        radial-gradient(circle at 88% 84%, rgba(155, 158, 253, .12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8f8ff 52%, #ffffff 100%);
    }

    .lb-preview-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(17,17,35,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,35,.045) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(circle at center, black, transparent 76%);
      opacity: .55;
      z-index: -4;
    }

    .lb-preview-hero__paint {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -2;
    }

    .lb-preview-hero__paint-soft {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: -3;
      background:
        radial-gradient(circle at 12% 82%, rgba(155, 158, 253, .10), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(155, 158, 253, .08), transparent 28%);
    }

    .lb-preview-hero__wrap {
      width: min(980px, calc(100% - 40px));
      margin-inline: auto;
      position: relative;
      z-index: 2;
      padding: 96px 0;
      text-align: center;
    }

    .lb-preview-hero__eyebrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: fit-content;
      padding: 8px 13px;
      margin: 55px auto 24px;
      border: 1px solid rgba(155, 158, 253, .42);
      border-radius: 999px;
      color: #42448f;
      background: rgba(155, 158, 253, .13);
      font-size: 14px;
      letter-spacing: .02em;
      backdrop-filter: blur(12px);
    }

    .lb-preview-hero__dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 24px rgba(155, 158, 253, .9);
      flex: 0 0 auto;
    }

    .lb-preview-hero h1 {
      margin: 0 auto;
      max-width: 950px;
      font-size: clamp(46px, 8vw, 108px);
      line-height: .92;
      letter-spacing: -.075em;
      font-weight: 780;
      color: var(--text);
    }

    .lb-preview-hero h1 span {
      color: #777af2;
      text-shadow: 0 0 30px rgba(155,158,253,.24);
    }

    .lb-preview-hero__text {
      max-width: 720px;
      margin: 30px auto 0;
      color: var(--muted);
      font-size: clamp(18px, 2vw, 23px);
      line-height: 1.55;
    }

    .lb-preview-hero__actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 14px;
      margin-top: 38px;
    }

    .lb-preview-hero__button,
    .lb-preview-hero__clear {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 56px;
      padding: 0 24px;
      border-radius: 999px;
      font: inherit;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    }

    .lb-preview-hero__button {
      color: #ffffff;
      background: var(--accent);
      border: 1px solid transparent;
      box-shadow: 0 18px 52px rgba(155, 158, 253, .34);
    }

    .lb-preview-hero__button:hover {
      transform: translateY(-3px);
      box-shadow: 0 24px 74px rgba(155, 158, 253, .42);
    }

    .lb-preview-hero__button--ghost,
    .lb-preview-hero__clear {
      color: var(--text);
      background: rgba(255,255,255,.72);
      border: 1px solid var(--border);
      box-shadow: 0 12px 36px rgba(17,17,35,.06);
      backdrop-filter: blur(14px);
    }

    .lb-preview-hero__button--ghost:hover,
    .lb-preview-hero__clear:hover {
      transform: translateY(-3px);
      border-color: rgba(155, 158, 253, .56);
      background: rgba(255,255,255,.92);
    }

    @media (max-width: 720px) {
      .lb-preview-hero {
        min-height: 86vh;
      }

      .lb-preview-hero__wrap {
        width: min(100% - 28px, 980px);
        padding: 72px 0;
      }

      .lb-preview-hero h1 {
        letter-spacing: -.055em;
      }

      .lb-preview-hero__actions {
        flex-direction: column;
        align-items: stretch;
      }

      .lb-preview-hero__button,
      .lb-preview-hero__clear {
        width: 100%;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .lb-preview-hero__button,
      .lb-preview-hero__clear {
        transition: none;
      }
    }

/* Fine Hero section home */

/* Inizio carosello lavori */

/* ── wrapper ── */
.lc-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 0 48px;
  --lc-gap: 24px;
  --lc-radius: 16px;
  --lc-accent: #8e91ff;
  --lc-accent2: #8e91ff;
}

/* ── track ── */
.lc-track {
  display: flex;
  gap: var(--lc-gap);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* ── card ── */
.lc-card {
  flex: 0 0 calc((100% - 2 * var(--lc-gap)) / 3);
  min-width: 0;
  border-radius: var(--lc-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: box-shadow .3s, transform .3s;
}
.lc-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  transform: translateY(-4px);
}
@media (max-width: 1023px) {
  .lc-card { flex: 0 0 calc((100% - var(--lc-gap)) / 2); }
}
@media (max-width: 639px) {
  .lc-card { flex: 0 0 100%; }
}

.lc-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ── media ── */
.lc-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}
.lc-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.lc-card:hover .lc-card__media img { transform: scale(1.06); }

.lc-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.lc-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--lc-accent2);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── body ── */
.lc-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--lc-accent);
}
.lc-card__excerpt {
  font-size: .875rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.lc-card__cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--lc-accent2);
  margin-top: 4px;
  transition: letter-spacing .2s;
}
.lc-card:hover .lc-card__cta { letter-spacing: .04em; }

/* ── nav buttons ── */
.lc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
.lc-btn:hover  { background: var(--lc-accent); color: #fff; }
.lc-btn:disabled { opacity: .3; pointer-events: none; }
.lc-btn--prev  { left: 0; }
.lc-btn--next  { right: 0; }

/* ── dots ── */
.lc-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.lc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}
.lc-dot.is-active {
  background: var(--lc-accent2);
  width: 24px;
  border-radius: 4px;
}

.lc-empty { color: #999; font-style: italic; }

/* Fine carosello lavori */



