@layer base {
    body {
        font-family: "Maven Pro", sans-serif;
        font-size: 18px;
        line-height: 32px;
        font-weight: 400;
    }
    a {
        color: #083985;
    }
    a,
    button,
    [role="button"] {
        cursor: pointer;
    }
    h1 {
        font-family: "Maven Pro", sans-serif;
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1px;
        font-weight: 700;
        color: #0f192d;
    }
    h2 {
        font-family: "Maven Pro", sans-serif;
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1px;
        font-weight: normal;
        color: #0f192d;
    }
    h3 {
        font-family: "Maven Pro", sans-serif;
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -1px;
        font-weight: normal;
        color: #0f192d;
    }
    h4 {
        font-family: "Maven Pro", sans-serif;
        font-size: 30px;
        line-height: 35px;
        font-weight: normal;
        color: #0f192d;
    }
    h5 {
        font-family: "Maven Pro", sans-serif;
        font-size: 18px;
        line-height: 26px;
        font-weight: 500;
        color: #0f192d;
    }
    h6 {
        font-family: "Maven Pro", sans-serif;
        font-size: 15px;
        line-height: 26px;
        font-weight: normal;
        color: #0f192d;
    }
}

.bouton {
    font-family: "Rubik", sans-serif;
    display: inline-block;
    margin: 15px 0 0 0;
    padding: 12px 35px;
    background: #083985;
    border-radius: 0;
    transition: all 0.3s ease-out;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}
.bouton:hover {
    background: #252525;
}

.hero-quote,
.page-header {
    color: white;
    background-color: #f2f2f2;
}
.page-header {
    padding-top: 205px;
    padding-bottom: 180px;
}

@media (max-width: 767px) {
    .page-header {
        padding-top: 140px;
        padding-bottom: 100px;
    }
}

/* Homepage header: transparent → blue on scroll */
.header-home {
    background-color: rgba(0, 0, 0, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}
.header-home.has-scrolled {
    background-color: #083985;
    border-bottom-color: transparent;
}

/* Inner pages header: always solid blue (home only is transparent → blue on scroll) */
.header-inner {
    background-color: #083985;
}

/* Inner page banner (non-home pages) — uniform: centered title, centered subtitle */
.page-header-inner {
    background-color: #f2f2f2;
    background-image: url('/images/Inner-Banner-Background-Image.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 150px;
    padding-bottom: 78px;
    text-align: center;
    color: #0c121f;
}
.page-header-inner h1,
.page-header-inner .page-title {
    font-family: "Maven Pro", sans-serif;
    font-size: 34px;
    line-height: 45px;
    letter-spacing: 0;
    font-weight: 700;
    color: #0c121f;
    text-align: center;
    margin-bottom: 15px;
}
.page-header-inner .page-banner-subtitle {
    font-family: "Rubik", sans-serif;
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
    color: #0c121f;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header bar shared */
.header-bar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Nav chevron */
.nav-chevron {
    display: inline-block;
    transition: transform 0.2s;
}
.group:hover > a .nav-chevron {
    transform: rotate(180deg);
}

/* Homepage 3 support cards (prod fancy-text-box element-one) */
.home-card {
    position: relative;
    padding: 26px;
    background-color: #fff;
    box-shadow: 0 0 20px #e8e6e6;
}
.home-card::before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 140px;
    background-color: #fafafa;
    border-bottom-left-radius: 136px;
}
.home-card .home-card-icon {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #083985;
}
.home-card .home-card-icon svg {
    width: 64px;
    height: 64px;
}
.home-card h3 {
    position: relative;
    z-index: 1;
    width: calc(100% - 120px);
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
    color: #083985;
}
.home-card .home-card-subtitle {
    position: relative;
    z-index: 1;
    width: calc(100% - 120px);
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-size: 19px;
    line-height: 25px;
    font-weight: 400;
    color: #383838;
}
.home-card .home-card-subtitle::before {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 27px;
    height: 2px;
    background-color: #083985;
}
.home-card .home-card-content {
    position: relative;
    z-index: 1;
    width: calc(100% - 65px);
    color: #253a4f;
}

/* Homepage "Our approach in 4 steps" boxes (prod fancy-text-box element-two) */
.step-box {
    position: relative;
    padding: 20px 23px 25px 30px;
    margin-bottom: 30px;
}
.step-box::before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-color: #f4f4f4;
    border-radius: 5px;
    transform: skewX(-6deg);
}
.step-box > * {
    position: relative;
    z-index: 1;
}
.step-box .step-box-heading {
    position: relative;
    min-height: 60px;
    margin-bottom: 10px;
    padding-left: 75px;
}
.step-box .step-box-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    text-align: center;
    color: #083985;
}
.step-box .step-box-icon svg {
    width: 52px;
    height: 52px;
}
.step-box .step-box-title {
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 18px;
    color: #292929;
    line-height: 28px;
}
.step-box .step-box-content {
    font-size: 18px;
    line-height: 32px;
    color: #253a4f;
}

/* Program step slider (production parity: line-linked step controls,
   boxed slide with numbered header + icon, quote boxes, closed accordion) */

.step_slider {
    margin: 0 auto 50px auto;
    position: relative;
}

/* Panel visibility is handled by the .hidden class on the .step_slider-step
   wrapper, toggled from js/main.js — production's :not(.active) rule would
   hide every panel here because active lives on the controls instead. */

.step_slider .step {
    padding: 50px 80px;
    border: 1px solid #d1d1d1;
    background-color: #f8f8f8;
}

.step_slider .step .step_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step_slider .step .step_header h2 {
    flex: 1 1 auto;
    font-size: 28px;
    letter-spacing: 1px;
    margin: 0px 15px 0px 0px;
    padding: 0;
    color: #083985;
    text-shadow: 2px 2px 0px #fff;
}

.step_slider .step .step_header img {
    flex: 0 0 auto;
    max-width: 74px;
}

.step_slider .step .step_header .step_number {
    flex: 0 0 auto;
    font-size: 2em;
    font-weight: bold;
    margin: 0px 15px 0px 30px;
    border-radius: 50%;
    border: 5px #083985 solid;
    display: inline-block;
    padding: 12px;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 25px;
    background-color: white;
    color: #083985;
}

.step_slider .step .step_quotes {
    display: flex;
    margin-top: 60px;
}

.step_slider .step .step_quotes .execonblockquote {
    margin-right: 15px;
    flex-grow: 1;
    flex-basis: 0;
}

.step_slider .step .step_quotes .execonblockquote:last-child {
    margin-right: 0;
}

.step_slider div.step_controls {
    display: flex;
    list-style: none;
    padding: 80px 0;
    justify-content: space-around;
    margin-bottom: 5px;
    position: relative;
}

/* Connector line between the 4 step circles, behind them (z-index -1) */
.step_slider .step_controls:before {
    position: absolute;
    border: 2px solid #585959;
    width: calc(100% - 300px);
    display: block;
    content: '';
    z-index: -1;
    top: 110px;
    left: 150px;
}

.step_slider .step_controls .step_button {
    cursor: pointer;
    flex-grow: 1;
    flex-basis: 0;
    text-align: center;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
}

.step_slider .step_controls .step_button .step_button_element {
    flex: 0 0 auto;
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    border-radius: 50%;
    border: 5px #585959 solid;
    display: inline-block;
    padding: 12px;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 25px;
    background-color: white;
    color: #585959;
    box-shadow: 0px 0px 30px #FFF;
    transition: border-color 0.3s, color 0.3s;
}

/* Pointer cursor and color change on hover (spec) */
.step_slider .step_controls .step_button:hover .step_button_element,
.step_slider .step_controls .step_button:focus-visible .step_button_element {
    border-color: #083985;
    color: #083985;
    cursor: pointer;
}

.step_slider .step_controls .step_button .step_button_element.active {
    border: 5px #083985 solid;
    color: #083985;
    cursor: pointer;
}

.step_slider .step_controls .step_button .step_label {
    display: block;
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
    margin-top: 20px;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    color: #585959;
    transition: color 0.3s;
}

.step_slider .step_controls .step_button:hover .step_label,
.step_slider .step_controls .step_button:focus-visible .step_label {
    color: #083985;
}

.step_slider .step_controls .step_button.active .step_label {
    color: #083985;
}

/* Quote boxes (production .execonblockquote) */
div.execonblockquote {
    padding: 26px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 20px #d4d4d4;
    position: relative;
}

div.execonblockquote p {
    text-indent: 30px;
    font-size: 18px;
    padding-right: 20px;
    text-align: center;
    margin: 0;
}

div.execonblockquote:before {
    content: "«";
    font-size: 2.5em;
    position: absolute;
    left: 20px;
    top: 10px;
    color: #555f69;
}

div.execonblockquote:after {
    content: "»";
    font-size: 2.5em;
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #555f69;
}

/* Accordion (closed by default) */
.execon-accordeon {
    margin: 40px 0 60px 0;
}

.execon-accordeon .execon-accordeon-title {
    font-weight: bold;
    position: relative;
    padding: 13px 35px 12px 15px;
    border: 1px #d9dbdb solid;
    cursor: pointer;
    letter-spacing: 1px;
    background-color: white;
}

.execon-accordeon .execon-accordeon-title:after {
    content: "+";
    font-size: 2.5em;
    position: absolute;
    right: 25px;
    bottom: 20px;
}

.execon-accordeon.opened .execon-accordeon-title:after {
    content: "-";
}

.execon-accordeon .execon-accordeon-body {
    display: none;
    padding-top: 20px;
    border: 1px #d9dbdb solid;
    border-top: 0;
}

.execon-accordeon.opened .execon-accordeon-body {
    display: block;
}

.execon-accordeon .execon-accordeon-body ol {
    margin: 0 0 20px 20px;
}

.execon-accordeon .execon-accordeon-body ol li {
    margin: 0 0 10px 0;
}

/* Step description (production .large-description) */
.large-description {
    font-size: 25px;
    line-height: 42px;
}

@media screen and (max-width: 990px) {
    .step_slider .step_controls:before {
        width: calc(100% - 150px);
        left: 75px;
    }

    .step_slider .step .step_quotes {
        flex-direction: column;
    }

    .step_slider .step .step_quotes .execonblockquote {
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .step_slider .step .step_header h2 {
        font-size: 16px;
        line-height: 20px;
    }

    .step_slider .step {
        padding: 35px 15px;
    }

    .step_slider div.step_controls {
        width: 90%;
        margin: 0 auto;
        padding: 30px 0;
        flex-direction: column;
        gap: 20px;
    }

    /* Line hidden on mobile: controls stack vertically */
    .step_slider .step_controls:before {
        display: none;
    }

    .step_slider .step_controls .step_button {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
    }

    .step_slider .step_controls .step_button .step_label {
        margin: 0 0 0 30px;
        max-width: 100%;
    }

    .step_slider .step_controls .step_button .step_button_element {
        margin: 0;
    }

    .step_slider .step .step_header img {
        width: 35px;
    }

    .step_slider .step .step_header .step_number {
        padding: 5px;
        line-height: 15px;
        width: 30px;
        font-size: 1em;
        height: 30px;
        border: 3px #083985 solid;
        margin: 0 10px 0 0;
    }

    .step_slider .step .step_quotes {
        flex-direction: column;
    }

    .step_slider .step .step_quotes .execonblockquote {
        margin-right: 0;
    }
}

main {
    padding-top: 0;
}

@media (max-width: 767px) {
    main > section > .max-w-4xl,
    main > section.max-w-4xl,
    main > section > .max-w-6xl,
    main > section.max-w-6xl {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .mobile-nav-item .mobile-sub-toggle svg {
        transition: transform 0.2s;
    }
    .mobile-nav-item .mobile-sub-toggle.active svg {
        transform: rotate(180deg);
    }
}
