/* ===========================================================
   ELBA - Styles infographie (Objectifs & Champs d'action)
   Reproduction fidele des 2 references fournies.
   Portee limitee a ces deux blocs, n'affecte pas le reste du site.
   =========================================================== */

/* =========================================================
   STYLE 1 : OBJECTIFS  (carte blanche + carte dégradée inclinée
   derrière + badge numéroté en bas)   -> reference image 1
   ========================================================= */
.elba-objectifs { margin-top: 15px; }

.elba-objectifs > [class*="col-"] { margin-bottom: 42px; }

.elba-objectifs .obj-item {
    position: relative;
    height: 100%;
}

/* la carte dégradée inclinée, placée DERRIÈRE la carte blanche */
.elba-objectifs .obj-back {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 16px;
    right: -14px;
    background: var(--g, linear-gradient(135deg, #7b4bd6, #4aa3e8));
    border-radius: 10px;
    transform: rotate(5deg);
    z-index: 1;
}

.elba-objectifs .obj-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px 40px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
    height: 100%;
    transition: transform .3s ease;
}

.elba-objectifs .obj-item:hover .obj-card { transform: translateY(-5px); }

.elba-objectifs .obj-icon {
    font-size: 30px;
    color: #2b2b3a;
    margin-bottom: 18px;
    line-height: 1;
}

.elba-objectifs .obj-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #2b2b3a;
    margin-bottom: 12px;
}

.elba-objectifs .obj-text {
    color: #8a8f98;
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 26px;
}

.elba-objectifs .obj-num {
    position: absolute;
    left: 50%;
    bottom: -21px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--g, linear-gradient(135deg, #7b4bd6, #4aa3e8));
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.20);
}

/* =========================================================
   STYLE 2 : CHAMPS D'ACTION  (cadre fin en crochets arrondis
   avec nœuds + titre coloré)   -> reference image 2
   ========================================================= */
.elba-champs { margin-top: 15px; }

.elba-champs > [class*="col-"] { margin-bottom: 30px; }

.elba-champs .champ-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #ececf1;
    border-radius: 18px;
    padding: 40px 28px;
    text-align: center;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.elba-champs .champ-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.10);
}

/* crochet haut-droite (longe le haut puis descend à droite) */
.elba-champs .champ-card::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    left: 32%;
    bottom: 34%;
    border: 2px solid var(--c, #a00d60);
    border-left: none;
    border-bottom: none;
    border-radius: 0 18px 0 0;
}

/* crochet bas-gauche (longe le bas puis remonte à gauche) */
.elba-champs .champ-card::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: 32%;
    top: 34%;
    border: 2px solid var(--c, #a00d60);
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 18px;
}

/* petits nœuds ronds au départ des crochets */
.elba-champs .cnode {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c, #a00d60);
    z-index: 2;
}

.elba-champs .cnode-tr {
    top: -5px;
    left: 32%;
}

.elba-champs .cnode-bl {
    bottom: -5px;
    right: 32%;
}

.elba-champs .champ-icon {
    font-size: 32px;
    color: #2b2b3a;
    margin-bottom: 18px;
    line-height: 1;
}

.elba-champs .champ-title {
    color: var(--c, #a00d60);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-size: 15.5px;
    margin-bottom: 10px;
}

.elba-champs .champ-text {
    color: #8a8f98;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
