:root {
    --spm-blue: #0575f5;
    --spm-blue-dark: #004aa8;
    --spm-navy: #061945;
    --spm-ink: #0a1738;
    --spm-muted: #5d6b82;
    --spm-line: #dce6f4;
    --spm-soft: #f5f8fc;
    --spm-white: #ffffff;
    --spm-green: #17a36b;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--spm-white);
    color: var(--spm-ink);
    font-family: "Roboto", Arial, sans-serif;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    color: var(--spm-ink);
    letter-spacing: 0;
    text-transform: none;
}

.spm-layout a {
    color: inherit;
}

.spm-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(5, 117, 245, 0.12);
    box-shadow: 0 12px 30px rgba(6, 25, 69, 0.07);
}

.site-header__inner {
    width: min(1240px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header__brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.site-header__brand img {
    width: 238px;
    max-height: 58px;
    object-fit: contain;
}

.site-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
}

.site-header__nav a {
    position: relative;
    padding: 32px 12px;
    color: var(--spm-ink);
    font-size: 14px;
    font-weight: 700;
}

.site-header__nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 24px;
    height: 2px;
    background: var(--spm-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
    color: var(--spm-blue-dark);
}

.site-header__nav a:hover::after,
.site-header__nav a.is-active::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lang-btn {
    color: var(--spm-muted) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--spm-blue) !important;
}

.lang-sep {
    color: var(--spm-line);
    font-size: 12px;
}

.site-header__cta,
.spm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.site-header__cta,
.spm-btn--primary {
    background: var(--spm-blue);
    color: var(--spm-white) !important;
    box-shadow: 0 12px 24px rgba(5, 117, 245, 0.22);
}

.site-header__cta:hover,
.spm-btn--primary:hover {
    background: var(--spm-blue-dark);
    color: var(--spm-white) !important;
}

.spm-btn--ghost,
.spm-btn--light {
    background: var(--spm-white);
    border: 1px solid var(--spm-blue);
    color: var(--spm-blue) !important;
}

.spm-btn--white {
    background: var(--spm-white);
    color: var(--spm-blue) !important;
}

.spm-btn--outline-white {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--spm-white) !important;
}

.site-header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--spm-line);
    border-radius: 5px;
    background: var(--spm-white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.site-header__toggle span {
    width: 18px;
    height: 2px;
    background: var(--spm-ink);
}

.spm-hero {
    background: var(--spm-white);
}

.spm-hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 455px;
    border-bottom: 1px solid var(--spm-line);
}

.spm-hero-slide {
    display: none;
    position: relative;
    width: 100%;
    min-height: 455px;
    overflow: hidden;
    background: var(--spm-white);
}

.spm-hero-slide.is-active {
    display: block;
}

.spm-hero-slide__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: 76% 50%;
}

.spm-hero-slide.is-active .spm-hero-slide__media {
    animation: spmHeroMediaCycle 5.6s cubic-bezier(0.22, 0.75, 0.22, 1) both;
}

@keyframes spmHeroMediaCycle {
    0% {
        opacity: 0;
        transform: translateX(56px) scale(1);
    }

    14% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1.055);
    }
}

.spm-hero-slide::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: -7%;
    top: 0;
    bottom: 0;
    width: 52%;
    background: #ffffff;
    transform: skewX(-14deg);
    transform-origin: top right;
    box-shadow: none;
}

.spm-hero-copy {
    position: absolute;
    z-index: 2;
    left: max(52px, calc((100vw - 1240px) / 2));
    top: 50%;
    width: min(430px, 33vw);
    transform: translateY(-48%);
}

.spm-hero-copy p {
    margin-bottom: 12px;
    color: var(--spm-blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.spm-hero-copy h1 {
    margin-bottom: 16px;
    color: var(--spm-navy);
    font-size: clamp(32px, 2.45vw, 42px);
    font-weight: 900;
    line-height: 1.08;
}

.spm-hero-copy span {
    display: block;
    max-width: 395px;
    margin-bottom: 22px;
    color: var(--spm-ink);
    font-size: 14px;
    line-height: 1.5;
}

.spm-hero-copy div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.spm-hero-copy .spm-btn {
    min-width: 150px;
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
}

.spm-hero-copy strong {
    display: block;
    margin-top: 24px;
    color: var(--spm-blue);
    font-size: 16px;
    font-weight: 900;
}

.spm-hero-arrow {
    position: absolute;
    right: 18px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--spm-blue);
    box-shadow: 0 10px 28px rgba(6, 25, 69, 0.16);
}

.spm-hero-arrow:hover {
    background: var(--spm-blue);
    color: var(--spm-white);
}

.spm-hero-arrow--prev {
    right: 74px;
}

.spm-hero-arrow--next {
    right: 18px;
}

.spm-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.spm-hero-dots button {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.72);
}

.spm-hero-dots button.is-active {
    background: var(--spm-blue);
}

.spm-proof {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 94px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: var(--spm-white);
    border-bottom: 1px solid var(--spm-line);
}

.spm-proof__item {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    border-right: 1px solid var(--spm-line);
    color: var(--spm-ink);
    font-weight: 600;
}

.spm-proof__item:last-child {
    border-right: 0;
}

.spm-proof__item i {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--spm-navy);
    font-size: 40px;
}

.spm-section {
    padding: 58px 0;
}

.spm-section-title {
    margin-bottom: 34px;
    text-align: center;
}

.spm-section-title h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
}

.spm-section-title h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 76px;
    height: 3px;
    border-radius: 2px;
    background: var(--spm-blue);
    transform: translateX(-50%);
}

.spm-poles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.spm-pole-card {
    overflow: hidden;
    background: var(--spm-white);
    border: 1px solid var(--spm-line);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(6, 25, 69, 0.06);
}

.spm-pole-card__image {
    height: 184px;
    overflow: hidden;
    background: var(--spm-soft);
}

.spm-pole-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.spm-pole-card__body {
    min-height: 286px;
    padding: 28px 24px 24px;
}

.spm-pole-card__body > i {
    float: left;
    width: 60px;
    height: 60px;
    margin: 0 18px 18px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--spm-navy);
    font-size: 52px;
}

.spm-pole-card h2 {
    min-height: 60px;
    margin: 4px 0 24px;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.spm-pole-card p {
    clear: both;
    min-height: 92px;
    color: var(--spm-muted);
    font-size: 15px;
    line-height: 1.68;
}

.spm-pole-card a,
.spm-pole-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--spm-blue);
    font-weight: 800;
}

.spm-pole-card__more {
    background: none;
    border: 0;
    padding: 0;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
}

.spm-presence {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    border-top: 1px solid var(--spm-line);
    border-bottom: 1px solid var(--spm-line);
    background: var(--spm-white);
}

.spm-presence__map,
.spm-presence__digital {
    min-height: 332px;
}

.spm-presence__map {
    padding: 30px 24px 26px max(42px, calc((100vw - 1240px) / 2));
    border-right: 1px solid var(--spm-line);
}

.spm-presence h1 {
    max-width: 460px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    position: relative;
    font-size: clamp(25px, 2.45vw, 36px);
    font-weight: 900;
    line-height: 1.15;
}

.spm-presence h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--spm-blue);
}

.spm-presence__map-image {
    width: min(555px, 100%);
    display: block;
    border: 0;
}

.spm-presence__digital {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 30px max(42px, calc((100vw - 1240px) / 2)) 26px 22px;
}

.spm-presence__digital ul {
    display: grid;
    gap: 20px;
    align-self: stretch;
    align-content: center;
    padding-right: 16px;
    border-right: 1px solid var(--spm-line);
}

.spm-presence__digital li {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--spm-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.spm-presence__digital li i {
    width: 34px;
    color: var(--spm-blue);
    font-size: 30px;
    text-align: center;
}

.spm-presence__digital-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: center;
    background: #f6f9fc;
    border: 0;
}

.spm-kribi {
    position: relative;
    min-height: 305px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("../../images/projet-kribi-bg.jpg") center right / cover no-repeat;
}

.spm-kribi::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: -7%;
    top: 0;
    bottom: 0;
    width: 52%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 86%, rgba(255, 255, 255, 0.82) 100%);
    transform: skewX(-14deg);
    transform-origin: top right;
    box-shadow: 28px 0 45px rgba(255, 255, 255, 0.65);
}

.spm-kribi__content {
    position: relative;
    z-index: 2;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.spm-kribi__content p {
    margin-bottom: 12px;
    color: var(--spm-blue);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.spm-kribi__content h1 {
    max-width: 500px;
    margin-bottom: 14px;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.03;
}

.spm-kribi__content span {
    display: block;
    max-width: 420px;
    margin-bottom: 22px;
    color: var(--spm-ink);
    font-size: 17px;
    line-height: 1.55;
}

.spm-kribi__content div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.spm-kpis {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 98px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 1px solid var(--spm-line);
}

.spm-kpis div {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-content: center;
    column-gap: 12px;
    padding: 18px;
    border-right: 1px solid var(--spm-line);
}

.spm-kpis div:last-child {
    border-right: 0;
}

.spm-kpis i {
    grid-row: span 2;
    color: var(--spm-blue);
    font-size: 36px;
    align-self: center;
}

.spm-kpis strong {
    color: var(--spm-blue);
    font-size: 32px;
    line-height: 1;
}

.spm-kpis span {
    color: var(--spm-muted);
    font-size: 13px;
}

.spm-impact {
    background: var(--spm-white);
}

.spm-impact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spm-impact article {
    min-height: 124px;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-content: center;
    column-gap: 18px;
    padding: 22px 28px;
    border: 1px solid var(--spm-line);
    border-radius: 6px;
    background: var(--spm-white);
}

.spm-impact i {
    grid-row: span 2;
    color: var(--spm-blue);
    font-size: 44px;
    align-self: center;
}

.spm-impact h2 {
    margin-bottom: 7px;
    font-size: 17px;
    font-weight: 900;
}

.spm-impact p {
    color: var(--spm-muted);
}

.spm-impact strong {
    color: var(--spm-blue);
    font-size: 20px;
}

.spm-final-cta {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto 36px;
    padding: 26px 30px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    border-radius: 6px;
    background: var(--spm-blue);
    color: var(--spm-white);
}

.spm-final-cta h1 {
    margin-bottom: 6px;
    color: var(--spm-white);
    font-size: 22px;
    font-weight: 900;
}

.spm-final-cta p {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer {
    background: #061638;
    color: var(--spm-white);
}

.site-footer__main {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1.15fr;
    gap: 38px;
}

.site-footer__main--simple {
    grid-template-columns: 1.2fr 1.3fr 1fr;
    align-items: center;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.site-footer__legal span {
    color: rgba(255, 255, 255, 0.35);
}

.site-footer__main--simple .site-footer__column {
    gap: 12px;
}

.site-footer__brand img {
    width: 235px;
    max-height: 68px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.site-footer__brand p {
    margin-top: 18px;
}

.site-footer h2 {
    margin-bottom: 16px;
    color: var(--spm-white);
    font-size: 17px;
    font-weight: 900;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.site-footer__column i {
    width: 20px;
    color: #7ab7ff;
}

.site-footer__social {
    display: flex;
    gap: 9px;
    margin-top: 8px;
}

.site-footer__social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.site-footer__social a:hover {
    background: var(--spm-blue);
}

.site-footer__bottom {
    padding: 18px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 1120px) {
    .site-header__inner {
        min-height: 78px;
        gap: 16px;
    }

    .site-header__brand img {
        width: 205px;
    }

    .site-header__nav a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
    }

    .spm-poles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spm-kpis {
        grid-template-columns: repeat(3, 1fr);
    }

    .spm-kpis div {
        border-bottom: 1px solid var(--spm-line);
    }

    .spm-final-cta {
        grid-template-columns: 1fr 1fr;
    }

    .spm-final-cta div {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        width: min(100% - 32px, 1240px);
        justify-content: space-between;
    }

    .site-header__toggle {
        display: inline-flex;
        order: 3;
    }

    .site-header__actions {
        order: 2;
    }

    .site-header__nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 24px 18px;
        background: var(--spm-white);
        border-top: 1px solid var(--spm-line);
        box-shadow: 0 18px 28px rgba(6, 25, 69, 0.12);
    }

    .site-header__nav.is-open {
        display: flex;
    }

    .site-header__nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--spm-line);
    }

    .site-header__nav a::after {
        display: none;
    }

    .site-header__cta {
        display: none;
    }

    .spm-proof,
    .spm-presence,
    .spm-impact__grid,
    .site-footer__main {
        grid-template-columns: 1fr;
    }

    .spm-proof__item,
    .spm-presence__map,
    .spm-kpis div {
        border-right: 0;
    }

    .spm-proof__item {
        border-bottom: 1px solid var(--spm-line);
        padding: 16px 0;
    }

    .spm-presence__map,
    .spm-presence__digital {
        padding: 42px 24px;
    }

    .spm-presence__digital {
        grid-template-columns: 1fr;
    }

    .spm-hero-slider,
    .spm-hero-slide {
        min-height: 680px;
    }

    .spm-hero-slide__media {
        top: 0;
        bottom: auto;
        height: 250px;
        background-position: center;
    }

    .spm-hero-slide::before {
        left: 0;
        right: 0;
        top: 236px;
        bottom: 0;
        width: auto;
        transform: none;
        box-shadow: none;
    }

    .spm-hero-copy {
        left: 24px;
        right: 24px;
        top: 286px;
        width: auto;
        transform: none;
    }

    .spm-hero-copy p {
        margin-bottom: 10px;
        color: var(--spm-blue);
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .spm-hero-copy h1 {
        margin-bottom: 12px;
        font-size: 30px;
        line-height: 1.12;
    }

    .spm-hero-copy span {
        display: block;
        margin-bottom: 18px;
        color: var(--spm-muted);
        font-size: 15px;
        line-height: 1.6;
    }

    .spm-hero-copy div {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .spm-hero-copy .spm-btn {
        min-width: 0;
        min-height: 48px;
        padding: 0 18px;
        font-size: 14px;
    }

    .spm-hero-copy strong {
        margin-top: 24px;
        font-size: 16px;
    }
}

@media (max-width: 620px) {
    .spm-container,
    .spm-proof,
    .spm-kpis,
    .spm-final-cta,
    .site-footer__main {
        width: calc(100% - 30px);
    }

    .site-header__brand img {
        width: 178px;
    }

    .site-header__langs {
        display: none;
    }

    .spm-hero-arrow {
        display: none;
    }

    .spm-hero-dots {
        bottom: auto;
        top: 14px;
    }

    .spm-poles__grid,
    .spm-kpis,
    .spm-final-cta {
        grid-template-columns: 1fr;
    }

    .spm-section {
        padding: 42px 0;
    }

    .spm-pole-card__body,
    .spm-impact article {
        min-height: auto;
    }

    .spm-kribi {
        align-items: flex-end;
        min-height: 500px;

    }

    .spm-kribi::before {
        left: 0;
        right: 0;
        top: 46%;
        bottom: 0;
        width: auto;
        transform: none;
        background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 74%, rgba(255, 255, 255, 0.12) 100%);
    }

    .spm-kribi__content {
        padding: 0 0 28px;
		        background:
            url("../../images/projet-kribi-bg.jpg") center / cover no-repeat;
    }
}
