.avantage-card {
    background-color: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    width: calc(33% - 16px);
    display: flex;
    flex-direction: column;
}

.center_card {
    display: flex;
    flex-direction: column;
    width: 300px !important;
    margin: var(--space-12) var(--space-6) !important;
}

.center_card .avantage-card__header {
    display: flex;
    flex-direction: column;
}

.center_card .avantage-card__header .avantage-card__icone {
    margin-right: 0;
}

.center_card .avantage-card__header .avantage-card__titre {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: var(--text-xl);
    margin-top: var(--space-4);
}

.center_card .avantage-card__texte {
    text-align: center;
}

.avantage-card__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-4);
}

.avantage-card__titre * {
    font-family: var(--font-heading-medium);
    font-size: var(--text-xl);
    line-height: 1.2;
}

/* Icon: direction 2, "sans tuile, grand trait". No container - the line
   icon sits straight on the card, larger, in the interactive teal. Lighter
   and less boxed-in than a filled tile, and it reads the same on the white
   and the sage sections. Teal on the card is 7.66:1, far above the 3:1
   WCAG 1.4.11 asks of a non-text graphic. */
.avantage-card__icone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-3);
    color: var(--color-primary);
}

.avantage-card__icone svg {
    width: var(--icon-size);
    height: var(--icon-size);
    display: block;
}

/* An uploaded image icon keeps the old bare treatment. */
img.avantage-card__icone {
    width: auto;
    height: 32px;
    background: none;
    border-radius: 0;
}

.avantage-card__texte p {
    line-height: 1.4;
    margin-bottom: var(--space-4);
}

.avantage-card__texte ul {
    padding-left: var(--space-4);
}

.avantage-card__texte ul li {
    list-style: disc;
    font-family: var(--font-heading-light);
    line-height: 1.4;
}
