
/* ============================================
   FRANCEED — BRAND TOKENS (da Brand Bible v1.0)
   ============================================ */
:root {
  /* Colori primari */
  --navy: #1B3A5C;
  --teal: #00B5AD;
  /* Colori secondari */
  --mid-teal: #0A7D8C;
  --slate: #4A6275;
  --ice: #E0F5F4;
  --mist: #F4F7F9;
  /* Funzionali */
  --white: #FFFFFF;
  --border: rgba(74, 98, 117, 0.16);
  --shadow-sm: 0 2px 8px rgba(27, 58, 92, 0.04);
  --shadow-md: 0 4px 24px rgba(27, 58, 92, 0.06);
  --shadow-lg: 0 8px 40px rgba(27, 58, 92, 0.10);
  /* Layout */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 48px);
  /* Tipografia (scala da Brand Bible §06) */
  --font: "Inter", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Selezione testo */
::selection { background: var(--teal); color: var(--white); }

/* ============================================
   LAYOUT GENERICO
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section { padding: clamp(64px, 9vw, 112px) 0; }
section.section-mist { background: var(--mist); }
section.section-ice { background: var(--ice); }
section.section-navy { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-h {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
  max-width: 800px;
}
.section-navy .section-h { color: var(--white); }
.section-h em {
  font-style: normal;
  color: var(--teal);
}
.section-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 56px;
}
.section-navy .section-sub { color: rgba(255, 255, 255, 0.75); }

/* ============================================
   LOGO (SVG ricostruito da Brand Bible)
   ============================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo img { width: 32px; height: 32px; object-fit: contain; }
.logo .lk-franc { color: var(--navy); }
.logo .lk-eed { color: var(--teal); }
.logo.is-light .lk-franc { color: var(--white); }
.logo.is-light .lk-eed { color: var(--ice); }

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.is-scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.94);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.1s ease;
}
.nav-cta:hover { background: var(--mid-teal); }
.nav-cta:active { transform: translateY(1px); }
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy) !important;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-login:hover { background: var(--navy); color: var(--white) !important; }
/* Dropdown Accedi (CRM + Academy) */
.login-drop { position: relative; }
.login-drop .nav-login svg { transition: transform 0.2s ease; }
.login-drop.open .nav-login svg { transform: rotate(180deg); }
.login-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.login-drop.open .login-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.login-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: background 0.12s ease;
}
.login-menu a:hover { background: var(--ice); }
.login-menu .lm-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.login-menu .lm-sub {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}
.mobile-login { display: none; }
.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--navy);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px var(--pad-x) 32px;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav.menu-open .nav-links a { font-size: 16px; }
  .login-drop { display: none; }
  .mobile-login { display: block; }
  .mobile-login a { font-weight: 600; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(0, 181, 173, 0.35), transparent 55%),
    radial-gradient(ellipse at -10% 90%, rgba(10, 125, 140, 0.45), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, #0F2740 60%, #0A7D8C 100%);
  color: var(--white);
  padding: 168px 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--white));
  opacity: 0.05;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 181, 173, 0.25);
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--teal); }
.hero-claim {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--mid-teal); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: #0F2740; }

.hero-meta {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}
.hero-meta strong {
  display: block;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}
.hero-meta strong em {
  color: var(--teal);
  font-style: normal;
}

/* Hero visual: dashboard mockup */
.hero-visual {
  position: relative;
}
.dashboard-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-xl);
  padding: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center;
}
.dash-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}
.dash-head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.dash-head .dot.live { background: var(--teal); }
.dash-head .lbl {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
}
.kpi .num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}
.kpi .num em { color: var(--teal); font-style: normal; }
.kpi .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.dash-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pipe-col {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 8px 6px;
  min-height: 130px;
}
.pipe-col .pipe-h {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  padding: 0 4px;
}
.pipe-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 7px;
  margin-bottom: 5px;
  border-left: 2px solid var(--teal);
}
.pipe-card.alt { border-left-color: var(--mid-teal); }
.pipe-card .name {
  font-size: 10px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.pipe-card .meta {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ============================================
   LOGO BAR / TRUST
   ============================================ */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: var(--white);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate);
  text-align: center;
}
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner svg { color: var(--teal); width: 16px; height: 16px; }

/* ============================================
   PROBLEMA
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-card .icon {
  width: 40px; height: 40px;
  background: var(--ice);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-teal);
  margin-bottom: 18px;
}
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

/* ============================================
   SOLUZIONE / FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: border-color 0.2s ease;
}
.feature:hover { border-color: var(--teal); }
.feature .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--navy);
}
.feature p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}
.feature.feature-wide { grid-column: span 2; }
.feature.feature-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  position: relative;
  overflow: hidden;
}
.feature.feature-dark::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0, 181, 173, 0.35), transparent 65%);
  pointer-events: none;
}
.feature.feature-dark h3 { color: var(--white); }
.feature.feature-dark p { color: rgba(255, 255, 255, 0.75); }
.feature.feature-dark .num { color: var(--teal); }
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature.feature-wide { grid-column: auto; }
}

/* ============================================
   PIPELINE 8 FASI (CUSTOMER JOURNEY)
   ============================================ */
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.journey::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 28px;
  height: 2px;
  background: linear-gradient(to right,
    var(--teal) 0%, var(--mid-teal) 100%);
  opacity: 0.20;
  z-index: 0;
}
.j-step {
  position: relative;
  z-index: 1;
}
.j-num {
  width: 56px; height: 56px;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  position: relative;
}
.section-navy .j-num {
  background: var(--navy);
  border-color: var(--teal);
}
.j-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.j-step p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.section-navy .j-step p { color: rgba(255, 255, 255, 0.7); }
.j-step .timing {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey::before { display: none; }
}
@media (max-width: 480px) {
  .journey { grid-template-columns: 1fr; }
}

/* ============================================
   PER CHI / TARGET
   ============================================ */
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.target-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.target-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--teal);
}
.target-card.alt::before { background: var(--mid-teal); }
.target-card .role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.target-card.alt .role { color: var(--mid-teal); }
.target-card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.target-card p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 20px;
}
.target-card ul {
  list-style: none;
  padding: 0;
}
.target-card li {
  padding: 10px 0 10px 28px;
  font-size: 14px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.target-card li:last-child { border-bottom: none; }
.target-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ice);
  border: 2px solid var(--teal);
}
@media (max-width: 720px) {
  .target-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.price-card.featured .price-name,
.price-card.featured .price-feat li { color: var(--white); }
.price-card.featured .price-feat li { border-color: rgba(255, 255, 255, 0.10); }
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured .price-period,
.price-card.featured .price-desc { color: rgba(255, 255, 255, 0.7); }
.price-card.featured .price-setup {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ice);
  border-color: rgba(255, 255, 255, 0.10);
}

.price-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.price-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.price-desc {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 24px;
  min-height: 36px;
}
.price-amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}
.price-period {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  margin-left: 4px;
}
.price-setup {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid-teal);
  background: var(--ice);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 181, 173, 0.2);
}
.price-feat {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  flex: 1;
}
.price-feat li {
  font-size: 13.5px;
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px dashed var(--border);
  color: var(--slate);
  line-height: 1.5;
}
.price-feat li:last-child { border-bottom: none; }
.price-feat li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.price-card.featured .price-feat li::before {
  border-color: var(--teal);
}
.price-card .btn { width: 100%; justify-content: center; }
.price-card .btn-secondary {
  background: var(--mist);
  color: var(--navy);
}
.price-card .btn-secondary:hover { background: var(--ice); }

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--slate);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

/* ============================================
   PIANI (sezione testuale)
   ============================================ */
.piani-prose {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.piani-prose p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--slate);
  line-height: 1.7;
}
.piani-prose strong { color: var(--navy); font-weight: 600; }

/* ============================================
   PIPELINE VISUAL (astratto)
   ============================================ */
.pipeline-visual {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* Colonna flusso */
.pv-flow {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  position: relative;
}
.pv-flow-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.pv-stages { display: flex; flex-direction: column; }
.pv-stage {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.pv-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  z-index: 1;
}
.pv-stage.active .pv-dot {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,181,173,0.2);
}
.pv-dot-end {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  width: 14px !important; height: 14px !important;
}
.pv-stage span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 10px 0;
}
.pv-stage.active span { color: var(--white); font-weight: 600; }
.pv-stage-end span { color: var(--teal) !important; font-weight: 700 !important; }
.pv-line {
  position: absolute;
  left: 4px;
  top: 18px;
  width: 2px;
  height: calc(100% + 2px);
  background: rgba(255,255,255,0.08);
}
.pv-stage.active .pv-line { background: rgba(0,181,173,0.3); }
.pv-badge {
  margin-top: 20px;
  display: inline-block;
  background: rgba(0,181,173,0.12);
  border: 1px solid rgba(0,181,173,0.25);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
}

/* Colonna automazioni */
.pv-automations {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pv-auto-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pv-auto-card:hover {
  border-color: var(--teal);
  transform: translateX(4px);
}
.pv-auto-icon {
  width: 40px; height: 40px;
  background: var(--ice);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-teal);
  flex-shrink: 0;
}
.pv-auto-body { flex: 1; }
.pv-auto-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pv-auto-body p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 12px;
}
.pv-auto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pv-auto-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid-teal);
  background: var(--ice);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .pipeline-visual { grid-template-columns: 1fr; }
  .pv-flow { display: none; } /* su mobile solo le card */
}


/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq-q .icn {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: transform 0.25s ease, background 0.2s ease;
  font-size: 18px;
  line-height: 1;
}
.faq-item.open .icn {
  transform: rotate(45deg);
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 700px;
}
.faq-item.open .faq-a { max-height: 600px; }

/* ============================================
   CTA FINALE
   ============================================ */
.cta-final {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 181, 173, 0.4), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, #0F2740 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final h2 .accent { color: var(--teal); }
.cta-final p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #122B45;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.footer h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, 0.7); transition: color 0.15s ease; }
.footer a:hover { color: var(--teal); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--teal); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}
.footer-legal-links {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-legal-links a:hover { color: var(--teal); }
.footer-privacy-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45) !important;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-privacy-link:hover { color: var(--teal) !important; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ============================================
   ANIMAZIONI ENTRATA
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ====== BANDA TESTIMONIANZE ====== */
.testi-band { background: var(--navy); }
.testi-band .tb-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.testi-band h2 {
  font-size: clamp(23px, 3.1vw, 33px); font-weight: 700; line-height: 1.25;
  letter-spacing: -0.02em; color: var(--white); margin-bottom: 10px;
}
.testi-band h2 em { font-style: normal; color: var(--teal); }
.testi-band p { font-size: clamp(14.5px, 1.4vw, 16px); color: rgba(255,255,255,0.72); max-width: 560px; }
.tb-link {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--teal); color: var(--white);
  padding: 14px 26px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  transition: background 0.15s ease, transform 0.1s ease;
}
.tb-link:hover { background: var(--mid-teal); }
.tb-link:active { transform: translateY(1px); }
@media (max-width: 700px) { .testi-band .tb-inner { gap: 24px; } }

/* ============================================
   AGGIUNTE v9 — nuovi componenti multipagina
   (solo token esistenti, nessuna modifica all'identità visiva)
   ============================================ */

/* --- Dropdown di navigazione (Prodotti / Per chi è) --- */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--slate);
  padding: 0; transition: color 0.15s ease;
}
.nav-drop-btn:hover { color: var(--teal); }
.nav-drop-btn svg { transition: transform 0.2s ease; }
.nav-drop.open .nav-drop-btn { color: var(--teal); }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 16px); left: -8px;
  min-width: 252px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-drop.open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-md); transition: background 0.15s ease; }
.nav-menu a:hover { background: var(--mist); }
.nav-menu .lm-title { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
.nav-menu .lm-sub { display: block; font-size: 12px; color: var(--slate); margin-top: 2px; }
.nav-links a.is-current { color: var(--teal); }
.mobile-nav { display: none; }
@media (max-width: 880px) {
  .nav-drop { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav a { font-weight: 600; }
}

/* --- Hero di pagina interna --- */
.hero.hero-page { padding: 136px 0 clamp(56px, 7vw, 88px); }
.hero-page .hero-grid { align-items: center; }
.hero-page.hero-solo .hero-grid { grid-template-columns: 1fr; }
.hero-page h1 { font-size: clamp(30px, 4.2vw, 46px); }
.hero-page .hero-claim { max-width: 660px; }

/* --- Breadcrumb --- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.crumbs a { color: var(--ice); }
.crumbs a:hover { color: var(--white); }

/* --- Banda marchi ("ci hanno scelto") --- */
.brands { padding: clamp(44px, 5.5vw, 68px) 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); text-align: center; margin-bottom: 26px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-chip {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 22px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-chip:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.brand-chip .bn { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.brand-chip .bs { font-size: 12px; color: var(--slate); }

/* --- Pipeline interattiva --- */
.pv-stage { cursor: pointer; }
.pv-detail {
  margin-top: 18px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.pv-detail .pd-t { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pv-detail .pd-p { font-size: 13px; color: var(--slate); line-height: 1.55; }

/* --- Mockup portale Academy (su fondo scuro, come la dashboard) --- */
.acad-mock {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl); padding: 18px;
  backdrop-filter: blur(8px); box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.acad-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 8px; }
.acad-row:last-child { margin-bottom: 0; }
.acad-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(0,181,173,0.16); color: var(--teal); display: grid; place-items: center; flex: none; }
.acad-body { flex: 1; min-width: 0; }
.acad-t { font-size: 13px; font-weight: 600; color: var(--white); }
.acad-s { font-size: 11px; color: rgba(255,255,255,0.5); }
.acad-bar { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; margin-top: 8px; }
.acad-bar i { display: block; height: 100%; background: var(--teal); border-radius: 999px; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
.acad-pct { font-size: 12px; font-weight: 700; color: var(--teal); flex: none; }

/* --- Card generiche a griglia (usate in più pagine) --- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .mini-grid, .mini-grid.two { grid-template-columns: 1fr; } }
.mini-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px 26px; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.mini-card:hover { border-color: rgba(0,181,173,0.4); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-card .mc-n { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.mini-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--navy); }
.mini-card p { font-size: 15px; color: var(--slate); line-height: 1.6; }
.mini-card .mc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--teal); }
.mini-card .mc-link:hover { color: var(--mid-teal); }

/* --- Bio (chi siamo) --- */
.bio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .bio-grid { grid-template-columns: 1fr; } }
.bio-card { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; }
.bio-ph { width: 92px; height: 92px; border-radius: var(--radius-lg); object-fit: cover; flex: none; }
.bio-mono { width: 92px; height: 92px; border-radius: var(--radius-lg); flex: none; display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.bio-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.bio-card .bio-role { font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.bio-card p { font-size: 15px; color: var(--slate); line-height: 1.6; }
.bio-card .bio-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--teal); }
@media (max-width: 520px) { .bio-card { flex-direction: column; } }

/* --- Numeri (contatori animati) --- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.02em; color: var(--white); line-height: 1.1; }
.stat b em { font-style: normal; color: var(--teal); }
.stat span { font-size: 13px; color: rgba(255,255,255,0.6); }

/* --- Passi numerati (demo) --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px; }
.step .sn { width: 34px; height: 34px; border-radius: 50%; background: var(--ice); color: var(--mid-teal); font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* --- Box informativo --- */
.callout { background: var(--ice); border-radius: var(--radius-xl); padding: 28px 30px; }
.callout h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.callout p { font-size: 15px; color: var(--slate); line-height: 1.65; }
.callout p + p { margin-top: 10px; }

/* --- Link di attraversamento fra pagine --- */
.xlinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- CTA fissa su mobile --- */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(255,255,255,0.94); backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--border); padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
  }
  .sticky-cta .btn { width: 100%; justify-content: center; }
  body { padding-bottom: 68px; }
}

/* --- Bottone outline su fondo chiaro --- */
.btn-outline.on-light { color: var(--navy); border-color: rgba(27, 58, 92, 0.35); }
.btn-outline.on-light:hover { background: rgba(27, 58, 92, 0.06); border-color: var(--navy); }

/* --- Striscia marchi scorrevole --- */
.brands { padding: clamp(28px, 3.4vw, 40px) 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.brands-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); text-align: center; margin-bottom: 18px; }
.ticker {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 34s linear infinite; }
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track,
.ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: clamp(16px, 2vw, 20px); font-weight: 700; letter-spacing: -0.01em;
  color: var(--navy); padding: 0 clamp(16px, 2.2vw, 28px);
  transition: color 0.15s ease;
}
.ticker-item:hover { color: var(--teal); }
.ticker-item::after { content: "\00b7"; color: var(--teal); margin-left: clamp(16px, 2.2vw, 28px); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
}

/* --- Numeri: variante a tre --- */
.stat-row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .stat-row.three { grid-template-columns: 1fr; } }
