
@font-face {
    font-family: 'TT Octosquares Trial';
    src: url('../fonts/TT-Octosquares-Trial/TT-Octosquares-Trial-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TT Octosquares Trial';
    src: url('../fonts/TT-Octosquares-Trial/TT-Octosquares-Trial-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap; /* Helps control font loading behavior */
}
@font-face {
    font-family: 'TT Octosquares Trial';
    src: url('../fonts/TT-Octosquares-Trial/TT-Octosquares-Trial-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Franie';
    src: url('../fonts/Franie/Franie-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Franie';
    src: url('../fonts/Franie/Franie-SemiLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Franie';
    src: url('../fonts/Franie/Franie-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* --- CSS VARIABLES --- */
:root {
--primary-color: #242958; 
--secondary-color: #E20A15; 
--third-color: #10B4B0; 
--accent-color: #181C3E;
--text: #808080;
--text-light: #fff;
--font-heading: 'TT Octosquares Trial', serif;
--font-script: 'Petit Formal Script', serif;
--font-body: 'Franie', sans-serif;
}

/* ================================================================
RESET / BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: #FFFFFF;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); text-transform: uppercase;font-weight: 700 !important;}

body .container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ================================================================
SHARED UTILITIES
================================================================ */
span.sup-title {
    display: block;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Franie';
    font-weight: 300;
    text-transform: none;
    color: #525252;
    margin-top: -20px;
}
/* Buttons */
body .btn {
    display: inline-block;
    font-family: 'Archivo', sans-serif;
    font-size: 18px;
    background-color: #FFFFFF;
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    transition: filter .3s, transform .3s;
    /* white-space: nowrap; */
    border: 2px solid transparent;
    border-radius: 0px;
}
body .btn:hover { filter: brightness(1.2); transform: translateY(-2px); }
body .btn.btn-sp--red { background: var(--secondary-color);  color: #fff; border-color: var(--secondary-color); }
body .btn.btn-sp--purple { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
body .btn.btn-sp--purple:hover { background: #fff; color: var(--primary-color); border-color: #fff; }
body .btn.btn-sp--teal { background: var(--third-color); color: #fff; border-color: var(--third-color); }
body .btn.btn-sp--outline { background: transparent; color: #fff; border-color: #fff; }

body .text-purple{color: var(--primary-color)}
body .text-red{color: var(--secondary-color)}
body .text-teal{color: var(--third-color)}
body .text-body {color: var(--text);}

body .bg-purple {background-color: var(--primary-color);}
body .bg-red {background-color: var(--secondary-color);}
body .bg-teal {background-color: var(--third-color);}
body .bg-grey {background-color: rgba(214, 220, 227, 0.40);}

body section:not(.hero-section) {padding-inline: 5%;}

.motif-grey {
    position: absolute;
    background: #EFF1F4;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: -1;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0% 100%);
}
.motif-purple {
    position: absolute;
    background: var(--primary-color);
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: -1;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0% 100%);
}


.ling-logo {flex: 1;border: 1px solid;opacity: 0.6;border-image: linear-gradient(to left, #fff, #ffffff00) 1;}
.ling-logo.line-right {border-image: linear-gradient(to right, #fff, #ffffff00) 1;}

.hero-section {
    position: relative;
}

.hero-section:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
}
.text-highlight {
    padding: 0 20px 0 10px;
    background: var(--secondary-color);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.cstm-list li{
    background: rgba(255, 255, 255, 0.10);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.smart-tab {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5%;
    background: #fff;
    gap: 32px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s;
}
.smart-tab:hover { opacity: 0.7; }
.smart-tab.active{
    opacity: 1;
    border-bottom: 4px solid #D6DCE3
}
.smart-tab-number {
    font-family: 'TT Octosquares Trial';
    font-weight: 700;
    font-size: 50px;
    color: rgba(226, 10, 21, 0.30);
    line-height: 1;
}
.smart-tab-heading {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}
.badge-tab {
    background: #D6DCE3;
    color: #1B1D2B;
    padding: 12px;
    line-height: 1;
    font-size: 14px;
}
.smart-tab p{display: none;}
.smart-tab.active p{display: block;}
.smart-tab.active .badge-tab{
    background: var(--third-color);
    color: #fff;
}
.smart-tab-img-inline {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    #smart-portail-img-home {
        display: none;
    }
}

.logos-carousel::before, .logos-carousel::after {
    content: '';
    position: absolute;
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    top: 50%;;
    transform: translateY(-50%);
    width: 20%;
    height: 100%;
    z-index: 1;
}
.logos-carousel::before {
    left: 0;
}
.logos-carousel::after {
    right: 0;
    transform: translateY(-50%) rotate(-180deg);
}
.partner-logo {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
}

.inner-card {
    padding: 7%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.number-card {
    color: rgba(226, 10, 21, 0.10);
    font-size: clamp(40px, calc(1rem + 4vw), 90px);
    line-height: 1;
    font-family: 'TT Octosquares Trial';
    font-weight: 700;
    margin-bottom: 10%;
}
.bg-purple .number-card{ 
    color: rgba(255, 255, 255, 0.10)
}

.badge-card {
    background: var(--secondary-color);
    color: #fff;
    padding: 15px;
    font-size: 13px;
    line-height: 1;
    margin-bottom: 20px;
}

.title-card {
    margin-bottom: 20px;
}

.sticky-wrapper { position: relative; }
.sticky-title {position: sticky;top: 60px;}
.step-item {
    padding: clamp(15px, 8%, 60px) 0;
    display: flex;
    align-items: center;
    position: relative;
}

/* Dashed line between steps */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 59px; /* centers on the 120px circle */
    top: calc(50% + 60px); /* starts at bottom of circle */
    bottom: calc(-50% + 60px); /* ends at top of next circle */
    width: 1px;
    border-left: 2px dashed rgb(36 41 88 / 25%);
    z-index: 0;
}

/* Dot on each circle */
.step-number::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgb(36 41 88 / 40%);
    border-radius: 50%;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.step-number {
    position: relative;
    font-size: 2rem;
    font-family: 'TT Octosquares Trial';
    font-weight: 700;
    color: rgb(57 65 73 / 50%);
    min-width: 120px;
    min-height: 120px;
    display: flex;
    background: #F8F8F8;
    border: 1px solid rgb(36 41 88 / 33%);
    border-radius: 50%;
    margin-right: 7%;
    transition: all 0.4s ease;
    line-height: 1;
    justify-content: center;
    align-items: center;
}
.step-title, .step-text {
    color: rgb(36 41 88 / 40%);
}
.step-item.active-step .step-number {
    color: #fff;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}
.step-item.active-step .step-title, .step-item.active-step .step-text{
    color: var(--primary-color);
}
.active-step .step-number::after {
    background: var(--secondary-color);
}

/* --- Default (collapsed) item --- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    border: 1.2px solid #D6DCE3 !important;
    border-radius: 0px !important;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* --- Active (expanded) item --- */
.accordion-item:has(.accordion-collapse.show) {
    border-color: #E2D3A3 !important;
    background: linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
    box-shadow: 0px 16.9537px 41.1732px -26.6415px rgba(36, 41, 88, 0.35);
}

/* --- Button (header) --- */
.accordion-button {
    background: transparent !important;
    color: #1a2340 !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 22px 24px;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.accordion-button:focus {
    outline: none;
    box-shadow: none !important;
}

/* Remove Bootstrap's default arrow */
.accordion-button::after {
    display: none !important;
}

/* --- Custom icon --- */
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    transition: border-color 0.25s, color 0.25s;
    color: var(--accent-color);
}

/* Icon turns red when open */
.accordion-button:not(.collapsed) .faq-icon {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- Body text --- */
.accordion-body {
    padding: 0 24px 24px;
    color: #3d4a5c;
    font-size: 0.95rem;
    line-height: 1.7;
}


@media (max-width: 600px) {
    .smart-tab {
        flex-direction: column;
    }
    body .btn{padding: 15px 20px;}
    .cstm-pb{padding-bottom: 50px !important;}
}

@media (max-width: 450px) {
    .step-item{flex-direction: column;gap: 20px;align-items: flex-start;}
    .step-number {margin-right: 0;}
    .step-number::after, .step-item:not(:last-child)::after{display:none;}
    body .btn{padding: 15px;}
    .logo{max-width: 130px;}
    .hero-section .btn{width: 100%;}
}
