/* =========================================================
   FCP SECTION
   ========================================================= */

.fcp-section {
    --fcp-green: #218348;
    --fcp-green-dark: #176b39;
    --fcp-green-light: #eaf6ef;
    --fcp-text: #202322;
    --fcp-text-light: #6f7672;
    --fcp-border: #e5e9e6;
    --fcp-bg: #f7f9f8;

    position: relative;
    padding: 90px 20px 75px;
    background: var(--fcp-bg);
    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.fcp-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.fcp-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.fcp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    color: var(--fcp-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fcp-eyebrow::before,
.fcp-eyebrow::after {
    content: "";
    display: block;

    width: 24px;
    height: 1px;

    background: var(--fcp-green);
    opacity: 0.55;
}


.fcp-title {
    margin: 0 0 17px;

    color: var(--fcp-text);
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.7px;
}

.fcp-title span {
    color: var(--fcp-green);
}


.fcp-intro {
    max-width: 670px;
    margin: 0 auto;

    color: var(--fcp-text-light);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   GRID
   ========================================================= */

.fcp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* =========================================================
   CARD
   ========================================================= */

.fcp-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 300px;

    background: #ffffff;
    border: 1px solid var(--fcp-border);


    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Barre verte supérieure */

.fcp-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: var(--fcp-green);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}


.fcp-card:hover {
    transform: translateY(-7px);

    border-color: rgba(33, 131, 72, 0.25);

}


.fcp-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   CARD TOP
   ========================================================= */

.fcp-card-top {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 38px 40px 0;
}


/* =========================================================
   ICON
   ========================================================= */

.fcp-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    background: var(--fcp-green);
    border-radius: 50%;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.fcp-card:hover .fcp-icon {
    transform: scale(1.05);

}


.fcp-icon svg {
    width: 60px;
    height: 60px;

    color: #ffffff;
}


.fcp-icon svg circle:not(:first-child),
.fcp-icon svg path {
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   BADGE
   ========================================================= */

.fcp-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    color: var(--fcp-green);
    background: var(--fcp-green-light);


    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.fcp-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 28px 40px 38px;
}


.fcp-card-content h3 {
    margin: 0 0 13px;

    color: var(--fcp-text);

    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;

    transition: color 0.25s ease;
}


.fcp-card:hover .fcp-card-content h3 {
    color: var(--fcp-green);
}


.fcp-card-content p {
    max-width: 520px;

    margin: 0;

    color: var(--fcp-text-light);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   BUTTON
   ========================================================= */

.fcp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    align-self: flex-start;

    margin-top: auto;
    padding: 13px 20px;

    color: #ffffff;
    background: var(--fcp-green);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.fcp-button:hover {
    color: #ffffff;
    background: var(--fcp-green-dark);

    transform: translateX(3px);

}


.fcp-button svg {
    width: 18px;
    height: 18px;

    transition: transform 0.25s ease;
}


.fcp-button:hover svg {
    transform: translateX(3px);
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.fcp-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    max-width: 900px;

    margin: 50px auto 0;
    padding: 20px 24px;

    background: #ffffff;

    border: 1px solid var(--fcp-border);
    border-radius: 9px;
}


.fcp-disclaimer-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 29px;
    height: 29px;

    color: var(--fcp-green);
}


.fcp-disclaimer-icon svg {
    width: 25px;
    height: 25px;
}


.fcp-disclaimer p {
    margin: 1px 0 0;

    color: #777d79;

    font-size: 13px;
    font-style: italic;
    line-height: 1.65;
}


.fcp-disclaimer strong {
    color: #555c57;
    font-style: normal;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .fcp-section {
        padding: 70px 20px 60px;
    }

    .fcp-header {
        margin-bottom: 40px;
    }

    .fcp-grid {
        gap: 20px;
    }

    .fcp-card-top {
        padding: 30px 30px 0;
    }

    .fcp-card-content {
        padding: 25px 30px 30px;
    }

    .fcp-icon {
        width: 72px;
        height: 72px;
    }

    .fcp-icon svg {
        width: 54px;
        height: 54px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .fcp-section {
        padding: 55px 16px 45px;
    }

    .fcp-header {
        margin-bottom: 32px;
    }

    .fcp-eyebrow {
        font-size: 11px;
        letter-spacing: 0.9px;
    }

    .fcp-eyebrow::before,
    .fcp-eyebrow::after {
        width: 16px;
    }

    .fcp-title {
        font-size: 29px;
        letter-spacing: -0.4px;
    }

    .fcp-intro {
        font-size: 14px;
        line-height: 1.6;
    }

    .fcp-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fcp-card {
        min-height: 0;
    }

    .fcp-card-top {
        padding: 27px 25px 0;
    }

    .fcp-card-content {
        padding: 23px 25px 28px;
    }

    .fcp-card-content h3 {
        font-size: 22px;
    }

    .fcp-card-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .fcp-icon {
        width: 68px;
        height: 68px;
    }

    .fcp-icon svg {
        width: 50px;
        height: 50px;
    }

    .fcp-badge {
        padding: 6px 10px;
        font-size: 9px;
    }

    .fcp-button {
        width: 100%;
        margin-top: 25px;
        padding: 14px 18px;
    }

    .fcp-disclaimer {
        margin-top: 30px;
        padding: 17px 18px;
    }

    .fcp-disclaimer p {
        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 380px) {

    .fcp-card-top {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fcp-card-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fcp-badge {
        display: none;
    }

    .fcp-title {
        font-size: 26px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .fcp-card,
    .fcp-card::before,
    .fcp-icon,
    .fcp-button,
    .fcp-button svg {
        transition: none;
    }
}