.reveal-fade {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --dark: #111827;
    --white: #ffffff;
    --muted: #6b7280;
    --orange: #ED6A18;
    --primary: #005FAC;
    --secondary:#ED6A18;
    --text:#555;
    --border:#ECECEC;
    --light:#F8F8F8;
    --breadcrumb-bg: #EDF2F5;

    --transition: all 0.35s ease;
}

/* =========================================================
   GLOBAL
========================================================= */

body {
    font-family: "Segoe UI", sans-serif;
    /* padding-top: 90px; */
    overflow-x: hidden;
}

.section-heading{
    position:relative;
    display:inline-block;
}

.section-accent{
    position:absolute;
    width:50px;
    height:34px;
    background:#FBE6D7;
    left:15px;
    top:20px;
    transform:translateY(-50%);
    z-index:0;
}

.accent-section-title{
    position:relative;
    z-index:1;
    margin:0;
}

.section-accent2{
    position:absolute;
    width:60px;
    height:34px;
    background:#FBE6D7;
    left:50px;
    top:20px;
    transform:translateY(-50%);
    z-index:0;
}

.textColor {
    color: var(--primary)
}

/* =========================================================
   BREADCRUMB BAND (commun à toutes les pages intérieures)
========================================================= */

.page-breadcrumb-band {
    background-color: var(--breadcrumb-bg);
    padding: 7px 0 7px;
    margin-top:130px;
}

.page-breadcrumb-band .breadcrumb {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
}

.page-breadcrumb-band .breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: .85rem;
    line-height: 1;
}

.page-breadcrumb-band .breadcrumb-item a {
    display: flex;
    align-items: center;
    color: #111827;
    text-decoration: none;
    transition: color .2s;
}

.page-breadcrumb-band .breadcrumb-item a:hover {
    color: var(--orange);
}

.page-breadcrumb-band .breadcrumb-item.active {
    color: #374151;
}

.page-breadcrumb-band .breadcrumb-item + .breadcrumb-item::before {
    display: flex;
    align-items: center;
    color: #d1d5db;
    padding: 0 .5rem;
}

a {
    text-decoration: none;
}

/* =========================================================
   NAVBAR
========================================================= */

.header-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
} 

.header-section .navbar{
    top: 42px;
    transition: top .35s ease, background .35s ease;
    background:rgba(0,0,0,.35);
    backdrop-filter:blur(4px);
    min-height:90px;
    transition:all .35s ease;
}

/* SCROLL */
.header-section .navbar.navbar-scrolled{
    top:0;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.header-inner-page .navbar{
    top:42px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* =========================================================
   TOP BAR
========================================================= */

.top-bar{
    background:#323232;
    height:42px;
    display:flex;
    align-items:center;
    transition:all .35s ease;
    overflow:hidden;
}

.top-bar.top-bar-hidden{
    height:0;
    opacity:0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-search {
    position: relative;
}

.top-search-toggle {
    border: 0;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    cursor: pointer;
}

.top-search-toggle:hover {
    color: #ED6A18;
}

.top-search-form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
        width .35s ease,
        opacity .25s ease;
}

.top-search-form.active {
    width: 320px;
    opacity: 1;
    pointer-events: auto;
}

.top-search-form input {
    width: 100%;
    border: 0;
    outline: 0;
    background: #ffffff;
    color: #111827;
    padding: .55rem .9rem;
    border-radius: 0;
}

.top-search-form input::placeholder {
    color: #6b7280;
}

/* =========================================================
   LOGOS
========================================================= */
.main-logo {
    height: 42px;
    transition: all 0.35s ease;
}

.scrolled-logo {
    display: none;
}

.navbar-scrolled .default-logo {
    display: none;
}

.navbar-scrolled .scrolled-logo {
    display: block;
}

/* =========================================================
   MENU
========================================================= */

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: white !important;
    font-weight: 300;
    padding: 10px 14px !important;
    position: relative;
    transition: var(--transition);
}

/* UNDERLINE */

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: calc(100% - 28px);
}

/* =========================================================
   SCROLL MENU COLOR
========================================================= */

.navbar-scrolled .nav-link {
    color: var(--primary) !important;
}

.navbar-scrolled .nav-link::after {
    background: var(--primary);
}

/* =========================================================
   CONTACT BUTTON
========================================================= */

.contact-btn {
    border: 1px solid rgba(255,255,255,0.7);
    /* border-radius: 40px; */
    padding: 10px 22px !important;
    margin-left: 8px;
    transition: var(--transition);
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white !important;
}

.navbar-scrolled .contact-btn {
    border-color: rgba(0,95,172,0.20);
    color: var(--primary) !important;
}

/* =========================================================
   ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* =========================================================
   SEARCH
========================================================= */

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    border: none;
    background: transparent;
    color: white;
    width: 40px;
    height: 40px;
    /* border-radius: 50%; */
    transition: var(--transition);
}

.search-toggle:hover {
    background: rgba(255,255,255,0.08);
}

/* SCROLL */
.navbar-scrolled .search-toggle {
    color: var(--primary);
}

.navbar-scrolled .search-toggle:hover {
    background: rgba(0,95,172,0.08);
}

/* FORM */
.search-form {
    position: absolute;
    top: 50%;
    right: 45px;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition);
}

.search-form.active {
    width: 150px;
    opacity: 1;
}

.search-form input {
    width: 100%;
    border: none;
    /* border-radius: 30px; */
    padding: 8px 14px;
    background: white;
    outline: none;
    box-shadow:
        0 5px 15px rgba(0,0,0,0.08);
}

/* =========================================================
   LANGUAGE
========================================================= */

.btn-language {
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: white;
    /* border-radius: 30px; */
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-language:hover {
    color: white;
    background: transparent;
    border-color: rgba(255,255,255,0.18);
}

/* SCROLL */

.navbar-scrolled .btn-language {
    color: var(--primary);
    border-color: rgba(0,95,172,0.18);
}

.navbar-scrolled .btn-language:hover {
    color: var(--primary);
    background: rgba(0,95,172,0.04);
    border-color: rgba(0,95,172,0.25);
}

/* =========================================================
   DROPDOWN
========================================================= */

.language-dropdown .dropdown-menu {
    border: none;
    /* border-radius: 16px; */
    padding: 10px;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.10);
}

.language-dropdown .dropdown-item {
    /* border-radius: 10px; */
    padding: 10px 14px;
    color: var(--primary);
    font-weight: 300;
    transition: all 0.25s ease;
}

.language-dropdown .dropdown-item:hover {
    background: rgba(0,95,172,0.08);
    color: var(--primary);
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 991px) {
    body {
        padding-top: 80px;
    }

    /* NAVBAR MOBILE */
    .navbar-collapse {
        background: #111827;
        padding: 20px;
        /* border-radius: 18px; */
        margin-top: 15px;
    }

    /* MENU LIGHT APRÈS SCROLL */
    .navbar.navbar-scrolled .navbar-collapse {
        background: rgba(255,255,255,0.98);
        box-shadow:
            0 10px 30px rgba(0,0,0,0.08);
    }

    /* LINKS */
    .navbar-nav {
        gap: 0;
    }
    .nav-link {
        padding: 12px 0 !important;
    }

    .navbar.navbar-scrolled .nav-link {
        color: var(--primary) !important;
    }

    /* CONTACT */

    .contact-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
        margin-left: 0;
        width: fit-content;
    }

    /* MOBILE ACTIONS */
    .header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        margin-top: 20px;
        flex-wrap: nowrap;
    }

    /* SEARCH BOX */
    .search-box {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    /* SEARCH BUTTON */

    .search-toggle {
        flex-shrink: 0;
    }

    /* SEARCH FORM */

    .search-form {
        position: static;
        transform: none;
        width: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.35s ease;
    }

    /* ACTIVE */

    .search-form.active {
        width: 140px;
        opacity: 1;
    }

    .search-form input {
        width: 100%;
        min-width: 140px;
        border: none;
        /* border-radius: 30px; */
        padding: 8px 14px;
        background: white;
        outline: none;
        box-shadow:
            0 5px 15px rgba(0,0,0,0.08);
    }

    /* LANGUAGE */

    .language-dropdown {
        flex-shrink: 0;
    }

    .btn-language {
        white-space: nowrap;
    }

    /* TOGGLER */
    .navbar-toggler {
        border: none;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* WHITE ICON DEFAULT */
    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    /* BLACK ICON AFTER SCROLL */
    .navbar.navbar-scrolled .navbar-toggler-icon {
        filter: brightness(0);
    }

    /* SEARCH ICON AFTER SCROLL */
    .navbar.navbar-scrolled .search-toggle {
        color: var(--primary);
    }

    /* LANGUAGE BUTTON AFTER SCROLL */
    .navbar.navbar-scrolled .btn-language {
        color: var(--primary);
        border-color: rgba(0,95,172,0.18);
    }
}

/* =========================================================
   BUTTONS
========================================================= */

.btn-mkba-primary {
    background-color: #005FAC;
    border: 1px solid #005FAC;
    transition: all 0.3s ease;
}

.btn-mkba-primary:hover {
    background-color: #004a89;
    border-color: #004a89;
    transform: translateY(-1px);
}

.btn-mkba-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 95, 172, 0.25);
}

/* =========================================================
   FOOTER LINKS ANIMATION
========================================================= */
.footer-link{
    color:#666;
    font-size:.95rem;
    font-weight:400;
    line-height:2;
    /* transition:.25s; */
    display: inline-block;
    text-decoration: none !important;
    transition: var(--transition);
}
.footer-link:hover{
    color:#ED6A18 !important; 
}

/*==================================================
FOOTER
==================================================*/
footer{
    background:#F5F5F5;
}

.footer-title{
    font-size:1rem;
    font-weight:600;
    color:#444;
    margin-bottom:18px;
}

.footer-logo{
    max-height:60px;
}

.footer-contact li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#666;
    margin-bottom:14px;
}

.footer-contact i{
    color:#555;
    font-size:18px;
    margin-top:3px;
}

.footer-divider{
    border: 0;
    border-top: 1px solid #C7C7C7;
    box-shadow: 0 1px 0 rgba(255,255,255,.7);
    opacity: 1;
    margin: 16px 0 9px;
}

.footer-bottom{
    font-size:.82rem;
    color:#8b8b8b;
}

.footer-powered{
    background:#A8A8A8;
    color:#fff;
    text-align:left;
    padding:8px 0;
    font-size:.82rem;
}

.footer-powered p{
    margin:0;
}

/* =========================================================
   CONTACT BUTTON HOVER AFTER SCROLL
========================================================= */
.navbar-scrolled .contact-btn:hover {
    background: var(--orange);
    border-color: var(--primary);
    color: #ffffff !important;
}

.btn-mkba-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    /* border-radius: 40px; */
    padding: 10px 22px;
    transition: var(--transition);
}

.btn-mkba-outline:hover {
    background: var(--orange);
    color: var(--white);
}

/* Popup Leaflet */
.mkba-popup-card {
    min-width: 220px;
}

.mkba-popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.mkba-popup-country {
    font-size: 1rem;
    font-weight: 300;
    color: #111827;
}

.mkba-popup-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mkba-popup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #4b5563;
}

.mkba-popup-row strong {
    color: #ED6A18;
    font-weight: 300;
}

.mkba-popup-flag{
    width:28px;
    height:20px;
    object-fit:cover;
    /* border-radius:4px; */
}
.mkba-country-tooltip {
    background: #111827;
    color: #fff;
    border: none;
    /* border-radius: 8px; */
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.leaflet-tooltip-top.mkba-country-tooltip:before {
    border-top-color: #111827;
}
.mkba-map-marker {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ED6A18;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(237,106,24,0.45);
    cursor: pointer;
    transition: transform .2s ease;
}

.mkba-map-marker:hover {
    transform: scale(1.3);
}


/* Effet machine à écrire */
#typed-loop {
    color: #ED6A18;
    font-weight: 300;
    min-width: 180px;
    display: inline-block;

    background: rgba(0, 0, 0, 0.35);
    padding: 0.15rem 0.6rem;
    /* border-radius: 6px; */
}

#typed-loop::after {
    content: "";
    width: 2px;
    height: 1em;
    background: currentColor;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    animation: blinkCursor .8s infinite;
}

@keyframes blinkCursor {
    50% {
        opacity: 0;
    }
}


/* =========================================================
   MEGA MENU
========================================================= */

.mega-menu-item {
    position: relative;
}

/* ---------- DESKTOP ---------- */
.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 60px 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .3s ease,
        visibility .3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    z-index: 999;
}

/* ouverture */
.mega-menu-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

/* Etat initial */
.header-section .mega-menu {
    top: 80px;
}

/* Etat scroll */
.navbar-scrolled .mega-menu {
    top: 80px;
}

/* ---------- ARROW ---------- */
.mega-arrow {
    font-size: .75rem;
    transition: transform .3s ease;
}

.mega-menu-item:hover .mega-arrow {
    transform: rotate(180deg);
}

.navbar-scrolled .mega-arrow {
    color: var(--primary);
}

/* ---------- LEFT PANEL ---------- */
.mega-menu-left {
    background: #f5f5f5;
    padding: 35px;
    height: 100%;
}

.mega-menu-subtitle {
    color: var(--orange);
    font-size: .8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mega-menu-title {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--dark);
    margin: 20px 0;
}

.mega-menu-text {
    color: var(--muted);
    line-height: 1.9;
}

/* ---------- LINKS ---------- */
.mega-link {
    display: block;
    padding: 18px 22px;
    color: var(--dark);
    font-weight: 300;
    margin-bottom: 10px;
    transition: var(--transition);
    text-decoration: none !important;
}

.mega-link::before,
.mega-link::after {
    display: none !important;
    content: none !important;
}

.mega-link:hover {
    background: #f3f4f6;
    color: var(--primary);
    transform: translateX(5px);
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 991px) {
    .mega-menu {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 30px 0;
        margin-top: 15px;
        box-shadow: none;
    }

    .mega-menu-item:hover .mega-menu {
        display: block;
    }

    .mega-menu-title {
        font-size: 1.7rem;
    }
}

/* =========================================================
   SMALL DEVICES
========================================================= */

@media (max-width: 576px) {
    .mega-menu {
        padding: 24px 0;
    }
    .mega-menu-title {
        font-size: 1.5rem;
    }
}

/* =========================================================
   ACTIVE MENU
========================================================= */

.nav-link.active {
    font-weight: 400;
}

.nav-link.active::after {
    width: calc(100% - 28px);
}

.navbar-scrolled .nav-link.active::after {
    width: calc(100% - 28px);
}

/* Pages internes */
/* .inner-page .top-bar {
    display: none;
} */

.inner-page .navbar {
    margin-top: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.inner-page .nav-link {
    color: var(--primary) !important;
}

.inner-page .default-logo {
    display: none;
}

.inner-page .scrolled-logo {
    display: block;
}

.body_bg {
    background: #ffffff;
}

.body_text {
    color: #6b7280;
    line-height: 1.8;
    font-size: 0.95rem;
}

.text_hero {
    position: relative;
    height: 360px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.text_hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17,24,39,0.55) 0%, rgba(17,24,39,0.20) 45%, rgba(17,24,39,0.05) 70%);
}

.text_hero_content {
    position: relative;
    z-index: 1;
}

.text_hero_title {
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    max-width: 800px;
}


