/* =============================================
   CLIENTI — clienti.css
   Stile condiviso per le 5 pagine settore:
   FMCG · Pharma · Automotive · HoReCa · Utility
   Bootstrap 5.3 + token da css.css
   ============================================= */


/* ---- PAGE HERO STRIP ---- */
.cl-page-hero {
  background: var(--fd-dark);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--fd-red);
}

.cl-page-hero::before {
  content: attr(data-sector);
  position: absolute;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: -0.04em;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  font-family: var(--font-display);
}

.cl-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fd-red);
  margin-bottom: 1rem;
}
.cl-page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--fd-red);
}

.cl-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--fd-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cl-page-hero__title em {
  color: var(--fd-red);
  font-style: normal;
}

.cl-page-hero__desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .65);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 0;
}

/* Image in hero area */
.cl-page-hero__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cl-page-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}


/* ---- SECTOR NAV (breadcrumb-style) ---- */
.cl-sector-nav {
  background: var(--fd-white);
  border-bottom: 1px solid var(--fd-accent);
  position: sticky;
  top: 65px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.cl-sector-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cl-sector-nav__list::-webkit-scrollbar { display: none; }

.cl-sector-nav__list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .9rem 1.3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fd-gray);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.cl-sector-nav__list li a i {
  font-size: .9rem;
}
.cl-sector-nav__list li a:hover {
  color: var(--fd-red);
}
.cl-sector-nav__list li a.active {
  color: var(--fd-red);
  border-bottom-color: var(--fd-red);
}


/* ---- CONTENT SECTION ---- */
.cl-content-section {
  padding: 2rem 0;
}

.cl-content-section--alt {
  background: var(--fd-off-white);
}

.cl-content-section--dark {
  background: var(--fd-gray-dark);
}


/* ---- INTRO BLOCK ---- */
.cl-intro__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fd-red);
  margin-bottom: 1rem;
}
.cl-intro__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--fd-red);
}

.cl-intro__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fd-black);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.cl-intro__title em {
  color: var(--fd-red);
  font-style: normal;
}

.cl-intro__text {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--fd-gray);
  line-height: 1.85;
}


/* ---- SPLIT BLOCK (testo + immagine) ---- */
.cl-split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cl-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s ease;
}
.cl-split__img:hover img {
  transform: scale(1.03);
}


/* ---- HIGHLIGHT TITLE (h4 sub-sezioni) ---- */
.cl-highlight-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fd-black);
  margin-bottom: .75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--fd-red);
  line-height: 1.3;
}


/* ---- BULLET LIST ---- */
.cl-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.cl-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  font-weight: 400;
  color: var(--fd-gray-dark);
  line-height: 1.6;
}

.cl-bullet-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fd-red);
  margin-top: .45rem;
}


/* ---- FEATURE CARDS (2 colonne B2C/B2B) ---- */
.cl-feature-card {
  background: var(--fd-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--fd-accent);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cl-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.cl-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(10, 161, 214, .1);
  border-radius: var(--radius-sm);
  color: var(--fd-red);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(10, 161, 214, .2);
}

.cl-feature-card__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fd-red);
  margin-bottom: .4rem;
}

.cl-feature-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fd-black);
  margin-bottom: .8rem;
  line-height: 1.2;
}

.cl-feature-card__text {
  font-size: .92rem;
  font-weight: 300;
  color: var(--fd-gray);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}


/* ---- STAT STRIP ---- */
.cl-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--fd-accent);
  border: 1px solid var(--fd-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 3rem;
}

.cl-stat-item {
  flex: 1;
  min-width: 140px;
  background: var(--fd-white);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.cl-stat-item__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--fd-red);
  line-height: 1;
}

.cl-stat-item__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fd-gray);
}


/* ---- CTA BLOCK ---- */
.cl-cta-block {
  background: var(--fd-red);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.cl-cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--fd-white);
  line-height: 1.2;
  margin-bottom: .5rem;
}

.cl-cta-block__text {
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
  font-weight: 300;
  margin: 0;
}

.cl-cta-block .btn-discover {
  flex-shrink: 0;
  background: var(--fd-white);
  color: var(--fd-red) !important;
}
.cl-cta-block .btn-discover:hover {
  background: var(--fd-dark);
  color: var(--fd-white) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
}
.cl-cta-block .btn-discover .arrow-icon {
  background: rgba(10, 161, 214, .15);
}
.cl-cta-block .btn-discover svg path {
  stroke: var(--fd-red);
}
.cl-cta-block .btn-discover:hover svg path {
  stroke: var(--fd-white);
}


/* ---- SECTOR BADGE (pill sul nome settore) ---- */
.cl-sector-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(10, 161, 214, .15);
  color: var(--fd-red-light);
  border: 1px solid rgba(10, 161, 214, .3);
  border-radius: 50px;
  padding: .3rem 1rem;
  margin-bottom: 1.2rem;
}


/* ---- DIVIDER LINE ---- */
.cl-divider {
  height: 1px;
  background: var(--fd-accent);
  margin: 3rem 0;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .cl-page-hero {
    padding: 4rem 0 2.5rem;
  }
  .cl-cta-block {
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
  }
  .cl-stat-item {
    min-width: 110px;
  }
}

@media (max-width: 767px) {
  .cl-content-section {
    padding: 3rem 0;
  }
  .cl-page-hero__title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .cl-feature-card {
    padding: 1.5rem;
  }
  .cl-cta-block {
    padding: 2rem 1.5rem;
  }
}
