@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ======================================================
   VARIABLES (scopées à cette section pour ne pas entrer en
   conflit avec les variables --rf-* déjà déclarées sur :root
   par referencement-fournisseurs-hero.css)
====================================================== */

.rf-features-section {

    --rf-dark: #07365f;

    --rf-blue: #087fc7;
    --rf-blue-light: #1b9de0;

    --rf-orange: #ff8117;

    --rf-green: #12b988;

    --rf-purple: #7655e7;

    --rf-text: #59718a;

    --rf-border: #dfebf3;

    --rf-white: #ffffff;

}


/* ======================================================
   SECTION
====================================================== */

.rf-features-section {

    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 70px 5% 80px;

    font-family: "Inter", Arial, sans-serif;

    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(220, 240, 252, .55),
            transparent 23%
        ),
        linear-gradient(
            115deg,
            #ffffff 0%,
            #fbfdff 56%,
            #f3faff 100%
        );

}


/* ======================================================
   CONTAINER
====================================================== */

.rf-features-container {

    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 1400px;

    margin: auto;

}


/* ======================================================
   HEADER
====================================================== */

.rf-features-header {

    max-width: none;

    margin-bottom: 38px;

}


/* label */

.rf-features-label {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 18px;

    color: var(--rf-blue);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1px;

}


.rf-features-label span {

    width: 28px;
    height: 3px;

    display: block;

    border-radius: 5px;

    background: var(--rf-blue);

}


/* title */

.rf-features-header h2 {

    margin: 0 0 16px;

    color: var(--rf-dark);

    font-size:
        clamp(
            26px,
            2.4vw,
            36px
        );

    line-height: 1.1;

    letter-spacing: -1.4px;

    font-weight: 800;

    white-space: nowrap;

}


/* description */

.rf-features-header p {

    max-width: 690px;

    margin: 0;

    color: var(--rf-text);

    font-size: 15px;

    line-height: 1.65;

}


/* ======================================================
   GLOBAL LAYOUT
====================================================== */

.rf-features-layout {

    display: grid;

    grid-template-columns:
        410px
        minmax(0, 1fr);

    gap: 35px;

    align-items: start;

}


/* ======================================================
   LEFT COLUMN
====================================================== */

.rf-features-highlight {

    display: flex;

    flex-direction: column;

    gap: 22px;

}


/* ======================================================
   MAIN HIGHLIGHT CARD
====================================================== */

.rf-highlight-card {

    position: relative;

    min-height: 520px;

    overflow: hidden;

    padding: 38px 36px;

    border-radius: 22px;

    color: #ffffff;

    background:

        radial-gradient(
            circle at 90% 100%,
            rgba(31, 139, 208, .45),
            transparent 28%
        ),

        linear-gradient(
            145deg,
            #0c6da7 0%,
            #073e68 55%,
            #052f52 100%
        );

    box-shadow:
        0 18px 42px
        rgba(11, 72, 111, .16);

}


/* top */

.rf-highlight-top {

    position: relative;

    z-index: 3;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

}


/* icon */

.rf-highlight-icon {

    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #ffffff;

    color: var(--rf-blue-light);

    font-size: 32px;

    box-shadow:
        0 9px 22px
        rgba(0,0,0,.08);

}


/* badge */

.rf-highlight-badge {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 16px;

    border-radius: 30px;

    color: #ffffff;

    border:
        1px solid
        rgba(56, 207, 225, .6);

    background:
        rgba(13, 151, 180, .15);

    font-size: 12px;

    font-weight: 700;

}


/* title */

.rf-highlight-card h3 {

    position: relative;

    z-index: 3;

    margin: 38px 0 24px;

    font-size: 29px;

    line-height: 1.25;

    font-weight: 800;

}


/* paragraph */

.rf-highlight-card p {

    position: relative;

    z-index: 3;

    margin: 0;

    max-width: 310px;

    color: rgba(255,255,255,.88);

    font-size: 15px;

    line-height: 1.7;

}


/* link */

.rf-highlight-card > a {

    position: absolute;

    z-index: 3;

    left: 36px;

    bottom: 34px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

}


.rf-highlight-card > a i {

    transition: transform .25s ease;

}


.rf-highlight-card > a:hover i {

    transform: translateX(5px);

}


/* ======================================================
   DECORATIVE CIRCLES
====================================================== */

.rf-highlight-circle {

    position: absolute;

    display: block;

    border-radius: 50%;

    border:
        35px solid
        rgba(100, 190, 242, .09);

}


.circle-1 {

    width: 230px;
    height: 230px;

    right: -120px;
    bottom: -90px;

}


.circle-2 {

    width: 160px;
    height: 160px;

    right: -50px;
    bottom: -40px;

}


/* ======================================================
   MINI MESSAGE
====================================================== */

.rf-highlight-message {

    min-height: 90px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 18px 23px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #eef8ff,
            #e5f3fd
        );

    border:
        1px solid
        rgba(210, 231, 245, .85);

}


.rf-message-icon {

    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--rf-blue);

    background:
        rgba(205, 232, 250, .75);

    font-size: 24px;

}


.rf-highlight-message p {

    margin: 0;

    color: var(--rf-dark);

    font-size: 14px;

    line-height: 1.55;

}


.rf-highlight-message strong {

    display: block;

    color: #087fce;

}


/* ======================================================
   FEATURES GRID
====================================================== */

.rf-features-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

}


/* ======================================================
   FEATURE CARD
====================================================== */

.rf-feature-card {

    position: relative;

    min-height: 230px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding: 26px 25px 22px;

    border-radius: 18px;

    border:
        1px solid
        var(--rf-border);

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 10px 28px
        rgba(31, 88, 125, .055);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.rf-feature-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(10, 130, 198, .22);

    box-shadow:
        0 18px 38px
        rgba(26, 88, 130, .1);

}


/* ======================================================
   ICON
====================================================== */

.rf-feature-icon {

    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 15px;

    font-size: 25px;

}


.rf-feature-icon.blue {

    color: #0b86cf;

    background:
        linear-gradient(
            145deg,
            #eaf7fe,
            #dceffa
        );

}


.rf-feature-icon.green {

    color: #13b986;

    background:
        linear-gradient(
            145deg,
            #e8fbf4,
            #d9f5ea
        );

}


.rf-feature-icon.orange {

    color: #ff8617;

    background:
        linear-gradient(
            145deg,
            #fff4e8,
            #ffe7ce
        );

}


.rf-feature-icon.purple {

    color: #7957e8;

    background:
        linear-gradient(
            145deg,
            #f2edff,
            #e7dfff
        );

}


/* ======================================================
   CARD TITLE
====================================================== */

.rf-feature-card h3 {

    margin: 0 0 11px;

    color: var(--rf-dark);

    font-size: 16px;

    line-height: 1.35;

    font-weight: 750;

}


/* ======================================================
   CARD PARAGRAPH
====================================================== */

.rf-feature-card p {

    margin: 0 0 20px;

    color: var(--rf-text);

    font-size: 13px;

    line-height: 1.62;

}


/* ======================================================
   LINK
====================================================== */

.rf-feature-card > a {

    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--rf-blue);

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

}


.rf-feature-card > a i {

    font-size: 12px;

    transition: transform .25s ease;

}


.rf-feature-card:hover > a i {

    transform: translateX(4px);

}


/* ======================================================
   BACKGROUND SHAPE
====================================================== */

.rf-features-shape {

    position: absolute;

    right: -200px;
    top: -180px;

    width: 600px;
    height: 520px;

    border-radius: 50%;

    background:
        rgba(224, 242, 253, .55);

}


/* ======================================================
   DOT PATTERN
====================================================== */

.rf-features-dots {

    position: absolute;

    width: 140px;
    height: 140px;

    opacity: .55;

    background-image:
        radial-gradient(
            rgba(73, 169, 222, .35) 2px,
            transparent 2px
        );

    background-size: 18px 18px;

}


.rf-features-dots-top {

    top: 60px;
    right: 40px;

}


.rf-features-dots-bottom {

    left: 10px;
    bottom: 30px;

}


/* ======================================================
   RESPONSIVE 1300px
====================================================== */

@media (max-width: 1300px) {

    .rf-features-layout {

        grid-template-columns:
            350px
            minmax(0,1fr);

    }


    .rf-highlight-card {

        min-height: 500px;

        padding:
            32px
            28px;

    }


    .rf-features-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 950px) {

    .rf-features-section {

        padding:
            60px
            35px
            70px;

    }


    .rf-features-layout {

        grid-template-columns: 1fr;

    }


    .rf-features-highlight {

        display: grid;

        grid-template-columns:
            1fr
            1fr;

    }


    .rf-highlight-card {

        min-height: 440px;

    }


    .rf-highlight-message {

        align-self: start;

    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 650px) {

    .rf-features-section {

        padding:
            42px
            20px
            55px;

    }


    .rf-features-header h2 {

        font-size: 32px;

    }


    .rf-features-header p {

        font-size: 14px;

    }


    .rf-features-highlight {

        grid-template-columns: 1fr;

    }


    .rf-highlight-card {

        min-height: 450px;

    }


    .rf-highlight-card h3 {

        font-size: 25px;

    }


    .rf-features-grid {

        grid-template-columns: 1fr;

    }


    .rf-feature-card {

        min-height: auto;

    }

}
