/* Normal */
@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro-021d1a0091f0bae38d81462e9c66a7e6.woff") format('woff'),
         url("../fonts/dinpro-d6c3333d58b529ce51ac347466b7dcaa.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_italic-c6ab07bd4097c4dda5b8d7da11a591b4.woff") format('woff'),
         url("../fonts/dinpro_italic-98efb763dfc7898c651f42c87002c02b.otf") format('opentype');
    font-weight: 400;
    font-style: italic;
}

/* Light */
@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_light-e7ec5d8aeb984d647f150d0eea481004.woff") format('woff'),
         url("../fonts/dinpro_light-39c5c9074b3516a91a646f87103668ad.otf") format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_lightitalic-55078af15438dba876930ede8166251e.woff") format('woff'),
         url("../fonts/dinpro_lightitalic-bfd43c27ad820bda4010fb924e3c6a7b.ttf") format('truetype');
    font-weight: 300;
    font-style: italic;
}

/* Medium */
@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_medium-e85afb1b1253cc0e77fc2e462b3e15ba.woff") format('woff'),
         url("../fonts/dinpro_medium-8f72ac978ffd84ee83e746ca86049440.otf") format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_mediumitalic-458648c0165a076e68de15d10a87efa6.woff") format('woff'),
         url("../fonts/dinpro_mediumitalic-00b3d36140216b2526179643681cc129.otf") format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* Bold */
@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_bold-c7fd4a3cf533e017042ceba3cd6a4202.woff") format('woff'),
         url("../fonts/dinpro_bold-20d2aed894413b9ec2df9470e9fca1e4.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_bolditalic-890dc071c5efd4fadaf9c4ace1f40686.woff") format('woff'),
         url("../fonts/dinpro_bolditalic-826fea70b93b41511ee9b55e5ae77a21.otf") format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* Black */
@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_black-2d371dbd6aac29f4cca683c3f802bcfe.woff") format('woff'),
         url("../fonts/dinpro_black-8bc3a91aeb5c19843a59b0243fcef15a.otf") format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro';
    src: url("../fonts/dinpro_blackitalic-6d393aba5fadc835949b7a4336eae252.woff") format('woff'),
         url("../fonts/dinpro_blackitalic-aa40301c3cecd9b60d20dc87d815f8d2.otf") format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* Condensed Regular */
@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedregular-d67cc57ed0fe118fcda9933f30082769.woff") format('woff'),
         url("../fonts/dinpro_condensedregular-5b96519f20af921c97f665da762d0672.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* Condensed Light */
@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedlight-40896272098af88c0dc4f002189a0da8.woff") format('woff'),
         url("../fonts/dinpro_condensedlight-718092fd8d7d26c91d7417d5bf8518a9.otf") format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedlightitalic-6bdc97aeac3aa2f06a14b6006f45bd13.woff") format('woff'),
         url("../fonts/dinpro_condensedlightitalic-813cd95c276b85987f17fb0914ea8e54.otf") format('opentype');
    font-weight: 300;
    font-style: italic;
}

/* Condensed Medium */
@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedmedium-d429ab029d61bd116896014247420cd2.woff") format('woff'),
         url("../fonts/dinpro_condensedmedium-75e7880a7e102229f6d4ce745b1366d9.otf") format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedmediumitalic-ea8b93ba25d33a8d960f11aa5dd4b1b9.woff") format('woff'),
         url("../fonts/dinpro_condensedmediumitalic-dd1aa1f6528b64f82c51d5d7e283dd70.otf") format('opentype');
    font-weight: 500;
    font-style: italic;
}

/* Condensed Bold */
@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedbold-c33237259d0a7f78ae3b74e0c5229c2e.woff") format('woff'),
         url("../fonts/dinpro_condensedbold-dff2307b0d923b196b3369925b94830b.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedbolditalic-afd84879b2c15e18e990c68b51c4a50b.woff") format('woff'),
         url("../fonts/dinpro_condensedbolditalic-f2959ca38fd8106679a18b8504449ac3.otf") format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* Condensed Black */
@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedblack-808940fe5f3f008fbeaafbb22a47700d.woff") format('woff'),
         url("../fonts/dinpro_condensedblack-cdc9d2d5012ddb74d80d60db73603c98.otf") format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: 'DINPro Condensed';
    src: url("../fonts/dinpro_condensedblackitalic-13b42ac2b3326abb8127eafa51547357.woff") format('woff'),
         url("../fonts/dinpro_condensedblackitalic-900fd7e03975692eadc63ae54c59703c.otf") format('opentype');
    font-weight: 900;
    font-style: italic;
}


body {
    font-family: 'DINPro', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}
header {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.wrapper-background {
    margin: 0 auto;
    padding: 0 0 24rem;
    width: 100%;
    min-height: 100vh;
    background: url("../images/ekate-home-background-79d1ddc8da45cf8dd907473883a800fc.webp") no-repeat right top;
    background-attachment: scroll;
    background-size: cover;
}

.header-nav .nav-link {
    color: #2E7792;
    font-size: 0.8125rem;
    font-weight: 400;
    text-transform: uppercase;
}

.header-ekate-previous {
    margin-right: 64px;
}

@media (min-width: 992px) {
    .header-nav {
        flex-wrap: nowrap;
    }

    .header-nav .nav-link {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        white-space: nowrap;
    }

    .header-ekate-previous {
        margin-right: 1rem;
    }

    .header-language-nav {
        flex-wrap: nowrap;
        padding-left: 0.75rem !important;
    }

    .header-language-nav .nav-link {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
}

.bg-deco-right {
    background: url("../images/home-en-pratique-right-deco-7245740343dc2f5b608d54e0d29e8173.webp") no-repeat right 1.25rem;
    background-size: 398px 401px; /* taille réelle */
}

/* Tablettes (Bootstrap ~ md) */
@media (max-width: 991.98px) {
    .bg-deco-right {
        background-size: 250px auto; /* réduit la largeur */
    }
}

/* Mobiles (Bootstrap ~ sm) */
@media (max-width: 575.98px) {
    .bg-deco-right {
        background: none; /* supprime l'image */
    }
}
.bg-blue {
    background-color: #2E7792;
}
.bg-yellow {
    background-color: #FDC300;
}
.btn-more-yellow, 
.btn-more-yellow:hover {
    align-items: center;
    background: transparent;
    color: #FDC300;
    display: flex;
    font-weight: 700;
    gap: .5rem;
    line-height: 1;
    text-transform: uppercase;
}
.nav-back .nav-link {
    position: relative;
    color: rgba(46, 119, 146, 0.75);
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 6px; /* petit espace pour la ligne */
    transition: color 0.3s ease;
}

.nav-back .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #FFC500;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Au survol */
.nav-back .nav-link:hover {
    color: rgba(46, 119, 146, 1);
    font-weight: 500;
}

.nav-back .nav-link:hover::after {
    width: 62px;
}

/* Si lien actif */
.nav-back .nav-link.active {
    color: rgba(46, 119, 146, 1);
    font-weight: 700;
}

.nav-back .nav-link.active::after {
    width: 62px;
}
.point {
    position: absolute;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.bg-yellow { background-color: #FDC300; }
.bg-blue   { background-color: #2E7792; }
    
.popover.bubble {
    border: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    --bs-popover-max-width: 260px;
    --bs-popover-font-size: .9rem;
    --bs-popover-header-bg: transparent;
    --bs-popover-header-color: inherit;
}

.popover.bubble--orange {
    --bs-popover-bg: #FDC300;
    --bs-popover-body-color: #fff;
    --bs-popover-border-color: #FDC300;
}

.popover.bubble--blue {
    --bs-popover-bg: #2E7792;
    --bs-popover-body-color: #fff;
    --bs-popover-border-color: #2E7792;
}

.popover.bubble--rounded { --bs-popover-border-radius: 1rem; }
.popover.bubble--square  { --bs-popover-border-radius: .375rem; }

.popover.bubble--circle {
    border-radius: 50% !important;
    width: 180px !important;
    height: 180px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem !important;
}

.popover.bubble--circle .popover-arrow {
    display: none !important;
}

.popover.bubble--circle .popover-header {
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
}

.popover.bubble--circle .popover-body {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    padding: 0;
    text-align: center;
    max-width: 140px;
    margin: 0 auto;
}

.popover.bubble--blue.popover.bubble--circle .popover-header {
    color: #fff;
}

.popover.bubble--blue.popover.bubble--circle .popover-body {
    color: #fff;
}
    
.popover.bubble--circle.no-title .popover-header {
    display: none !important;
    margin: 0;
    padding: 0;
}

.overlay-text {
    top: 35%;
    left: 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0); /* bleu transparent */
    padding: 1rem 1.5rem;
    border-radius: 0 1rem 1rem 0; /* coins arrondis à droite */
    max-width: 280px;
}
.overlay-text p {
    color: #2E7792;
    font-size: 1.4rem;
    line-height: 1;
    margin: 0;
}

@media (max-width: 767.98px) {
    html,
    body {
        overflow-x: hidden;
    }

    header {
        min-height: auto !important;
    }

    header .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-nav {
        justify-content: center;
        gap: 0.25rem 0.5rem;
    }

    .header-nav .nav-link {
        flex: 1 1 calc(50% - 0.5rem);
        font-size: 0.75rem;
        line-height: 1.25;
        max-width: 11rem;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        text-align: center;
        white-space: normal;
    }

    header .d-flex.justify-content-end {
        justify-content: center !important;
        padding-right: 0 !important;
    }

    .header-ekate-previous {
        margin-right: 0.75rem;
        max-width: 118px;
    }

    .header-language-nav {
        flex-wrap: nowrap;
        padding-left: 0.75rem !important;
    }

    .header-language-nav .nav-link {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .wrapper-background {
        padding-bottom: 7rem;
        background-position: 68% top;
    }

    .page-hero {
        min-height: 420px !important;
    }

    .page-hero .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-hero-title {
        font-size: 2.25rem !important;
        letter-spacing: 0.08rem !important;
        line-height: 1.08;
        margin-bottom: 7rem !important;
        overflow-wrap: anywhere;
    }

    .page-hero-lead {
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.35;
        padding: 1.25rem !important;
    }

    .page-visual-band {
        min-height: 210px !important;
    }

    .page-visual-deco {
        display: none;
    }

    .page-bottom-visual {
        padding-bottom: 360px !important;
    }

    .home-hero-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-hero-logo {
        max-width: 190px;
        margin-bottom: 1.5rem !important;
    }

    .home-hero-baseline {
        font-size: 1.2rem !important;
        line-height: 1.2;
        margin-bottom: 2.25rem !important;
    }

    .home-hero-baseline strong {
        display: inline-block;
        font-size: 1.2rem !important;
        margin-top: 0.25rem;
    }

    .home-hero-title {
        font-size: 1.35rem !important;
        line-height: 1.15;
        margin-bottom: 1.25rem !important;
    }

    .home-hero-intro {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .home-text-block {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 2rem !important;
    }

    .home-section-title {
        font-size: 1.15rem !important;
        letter-spacing: 0.08rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem !important;
    }

    .home-schema-caption {
        border-radius: 1rem 1rem 0 0;
        font-size: 0.9rem !important;
        line-height: 1.3;
        width: calc(100% - 1.5rem);
    }

    .home-schema-panel {
        border-radius: 1rem !important;
        max-width: 100%;
        padding: 1rem !important;
    }

    .home-interactive-figure {
        max-width: 100% !important;
        min-width: 0;
        width: 100%;
    }

    .home-map-section {
        margin-top: -4rem !important;
    }

    .home-map-section .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .point {
        font-size: 0.65rem;
        height: 24px;
        width: 24px;
    }

    .popover.bubble {
        --bs-popover-max-width: min(280px, calc(100vw - 2rem));
    }

    .popover.bubble--circle {
        border-radius: 1rem !important;
        height: auto !important;
        min-height: 150px;
        width: min(260px, calc(100vw - 2rem)) !important;
    }

    .popover.bubble--circle .popover-body {
        max-width: none;
    }

    .overlay-text {
        left: 1rem;
        max-width: 190px;
        padding: 0.5rem 0.75rem;
        top: 31%;
    }

    .overlay-text p {
        font-size: 1rem;
    }

    .home-partners-band {
        background: none !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-partner-grid {
        display: grid !important;
        gap: 1.25rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        max-width: 100% !important;
    }

    .home-partner-logo {
        width: auto !important;
    }

    .home-partner-logo-main {
        grid-column: 1 / -1;
    }

    .home-partner-logo img {
        margin: 0 !important;
        max-height: 68px;
        object-fit: contain;
    }

    .home-partner-logo-main img {
        max-height: none;
    }

    .home-download {
        text-align: center;
    }

    .home-download-title {
        font-size: 1.45rem !important;
        line-height: 1.15;
        margin-top: 1.5rem;
    }

    .contact-map-band {
        background: none !important;
    }

    .contact-map-title {
        font-size: 1.25rem !important;
        margin-top: 1.5rem !important;
    }

    .contact-bottom-visual {
        margin-top: -5rem !important;
        min-height: 480px !important;
    }

    .footer-nav-separator {
        display: none;
    }
}

footer {
    margin: 0 auto;
    width: 100%;
}
.footer-nav .nav-link {
    color: rgba(255, 255, 255, 1);
    font-size: 0.875rem;
    text-transform: uppercase;
}
.footer-nav .nav-link:hover, .footer-nav .nav-link.active {
    color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 992px) {
    .footer-nav {
        flex-wrap: nowrap;
    }

    .footer-nav .nav-link {
        font-size: 0.8125rem;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        white-space: nowrap;
    }
}


#contact_message {
    height: 10rem;
}
.btn-link {
    background: transparent;
    border: none;
    padding: 0;
}

.content img {
    height: auto;
    max-width: 100%;
}

.cke_notifications_area {
    display: none;
}
