/* Texte principal */
.aboutarea__para__5 p {
    max-width: 800px;
    margin: 0 auto;
    color: #444;
    line-height: 1.3;
    font-family: 'Parkinsans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0%;
}

/* Titre principal */
.about-title h2 {
    font-size: 28px;
    font-weight: 500px;
    margin-bottom: 10px;
}

.about-title h2 span {
    color: #5C4DFF;
}

/* Sous-titre */
.about-subtitle h3 {
    color: #4a3dff;
    font-size: 24px;
    font-weight: 700;
}

.about-subtitle p {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    text-align: justify;
}

/* Image */
.about-image img {
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    height: 350px;
    object-fit: cover;
}

.card-custom {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.08);
    height: 210px;        /* si tu veux garder une hauteur fixe */
    max-width: 250px;
    margin: 10px;
    box-sizing: border-box;      /* inclut padding dans la taille */
    overflow-wrap: break-word;   /* force le texte à passer à la ligne */
    overflow: hidden;            /* empêche le texte de dépasser visuellement */
}

/* Titre dans la card */
.card-custom h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Paragraphe dans les cards */
.card-custom p {
    color: #555;
    font-family: 'Parkinsans', sans-serif;
    font-weight: 400;
    font-size: 14px;      /* réduit légèrement pour tenir dans la card */
    line-height: 1.4;
    letter-spacing: 0%;
    margin: 0;
}

.card-custom h4 {
    color: #5C4DFF;
}

.card-custom p {
    color: #555;
}
.btn-custom {
    width: 100px;       /* largeur fixe */
    text-align: center; /* centre le texte */
}
.btn-custom {
    width: 180px;           /* largeur fixe pour tous les boutons */
    text-align: center;      /* centre le texte */
    padding: 10px 0;         /* padding vertical seulement */
    border-radius: 30px;
    font-family: 'Parkinsans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;     /* empêche le texte de revenir à la ligne */
    overflow: hidden;        /* coupe l’excès si jamais */
    text-overflow: ellipsis; /* ajoute "..." si le texte est trop long */
}

/* Couleurs */
.btn-custom-primary {
    background: #5C4DFF;
    color: #fff;
    border: none;
    margin-right: 5px;
}

.btn-custom-secondary {
    background: #fff;
    border: 1px solid #5C4DFF;
    color: #5C4DFF;
}
