/* Bloc « Réassurance / Chiffres clés » (shortcode [reassurance])
 * Reprend l'identité Somah :
 *   - titre de section type .titreTop : 36px, #000, weight 600, centré
 *   - cartes type .navFrontListeLine : fond blanc, bordure #ebebeb,
 *     grosse ombre douce qui disparaît au survol
 *   - texte gris #636363, accent or #d4af37, police Raleway
 */

.reassurance {
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    padding: 0px 15px 100px 15px;
}

.reassurance *,
.reassurance *::before,
.reassurance *::after {
    box-sizing: border-box;
}

/* En-tête */
.reassurance__header {
    text-align: center;
    margin-bottom: 45px;
}

.reassurance__subtitle,
.reassurance .subtitle {
    display: inline-block;
    margin-bottom: 15px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.reassurance__title {
    margin: 0;
    color: #000000;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Grille (s'appuie sur Foundation : grid-x / cell) — 2 cartes par ligne */
.reassurance__grid {
    align-items: stretch;
}

.reassurance__cell {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

/* Carte : même traitement que .navFrontListeLine, hauteur égalisée par ligne */
.reassurance__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    padding: 40px 35px;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #ebebeb;
    box-shadow: 0px 36px 76px 0px rgba(0, 0, 0, 0.17);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

/* Liseré rouge à gauche, révélé au survol */
.reassurance__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #d4af37;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.25s ease-in-out;
}

.reassurance__card:hover {
    box-shadow: none;
    transform: translateY(-4px);
    transition: all 0.2s ease-in-out;
}

.reassurance__card:hover::before {
    transform: scaleY(1);
}

/* Numéro en filigrane (01, 02, 03…) */
.reassurance__num {
    position: absolute;
    top: -10px;
    right: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    color: #000000;
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.25s ease-in-out, color 0.25s ease-in-out;
}

.reassurance__card:hover .reassurance__num {
    color: #d4af37;
    opacity: 0.18;
}

.reassurance__body {
    position: relative;
    z-index: 1;
}

/* Libellé fort (le chiffre clé) */
.reassurance__figure {
    display: block;
    margin: 0 0 15px;
    color: #000000;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

/* Petit trait rouge sous le libellé */
.reassurance__figure::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 14px auto 0;
    background-color: #d4af37;
}

/* Texte explicatif */
.reassurance__text {
    margin: 0;
    color: #636363;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

/* ——— Responsive ——— */
@media print, screen and (max-width: 63.99875em) {
    .reassurance {
        padding: 50px 15px;
    }

    .reassurance__title {
        font-size: 30px;
    }

    .reassurance__num {
        font-size: 70px;
    }
}
