/* Comptoir Migrator — styles front pour contenus migrés (sans page builders) */

/* Colonnes WPBakery → wp:columns */
.wp-block-columns.cpw-row {
  gap: 2em;
  flex-wrap: wrap;
}

.wp-block-column.cpw-col {
  flex-grow: 0;
  min-width: 0;
}

/* Largeurs de colonnes WPBakery (flex-basis inline + fallback CSS) */
.cpw-col-33 { flex-basis: 33% !important; max-width: 33%; }
.cpw-col-50 { flex-basis: 50% !important; max-width: 50%; }
.cpw-col-67 { flex-basis: 67% !important; max-width: 67%; }
.cpw-col-25 { flex-basis: 25% !important; max-width: 25%; }
.cpw-col-75 { flex-basis: 75% !important; max-width: 75%; }

@media (max-width: 782px) {
  .wp-block-columns.cpw-row .wp-block-column[class*="cpw-col-"] {
    flex-basis: 100% !important;
    max-width: 100%;
  }
}

/* Sections pleine largeur */
.wp-block-group.cpw-section.alignfull {
  width: 100%;
}

/* Composants Elementor convertis */
.cmig-icon-box,
.cmig-image-box,
.cmig-cta,
.cmig-tab-section {
  margin-bottom: 1.5em;
}

.cmig-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin: 1em 0;
}

.cmig-progress-bar .cmig-pb-track {
  background: #e5e7eb;
  border-radius: 4px;
  height: 8px;
  margin-top: 4px;
}

.cmig-progress-bar .cmig-pb-fill {
  background: #0f1823;
  border-radius: 4px;
  height: 100%;
  transition: width 0.3s ease;
}

.cmig-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1em;
}

.cmig-counter-num {
  font-size: 2.5rem;
  line-height: 1.2;
}
