@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650&display=swap");

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/avant-garde-book.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/avant-garde-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ITC Avant Garde Gothic Pro";
    src: url("../fonts/avant-garde-demi.otf") format("opentype");
    font-weight: 600 650;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-heading: "ITC Avant Garde Gothic Pro", "ITC Avant Garde Gothic", var(--font-sans);
    --navy: #061565;
    --navy-light: #172983;
    --teal: #1aa9b6;
    --cyan: #4bc8d8;
    --pink: #d92c53;
    --ink: #121a3a;
    --muted: #667085;
    --line: #e6eaf2;
    --surface: #ffffff;
    --surface-soft: #f5f7fb;
    --shadow-sm: 0 8px 24px rgba(6, 21, 101, 0.08);
    --shadow-lg: 0 24px 60px rgba(6, 21, 101, 0.14);
}

h1, h2, h3, h4, h5, h6,
.h1_titre, .h2_titre,
.service_box .title_service h3,
.div_info .div_title, .bg_tri h1,
.title_page,
.bx-wrapper .bx-caption .slider_text span.title1 {
    font-family: var(--font-heading) !important;
}

/* Shared heading tracking across all page themes. */
h1, h2, h3, h4, h5, h6,
.h1_titre, .h2_titre, .div_title, .title_service {
    letter-spacing: -0.02em !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface-soft);
    background-image: none;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    transition: color 180ms ease, background-color 180ms ease,
        border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

img {
    max-width: 100%;
}

.contenaire {
    width: min(1180px, calc(100% - 48px));
}

#top_menu,
#header_top,
#top_slider,
.contenaire,
#page,
#footer_top,
#footer_bottom {
    min-width: 0;
}

/* Utility bar */
#header_top,
#top_header_contenaire {
    background: var(--navy);
}

#top_header_contenaire {
    height: 42px;
}

.block_rs {
    width: auto;
    margin-top: 0;
    gap: 7px;
}

.icon_rs {
    margin-right: 0;
    opacity: 0.82;
    transform: scale(0.82);
}

.icon_rs:hover {
    opacity: 1;
    transform: scale(0.9);
}

.tel_text {
    margin-left: 5px;
    color: #e4e9ff;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.02em;
}

/* Navigation */
#top_menu {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0;
    border-bottom: 1px solid rgba(6, 21, 101, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 35px rgba(6, 21, 101, 0.08);
    transition: box-shadow 180ms ease;
}

#top_menu:hover {
    box-shadow: 0 14px 40px rgba(6, 21, 101, 0.13);
}

#top_menu > .contenaire {
    min-height: 86px;
    align-items: center;
}

.header_logo {
    position: relative;
    display: flex;
    align-items: center;
    width: 246px;
    min-height: 86px;
    padding-right: 28px;
}

.header_logo img {
    display: block;
    width: 200px;
    height: auto;
    margin: 0;
    transition: transform 180ms ease;
}

.header_logo::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22px;
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, transparent, var(--cyan), transparent);
    opacity: .7;
}

.header_logo a:hover img {
    transform: translateY(-1px);
}

#top_menu_contenaire {
    width: auto;
}

#top_menu ul {
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
    gap: 6px;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li {
    padding: 6px 0;
}

#top_menu ul li {
    width: auto;
    border: 0;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li > a {
    padding: 12px 17px;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font-heading) !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-transform: none;
    position: relative;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a {
    margin-left: 8px;
    padding: 16px 22px;
    gap: 25px;
    border-radius: 5px;
    background: var(--teal);
    color: #fff;
    box-shadow: none;
    transition: background 180ms ease, transform 180ms ease;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a:hover,
#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child.current > a {
    background: #168d99;
    color: #fff;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a:hover {
    transform: translateY(-2px);
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a::before {
    content: "↗";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li > a::after {
    display: none;
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li:hover > a::after,
#top_menu > .contenaire > #top_menu_contenaire > ul > li.current > a::after {
    transform: scaleX(1);
}

#top_menu ul li:hover,
#top_menu ul li:hover > a,
#top_menu ul li.active > a {
    background: var(--navy);
    color: #fff;
}

#top_menu .sub_menu {
    top: 78px;
    left: 50%;
    width: min(780px, calc(100vw - 48px));
    height: auto;
    margin: 0;
    padding: 12px;
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    animation: nav-panel-in 160ms ease-out both;
}

@keyframes nav-panel-in {
    from { opacity: 0; transform: translate(-50%, -7px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

#top_menu .sub_menu ul {
    width: 100%;
    gap: 8px;
    background: transparent;
}

#top_menu .sub_menu ul li {
    width: 33.333%;
}

#top_menu .sub_menu ul li a {
    width: auto;
    min-height: 58px;
    padding: 6px 12px;
    border-radius: 12px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font-heading) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

#top_menu .sub_menu ul li a:hover {
    background: #eef9fb;
    color: var(--navy);
}

#top_menu .sub_menu .icon_sous_menu_1,
#top_menu .sub_menu .icon_sous_menu_2 {
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 10px;
    background-color: #eef8fa;
    background-size: 126px auto;
}

#top_menu .sub_menu ul li a:hover .icon_sous_menu_1,
#top_menu .sub_menu ul li a:hover .icon_sous_menu_2 {
    background-color: #d8f1f3;
}

.title_s_menu {
    width: auto;
    margin: 0 0 0 8px;
    line-height: 1.35;
    letter-spacing: .01em;
}

/* Homepage hero */
#top_slider {
    width: 100%;
    overflow: hidden;
    background: var(--navy);
}

.slider_ul > li {
    position: relative;
}

.slider_ul > li > img {
    width: 100%;
    height: clamp(430px, 48vw, 610px);
    object-fit: cover;
    filter: brightness(0.72) saturate(0.84);
}

.bx-wrapper .bx-caption {
    top: 50%;
    left: max(24px, calc((100vw - 1180px) / 2));
    width: min(540px, 46vw);
    height: auto;
    min-height: 245px;
    padding: 36px 38px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(6, 21, 101, 0.94), rgba(23, 41, 131, 0.78));
    box-shadow: 0 30px 70px rgba(1, 8, 45, 0.32);
    backdrop-filter: blur(12px);
}

.bx-wrapper .bx-caption .slider_text {
    margin: 0;
    padding: 0;
}

.bx-wrapper .bx-caption .slider_text span.title1 {
    margin: 0 0 12px;
    padding: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(31px, 3.5vw, 54px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.bx-wrapper .bx-caption .slider_text span.title2 {
    margin: 0 0 26px;
    padding: 0;
    color: #dce5ff;
    font-family: inherit;
    font-size: clamp(16px, 1.5vw, 21px);
    font-weight: 400;
    line-height: 1.45;
}

.bx-wrapper .bx-caption .slider_text a.btn {
    margin: 0;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.bx-wrapper .bx-caption .slider_text a.btn:hover {
    border-color: #fff;
    background: #fff;
    color: var(--navy);
    transform: translateY(-2px);
}

/* Headings and section rhythm */
#header {
    background: var(--surface-soft);
}

#titre_contenaire {
    margin-bottom: 0;
    padding: 82px 0 38px;
}

.h1_titre {
    margin: 0;
    color: var(--navy);
    font-family: inherit;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-transform: none;
}

.h1_titre::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 20px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--teal), var(--cyan));
}

.h2_titre {
    max-width: 760px;
    margin: 16px auto 0;
    color: var(--muted);
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

#page {
    background: var(--surface-soft);
    background-image: none;
}

#page_contenaire {
    width: 100%;
    padding: 30px 0 78px;
}

/* Services */
#page_contenaire > .margin_bottom_40:has(> .service_box) {
    margin-bottom: 26px;
    column-gap: 26px;
}

.service_box {
    position: relative;
    overflow: hidden;
    min-height: 405px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.service_box:hover {
    transform: translateY(-7px);
    border-color: rgba(26, 169, 182, 0.35);
    box-shadow: var(--shadow-lg);
}

.service_box .img_service {
    width: 100%;
    height: 190px;
    margin-bottom: 22px;
    border: 0;
    border-radius: 16px;
    background-color: #f1f7fa;
    background-position: center 30px;
}

.service_box .title_service h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-family: inherit;
    font-size: 17px !important;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

.service_box .descipion_service {
    min-height: 90px;
    margin: 0;
    color: var(--muted);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.65;
}

.button_detail {
    width: auto;
    margin-top: auto;
    padding: 10px 17px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    background: transparent;
    background-image: none;
    box-shadow: none;
    color: var(--navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
}

.button_detail:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-1px);
}

/* Inner-page banners and content */
.heder_image {
    overflow: hidden;
    background: var(--navy);
}

#googleMap {
    background:
        radial-gradient(circle at 22% 35%, rgba(75, 200, 216, 0.2), transparent 28%),
        radial-gradient(circle at 78% 70%, rgba(26, 169, 182, 0.2), transparent 26%),
        linear-gradient(135deg, #061565, #172983);
}

.heder_image > img {
    display: block;
    width: 100%;
    height: clamp(260px, 34vw, 420px);
    object-fit: cover;
    filter: brightness(0.82) saturate(0.88);
}

.page_title {
    margin-top: -68px;
}

.title_page {
    padding: 16px 26px;
    border-radius: 0 14px 0 0;
    background: rgba(26, 169, 182, 0.9);
    background-image: none;
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.bg_image {
    background: var(--surface);
    background-image: none;
}

.div_info {
    margin-bottom: 28px;
}

.div_info .div_title,
.bg_tri h1 {
    color: var(--navy);
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.div_info .div_contenu,
.div_info .div_contenu_2 {
    color: var(--muted);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.8;
}

.bg_tri {
    height: auto;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
    background: none;
}

.liste_2,
.liste_3 {
    font-family: inherit;
}

/* Contact */
.contact_div {
    padding: 0 34px;
}

.contact_div form {
    gap: 13px;
}

.input_text,
.textarea,
.flat,
.flat_1,
select {
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background-color: #f8f9fc !important;
    color: var(--ink);
    font-family: inherit;
}

.input_text:focus,
.textarea:focus,
select:focus {
    border-color: var(--teal) !important;
    box-shadow: 0 0 0 4px rgba(26, 169, 182, 0.12);
}

.aside {
    height: auto;
    min-height: 300px;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--navy), var(--navy-light));
    box-shadow: var(--shadow-lg);
}

.btn_envoyer,
.nous_contacter {
    border: 0;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
}

/* Pricing */
.table_prix {
    width: 100% !important;
    padding: 0;
}

.pack {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.pack:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.table_prix .title_pack {
    background: var(--navy);
    background-image: none;
}

.table_prix .prix_pack {
    margin-top: auto;
    background: var(--teal);
}

/* Client strip */
#page.background_image_none.bg_white #titre_contenaire {
    padding: 64px 0 24px;
}

.slider_nouveaute .none_bloc3 {
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 180ms ease, opacity 180ms ease;
}

.slider_nouveaute .none_bloc3:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Unified navigation: shared desktop and touch controls. */
#top_menu .nav-toggle { display: none; }
#top_menu #top_menu_contenaire > .menu_url {
    align-items: center;
}
#top_menu #top_menu_contenaire > .menu_url > li {
    align-self: center;
}
#top_menu .menu_url > li:hover { background: transparent; }
#top_menu .menu_url > li > .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 12px 17px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--navy);
    font: 600 13px/1.3 var(--font-heading);
    cursor: pointer;
}
#top_menu > .contenaire > #top_menu_contenaire > ul > li > a {
    min-height: 44px;
    box-sizing: border-box;
    font-size: 13px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: background 180ms ease, color 180ms ease;
}

#top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a {
    border-radius: 5px;
    padding: 0 36px;
    height: 48px;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    transition: background 180ms ease, transform 180ms ease;
}
#top_menu .menu_url > li.current > .nav-dropdown-toggle,
#top_menu .menu_url > li.nav-open > .nav-dropdown-toggle,
#top_menu .nav-dropdown-toggle:hover,
#top_menu > .contenaire > #top_menu_contenaire > ul > li:not(:last-child) > a:hover,
#top_menu > .contenaire > #top_menu_contenaire > ul > li.current:not(:last-child) > a {
    background: #eef1fa;
    color: var(--navy);
}
#top_menu .dawn_menu {
    position: static;
    display: block;
    width: 6px;
    height: 6px;
    margin: -3px 0 0;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    background: none;
    transform: rotate(45deg);
    transition: transform 180ms ease;
}
#top_menu .nav-open .dawn_menu { transform: rotate(225deg); margin-top: 3px; }
#top_menu .menu_url > li .sub_menu { display: none; }
#top_menu .menu_url > li.nav-open .sub_menu { display: block; }
#top_menu .sub_menu ul li:hover { background: transparent; }
#top_menu .sub_menu a[aria-current="page"] { background: #eef1fa; }
#top_menu :is(a, button):focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (min-width: 1001px) {
    #top_menu .menu_url { display: flex !important; }
    #top_menu .sub_menu { top: calc(100% - 1px); }
}

@media (max-width: 1000px) {
    #top_menu > .contenaire { flex-direction: row; align-items: center; min-height: 80px; }
    #top_menu .header_logo { min-height: 80px; width: auto; padding: 0; }
    #top_menu .header_logo img { width: min(200px, 49vw); }
    #top_menu .header_logo::after { display: none; }
    #top_menu #top_menu_contenaire { width: auto; margin-left: auto; }
    #top_menu .nav-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 16px;
        border: 1px solid #dfe4f0;
        border-radius: 12px;
        background: var(--navy);
        color: white;
        font: 600 13px var(--font-heading);
        cursor: pointer;
    }
    .nav-toggle-icon { width: 16px; height: 10px; border-block: 2px solid currentColor; }
    #top_menu #top_menu_contenaire > .menu_url {
        display: none;
        position: absolute !important;
        top: calc(100% + 8px);
        right: 16px;
        width: min(420px, calc(100vw - 32px)) !important;
        max-height: calc(100dvh - 112px);
        overflow-y: auto;
        margin: 0 !important;
        padding: 12px !important;
        box-sizing: border-box;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: white !important;
        box-shadow: var(--shadow-lg);
    }
    #top_menu #top_menu_contenaire.nav-expanded > .menu_url { display: block; }
    #top_menu .menu_url > li { width: 100%; }
    #top_menu .menu_url > li > .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
    #top_menu #top_menu_contenaire .sub_menu {
        position: static;
        width: 100% !important;
        margin: 4px 0;
        padding: 6px;
        box-sizing: border-box;
        transform: none;
        animation: none;
        border: 0;
        border-radius: 12px;
        background: #f6f8fc;
        box-shadow: none;
    }
    #top_menu #top_menu_contenaire .sub_menu ul { display: grid; position: static !important; width: 100% !important; margin: 0 !important; }
    #top_menu #top_menu_contenaire .sub_menu ul li { width: 100%; }
    #top_menu #top_menu_contenaire .sub_menu ul li a { padding: 10px !important; text-align: left !important; }
}
@media (prefers-reduced-motion: reduce) {
    #top_menu *, #top_menu *::after { animation: none !important; transition: none !important; }
}

/* Footer */
#footer_top {
    position: relative;
    overflow: hidden;
    padding: 68px 0 48px;
    background: var(--navy);
}

#footer_top > .contenaire > .widht_100 {
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    column-gap: 55px;
}

#footer_top .box_last { grid-column: 1; grid-row: 1; }
#footer_top .box { grid-column: auto; }
#footer_top .box_first { grid-column: 4; grid-row: 1; }

#footer_top::after {
    content: "";
    position: absolute;
    right: -190px;
    top: -250px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(75, 200, 216, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(75, 200, 216, 0.04),
        0 0 0 84px rgba(75, 200, 216, 0.025);
}

#footer_top > .contenaire {
    position: relative;
    z-index: 1;
}

#footer_top .box_first,
#footer_top .box,
#footer_top .box_last {
    height: auto;
    margin: 0;
}

#footer_top .box_last img {
    width: 148px !important;
    height: auto;
    opacity: .96;
}

.footer-phone {
    display: inline-block;
    margin-top: 18px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
}

.footer-phone:hover {
    color: var(--cyan);
}

.footer-social {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}

.footer-social .icon_rs {
    display: inline-block;
    transform: scale(.78);
    transform-origin: left center;
}

#footer_top .box_footer_width > div:first-child {
    color: var(--cyan);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#footer_top ul li a,
#footer_top .white {
    color: #cbd3f2;
    font-family: inherit;
    font-size: 14px;
    line-height: 2;
}

#footer_top ul li a:hover {
    color: #fff;
}

#footer_bottom,
#footer_bottom .footer_container {
    background: #040d43;
}

#footer_bottom {
    border-top: 1px solid rgba(188, 202, 242, .18);
}

#footer_bottom .footer_container {
    min-height: 108px;
    justify-content: space-between;
    gap: 24px;
}

#footer_bottom .box_copy {
    color: #8f9ac7;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.footer-bottom-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-actions .footer-social {
    margin: 0 28px 0 0;
}

.footer-bottom-actions .footer-social a {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 7px;
    background: rgba(97, 116, 190, .23);
}

.footer-bottom-actions .footer-social .icon_rs {
    margin: 0;
    transform: scale(.82);
}

.back-to-top {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 2px solid #3c67ff;
    border-radius: 50%;
    color: #3c67ff;
    font-size: 26px;
    line-height: 1;
}

.back-to-top:hover {
    background: #3c67ff;
    color: #fff;
    transform: translateY(-3px);
}

@media screen and (max-width: 860px) {
    .contenaire {
        width: min(730px, calc(100% - 32px));
    }

    #top_menu > .contenaire {
        min-height: 80px;
        align-items: center;
    }

    .header_logo img {
        width: 200px;
    }

    .header_logo {
        width: auto;
        min-height: 76px;
        padding-right: 0;
    }

    .header_logo::after {
        display: none;
    }

.menu_link .span {
        display: block;
        width: auto;
        margin: 0;
        padding: 12px 18px;
        border: 0;
        border-radius: 999px;
        background: var(--navy);
        font-family: inherit;
        font-size: 13px;
    }

    #top_menu .menu_link > ul {
        display: none;
        top: 72px;
        right: 16px;
        width: min(420px, calc(100vw - 32px)) !important;
        margin: 0 !important;
        padding: 10px !important;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff !important;
        box-shadow: var(--shadow-lg);
    }

    #top_menu > .contenaire > #top_menu_contenaire > ul > li > a {
        width: 100% !important;
        padding: 12px 14px;
        border-radius: 10px;
        text-align: left !important;
    }

    #top_menu > .contenaire > #top_menu_contenaire > ul > li:last-child > a {
        margin-left: 0;
        box-shadow: none;
    }

    #top_menu .sub_menu {
        position: static;
        width: 100%;
        padding: 0;
        transform: none;
        border: 0;
        box-shadow: none;
    }

    #top_menu .sub_menu ul {
        width: 100% !important;
        margin: 0 !important;
    }

    #top_menu .sub_menu ul li {
        width: 100%;
    }

    .bx-wrapper .bx-caption {
        display: block;
        left: 24px;
        width: min(500px, calc(100vw - 48px));
    }

    #page_contenaire > .margin_bottom_40:has(> .service_box) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    #footer_top > .contenaire > .widht_100 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }

    #footer_top .box_last { grid-column: 1; grid-row: 1; }
    #footer_top .box_first { grid-column: 2; grid-row: 1; }
}

@media screen and (max-width: 600px) {
    .contenaire {
        width: calc(100% - 28px);
    }

    .block_rs .plus,
    .block_rs .facebook,
    .block_rs .twitter {
        display: none;
    }

    .slider_ul > li > img {
        height: 500px;
    }

    .bx-wrapper .bx-caption {
        display: block;
        left: 16px;
        width: calc(100vw - 32px);
        min-height: 0;
        padding: 28px 24px;
        border-radius: 18px;
    }

    .bx-wrapper .bx-caption .slider_text span.title1 {
        font-size: 30px;
    }

    .bx-wrapper .bx-caption .slider_text span.title2 {
        font-size: 16px;
    }

    #titre_contenaire {
        padding: 58px 0 26px;
    }

    #page_contenaire > .margin_bottom_40:has(> .service_box),
    .table_prix,
    #footer_top > .contenaire > .widht_100 {
        grid-template-columns: 1fr;
    }

    .service_box {
        min-height: 0;
    }

    .contact_div {
        padding: 0;
    }

    #footer_top {
        padding: 52px 0 34px;
    }

    #footer_top .box_first,
    #footer_top .box,
    #footer_top .box_last {
        grid-column: auto;
        grid-row: auto;
    }

    #footer_bottom .footer_container {
        min-height: 0;
        padding-block: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-actions {
        width: 100%;
        justify-content: space-between;
    }

    .footer-bottom-actions .footer-social {
        margin-right: 0;
    }
}
