/**
 * IT1 Guide - Bandeau d'appel (home et pages familles).
 *
 * Carte blanche a liseré dégradé + médaillon d'icône, dans la langue visuelle
 * des pages concept du thème (it1-concept). Ne concurrence pas le bloc
 * "produits phares" d'it1featuredtop qui peut cohabiter juste au-dessus ou en
 * dessous sur les pages familles.
 */

.it1guide-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem 1.35rem 1.65rem;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--it1-primary-soft-2, #e8e0f4);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(33, 41, 52, 0.06);
  overflow: hidden;
}

/* Liseré dégradé sur le bord gauche. */
.it1guide-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(
    180deg,
    var(--it1-primary, #8758a6),
    var(--it1-primary-vivid, #6d3f8f)
  );
}

.it1guide-banner__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--it1-primary-soft, #f0ebf8);
  color: var(--it1-primary, #8758a6);
}

.it1guide-banner__icon .material-icons {
  font-size: 28px;
}

.it1guide-banner__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--it1-text, #212934);
}

.it1guide-banner__subtitle {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  color: var(--it1-text-muted, #6b6b6b);
}

.it1guide-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.it1guide-banner__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--it1-primary, #8758a6);
}

.it1guide-banner__meta .material-icons {
  font-size: 16px;
}

.it1guide-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 2.9rem;
}

.it1guide-banner__cta .material-icons {
  font-size: 18px;
  transition: transform 0.15s ease;
}

.it1guide-banner__cta:hover .material-icons {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .it1guide-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .it1guide-banner__text {
    max-width: 44rem;
  }
}

/* Home : le hook displayHome sort en pleine largeur. Le .container ajouté
   par le tpl aligne le bandeau sur les autres blocs, mais la carte occupait
   encore les ~1320px du container : une ligne de texte + un bouton étirés
   bord à bord. On plafonne la carte elle-même, centrée, pour un rendu
   call-out plutôt que bande pleine largeur. */
.it1guide-banner--home {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
