/* Défilement fluide vers les ancres + petit décalage haut */
html{ scroll-behavior: smooth; }
:target{ scroll-margin-top: 20px; }

/* ============================================================
   Fintech — ossature commune : ancres latérales + contenu
   ============================================================ */
.fintech_page{
    display: flex;
    justify-content: center;
    gap: 4%;
    padding: 0 0 5% 0;
}

/* ===== Barre latérale d'ancres ===== */
.fintech_page .ancres{
    width: 210px;
    background: #ffffff;
    padding: 30px 16px;
    align-self: flex-start;
    position: sticky;
    top: 90px;
}
.fintech_page .ancres nav ul{
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: rgb(245, 245, 245);
}
.fintech_page .ancres nav li{ margin-bottom: 14px; }
.fintech_page .ancres nav a{
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    text-align: center;
    color: #8a8a8a;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.fintech_page .ancres nav a:hover{ color: #111; }
.fintech_page .ancres nav a.active{
    background: #fff;
    color: #111;
    text-shadow: 0 0 .6px currentColor, 0 0 .6px currentColor;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* ===== Zone de contenu ===== */
.fintech_page .sections{ width: 66%; padding-top: 2%; }
.fintech_page .sections > div + div{ margin-top: var(--espace-rubriques); }
.fintech_page .sections h2{
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 34px;
    color: #2e9b8a;
}
.fintech_page .sections hr{
    border: none;
    border-top: 1px solid #e3e3e3;
    margin: 0 0 22px;
}
.fintech_page .lead{
    margin: 0 0 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #9a9a9a;
}

/* Encadré d'introduction : simple aplat gris, sans liseré */
.fintech_page .intro_accent{
    background: #f4f4f4;
    padding: 26px 30px;
}
.fintech_page .intro_accent p{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #6a6a6a;
}

/* ===== Grille des équipements ===== */
.fintech_page .grille_equip{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.fintech_page .equip{
    background: #f7f7f7;
    padding: 18px 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fintech_page .equip:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}
.fintech_page .equip h5{
    margin: 0 0 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #1a8f7a;
}
.fintech_page .equip p{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

/* ===== Grille des logiciels (cartes cliquables) ===== */
.fintech_page .grille_log{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.fintech_page .log{
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #1c9b8e;
    padding: 22px 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fintech_page .log:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}
.fintech_page .log h5{
    margin: 0 0 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #2e9b8a;
}
.fintech_page .log p{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

/* ===== Bandeau de chiffres ===== */
.fintech_page .chiffres_band{
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}
.fintech_page .chiffre{
    flex: 1;
    background: #f1f2f2;
    text-align: center;
    padding: 26px 16px;
    border-radius: 8px;
}
.fintech_page .chiffre .nb{
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #1a8fd1;
    margin-bottom: 8px;
}
.fintech_page .chiffre p{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #16365c;
}

/* Liste des secteurs */
.fintech_page .secteurs_liste{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.fintech_page .secteurs_liste li{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #5a5a5a;
    padding-left: 22px;
    position: relative;
}
.fintech_page .secteurs_liste li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8dc63f;
}

/* Réduction sur petits écrans */
@media (max-width: 900px){
    .fintech_page .grille_equip, .fintech_page .grille_log{ grid-template-columns: repeat(2, 1fr); }
}
