.home-page { background: #fff; }
/* Override legacy mobile header widths and offsets. */
@media (max-width: 1000px) {
 #top_menu > .contenaire { width: calc(100% - 32px); min-height: 76px; gap: 16px; }
 #top_menu .header_logo { width: auto !important; min-width: 0; min-height: 76px; margin: 0; padding: 0; flex: 0 1 auto; }
 #top_menu .header_logo a { display: block; }
 #top_menu .header_logo img { width: 200px; max-width: min(100%, calc(100vw - 140px)); height: auto; margin: 0 !important; }
 #top_menu #top_menu_contenaire { position: static; flex: 0 0 auto; margin: 0 0 0 auto; padding: 0; }
 #top_menu .nav-toggle { box-sizing: border-box; min-height: 44px; padding: 10px 13px; }
 #top_menu #top_menu_contenaire > .menu_url { left: 16px; right: 16px; top: calc(100% + 8px); width: auto !important; max-height: calc(100dvh - 100px); overscroll-behavior: contain; }
 #top_menu #top_menu_contenaire > .menu_url > li { box-sizing: border-box; margin: 0; padding: 3px 0; border: 0; }
 #top_menu #top_menu_contenaire > .menu_url > li > :is(a,button) { box-sizing: border-box; width: 100% !important; min-height: 46px; padding: 12px 14px; margin: 0; white-space: normal; text-align: left !important; }
 #top_menu #top_menu_contenaire > .menu_url > li:last-child > a { margin-top: 8px; }
 #top_menu #top_menu_contenaire .sub_menu ul { padding: 0 !important; }
 #top_menu #top_menu_contenaire .sub_menu ul li { padding: 0 !important; border: 0; }
 #top_menu #top_menu_contenaire .sub_menu .title_s_menu { min-width: 0; width: auto; line-height: 1.5; white-space: normal; }
 #top_menu .nav-toggle-icon { position: relative; height: 12px; border: 0; }
 #top_menu .nav-toggle-icon::before, #top_menu .nav-toggle-icon::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
 #top_menu .nav-toggle-icon::before { top: 2px; }
 #top_menu .nav-toggle-icon::after { bottom: 2px; }
 #top_menu .nav-expanded .nav-toggle-icon::before { top: 5px; transform: rotate(45deg); }
 #top_menu .nav-expanded .nav-toggle-icon::after { bottom: 5px; transform: rotate(-45deg); }
}
.site-footer { background: #061565; color: #bfc9e4; text-align: left; font: 14px/1.7 var(--font-sans); }
.footer-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px 0; border-bottom: 1px solid #ffffff20; }
.site-footer .footer-kicker { margin: 0 0 12px; color: #76d7df; font-size: 10px; font-weight: 650; letter-spacing: .15em; }
.footer-intro h2 { margin: 0; color: white; font: 500 clamp(25px,3vw,36px)/1.3 var(--font-heading); }
.footer-intro h2 em { color: #76d7df; font-style: normal; }
.footer-project { display: inline-flex; align-items: center; gap: 28px; flex-shrink: 0; border-bottom: 1px solid #76d7df; padding: 12px 0; color: white; font-weight: 600; }
.footer-project span { color: #76d7df; font-size: 23px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr .65fr; gap: 36px; padding: 54px 0 58px; }
.footer-brand img { display: block; width: 200px; height: auto; margin-bottom: 22px; }
.footer-brand p { margin: 0 0 22px; color: #d8e0f1; }
.footer-brand address { margin-bottom: 16px; font-style: normal; font-size: 13px; color: #9fafd1; }
.footer-brand > a { display: block; width: fit-content; color: #e4eaf7; margin-top: 6px; }
.footer-grid nav h3 { color: white; font: 500 16px/1.5 var(--font-heading); margin: 0 0 23px; }
.footer-grid nav a { display: block; width: fit-content; color: #bfc9e4; margin-bottom: 13px; line-height: 1.65; }
.site-footer a:hover { color: #76d7df; }
.site-footer a:focus-visible { outline: 2px solid #76d7df; outline-offset: 5px; }
.footer-base { border-top: 1px solid #ffffff20; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
.footer-contact a { color: #d8e0f1; overflow-wrap: anywhere; }
.footer-base p { margin: 0; font-size: 12px; color: #9fafd1; }
.footer-tools { display: flex; align-items: center; gap: 10px; }
.footer-network, .footer-up { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff26; border-radius: 8px; color: #e4eaf7; }
.footer-network svg { width: 17px; height: 17px; }
.footer-up { margin-left: 14px; border-radius: 50%; color: #76d7df; font-size: 23px; }
.footer-network:hover, .footer-up:hover { background: #ffffff0c; border-color: #76d7df; }
@media(max-width:900px) { .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 36px; } .footer-intro { align-items: flex-start; flex-direction: column; gap: 16px; } }
@media(max-width:500px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; } .footer-brand { grid-column: 1 / -1; } .footer-grid nav a { font-size: 13px; } .footer-base { align-items: flex-start; flex-direction: column; gap: 18px; } .footer-intro { padding-top: 38px; } }
#top_menu #top_menu_contenaire .sub_menu ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#top_menu #top_menu_contenaire .sub_menu ul li { width: 100%; }
#top_menu #top_menu_contenaire .sub_menu ul li a {
    display: flex;
    width: 100% !important;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background-color 160ms ease, color 160ms ease;
}
#top_menu #top_menu_contenaire .sub_menu .title_s_menu { margin: 0; flex: 1; text-align: left; }
#top_menu #top_menu_contenaire .sub_menu ul li a::after {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 160ms ease;
}
#top_menu #top_menu_contenaire .sub_menu ul li a:is(:hover, :focus-visible) { background: #f0f6fa; color: #061565; }
#top_menu #top_menu_contenaire .sub_menu ul li a[aria-current="page"] { background: #eef1fa; color: #061565; }
#top_menu #top_menu_contenaire .sub_menu ul li a:is(:hover, :focus-visible, [aria-current="page"])::after { opacity: .65; }
#top_menu #top_menu_contenaire .sub_menu ul li a:focus-visible { outline: 2px solid #1aa9b6; outline-offset: -2px; }
.nav-expertise-icon {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: #1aa9b6;
}
.nav-expertise-icon svg { width: 24px; height: 24px; }
@media (min-width: 1001px) {
    #top_menu #top_menu_contenaire .menu_url > li { position: relative; }
    #top_menu #top_menu_contenaire .sub_menu {
        width: 350px;
        top: 100%;
        left: 50%;
        padding: 10px;
        border: 1px solid #e5eaf2;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 48px #06156514, 0 3px 10px #06156508;
    }
}
.home-main { text-align: left; font-family: var(--font-sans); }
.home-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.home-main h1, .home-main h2, .home-main h3, .home-main p { margin: 0; }
.home-main a:focus-visible { outline: 3px solid #1aa9b6; outline-offset: 6px; }
.home-main .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #1aa9b6; margin-bottom: 22px; }
.home-hero { background: #061565; color: white; padding-top: 72px; overflow: hidden; }
.hero-grid { position: relative; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; max-width: 800px; }
.hero-copy h1 { font-size: clamp(44px, 5.1vw, 70px); font-weight: 650; letter-spacing: -.055em; line-height: 1.06; }
.home-main em { font-style: normal; color: #4bc8d8; }
.home-main .hero-lead { max-width: 580px; margin-top: 27px; color: #c8d2ed; font-size: 17px; line-height: 1.8; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.home-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; background: #1aa9b6; color: white; padding: 16px 22px; border-radius: 5px; font-size: 14px; font-weight: 650; }
.home-button:hover { background: #168d99; transform: translateY(-2px); }
/* Use the hero CTA's styling with compact navigation spacing. */
#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    height: auto;
    min-height: 0;
    padding: 12px 18px;
    border-radius: 5px;
    background: #1aa9b6;
    color: white;
    font-family: var(--font-sans) !important;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.65;
    letter-spacing: normal;
    box-shadow: none;
}
#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a::before {
    position: static;
    order: 1;
    transform: none;
    font: inherit;
}
#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a:hover {
    background: #168d99;
    transform: translateY(-2px);
}
.home-text-link { display: inline-flex; gap: 16px; color: inherit; font-size: 13px; font-weight: 600; }
.home-text-link:hover { color: #4bc8d8; }
.home-main .hero-location { color: #9eaed5; margin-top: 27px; font-size: 12px; }
.hero-visual { position: relative; width: 60%; min-width: 0; height: 490px; margin-left: auto; overflow: hidden; background: #061565; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: .3; mask-image: linear-gradient(90deg, transparent, #000 35%), linear-gradient(#000 65%, transparent); mask-composite: intersect; }
.hero-visual:after { content: none; }
@media (min-width: 651px) {
 .hero-grid > .hero-visual {
    position: absolute;
    z-index: 0;
    right: -90px;
    top: 50%;
    width: 60%;
    height: 620px;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
 }
 .hero-grid > .hero-visual img { opacity: .24; }
}
.visual-label { position: absolute; left: 32px; bottom: 36px; z-index: 1; }
.visual-label span { font-size: 10px; letter-spacing: .15em; color: #9fe6ed; }
.visual-label strong { display: block; font-size: 27px; line-height: 1.25; font-weight: 500; margin-top: 13px; }
.visual-index { position: absolute; right: 22px; top: 22px; background: #fff; color: #061565; z-index: 1; padding: 7px 12px; font-size: 10px; letter-spacing: .1em; border-radius: 3px; }
.hero-bottom { margin-top: 62px; padding-block: 24px; display: flex; justify-content: space-between; border-top: 1px solid #ffffff26; color: #b6c5e7; font-size: 12px; letter-spacing: .06em; }
.home-section { padding-block: 95px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: 42px; }
.home-main h2 { color: #061565; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.045em; font-weight: 650; line-height: 1.15; }
.section-heading > p { max-width: 355px; color: #667085; font-size: 15px; line-height: 1.8; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.expertise-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid #e4e8ef; border-radius: 8px; color: #061565; background: #fff; transition: background .2s, transform .2s; }
.expertise-card:hover { background: #f3f9fa; border-color: #1aa9b6; transform: translateY(-4px); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.card-top svg { width: 31px; height: 31px; color: #1aa9b6; }
.card-top > span { color: #8791a8; font-size: 11px; }
.expertise-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.expertise-card p { color: #687286; margin-top: 13px; font-size: 14px; line-height: 1.8; }
.card-link { display: flex; justify-content: space-between; padding-top: 27px; margin-top: auto; font-size: 12px; font-weight: 650; }
.home-about { background: #f4f7fb; padding-block: 88px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.home-about .home-text-link { color: #061565; margin-top: 30px; border-bottom: 1px solid #bbc6dc; padding-bottom: 8px; }
.home-main .about-intro { font-size: 24px; line-height: 1.4; letter-spacing: -.02em; color: #061565; margin-bottom: 18px; }
.about-content > p { color: #687286; font-size: 15px; }
.approach { display: flex; gap: 25px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #dce3ed; }
.approach > span { color: #1aa9b6; font-size: 12px; padding-top: 4px; }
.approach h3 { color: #061565; font-size: 17px; margin-bottom: 5px; }
.approach p { color: #687286; font-size: 14px; }
.home-clients { text-align: center; padding-block: 80px; }
.home-clients h2 { font-size: 33px; }
.client-logos { position: relative; overflow: hidden; margin-top: 42px; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-track { display: flex; width: max-content; align-items: center; animation: partner-marquee 34s linear infinite; }
.client-track:hover { animation-play-state: paused; }
.client-logos img { flex: 0 0 220px; width: 220px; height: 100px; margin-right: 32px; padding: 12px; background: #fff; object-fit: contain; opacity: .45; filter: grayscale(1); }
@keyframes partner-marquee { to { transform: translateX(-50%); } }
.home-cta { background: #061565; border-radius: 10px; padding: 54px 60px; display: flex; justify-content: space-between; gap: 35px; align-items: center; margin-bottom: 80px; }
.home-cta h2 { color: white; }
.home-cta p:not(.eyebrow) { color: #b6c5e7; margin-top: 20px; font-size: 14px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; flex-shrink: 0; }
.cta-actions > a:last-child { color: #c9d6f0; font-size: 14px; }
@media(max-width: 900px) {
 .hero-visual { height: 450px; }
 .expertise-grid { grid-template-columns: repeat(2, 1fr); }
 .about-grid { gap: 40px; }
 .home-cta { padding: 38px; }
}
@media(max-width: 650px) {
 .home-wrap { width: calc(100% - 36px); }
 .home-hero { padding-top: 60px; padding-bottom: 36px; }
 .about-grid { grid-template-columns: 1fr; }
 .hero-grid > .hero-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 562 / 440;
    margin: 24px auto 0;
    background: transparent;
    pointer-events: none;
 }
 .hero-grid > .hero-visual img {
    display: block;
    /* Crop the SVG's empty side gutters without stretching its artwork. */
    width: 106.762%;
    max-width: none;
    margin-left: -4.27%;
    object-fit: contain;
    object-position: center;
    opacity: .38;
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 78%, transparent);
 }
 .hero-copy h1 { font-size: 49px; }
 .hero-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 35px; }
 .home-section, .home-about { padding-block: 56px; }
 .section-heading { display: block; }
 .section-heading > p { margin-top: 24px; }
 .expertise-grid { grid-template-columns: 1fr; }
 .expertise-card { padding: 26px; }
 .client-logos img { flex-basis: 180px; width: 180px; height: 80px; margin-right: 20px; padding: 4px; }
 .home-clients { padding-block: 56px; }
 .home-cta { display: block; padding: 32px 25px; margin-bottom: 45px; }
 .cta-actions { align-items: flex-start; margin-top: 28px; }
}
@media(prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .home-main a { transition: none; }
 .home-main a:hover { transform: none; }
 .client-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}
