.section-steps {
    font-family: "Fraunces";
    background: var(--bg-dark);
    color: var(--cream);
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

html {
    scroll-behavior: smooth;
}

#foniva-fonctionnalites {
    scroll-margin-top: 150px;
}

@media(max-width: 768px) {
    .sun-decor {
        display: none;
    }
}
.sun-decor {
    position: absolute;
    width: 250px;
    height: 250px;
    opacity: 1;
    bottom: -70px;
    left: -70px;
    animation: infinite-rotate 8s linear infinite;
}

.container.imds {
    max-width: 1147px;
    margin: 0.68rem auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold);
    font-size: 11.5px;
    font-weight: 700;
    font-family: "Outfit";
    letter-spacing: 2.07px;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp .6s ease forwards;
}

.eyebrow .line {
    width: 26px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}

h2.headline {
    font-weight: 600;
    font-size: 47.3px;
    line-height: 51.84px;
    letter-spacing: 0%;
    color: #FAF6EE;
    text-align: center;
    margin-block: 0 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp .7s ease .1s forwards;
}

h2.headline em {
    font-style: italic;
    color: #F0B95A;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin-inline: auto;
    margin-block: 4rem 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .6s ease forwards;
}

.hero__content.hero__software {
    margin-left: 18%;
}

.step:nth-child(1) {
    animation-delay: .2s;
}

.step:nth-child(2) {
    animation-delay: .32s;
}

.step:nth-child(3) {
    animation-delay: .44s;
}

.step:nth-child(4) {
    animation-delay: .56s;
}

.icon-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
}

  .icon-circle{
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #08401A;
    border: 1px solid var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}

.step .icon-circle {
    transform: translateY(-4px);
}

  .icon-circle img{
    width: 24px;
    height: 24px;
  }

.badge {
    position: absolute;
    top: -25px;
    right: -5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: #062E12;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

  .step h3{
    font-size: 17.3px;
    font-weight: 600;
    color: #FAF6EE;
    margin-bottom: 12px;
    letter-spacing: 0%;
}

.step p {
    font-size: 13.1px;
    font-weight: 300;
    line-height: 20.99px;
    color: #FAF6EE99;
    font-family: "Outfit";
    max-width: 37rem;
    text-align: center;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }

    .stats {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .stat+.stat {
        border-left: none;
        border-top: 1px solid var(--line);
        padding-top: 30px;
    }

}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .section-steps {
        padding: 70px 20px 80px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .eyebrow,
    h2.headline,
    .step {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.subtitle.ismp-hero .blanc {
    color: #FAF6EE;
    font-weight: bolder;
}

#logo-foniva {
    margin-block: 76px 30px;
    width: 195px;
    height: 40px;
}

#foniva-titre-avant-footer {
    max-width: 700px;
    font-weight: 600;
    font-size: 57.5px;
    line-height: 62.21px;
    letter-spacing: -1.15px;
    padding-top: 100px;
}

.section-green {
    background-color: #062E12;
    padding: 120px;
}

.cta-orange {
    background-color: #DD8F1E;
    color: #062E12;
}

.cta.cta-orange:hover {
    background-color: #F0B95A;
}

a.cta-orange {
    text-decoration: none;
}

.section-green .container {
    font-family: "Outfit";
}

.section-green .headline {
    font-family: "Fraunces";
    font-weight: 400;
    margin-bottom: 0;
}

.section-green .lead {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #FAF6EEB8;
    max-width: 770px;
    margin: 0 auto;
    letter-spacing: 1px;
    margin-block: 35px;
}

.section-appels {
    background: var(--cream);
    color: var(--ink);
    position: relative;
    padding: 88px 10px;
    overflow: hidden;
    font-family: 'Outfit';
}

.section-appels .container {
    display: grid;
    grid-template-columns: 0.94fr 1.3fr;
    align-items: center;
    text-align: left;
    font-family: "Outfit";
    margin-bottom: 30px;
}

.section-appels .headline {
    font-family: "Fraunces";
    font-size: 2.85rem;
    letter-spacing: -0.2px;
    line-height: 1.1;
    color: var(--ink);
    font-weight: 600;
    margin: 110px 0 23px 0;
    text-align: start;
}

.section-appels .headline em {
    font-style: italic;
    color: #0F6322;
    font-weight: 600;
}

.ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    width: 200px;
    height: 150px;
}

.ring.top-right {
    top: -90px;
    right: -50px;
    border: 1px dashed #AD090E29;
}

.ring.bottom-left {
    bottom: -100px;
    left: -40px;
    border: 1px dashed #0F63222E;
}

.sun-icon {
    width: 46px;
    height: 46px;
    animation: infinite-rotate 8s linear infinite;
}

.left {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp .7s ease forwards;
}

.left p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--muted-dark);
    max-width: 30rem;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(20px);
}

.card {
    margin-left: 40px;
    box-sizing: border-box;
    border-radius: 20px;
    padding-block: 25px 33px;
    padding-inline: 40px 10px;
    opacity: 0;
    animation: fadeUp .7s ease forwards;
    border: 1px solid #1C1A151F;
    transition: all .3s ease;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card.public {
    background: #F3ECDD;
    animation-delay: .15s;
}

.card.private {
    background: var(--green-light);
    animation-delay: .3s;
}

.card-label {
    font-size: 10.6px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 15px;
}

.card.public .card-label {
    color: var(--green-light);
}

.card.private .card-label {
    color: var(--gold);
}

.card h3 {
    font-family: "Fraunces";
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0 0 15px;
}

.card.public h3 {
    color: var(--ink);
}

.card.private h3 {
    color: #fdfaf2;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13.1px;
    font-weight: 400;
    white-space: nowrap;
    color: #5C574C;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pill .check {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.card.public .pill {
    background: #fdfbf6;
    color: #5C574C;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card.public .pill .check {
    color: var(--gold);
}

.card.private .pill {
    background: var(--green-pill);
    color: #FAF6EEE5;
}

.card.private .pill .check {
    color: var(--gold);
}

@media (max-width: 900px) {
    .section-appels .container {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .left p {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .left,
    .card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1280px;
    margin: 40px auto;
    opacity: 0;
    transform: translateY(70px);
}

.stats.in-view {
    animation: fadeUp .7s ease forwards;
}

.stat {
    position: relative;
    margin-top: 50px;
    padding: 0 20px;
    text-align: center;
}

.stat+.stat {
    border-left: 1px solid var(--line);
}

.stat .number {
    font-family: "Fraunces";
    font-weight: 700;
    font-size: 60px;
    color: var(--gold-soft);
    line-height: 1;
    display: inline-flex;
    align-items: flex-start;
    gap: 2px;
}

.stat .number .suffix {
    font-style: italic;
    font-weight: 600;
    font-size: 22px;
    margin-top: 10px;
}

.stat .caption {
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--muted);
}

.section-mid .sun-decor {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 220px;
    height: 220px;
    opacity: 0.5;
    pointer-events: none;
}

.fade-swap {
    animation: fadeSwap .45s ease;
}

@keyframes fadeSwap {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#logo-imds{
    width: 86px;
    height: 46px;
}

.cta.cta-noir {
    margin-right: 10px;
}