/* ============================================================
   ICONS — styles pour le système d'icônes SVG
   ============================================================ */

/* Conteneur générique */
.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.ico svg {
  width: 100%;
  height: 100%;
}

/* Tailles prédéfinies */
.ico--xs  { width: 14px; height: 14px; }
.ico--sm  { width: 18px; height: 18px; }
.ico--md  { width: 24px; height: 24px; }
.ico--lg  { width: 32px; height: 32px; }
.ico--xl  { width: 48px; height: 48px; }
.ico--2xl { width: 64px; height: 64px; }

/* Couleurs */
.ico--accent  { color: var(--accent); }
.ico--dim     { color: var(--text-dim); }
.ico--mid     { color: var(--text-mid); }
.ico--text    { color: var(--text); }
.ico--bg      { color: var(--bg); }

/* Dans les cards services */
.service-block__icon.ico {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Dans les why-cards */
.why-card__icon.ico {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* Dans les fmod (modules formation) */
.fmod__icon.ico {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

/* Dans les story-items */
.story-item__icon.ico {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

/* Dans les ia-types */
.ia-type__emoji.ico {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Dans les ia-benefits */
.ia-benefit__icon.ico {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

/* Dans les info-lines contact */
.info-line__icon.ico {
  width: 20px;
  height: 20px;
  color: var(--text-mid);
}

/* Dans les formation-cards */
.formation-card__icon.ico {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin: 0.5rem 0;
}

/* Dans les vis-formation */
.vis-formation__item .ico {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Dans les portrait-info */
.portrait-info-line .ico {
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* Dans les badges */
.timeline__badge .ico,
.portrait-avatar__badge .ico,
.formateur-hero-badge .ico {
  width: 14px;
  height: 14px;
}

/* Ressources download */
.res-icon.ico {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.res-dl-icon.ico {
  width: 20px;
  height: 20px;
  color: var(--bg);
}

/* Cards génériques */
.card .ico--card {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 1rem;
}
